Lineage Os update - General Questions and Answers

If i got Lineage Os 15.1 installed on phone, can i update to 18.1 without reset using adb, or full wipe is
necessary?

klucik47 said:
If i got Lineage Os 15.1 installed on phone, can i update to 18.1 without reset using adb, or full wipe is
necessary?
Click to expand...
Click to collapse
Not sure, it depends on what kind of changes were made between 15.1 and 18.1 and exactly what kind if wipe you are referring to. Data wipe? Or system wipe?
Technically, when flashing an update of the exact same ROM that you already have, wipes should not be neccessary, you should be able to "dirty flash" the new ROM. But, that is not always the case, sometimes there are major changes to android from one version to the next which requires wiping before you flash the update to remove any conflicting data that would interfere with the update. When flashing a different ROM than the one you have(for example, when coming from stock to Lineage or when coming from Lineage to Revolution Remix, etc...), wipes are always necessary.
Boot into TWRP and use the Backup option to create a nandroid backup. Then try flashing 18.1 without doing any kind of wipes, then boot into the new system. If it doesn't work correctly, you probably need to wipe the system oartition before you flash the updated ROM. Boot back into TWRP and restore the backup that you made to return to where you started then flash the updated ROM and do the wipes this time.

Related

TWRP says no OS is installed, but I just flashed it. Can anybody help?

Hi,
Its been a while since I been attentive to my Pixel. I was a lucky one who managed to get a Verizon 7.1.2 with an unlocked bootloader. I unlocked the bootloader, flashed a ROM, and rooted and haven't had a single major problem since.
I was running Resurrection Remix from about March and I yesterday I wanted to try to use Android Pay, so I followed a tutorial I found in another thread here to install Magisk, and when it was all said and done I ended up in a boot loop where the phone would reset as soon as it reaches the Google logo, ramdump, and eventually boot back into TWRP.
In the attempts to delete out all kinds of caches and dalviks and factory resets and whatever else, nothing worked.
So in the end I decided to just flash a new ROM. Flashed the latest Pure Nexus, reflashed TWRP, flashed the vendor image... went to go reboot and it gives me the WARNING! NO OS INSTALLED! error. I thought that was odd and decided to just update to the latest Resurrection Remix - same problem.
At this point I am unsure what to do next. I don't care about any user data on the phone, I just want to get it back up and running with a new ROM.
I have a few questions and thank you in advance for all help you may be able to offer:
1) Why am I getting the NO OS INSTALLED issue directly after flashing a ROM? Logs indicate no errors whatsoever. /system/ is mounted. Every time I boot into TWRP it asks me if I want to Keep System partition read only. I always tell it to allow modifications and never ask me this question again - it asks every time. Is it possible that /system/ can actually remain empty even after a fresh ROM install that gives no errors in the log?
2) I believe that I am supposed to reflash to stock image that this phone shipped with to start all over. If I reflash back to stock, will my bootloader have any chance of locking again? I don't even know what version the stock image was, and I'm further confused/concerned about the fact that it was a 7.1.2 image I shipped with - from my understanding there were security updates which make unlocking/rooting impossible. I don't understand why you have to start that far back - is it even needed? The latest Resurrection Remix ROM install instructions assumes that I am on latest "Firmware" NOF26W. This is another issue I don't understand - what is a firmware? The full factory image? In any case, NOF26W is specifically for Rogers Google Pixel devices. Since I need to be on this "firmware" before I install latest, can I just flash the NOF26W Stock image despite the fact that I am using a rooted Verizon Pixel? The NOF26W image is 1.8GB: What exactly in this ZIP am I supposed to flash?
3) There were various weird things about this phone/flashing ROMs that I seem to recall such as having to boot an older TWRP before flashing ROM and then flashing the newer TWRP - is any of this stuff still relevant?
4) I also remember that many people were fastbooting TWRP rather than flashing TWRP for some reason - are there specific builds/non-standard stuff required for any of this to work on the Pixel?
I really appreciate all and any help that anybody can provide. If there's files that you're referring to, PLEASE send links. I need to get this phone back up and running ASAP.
Thanks again!!
when you wipe system, twrp wipes current active slot but when install a rom, it gets installed in the inactive slot (which will become active upon reboot). but twrp still thinks the currently active slots system is erased and complains that no os is installed.
rohitece06 said:
when you wipe system, twrp wipes current active slot but when install a rom, it gets installed in the inactive slot (which will become active upon reboot). but twrp still thinks the currently active slots system is erased and complains that no os is installed.
Click to expand...
Click to collapse
This. I just reboot anyway after seeing that message and I've never had any issues.

