[Q] Factory Image/Root Questions - Nexus 10 Q&A, Help & Troubleshooting

Hi, I have a few questions about the impending update to Android 4.3. I would like to factory image my tablet to 4.3 when it comes out, and I was wondering if I should I use a toolkit, or just do it myself? And then, what/how should I proceed, in terms of recovery and root? What I mean by that is with the open-source Superuser built into most ROMs, how does that affect su, BusyBox, etc. I'd rather not have SuperSu AND the baked-in Superuser if I don't have to. I could just use a toolkit, but I mostly understand the commands, and would rather not bother with toolkit updates/unforeseen issues when I can just enter the commands myself. Currently I think it's factory image, recovery, root, ROM, profit, correct? Or is there a better, or even correct(if I'm wrong) way to do this? Finally, I'm using Windows 8.1 Preview, so I was wondering if a toolkit/adb drivers will still work? Technically 8.1 IS 8, so there should theoretically be zero issues, but you never know...Anyway, thanks!

Koopa777 said:
Hi, I have a few questions about the impending update to Android 4.3. I would like to factory image my tablet to 4.3 when it comes out, and I was wondering if I should I use a toolkit, or just do it myself? And then, what/how should I proceed, in terms of recovery and root? What I mean by that is with the open-source Superuser built into most ROMs, how does that affect su, BusyBox, etc. I'd rather not have SuperSu AND the baked-in Superuser if I don't have to. I could just use a toolkit, but I mostly understand the commands, and would rather not bother with toolkit updates/unforeseen issues when I can just enter the commands myself. Currently I think it's factory image, recovery, root, ROM, profit, correct? Or is there a better, or even correct(if I'm wrong) way to do this? Finally, I'm using Windows 8.1 Preview, so I was wondering if a toolkit/adb drivers will still work? Technically 8.1 IS 8, so there should theoretically be zero issues, but you never know...Anyway, thanks!
Click to expand...
Click to collapse
Install Voodoo OTA Rootkeeper then run it once to save root. After that you can apply the 4.3 OTA update and use the app to restore root.
Here is a how-to for the app.

3DSammy said:
Install Voodoo OTA Rootkeeper then run it once to save root. After that you can apply the 4.3 OTA update and use the app to restore root.
Here is a how-to for the app.
Click to expand...
Click to collapse
That's what I did for 4.2.2, but that won't help me if I flash the factory image.
Also, I read a while back that if Google changed bootloader versions/drivers or such, that one needed to do the OTA before returning to custom. Is this true for that, as well as if the new Mali drivers are included? Long story short, I won't return to stock if I don't have to. So is there any reason to update officially via Google then return to custom, as opposed to simply flashing a 4.3 custom ROM? Thanks!

Related

Rooting Questions

