If I recollect, there is a big earth wire from the starter motor, towards the rear of the engine.
the photos you posted, the third one, the regulator with earth wire connection is right there where you stood to take that photo, behind the painted plastic bodywork.
You have to remove a lot of plastic to get to it.
Starting with the metallic silver plastic part around the rear footpeg, and is clipped and screwed into the footwell(it is only there to look pretty) ,it has two screws each side. Once unscrewed, you manouver it out from the front, there are two big plastic clips by the front screw.
Then work the two big clips at the rear, in order to lift it up and out over the footpeg.
Once they are out the way, now you can work on the painted plastic under the the foot well.
Could be 8 screws each side, and another two under the from wheel arch.
You pull it from the rear, there is a clip, then you can peal it away from the rear moving forward.
You can leave the fairing on, as you dislodge it from the fairing, like a puzzle piece at that point.
Ok, now the foot well, 4 or 6 x 10mm bolts, and you unclip it from the front. it is flexible, so you won't break it.
Now you can get to the long bolt holding the front of the painted body (if that bolt was visible earlier, you would still have to remove all the plastic because the foot well blocks that part of the side painted body).
Pull it away from the front side to get access to the regulator and the earth wires.
This is from memory, as I have done it many many many many many times, lol.
Sent from my Mi Max using Tapatalk