LineageOS OTA upgrade not working - Zenfone 2 Laser Android Development

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

Related

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..

Best ROMs for security updates?

I'm new to XDA and to ROMs, so let me begin by saying hello and thank you to the regular posters. Many of my initial questions were answered by browsing and searching here.
My Nextbit Robin is still on the factory ROM: 7.1.1, security patch level April 1 2017. That's already too long to go without security updates in my opinion, hence my interest in moving to a maintained ROM that gets regular security fixes. My questions are:
Are there ROMs for Nextbit that are especially good on security updates? Or alternatively ROMs that aren't?
How are security updates usually handled by ROMs? Are they rolled into regular OTA updates? Are they separate and have to be manually applied? Something else?
Those ROMs I've looked most closely at (OmniROM and LineageOS) are at 7.1.2, just one minor release beyond the factory's 7.1.1. Does this imply that OmniROM and LineageOS's security releases haven't proceeded beyond when 7.1.2 was released quite some time ago?
I did search this forum, the sites of OmniROM and LineageOS, and the web, but if the answers are out there I didn't find them. Telling me to RTFM is fine; just point me to the FM.
Although I would not reject other things that ROMs can bring (improved performance vs. factory ROM, non-security bugfixes, new features, etc.), my chief interest is in keeping the phone up to date with all future security fixes via automatic OTA that I don't have to think about. Anything else that comes along with that would be great but would not be part of my decision making.
Feel free to go beyond my questions and point out things that I haven't mentioned but ought to know. I'm don't mind admitting that I'm new at this and there's a lot I don't yet know.
wpost said:
Are there ROMs for Nextbit that are especially good on security updates? Or alternatively ROMs that aren't?
How are security updates usually handled by ROMs? Are they rolled into regular OTA updates? Are they separate and have to be manually applied? Something else?
Those ROMs I've looked most closely at (OmniROM and LineageOS) are at 7.1.2, just one minor release beyond the factory's 7.1.1. Does this imply that OmniROM and LineageOS's security releases haven't proceeded beyond when 7.1.2 was released quite some time ago?
Click to expand...
Click to collapse
1. I recommend LineageOS. It's good on security updates. (Currently on March 5, 2018 security patch level.)
2. Yes, They are rolled into regular OTA. They usually include security updates within one or two weeks after they are released.
3. I may not have understood the third quesion correctly. 7.1.2 is the latest version of Android 7.x.x. After That It's 8.x. I don't think that affects the security updates.
OTA updates are checked automatically and you will be notified once an update available. But they won't be downloaded automatically. You have to press download button and then install it.
If you are planning to use encryption, you should use TWRP from LineageOS. I had problems with decrypting using TWRP from their official site.
And there are Oreo roms for robin. I think they also have latest security patches. I can't tell you much about them because I haven't tried all of them. However I've used AICP 13.1 and unofficial LineageOS 15.1 (OREO) releases (Read the last few pages of this thread and you can download them from here). Both are very usable. AICP is more customizable.
Thank you for the clear and complete answer. This will be my project for next weekend then.
KA5UN said:
1. I recommend LineageOS. It's good on security updates. (Currently on March 5, 2018 security patch level.)
2. Yes, They are rolled into regular OTA. They usually include security updates within one or two weeks after they are released.
3. I may not have understood the third quesion correctly. 7.1.2 is the latest version of Android 7.x.x. After That It's 8.x. I don't think that affects the security updates.
OTA updates are checked automatically and you will be notified once an update available. But they won't be downloaded automatically. You have to press download button and then install it.
If you are planning to use encryption, you should use TWRP from LineageOS. I had problems with decrypting using TWRP from their official site.
And there are Oreo roms for robin. I think they also have latest security patches. I can't tell you much about them because I haven't tried all of them. However I've used AICP 13.1 and unofficial LineageOS 15.1 (OREO) releases (Read the last few pages of this thread and you can download them from here). Both are very usable. AICP is more customizable.
Click to expand...
Click to collapse
Interesting that you brought up TWRP from Lineage OS.
I had used TWRP from TWRP site which I need to Format Data at first use which will decrypt me. So if I want to stay encrypted I should use TWRP from Lineage OS not normal TWRP?
iluvatrix said:
Interesting that you brought up TWRP from Lineage OS.
I had used TWRP from TWRP site which I need to Format Data at first use which will decrypt me. So if I want to stay encrypted I should use TWRP from Lineage OS not normal TWRP?
Click to expand...
Click to collapse
Yeah.
I had the same problem while using official version. I couldn't install OTA updates while using encryption because twrp can't decrypt data partition.
Also I think I read somewhere to remove any screen locks before encrypting (set them after). But I'm not sure if it's necessary.
KA5UN said:
Yeah.
I had the same problem while using official version. I couldn't install OTA updates while using encryption because twrp can't decrypt data partition.
Also I think I read somewhere to remove any screen locks before encrypting (set them after). But I'm not sure if it's necessary.
Click to expand...
Click to collapse
I'm confused now.
I want to be encrypted while on Lineage.
So if I rolled back to last stock ROM which is encrypted I should then flash the Lineage twrp you linked?
Thereafter on Lineage with Lineage twrp remaining encrypted I would be able to receive Lineage ota updates?
iluvatrix said:
I'm confused now.
I want to be encrypted while on Lineage.
So if I rolled back to last stock ROM which is encrypted I should then flash the Lineage twrp you linked?
Thereafter on Lineage with Lineage twrp remaining encrypted I would be able to receive Lineage ota updates?
Click to expand...
Click to collapse
TWRP can't decrypt stock encryption. If you're coming from stock you have to Format Data before installing lineage. After flashing lineage, you can encrypt the phone again. Then twrp (from lineage) can decrypt it.
If you are already on lineage and not encrypted, just flash that TWRP from lineage and encrypt the phone from settings.
If you're on lineage and encrypted, you can try flashing that TWRP. but I don't know if it'll be able to decrypt since I haven't tried to do that.
And yes, you would be able to install OTA updates.
KA5UN said:
TWRP can't decrypt stock encryption. If you're coming from stock you have to Format Data before installing lineage. After flashing lineage, you can encrypt the phone again. Then twrp (from lineage) can decrypt it.
If you are already on lineage and not encrypted, just flash that TWRP from lineage and encrypt the phone from settings.
If you're on lineage and encrypted, you can try flashing that TWRP. but I don't know if it'll be able to decrypt since I haven't tried to do that.
And yes, you would be able to install OTA updates.
Click to expand...
Click to collapse
Thanks for the detailed response. I'm concerned about encrypting under Lineage & getting bricked.
Is there a way to go from Stock encrypted > Lineage encrypted directly?
iluvatrix said:
Thanks for the detailed response. I'm concerned about encrypting under Lineage & getting bricked.
Is there a way to go from Stock encrypted > Lineage encrypted directly?
Click to expand...
Click to collapse
I don't think that's possible
KA5UN said:
I don't think that's possible
Click to expand...
Click to collapse
Yeah no prob
I'll just run unencrypted

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)