I have a few naive questions
Do I have to do the OEM unlock to root the device? I would prefer not to wipe it.
Assuming I don't hard brick the device, can I go back to stock for warranty work?
Does rooting the device mean I can't get OTA updates from Google? For now I just want to run the stock kernel/rom and get updates. I just want root to run titanium and certain other apps that require root.
I've seen a thread that suggest that the play store (market) doesn't work on rooted devices. Is that true?
sray1 said:
I have a few naive questions
Do I have to do the OEM unlock to root the device? I would prefer not to wipe it.
Assuming I don't hard brick the device, can I go back to stock for warranty work?
Does rooting the device mean I can't get OTA updates from Google? For now I just want to run the stock kernel/rom and get updates. I just want root to run titanium and certain other apps that require root.
I've seen a thread that suggest that the play store (market) doesn't work on rooted devices. Is that true?
Click to expand...
Click to collapse
In order to root, you have to unlock the bootloader using the nexus toolkit which unfortunately wipes the device. then you can root it
Yes you can go completely back to stock and relock the bootloader
No, you cant get updates without losing root. so basically you update and then reroot, it takes 5 seconds.
The play store works perfectly fine on rooted devices
jombo2323 said:
No, you cant get updates without losing root. so basically you update and then reroot, it takes 5 seconds.
Click to expand...
Click to collapse
So I would get the same OTA update notice and just lose root by telling it to ahead?
However, the bootloader would remain unlocked so the reroot would not require a wipe. Also installing CWM recover would not interfere with any of that.
Is that all correct?
sray1 said:
So I would get the same OTA update notice and just lose root by telling it to ahead?
However, the bootloader would remain unlocked so the reroot would not require a wipe. Also installing CWM recover would not interfere with any of that.
Is that all correct?
Click to expand...
Click to collapse
i cant remember if cwm interferes or not. if your just stock then dont worry about it.
yes, it does not require a wipe, just a re root.
Another thing. I haven't done anything about the $25 google credit. Does doing the wipe effect that?
Installing a custom recovery WILL prevent you from receiving OTA updates. The $25 credit is applied to your account and isn't affected by anything you do with your tablet afterward.
sray1 said:
So I would get the same OTA update notice and just lose root by telling it to ahead?
However, the bootloader would remain unlocked so the reroot would not require a wipe. Also installing CWM recover would not interfere with any of that.
Is that all correct?
Click to expand...
Click to collapse
There are some apps out that may retain root. OTA RootKeeper in the play store has one Nexus 7 reviewer that claims he retained root from 4.1.0 to 4.1.1
But you are correct, even if you lose root reflashing is a trivial matter.
WugFresh has a toolkit that can do all this for you, including unlocking/rooting but NOT permanently installing CWM if you so desire.
Or, if you prefer a hands-on and more educational approach take a look at my guide here: http://forum.xda-developers.com/showthread.php?t=1816048
jombo2323 said:
In order to root, you have to unlock the bootloader using the nexus toolkit which unfortunately wipes the device. then you can root it
Yes you can go completely back to stock and relock the bootloader
No, you cant get updates without losing root. so basically you update and then reroot, it takes 5 seconds.
The play store works perfectly fine on rooted devices
Click to expand...
Click to collapse
you do not have to use any toolkit. as a fact, toolkits take longer to root the device. this is a nexus device, toolkits are discouraged. all you need to do is fastboot oem unlock, flash your custom recovery via fastboot, then either flash su binaries or your custom rom in recovery, and reboot. that is all. and yes, unlocking your bootloader will wipe the device. thats why its best to do it before you get to comfortable on it.

Will I have OTA updates with Clockwork mod?

