5.0.1 OTA Problem | Stock 5.0 | CF-AutoRoot - Nexus 5 Q&A, Help & Troubleshooting

I know this type of question has been asked almost 100 times here, but after going through about 40-50 threads, nothing was conclusive except for people ranting to search.
I just got the OTA on my device, but when I install it, I get an error like this :-
"/system/bin/install-recovery.sh" has unexpected contents.
And then it ends with an error code 7.
I have tried to do it the manual OTA way too, but the same is the problem.
IDK how I modified this file but the only root app I used was LuckyPatcher.
Anyhow, is there anyway I can update to 5.0.1 without getting my data erased?

http://forum.xda-developers.com/goo...-1-arrives-t2976334/post57578619#post57578619
worked for me.

Related

OTA Update failed

Hi,
I've got a magic from TIM but i'm leaving in belgium. I'm running MyHero 2.0.5
By two times, my handset requested me to reboot my phone for a 'system update'. Both attempt failed.
The phone reboots then an icon representing a package update then a a failure sign. The only way to get back the phone was to remove the battery.
My question:
Where can i find the package that android tries to install....is there a log somewhere where the failure is reported ?
Thanks
Ced
If you're running a custom rom and trying to install an OTA it isn't going to work. The OTA is only compatible with the stock OS. If you have root and manage to get an OTA to install then you will lose it. I'd say to just ignore the updates. If your phone is working the way you want it then I would leave it as is. If you want anything different then you'll need to flash something!

[Q] OTA Update on rooted GT-I9105P

