[SOLVED] I want to update/change my rom to LineageOS 17(Android 10), coming from LineageOS 14.1(Android 7.1.2) - Moto G5 Questions & Answers

Hi there fellow Moto G5 users. I've been fiddling some time now with the 14.1 version and I want to try out the new 17 version with nightly's. Normally I've have no problems with upgrading or downgrading rom's for my devices, but since newer versions are now 64-bit it's throwing me off.
Since there are so many topics around with tips and procedures I'm a bit confused how to get started to migrate/change to LineageOS 17.
So could anybody help me on how to upgrade to LineageOS 17? As far as I know my phone has: a unlocked bootloader, TWRP with 64-bit support and LineageOS 14.1. What would the first step for me do?
As far as I understand it would be something like this:
(0. Backup up everything + written down both imei's) - done this in advance
1. Lock the bootloader again (whilst LineageOS 14.1 is still installed?)
2. Erase everything (with commands)
3. Flash an official Moto G EU rom (with commands)
4. Update it using OTA to the latest supported version to get a 64-bit rom/kernel/bootloader installed
5. Unlock bootloader again
6. Flash custom recovery again
7. Flash LineageOS 17?
That is what I'm thinking for me to do, is it correct? Or do I miss some stuff?
Any help will be appreciated.

Never lock the bootloader once you have unlocked it - if anything goes wrong in the future you will never be able to fix it without specialist hardware or a motherboard replacement
There is no need to lock the bootloader to change roms
See my post below that is basically answering the same question for full instructions on how to upgrade
Basically update stock firmware to latest retail then format data with latest offical twrp, wipe system data cache & flash rom
[SOLVED] LineageOS stuck at first boot (moto G5 xt1676)
Hello everyone, I just got a Moto G5 (on a refurbishment store) that works perfectly fine with stock OS. My goal is to install lineageOS on it. I managed easily to : - unlock bootloader - install TWRP (3.5.2_9.0) or the lineageOS recovery -...
forum.xda-developers.com

Thanks for the warning, I will try your instructions and see what I can manage. Will post any updates.

I've just updated the rom to 8.1 official. Thanks for the help. @TheFixItMan
And now i'm on Lineage 18.1/Android 11 working great so far.

Related

LineageOS OTA upgrade not working

I ask the same question here without any answer!
https://forum.xda-developers.com/lineage/general/lineageos-ota-upgrade-t3569304
I have succesfully intsalled LineageOS on my asus Laser 2.
Now LineageOS said that there's new version I tried to update trought OTA and its not working.
How can I update without losing data because I don't want to setup again all the apps (work and personnal)
I use TWRP recovery
Thanks
Dan

I stuck in 5.1.1 with RIO L02!

It is ridiculous from official huawei to left me my phone with old version 5.1.1.!!
i can understand why NO give us update .
Is anyone to now how to make update to 6.0 or better?
yes same problem, i can not update ! İ use lollipop -.-
Same here, I may wanna try CM 13.0 for Huawei Ascend G8 & GX8, have you tried this?
I've upgraded mine to Nougat.
First, I unlocked my phone. This did a factory reset, wiping all my apps.
Then I used TWRP to upgrade to a foreign official Marshmallow ROM (there is no official Marshmallow LROM for Australia, where I live). This ROM was not able to connect to my local phone network but otherwise seemed to work.
Then I installed a Resurrection Remix Nougat ROM on top of that and a Google apps package (LineageOS Nougat also works). To get RR or LineageOS to install, I had to go into the install ZIP file and delete the part of the install script that checks the model of the phone, because my phone (an Australian RIO-L02) reported its model name as "rio" instead of "RIO-L02". If you use the Google apps you should install them before the first time you boot into RR or LineageOS, because they change the setup thingy that runs the first time you use the phone.
My first few attempts ended in bootloop errors, probably because I was trying to install RR or LineageOS without a working ROM already on the phone or installing them over a different version of Android to the one the person who made the ROM expected me to have. Installing an official Marshmallow ROM before installing an unofficial Nougat ROM seemed to be the key to success.
Some of these steps were very complicated, but I followed instructions in other threads on these forums for each step.
RR and LineageOS are fully functional and have no problem connecting to my local phone network.
Hi..
Mine is RIO-L02C900B130 rom. and its on 5.1.1
no MM update available..
can i update to lineage ?
The problem currently i am having with sim card. only certain type of sim cards works.. on other type of sim cards it shows insert sim.
Regards..

Clarification needed regarding rooting and bootloader for installing LineageOS 17.1

Hi all,
so my current smartphone died for good and instead of getting a new one, I thought I'd revive my old Sony Xperia Z1 Compact. It's been a while since I switched it on so the battery is dead but I'm planning to buy a new battery and replace it. Then I plan to install LineageOS (which is based on Android 10 I believe?)
However I've never done rooting or anything more than basic end user stuff so I've searched the internet and thought I needed to root my phone and then flash the LineageOS. I've read some beginner guides on this forum and other places. However, I've ran into some conflicting/confusing(?) info and need some clarification before starting out. Hope someone can help with my admittedly-very-noobie questions:
1) Can I install LineageOS WITHOUT rooting my phone?
I believe that the bootloader needs to be unlocked first but is rooting necessary? The reason being is that I just want to get rid of the current stock ROM (I think it was Lollipop - can't know for sure because the new battery hasn't arrived yet) and install LineageOS. I don't want a rooted phone because it might conflict with banking apps and such (I know there are workarounds i.e. masking/reflashing/unrooting but as I am not that familiar with the development systems I will just be exposing myself to unknown vulnerabilities) so is it possible to just have the custom ROM and not completely root the phone?
2) Unlocking the bootloader
So I read I have to do a backup first before unlocking the bootloader. Is an SD card necessary or only for rooting? Since unlocking the bootloader will format the SD card anyway? Where should the backup be stored then?
I'd really appreciate some guidance. Thanks!!
Cheers,
traegr
LineageOS or most other roms aren't rooted by default. You will have to install solutions like magisk.
If you install twrp https://forum.xda-developers.com/sony-xperia-z1-compact/development/recovery-twrp-3-3-1-t3960699 make sure you are on latest stock firmware as you need the latest bootloader which allows booting into recovery. Flash firmware with Xperia Flashtool which has inbuilt firmware downloader. http://www.flashtool.net/index.php
If you can't boot into TWRP, you can try flashing attached file with xperia flashtool.
Instead of unofficial lineage I recommend AICP forum.xda-developers.com/sony-xperia-z1-compact/orig-development/rom-aicp-15-0-q10-0-amami-t4005457 . It's got good battery life and nice inbuilt tweaks and customization options..
Hope this helps
Also you need to flash Gapps if you want to use certain apps. Important point for AICP is that you can use microg instead. https://microg.org/
drater2 said:
LineageOS or most other roms aren't rooted by default. You will have to install solutions like magisk.
If you install twrp https://forum.xda-developers.com/sony-xperia-z1-compact/development/recovery-twrp-3-3-1-t3960699 make sure you are on latest stock firmware as you need the latest bootloader which allows booting into recovery. Flash firmware with Xperia Flashtool which has inbuilt firmware downloader. http://www.flashtool.net/index.php
If you can't boot into TWRP, you can try flashing attached file with xperia flashtool.
Instead of unofficial lineage I recommend AICP forum.xda-developers.com/sony-xperia-z1-compact/orig-development/rom-aicp-15-0-q10-0-amami-t4005457 . It's got good battery life and nice inbuilt tweaks and customization options..
Hope this helps
Click to expand...
Click to collapse
Hi, thanks for replying.
What's the difference between the lineage and AICP?
traegr said:
Hi, thanks for replying.
What's the difference between the lineage and AICP?
Click to expand...
Click to collapse
AICP provides more customizations while lineage is a "cleaner" approach. In the end AICP builds on top of lineage sources and adds several features. It totally depends on your personal taste. I consider it to be a bit overloaded. But that's my opinion. Which may be a bit influenced as I build the lineage version. Hehe
But once you have a recovery set up you can easily flash one, test it, and try the other one afterwards.
Hardware functionality should be same as AICP (SpiritCroc) and lineage (mse and me) share the same device tree sources. If one of us repairs something the other one will also get the fixes.
Both AICP and lineage have OTA update support. If you need microg you can either go with AICP 15 (Android 10) or Lineage 16 (Android 9).
Also you can easily backup your entire system with twrp if something goes wrong when flashing or whatever.
And when "hopping" roms you can make backups with Titatnium (root needed)