Sorry if this is redundant, but I tried to find an answer searching. apologies in advance if this is a repeat question.
I've rooted and run custom roms on other android devices in the past, but these were devices that never received OTA updates from the carrier/manufacturers. With that said, I have one single question. If I root my nexus 4 and run clockwork mod recovery, will I still receive OTA updates? I don't want to run a custom rom at this time, but I wouldn't mind doing so in the future. I also want the ability to run titanium backup and adjust the color profile of my screen. Part of the appeal of the nexus 4 is receiving updates directly from google and I would like to keep this feature. Any insight would be appreciated.
I run a mac, so I was planning on running this instruction set as there isn't a toolkit for macs (at least that I know of).
http://www.androidrootz.com/2012/11/how-to-root-nexus-4-on-mac.html
You will receive the update but it will fail at installation because of the custom recovery. You can however, flash the .zip file through recovery to successfully update.
If I simply root my device (keep the bootloader locked and do not install clockwork mod), will I receive OTA updates? I'm a big fan of getting OTA'. I believe I only need root access to run titanium mod and screen calibration tools.
You need to unlock your bootloader to fastboot boot a custom recovery to flash the SU binaries.
If you unlock your bootloader and just boot the custom recovery (not flash it) to gain root, you will get the OTA. It will only install successfully if you keep it stock and don't change the kernel, system UI, or anything else.
I decided to throw caution to the wind. I'm going all in and running clockwork mod and so forth. Very simple to complete. I don't know why I why I was so concerned about the OTA updates.
misfits9095 said:
I decided to throw caution to the wind. I'm going all in and running clockwork mod and so forth. Very simple to complete. I don't know why I why I was so concerned about the OTA updates.
Click to expand...
Click to collapse
yah cause at the end of the day... the ota update will be on this site the day of or the day after google releases it. like it was said above, just download and flash it.
El Daddy said:
You will receive the update but it will fail at installation because of the custom recovery. You can however, flash the .zip file through recovery to successfully update.
Click to expand...
Click to collapse
If it's anything like the Nexus 7 or Galaxy Nexus this isn't true. On those device it will reboot to the recovery and fail initially but it gives you the option to start the installation. Once you do that it installs successfully and then CWMR asks if you want to keep root, then asks if you want to restore permanent recovery.
itznfb said:
If it's anything like the Nexus 7 or Galaxy Nexus this isn't true. On those device it will reboot to the recovery and fail initially but it gives you the option to start the installation. Once you do that it installs successfully and then CWMR asks if you want to keep root, then asks if you want to restore permanent recovery.
Click to expand...
Click to collapse
This must be a new feature of CWR. It wasn't like that in the past.
Sent from my Nexus 4
El Daddy said:
This must be a new feature of CWR. It wasn't like that in the past.
Sent from my Nexus 4
Click to expand...
Click to collapse
It could be new. I haven't owned Nexus devices for a long period of time. Running v6+ on all of them.
Edit: I didn't see you were talking about clockwork mod recovery here! Sorry for not reading!
Sent from my Nexus 4, powered by CyanogenMod via XDA Developers app.

adb backup w/out root

Anyone tried and confirmed working the old adb backup method that doesn't require root?
http://forum.xda-developers.com/showthread.php?t=1420351
Was hoping to use this method to backup before unlocking. I got into the usual problem of not wanting to unlock right away (in case issues etc.) then once I was comfortable with the unit too lazy to want to set up all up again from scratch....
Use helium. Backup each app individually. There are some apps that will Bork restore.
Sent from my Nexus 7 using XDA Premium HD app
bummer screw that for a joke then LOL
it will be awhile before I unlock as I'm waiting for the next OTA to deal with the multitouch/gps etc. (hopefully!) I'm hoping it includes some firmware fixes too that we may not be able to flash like a normal ROM.
wintermute000 said:
it will be awhile before I unlock as I'm waiting for the next OTA to deal with the multitouch/gps etc. (hopefully!) I'm hoping it includes some firmware fixes too that we may not be able to flash like a normal ROM.
Click to expand...
Click to collapse
Unlocking doesn't prevent you from getting the OTAs.
If you want root to be compatible with OTAs, see this post:
http://forum.xda-developers.com/showthread.php?p=44597339#post44597339
yeah I know that, I know I can reflash stock recovery and unroot etc. just too lazy to be bothered setting up all my apps losing saves etc. at this point short of mucking around with carbon. TBH if the multitouch issue is fixed or at least toned down there's not a lot of incentive to root for me aside from adblock.
I've got a hunch that the next OTA will involve firmware etc. so just reluctant to tinker until the stock base is 100%. Its not directly applicable as its a Nexus but in the past some other components e.g. HTC hboot, Moto (forgot the name) would get in the way of OTA if you unlocked the BL early.
wintermute000 said:
yeah I know that, I know I can reflash stock recovery and unroot etc.
Click to expand...
Click to collapse
My point is you don't need to unroot nor flash stock recovery (though it is safest to flash stock recovery)
The JSS15J OTA update will flash fine with root and twrp with just the small fix I referenced.
wintermute000 said:
I've got a hunch that the next OTA will involve firmware etc. so just reluctant to tinker until the stock base is 100%. Its not directly applicable as its a Nexus but in the past some other components e.g. HTC hboot, Moto (forgot the name) would get in the way of OTA if you unlocked the BL early.
Click to expand...
Click to collapse
JSS15J already included firmware updates, it updated aboot, sbl, tz, and rpm. Bootloader went from 3.05 to 3.14 and it flashed ok with root and twrp (though again, personally I suggest using stock recovery)
Also you don't need to install twrp persistently to root. I just boot into twrp one-time by using fastboot boot twrp.img to install the root files and leave stock recovery on the tablet.
With the one simple fix referenced above, you can have stock recovery, root, and be totally compatible with future OTAs, no need to revert anything. Of course after the OTA is successful, just re-run the SuperSU zip and the fix to set yourself up with root and await the next OTA.
On this nexus, you need to unlock even to do the official factory restore google published. The official images don't come with signatures.
To answer the question re adb bu, yes it works just fine.
Sent from my Nexus 7 using Tapatalk 4