[SOLVED] I want to update/change my rom to LineageOS 17(Android 10), coming from LineageOS 14.1(Android 7.1.2)

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.

Need help on installing LineageOS 18.1 on Samsung Galaxy S6 Lite (Wifi) SM-P610

Hi everyone,
for a customer project we have created a custom build of LineageOS 18.1 for SM-P610 and I have an image that is complete with our signage software.
I used to be able to flash these devices following the official installation instructions from the LineageOS page https://web.archive.org/web/20211002124915/https://wiki.lineageos.org/devices/gta4xlwifi/install
Now this doesn't work anymore. On some devices, I can't even unlock the bootloader. This has been discussed elsewhere and I have tried all the tricks from manipulating the datetime to logging on with a google or even a samsung account.
But even on the devices where I could onlock OEM, I can't seem to install the LineageOS recovery. I always get the error message "Only official released binaries are allowed to be flashed (RECOVERY)". FAP LOCK is OFF and OEM LOCK is OFF(U).
It says in the LineageOS install instructions that I must have the latest official Android 11 firmware installed. Previously, I would simply OTA update to this firmware, but nowadays, OTA goes directly to Android 12. So I tried downloading the only available Android 11 firmware from sammobile and flashing it in Heimdall. But unfortunately, I still get the same error message.
Can anybody please tell me which version of the Samsung bootloader I need exactly to install this version of the LineageOS recovery: lineage-18.1-20220112-recovery-gta4xlwifi.img?
Bonus question: Does anybody still have this firmware version mirrored somewhere?
edit: I have downloaded a newer recovery from the internet archives: lineage-18.1-20220504-recovery-gta4xlwifi.img
Now a get a different error message: "Custom binary(RECOVERY) blocked due to remaining installment balance".
Can somebody tell me what this means?
Do you really need LineageOS recovery specifically? Perhaps you may have better luck with the TWRP Recovery and then flash the OS through that instead. It was successful on my Galaxy S4 Mini.
Pelii said:
Do you really need LineageOS recovery specifically? Perhaps you may have better luck with the TWRP Recovery and then flash the OS through that instead. It was successful on my Galaxy S4 Mini.
Click to expand...
Click to collapse
Tbh I don't know. So how would that work? I Install the TWRP recovery (how?) and then I proceed to install the LineageOS image?
Well, looking at TWRP's website and the forums here, there's actually no build for your model specifically, so it seems you're out of luck on that one.
I suppose what's left is to just keep trying different sources of LineageOS recovery, because neither of the errors you described so far look like anything you can fix from your end.
Update: I have found what seems to be the exact Samsung firmware that was the latest one at the time:
https://samfrew.com/de/download/Galaxy__Tab__S6__Lite__-Wi-Fi-__/0kd5/DBT/P610XXU2DUL9/P610OXM2DUL9/
I'm currently downloading.
Also, I have been able to bring one of the really old devices to exactly this firmware state by OTA by cycling through 3 consecutive incremental updates. I was pretty excited to bring it into download mode, only to see this strange error "Custom binary(RECOVERY) blocked due to remaining installment balance" yet again.

Categories

Resources