Related
Nandroid is just a script. Rooting is another topic. This is to allow you to backup your data before you root. It's simple, fast and easy.
Download http://www.multiupload.com/K4BZ22SIT5
Clear the data for Google apps, and system components such as Browser, to prevent force closes during restore.
If you skip this step, at the end of the guide clear dalvik, fix permissions, and clear the data for the items that keep closing.
adb push psneuter /data/local/psneuter
adb shell chmod 777 /data/local/psneuter
adb shell /data/local/psneuter
adb shell dd if=/dev/block/mmcblk0p26 of=/sdcard/data.img
Your data is now backed up. Sdcard apps will still be on your sdcard, and cache and dalvik need to be cleared anyway. System apps will be replaced and the settings for them is already included in data. In short, you only really need data.
Root your device. After you have rooted, updated, and are on the stock rooted build (before a custom rom for best compatibility), restore your data.
adb shell dd if=/sdcard/data.img of=/dev/block/mmcblk0p26
Now do a titanium backup if you plan to install a ROM that wipes data, install whatever ROM you planned, and restore titanium (if needed).
Sent from my ADR6400L using Tapatalk
Thanks. I'm always amazed at the ideas you come up with. Getting ready to try out ubuntu on the bolt.
Sent from my ADR6400L using XDA App
Thanks, I have been hoping for something like this.
You are basically doing a temp root, right? Genius. Would it be possible to then push/install a backup program (mybackup pro, Titanium, etc) and run it? I guess you would also need to get superuser in first.
tsachi said:
You are basically doing a temp root, right? Genius. Would it be possible to then push/install a backup program (mybackup pro, Titanium, etc) and run it? I guess you would also need to get superuser in first.
Click to expand...
Click to collapse
It is possible, but in actually attempting to install Titanium during the process, I spent 15 minutes doing the temp root and this backup, 4 hours playing with su binaries and superuser apps without getting any combination to play nice, 10 minutes rooting and 20 minutes restoring this backup. It is all about efficiency...
so if I'm reading this right, this will allow restoring of data for games? That's the only thing keeping my wife from rooting.
Yes. You can re install the apps, then restore data files manually after root.
My wife is the same, won't root of I can't restore things after
nrfitchett4 said:
so if I'm reading this right, this will allow restoring of data for games? That's the only thing keeping my wife from rooting.
Click to expand...
Click to collapse
Sent from a gingerbread thunderbolt
True
twistedumbrella said:
It is possible, but in actually attempting to install Titanium during the process, I spent 15 minutes doing the temp root and this backup, 4 hours playing with su binaries and superuser apps without getting any combination to play nice, 10 minutes rooting and 20 minutes restoring this backup. It is all about efficiency...
Click to expand...
Click to collapse
Sent from a gingerbread thunderbolt
tsachi said:
Yes. You can re install the apps, then restore data files manually after root.
My wife is the same, won't root of I can't restore things after
Sent from a gingerbread thunderbolt
Click to expand...
Click to collapse
ok, so do the backup, root, reinstall her games, etc (nothing system), then use adb to restore data.
Makes complete sense as long as I don't think about it too hard...
nrfitchett4 said:
so if I'm reading this right, this will allow restoring of data for games? That's the only thing keeping my wife from rooting.
Click to expand...
Click to collapse
Same with my friend, until he lost signal while I was at 3 bars and he got sick of the battery life
nrfitchett4 said:
ok, so do the backup, root, reinstall her games, etc (nothing system), then use adb to restore data.
Makes complete sense as long as I don't think about it too hard...
Click to expand...
Click to collapse
Don't reinstall anything. Just clear out data for generic system apps (because his browser and gapps force closed until we did) backup, root, restore. The games are in the backup.
And yes, the ScriptFusion AutoBot already has this capability built in. When it detects you don't have root, it will perform the backup, and when you return after rooting it will restore it. It is actually about two steps away from being able to root a phone. Should be capable later this week.
Sent from my ADR6400L using Tapatalk
Almost done building an app to walk you through the entire root with backup process.
Sent from my ADR6400L using Tapatalk
From a similar thread quoted by jcase:
I advise against using this backup method, taking a DD of /data while its r/w can lead to corruption.
A better idea would be to push su (aka a temp root) into your path and use something like titanium backup to backup you data.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1174487
yareally said:
From a similar thread quoted by jcase:
http://forum.xda-developers.com/showthread.php?t=1174487
Click to expand...
Click to collapse
Yeah, thanks. That is there for people who don't think to walk away during the process and not cause data to be changed until it finishes, which is the real risk. As stated, this was tested. You are more than welcome to add additional findings, but EVERYTHING can risk corruption. You are playing with the bootloader, which could cause a brick... Did you root anyway? There ya go...
As for the app, that actually does a temp root with su included, which is actually a whitelist temp root (psneuter already gave you a temp root) and offers the chance to perform a backup before proceeding, either with dd or titanium.
Sent from my ADR6400L using Tapatalk
twistedumbrella said:
Yeah, thanks. That is there for people who don't think to walk away during the process and not cause data to be changed until it finishes, which is the real risk. As stated, this was tested. You are more than welcome to add additional findings, but EVERYTHING can risk corruption. You are playing with the bootloader, which could cause a brick... Did you root anyway? There ya go...
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
Yeah, I don't see the problem in doing what you were trying either, just wanted to bring it up . I would probably back it up outside of the booted OS area though just to be safe, like in recovery where can access adb still. Not sure if you can in hboot offhand though.
yareally said:
Yeah, I don't see the problem in doing what you were trying either, just wanted to bring it up . I would probably back it up outside of the booted OS area though just to be safe, like in recovery where can access adb still. Not sure if you can in hboot offhand though.
Click to expand...
Click to collapse
You would need root to root in recovery, which is a slight problem.
Sent from my ADR6400L using Tapatalk
twistedumbrella said:
You would need root to root in recovery, which is a slight problem.
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
That's why I mentioned hboot (the bootloader) as well, which you wouldnt need to, though I am not sure if adb detects the device in hboot. Not at a computer, so I can't try at the moment. Please don't half read what I write. I would like to try to help out if possible.
yareally said:
That's why I mentioned hboot (the bootloader) as well, which you wouldnt need to, though I am not sure if adb detects the device in hboot. Not at a computer, so I can't try at the moment. Please don't half read what I write. I would like to try to help out if possible.
Click to expand...
Click to collapse
Wow, lol. Well I don't quite understand what you mean "which you wouldn't need to". I read the full comment, but tried to bypass the parts that showed complete lack of understanding as to why rooting is done the way it is, but since you called me out on it... The device detects usb in fastboot, but cannot flash a radio there due to s-on. It detects in recovery due to modifications to the image that require the capability to flash modified images. The temp root works like my script, in that it tricks the system into believing it is unlocked, while other things are done to allow it to be truly unlocked, at which time a replacement image is loaded. Help me help you by at least researching the process before trying to alter it. Thanks.
Sent from my ADR6400L using Tapatalk
twistedumbrella said:
Wow, lol. Well I don't quite understand what you mean "which you wouldn't need to". I read the full comment, but tried to bypass the parts that showed complete lack of understanding as to why rooting is done the way it is, but since you called me out on it... The device detects usb in fastboot, but cannot flash a radio there due to s-on. It detects in recovery due to modifications to the image that require the capability to flash modified images. The temp root works like my script, in that it tricks the system into believing it is unlocked, while other things are done to allow it to be truly unlocked, at which time a replacement image is loaded. Help me help you by at least researching the process before trying to alter it. Thanks.
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
Eh, call me out, i dont care, it's just the internet and it's not the first or the last time I will be incorrect.
You are right though after trying in the bootloader myself. I only meant to do the datadump part, nothing else outside the os area.
yareally said:
Eh, call me out, i dont care, it's just the internet and it's not the first or the last time I will be incorrect.
You are right though after trying in the bootloader myself. I only meant to do the datadump part, nothing else outside the os area.
Click to expand...
Click to collapse
twistedumbrella said:
I read the full comment, but tried to bypass the parts that showed complete lack of understanding as to why rooting is done the way it is, but since you called me out on it...
Click to expand...
Click to collapse
yareally said:
Please don't half read what I write.
Click to expand...
Click to collapse
Sent from my ADR6400L using Tapatalk
twistedumbrella said:
Almost done building an app to walk you through the entire root with backup process.
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
How is this coming along?
Since I was smart and forgot to unlock my N7 before doing anything, I'm in a bit of a predicament. I don't want to wipe everything off my N7, I have game progress, lot of apps, etc. I looked in the dev forum, but didn't see anything. I just need a root to throw TiBu on there. Not sure if I missed it, misunderstood something, or if I'm boned and just have to deal with lost data or no root. This is my first nexus, and on other devices, there's always been root without wipe. Is that just something effort isn't put into on a nexus since unlock is so easy?
E_man5112 said:
Since I was smart and forgot to unlock my N7 before doing anything, I'm in a bit of a predicament. I don't want to wipe everything off my N7, I have game progress, lot of apps, etc. I looked in the dev forum, but didn't see anything. I just need a root to throw TiBu on there. Not sure if I missed it, misunderstood something, or if I'm boned and just have to deal with lost data or no root. This is my first nexus, and on other devices, there's always been root without wipe. Is that just something effort isn't put into on a nexus since unlock is so easy?
Click to expand...
Click to collapse
As far as I know, no, there isn't a way. To get CWM on the Nexus 7, you have to unlock the bootloader which deletes all user information for security purposes. I made the same mistake, but it didn't take too long to get it back to where it was (I mean, we only got them less than a week ago!).
Raikia said:
As far as I know, no, there isn't a way. To get CWM on the Nexus 7, you have to unlock the bootloader which deletes all user information for security purposes. I made the same mistake, but it didn't take too long to get it back to where it was (I mean, we only got them less than a week ago!).
Click to expand...
Click to collapse
Unfortunately, that's several hours of game data. Do other Nexi eventually get root without wipe?
Why can't you use Titanium Backup before and after?
rohandhruva said:
Why can't you use Titanium Backup before and after?
Click to expand...
Click to collapse
TiBU doesn't work on un-rooted devices.
gtalum said:
TiBU doesn't work on un-rooted devices.
Click to expand...
Click to collapse
OMG that was really silly of me. Sorry!
E_man5112 said:
Unfortunately, that's several hours of game data. Do other Nexi eventually get root without wipe?
Click to expand...
Click to collapse
Bootloader unlock without wipe only comes about via some kind of exploit/hack. Such discoveries are unpredictable.
The first one I saw for the GN was about a two months ago (though I won't pretend to have seen everything).
I suggest just biting the bullet now rather than waiting potentially months later.
Couldn't you just backup the /sdcard/Android folder that has some (if not all) of your game data? I'm a little rusty on my ADB commands but you might be able to pull it from the system partition, although I doubt it..
Sent from my SGH-T989D using xda premium
The "Nexus Root Toolkit" lets you back up before unlocking:
http://forum.xda-developers.com/showthread.php?t=1766475
Also, I believe you don't need root to run AirDroid (search the store).
I suppose you could see if any root exploits work to get root without unlocking the bootloader no harm in trying a few, use backup then unlock the bootloader. Not sure if any root exploits work with jellybean though.
Sent from my Transformer while the N7 is lost in the Play Store Black Hole.
16gb N7 UK ordered 3rd July.
tjupille said:
The "Nexus Root Toolkit" lets you back up before unlocking:
http://forum.xda-developers.com/showthread.php?t=1766475
Also, I believe you don't need root to run AirDroid (search the store).
Click to expand...
Click to collapse
Thanks, I thought the Toolkit only backed up sdcard data. I'll check them both out.
The toolkit did it, thanks a bunch!
Hello, I have had my nexus 7 for about 2 days and have set everything up how I want it. From what I've read you can't root without erasing everything. If this is the case are there any apps that will back up my applications + app settings?
Thanks
dizzdiamonds said:
Hello, I have had my nexus 7 for about 2 days and have set everything up how I want it. From what I've read you can't root without erasing everything. If this is the case are there any apps that will back up my applications + app settings?
Thanks
Click to expand...
Click to collapse
titanium backup ftw
funkyboy1281 said:
titanium backup ftw
Click to expand...
Click to collapse
Thanks, I was under the assumption that TB only works on rooted devices. I will give it a shot anyways.
tb only does work on rooted devices.. u should of rooted it right out of box so u wouldnt have to erase anything
dizzdiamonds said:
Thanks, I was under the assumption that TB only works on rooted devices. I will give it a shot anyways.
Click to expand...
Click to collapse
probably would've helped if I actually read the question word for word...oops
dizzdiamonds said:
If this is the case are there any apps that will back up my applications + app settings?
Click to expand...
Click to collapse
You can backup most of your device with 'adb backup' before you do the unlock and then 'adb restore' it afterwards. It seems to miss certain things, like paid apps (or it did for me), so if those apps have options to dump config backups to /sdcard that would help in case you have to restore them.
movieaddict said:
tb only does work on rooted devices.. u should of rooted it right out of box so u wouldnt have to erase anything
Click to expand...
Click to collapse
Doh! I've made the same mistake as wel!
Harry GT-S5830 said:
ADB Backup & ADB Restore
Click to expand...
Click to collapse
Nvm, already posted.
It's not rooting that causes you the wipe, it's unlocking.
However no one has made a way to root without unlocking first.
So if someone figures out how to just root, it would be fine.
Cryingmoose said:
It's not rooting that causes you the wipe, it's unlocking.
However no one has made a way to root without unlocking first.
So if someone figures out how to just root, it would be fine.
Click to expand...
Click to collapse
So, I rooted my Nexus 7 a while back (using the Nexus Root Toolkit), then when Google pushed out the JB 4.1.2 Update, the root access vanished, should just clicking the root button re-root it without wiping everything?
hydroxyde said:
You can backup most of your device with 'adb backup' before you do the unlock and then 'adb restore' it afterwards. It seems to miss certain things, like paid apps (or it did for me), so if those apps have options to dump config backups to /sdcard that would help in case you have to restore them.
Click to expand...
Click to collapse
1. adb backup
2. unlock
3. adb restore
Or do I need to root as well and restore at last?
mgutt said:
1. adb backup
2. unlock
3. adb restore
Or do I need to root as well and restore at last?
Click to expand...
Click to collapse
Anybody answering?
I also have a Nexus 7 well setup and would like to understand how to root it without scratching data on it...
if eventually this could work, it would be great. SO, adb backup and then adb restore after unlocking?:crying:
1. adb backup
2. unlock
3. adb restore
Or do I need to root as well and restore at last?
Click to expand...
Click to collapse
It doesn't matter.
Unlocking is what erases the data, what you do afterwards doesn't make any difference.
But since you're already hooking up N7 to PC and booting it in all these weird modes, you might as well finish what you start.
I also have a Nexus 7 well setup and would like to understand how to root it without scratching data on it...
if eventually this could work, it would be great. SO, adb backup and then adb restore after unlocking?
Click to expand...
Click to collapse
You can't unlock the bootloader without erasing data.
You can use adb backup, but I just manually backed up what I needed (launcher settings, apps are downloaded automatically from play store, 'sd card' stuff, you don't really need anything else.) Besides, you're gonna be playing with all the settings all the time anyway for next couple of weeks , it doesn't really matter if they get erased.
Ramstein said:
Anybody answering?
I also have a Nexus 7 well setup and would like to understand how to root it without scratching data on it...
if eventually this could work, it would be great. SO, adb backup and then adb restore after unlocking?:crying:
Click to expand...
Click to collapse
I did that and it worked. I wanted the savegame of Final Fantasy III that is located in data/data/... after restoring the data the Nexus was still unlocked.
Shesh...the device been out for over a week now, im shock to see theres still not a official firmware image
immunityx said:
Shesh...the device been out for over a week now, im shock to see theres still not a official firmware image
Click to expand...
Click to collapse
I agree. I wanted the stock images to test if my device got a bad flash from the factory causing all of the multi touch and freezing issues. I ended up just exchanging at BB and have yet to upgrade to JSS15 in case that is the culprit.
Rod3 said:
I agree. I wanted the stock images to test if my device got a bad flash from the factory causing all of the multi touch and freezing issues. I ended up just exchanging at BB and have yet to upgrade to JSS15 in case that is the culprit.
Click to expand...
Click to collapse
There is no official one but there is an unofficial one, when the TWRP bug got me, it saved my system. It would still be soft-bricked waiting on Google otherwise.
I know right we need that incase something goes wrong and we can restore right to that i know we have ones on here but i want official
Sent from my Nexus 7 using Tapatalk 4
Hmmm nexus4 all over again
>^.^< Sent from meow HTC One which is like catnip to me atm
here's a flashable OTA image, is that not the same thing?
http://droidbasement.com/db-blog/?p=3120
Midnight_Rider said:
here's a flashable OTA image, is that not the same thing?
http://droidbasement.com/db-blog/?p=3120
Click to expand...
Click to collapse
they want a factory google released image
Midnight_Rider said:
here's a flashable OTA image, is that not the same thing?
http://droidbasement.com/db-blog/?p=3120
Click to expand...
Click to collapse
Nope. A factory image contains all the partitions, not just an update zip. Its used mainly to help devices that are completely broken (won't turn on), or people who want to unroot and go back to complete stock.
If it was there, it would be here: https://developers.google.com/android/nexus/images
That's what's keeping me from unlocking and rooting mine.
A
I want/need that as a backup..... just in case....
gotcha, i understand the diff
danvee said:
That's what's keeping me from unlocking and rooting mine.
A
I want/need that as a backup..... just in case....
Click to expand...
Click to collapse
It is extremely rare to have anything go wrong just unlocking the phone. You might as well go ahead and do it because eventually you will and it'll force a wipe data. Might as well do it now before you install too much stuff.
You can leave root and custom recovery until the images show up if you are concerned about borking your system.
sfhub said:
It is extremely rare to have anything go wrong just unlocking the phone. You might as well go ahead and do it because eventually you will and it'll force a wipe data. Might as well do it now before you install too much stuff.
You can leave root and custom recovery until the images show up if you are concerned about borking your system.
Click to expand...
Click to collapse
Not the unlocking. The rooting...
danvee said:
That's what's keeping me from unlocking and rooting mine.
A
I want/need that as a backup..... just in case....
Click to expand...
Click to collapse
danvee said:
Not the unlocking. The rooting...
Click to expand...
Click to collapse
this is what i did, after unlocking and rooting and installing TWRP go into recovery and make a nandroid backup and keep it safe off the device, keep it on the device, so if you need it you can restore it
That's what I'd be do once rooted, but it's the risk of the process failing without the factory image as a backup....
For example, rooting fails, no custom recovery flashed, OS hosed.....
I like having that safety net....
danvee said:
That's what I'd be do once rooted, but it's the risk of the process failing without the factory image as a backup....
For example, rooting fails, no custom recovery flashed, OS hosed.....
I like having that safety net....
Click to expand...
Click to collapse
oh i gotcha, but you have your steps out of order. first you unlock the bootloader which doesn't flash anything to your device. then you push the recovery image to your device from your PC using adb. yes this step could go horribly wrong, but if you have everything in place you should be ok. this step is very easy as well, not much to screw up and doesnt take any time at all, none of this does.
then once the recovery is installed, reboot your phone so you know everything comes up fine. then reboot into the recovery and flash SuperSU and voila! you have a rooted phone. boot back into the OS and run an app that requires root (Root Checker is a good one to use as a test) to make sure all is well
i understand your concern, but of all the android devices i have owned, the new nexus has been by far the easiest one of all to root and it is meant to be that way so developers can play with it and customize it and learn from it
plus there's this too
http://forum.xda-developers.com/showthread.php?t=2381582
Midnight_Rider said:
oh i gotcha, but you have your steps out of order. first you unlock the bootloader which doesn't flash anything to your device. then you push the recovery image to your device from your PC using adb. yes this step could go horribly wrong, but if you have everything in place you should be ok. this step is very easy as well, not much to screw up and doesnt take any time at all, none of this does.
then once the recovery is installed, reboot your phone so you know everything comes up fine. then reboot into the recovery and flash SuperSU and voila! you have a rooted phone. boot back into the OS and run an app that requires root (Root Checker is a good one to use as a test) to make sure all is well
i understand your concern, but of all the android devices i have owned, the new nexus has been by far the easiest one of all to root and it is meant to be that way so developers can play with it and customize it and learn from it
plus there's this too
http://forum.xda-developers.com/showthread.php?t=2381582
Click to expand...
Click to collapse
these are all wonderful points, but it doesn't change the fact that google should have released the image already
indianajonze said:
these are all wonderful points, but it doesn't change the fact that google should have released the image already
Click to expand...
Click to collapse
agreed, but im sure they are waiting to make sure there are no major bugs reported so they can fix it first, then release it. it will be out
That would mean yet another update, then.
Midnight_Rider said:
agreed, but im sure they are waiting to make sure there are no major bugs reported so they can fix it first, then release it. it will be out
Click to expand...
Click to collapse
Google has never waited before. The only thing that generally holds up posting factory images are licensing issues. They posted the 4.3 images for the Nexus 4, Nexus 7 (2012), and various Galaxy Nexus devices. There is no reason they didn't post the Nexus 7 images unless it is licensing related.
bozzykid said:
Google has never waited before. The only thing that generally holds up posting factory images are licensing issues. They posted the 4.3 images for the Nexus 4, Nexus 7 (2012), and various Galaxy Nexus devices. There is no reason they didn't post the Nexus 7 images unless it is licensing related.
Click to expand...
Click to collapse
good point
I see many posts on how to root and then how to wipe but I want to make sure what is the process when you have a rooted phone you want to UN-root and wipe because I am thinking to getting rid of root and leaving it stock this time, not sure yet... and in what order is ideal?
___________________________
FYI I did see this but seeing it is from 3 years ago, I dont know if this is still the best way to go?
https://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
Flash factory image using the attached flash-all.bat file (or flash-all.sh for MAC) and then lock the bootloader if you really really wanna go stock.
BTW, what are the reasons you wanna go back to full stock?
Dathaeus said:
I see many posts on how to root and then how to wipe but I want to make sure what is the process when you have a rooted phone you want to UN-root and wipe because I am thinking to getting rid of root and leaving it stock this time, not sure yet... and in what order is ideal?
___________________________
FYI I did see this but seeing it is from 3 years ago, I dont know if this is still the best way to go?
https://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
Click to expand...
Click to collapse
Try Nexus Root tool kit program. You can google for download link.
Sent from my Nexus 6P using Tapatalk
wizardwiz said:
Flash factory image using the attached flash-all.bat file (or flash-all.sh for MAC) and then lock the bootloader if you really really wanna go stock.
BTW, what are the reasons you wanna go back to full stock?
Click to expand...
Click to collapse
I prob wont stay in stock but I am sick of my phone right now all corrupted with its background processes and 2 hr battery life, and I dont feel like troublenshooting every component, would just be easier to go to stock and then start over. Easier to do this with a phone than PC.
sandar1980 said:
Try Nexus Root tool kit program. You can google for download link.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Have you used NRT and TiBu? Comparison? I know TiB is one of the leaders but again I have had a bad experience with them last time and makes me hesitant to use it again even though I had bought the pro version.
Even if you intend to move later on to a custom ROM , the way I have suggested you, will make your device squeaky clean and ready for a new ROM without any extra baggage trailing you.
Dathaeus said:
Have you used NRT and TiBu? Comparison? I know TiB is one of the leaders but again I have had a bad experience with them last time and makes me hesitant to use it again even though I had bought the pro version.
Click to expand...
Click to collapse
Haven't tried TiBu. I had a good experience with NRT, rolled back from Nougat to Marshmallow with unroot without problems my N6P.
Sent from my Nexus 6P using Tapatalk