[Q] Do I have to unroot 4.3 to get the OTA?

I have a rooted (no CWM changed) and unlocked Nexus 4 with JB 4.3.
I did not get the OTA yet and I wondered if it is because the phone is rooted. In addition, I read some problems with people who tried to update to 4.4 with rooted phones and are getting infinite bootloops.
Do I have to unroot my 4.3 for getting the OTA and achieving a successful installation?
Thank you all on advance
gosku26 said:
I have a rooted (no CWM changed) and unlocked Nexus 4 with JB 4.3.
I did not get the OTA yet and I wondered if it is because the phone is rooted. In addition, I read some problems with people who tried to update to 4.4 with rooted phones and are getting infinite bootloops.
Do I have to unroot my 4.3 for getting the OTA and achieving a successful installation?
Thank you all on advance
Click to expand...
Click to collapse
Why do you need OTA update when you can get the stock ROM in flashable zip file? All features are remain the same for stock ROM. Search and download it in the Development sections.
gosku26 said:
I have a rooted (no CWM changed) and unlocked Nexus 4 with JB 4.3.
I did not get the OTA yet and I wondered if it is because the phone is rooted. In addition, I read some problems with people who tried to update to 4.4 with rooted phones and are getting infinite bootloops.
Do I have to unroot my 4.3 for getting the OTA and achieving a successful installation?
Thank you all on advance
Click to expand...
Click to collapse
I am rooted and received the OTA notification yesterday. You 'SHOULD' be able to install if ALL you did was root. However, if you applied any mods that made changes to the system, the OTA will fail.
taodan said:
Why do you need OTA update when you can get the stock ROM in flashable zip file? All features are remain the same for stock ROM. Search and download it in the Development sections.
Click to expand...
Click to collapse
This is your best bet if you want to run 4.4. You'll need to install a custom recovery to flash the zip files. All the files and instructions are here:
http://forum.xda-developers.com/showthread.php?t=2527806
gbarayah said:
I am rooted and received the OTA notification yesterday. You 'SHOULD' be able to install if ALL you did was root. However, if you applied any mods that made changes to the system, the OTA will fail.
This is your best bet if you want to run 4.4. You'll need to install a custom recovery to flash the zip files. All the files and instructions are here:
http://forum.xda-developers.com/showthread.php?t=2527806
Click to expand...
Click to collapse
Will flashing the stock 4.4 wipe my data, or it is like getting the OTA, that I keep my settings...?
gosku26 said:
Will flashing the stock 4.4 wipe my data, or it is like getting the OTA, that I keep my settings...?
Click to expand...
Click to collapse
Did you read the linked post?
First step after installing custom recovery is to wipe data/factory reset, so yes, you will lose your settings.
taodan said:
Why do you need OTA update when you can get the stock ROM in flashable zip file? All features are remain the same for stock ROM. Search and download it in the Development sections.
Click to expand...
Click to collapse
I would like to keep my settings if it's possible.
gbarayah said:
Did you read the linked post?
First step after installing custom recovery is to wipe data/factory reset, so yes, you will lose your settings.
Click to expand...
Click to collapse
What I would like is to update to kitkat without losing my data.
I have the bootloader unlocked and the phone rooted, but when I go to recovery mode I get "No command" screen (is that normal?).
I was thinking of getting the phone unrooted, then update through the OTA, then root it again, just for making sure I don't break anything, but the "No command" screen does not look very good...
On the other hand, Would I lose my data if I "unroot" the phone?
gosku26 said:
What I would like is to update to kitkat without losing my data.
I have the bootloader unlocked and the phone rooted, but when I go to recovery mode I get "No command" screen (is that normal?).
I was thinking of getting the phone unrooted, then update through the OTA, then root it again, just for making sure I don't break anything, but the "No command" screen does not look very good...
On the other hand, Would I lose my data if I "unroot" the phone?
Click to expand...
Click to collapse
To unroot, all you need to do is go into SuperSu, disable root, uninstall the app and then reboot the phone.
If all you have done is root the phone, and didn't modify anything else, then the OTA update 'SHOULD' install without a problem.
You can go to Android Police and download the OTA files and flash them via ADB, or you can just wait for the OTA to be pushed to your device.
If you decide to do it the manual way, there is one additional step you must take to ensure to keep your data I believe.
gbarayah said:
To unroot, all you need to do is go into SuperSu, disable root, uninstall the app and then reboot the phone.
If all you have done is root the phone, and didn't modify anything else, then the OTA update 'SHOULD' install without a problem.
You can go to Android Police and download the OTA files and flash them via ADB, or you can just wait for the OTA to be pushed to your device.
If you decide to do it the manual way, there is one additional step you must take to ensure to keep your data I believe.
Click to expand...
Click to collapse
Thank you for your help gbarayah, I really appreciate it.
One last thing: I'm not pretty sure the only thing I modified was the rooting. I did not install any zip to modify my stock version, but there is something weird. I will explain:
At first I had 4.2.2, then I rooted and installed CWM. When 4.3 was released I got the OTA update correctly but I lost the root, so I rooted it again, this time without CWM.
Is the "No command" screen what is supposed to appear when I go to the recovery mode from fastboot menu? Or I would get a default recovery mode program?
If everything is right I will unroot for getting the OTA, but if not, I'm afraid I will have to flash CWM and the stock version, loosing my settings...
EDIT: Ok, I've just realized to get into stock system recovery I have to press VolUp and Power buttons once I'm in the 'No Command' screen, so I'm pretty sure I don't have problems installing the OTA update. Thank You!!!
gosku26 said:
Thank you for your help gbarayah, I really appreciate it.
One last thing: I'm not pretty sure the only thing I modified was the rooting. I did not install any zip to modify my stock version, but there is something weird. I will explain:
At first I had 4.2.2, then I rooted and installed CWM. When 4.3 was released I got the OTA update correctly but I lost the root, so I rooted it again, this time without CWM.
Is the "No command" screen what is supposed to appear when I go to the recovery mode from fastboot menu? Or I would get a default recovery mode program?
If everything is right I will unroot for getting the OTA, but if not, I'm afraid I will have to flash CWM and the stock version, loosing my settings...
EDIT: Ok, I've just realized to get into stock system recovery I have to press VolUp and Power buttons once I'm in the 'No Command' screen, so I'm pretty sure I don't have problems installing the OTA update. Thank You!!!
Click to expand...
Click to collapse
Glad I could help. In the future, as long as you don't modify the system by flashing any modifications, you should be able to get the OTA update to install. Root doesn't affect this, and if you're worried about it, you can always uninstall it.
I opted to update using the stock zip files that were posted above and it worked just fine for me.

