Hello there,
I'm trying to update to lollipop without losing any data and I'm obviously unable to update my n5 via ota using twrp.
Is there any way I could use the ota? Best if without adb but i fear it would be the only way, isn't it?
Thanks everybody
There's no way to update using adb. Fastboot yes, adb no.
You could just flash the system and boot image thread in my signature
rootSU said:
There's no way to update using adb. Fastboot yes, adb no.
You could just flash the system and boot image thread in my signature
Click to expand...
Click to collapse
hello rootSU,
thanks for your reply.
Will it keep data and apps as befor the flash?
What link?
lultimo said:
hello rootSU,
thanks for your reply.
Will it keep data and apps as befor the flash?
What link?
Click to expand...
Click to collapse
The one about updating.
Flashing system and boot doesn't wipe data. Flashing use data wipes data.
However, you may still need to wipe so take a titanium backup if you can
Hi
I updated using factory images without flashing userdata.IMG.
All data and apps where retained after update.
I am not facing any issues till now
lultimo said:
Hello there,
I'm trying to update to lollipop without losing any data and I'm obviously unable to update my n5 via ota using twrp.
Is there any way I could use the ota? Best if without adb but i fear it would be the only way, isn't it?
Thanks everybody
Click to expand...
Click to collapse
Go back to stock recovery and sideload the OTA. You'll obviously need to use adb, but it should take you no more than maybe 5 minutes or even including sending the ota to device. No data loss for me on that one. Obviously, root was lost but that can be fixed.
Related
Hi everyone,
Las week the OTA update appeared in my phone. I tried to use the google-automatic procedure, but as I have my Nexus 5 rooted, the install was aborted as soon as the device was restarted.
I read the helpdesk thread, trying to update the device manually, but I can't be able to.
I have the 4.4 to 4.4.2 .zip file inside the downloads folder, I restart the device to recovery mode (I've installed TWRP), and after writing the decrypt password and mount the volume, When I try to apply the zip file
"/system/app/EmailGoogle.apk" has unexpected co
E: Error executing update binary in zip '/sdcar
Error flashing zip '/sdcard/Download/b3d1f30762
Updating partition details..
Note that the senteces is cut due to the lenght of the screen.
Before flashing, I go to mount option, and mount all the folder (system, firmware, sdcard)
Any ideas?
Now I'm thinking that when I rooted the device, I used ES File Explorer to delete some apps directly from /sys/apps, maybe is that the error, that some GApps has been removed from the device.
Thank you!
Yes Google has nicely written in app checks. If these apps are not present on check the update is aborted
Sent from my Nexus 5 using Tapatalk
So I have to reinstall the GApps package, and try to apply de update?
http://forum.xda-developers.com/showthread.php?p=26914
Sent from my Nexus 5 using Tapatalk
you modified the system apps.. what did you think was going to happen? everything would update fine?
this has been documented all over the forums. if you want the OTA, stop modifying your system or keep backups of what you modified.
Ben36 said:
http://forum.xda-developers.com/showthread.php?p=26914
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Link not valid, but thank you, I will install GApps
Zepius said:
you modified the system apps.. what did you think was going to happen? everything would update fine?
this has been documented all over the forums. if you want the OTA, stop modifying your system or keep backups of what you modified.
Click to expand...
Click to collapse
That's true, sorry... Well I gonna reinstall GApps and try to update OTA.
Thank you for fast reply!
Deiwor said:
Link not valid, but thank you, I will install GApps
That's true, sorry... Well I gonna reinstall GApps and try to update OTA.
Thank you for fast reply!
Click to expand...
Click to collapse
Flashing gapps is not going to help you. You need to fastboot flash the system and boot image from the factory image
jd1639 said:
Flashing gapps is not going to help you. You need to fastboot flash the system and boot image from the factory image
Click to expand...
Click to collapse
Oh, really? Damn.... Well then I will start from scratch next weekend, or find the way to hide the update.
Thank you jd1639
Deiwor said:
Oh, really? Damn.... Well then I will start from scratch next weekend, or find the way to hide the update.
Thank you jd1639
Click to expand...
Click to collapse
Flashing the system and boot images isn't starting from scratch... you can keep your userdata as long as you aren't using a custom ROM. Flashing those just gives you back a clean stock OS without any of your mods. No need to start from scratch. Should only take a couple minutes.
Also, your mods are the reason it failed in the first place, not because you were rooted. Rooting itself does not prevent OTA updates.
Hi guys, as I cant stand the ads I'm thinking of rooting the device but I wonder if I can have OTA updates after this and if yes, do I have to re-root the phone after the updates?
thxxx
epivitor said:
Hi guys, as I cant stand the ads I'm thinking of rooting the device but I wonder if I can have OTA updates after this and if yes, do I have to re-root the phone after the updates?
thxxx
Click to expand...
Click to collapse
If you have non gpe device then yes root will deny ota.
No my device isnt the gpe.
How can I update my phone then ?
epivitor said:
No my device isnt the gpe.
How can I update my phone then ?
Click to expand...
Click to collapse
flash stock rom
update via OTA
again root..
solved...
reversegear said:
flash stock rom
update via OTA
again root..
solved...
Click to expand...
Click to collapse
There is no other easier way to do this?
I had in mind something like download the update to the pc and apply it to the phone with usb connection. Isnt that possible. Could this method I thought brick the phone?
epivitor said:
There is no other easier way to do this?
I had in mind something like download the update to the pc and apply it to the phone with usb connection. Isnt that possible. Could this method I thought brick the phone?
Click to expand...
Click to collapse
afaik OTAs cannot be installed via PC
name itself says Over The Air
reversegear said:
afaik OTAs cannot be installed via PC
name itself says Over The Air
Click to expand...
Click to collapse
I wanted to say if I get the OTA update from another source not over the air of course, could I flash it without porblem through usb cable?
epivitor said:
I wanted to say if I get the OTA update from another source not over the air of course, could I flash it without porblem through usb cable?
Click to expand...
Click to collapse
no you cannot flash OTAs via PC
S0bes said:
If you have non gpe device then yes root will deny ota.
Click to expand...
Click to collapse
Really? My XT1032 is rooted since i bought it and I was still able to apply the February OTA. Didn't wait for it to reach my phone though - I've downloaded it here on XDA, then checked for updates.
epivitor said:
There is no other easier way to do this?
I had in mind something like download the update to the pc and apply it to the phone with usb connection. Isnt that possible. Could this method I thought brick the phone?
Click to expand...
Click to collapse
you can install CWM.
Then make a full backup. You can move it on your pc or let it take space on your phone.
After that you can apply any patches via CWM or install root or whatsoever
When your phone will show the next update you should:
1) Boot into CWM and recover your backup. BUT! You should recover only part of it. The system part.
backup and restore -> advanced restore from /sdcard -> choose your backup -> restore system
2) wait till it complete.
Now you can delete your backup.
Reboot your phone (reboot system now)
After that you will see 2 messages and if you wanna be able to apply ota you have to make the right choises
Q: ROM may flash stock recovery on boot. Fix?
A: NO
Q: Root access is missing. Root device?
A:NO
After all that steps you'll get:
1) clear system part (which means no root, modified files etc)
2) default recovery
I've read "mixed" opinions about this; some say rooted devices lose updates and some say otherwise. I've also heard that if you flash ROM A on top of ROM B that's your original ROM, and you get signature errors you no more receive OTA updates. By the way, I was able to receive OTA updates on my Asia Retail XT1033 that was flashed to Retail UK XT1032. It would be cool if some senior member here shed some light on this subject.
knizmi said:
Really? My XT1032 is rooted since i bought it and I was still able to apply the February OTA. Didn't wait for it to reach my phone though - I've downloaded it here on XDA, then checked for updates.
Click to expand...
Click to collapse
yes, it can be so. I heard about the same situation from few people. But other still can not apply ota with root
S0bes said:
yes, it can be so. I heard about the same situation from few people. But other still can not apply ota with root
Click to expand...
Click to collapse
I think that people who have reported that they can't apply the OTA update had messed their /system partition in other ways than just rooting.
I've studied the update package and all it does is that it first checks if the files (and only those files) that are going to be updated are untampered with and if everything is allright, they are patched.
To sum it up - you can have extra files on your /system folder (like the su binary), but all of the updated files must be stock. The updater really doesn't care if su, xposed or other mods are present.
knizmi said:
I think that people who have reported that they can't apply the OTA update had messed their /system partition in other ways than just rooting.
I've studied the update package and all it does is that it first checks if the files (and only those files) that are going to be updated are untampered with and if everything is allright, they are patched.
To sum it up - you can have extra files on your /system folder (like the su binary), but all of the updated files must be stock. The updater really doesn't care if su, xposed or other mods are present.
Click to expand...
Click to collapse
Is there a problem if some of the apps are disabled ? (not with titanium backup but through settings->apps->select the app ->disable)
epivitor said:
Is there a problem if some of the apps are disabled ? (not with titanium backup but through settings->apps->select the app ->disable)
Click to expand...
Click to collapse
No, disabled apps are still where they are supposed to be. The OTA updater checks if the file is there (it is), if the fingerprint matches (it does) and then it patches the app even when it's disabled.
I am NOT rooted and NOT unlocked. I am running 25R and finally want to update.
However, I edited mixer_paths.xml with https://forums.oneplus.net/threads/tool-jlouder-v1-0-rc2-makes-your-phone-call-louder.69733/ back in the day because of previous volume issues and cannot revert back because the tool just sucks
Therefore, OPO won't let me update firmware because of mixer_paths.xml is not original and I cannot restore it.
I know one of my options is to just unlock/wipe/root and install, but I don't want to wipe.
HELP!
unknown00 said:
I am NOT rooted and NOT unlocked. I am running 25R and finally want to update.
However, I edited mixer_paths.xml with https://forums.oneplus.net/threads/tool-jlouder-v1-0-rc2-makes-your-phone-call-louder.69733/ back in the day because of previous volume issues and cannot revert back because the tool just sucks
Therefore, OPO won't let me update firmware because of mixer_paths.xml is not original and I cannot restore it.
I know one of my options is to just unlock/wipe/root and install, but I don't want to wipe.
HELP!
Click to expand...
Click to collapse
ok so you were rooted at one time? Question - why can't you just root your phone and flash the update? You can put your phone in fastboot and temporarily boot into recovery then flash Calkulins 38R rom.
playya said:
ok so you were rooted at one time? Question - why can't you just root your phone and flash the update? You can put your phone in fastboot and temporarily boot into recovery then flash Calkulins 38R rom.
Click to expand...
Click to collapse
No I was never rooted, the tool allowed me to change the file without being rooted
Why don't I root? I don't want to lose all my data
unknown00 said:
No I was never rooted, the tool allowed me to change the file without being rooted
Why don't I root? I don't want to lose all my data
Click to expand...
Click to collapse
Data can be reproduced but you won't be able to update unless you can side load or simply go to the site and flash back the original file. I see that you say the tool sucks so to me your choices are pretty clear. Honestly I think people make more out of losing data than it needs to be. save your photos, play store restores your apps, download a password reminder if needed and go for it.
I agree. Backup your stuff. Unlock bootloader. Update manually.
Transmitted via Bacon
Yeah fastboot oem unlock and fastboot -w update update.zip is pretty much your only option if you ever want to update again.
Mmm bacon
Hey there fellow U11 Users,
I just received the update concerning 60fps HD-Video etc. I use TWRP so the update can't be installed by itself. So I have two questions:
A
Where do I find the update file. I looked around a lot but couldn't locate it.
B
Once found, can I just flash it with TWRP?
Thanks in advance!
Dito13 said:
Hey there fellow U11 Users,
I just received the update concerning 60fps HD-Video etc. I use TWRP so the update can't be installed by itself. So I have two questions:
A
Where do I find the update file. I looked around a lot but couldn't locate it.
B
Once found, can I just flash it with TWRP?
Thanks in advance!
Click to expand...
Click to collapse
See here: https://forum.xda-developers.com/u11/how-to/collection-htcu-u11-ruu-firmware-t3612048/page63
Alright, thanks! :good: That only leaves the first question unanswered.
Dito13 said:
Alright, thanks! :good: That only leaves the first question unanswered.
Click to expand...
Click to collapse
/data/data/com.htc.updater/files
btw...twrp can install the update but you need to flash the firmware.zip inside the ota manually
Thank you kindly!
OMJ said:
/data/data/com.htc.updater/files
btw...twrp can install the update but you need to flash the firmware.zip inside the ota manually
Click to expand...
Click to collapse
Just to be clear: I only flash the firmware.zip manually via TWRP or do I need to flash the whole ota?
Sorry for the question. I mostly handled Nexus devices...
Dito13 said:
Just to be clear: I only flash the firmware.zip manually via TWRP or do I need to flash the whole ota?
Sorry for the question. I mostly handled Nexus devices...
Click to expand...
Click to collapse
twrp will install the ota zip but it wont install the firmware.zip inside, you have to extract & manually install from download mode
grrr.... I tried following your suggestions, but recieved error 7 in TWRP. Can you help me in the right direction?
Dito13 said:
grrr.... I tried following your suggestions, but recieved error 7 in TWRP. Can you help me in the right direction?
Click to expand...
Click to collapse
list your steps your using to install the ota via twrp....personally, I let the system initiate the install (booted into OS) as if I was 100% stock, once twrp loads, it automatically installs except for the firmware.zip
more details here...
OK, I am a Noob to the HTC world. I am used to easy flashing/rooting/etc. on Nexus devices.
TWRP doesn't do anything after accepting the ota. When I try to install the OTA via TWRP I receive Error 7. I worked my way through a lot of guides here on XDA concerning manual OTA installing. One thing I tried was flashing back to stock recovery which I found in the firmware.zip of the OTA in bootloader mode. That failed also ("FAILED (remote: not allowed on PRODUCTION device).
Edit: The device has obviously an unlocked bootloader, s-on, rooted via magisk and is a DGLU device, software number 1.16.400.5
Are you on an Untouched System Image? Completely stock ROM? While it is great we can flash the OTA in TWRP, the system stills needs to be stock, and of course will still have to fastboot firmware.
schmeggy929 said:
Are you on an Untouched System Image? Completely stock ROM? While it is great we can flash the OTA in TWRP, the system stills needs to be stock, and of course will still have to fastboot firmware.
Click to expand...
Click to collapse
Yes, everything is stock.
I managed to flash the stock recovery now. I didn't remember to use the download mode /sorry. Then Then I checked for the ota again, downloaded it and tried to apply but I landed in the stock recovery with the red exclamation mark and then nothing happened.
Dito13 said:
Yes, everything is stock.
I managed to flash the stock recovery now. I didn't remember to use the download mode /sorry. Then Then I checked for the ota again, downloaded it and tried to apply but I landed in the stock recovery with the red exclamation mark and then nothing happened.
Click to expand...
Click to collapse
re-flash twrp and try it again.
schmeggy929 said:
re-flash twrp and try it again.
Click to expand...
Click to collapse
Same result unfortunately. TWRP hands out Error 7 and "system partition has unexpected contents" or something like that although I didn't do any tinkering with the stock rom. I flashed Magisk and did a backup before and that was all.
Dito13 said:
Same result unfortunately. TWRP hands out Error 7 and "system partition has unexpected contents" or something like that although I didn't do any tinkering with the stock rom. I flashed Magisk and did a backup before and that was all.
Click to expand...
Click to collapse
Only thing I would say is start fresh. Backup all the data for your apps first. Flash the RUU, Take the OTA and reinstall all your apps.
schmeggy929 said:
Only thing I would say is start fresh. Backup all the data for your apps first. Flash the RUU, Take the OTA and reinstall all your apps.
Click to expand...
Click to collapse
Thanks again - seems to have worked. It will be interesting to see which problems occur with the Android Oreo update which was announced till the end of the year by HTC
Hope by performance fixes they mean memory leak fix.
I have not seen os ram usage this low after boot in many months.
Did you have round corner?
yaral said:
Did you have round corner?
Click to expand...
Click to collapse
It squared it when I screenshot.
Anybody figure out how to turn off the rounded corners?
Anyone know what the modem sucurity patch is about? Kinda don't want to take it cuz of the sim lock issues awhile back.
enigma2446 said:
Anyone know what the modem sucurity patch is about? Kinda don't want to take it cuz of the sim lock issues awhile back.
Click to expand...
Click to collapse
no clue but i fastboot flashed the images because the OTA refused to work, but flashing the images worked. i'm still able to connect to ATT towers from my sprint sim unlocked PH-1.
TomTheGeek3 said:
no clue but i fastboot flashed the images because the OTA refused to work, but flashing the images worked. i'm still able to connect to ATT towers from my sprint sim unlocked PH-1.
Click to expand...
Click to collapse
Noob question here: When using fastboot to flash the update image, do you have to worry about the "slot A" vs "slot B" thing?? Can you provide a little more insight? I've been reading around the forum, and I'm a little worried about bricking my phone! (The bootloader on my phone is unlocked and I've rooted the phone, but I haven't flashed a third-party ROM. The OTA update feature gives me a "couldn't update" message.)
adiejg said:
Noob question here: When using fastboot to flash the update image, do you have to worry about the "slot A" vs "slot B" thing?? Can you provide a little more insight? I've been reading around the forum, and I'm a little worried about bricking my phone! (The bootloader on my phone is unlocked and I've rooted the phone, but I haven't flashed a third-party ROM. The OTA update feature gives me a "couldn't update" message.)
Click to expand...
Click to collapse
No you don't have to worry about it. The flash all file in the zip will do all the work for you. It wont take update via ota because you have to be on the stock boot.img. the stock boot img has the recovery built into the ramdisk there for if your rooted then there is no stock recovery to use for ota. Be cautious because flashing via fastboot will wipe the phone.
enigma2446 said:
No you don't have to worry about it. The flash all file in the zip will do all the work for you. It wont take update via ota because you have to be on the stock boot.img. the stock boot img has the recovery built into the ramdisk there for if your rooted then there is no stock recovery to use for ota. Be cautious because flashing via fastboot will wipe the phone.
Click to expand...
Click to collapse
If I edit the .bat file and remove "format userdata", that will prevent the wipe?
njsges said:
If I edit the .bat file and remove "format userdata", that will prevent the wipe?
Click to expand...
Click to collapse
It should without issues but always prepare for hickups.
Anyone else having issues when trying to update to the February release? I tried to sideload the OTA update and that kept giving me the error "adb sideload failed to read command: no error" and then I decided to follow Morphius's suggestion here to just unroot my device by flashing to stock bootloader in order to try to take the OTA update and that OTA keeps failing as well. Anyone else having this issue?
hssxda said:
Anyone else having issues when trying to update to the February release? I tried to sideload the OTA update and that kept giving me the error "adb sideload failed to read command: no error" and then I decided to follow Morphius's suggestion here to just unroot my device by flashing to stock bootloader in order to try to take the OTA update and that OTA keeps failing as well. Anyone else having this issue?
Click to expand...
Click to collapse
Are you rooted?
After three days running, memory Leak not fixed.. Bummer
enigma2446 said:
No you don't have to worry about it. The flash all file in the zip will do all the work for you. It wont take update via ota because you have to be on the stock boot.img. the stock boot img has the recovery built into the ramdisk there for if your rooted then there is no stock recovery to use for ota. Be cautious because flashing via fastboot will wipe the phone.
Click to expand...
Click to collapse
Again, a very noob question, (and I do apologize) but can I use something like Titanium Backup to make sure I can restore all my apps the way they were after I flash the update via fastboot? Reinstalling everything seems like a gigantic pain in the backside.
adiejg said:
Again, a very noob question, (and I do apologize) but can I use something like Titanium Backup to make sure I can restore all my apps the way they were after I flash the update via fastboot? Reinstalling everything seems like a gigantic pain in the backside.
Click to expand...
Click to collapse
Titanium Backup used to require root access. You probably need to be rooted before you update via fastboot and run the backup through Titanium Backup. Then you will need to copy your backup files to a computer because fastboot flashing will erase your phone data. Next apply the fastboot update, root again, copy your backup back to the phone and restore your backup.
enigma2446 said:
Are you rooted?
Click to expand...
Click to collapse
I was but I followed all the proper steps but for some reason this morning my computer wouldn't real the OTA zip file. I tried it tonight using a different USB port on my laptop and it is worked first time... so weird...
d14r1 said:
After three days running, memory Leak not fixed.. Bummer
Click to expand...
Click to collapse
I don't have memory leak anymore..
1.5gb ram not in usage.
The last time I restarted my phone was after the update.
I'm using my Essential 'phone in the UK having recently purchased it used. On the 7th I had a notice to say that an update was available. When I tried to install it it downloaded, but refused to install saying: Couldn't update... installation problem. As far as I know the 'phone is running the stock software but I noticed that no updates had been installed since October 2018. I unchecked 'allow bootloader unlocking' in case that was the issue, but still couldn't perform the update.
I went onto the Essential website and downloaded the OTA image to my iMac, then, following the guide, sideloaded the update on to the 'phone. This worked well and I now have an updated PH-1. I'll have to see if March's update now installs correctly or not.
so.... am i reading this right... and here is my thinking...
to keep root and still take the OTAs
- go to Essentials site and download the image zip
- (to keep root) copy boot.img to your device, patch it through magisk, then copy it back to your ota folder.
- open flashall.bat, comment the format userdata (to keep your data), change the boot.img line to patched_boot.img
- run flashall.bat
- profit