How to perform a clean install?

How to do a clean install(no rom installed just recovery)? I want to format everything and flash my rom thru otg. Shud I wipe everything when I boot to recovery?
I think internal storage is the correct option then though it also removes all media on the device. Otherwise clear system, data, cache, bootloader, dalvik. Then install the rom from external source.
Should I flash from fastboot the recovery(twrp)? It might get wiped once the wipe everything.
I have same doubts....
Mord0rr said:
I have same doubts....
Click to expand...
Click to collapse
So do I... You necro'd a 8 month old thread...
I tried to go through few thereds however I was unable to find an answer.
I'm still on 5.11 oreo a d official TWRP. I would like to update to newest pie, however I would go for clean flash.
How should I do it?
I already backed up all app+ data using titanium.
Should I just go to TWRP
1. Factory default
2. Wipe all
3. Wipe system. Data, davlik and cache
4 flash latest pie and don't reboot
5 reboot to twrp
6 flash twrp
7 reboot to TWRP and flash magisk
It it right?
Thank you
netgar said:
I tried to go through few thereds however I was unable to find an answer.
I'm still on 5.11 oreo a d official TWRP. I would like to update to newest pie, however I would go for clean flash.
How should I do it?
I already backed up all app+ data using titanium.
Should I just go to TWRP
1. Factory default
2. Wipe all
3. Wipe system. Data, davlik and cache
4 flash latest pie and don't reboot
5 reboot to twrp
6 flash twrp
7 reboot to TWRP and flash magisk
It it right?
Thank you
Click to expand...
Click to collapse
Swap 5 and 6
Flashing this phone looks like sorcery....
Miss all days we could go to TWRP, erase all **** and then just flash rom. Period.
Now, doing this can even brick the dam phone.
It sucks!
EDIT*
Did Nuke 9.0.5 and install fresh 9.0.3.:angel:
Mord0rr said:
Flashing this phone looks like sorcery....
Miss all days we could go to TWRP, erase all **** and then just flash rom. Period.
Now, doing this can even brick the dam phone.
It sucks!
EDIT*
Did Nuke 9.0.5 and install fresh 9.0.3.:angel:
Click to expand...
Click to collapse
That also happened to me. I do not know how to go to another custom ROM from another custom ROM without going to MsmDownloadToolV4 to unbrick my device. Actually i did unbrick my device twice already because of trying various custom ROM.
Also, is there a way to just restore from recovery then flash another custom ROM. Then if we want to change custom ROM again we can just restore from recovery again then flash another custom ROM?
Please help us guys. Thanks.

Backup phone settings and customizations in TWRP

