Gud... U r doing good job plus helping many newbies people...
Very well written and comprehensive guide.
@acejavelin known his Android. We need more like himGood to hear! Inspired by @acejavelin 's work before me. I owe him!
@acejavelin known his Android. His posts and threads have helped me many times.Good to hear! Inspired by @acejavelin 's work before me. I owe him!
Thank you very much for this guide. I looked at it in conjunction with LineageOS's own installation guide for Osprey and it has enabled me, a custom ROM newbie, to install LineageOS 14.1 successfully on my Moto G3 XT1541 1GB.
I ran into a few issues and questions along the way, so thought I would post back here in case it helps anyone or inspires tweaks to the guide.
Setting up adb & fastboot
Your guide has this at step (2a) after unlocking bootloader. However the Motorola instructions for unlocking bootloader involve setting up adb & fastboot, so I did this as part of step (1). I used the platform-tools zip from Google.
Unlocking bootloader
After following the steps on the Motorola bootloader unlock page you linked to and entering the correct code, I just got a page with an error message:
"There has been an error with your request."
I found a thread on the Lenovo forums describing the same problem (I can't post the URL, as a newbie here) and suggesting using this URL instead - which I also can't post, but just replace "motorola-global-portal" with "motorola-global-portal-de".
My phone is a UK model so I looked for a UK equivalent and found one, which worked for me: replace ""motorola-global-portal"" with "motorola-global-en-uk".
Backup from TWRP
I took a backup as you recommended at step (3). The only thing I wasn't clear about was which partitions to back up. I searched around and found some suggestions but this would be a useful thing to mention to help newbies.
I put the backup in internal storage as suggested. You say, "This is your stock ROM. YOU WILL NEED THIS LATER." When would I need this, for disaster recovery if the installation failed or if I later wanted to revert to stock? Do I need to keep it in internal storage?
Finally, a question that occurred to me, given that the installation involves copying zip files onto SD card to flash them. Does it make a difference whether the SD card has been set up as internal or external? I used a new SD card and LineageOS is now asking how I want to set it up. If I chose internal, would that complicate things for (a) LineageOS upgrades or (b) if I wanted to flash a different ROM in future?
Thanks again for an excellent guide, much appreciated.
Huge thanks!!! Excellent!!! You pointed out some really great mistakes and problems!!!
This is a real quick reply for the moment - I re-wrote 1 and 2 and 3 a bit. You could probably give me those links by changing the dots and slashes to spaces - I would like to put your experience and those links into that section to help others. Do the same if you would for the link you used to get fastboot and adb.
Looking forward to getting those links!!!
Glad it was helpful! Happy to be able to give something back. Here are some links I used...
LineageOS Osprey install guide:
wiki.lineageos.org/devices/osprey/install
LineageOS Using ADB and fastboot guide:
wiki.lineageos.org/adb_fastboot_guide.html
adb & fastboot: I used this link, which was in the LineageOS ADB guide and I think also the Motorola bootloader unlocking instructions:
Mac: dl.google.com/android/repository/platform-tools-latest-darwin.zip
Windows: dl.google.com/android/repository/platform-tools-latest-windows.zip
Linux: dl.google.com/android/repository/platform-tools-latest-linux.zip
Lenovo forum: "THERE IS AN ERROR WITH YOUR REQUEST! MOTO G ROOTING PROBLEM!" (it's actually about bootloader unlocking, not rooting):
forums.lenovo.com/t5/MOTO-G-MOTO-G-...EST-MOTO-G-ROOTING-PROBLEM/m-p/3458979#M27009
European Motorola unlocking URLs:
motorola-global-en-uk.custhelp.com/app/standalone/bootloader/unlock-your-device-a
motorola-global-portal-de.custhelp.com/app/standalone/bootloader/unlock-your-device-a
Thanks again.
@Dave here - great - okay - if you get a chance could you take a fresh look at the guide and see if there are any errors, or wording you would like seen added? (or things I didn't get right!)
Huge thanks!!!
@KrisM22 Looks good to me! Thanks for providing answers about internal vs external SD card and about how & why to keep the backup.
I think the only question I was left with is which partitions to back up. From memory, two of the partition options offered by TWRP backup were similar-sounding: may have been System and System Image. I've just found a page that explains that: twrp dot me /faq/whattobackup.html . I didn't find that at the time and just stuck with what TWRP had pre-selected.
Just remembered another issue I ran into with bootloader unlocking: initially when running through the adb commands in the Motorola instructions, it failed to unlock, saying unlocking was disallowed. I found the setting for that under developer options on the phone.
I didn't root the device, as I wasn't aware of any reason why I would need to do that.
Very happy with LineageOS 14.1 so far. My Moto is nice and fast again, feels like a new phone and has gone from security patch level 1st April to 5th October, which was my main reason for doing it.
Thanks again!
/*
* Your warranty is now void.
*
* This may destroy your phone. As with any modification to a phone,
* you must be prepared/willing to THROW IT AWAY without thinking twice.
* If you need it or it is your daily driver, don't mess with it.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about the suggestions in this guide
* before following it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Glad it was helpful! Happy to be able to give something back. Here are some links I used...
LineageOS Osprey install guide:
wiki.lineageos.org/devices/osprey/install
LineageOS Using ADB and fastboot guide:
wiki.lineageos.org/adb_fastboot_guide.html
adb & fastboot: I used this link, which was in the LineageOS ADB guide and I think also the Motorola bootloader unlocking instructions:
Mac: dl.google.com/android/repository/platform-tools-latest-darwin.zip
Windows: dl.google.com/android/repository/platform-tools-latest-windows.zip
Linux: dl.google.com/android/repository/platform-tools-latest-linux.zip
Lenovo forum: "THERE IS AN ERROR WITH YOUR REQUEST! MOTO G ROOTING PROBLEM!" (it's actually about bootloader unlocking, not rooting):
forums.lenovo.com/t5/MOTO-G-MOTO-G-...EST-MOTO-G-ROOTING-PROBLEM/m-p/3458979#M27009
European Motorola unlocking URLs:
motorola-global-en-uk.custhelp.com/app/standalone/bootloader/unlock-your-device-a
motorola-global-portal-de.custhelp.com/app/standalone/bootloader/unlock-your-device-a
Flash TWRP then immediately start it, allow writes to system, go to reboots menu, select Recovery... TWRP shouldn't ask you for write permission. Then it will stick.
Flash TWRP then immediately start it, allow writes to system, go to reboots menu, select Recovery... TWRP shouldn't ask you for write permission. Then it will stick.Help
Hi i flash it the official twrp 3 times nothing and then the squid and nothing, i am missing some thing here?
PS: of course i have the bootloader unlocked
"bootloader unlocked code:3 something something"
SuperSU 2.79 "General Release" was the version of the change, anything prior needed the forced systemless command, all 2.79 or later versions include the correct check to flash on most Moto devices without the command. Using the echo command to create the file has no detrimental effects on later versions though. Note that using https://download.chainfire.eu/supersu/ as your download link will always get you the most current stable version of SuperSU available directly from the official source.a) I have seen that but not tried it. I did add a note so you're now the authority!
b) not after SuperSU 2.78 (or 2.70 or something) - Those were invented because earlier SuperSUs had probs. I've been flashing 2.79 for a while now with no problems on Lineage.
Thanks for looking in!