Exploring Harmonic Minor With A Linear Lick

This practice is in A Harmonic minor scale whose notes are:
A-B-C-D-E-F-G#-A
The A Harmonic Minor scale can be obtained by flattening the 3rd and 6th note of the A Ionian Mode (the major scale) or just sharpening the 6th note of the A Aeolian Mode (Natural Minor)
The Harmonic minor scale is very common in Melodic Death Metal, Technical Melodic Metal and in classical pieces like that of Vivaldi.
The A Harmonic Minor Scale (4 octaves)

You can practice this with some pattern.
Now a cool sounding lick follows, its sounds kinda neo-classical with a nice overdrive.
Part I:
Part I goes with the A Harmonic scale on the high e string. Use a metronome to practice this part and don't proceed to the next part until you can play with a normal speed and you hand doesn't hurt.