Related
I'm about to finish this rooting process to put a custom rom on my brothers phone, but I want to be sure he won't lose all of his data if I do the ESPRIMG.zip update...I'm just trying to play it safe before he hates me for losing all his data
If anyone can verify this for me, I'd greatly appreciate it. I don't want to mess this up if I can avoid it.
Using the exploid method, I got to the part where you get the # in the adb shell, indicating root. However, titanium backup and such apps would not yet run, so I had to continue to make the root permanent with full access(or so I understand), and have now found myself at this step. If this zip only enables us to flash clockwork without wiping all the data on the phone, that would be awesome. I just want to make sure that is true...I haven't seen the answer anywhere else. Thanks for the help guys!
I wouldn't think anything would be wiped until you flash a new rom or do a wipe yourself... but don't quote me on that... I've only rooted 3 devices and the Slide was back in December, haha. D:
Which leads me to a kind of on-topic question... How do people back up their stuff the first time around if they're not rooted? I'm sure it's something simple. I just kinda made a list of the stuff I had.
If it's something extraordinarily obvious, I'm sorry it's 5AM anddd... I should probably know anyways. xD
SefEXE said:
I wouldn't think anything would be wiped until you flash a new rom or do a wipe yourself... but don't quote me on that... I've only rooted 3 devices and the Slide was back in December, haha. D:
Which leads me to a kind of on-topic question... How do people back up their stuff the first time around if they're not rooted? I'm sure it's something simple. I just kinda made a list of the stuff I had.
If it's something extraordinarily obvious, I'm sorry it's 5AM anddd... I should probably know anyways. xD
Click to expand...
Click to collapse
This is what I'm wondering. I've rooted a G1, G2, and nook color before (although the NC is completely automated and required no work really, as there was nothing to back up the first time around). On the G1, it was my first device obviously and I lost all my data when wiping and flashing a custom rom. In the G2 process, I was able to get apps like Ti Backup to run on the stock rom, so I was able to back up all my apps and data.
On this one, it's a bit different (at least for now), I want to know if performing that update in the bootloader will put an entirely different image on my phone, meaning I'd lose all the data that's currently on there.
It's not so much the apps, but all the application data that I'm worried about losing without warning him first...I don't want him to have to repeat all his work to get to the same spot he's currently at in angry birds or something
Its going to wipe the phone. How to back up data? Idk.
Sent from my T-Mobile myTouch 3G Slide using XDA App
I just did this myself, so take a noob's word for what it's worth.
Yes it will wipe the phone IF you tell it to do the update. If you want to back up your phone you first need to put ClockworkMod Recovery on your SD card and name it simply update.zip. When you load into the boot loader (Vol down + Power) select "Recovery" then something about "Apply from SD: Update.zip" and you will get into ClockworkMod Recovery where you can then do a Nandroid back up of your phone.
rohit275 said:
I'm about to finish this rooting process to put a custom rom on my brothers phone, but I want to be sure he won't lose all of his data if I do the ESPRIMG.zip update...I'm just trying to play it safe before he hates me for losing all his data
If anyone can verify this for me, I'd greatly appreciate it. I don't want to mess this up if I can avoid it.
Using the exploid method, I got to the part where you get the # in the adb shell, indicating root. However, titanium backup and such apps would not yet run, so I had to continue to make the root permanent with full access(or so I understand), and have now found myself at this step. If this zip only enables us to flash clockwork without wiping all the data on the phone, that would be awesome. I just want to make sure that is true...I haven't seen the answer anywhere else. Thanks for the help guys!
Click to expand...
Click to collapse
It completely wipes the phone. It REPLACES SPL, radio, recovery, rom, etc with the factory spec so the phone will be exactly as it was when first pulled out of the box.
Contacts, calendar, etc should be backed up to google. Apps can be downloaded again from the market and should be auto restored on sign-in to google.
Personal settings and data like texts, call logs, etc are gone though unless you use a program like Titanium Backup to save them.
The other thing you could do is root the stock rom, make a nandroid backup before flashing a custom rom and then if he wants to go back all he has to do is restore the nandroid backup and unroot with all his data preserved.
All right this is what i was suspecting. Is there any way to run titanium backup on the stock rom without wiping it first?
Sent from my HTC Vision using XDA App
rohit275 said:
All right this is what i was suspecting. Is there any way to run titanium backup on the stock rom without wiping it first?
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
What do you mean? Titanium Backup requires root. You can use it in your custom rom to backup everything you want, then restore, reroot, then download titanium backup again and restore the data from your sdcard. If that doesn't answer your question please elaborate on what you are trying to accomplish so that I can help.
Where are you now? What steps did you take to get there? Where are you trying to get to and why?
EDIT - I've had an mt3g and an mt4g but never an espresso so i'm slightly out of my element. I reread the first post and it appears you have root but for whatever reason titanium isn't granted root access. Do you have superuser permissions installed? It can be installed from the market as long as you have root access.
Once you have clockwork (or amon ra) recovery installed you can make a nandroid backup of his stock rom without rooting it, but carrying all the data over to the new rom will require an app such as titanium or mybackup (free 30 day trial) from the market.
Hope that helps.
I guess it WILL then!
Yeah, this was the first device I rooted, so I just sorta flew through it. I was glad that it got rooted and I could put a rom on, so the loss of data wasn't TOO big to me.
And I've lost Angry Birds like... 4 times now, haha.
Phateless said:
What do you mean? Titanium Backup requires root. You can use it in your custom rom to backup everything you want, then restore, reroot, then download titanium backup again and restore the data from your sdcard. If that doesn't answer your question please elaborate on what you are trying to accomplish so that I can help.
Where are you now? What steps did you take to get there? Where are you trying to get to and why?
EDIT - I've had an mt3g and an mt4g but never an espresso so i'm slightly out of my element. I reread the first post and it appears you have root but for whatever reason titanium isn't granted root access. Do you have superuser permissions installed? It can be installed from the market as long as you have root access.
Once you have clockwork (or amon ra) recovery installed you can make a nandroid backup of his stock rom without rooting it, but carrying all the data over to the new rom will require an app such as titanium or mybackup (free 30 day trial) from the market.
Hope that helps.
Click to expand...
Click to collapse
I am aware of all of that.
What I've done is use the exploid method to root until you get to the "#" prompt in the adb shell, after toggling wifi and running ./exploid twice. Then to continue in order to flash a custom rom, I've got to perform the update from the bootloader with ESPRIMG.zip. All I'm asking is that since I do have root through the exploid method, can I run Titanium Backup BEFORE I flash a custom rom, since technically it is possible to gain root access before flashing custom roms. I tried installing the app but it could not properly gain the access it needed. I think this probably has something to do with no superuser app being installed either.
Does it make sense what I'm asking? Thanks guys.
rohit275 said:
I am aware of all of that.
What I've done is use the exploid method to root until you get to the "#" prompt in the adb shell, after toggling wifi and running ./exploid twice. Then to continue in order to flash a custom rom, I've got to perform the update from the bootloader with ESPRIMG.zip. All I'm asking is that since I do have root through the exploid method, can I run Titanium Backup BEFORE I flash a custom rom, since technically it is possible to gain root access before flashing custom roms. I tried installing the app but it could not properly gain the access it needed. I think this probably has something to do with no superuser app being installed either.
Does it make sense what I'm asking? Thanks guys.
Click to expand...
Click to collapse
Yeah I think so. I'll take a look at the root guide but if you have # in Terminal then you should have root. Try installing superuser and see what happens. Do you have a custom recovery installed yet? I think you'll need that to install superuser.
Why didn't you just try SuperOneClick? Much easier than all this.
Phateless said:
Yeah I think so. I'll take a look at the root guide but if you have # in Terminal then you should have root. Try installing superuser and see what happens. Do you have a custom recovery installed yet? I think you'll need that to install superuser.
Why didn't you just try SuperOneClick? Much easier than all this.
Click to expand...
Click to collapse
The # in terminal disappears as soon as I try to exit, and whatever work you've done resets upon a reboot.
I don't have clockwork installed as of yet, because the guide says I've got to update the ESPRIMG.zip through the bootloader before I can do that. I'll try flashing clockwork first and installing superuser before I do anything else.
Does a one click root exist for the slide? I thought that it wasn't possible at this time. If that's the case I'm interested as long as it allows me to run Ti Backup and such and flash clockwork with s-off to do some backups before I go ahead and flash cyanogenmod. Thanks.
EDIT: As expected, can't flash clockwork update without flashing the ESPRIMG.zip update. If I can't run Titanium, it'd be nice to get a couple files out of /data/data before doing the wipe. I tried an adb pull which would not work from the /data partition. With the # prompt in terminal, I wanted to copy some of these files, but the "cp" command doesn't seem to work in terminal, but "mv" and "rm" do. Any way to copy files from within the adb shell? If I could move them to the SD card it would be nice.
rohit275 said:
The # in terminal disappears as soon as I try to exit, and whatever work you've done resets upon a reboot.
I don't have clockwork installed as of yet, because the guide says I've got to update the ESPRIMG.zip through the bootloader before I can do that. I'll try flashing clockwork first and installing superuser before I do anything else.
Does a one click root exist for the slide? I thought that it wasn't possible at this time. If that's the case I'm interested as long as it allows me to run Ti Backup and such and flash clockwork with s-off to do some backups before I go ahead and flash cyanogenmod. Thanks.
Click to expand...
Click to collapse
You know I'm not sure, I'd have to do more research. Will let you know when I figure it out.
Hello again.
Since I am under 10 posts and not allowed to participate in the relevant thread plus searching didn't yield any results I am posting here.
After one month of using my nexus I want to play with it and try some custom things that all people talk so much about.Fact is I first want to backup current state where everything works fine in case something goes wrong.
I 've already backed up my apps and their data with Titanium Backup.
Now I need current OS state bootloader, etc.Am I right to believe this is the NANDROID backup? Is this the backup that can bring the phone back to its current state?
Second thing is that the Galaxy Nexus Toolkit v7.8.0 I am using recommends backing up the EFS partition.Did some research that revealed this hidden partition is about the IMEI - I can't understand how such a valuable data isn't hardcoded inside the phone.But nevertheless I would like to know where are those backups (NANDROID and ESF partition) stored (already checked backups folder in toolkit).
My phone's current state is: unlocked bootloader, CWM recovery, rooted and on stock 4.1.1.No mods or any other custom file.
Another question regarding the CWM recovery.How is it possible to go back to the stock recovery? By flashing the stock ROM?
Also from GN Toolkit I flashed CWM Touch but after trying an update through CWM ROM Manager I got the manual version (both 6.0.1).Can I reflash the touch version from Toolkit?
Sorry if some of those questions sound silly but I am new in Android and prefer the safe path.
Thank you in advance.
TR-909 said:
Hello again.
Since I am under 10 posts and not allowed to participate in the relevant thread plus searching didn't yield any results I am posting here.
After one month of using my nexus I want to play with it and try some custom things that all people talk so much about.Fact is I first want to backup current state where everything works fine in case something goes wrong.
I 've already backed up my apps and their data with Titanium Backup.
Now I need current OS state bootloader, etc.Am I right to believe this is the NANDROID backup? Is this the backup that can bring the phone back to its current state?
Second thing is that the Galaxy Nexus Toolkit v7.8.0 I am using recommends backing up the EFS partition.Did some research that revealed this hidden partition is about the IMEI - I can't understand how such a valuable data isn't hardcoded inside the phone.But nevertheless I would like to know where are those backups (NANDROID and ESF partition) stored (already checked backups folder in toolkit).
My phone's current state is: unlocked bootloader, CWM recovery, rooted and on stock 4.1.1.No mods or any other custom file.
Another question regarding the CWM recovery.How is it possible to go back to the stock recovery? By flashing the stock ROM?
Also from GN Toolkit I flashed CWM Touch but after trying an update through CWM ROM Manager I got the manual version (both 6.0.1).Can I reflash the touch version from Toolkit?
Sorry if some of those questions sound silly but I am new in Android and prefer the safe path.
Thank you in advance.
Click to expand...
Click to collapse
toolkit is not a safe path for you.
read these:
http://forum.xda-developers.com/showthread.php?t=1812959
http://forum.xda-developers.com/showthread.php?t=1626895
http://forum.xda-developers.com/showthread.php?t=1529058
http://forum.xda-developers.com/showthread.php?t=1420351
learn how to troubleshoot and search, you'll be a whole lot happier. don't use toolkits.
TR-909 said:
Now I need current OS state bootloader, etc.Am I right to believe this is the NANDROID backup? Is this the backup that can bring the phone back to its current state?
Click to expand...
Click to collapse
nandroid doesn't backup the bootloader. if you ever need to go back to a specific bootloader version (which you won't), it is available online.
bk201doesntexist said:
toolkit is not a safe path for you.
read these:
http://forum.xda-developers.com/showthread.php?t=1812959
http://forum.xda-developers.com/showthread.php?t=1626895
http://forum.xda-developers.com/showthread.php?t=1529058
http://forum.xda-developers.com/showthread.php?t=1420351
learn how to troubleshoot and search, you'll be a whole lot happier. don't use toolkits.
nandroid doesn't backup the bootloader. if you ever need to go back to a specific bootloader version (which you won't), it is available online.
Click to expand...
Click to collapse
That's a lot of reading.
Anyway thanks for pointing me to those threads (I don't mind reading hehe) but still I don't understand why toolkit is so bad.In my view the toolkit just automates a set of commands which otherwise I would have to give through a command prompt.Only good thing I can find avoiding a toolkit, is getting a deeper knowledge on the subject but maybe the risks of doing something wrong are increased (say a typo)?
Anyway let me read those and I may be back.
TR-909 said:
That's a lot of reading.
Anyway thanks for pointing me to those threads (I don't mind reading hehe) but still I don't understand why toolkit is so bad.In my view the toolkit just automates a set of commands which otherwise I would have to give through a command prompt.Only good thing I can find avoiding a toolkit, is getting a deeper knowledge on the subject but maybe the risks of doing something wrong are increased (say a typo)?
Anyway let me read those and I may be back.
Click to expand...
Click to collapse
Toolkit is a automated set of other people's command, programme are coded by humans and human errors are bound to happen, not to mention if something went wrong somewhere, you won't know what went wrong. By doing the steps yourself, you will know exactly what went wrong, and it will simplify things should you have to ask questions here, which you most likely don't have to once you know how to use adb and fastboot, trust me.
Typos while doing your commands won't hurt because it simply will fail and not do anything. Immediately you will know you typed something incorrectly and know you have to do it again. With the kit you will not know at which step it failed so figuring out something will become a task. Doing it yourself sounds like it's longer and difficult but once you do it you will see how easy and simple it is plus you will understand what you did and why.
Sent from my Galaxy Nexus
TR-909 said:
[snip]
Now I need current OS state bootloader, etc.Am I right to believe this is the NANDROID backup? Is this the backup that can bring the phone back to its current state?
Click to expand...
Click to collapse
Yes and yes.
TR-909 said:
Second thing is that the Galaxy Nexus Toolkit v7.8.0 I am using recommends backing up the EFS partition.Did some research that revealed this hidden partition is about the IMEI - I can't understand how such a valuable data isn't hardcoded inside the phone.But nevertheless I would like to know where are those backups (NANDROID and ESF partition) stored (already checked backups folder in toolkit).
Click to expand...
Click to collapse
I won't comment on the toolkit, but nandroid backups are stored in /sdcard/clockworkmod/backup/ on your device.
As for the efs partition, you could back it up, but I don't really see what the necessity of it is. That partition is never written to by any ROM (stock or otherwise), so the only way it will get messed up is if you do something to it.
If you want to back it up on your device, just open a terminal window and type:
su
dd if=/dev/block/platform/omap/omap_hsmmc.0/by-name/efs of=/sdcard/efs.img
That will store it in /sdcard, and then just copy it off your device.
TR-909 said:
Another question regarding the CWM recovery.How is it possible to go back to the stock recovery? By flashing the stock ROM?
Click to expand...
Click to collapse
Just pull the recovery.img file out of the version of the stock factory image that you are currently using, place it in the same directory where you have your fastboot.exe file, reboot your device into fastboot mode and type:
fastboot flash recovery recovery.img
Or, just save it to /sdcard on your device and type the following in a terminal:
su
dd if=/sdcard/recovery.img of=/dev/block/platform/omap/omap_hsmmc.0/by-name/recovery
TR-909 said:
Also from GN Toolkit I flashed CWM Touch but after trying an update through CWM ROM Manager I got the manual version (both 6.0.1).Can I reflash the touch version from Toolkit?
Click to expand...
Click to collapse
Can't help you out with any toolkit, sorry.
Hello efrant.
Seems you are the n00bs hero in here! I was reading your FAQ and threw some basic ADB commands through cmd to see how it feels ,lol.
Well reading made some good, I backed up through CWM but the backup size baffles me - only 21.4MB in total.Is this normal?
Also took a fresh backup with Titanium for all apps and data - this is a lot bigger 728MB in total.Still Storage (in Settings) reports that applications and their data hold 3.54GB.Is there some kind of ultra compression involved?
As for the stock bootloader I found that image (recovery-stock-jro03c-maguro) which I think is for my GN (GSM).I am asking in case something bad happens and go for a warranty claim.In that case I believe I 'll need to flash the stock bootloader, stock ROM and finally lock the bootloader.
As for the EFS partition is it impossible to be harmed? Say File System corruption, sdcard bad blocks, etc?
It's ok.I clearly understand your position on the toolkit and any similar programms out there.It's just they are so "convenient" and "time savers".Still you 're all right that most of the time you do not understand what you are doing when using toolkits.
Thanks to all of you for your great help. :good:
PS - to test my progress I am going to flash stock recovery through flashboot.I just hope I won't mess it up. :fingers-crossed:
To clear a few things:
TR-909 said:
As for the stock bootloader I found that image (recovery-stock-jro03c-maguro) which I think is for my GN (GSM).I am asking in case something bad happens and go for a warranty claim.In that case I believe I 'll need to flash the stock bootloader, stock ROM and finally lock the bootloader.
Click to expand...
Click to collapse
we don't have any custom bootloaders, as of yet.
TR-909 said:
As for the EFS partition is it impossible to be harmed? Say File System corruption, sdcard bad blocks, etc?
Click to expand...
Click to collapse
not impossible, but many many users never had any issues. to be on the safe side, back it up.
TR-909 said:
It's ok.I clearly understand your position on the toolkit and any similar programms out there.It's just they are so "convenient" and "time savers".Still you 're all right that most of the time you do not understand what you are doing when using toolkits.
Thanks to all of you for your great help. :good:
Click to expand...
Click to collapse
glad you understand. just because something is convenient doesn't mean that it's the best for you.
TR-909 said:
PS - to test my progress I am going to flash stock recovery through flashboot.I just hope I won't mess it up. :fingers-crossed:
Click to expand...
Click to collapse
easy. you can't fail with fastboot. like said before, if you type it wrong, it won't go through. :good:
'fastboot flash recovery recovery.img'
done.
Regarding the nandroid, copy off the whole clockworkmod folder.
Will the next nexus have a longer screen?
@bk201doesntexist: yes you 're right I was reffering to the stock recovery image.Thanks for correcting me
@Mach3.2: I 've read just the backup folder is needed (the one with the date and time).
For the sake of learning, I started in ADB then:
adb devices : to check I am online
adb reboot-bootloader: to get into fastboot
fastboot devices: check again status
and then
fastboot recovery recovery-CWM-touch-6.0.1-maguro
blah...
blah...
blah...
Finished and voila CWM touch recovery installed. :victory:
I am going to try with stock recovery but I am trying to find an official source to download it (if any).
EDIT: I see the only way to find the original recovery img is to extract it from the official ROM.So I am downloading from Google a .tgz and will continue from there.
Any comments for my backup sizes?
Now with my backups in hand what is the possible way to verify them? In theory with nandroid (from CWM recovery) and Titanium, I can restore phone in today's state.Right or wrong?
I am thinking of going a bit further flashing the stock ROM again (wiping everything) and then recovering from the backup archives as my next learning exercise.I should obviously backup photos, music, etc but I was wondering if SMS history is taken care by Nandroid or have to use a seperate application.Contacts are in google's server so np on that.
Thanks again.
TR-909 said:
[snip]
Well reading made some good, I backed up through CWM but the backup size baffles me - only 21.4MB in total.Is this normal?
Also took a fresh backup with Titanium for all apps and data - this is a lot bigger 728MB in total.Still Storage (in Settings) reports that applications and their data hold 3.54GB.Is there some kind of ultra compression involved?
Click to expand...
Click to collapse
If you are using the 6-series CWM, it does backups a little differently (incrementally), and stores the backup in two locations in /sdcard/clockworkmod. I personally use 5.5.0.2, which does a full backup and stores it in one location.
TR-909 said:
As for the stock bootloader I found that image (recovery-stock-jro03c-maguro) which I think is for my GN (GSM).I am asking in case something bad happens and go for a warranty claim.In that case I believe I 'll need to flash the stock bootloader, stock ROM and finally lock the bootloader.
Click to expand...
Click to collapse
As was mentioned above, all bootloaders available are stock bootloaders. A list can be found in the bootloader thread (link in my signature).
TR-909 said:
As for the EFS partition is it impossible to be harmed? Say File System corruption, sdcard bad blocks, etc?
Click to expand...
Click to collapse
But if you have bad blocks in the efs partition, you would probably need to get a new device, at which point you have no need for the backup, no? But I guess yes, better safe than sorry.
TR-909 said:
In theory with nandroid (from CWM recovery) and Titanium, I can restore phone in today's state.Right or wrong?
Click to expand...
Click to collapse
With a nandroid alone you can return to today's state.
TR-909 said:
I am thinking of going a bit further flashing the stock ROM again (wiping everything) and then recovering from the backup archives as my next learning exercise.I should obviously backup photos, music, etc but I was wondering if SMS history is taken care by Nandroid or have to use a seperate application.Contacts are in google's server so np on that.
Click to expand...
Click to collapse
Wiping from CWM does not wipe the data you have on /sdcard, so no need to backup photos, music, etc.
SMS will get wiped, but both Titanium and a nandroid will back them up. However, you can use a third-party app (there are many of them) to do it as well, which is simpler actually.
TR-909 said:
@bk201doesntexist: yes you 're right I was reffering to the stock recovery image.Thanks for correcting me
@Mach3.2: I 've read just the backup folder is needed (the one with the date and time).
For the sake of learning, I started in ADB then:
adb devices : to check I am online
adb reboot-bootloader: to get into fastboot
fastboot devices: check again status
and then
fastboot recovery recovery-CWM-touch-6.0.1-maguro
blah...
blah...
blah...
Finished and voila CWM touch recovery installed. :victory:
I am going to try with stock recovery but I am trying to find an official source to download it (if any).
EDIT: I see the only way to find the original recovery img is to extract it from the official ROM.So I am downloading from Google a .tgz and will continue from there.
Any comments for my backup sizes?
Now with my backups in hand what is the possible way to verify them? In theory with nandroid (from CWM recovery) and Titanium, I can restore phone in today's state.Right or wrong?
I am thinking of going a bit further flashing the stock ROM again (wiping everything) and then recovering from the backup archives as my next learning exercise.I should obviously backup photos, music, etc but I was wondering if SMS history is taken care by Nandroid or have to use a seperate application.Contacts are in google's server so np on that.
Thanks again.
Click to expand...
Click to collapse
The backup is just a shell, it's backed up in blobs, so you will need to copy the whole thing off.
You 're both right that in that the CWM recovery "image" is incremental and the base backup is the blops folder - now the total size is 1.75GB which is logical.
@efrant: thanks for clarifying on backup now it all starts making sense.I 've read Titanium Backup can pull individual files (may I call it selective restore) from a Nandroid backup, say a single app and its data.If that is so then the Titanium Backup could be used as a reserve app and that could save me some precious space.
efrant said:
SMS will get wiped, but both Titanium and a nandroid will back them up. However, you can use a third-party app (there are many of them) to do it as well, which is simpler actually.
Click to expand...
Click to collapse
I prefer to use less apps for doing the job so if Nandroid has the data it is fine with me.I hope it isn't that complicated to pull the data out.
@Mach3.2: You were right, my bad.The article I read was about CWM recovery 5.5.0.2 so now I copied the whole thing on PC. :good:
TR-909 said:
[snip]
I prefer to use less apps for doing the job so if Nandroid has the data it is fine with me.I hope it isn't that complicated to pull the data out.
Click to expand...
Click to collapse
The issue is that SMS's are stored as data for a specific system app (I can't remember which one at the moment). If you change ROMs, it is generally not a good idea to restore system apps or system app data via Titanium Backup, as those apps/data could cause some instability. You may get lucky, you may not.
efrant said:
The issue is that SMS's are stored as data for a specific system app (I can't remember which one at the moment). If you change ROMs, it is generally not a good idea to restore system apps or system app data via Titanium Backup, as those apps/data could cause some instability. You may get lucky, you may not.
Click to expand...
Click to collapse
Point taken.:good:
A bit more on the backup subject...
As I can see CWM recovery backups boot image, recovery image and the /system partition.I also saw in one of efrant's posts about different bootloaders but honestly I fail to comprehend the need for flashing a bootloader.
*In your "convert to latest yakju" post you recommend flashing it "5) Optional (NOT optional for n00bs) -- Flash the bootloader: fastboot flash bootloader bootloader-maguro-primela03.img (or whatever the name of the bootloader image that you downloaded)."
** Also the radio partition is a mystery so far.And I 've read a lot of guys talking of better connectivity (be it GSM, 3G, WiFi) through flashing custom (?) radio images.On list to be explored...
The recovery image is pretty straight and the system partition is the one with the OS - now all this can't be 1.7GB unless it backups the userdata partition too.
EDIT: It seems it also backups the data folder (hence the apps) so the size now makes sense.I reverted to 5.5.0.2 because incremental backup is fast and slick but brings two issues: first the "blops structure" gives me problems when I want to transfer those thousands of files via MTP and second it is much more practical when I want to backup completely different "builds" (that is my guess).
Also in between flashing ROMs a standard procedure is recommended about wiping data, clearing dalvik cache, etc
Could you please give me in details the series of tasks needed (or point me to a thread) for properly preparing a custom ROM installation when unlocked and rooted?
About restoration in the "new enviroment" I read this:
"If your bootloader is unlocked: yes, you can root (if you haven't done it already) and use TiB to backup apps + app data. Installing a ROM will not wipe your /sdcard. It's always a good idea to back it up though before a flash. Use TiB to restore apps + appdata to your new ROM. Be careful with system apps and settings, restoring such data can lead to issues."
Am I right in that "illegal" system apps are those painted with red colour in TiB?
Final steps I am going to backup SMS history and find a custom ROM to install.Any ROM recommendations for a "novice user" are welcome...
Off Topic: what would be the adb commands to push/pull folders (or files) from /sdcard to PC (eg. \sdcard\clockworkmod --> C:/Nexus) .Right now I am doing MTP transfers but would prefer the "adb way" if possible.
Thanks a lot for your support and sharing of knowledge!
PS - So much reading!
Wow, that's a lot of questions for one post! I'll try to tackle some of them.
TR-909 said:
As I can see CWM recovery backups boot image, recovery image and the /system partition.I also saw in one of efrant's posts about different bootloaders but honestly I fail to comprehend the need for flashing a bootloader.
*In your "convert to latest yakju" post you recommend flashing it "5) Optional (NOT optional for n00bs) -- Flash the bootloader: fastboot flash bootloader bootloader-maguro-primela03.img (or whatever the name of the bootloader image that you downloaded)."
Click to expand...
Click to collapse
I don't think anyone knows what changes are in each new bootloader revision (given that they are closed source), but some have had issues with running Jelly Bean on bootloaders older than LA03. I guess "newer is better" holds true in this case.
TR-909 said:
** Also the radio partition is a mystery so far.And I 've read a lot of guys talking of better connectivity (be it GSM, 3G, WiFi) through flashing custom (?) radio images.On list to be explored...
Click to expand...
Click to collapse
Again, no one know what changes are made in each radio revision. I personally have not noticed much difference among a lot of the radios, but others have said otherwise. (And no, there are no "custom" radios. All radios are stock -- just from different versions of Android. (A list of radios can be found in the radio link in my signature.)
TR-909 said:
The recovery image is pretty straight and the system partition is the one with the OS - now all this can't be 1.7GB unless it backups the userdata partition too.
EDIT: It seems it also backups the data folder (hence the apps) so the size now makes sense.
Click to expand...
Click to collapse
Yup, it backs up the cache, boot, recovery and system partitions, and everything in /data except /data/media (which is /sdcard).
TR-909 said:
I reverted to 5.5.0.2 because incremental backup is fast and slick but brings two issues: first the "blops structure" gives me problems when I want to transfer those thousands of files via MTP and second it is much more practical when I want to backup completely different "builds" (that is my guess).
Click to expand...
Click to collapse
I also like 5.5.0.2. I found it to be the most compatible, i.e., it has no issues flashing anything (that I have tried anyway), whereas other versions have issues with certain things.
And I personally wouldn't use MTP to transfer files -- it is flaky at best. ADB is much more stable.
TR-909 said:
Also in between flashing ROMs a standard procedure is recommended about wiping data, clearing dalvik cache, etc
Could you please give me in details the series of tasks needed (or point me to a thread) for properly preparing a custom ROM installation when unlocked and rooted?
Click to expand...
Click to collapse
There is not much to do:
1) Download ROM to /sdcard
2) Reboot into recovery
3) Nandroid
4) Wipe /data and /cache
5) Flash ROM
6) Reboot
TR-909 said:
About restoration in the "new enviroment" I read this:
"If your bootloader is unlocked: yes, you can root (if you haven't done it already) and use TiB to backup apps + app data. Installing a ROM will not wipe your /sdcard. It's always a good idea to back it up though before a flash. Use TiB to restore apps + appdata to your new ROM. Be careful with system apps and settings, restoring such data can lead to issues."
Am I right in that "illegal" system apps are those painted with red colour in TiB?
Click to expand...
Click to collapse
I think so. I haven't use TB in a while, so I just checked and it looks like you are correct -- red.
TR-909 said:
Off Topic: what would be the adb commands to push/pull folders (or files) from /sdcard to PC (eg. \sdcard\clockworkmod --> C:/Nexus) .Right now I am doing MTP transfers but would prefer the "adb way" if possible.
Click to expand...
Click to collapse
Have a read of the "basics" link in my signature. ADB is covered there.
Wow that's some great answers and a big motive for me to continue "digging".:good:
I will leave you in peace for the time being as here it's about to dawn.
Big thanks and have a nice day.
PS - To be continued...
There is a article on the main xda site about running a FTP server on your phone, maybe that will transfer the blobs faster than MTP.
Mach3.2 said:
There is a article on the main xda site about running a FTP server on your phone, maybe that will transfer the blobs faster than MTP.
Click to expand...
Click to collapse
Hey mach3.2.
FTP wouldn't help because WLAN (802.11g) can't beat USB 2.0 speeds.In fact it is quite slow for such file sizes.You 're right though in that through ES File Explorer I can send the whole Clockworkmod folder (and the blobs) normally to my PC without the "invisible files" issue I encountered with Windows Explorer and MTP.
Thanks for suggestion!
TR-909 said:
Hey mach3.2.
FTP wouldn't help because WLAN (802.11g) can't beat USB 2.0 speeds.In fact it is quite slow for such file sizes.You 're right though in that through ES File Explorer I can send the whole Clockworkmod folder (and the blobs) normally to my PC without the "invisible files" issue I encountered with Windows Explorer and MTP.
Thanks for suggestion!
Click to expand...
Click to collapse
With MTP, copying using FTP may just be faster
And just to mention, there's 802.11N on you devices, although it's only single stream w/ 1 antenna..
Hey,
I just flashed the stock ROM for Android Gingerbread 2.3.4, and I've been trying to root it. The DooMLoRD method doesn't work. Are there any other ways for me to root?
6Slipknot6 said:
Hey,
I just flashed the stock ROM for Android Gingerbread 2.3.4, and I've been trying to root it. The DooMLoRD method doesn't work. Are there any other ways for me to root?
Click to expand...
Click to collapse
I'm aware of 2 different root methods for R800x on 2.3.4. This post should point you in the right direction:
http://forum.xda-developers.com/showthread.php?p=59132138
Thanks man! It worked! Now how do I make it so if I do a system restore it automatically installs Superuser and Busybox? Thanks!
6Slipknot6 said:
Thanks man! It worked! Now how do I make it so if I do a system restore it automatically installs Superuser and Busybox? Thanks!
Click to expand...
Click to collapse
Cool man... Glad to hear you got it rooted. After you get the phone setup how you like it (including Superuser/SuperSU and busybox already installed ), then make a Nandroid backup in CWM. Keep a copy of that backup somewhere safe (like on your external sd card and an additional one on your computer), then you can always restore that Nandroid backup after wiping cache, wiping dalvik, and doing a factory reset in CWM. (Also.... If you mess the phone up really bad when tinkering with it, you can always use Androxyde's Flashtool to restore the phone to Stock.... then root it again /reinstall CWM, and restore that Nandroid backup. I can't tell you how many times I've had to do that when experimenting with different things on the phone).
I don't know of any other way to restore with a Superuser app and busybox already installed.... (other than to flash a ROM/Kernel that already includes these... but you will have to unlock your bootloader-- if not done already-- in order to flash custom kernels).
PS: check out Titanium Backup Pro from the Play Store if you're not familiar with it already... as it's a useful tool to let you backup individual apps and individual app data.
mattnmag said:
Cool man... Glad to hear you got it rooted. After you get the phone setup how you like it (including Superuser/SuperSU and busybox already installed ), then make a Nandroid backup in CWM. Keep a copy of that backup somewhere safe (like on your external sd card and an additional one on your computer), then you can always restore that Nandroid backup after wiping cache, wiping dalvik, and doing a factory reset in CWM. (Also.... If you mess the phone up really bad when tinkering with it, you can always use Androxyde's Flashtool to restore the phone to Stock.... then root it again /reinstall CWM, and restore that Nandroid backup. I can't tell you how many times I've had to do that when experimenting with different things on the phone).
I don't know of any other way to restore with a Superuser app and busybox already installed.... (other than to flash a ROM/Kernel that already includes these... but you will have to unlock your bootloader-- if not done already-- in order to flash custom kernels).
PS: check out Titanium Backup Pro from the Play Store if you're not familiar with it already... as it's a useful tool to let you backup individual apps and individual app data.
Click to expand...
Click to collapse
Does the root method you introduced to me come with CWM restore?
6Slipknot6 said:
Does the root method you introduced to me come with CWM restore?
Click to expand...
Click to collapse
No. You have to install the Clockwork Mod Recovery separately.
This thread should help you to get it installed - http://forum.xda-developers.com/showthread.php?p=55290171
6Slipknot6 said:
Does the root method you introduced to me come with CWM restore?
Click to expand...
Click to collapse
Another way to install CWM Recovery is to use the Xparts app, (also called the CWM Auto Installer)... but you have to use an older version (v.5) for the R800x. If you'd rather use the Xparts app, then go to this thread:
( http://forum.xda-developers.com/showthread.php?p=21237127 ).
Scroll to the bottom of the first post to find several versions of the app. Download and install ("CWM Installer-v5.apk").... then use the app to install CWM. I've not used this method, but others report that it works.
After upgrading to Lollipop FOB6 firmware using full odin and then rooting and installing TWRP, I have never been able to successfully restore a backup, ever!
From reading the dev forums it seems no one else has been able to do so either. Does anyone know what the heck is going on? Is there any toggle (like compression?) that we cant use?
This is a bit of a pain but not the end of the world. Certainly makes me hesitate to mess around with new roms though if I cant go back to my solid daily without having to start from scratch.
khanam said:
After upgrading to Lollipop FOB6 firmware using full odin and then rooting and installing TWRP, I have never been able to successfully restore a backup, ever!
From reading the dev forums it seems no one else has been able to do so either. Does anyone know what the heck is going on? Is there any toggle (like compression?) that we cant use?
This is a bit of a pain but not the end of the world. Certainly makes me hesitate to mess around with new roms though if I cant go back to my solid daily without having to start from scratch.
Click to expand...
Click to collapse
I think what is going on is that the directory structure in Lollipop is a little different from the one in Kitkat. To give you an example, the user installed applications in Kitkat are placed under /data/app like this:
/data/app/com.my.application.apk
But in lollipop the same app is installed as:
/dats/app/com.my.application.apk/base.apk
So a backup taken from your data partition in Kitkat cannot be readily restored in Lollipop. The directory structure is just wrong and nothing works. The solution is for someone to ether write a conversion script or for the TWRP people to incorporate such a script in their future releases.
najoor said:
I think what is going on is that the directory structure in Lollipop is a little different from the one in Kitkat. To give you an example, the user installed applications in Kitkat are placed under /data/app like this:
/data/app/com.my.application.apk
But in lollipop the same app is installed as:
/dats/app/com.my.application.apk/base.apk
So a backup taken from your data partition in Kitkat cannot be readily restored in Lollipop. The directory structure is just wrong and nothing works. The solution is for someone to ether write a conversion script or for the TWRP people to incorporate such a script in their future releases.
Click to expand...
Click to collapse
Thats true - I did read about that. And that would definitely explain being unable to restore a kitkat rom.
However, I cant even restore a lollipop backup after flashing a different lollipop rom! Even if they are both derived from the same FOB6 base! That is what is even more confusing. Try it - backup, wipe all the partitions except int and ext sd of course and then try to restore... it just doesnt work!
Way I dit it just use factory reset only don't wipe anything specialy internal storage and don't use format. While restoring TWRP formats partition that been restored. I'm using TWRP 2.7.2.0
I've had no problem restoring from a TWRP Backup on Lollipop numerous times.
najoor said:
I think what is going on is that the directory structure in Lollipop is a little different from the one in Kitkat. To give you an example, the user installed applications in Kitkat are placed under /data/app like this:
/data/app/com.my.application.apk
But in lollipop the same app is installed as:
/dats/app/com.my.application.apk/base.apk
So a backup taken from your data partition in Kitkat cannot be readily restored in Lollipop. The directory structure is just wrong and nothing works. The solution is for someone to ether write a conversion script or for the TWRP people to incorporate such a script in their future releases.
Click to expand...
Click to collapse
I noticed that in every folder in /data/app/ there is an apk called base and a folder lib, can i backup just the apk? Or when i need to share an apk or take an apk i need to take also rhe lib?
dugryce said:
I've had no problem restoring from a TWRP Backup on Lollipop numerous times.
Click to expand...
Click to collapse
What is your TWRP version? Also, did you do any wipes before you fully restored a backup?
khanam said:
After upgrading to Lollipop FOB6 firmware using full odin and then rooting and installing TWRP, I have never been able to successfully restore a backup, ever!.
Click to expand...
Click to collapse
Does yours ever end up losing touch screen sensitivity when you restore a backup? Mine always looks like it has fully restored everything, but then no response to screen taps.
senozlu1 said:
Way I dit it just use factory reset only don't wipe anything specialy internal storage and don't use format. While restoring TWRP formats partition that been restored. I'm using TWRP 2.7.2.0
Click to expand...
Click to collapse
Oh I'll try this and report back. Thanks
Sent from my SM-N900T using XDA Free mobile app
yummymango said:
What is your TWRP version? Also, did you do any wipes before you fully restored a backup?
Does yours ever end up losing touch screen sensitivity when you restore a backup? Mine always looks like it has fully restored everything, but then no response to screen taps.
Click to expand...
Click to collapse
Mine just fails. But then again I've been wiping the partitions before restoring. Maybe that impacts it?
Sent from my SM-N900T using XDA Free mobile app
khanam said:
Mine just fails. But then again I've been wiping the partitions before restoring. Maybe that impacts it?
Click to expand...
Click to collapse
One of the devs, who runs the Lollipop ROM I've been using, warned against restoring data. He suggested backing up apps + data through Titanium Backup instead. Maybe it depends on the ROM?
najoor said:
I think what is going on is that the directory structure in Lollipop is a little different from the one in Kitkat. To give you an example, the user installed applications in Kitkat are placed under /data/app like this:
/data/app/com.my.application.apk
But in lollipop the same app is installed as:
/dats/app/com.my.application.apk/base.apk
So a backup taken from your data partition in Kitkat cannot be readily restored in Lollipop. The directory structure is just wrong and nothing works. The solution is for someone to ether write a conversion script or for the TWRP people to incorporate such a script in their future releases.
Click to expand...
Click to collapse
Hi
I have a rooted S4 running Carbon. Im using TWRP 2.8.5.0 and can backup and restore any
KK rom with no issues. I can flash Lollipop and backup but it will not restore this backup.
Its says restore successful but then just boots back into recovery. If someone could resolve
this it would be great
Hello all,
TB doesn't seem to pick up the apk file when backing up which is quite frustrating. Does anyone have a solution?
i had backup using TWRP 2.8.7.0 my stock TW lollipop rom...Now i had flashed Dirty Unicorns v9.5...If i wanted to goto stock rom that nandroid backup wont work??? thats what people are complaining over here??
Does anyone know if / how to do a full device backup and (have successfully) restored it?
I've been told TWRP doesn't work when restoring yet.
I can't see nandroid backup as an option in the toolkit.
prot- said:
Does anyone know if / how to do a full device backup and (have successfully) restored it?
I've been told TWRP doesn't work when restoring yet.
I can't see nandroid backup as an option in the toolkit.
Click to expand...
Click to collapse
There is a adb command for it but I don't know it lol give it a Google sure it's easy to find
jaythenut said:
There is a adb command for it but I don't know it lol give it a Google sure it's easy to find
Click to expand...
Click to collapse
Yeah I've heard that too but can't find it. That's why I asked.
prot- said:
Does anyone know if / how to do a full device backup and (have successfully) restored it?
I've been told TWRP doesn't work when restoring yet.
I can't see nandroid backup as an option in the toolkit.
Click to expand...
Click to collapse
I found this, I'd like to know if it works.
http://www.technipages.com/how-to-backup-your-entire-android-device
Yah
"adb backup" works. You need the same firmware factory image flashed as your backup in order to restore (for optimal compatibility... Unmatched system and restore are unintended but may be fine in some cases...)
Oh. No. Not rooted. It isn't Nandroid. But it is a much faster device setup overall and re root takes 10 minutes when your computer is already ready to flash.
Sent from my sailfish using XDA Labs
nednednerb said:
Yah
"adb backup" works. You need the same firmware factory image flashed as your backup in order to restore (for optimal compatibility... Unmatched system and restore are unintended but may be fine in some cases...)
Oh. No. Not rooted. It isn't Nandroid. But it is a much faster device setup overall and re root takes 10 minutes when your computer is already ready to flash.
Click to expand...
Click to collapse
Ok so unroot (by reflashing boot.img on a and b) and then adb backup? Have u restored?
Also do you have the command handy?
prot- said:
Ok so unroot (by reflashing boot.img on a and b) and then adb backup? Have u restored?
Also do you have the command handy?
Click to expand...
Click to collapse
Oh you can adb backup while rooted. It doesn't backup boot or system partitions.
It does backup settings, user apps, and shared or user data.
In order to restore,
You need to first flash-all a factory image in fastboot (this unroots you)
before restoring via adb restore in stock recovery (you could dirty restore, but usually restores may be for fixing bootloops and not replacing user data from past over a working setup)
and then boot normally to see it works.
Then go back an reroot.
The two primary commands would be:
1)
adb backup -all -apk -shared -f backupfilenamedateetc.ab
(Run the backup command while booted up, screen on, and USB debugging is on)
2)
adb restore backupfilenamedateetc.ab
(Run this command while in stock recovery)
Sent from my sailfish using XDA Labs