Hi all,
it's been a while since i started following you and 'till now i haven't had any issue at all.. over the last few days i started experimenting with my N4.
As of now i keep in unlocked, rooted with stock kernel and.. no custom recovery. Bad thing is i've done some crap steps, other than not having a recovery:
1 after unlocking/rooting, i uninstalled some pre-build apps (korean/pying/imeikeyboard/exchange..)
2 everything seemed fine
3 today i tried sideloading 5.1.1 and, of course, it gave me error "couldn't find 'koreanblabla'"
4 i deleted those apps from the ota
5 it passes the apps check but failed upon signature verification - no surprise, i was expecting this.
Now, how do i have that - modified - ota signature ok?
Wipe is not an option, i'd rather buy a new phone lol
Installing those app neither, i'd wanna stick with "my way" : F
I've found these.
jhshi.me/2013/12/02/how-to-create-and-sign-ota-package
source.android.com/devices/tech/ota/sign_builds.html
BTW, along with overclock.net - and reddit lol -, that's one of the best communty driven portal.
Thanks.
urielejh said:
Hi all,
it's been a while since i started following you and 'till now i haven't had any issue at all.. over the last few days i started experimenting with my N4.
As of now i keep in unlocked, rooted with stock kernel and.. no custom recovery. Bad thing is i've done some crap steps, other than not having a recovery:
1 after unlocking/rooting, i uninstalled some pre-build apps (korean/pying/imeikeyboard/exchange..)
2 everything seemed fine
3 today i tried sideloading 5.1.1 and, of course, it gave me error "couldn't find 'koreanblabla'"
4 i deleted those apps from the ota
5 it passes the apps check but failed upon signature verification - no surprise, i was expecting this.
Now, how do i have that - modified - ota signature ok?
Wipe is not an option, i'd rather buy a new phone lol
Installing those app neither, i'd wanna stick with "my way" : F
I've found these.
jhshi.me/2013/12/02/how-to-create-and-sign-ota-package
source.android.com/devices/tech/ota/sign_builds.html
BTW, along with overclock.net - and reddit lol -, that's one of the best communty driven portal.
Thanks.
Click to expand...
Click to collapse
Due to the way 5.0+ does signature checks, if you are even just rooted with stock recovery and no other changes, you have to unroot and revert to stock to install the OTA. It now checks the whole partition and will error if even a byte is out of place. You can either do that, or just flash the images directly, which I find to be the easiest.
Why you don't use factory image and edit flash-all.bat. Remove -w switch and flash. You will lose root and recovery but all apps and data remains.
viktorlj said:
Why you don't use factory image and edit flash-all.bat. Remove -w switch and flash. You will lose root and recovery but all apps and data remains.
Click to expand...
Click to collapse
whatwaitwhat?!
what will that do? is that similar to windows' refresh?
Yes, it will install complete system without wipe. But you must edit flashall.bat and remove -w switch.
what if i reinstall those uninstalled apps? will the integrity check be ok?
If you decide to use factory image there is no integrity check.
mmm
urielejh said:
what if i reinstall those uninstalled apps? will the integrity check be ok?
Click to expand...
Click to collapse
No, because you had to be rooted to remove them in the first place. You have to be unrooted to use the OTA, it has nothing to do with those apps. If you replace, you will just get an error at a different part of the OTA sideload process.
Use the images, as another poster said, you can remove -w from flashall to prevent the wipe (I prefer to always wipe to ensure a clean install however. I don't have anything which I don't backup or can't reinstall quickly)
ok, guys, think i'm done.
using Nexus Root Toolkit i've flashed 5.1.1 update without wiping.
Thanks. pity that i didn't make it the hard way lol
Related
hi, and thanks for reading this. If the newest sprint update, DI18?, ever gets released, I am afraid I will not get it. I removed some system apps and I guess the update needs to see those. Thinking I knew what I was doing, here is what I did.
Rooted my Epic.
with titanium i backed up media hub, sprint nav, and nascar. I then removed them.
I saw I needed them so I thought I would restore.
I guess titanium can't restore system apk's?
I start looking for those apk's and only find media hub.
I install media hub, epic says i already have it which i sort of don't really.
media hub is back, and thats where I am at.
I hope that makes sense? I will never use media hub, but I want the epic to be like it was right after root, so I can easily get the next, and future, updates.
thanks
I know someone has posted a link to download all of the stock apps... unfortunately I can't find it! Anyone know where that is?
I personally hate Titanium Backup because I can never figure out what it's doing. The backup function has done the same thing to me - you backup an app, then you think you're deleting the system app and can restore from a backup, but you can't. It's so weird. I would recommend either buying Root Explorer (~$3) or trying out the SDX Stock App Removal (free). You can also use adb push to put the system apps in your /system/app directory. But you still need the apps.
Did you try remounting as rw first?
Sent from my SPH-D700 using XDA App
EDIT: see Firon's post below (#8) it will take care of any modifications you've made as long as you have a stock (odexed) ROM, it won't even mess up recovery or kernel!
thank you all. I will play around with it.
according to titanium everything that was gone is back, except "com.sdgtl.stamhubb" no idea what that is. a google search came back with only a couple hits. Others have removed it, not noticing anything. I do not recall removing that myself.
That's a program name not the APK name... try updating if you're ready and see if it will get past verification... if not see if you can find the APK name and follow the same procedure you did with others.
Here's a signed update that will not trash your recovery, kernel, or root. You do not need a stock kernel for this update.
It will restore only the required stock files/apps and update your modem, so as long as you're on DI07, it should successfully update.
I tested it already on my own phone, worked great.
http://firon.net/xda/SPH-D700-DI07toDI18.signed.zip
This way you don't need to restore a bunch of random files to update.
I appear to be all good. thanks everyone.
Firon said:
Here's a signed update that will not trash your recovery, kernel, or root. You do not need a stock kernel for this update.
It will restore only the required stock files/apps and update your modem, so as long as you're on DI07, it should successfully update.
I tested it already on my own phone, worked great.
snip /SPH-D700-DI07toDI18.signed.zip
This way you don't need to restore a bunch of random files to update.
Click to expand...
Click to collapse
Hello,
The procedure for using this is to copy this to the SD card, rename update.zip, boot into recovery mode, select "apply sdcard:update.zip", correct? Or am I missing a step?
When I attempt this, I get a "E:signature verification failed Installation aborted." error.
Would appreciate any suggestions before I resort to flashing to stock. Thank you!
I am getting a
ben.fg said:
Hello,
The procedure for using this is to copy this to the SD card, rename update.zip, boot into recovery mode, select "apply sdcard:update.zip", correct? Or am I missing a step?
When I attempt this, I get a "E:signature verification failed Installation aborted." error.
Would appreciate any suggestions before I resort to flashing to stock. Thank you!
I am getting a
Click to expand...
Click to collapse
I am also wanting to know how to do this. I got the OTA update yesterday and it failed because I deleted Mail. I would like top know how to manually update to d118 w/out turning my epic into a brick. Any advice would be appreciated.
I believe this requires clockwork recovery not the stock recovery.
Checked for the new JB update, downloaded it. I went to install it and it got about a third of the way there, failed, rebooted and I am still on 4.0.4
Then it gives me a notification saying the update failed to which I can only press OK.
I've tried to update three times now and it does the same thing.
My phone is rooted, but I don't think that should cause problems
At a loss here...
ogal said:
Checked for the new JB update, downloaded it. I went to install it and it got about a third of the way there, failed, rebooted and I am still on 4.0.4
Then it gives me a notification saying the update failed to which I can only press OK.
I've tried to update three times now and it does the same thing.
My phone is rooted, but I don't think that should cause problems
At a loss here...
Click to expand...
Click to collapse
why dont u just make a nandroid, fastboot back to stock ics with rsd, dont root your phone or do if you think it doesnt matter which ur right ive flashed the leak and official multiple times already both rooted and not, boot back to recovery and try it again...i heard this might help although i never have had to but rename it update.zip.
heres the one i used have never had a problem:
http://forum.xda-developers.com/showthread.php?t=1982934
Hi, I've downloaded the OTA update from Verizon for my Razr M three times this morning because each install shows "The Software Update Failed". It'd be just peachy if they didn't make me download all 250 MB each time I tried. Sheesh.
Aside from that, it's still not updating. This phone is rooted, but has never had a custom ROM put on it.
Hmmm...now that I think about it, I do have a bunch of apps disabled, including some Verizon apps, etc. I'll try enabling them and trying this all again.
Hmmm...didn't work. Still getting the failed error message. Going to back everything up and do a Factory Reset.
lostpilot28 said:
Hmmm...didn't work. Still getting the failed error message. Going to back everything up and do a Factory Reset.
Click to expand...
Click to collapse
I am currently having the same issue in attempting to download/install the latest VZ update. I've done a factory reset and tried voodoo rootkeeper to temp unroot the phone to no avail. The only modifications I had made before the reset were deleting some of the bloatware manually with root explorer- those apps were subsequently restored from the reset.
Any idea how I can update the phone? Given that there is currently no way to install a custom ROM currently and can only delete bloatware, I'm thinking rooting this phone doesn't really help much if we are then not able to update it
Update
fiendebass said:
I am currently having the same issue in attempting to download/install the latest VZ update. I've done a factory reset and tried voodoo rootkeeper to temp unroot the phone to no avail. The only modifications I had made before the reset were deleting some of the bloatware manually with root explorer- those apps were subsequently restored from the reset.
Any idea how I can update the phone? Given that there is currently no way to install a custom ROM currently and can only delete bloatware, I'm thinking rooting this phone doesn't really help much if we are then not able to update it
Click to expand...
Click to collapse
I've restored the phone to stock ICS via the Fastboot method. This allowed me to automatically update to Official Jellybean.
ogal said:
Checked for the new JB update, downloaded it. I went to install it and it got about a third of the way there, failed, rebooted and I am still on 4.0.4
Then it gives me a notification saying the update failed to which I can only press OK.
I've tried to update three times now and it does the same thing.
My phone is rooted, but I don't think that should cause problems
At a loss here...
Click to expand...
Click to collapse
I upgraded to JB via OTA from Verizon, you will not lose anything if you upgrade that way, nor will you have to setup anything again. If you flash it through RSD lite than you probably will lose everything plus have to go thru the setup process again. Hope this helps. Make sure you uninstall safe strap recovery and if you're rooted make sure you backup and save root via the voodoo app, before accepting the OTA. I found out the hard way. If you don't uninstall the safe strap recovery the OTA will fail every time.
Being rooted does not have anything to do with the OTA failing. Its safe strap if you are using that.
Sent from my XT907 using xda app-developers app
fiendebass said:
I've restored the phone to stock ICS via the Fastboot method. This allowed me to automatically update to Official Jellybean.
Click to expand...
Click to collapse
I used this method phonearena.com/news/How-to-restore-your-Motorola-DROID-RAZR-M-back-to-stock-ICS-from-the-JB-leak_id35580 .
Followed all the links and tried to RSD back to stock and then OTA, but now Im bricked....any suggestions on flashing a fresh copy of ICS using RSD LITE??
fiendebass said:
I've restored the phone to stock ICS via the Fastboot method. This allowed me to automatically update to Official Jellybean.
Click to expand...
Click to collapse
Could you direct me to somewhere I can find out details about this? What is the fastboot method?
As the title says, I'm getting notifications to upgrade my Nexus 7 to 4.2 even though I have 4.2 already. If it were the 4.2.1 update that it wanted me to update to, wound't it say 4.2.1 instead of 4.2?
Info on the device:
Rooted
Bootloader Unlocked
Stock ROM
I went ahead and tried installing the update many times and while it shutdown to do its dirty work, it eventually error-ed out (while the little Android guy is on his back). I have even done a factory reset and I still get the prompts to update to 4.2... from 4.2. Errors are there as well. Thank you for your help.
John J
P.S There are pics
jjimenezjj said:
As the title says, I'm getting notifications to upgrade my Nexus 7 to 4.2 even though I have 4.2 already. If it were the 4.2.1 update that it wanted me to update to, wound't it say 4.2.1 instead of 4.2?
Info on the device:
Rooted
Bootloader Unlocked
Stock ROM
I went ahead and tried installing the update many times and while it shutdown to do its dirty work, it eventually error-ed out (while the little Android guy is on his back). I have even done a factory reset and I still get the prompts to update to 4.2... from 4.2. Errors are there as well. Thank you for your help.
John J
P.S There are pics
Click to expand...
Click to collapse
This has been posted about before.
Yes, the 4.2.1 upgrade says "4.2" in the update screen. Your device is trying to go from 4.2->4.2.1.
The upgrade however seems to be failing. Since you are using a stock recovery, there is no indication on what part is stopping it. It could just be a glitch or, more likely, you modified something. Did you install any mods or root and modify any system apps? Freezing them in TiBu/etc. will break it too.
phonic said:
This has been posted about before.
Yes, the 4.2.1 upgrade says "4.2" in the update screen. Your device is trying to go from 4.2->4.2.1.
The upgrade however seems to be failing. Since you are using a stock recovery, there is no indication on what part is stopping it. It could just be a glitch or, more likely, you modified something. Did you install any mods or root and modify any system apps? Freezing them in TiBu/etc. will break it too.
Click to expand...
Click to collapse
I did read other posts but they didn't seem to help.
After I rooted the device, I went ahead and pasted the original browser.apk in the System/App folder and installed it from there. From what I read, that was most likely my problem. I deleted it but still got the error. After that I said "screw this" and applied a data factory reset thinking that would solve my problems
Thank you for your reply.
John J
jjimenezjj said:
I did read other posts but they didn't seem to help.
After I rooted the device, I went ahead and pasted the original browser.apk in the System/App folder and installed it from there. From what I read, that was most likely my problem. I deleted it but still got the error. After that I said "screw this" and applied a data factory reset thinking that would solve my problems
Thank you for your reply.
John J
Click to expand...
Click to collapse
Yes, that modification would certainly break the OTA update.
Doing a factory wipe won't help. That won't revert the old system apk back to stock. Nor will deleting it.
Your best bet is to download the full 4.2.1 image and flash that. Or, you could find and restore the original browser.apk.
This should serve as another reminder to people who make tweaks - always backup the original file!
phonic said:
Yes, that modification would certainly break the OTA update.
Doing a factory wipe won't help. That won't revert the old system apk back to stock. Nor will deleting it.
Your best bet is to download the full 4.2.1 image and flash that. Or, you could find and restore the original browser.apk.
This should serve as another reminder to people who make tweaks - always backup the original file!
Click to expand...
Click to collapse
It's not that bad. Everything works fine except for updating the thing. As for the restoring the original browser.apk, if you mean Chrome, I never touched it so it is there.
My guess is that I didn't install the CWM Recovery correctly because I can't boot into Recovery Mode. It just hangs and stays in a loop. I will re-install CWM and see if that helps.
John J
Re-installed CWM Recovery and flashed 4.2.1 from there. Lost everything but I had anything important backup already. All is good
Help me get back to stock. I'm sick of xposed being installed, the mod collection, the play store, etc. I just want root and Tasker, and I'll gets apps across other ways.
But how do I truly restore/hard reset this thing. I don't want a 'factory reset' as it seems pieces of xposed or the mod collection remain and I just want it gone.
Does the alt+print method truly rewrite the OS? I don't want just /system cleared, I want all this stuff GONE!
why you ask? All the work that has been done is awesome, and provides great features. But it still feels a bit like a dirty hack and no matter what I do my system is still slow. It wasn't slow before installing all this stuff, but it still is after a factory reset. Half the mods didn't work for me, 720 no, stop updates no, play store yes, kinda, when it doesn't crash.
Thanks for listening to my rant, kinda annoyed by a forced OTA that's trying to install and preventing me from using my system right now.
Just uninstall Xposed. Then the other mods won't load.
Well, preferably I would overwrite everything that's on there and start over. I have exposed installed but only the play store is active (as nothing else works).
I heard flashing the OTA while rooted turns the flash into a complete flash instead of a partial. Is this true? Also, if I reload the boot loader (or overwrite boot loader?) In cwm installing the flash might it do a full system write?
I ask because I maintained root after my last OTA so something remained. I would like to not have this happen.
Snoman002 said:
Well, preferably I would overwrite everything that's on there and start over. I have exposed installed but only the play store is active (as nothing else works).
I heard flashing the OTA while rooted turns the flash into a complete flash instead of a partial. Is this true? Also, if I reload the boot loader (or overwrite boot loader?) In cwm installing the flash might it do a full system write?
I ask because I maintained root after my last OTA so something remained. I would like to not have this happen.
Click to expand...
Click to collapse
Whether you're rooted or not isn't going to change how the updater script works. And if you've ever tried what you're proposing on an Android phone or tablet, you'll know that that's called "dirty flashing" (flashing on top of existing material). If you really want to go full-stock, you'll need to format your partitions [/system and /data, along with userdata first, then flash a stock OTA or zip (either via a fastboot zip, which I'm pretty sure doesn't exist right now, or via recovery).
How comfortable are you with using adb/fastboot?
I'm still on 4.2.1 on my nexus 4 (been a little slow with the updates...they always fail on me so I have to manually flash). My question is, can I download and flash the latest version (4.4.4) or is it best to update my way up (4.2.2, then 4.3, then 4.4, so on and so forth)?
If you have a flashable zip of 4.4.4 you can update to that. Otherwise I'd update to 4.4 and then incremental.
Make sure everything is up to date, recovery, boot img ect. ect. I had an issue with twrp and had to update it, problem was that the twrp updates would fail. Long story short, had to go the adb route and update my recovery...all went well after that.
Sent by flying midget
matrix0886 said:
I'm still on 4.2.1 on my nexus 4 (been a little slow with the updates...they always fail on me so I have to manually flash). My question is, can I download and flash the latest version (4.4.4) or is it best to update my way up (4.2.2, then 4.3, then 4.4, so on and so forth)?
Click to expand...
Click to collapse
My version was 4.4.2 and I flashed manually to 4.4.4. Only one app needed reinstall. (Hex editor)
See my reply http://forum.xda-developers.com/nexus-4/help/help-ota-t2802250
If you don't mind losing all of your data, then you can simply download the latest factory image from here and install it via one of the toolkits or using fastboot. https://developers.google.com/android/nexus/images
If you're rooted, then you need to update to the latest TWRP, flash the latest radio and bootloader and then install any 4.4.4 ROM and Gapps. A factory reset is recommended however.
TheDarkLord1997 said:
If you're rooted, then you need to update to the latest TWRP, flash the latest radio and bootloader and then install any 4.4.4 ROM and Gapps. A factory reset is recommended however.
Click to expand...
Click to collapse
When on a Nexus 4 the LTE is activated (hack) then flashing the latest radio is not a good idea.
After flashing LTE is gone.
Maybe my reply to another post is helpfull http://forum.xda-developers.com/nexus-4/help/help-ota-t2802250
TheDarkLord1997 said:
If you don't mind losing all of your data, then you can simply download the latest factory image from here and install it via one of the toolkits or using fastboot. https://developers.google.com/android/nexus/images
If you're rooted, then you need to update to the latest TWRP, flash the latest radio and bootloader and then install any 4.4.4 ROM and Gapps. A factory reset is recommended however.
Click to expand...
Click to collapse
Actually, if you download the factory image from google and extract it, you can change the flash-all.bat file so that it doesn't wipe your data.
Right click the file and select "edit" and delete the "-w" between "nutfastboot" and "update" towards the end and it prevents your data from being wiped. From there, you put your device into bootloader mode, then on your computer just right click the folder that you extracted while pressing shift and select "open command window here." Type in "flashboot devices" to make sure the phone is seen by the system, then type "flash-all.bat" and boom, good to go. Just flashed a factory image without wiping the data.
Upgraded right to 4.4.4. Did have to root again and reinstall TWRP, but the Nexus Root Toolkit makes that easy, lol. My only thing is that everything seems to take a bit longer. Transitions are smooth, but there's a lag from when I select something, to when it opens. For example, I use widget locker. When unlocking, it used to immediately unlock. Now it takes about 2 or 3 seconds, but that may just be the app itself. Probably would have been best to flash a little at a time (4.3, then 4.4, then 4.4.4) but oh well. Maybe when I get back from vacation next week, lol.
Also, wasn't concerned about losing LTE because I never really needed it to begin with. I only ever use data when i'm on my lunch at work and it's mostly playing something like Ruzzle or reading news articles. Plus, LTE pretty much cut my battery down to half of what it normally is. I'll be getting a new phone when the next Nexus is released anyway so i'm not too concerned about lack of LTE on my current phone. We got, what, 4 months before the next one is due?
Where was this ages ago?
matrix0886 said:
Right click the file and select "edit" and delete the "-w" between "nutfastboot" and "update" towards the end and it prevents your data from being wiped.
Click to expand...
Click to collapse
Wow! Very thankful for such a simple "hack" :highfive:
I must have missed your argument for and against incrementally updating @matrix0886
knightowl439 said:
Wow! Very thankful for such a simple "hack" :highfive:
I must have missed your argument for and against incrementally updating @matrix0886
Click to expand...
Click to collapse
Except, make sure you take the userdata.img out of the zip too or that'll wipe your device.
Edit, this already has the hacks http://forum.xda-developers.com/showthread.php?p=53533289
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Except, make sure you take the userdata.img out of the zip too or that'll wipe your device.
Click to expand...
Click to collapse
Are you sure, because I didn't take it out. All I did was delete "-w" from the batch file and that was it. Although, I do think I remember something about that as a secondary "just in case you're really worried about it" option.
Happy to be Guinea Pig
I had problems with my launcher @matrix0886 when I just deleted the "-w"
I'll give what @jd1639 said a shot too
Sorry for the late reply. I don't use the stock launcher (I use widget locker for my lockscreen and Apex for my home launcher) so I obviously haven't noticed any problems, lol. But how did the other option go for you @knightowl439?