Unlocked H815 w/ TWRP v3.0.1 installed: Cannot install any LOS version.

Hello,
One of my kids SGS5 died so I borrowed an old (and unused) LG G4 H815 w/ Android 5.1 installed (and no available updates).
After a bit of mocking around, I managed to unlock the bootloader (via lg.com account) and somehow got TWRP v2.8.7 installed and after that, I managed to upgrade it all the way up to v3.0.1.
Any attempt to use any version above v3.0.1 fails (dtb not found).
When I try to install LOS of any version (14.1 / 15.0 or above), it throws an error (Error 7) and complaints about mismatched device ("this rom packages is for H815, this device is .").
I attempted to advance wipe the /data and /cache partitions to no avail.
I would imagine I need to a newer kernel and/or bootloader. Am I correct?
Any idea how I can upgrade any of them? Should I simply download a stock v6.0 ROM (of any region) and continue from there? Any preferable region (so I won't brick my device / relock my bootloader)?
Thanks.
- Gilboa
FWIW,
ROM version: V10a-ISR-COM
Software version (according to LG Mobile Support tool): H81520P.
Hardware model: LG-G815
According to the LG Mobile Support tool (under Windows) upgrades are unavailable for this phone.
- Gilboa
gilboa said:
Hello,
One of my kids SGS5 died so I borrowed an old (and unused) LG G4 H815 w/ Android 5.1 installed (and no available updates).
After a bit of mocking around, I managed to unlock the bootloader (via lg.com account) and somehow got TWRP v2.8.7 installed and after that, I managed to upgrade it all the way up to v3.0.1.
Any attempt to use any version above v3.0.1 fails (dtb not found).
When I try to install LOS of any version (14.1 / 15.0 or above), it throws an error (Error 7) and complaints about mismatched device ("this rom packages is for H815, this device is .").
I attempted to advance wipe the /data and /cache partitions to no avail.
I would imagine I need to a newer kernel and/or bootloader. Am I correct?
Any idea how I can upgrade any of them? Should I simply download a stock v6.0 ROM (of any region) and continue from there? Any preferable region (so I won't brick my device / relock my bootloader)?
Thanks.
- Gilboa
Click to expand...
Click to collapse
When you were able to unlock your device on the lg website use LGup to flash h815 20p stock (international/global). And yes you're right that a stock ROM upgrade is needed to flash newer TWRP and custom ROMs. v20p is the recommended version for all avail custom ROMs
Many thanks for the reply.
In the end I decided to risk it, download some random unlocked stock Marshmallow ROM via twrp v3.0.1.
Once done, I managed to upgrade TWRP to 3.0.2 (which previously failed to install) and then (after reboot) 3.2.3.
Once I upgrade twrp, it managed install LinageOS without issues.
Thanks again.

Redmi Note 9 Pro Global : Trouble installing Lineage Recovery and Lineage OS (miatoll)

I need help installing Lineage Recovery and LOS on my Redmi Note 9 Pro Global version
I managed to unlock the bootloader but Lineage Recovery is messing with me. Once I flash it, I enter it, but can't seem to install LOS because it shows an error when I try to flash it.
Something in the lines of "adb: failed to read command: No status", or something like that. Also bricked the phone but managed to unbrick it.
On the official website it says in the instructions for the device:
Warning: Before following these instructions please ensure that the device is on the latest Android 11 firmware.
This is not necessarily the newest available version! Please up- or downgrade to the required version before proceeding (guides can be found on the internet!).
I thought I just needed to update my device with it's miui updater, but it seems I need to find this specific firmware version and flash it myself.
So if I got this right I first need to flash the firmware, then the recovery and then it should be able to install LOS?
Any idea where I can find this firmware cause there are a lot of files on the xiaomi official pages, not sure which to pick. Also, any good guides on how to flash firmware via adb?
UPDATE: Solved issue - Ignored the "error" and just rebooted to system after installation of LOS, no need for firmware. Just updated MIUI beforehand to newest version. Cheers!

Categories

Resources