I'm on a custom rom for redmi note 7 pro.
The rom has got great options with tons of settings to tweaks to every element.
I keep fiddling with my phone/rom by doing something or other.
What I want to know is can I simply take backup of the precious settings I had made to various elements of the phones using TWRP and restore it back after a full re-flash of the rom instead of again going through the pain of customizing/manually doing every tiny setting?
nri_tech1183 said:
I'm on a custom rom for redmi note 7 pro.
The rom has got great options with tons of settings to tweaks to every element.
I keep fiddling with my phone/rom by doing something or other.
What I want to know is can I simply take backup of the precious settings I had made to various elements of the phones using TWRP and restore it back after a full re-flash of the rom instead of again going through the pain of customizing/manually doing every tiny setting?
Click to expand...
Click to collapse
Typically, trying to backup system data and system settings in one ROM then restore them in a new ROM doesn't work. ROMs don't like system data from other ROMs because it creates conflicts due to the ROMs not having the same setups or the same set of system settings, one ROM might have settings that the other doesn't, which is where the conflicts come from.
If the ROM you are flashing is an update to a ROM that you already have installed(i.e. if you have LOS 9.0 from March installed but you want to flash the newest build of LOS 9.0) you don't necessarily need to make a backup of your settings or restore them after flashing the new ROM. You can just flash the new ROM update without factory resetting and without wiping cache and dalvik, this is called a "dirty flash". Everything will be the same as it was after you flash the updated ROM.
This doesn't work if you are going from stock to LOS though, or from LOS 9.0 to Resurrection Remix, for example. It only works if the ROM you are flashing is a newer or older version of your ROM than the version you already have. In other words, you can flash LOS over LOS or Resurrection Remix over Resurrection Remix without wiping, but not LOS over Resurrection Remix or Resurrection Remix over LOS. In these scenarios, you will have to wipe, then flash the new ROM and manually set everything back up the way you want it.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Typically, trying to backup system data and system settings in one ROM then restore them in a new ROM doesn't work. ROMs don't like system data from other ROMs because it creates conflicts due to the ROMs not having the same setups or the same set of system settings, one ROM might have settings that the other doesn't, which is where the conflicts come from.
If the ROM you are flashing is an update to a ROM that you already have installed(i.e. if you have LOS 9.0 from March installed but you want to flash the newest build of LOS 9.0) you don't necessarily need to make a backup of your settings or restore them after flashing the new ROM. You can just flash the new ROM update without factory resetting and without wiping cache and dalvik, this is called a "dirty flash". Everything will be the same as it was after you flash the updated ROM.
This doesn't work if you are going from stock to LOS though, or from LOS 9.0 to Resurrection Remix, for example. It only works if the ROM you are flashing is a newer or older version of your ROM than the version you already have. In other words, you can flash LOS over LOS or Resurrection Remix over Resurrection Remix without wiping, but not LOS over Resurrection Remix or Resurrection Remix over LOS. In these scenarios, you will have to wipe, then flash the new ROM and manually set everything back up the way you want it.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
One hell of an explanation!
I know Nandroid backups aren't cross compatible due to the obvious nature or various roms.
I will be just doing nandroid backup for system data and system settings just for one rom and will restore the same on same rom if anything goes messy.
nri_tech1183 said:
One hell of an explanation!
I know Nandroid backups aren't cross compatible due to the obvious nature or various roms.
I will be just doing nandroid backup for system data and system settings just for one rom and will restore the same on same rom if anything goes messy.
Click to expand...
Click to collapse
Yes, that should work.
Sent from my SM-S767VL using Tapatalk
nri_tech1183 said:
One hell of an explanation!
I know Nandroid backups aren't cross compatible due to the obvious nature or various roms.
I will be just doing nandroid backup for system data and system settings just for one rom and will restore the same on same rom if anything goes messy.
Click to expand...
Click to collapse
It doesn't just apply to nandroid backups. What I posted is true even when using something like Titanium Backup or even adb backup, nothing system related can be backed up then restored in an OS that is different. Only user data and user related stuff can be backed up and restored across ROMs, but even that doesn't work 100% of the time.
Sent from my SM-S767VL using Tapatalk

Has anyone successfully restored with TWRP?