Hi guys, a couple of months ago I've rooted my new S2+ and after Alex posted the new 4.2.2 I've flashed my device with RDS_GT-I9105P-XEO-I9105PXXAMC2 (topic here GT-I9105/I9105P Stock Prerooted Firmware Without loss of warranty(4.2.2) http://forum.xda-developers.com/showthread.php?t=2334103).
So far it is working perfect! This week I've received a notification, that there is a new update available OTA for my device, so I've decided to download and install it. I've downloaded it, the phone restarts and starts to install the "new update", but at 25% shows an error (the Android guy wearing the red triangle etc. and reboots automatically).
After the restart the OS boots normally and is working OK as previous.
My question is: Since my phone has a prerooted stock FW (4.2.2) and is rooted at the same time running CWM, why I can't install the latest updates OTA?
If CW is causing this, why am I able to get the OTA update notification?
Thanks for the replies.
boyansky78 said:
Hi guys, a couple of months ago I've rooted my new S2+ and after Alex posted the new 4.2.2 I've flashed my device with RDS_GT-I9105P-XEO-I9105PXXAMC2 (topic here GT-I9105/I9105P Stock Prerooted Firmware Without loss of warranty(4.2.2) http://forum.xda-developers.com/showthread.php?t=2334103).
So far it is working perfect! This week I've received a notification, that there is a new update available OTA for my device, so I've decided to download and install it. I've downloaded it, the phone restarts and starts to install the "new update", but at 25% shows an error (the Android guy wearing the red triangle etc. and reboots automatically).
After the restart the OS boots normally and is working OK as previous.
My question is: Since my phone has a prerooted stock FW (4.2.2) and is rooted at the same time running CWM, why I can't install the latest updates OTA?
If CW is causing this, why am I able to get the OTA update notification?
Thanks for the replies.
Click to expand...
Click to collapse
that is because it is a modded firmware
safariking said:
that is because it is a modded firmware
Click to expand...
Click to collapse
I understand that the FW is modded, as the previous one (4.1.2), which I've downloaded from here and installed on my G2+. But with 4.1.2 at that time I wasn't able to check for any updates for my OS. Every time I've checked manually for updates, the OS gave me error message, that this is not possible. And now with 4.2.2 I am not only able to check if my FW is the latest, but also to download and install 1/4 of the updates. I am trying to find the algorithm here.
boyansky78 said:
I understand that the FW is modded, as the previous one (4.1.2), which I've downloaded from here and installed on my G2+. But with 4.1.2 at that time I wasn't able to check for any updates for my OS. Every time I've checked manually for updates, the OS gave me error message, that this is not possible. And now with 4.2.2 I am not only able to check if my FW is the latest, but also to download and install 1/4 of the updates. I am trying to find the algorithm here.
Click to expand...
Click to collapse
I will say it again
It is not possible to check for updates because the Firmware is modded and not original anymore that's why!!!
Hi "safariking",
In the current situation we have two identically modded FWs, but a different outcome.
It's very nice of you to take the time to answer my question so fully That's why I'd like to thank you for the effort. Herewith I am closing the topic.
Cheers.
No probs guy i will repeat myself 100 times no problem
Verstuurd van mijn GT-I9105P
safariking said:
No probs guy i will repeat myself 100 times no problem
Verstuurd van mijn GT-I9105P
Click to expand...
Click to collapse
chill down everyone safari bro,this guy trying to say he got updated with mod fw,just when reach certain percent,the downloaded file seems corrupted. Now i understand mod fw can't even received the ota file,but how this process is allowed, and what happened with the ota file he downloaded?
either way,it's pointless,1st the phone fail to update completely(stuck at 25%), 2nd i don't think this problem can be solved.
cheers everyone~ :highfive:
nickchk said:
chill down everyone safari bro,this guy trying to say he got updated with mod fw,just when reach certain percent,the downloaded file seems corrupted. Now i understand mod fw can't even received the ota file,but how this process is allowed, and what happened with the ota file he downloaded?
either way,it's pointless,1st the phone fail to update completely(stuck at 25%), 2nd i don't think this problem can be solved.
cheers everyone~ :highfive:
Click to expand...
Click to collapse
Hi Nick,
Thanks for your reply. You are reading my mind. The issue is really interesting & I think it is worth discussing this.
Safari is right, when he says that FW upgrade OTA for customized ROM is not possible. This is of course true and no one has ever doubted it. This is why when I had the 4.1.2 installed on my G2+ no update was even possible. Droid detects immediately, that the OS has been modified and that you are not running stock ROM.
Okay, so far so good.
Now I have pre-rooted 4.2.2 installed on my phone. When I hit the "Check for update button" it detects that my OS is genuine (although it is not), downloads the whole update package (see screenshot), restarts the phone (part of the update process) and starts installing the update. When the installation reaches 25%, an error message appears saying, that an error has occurred. The phone restarts and loads the "old" OS.
I have tested this a several times and it always hangs on 25%.
The question is NOT why I CAN'T install OTA updates on modified ROM. The question is why I CAN download and install OTA updates on modified ROM.
My suggestion is that:
ROM 1 (4.1.2) had a modified kernel. That's why the OTA updates were not possible.
ROM 2 (4.2.2) is pre-rooted. And I assume it is just stock FW (kernel not modified) with few modifications in the user permissions. This would explain the OTA update and why it reaches download mode and hangs on 25% of the installation.
I hope this brings more clarification to the situation and this would be useful to all members of the forum.
Cheers!:highfive:
I have randomly come across and read posts and topics on this in the other devices' forum.
If I remember correctly, it is the custom recovery, i.e Cwm or twrp that blocks or interrupts the OTA process. 2 reasons why: you'll lose root access if the update went through. Secondly, if a user freezes or uninstalls stock apps like S Voice, Chat On etc, there will be trouble.
There are some ways of allowing an OTA to get pass a custom recovery. I think TWRP has this feature. Again, I stand corrected here lol.
Heard of OTA Root Keeper but no idea how it works
Sent from my GT-I9105 using xda app-developers app

[SOLVED] Stock Rooted - OTA fails

My wife's M8 is stock rooted. (Mine is happily running ViperOne )
She got the notification for the OTA update, and accepted. The phone rebooted into CWM, and the update failed. The phone came back up just fine, however.
How do I either get the update to install or get the OTA notification to stop popping up?
i imagine this has been answered a billion times, but I seem to only be able to find links related to other ROMs and the OTA.
Thanks
Looks like I got it done with this:
https://www.youtube.com/watch?v=e21qb7iZAOo&feature=youtube&app=desktop
and this:
http://forum.xda-developers.com/showthread.php?t=2723159

[Q] [SOLVED] 220.27.1 OTA install problems

Hi everyone,
I received the OTA update notification a long time ago but didn't have time to take a deep look into it (baby on the way... now arrived !), but I'm trying to install a lollipop ota update on my moto g.
It's not my first android device, I had about 10 of them and messed around with them, so don't be affraid to use the vernacular directly, but I'm aware that I might be making a rookie mistake too
My phone is a 1st gen 16Gb Moto G. IT's running 4.4.4 (System version 210.12.40.falcon_umts.Retail.en.FR, I'm in France by the way). I did a few things to it :
- unlock bootloader
- install CWM
- root
- install xposed
- install cerberus and moved it to system apps
Before trying to install it I tried to reverse the steps back to stock :
- move cerberus back to user apps, and uninstall it just in case
- remove xposed
- unroot using the option in the SuperSU menu
- go back to kitkat stock revovery, using mototool v2.6 (so this might a 4.4.2 but I didn't find another one so far)
Then I clicked on the OTA notification, anouncing that 220.27.1... was ready to be installed, downloaded it ok, chose to install it.
Everytime I tried the phone rebooted, began the install and after a short while showed a error message and rebooted.
I tried to install it by putting the OTA zip file in /sdcard and install it with the stock recovery, but here's what I found out :
After downloading the OTA on the phone if I go to /cache/ (where the ota zip file is downloaded. To do that I need root access so I got to flash cwm and root it again, fyi) it shows another file, not corresponding to 220.27 but named : Blur_Version.210.12.40.falcon_umts.Retail.en.FR.zip .... which is weird because it's the version that's supposed to be installed already !
I tried something else, found the "Blur_Version.220.27.1.falcon_umts.Retail.en.FR.zip" file on a forum, put it on /sdcard/ and try to install it through recovery... same error.
Does anyone have an idea on how to install it succesfully without having to flash back a stock firmware ?
Thanks a lot to anyone giving a shot, you rock !
Mat
Ps : i tried to find anything similar on the forum but didn't manage to. If i searched with the wrong terms or didn't notice it while browsing trough the different topics, please tell me if you have a clue, and sorry about not having searched well enough.
Found solace here :http://forum.xda-developers.com/mot...osing-apps-t2979971/post57658072#post57658072
Worked perfectly
Sorry for not having searched enough !

Cant rollback from OxygenOS 12 to 11

Hi, I have this super-weird issue - my OOS got update to v12 and since then weird things happened:
It started to suddenly and immediately turn off and I couldnt do a thing. I did hard reset and noticed that turning on Gooogle Assistant (or using the mic at all) caused these resets. So I didnt activte Assistant. Unfortunnately, this caused my mic not to work at all.
So i have given up and decided to revert to previous rom - v11. Unfortunately, that is everything but simple:
I have downloaded ROM for EU from here oneplus site and tried both OP local update tool and this weird app named my application2. Both dont seem to work and im not sure why, I checked like 5 different ROM versions and I am kind of stuck. OP Local prompts me that I cannot install lower version of package than currently installed and this other app throws me pop up with this message: "Verification failed". I tried to google it and checked here on forum and I cant find similar thread.
Could anyone help me out with this?
I just went through this. I downgraded from 12L to 11. For some reason some of the roms do not want to be used by the local upgrade app. I used a different one from the one I will direct you to and it said that I couldn't downgrade. I just had to find the right one. Go here: https://forum.xda-developers.com/t/...a-oxygen-os-repo-of-oxygen-os-builds.3930585/
Under "signed flashable zips" in the op, click "click to show content". I don't know which one you need global/India or Europe. I specifically used the global/India OnePlus7ProOxygen_21.P.41_GLO_0410_2112101753.
Use the local upgrade tool app. Downgrading will completely wipe your phone. So, make backups of your backups. If you root your phone, make sure to freeze the System Update app to get rid of the annoying update notification. So happy to have root/twrp back.
Thanks, unfortunately I have rolled back to OOS 11 and it didnt solve a thing - i keep seeing this lightning symbol and phone turns off even on full battery, I cant make phone calls because any use of mic turns off the phone immediately and I have no clue what to do next with it.

Categories

Resources