Related
If I have the Verizon DE Moto X, do I need to be stock (no root) and re-locked bootloader to get software updates? Or just one or the other? Neither?
Thanks,
Mike
Mike7143 said:
If I have the Verizon DE Moto X, do I need to be stock (no root) and re-locked bootloader to get software updates? Or just one or the other? Neither?
Thanks,
Mike
Click to expand...
Click to collapse
You need stock /system partition and stock recovery. It doesn't matter whether the bootloader is locked or unlocked.
Mike7143 said:
If I have the Verizon DE Moto X, do I need to be stock (no root) and re-locked bootloader to get software updates? Or just one or the other? Neither?
Thanks,
Mike
Click to expand...
Click to collapse
To install? or to be notified and receive the update?
To receive the update you'll need to be running the "stock" Verizon firmware, rooted/unrooted and bootloader locked/unlocked doesn't matter.
For it to install successfully, to expand on what kbluhm posted...
Keep in mind that usually OTA updates will look for certain files to be present on your phone and verify their size and check sums (MD5 or the like) before the OTA update will install. If files are missing or changed, the ota update will fail. That is why "stock /system" is required.
And "stock recovery" is needed because when the phone reboots to install the update, it tries to boot to stock recovery and run the install script. The 3rd party recoveries don't seem to work, or have errors, when installing the OTA update zips.
If you've rooted with SlapMyMoto, RockMyMoto, or thel like, you may have other issues to deal with in order to take any OTA updates since those processes can touch other files/partitions on the phone which will cause problems with the OTA Updates.
So in order to install the update I need to re-flash the stock recovery over TWRP, correct? How do I go about doing this?
Ah okay, thanks guys. What a hassle. I'm unlocked and using TWRP, flashed a new boot logo, and am rooted. Probably just easiest to just SBF back to stock and re-do everything.
Thanks!
You could grab the factory image from Motorola and flash only system and recovery using fastboot. That is my plan. You can find the zip file on Motorola's site or there is a topic here on XDA.
Sent from my XT1060 using Tapatalk
guitarbedlam said:
So in order to install the update I need to re-flash the stock recovery over TWRP, correct? How do I go about doing this?
Click to expand...
Click to collapse
Mike7143 said:
Ah okay, thanks guys. What a hassle. I'm unlocked and using TWRP, flashed a new boot logo, and am rooted. Probably just easiest to just SBF back to stock and re-do everything.
Thanks!
Click to expand...
Click to collapse
There are several threads about using Fastboot to flash recovery or parts of the rom rather than having to use RSDLite and flash the SBF of everything..
Example: see option 2 in -> http://forum.xda-developers.com/showthread.php?t=2536735
KidJoe said:
There are several threads about using Fastboot to flash recovery or parts of the rom rather than having to use RSDLite and flash the SBF of everything..
Example: see option 2 in -> http://forum.xda-developers.com/showthread.php?t=2536735
Click to expand...
Click to collapse
Thus, all I'd have to flash (I'm stock unlocked rooted) is the recovery and I'd be good to install the update. Then install the custom recovery and install the superuser zip. and BAM. But first I need the whole 4.4.2 update thing...
guitarbedlam said:
Thus, all I'd have to flash (I'm stock unlocked rooted) is the recovery and I'd be good to install the update. Then install the custom recovery and install the superuser zip. and BAM. But first I need the whole 4.4.2 update thing...
Click to expand...
Click to collapse
Sure, we need the 4.4.2 update.
And as long as you didn't delete any stock apps/apk's, freeze them with Titanium Backup or something similar, or rename them manually (and forgot to rename them back)... then yes.. just flash stock recovery, take update, flash TWRP and use SuperSU to re-root.
KidJoe said:
Sure, we need the 4.4.2 update.
And as long as you didn't delete any stock apps/apk's, freeze them with Titanium Backup or something similar, or rename them manually (and forgot to rename them back)... then yes.. just flash stock recovery, take update, flash TWRP and use SuperSU to re-root.
Click to expand...
Click to collapse
You can freeze them all you want and leave them frozen. They are still there, untouched, waiting to be checked/verified against and patched/updated. Once you obtain root again and grant it to Titanium Backup it will be re-frozen.
You just can't delete, rename or swap out.....frozen apps are still right there as normal.
tcrews said:
You can freeze them all you want and leave them frozen. They are still there, untouched, waiting to be checked/verified against and patched/updated. Once you obtain root again and grant it to Titanium Backup it will be re-frozen.
You just can't delete, rename or swap out.....frozen apps are still right there as normal.
Click to expand...
Click to collapse
Interesting. One of the issues reported with the Kit Kat update was the OTA failing due to apps frozen with Titanium Backup. I only "disable" via the stock app manager, so I haven't had a problem.
Most likely those with failures had modified/deleted/renamed something else that was causing the issues and blaming it on the frozen apps. I have updated every device I've had with frozen apps. Freezing, at least in Titanium Backup, tells the OS the app is not available. In recovery, the OS is not loaded and knows nothing about frozen apps. Titanium doesn't touch the actual files so they are still present to be patched by the OTA.
Sent from my Nexus 10
HI there,
I have a rooted HTC One M7 Stock ROM hboot 1.57 S-ON and now I got the following update:
Software update: 6.14.111.2 (659.71 MB)
System improvements
-Android 4.4.3
-OpenSSL security improvement
Application updates
-Camera
-Gallery
-HTC Sync Manager
My question is, how can I apply the update? I already tried but since I have twrp as recovery it didn't go through. Is there a way of applying the update without losing root and my current configuration (contacts, apps, SMSs, etc)? Should I try to get S-OFF first? (I already tried to no avail like two months ago)
What is the best option to get it working with the latest software version? Sorry if my questions seem a bit too noob. I already tried looking for a similar thread.
braistorms said:
HI there,
I have a rooted HTC One M7 Stock ROM hboot 1.57 S-ON and now I got the following update:
Software update: 6.14.111.2 (659.71 MB)
System improvements
-Android 4.4.3
-OpenSSL security improvement
Application updates
-Camera
-Gallery
-HTC Sync Manager
My question is, how can I apply the update? I already tried but since I have twrp as recovery it didn't go through. Is there a way of applying the update without losing root and my current configuration (contacts, apps, SMSs, etc)? Should I try to get S-OFF first? (I already tried to no avail like two months ago)
What is the best option to get it working with the latest software version? Sorry if my questions seem a bit too noob. I already tried looking for a similar thread.
Click to expand...
Click to collapse
You must be 100% stock for ota updates, stock recovery and stock rom (untouched /system and /data/preload files). /data/preload is wiped when unlocking bootloader.
alray said:
You must be 100% stock for ota updates, stock recovery and stock rom (untouched /system and /data/preload files). /data/preload is wiped when unlocking bootloader.
Click to expand...
Click to collapse
Thanks alray for your answer. Does it mean no way I'm going to get the update working (Since I unlocked the bootloader, using htcdev method)? Or did I misunderstood you? If so, is there any other way I can get the same software?
braistorms said:
Thanks alray for your answer. Does it mean no way I'm going to get the update working (Since I unlocked the bootloader, using htcdev method)? Or did I misunderstood you? If so, is there any other way I can get the same software?
Click to expand...
Click to collapse
you first need to flash your stock recovery back and then the content of /data/preload if you can find it for your version. Otherwise you will need to restore your phone back to stock or to use custom roms.
alray said:
you first need to flash your stock recovery back and then the content of /data/preload if you can find it for your version. Otherwise you will need to restore your phone back to stock or to use custom roms.
Click to expand...
Click to collapse
Thanks again alray, very much. So you mean, if I manage to get the /data/preload and stock recovery working and run the OTA,
Will I lose root access?
Will I lose my actual configuration?
Will I be able to get everything as it is now if I have a nandroid backup?
Thanks again!
braistorms said:
Thanks again alray, very much. So you mean, if I manage to get the /data/preload and stock recovery working and run the OTA,
Click to expand...
Click to collapse
Yes you should be able to run the OTA updates if you have stock recovery for your version and the content of /data/preload for your version. Best way to know is to flash you stock recovery back and try the ota. If the ota fails, enter the stock recovery menu and you'll see why the ota installation aborted (which file is missing)
Will I lose root access?
Click to expand...
Click to collapse
Probably like for every ota updates, re-root after installation.
Will I lose my actual configuration?
Click to expand...
Click to collapse
You should not, but better to backup everything before proceeding.
Will I be able to get everything as it is now if I have a nandroid backup?
Click to expand...
Click to collapse
If you have a backup and restore it, it will restore your phone to the same state it was when you did that backup. (data, system and kernel)
Am trying to go from Rooted Stock TMOUS M7 to Lollipop
I restored what I thought to be the stock recovery, but after downloading and applying the OTA, system came back with some variation of "Package expects build fingerprint xxxx." I read elsewhere that one should download the OTA and unzip the recovery.img, and flash that (which I did).
When I try to apply the OTA after that I get the following in recovery...
script aborted: "/system/priv-app/MyTask.apk" has unexpected contents. E:Error in /data/media/0/Download/OTA_M7....
What is a method that I can use to flash the OTA without completely wiping?
For OTA match needed
Firmware version
CID
MID
Stock recovery
System files intact unmodified
Data/preload intact
Ota checks sha-1 sign of system files that should match
You need restore original files
It will big mess
Make nandroid backup
Make titanium backup
Install ruu or stock Rom reset zip or stock Rom nandroid backup flash stock Recovery flash ota
No matter what I did, including a complete wipe, I wasn't able to apply this update and I eventually gave up. I tried relocking the device too.
I've since installed InsertCoin w/5.02 and it was pretty painless.
I had been clinging to stock because I wanted to preserve WiFi calling (I'm on TMOUS), but good news is that InsertCoin does that...
kendoori said:
No matter what I did, including a complete wipe, I wasn't able to apply this update and I eventually gave up. I tried relocking the device too.
I've since installed InsertCoin w/5.02 and it was pretty painless.
I had been clinging to stock because I wanted to preserve WiFi calling (I'm on TMOUS), but good news is that InsertCoin does that...
Click to expand...
Click to collapse
latest T-Mo full RUU is on the HTC site, soz, ive been away for a couple of hours, you could of just downloiaded that and run it, bookmark for returning to full stock for future updates, use the manual instructions on this page, download at the bottom: http://www.htc.com/us/support/htc-one-t-mobile/news/
So guys, If i root right now phone, and then Full Unroot, will i get OTA updates ?
Xhemal1325 said:
So guys, If i root right now phone, and then Full Unroot, will i get OTA updates ?
Click to expand...
Click to collapse
Root (su) by it's self does not stop you from getting OTA updates
changed system files / missing (data/preload) files and custom recovery are what stop you from getting OTA updates
a rooted phone will update fine / you just loose root
clsA said:
Root (su) by it's self does not stop you from getting OTA updates
changed system files / missing (data/preload) files and custom recovery are what stop you from getting OTA updates
a rooted phone will update fine / you just loose root
Click to expand...
Click to collapse
ok, but does the root change the system files,or something, im trying to install TWRP recovery, root, and then flash again stock recovery ? or meaby try to root with towelroot ?, but i dont thing towelroot, will work with 5.0 :/
Xhemal1325 said:
ok, but does the root change the system files,or something, im trying to install TWRP recovery, root, and then flash again stock recovery ? or meaby try to root with towelroot ?
Click to expand...
Click to collapse
when you unlocked the bootloader you already lost some system files (data/preload)
depending on your phone model, their are already stock rom backups you can install along with stock recovery to take OTA updates
you get these stock backups by flashing a RUU, with s-off you don't need to lock / unlock the bootloader so all the system files are intact
clsA said:
when you unlocked the bootloader you already lost some system files (data/preload)
depending on your phone model, their are already stock rom backups you can install along with stock recovery to take OTA updates
you get these stock backups by flashing a RUU, with s-off you don't need to lock / unlock the bootloader so all the system files are intact
Click to expand...
Click to collapse
but as i know unlcoking bootloader, do not stop OTAs, Its a bit diffiult to find RU, for my phone model, but however ,i just wanted to know, if i install TWRP, then root, then flash again stock recovery, will i be able to get OTA again ?
or instaling TWRP, i just break OTA Updates ?
Xhemal1325 said:
but as i know unlcoking bootloader, do not stop OTAs, Its a bit diffiult to find RU, for my phone model, but however ,i just wanted to know, if i install TWRP, then root, then flash again stock recovery, will i be able to get OTA again ?
or instaling TWRP, i just break OTA Updates ?
Click to expand...
Click to collapse
yes if you still have the files from unlocking the bootloader it will work
clsA said:
yes if you still have the files from unlocking the bootloader it will work
Click to expand...
Click to collapse
nah i dont have any file, but does unlcoking bootloader stops OTA ?
what about if i relock bootloader, will that work ?
Xhemal1325 said:
nah i dont have any file, but does unlcoking bootloader stops OTA ?
what about if i relock bootloader, will that work ?
Click to expand...
Click to collapse
(...)
The second problem of unlocked bootlader is even more serious, but so far it affects only 2 devices: HTC One X+ and HTC One. Those who used htcdev.com before probably noticed, that unlocking bootloader wipes user data, including content of virtual SD card (because virtual SD card = /data/media).
This is no surprise, because every user is warned about it and have a chance to step back. As long as all applications coming with stock ROM are stored on /system partition, there are no side effects. But for some very strange reason in HTC One X+ and HTC One, some of the stock applications like Flashlight, Calculator, Ringtone-trimmer, PDF Viewer, Teeter, Sound Recorder and more, are stored on /data partition instead. Result? After unlocking bootloader with official HTC tool you end up without having some of the basic HTC applications like Calculator or Flashlight, because /data partition (as mentioned above) has been wiped. System partition on HTC One is almost 2 GB big. Not enough to include few more .apk files?
What is more, missing stock applications on /data partition makes your device not capable to receive any OTA updates from HTC. Why? Because every OTA update checks MD5 checksum of every file that originally came with your device. So even if you didn't flash any custom ROM and your /system partition is unmodified, you won't be able to install OTA update.
This is an example of updater-script part from OTA:
assert(apply_patch_check("/data/preload/Calculator.apk","85aa7b00ec97ffe7179739c8815bf102c4f8666e","7055f0376e6b56be6414fdf8495b82db7fd38564")||apply_patch_check("/data/preload/Calculator.apk.uninstall","85aa7b00ec97ffe7179739c8815bf102c4f8666e","7055f0376e6b56be6414fdf8495b82db7fd38564"));
Once assert will fail, OTA update will cancel the installation process. I think every user should be warned, that unlocking bootloader results in no longer OTA updates support.
Click to expand...
Click to collapse
http://android-revolution-hd.blogspot.ca/2013/03/negative-effects-of-unlocked-bootloader.html
The bootloader status doesn't matter, you can be locked/unlocked/relocked and the ota will work fine but you must restore all the content of /data/preload for ota update to install
B) the OTA updater-script
you need to be on stock recovery, custom recoveries will not work!
what will it check:
1- the ROM fingerprint, CID, and MID
2- if you pass those, the OTA will check the actual system files (thousands of them) using SHA-1 hash to confirm they are as expected. Why? because OTA is just a patch (diff) between two versions, so in order to patch a file (as opposed to replacing it), it has to be an exact match.... if even 1 out of those thousands of files is not as expected, the OTA will not work. ---> stock recovery will change to red triangle.
Note: this also usually includes the /data/preload folder which gets deleted when using HTCdev unlock.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=52894276&postcount=9
alray said:
http://android-revolution-hd.blogspot.ca/2013/03/negative-effects-of-unlocked-bootloader.html
The bootloader status doesn't matter, you can be locked/unlocked/relocked and the ota will work fine but you must restore all the content of /data/preload for ota update to install
http://forum.xda-developers.com/showpost.php?p=52894276&postcount=9
Click to expand...
Click to collapse
ok sir thank you for your time, but when i unlocked bootloader, yes evrything wiped, but i havant lose any those apk, flashlight, calculator, are there, nothing is missing !
as far as i understood, by unlocking bootloader im not able to get OTA anymore ? is that right ?
Xhemal1325 said:
ok sir thank you for your time, but when i unlocked bootloader, yes evrything wiped, but i havant lose any those apk, flashlight, calculator, are there, nothing is missing !
as far as i understood, by unlocking bootloader im not able to get OTA anymore ? is that right ?
Click to expand...
Click to collapse
If you have 100% stock /system, /data/preload and stock recovery you will able to install ota update, Bootloader status doesn't matters, only the files that are deleted when unlocking it the first using htcdev.com:
I'm being lazy here, sorry ,but I did promise to post something
A) when do you receive and OTA notification:
1- the ROM fingerprint, CID, and MID must match (if) available OTA
2- does anything else matter (root, kernel, modifications, S-On/S-Off, etc., even recovery) -> NO, but they may below
B) the OTA updater-script
you need to be on stock recovery, custom recoveries will not work!
what will it check:
1- the ROM fingerprint, CID, and MID
2- if you pass those, the OTA will check the actual system files (thousands of them) using SHA-1 hash to confirm they are as expected. Why? because OTA is just a patch (diff) between two versions, so in order to patch a file (as opposed to replacing it), it has to be an exact match.... if even 1 out of those thousands of files is not as expected, the OTA will not work. ---> stock recovery will change to red triangle.
Note: this also usually includes the /data/preload folder which gets deleted when using HTCdev unlock.
what will it do if the above are OK:
* the OTA will patch the existing files
* delete any files no longer part of the update
* install any new files that come with the update
* and finally update the firmware (hboot, recovery, kernel, thouchscreen drivers, bootsplash, etc.) <- note, since the OTA is an update the firmware.zip will only contain the files that need to be updated, so for example, touchscreen drivers are not included in every OTA, only when necessary.
and to the big question, what will interfere with successful OTA:
any modification to the files the OTA checks (in step 2 above), so:
- does a custom kernel matter (boot.img) -> technically no, but custom kernels may also overwrite certain system files, so in practice yes they may interfere if some stock system file was changed.... not because boot.img is custom, but because the files in /system which got replaced. (so flashing back a stock boot.img will not solve this!!)
- does root matter -> same as above, if the root package modifies any original files then yes, otherwise no
- unlocked bootloader -> No, doesn't matter
- S-On/S-Off -> No, doesn't matter
Click to expand...
Click to collapse
So if you still have all files in /data/preload its okay even if your bootloader is unlocked.
How to get stock Rom back up for my htc desire 816 dual SIM (a5_DUG)
Bcz I want ota updates from htc
arun2255 said:
How to get stock Rom back up for my htc desire 816 dual SIM (a5_DUG)
Bcz I want ota updates from htc
Click to expand...
Click to collapse
Wrong forum. Ask on your device forum. This is for M7 only
Hello,
Is it possible to keep root and have original bootlader/recovery reflashed after unlock?
So I can receive ota without having to worry or would even su cause problems for ota?
Sent from my HTC One using XDA Free mobile app
micnolmad said:
Hello,
Is it possible to keep root and have original bootlader/recovery reflashed after unlock?
So I can receive ota without having to worry or would even su cause problems for ota?
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
Root will not prevent ota update to install
You can safely relfash stock recovery after you have rooted the phone.
BUT
Unlocking the bootloader also wipe /data/preload folder (and its content). Everything in this folder must be restored to be able to install ota update. back it up first, then unlock bootloader, flash twrp recovery, root, flash stock recovery, restore /data/preload and set permission to folder and files.
After installing an ota update you'll need to root again (relfash twrp, root and relfash stock recovery)
Any modification to /system files will prevent ota update to install.
Thanks.. It is so annoying that a customer has to go though this must trouble simply to get the most out of his device. I am really starting to dislike otas...
Sent from my HTC One using XDA Free mobile app