I've been using Beta 19 OOS with all of my apps configured for quite a while now. But, I'd like to try some custom roms. If I don't end up caring for the custom roms, I'd like to easily restore back to OOS Beta with all of my apps. I've never tried a full restore with TWRP. Does it work successfully? Are there any "gotchas" that I should know about?
Yeah, I did it over the weekend.
Tried crdroid and lineage Android 11. Ran into some issues and was fed up.
I don't think you can fully restore photos and music and so on on your internal storage, so I backed up mine.
My steps were:
In twrp, format device,
Reboot to bootloader and reflash twrp using adb.
Reboot to twrp and copy over twrp installer, oos beta19 and Magisk.
Flash Oos beta 19,
Flash twrp installer,
Flash Magisk,
Reboot to twrp
Flash Magisk,
Reboot to system.
Your device will then be on stock oos 19 and start the setup process. You don't have to complete it, so just skip all the steps. When you can, restart to twrp and use the restore functionality.
Everything should then be as it was when you made the backup, except for the music and videos I think.
Pierre413 said:
Yeah, I did it over the weekend.
Tried crdroid and lineage Android 11. Ran into some issues and was fed up.
I don't think you can fully restore photos and music and so on on your internal storage, so I backed up mine.
My steps were:
In twrp, format device,
Reboot to bootloader and reflash twrp using adb.
Reboot to twrp and copy over twrp installer, oos beta19 and Magisk.
Flash Oos beta 19,
Flash twrp installer,
Flash Magisk,
Reboot to twrp
Flash Magisk,
Reboot to system.
Your device will then be on stock oos 19 and start the setup process. You don't have to complete it, so just skip all the steps. When you can, restart to twrp and use the restore functionality.
Everything should then be as it was when you made the backup, except for the music and videos I think.
Click to expand...
Click to collapse
Thanks! What issues did you have with the custom roms?
ledvedder said:
Thanks! What issues did you have with the custom roms?
Click to expand...
Click to collapse
I couldn't get lineage 18.1 working with Magisk and Twrp.
Crdroid I could use for a while, but when I tried to update it, my phone would only boot to Twrp.
Pierre413 said:
I couldn't get lineage 18.1 working with Magisk and Twrp.
Crdroid I could use for a while, but when I tried to update it, my phone would only boot to Twrp.
Click to expand...
Click to collapse
Which method did you use for updating crdroid? OTA or flashing from TWRP?
ledvedder said:
Which method did you use for updating crdroid? OTA or flashing from TWRP?
Click to expand...
Click to collapse
Ota.
When I rebooted I was dropped into lineages' recovery mode! Wtf
When you first went from OOS to custom rom, where you able to restore your apps and settings from TWRP, or did you have to start fresh?
I started fresh.
I think you can backup app settings with titanium backup, and just restore it on the new rom.
Pierre413 said:
I started fresh.
I think you can backup app settings with titanium backup, and just restore it on the new rom.
Click to expand...
Click to collapse
Yeah, that's my biggest concern. I don't want to have to reinstall and reconfigure all of my apps.
ledvedder said:
Yeah, that's my biggest concern. I don't want to have to reinstall and reconfigure all of my apps.
Click to expand...
Click to collapse
Try it and see how it goes. Make a Twrp backup and a titanium backup. Copy those files to a pc or something.
If you install a rom and you see the titanium backup isn't restoring all your apps, go back to OOS and restore using Twrp. You'll have your phone in the same state as when you started, only now with the benefit of experience.

Upgrade to LineageOS 19.1

Hi All,
since a couple of days the new LineageOS 19.1 is available for the Moto g7 Power.
A manual upgrade is needed to get it onto the phone.
Since I did the installation but not yet a manual upgrade of LOS to a new major version I have some questions about it:
When reading the upgrade guide there is no info about .... :
will I lose apps or any data when simply sideloading the new version?
will I have to newly install/sideload Magsik?
are there any other important things to consider when doing such an upgrade?
Thanks a lot in advance.
Cheers
1. From my experience of dirty flashing roms via twrp, I can tell you that if you flash a newer lineage zip after ONLY wiping the cache and dalvik partitions, you'll keep your data and settings etc.
2. You most likely won't have to flash the newer version of gapps (as it gets updated upon restart).
Magisk and (maybe) magisk mods are cleared as the boot image gets replaced when flashing a rom.
3. Make a full TWRP backup of your current rom just incase things go sideways with the new one (during installation, or if you want to revert back later).
Since "dirty flashing" via twrp is basically sorta sideloading, I'd assume that these would apply for you as well. I can confirm the magisk one, as that will get removed regardless.
PhotonIce said:
1. From my experience of dirty flashing roms via twrp, I can tell you that if you flash a newer lineage zip after ONLY wiping the cache and dalvik partitions, you'll keep your data and settings etc.
2. You most likely won't have to flash the newer version of gapps (as it gets updated upon restart).
Magisk and (maybe) magisk mods are cleared as the boot image gets replaced when flashing a rom.
3. Make a full TWRP backup of your current rom just incase things go sideways with the new one (during installation, or if you want to revert back later).
Since "dirty flashing" via twrp is basically sorta sideloading, I'd assume that these would apply for you as well. I can confirm the magisk one, as that will get removed regardless.
Click to expand...
Click to collapse
Great, all worked fine, thanks!

Categories

Resources