News for hackers. Stuff that matters.
Re:Backdoor with root access found from OnePlus phones by jesse_m on Tuesday November 14, 2017 @12:49PM (#15697362)
I just started messing with LineageOS on my Moto G4. Make sure you make a backup of the stock image so you can flash it back if something goes wrong with your cell network settings. I didn't and now I only have 3G and have been procrastinating flashing the stock everything and starting over.
Re:Backdoor with root access found from OnePlus phones by nucleardog on Tuesday November 14, 2017 @02:52PM (#15698519)
For the OnePlus hardware the stock system images are all available for download from OnePlus themselves: http://downloads.oneplus.net/

Most OEMs should have some sort of downloads available. If that fails, you can generally find a thread on the xda forums that has links to download the stock ROM and other files (though then not directly from the OEM, so there's some element of trust/risk there).

(In your case, it looks like Motorola hosts the G4 images at: http://motorola-global-portal.custhelp.com/app/standalone/bo...)