Can't update my Moto G5 Plus after rooting. How to unroot it easily?

Recently I rooted my G5 plus and it worked really well for me. I didn't use SuperSU, instead, have Magisk installed. Unfortunately, now my phone isn't updating. What should I do to unroot it without much problem and without losing any data on my phone? And will it update if I unroot it?
It's a little more complicated than that... to bad there isn't a guide to doing it here somewhere... Hmmm....
https://forum.xda-developers.com/g5-plus/how-to/guide-complex-ota-update-magisk-rooted-t3688175
acejavelin said:
It's a little more complicated than that... to bad there isn't a guide to doing it here somewhere... Hmmm....
https://forum.xda-developers.com/g5-plus/how-to/guide-complex-ota-update-magisk-rooted-t3688175
Click to expand...
Click to collapse
So like can't I simply unroot my phone and install the updates? Isn't there any easy way of uprooting?
dt.dragonborn said:
So like can't I simply unroot my phone and install the updates? Isn't there any easy way of uprooting?
Click to expand...
Click to collapse
Root is only part of the problem, TWRP is another big one.
OTA updates can only be installed on a purely stock device, the install script will check multiple things to verify the device is unmodified and in the correct state before applying, then it applies changes to specific files or partitions, they must be at a known starting condition before changes can be applied.
So, can you simply "unroot and install updates"? No, you must undo all changes to the device that are system related... Return the recovery, boot, and system partitions to their original state or any update will fail. Unrooting does not undo any changes, adds, or deletions you performed with root access, those actions are permanent.
Isn't there an easy way of unrooting? Sure, Magisk and SuperSU both have methods of removal, but that doesn't gain you what is needed to apply an OTA update.
I provided a link previously, that is what you need to do.
dt.dragonborn said:
Recently I rooted my G5 plus and it worked really well for me. I didn't use SuperSU, instead, have Magisk installed. Unfortunately, now my phone isn't updating. What should I do to unroot it without much problem and without losing any data on my phone? And will it update if I unroot it?
Click to expand...
Click to collapse
Which OTA(s) isn't installing?
Sent from my Moto G Plus (5th Gen) using XDA Labs
cdysthe said:
Which OTA(s) isn't installing?
Click to expand...
Click to collapse
I am not much of a tech guy but the update says
New Version-NPN25.1 37-67
Improved audio in Video Capture
Data traffic improvements
acejavelin said:
Root is only part of the problem, TWRP is another big one.
OTA updates can only be installed on a purely stock device, the install script will check multiple things to verify the device is unmodified and in the correct state before applying, then it applies changes to specific files or partitions, they must be at a known starting condition before changes can be applied.
So, can you simply "unroot and install updates"? No, you must undo all changes to the device that are system related... Return the recovery, boot, and system partitions to their original state or any update will fail. Unrooting does not undo any changes, adds, or deletions you performed with root access, those actions are permanent.
Isn't there an easy way of unrooting? Sure, Magisk and SuperSU both have methods of removal, but that doesn't gain you what is needed to apply an OTA update.
I provided a link previously, that is what you need to do.
Click to expand...
Click to collapse
Thank you for this. I unlocked the bootloader, and installed TWRP and Magisk to gain root. This worked fine. However, I decided I wanted to go back to complete stock yesterday. So I uninstalled Magisk and flashed stock firmware using ADB. My phone is now unrooted, has a locked bootloader, and is running stock firmware which is what I wanted. Once I get the phone to boot, almost everything functions normally. However, it seems as though I now do not have any recovery whatsoever (and I assume that's because I did not specifically replace TWRP with stock recovery). So when I boot my phone, it goes to the bootloader and stops. If I then hit "start" on the bootloader, the ROM loads up normally after that. f that were the only issue, I could live with it. But not being able to get to recovery is concerning. And I am not able to get OTAs at the moment.
So, I'll check the other thread you mentioned. I assume I will need to flash stock recovery in order to get where I need to be.
Thank you for the post!

Categories

Resources