Related
Does anyone know how to reinstall a nandroid backup without fastboot ?
I had the engineered boatloader and Jf1.42 all goodies. Now when I boot into recovery I have the stock one. I cannot fastboot the recovery. I there a way to get my phone back to its previous state. This started when I installed the radio, spl then firmware for hakuro 6.0. A no go, then I used recovery to update the dream.. to rc29. Now no root, no fastboot access. Is there another way to install the backups ?
you need to re-root the phone...put on a new recovery image...& flash the engineering SPL again.
then you can fastboot flash boot.img, system.img, & data.img
edit: you'll have to flash the radio as well
I am having the same problem, so I need to reflash the rom the do what?
After getting assert_failed errors since forever on 2.3.2, I finally downgraded my radio to fix them and without even thinking installed 2.3.4 OTA. The install went fine but I lost my root.
Now, I haven't unlocked my bootloader. To root, I have to unlock the bootloader which will wipe my phone clean. To take a nandroid/full backup of phone I need root. So, kinda stuck in a catch-22 here.
I still have ROM Manager installed and when I used backup feature in it, it created a new backup. However I am not sure if its a full phone backup or just the ROM. Is there anyway to verify?
Also, any solution to gain my root back with all my data? I am fine with unlocking the bootloader as long as my data is safe.
Edit:
This just struck my mind. If I modify the update file and put in su binaries repackage it and reinstall it on my phone, would it work? Can I even reinstall an update?
Edit2:
Can I just create my own update.zip containing su binaries, sign it and install it?
dpacmittal said:
Edit2:
Can I just create my own update.zip containing su binaries, sign it and install it?
Click to expand...
Click to collapse
You can create it, of course, but I doubt you could install it with a locked bootloader, since you are unlikely to have the private key google uses to sign its updates.
How much can I back-up without rooting my phone? I'll backup the SD partition. I just want all my application settings (eg; Angry birds data) with all the applications, messages and contacts. Is it possible to back all these up without root?
I have titanium installed, if its any good?
[Guide] Install ClockworkMod Recovery image after updated to 2.3.4 (GRJ22).
I hope this will able to help you
http://forum.xda-developers.com/showthread.php?p=13800735#post13800735
My bootloader is locked, mate. Your method won't work for me. Thanks, anyways
Hi,
I have a rooted Nexus 4 with android 5.0 lollipop build LRX21T.
I have TWRP recovery installed version : v2.8.0.1
The device id rooted via placing the zip file in the device and flashng it via TWRP recovery.
But i am not able to update to android 5.0.1 via google OTA update.
Everytime i try to install the 5.0.1 OTA it goes to TWRP recovery.
I found that the downloaded OTA update file is placed in /cache folder , so i try to update it manually but failed as it shows some update partition error.
"E: error executing updater binary in zip '/cache/e93b********************.signed-occam-LRX22c-from-LRX21T.e93b****.zip"
update partition details.....
I think i am getting this error because the device is rooted.
Can someone guide me how to update my device..and if this because of the rooted device how to unroot without going back to stock.
Thanks in advance....
You can't flash the ota in twrp. You have to be 100% stock recovery, system, kernel, and radio. Flash the stock recovery with fastboot then try the ota.
Sent from my Nexus 9 using XDA Free mobile app
I flashed the stock recovery the OTA update continued in the stock recovery , then it showed a error....and i had to restart the phone ...now the ota update has disappeared with the phone still in android 5.0 ...Can you tell me how to get the OTA update back...?
1)Does the error came because the phone is still rooted ?
2) If so how do i remove the root with returning stock .?
3) also if i root and return to stock will it wipe my phone apps and their data...
Now i got the OTA update downloaded manually on my laptop and and booted into stock recovery to try to sideload the zip it gave me the error
"package expects build fingerprint of google /occam/mako:5.0/LRX21T or google /occam/mako:5.0/LRX22C user release keys; this device has google/occam/mako:4.4/KRT160 user release keys .....
This is weird as i am running android android lollipop 5.0 LRX21T and not android kitkat....
Did you flash mods while rooted?
Sent from my Nexus 4
arkangel72 said:
Did you flash mods while rooted?
Sent from my Nexus 4
Click to expand...
Click to collapse
Tried both...with and without Root....same error....
Try flashing factory image.
The OTA will flash only on the stock recovery it won't work in any modified/custom recovery. So flash stock recovery first then you are good to go.
Edit: You may also try flashing the factory image, u may lose your data while doing that
Head to https://developers.google.com/android/nexus/images and download the latest image, flashing procedure is explained there too.Its not compulsory to lock bootloader afterwards BTW, its personal preference.
sachin.parmar100 said:
The OTA will flash only on the stock recovery it won't work in any modified/custom recovery. So flash stock recovery first then you are good to go.
Edit: You may also try flashing the factory image, u may lose your data while doing that
Head to https://developers.google.com/android/nexus/images and download the latest image, flashing procedure is explained there too.Its not compulsory to lock bootloader afterwards BTW, its personal preference.
Click to expand...
Click to collapse
Actually i dont want to flash stock as i will lose all the data in the process....
Any other way....?
If there is no other way could you please suggest any tool kit which will backup all data including sms ,contact, call logs and all app data and /data/media folder. in one go ...?
use advanced backup from twrp backup menu and select data only to create a nandroid backup of data only
you can also use titanium backup to backup to choose what to backup and restore it afterwards but it will need root again.
sync your contacts with google server
Flah rom in fastboot
Download factory image, flash system, bootloader and recovery manually. You won't lose your data.
You need stock recovery to proceed flashing the OTA, custom recovery won't flash the OTA, i don't think being rooted is the issue Just flash the stock recovery to solve the problem.
sachin.parmar100 said:
You need stock recovery to proceed flashing the OTA, custom recovery won't flash the OTA, i don't think being rooted is the issue Just flash the stock recovery to solve the problem.
Click to expand...
Click to collapse
Rooted IS an issue. You can't be rooted and apply the OTA file, it will fail every time. As a previous poster has said, the phone MUST have stock bootloader, recovery and be not rooted for the stock OTA's to apply. If they see any modification during the process, they abort. It's been discussed many times.
Yaz75 said:
Rooted IS an issue. You can't be rooted and apply the OTA file, it will fail every time. As a previous poster has said, the phone MUST have stock bootloader, recovery and be not rooted for the stock OTA's to apply. If they see any modification during the process, they abort. It's been discussed many times.
Click to expand...
Click to collapse
thanks for pointing out i was so wrong
Just switched on my Moto G 2015 (US Retail, XT1540 2GB) for the first time in a week or two and got an update notification...
April 1 2017 security update, Build Number MPIS24.65-25.1-19 and System Version 24.221.19.osprey_retus_2gb.retus.en.US.retus
Is this news to people, or am I just way behind?
I have the same model, just did check system for updates and the update notification popped up. No notification before checking.
you are just way behind........got this update months back
RijuSarkar said:
you are just way behind........got this update months back
Click to expand...
Click to collapse
But you have something different than a 1540. I believe 1540 was the last to get the January update, while there are other models with 6.01 which the 1540 most likely will never get.
I've never got an update.
Just got mine today, 6/26/17. Also have an XT1540.
So I followed the same instructions here as I did for the last security update to a rooted device. It worked perfectly with the exception of the unlocked boot loader warning. The dark logo I used survived the January security system update, but was lost with this update.
@MrTooPhone
What do you mean by restored data partition I your instructions,I am not getting that.i am on stock not rooted but unlocked bootloader
25vikasp said:
@MrTooPhone
What do you mean by restored data partition I your instructions,I am not getting that.i am on stock not rooted but unlocked bootloader
Click to expand...
Click to collapse
If you are on stock ROM, unrooted, and stock recovery, you should be able to take the OTA upgrade with no issue regardless if your bootloader is locked or not.. I had to restore my unrooted stock ROM prior to accepting the OTA update. Than using TWRP, I restored the data partition from my last saved rooted ROM.
MrTooPhone said:
If you are on stock ROM, unrooted, and stock recovery, you should be able to take the OTA upgrade with no issue regardless if your bootloader is locked or not.. I had to restore my unrooted stock ROM prior to accepting the OTA update. Than using TWRP, I restored the data partition from my last saved rooted ROM.
Click to expand...
Click to collapse
Thanks for reply,i forgot to mention I have twrp installed.in order to update I just restored my non rooted nandroid backup.so currently it is asking me to update so should I proceed and how to take backup for data partition
25vikasp said:
Thanks for reply,i forgot to mention I have twrp installed.in order to update I just restored my non rooted nandroid backup.so currently it is asking me to update so should I proceed and how to take backup for data partition
Click to expand...
Click to collapse
I would not proceed if TWRP is installed. You need the stock recovery installed for the OTA upgrade successfully install. Once stock recovery is installed, you can boot into TWRP and complete all actions as if TWRP was installed. I never installed TWRP.
MrTooPhone said:
I would not proceed if TWRP is installed. You need the stock recovery installed for the OTA upgrade successfully install. Once stock recovery is installed, you can boot into TWRP and complete all actions as if TWRP was installed. I never installed TWRP.
Click to expand...
Click to collapse
Without twrp how u managed to get root access.for installing stock recovery do I have to flash the entire firmware. Above line indicates that our phone can boot into two recoveries correct me if I am wrong
25vikasp said:
Without twrp how u managed to get root access.for installing stock recovery do I have to flash the entire firmware. Above line indicates that our phone can boot into two recoveries correct me if I am wrong
Click to expand...
Click to collapse
That is correct. I still have stock recovery installed, but I use fastboot commands to boot into TWRP recovery.
After connecting the phone to the usb, using Linux, I do the following commands from the same directory where my TWRP img file is located.
Code:
./adb reboot bootloader
sudo ./fastboot boot twrp-osprey-3.1.0-r1.img
This loads TWRP in your phone but does not install it.
From windows I think the commands basically the same without the "./"
25vikasp said:
Without twrp how u managed to get root access.for installing stock recovery do I have to flash the entire firmware. Above line indicates that our phone can boot into two recoveries correct me if I am wrong
Click to expand...
Click to collapse
You can boot TWRP without flashing it to get root.
Hello there, I was told that to update the rom to the latest os. I am suppose to uninstall magisk, with restore image option. Doing this I am suppose to be able to install the rom and reinstall magisk. Yet when I click on restore image it says my stock backup does not exist. Is there a workaround to get this to work so I can install the latest OTA?
Thanks
Looking all over for a solution to this as well. Hopefully somebody gets back to you!
js2shanks said:
Hello there, I was told that to update the rom to the latest os. I am suppose to uninstall magisk, with restore image option. Doing this I am suppose to be able to install the rom and reinstall magisk. Yet when I click on restore image it says my stock backup does not exist. Is there a workaround to get this to work so I can install the latest OTA?
Thanks
Click to expand...
Click to collapse
Do you have stock boot.img u can flash?
If you flashed a magisk patched boot.img then you won't have a backup.
If you flashed magisk through twrp then it must have been deleted. If so just flash magisk and after boot try the restore option.
Deleted
js2shanks said:
Hello there, I was told that to update the rom to the latest os. I am suppose to uninstall magisk, with restore image option. Doing this I am suppose to be able to install the rom and reinstall magisk. Yet when I click on restore image it says my stock backup does not exist. Is there a workaround to get this to work so I can install the latest OTA?
Thanks
Click to expand...
Click to collapse
You probably didn't install root with magisk, so you don't have a backup img.
Install OTA then root again using fastboot to boot temporary on TWRP then flash magisk zip installer. This way you'll have the backup boot.img created for next time
Striatum_bdr said:
You probably didn't install root with magisk, so you don't have a backup img.
Install OTA then root again using fastboot to boot temporary on TWRP then flash magisk zip installer. This way you'll have the backup boot.img created for next time
Click to expand...
Click to collapse
That's what I ended up doing as well. Except I just decided to keep TWRP.
In case anyone doesn't know how to do this..
Booting temporarily into TWRP:
Enter fastboot on your phone
Open command prompt on PC
Type in fastboot boot twrpname.img
That boots you into TWRP. Then flash the OTA.zip, then optionally flash TWRP.zip to keep TWRP on your recovery you have to reboot to to recovery once. Then you can flash the magisk.zip and this will create a stock backup image.
But you can skip flashing TWRP.zip and just do ota.zip then flash magisk.zip, this will still create your stock backup images but not keep TWRP as your recovery.
GuestK00179 said:
That's what I ended up doing as well. Except I just decided to keep TWRP.
In case anyone doesn't know how to do this..
Booting temporarily into TWRP:
Enter fastboot on your phone
Open command prompt on PC
Type in fastboot boot twrpname.img
That boots you into TWRP. Then flash the OTA.zip, then ...
Click to expand...
Click to collapse
No, the fastboot boot command didn't boot to anywhere. I got stuck on LG Logo.
And how am I supposed to flash OTA.zip from TWRP (provided you give me an answer to the problem above)? Is the OTA.zip on any location I can browse with TWRP?
All I want to do is to OTA from v20b to v20c on my rooted device, without losing data and reinstalling everything. So I don't mind needing to re-root, and I don't mind installing TWRP if needed, but hell, this should be easier, it's less than 180Mb update!!!!!
I have magisk but no backup image, and I don't have TWRP, and never succeeded installing it, not even temporarily. I do have access to what should be the stock and magisk images from a Google Drive fellow, but I don't know what to flash, when, how, etc. All tutorials I've googled are useless, and the ones here in xda assumes many things that are NOT obvious to me.
Thanks
---------- Post added at 09:30 PM ---------- Previous post was at 09:24 PM ----------
alangt said:
No, the fastboot boot command didn't boot to anywhere. I got stuck on LG Logo.
And how am I supposed to flash OTA.zip from TWRP (provided you give me an answer to the problem above)? Is the OTA.zip on any location I can browse with TWRP?
All I want to do is to OTA from v20b to v20c on my rooted device, without losing data and reinstalling everything. So I don't mind needing to re-root, and I don't mind installing TWRP if needed, but hell, this should be easier, it's less than 180Mb update!!!!!
I have magisk but no backup image, and I don't have TWRP, and never succeeded installing it, not even temporarily. I do have access to what should be the stock and magisk images from a Google Drive fellow, but I don't know what to flash, when, how, etc. All tutorials I've googled are useless, and the ones here in xda assumes many things that are NOT obvious to me.
Thanks
Click to expand...
Click to collapse
I'm terribly sorry, don't mind my post. I'm on the wrong phone thread (seems to be the only thread that says about the magisk wihout backup).
So sorry!
---------- Post added at 09:30 PM ---------- Previous post was at 09:30 PM ----------
alangt said:
No, the fastboot boot command didn't boot to anywhere. I got stuck on LG Logo.
And how am I supposed to flash OTA.zip from TWRP (provided you give me an answer to the problem above)? Is the OTA.zip on any location I can browse with TWRP?
All I want to do is to OTA from v20b to v20c on my rooted device, without losing data and reinstalling everything. So I don't mind needing to re-root, and I don't mind installing TWRP if needed, but hell, this should be easier, it's less than 180Mb update!!!!!
I have magisk but no backup image, and I don't have TWRP, and never succeeded installing it, not even temporarily. I do have access to what should be the stock and magisk images from a Google Drive fellow, but I don't know what to flash, when, how, etc. All tutorials I've googled are useless, and the ones here in xda assumes many things that are NOT obvious to me.
Thanks
Click to expand...
Click to collapse
I'm terribly sorry, don't mind my post. I'm on the wrong phone thread (seems to be the only thread that says about the magisk wihout backup).
So sorry!