Related
If i root using these directions, and dont flash a new recovery will it just be rooted so I can use SU (setCPU, root explorer, etc..) and still have the stock rom or is that not possible?? Thanks!!
1. Download this file — PC36IMG.zip — and copy it to the root of your SD card.
2. Turn off phone. Then power back on holding the power and volume button. **If the PC36IMG files was placed correctly and you successfully booted into the bootloader, you should see text appearing on the screen as the phone automatically checks said file.
3. At the prompt to install the image(s), select “Yes”.
4. Reboot
5. Delete or rename the PC36IMG file so that it won’t automatically try to install it again the next time you venture into bootloader land.
Click to expand...
Click to collapse
ValdreZ said:
If i root using these directions, and dont flash a new recovery will it just be rooted so I can use SU (setCPU, root explorer, etc..) and still have the stock rom or is that not possible?? Thanks!!
Click to expand...
Click to collapse
Yes. You will have root permissions/privileges to execute apps that need root permissions (SetCPU, etc) and you'll also still have a stock phone.
To install a custom recovery, you would need to download/install the evorecovery.zip file to achieve this. Personally, it would be in your best interest to install the recovery Toast/AmonRA have created... if you ever wanted to install a custom ROM, do a Nandroid backup, etc in the future then this would be the only way to go about doing that.
It's up to you, but for now... the above directions will allow you to achieve root access, without a custom recovery, while still keeping the phone as "stock".
If you want more info about root or installing the recovery, go HERE
Ok any draw backs on just rooting it without the custom recovery or rom?
I do like the feel of the stock rom on there but just wish I had root permissions for certain apps.
ValdreZ said:
Ok any draw backs on just rooting it without the custom recovery or rom?
I do like the feel of the stock rom on there but just wish I had root permissions for certain apps.
Click to expand...
Click to collapse
The only drawbacks are that you wouldn't be able to make a Nandroid back up right away, which is usually an important thing to do. Plus, you don't get the added bonus of installing a recovery or installing a custom ROM, which at the moment is being able to install Android 2.2 -- a.k.a Froyo.
But, by installing the root exploit, you will/should be able to run apps that require root permissions.
What's can you do with nandroid backups? What is it?
iLLestCoW said:
What's can you do with nandroid backups? What is it?
Click to expand...
Click to collapse
Creating a nandroid backup is simply taking an image of the entire phone at that moment in time. So if you were to flash a custom rom later on, you have the ability to reboot into recovery and restore the last nandroid you made for whatever reason (you screwed up, or didn't like it).
I don't believe that they have unlocked the nandroid part of recovery yet, so you may have to wait until a dev, or devs figure it out. You can still root and push the recovery image, but the nandroid part doesn't exist yet for this phone.
iLLestCoW said:
What's can you do with nandroid backups? What is it?
Click to expand...
Click to collapse
Dave2582 said:
I don't believe that they have unlocked the nandroid part of recovery yet, so you may have to wait until a dev, or devs figure it out. You can still root and push the recovery image, but the nandroid part doesn't exist yet for this phone.
Click to expand...
Click to collapse
If there is a recovery, there will be always be a Nandroid option.
From the above mentioned link I posted a while back (and I quote) from here:
"- at this point turn your attention to the phone and navigate to create a Nandriod Backup. you can now flash custom roms, write, and make changes to system."
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.
Specs: I had Galaxy Nexus LTE 4.0.4 w/ unlocked bootloader and root access. I have the GN toolkit if that helps.
Cause: I used the Font Installer app to change system font. I now know that not all of the fonts are working properly and emailed the developer about it. However, I am currently stuck in a boot loop after changing to one of the fonts.
I would prefer to not lose everything and if I didn't care about that, then I would just go for it and I think that I could get it working again. But since it was just a font change, I thought it might be possible to fix it without going through all of that. I am hoping I can just change some system files or something and get it to boot then select a different .tff font that I know works. THANKS!
If I reload the 4.04 update.zip that I still can access, will that wipe everything/will I have to re-setup a bunch of things? Is it OK to clear cache partition and Dalvik Cache? Thank you.
Did you take a nandroid backup of this ROM at any point? If so, you could do an advanced restore of system only.
Sent from my Galaxy Nexus using Tapatalk
cmstlist said:
Did you take a nandroid backup of this ROM at any point? If so, you could do an advanced restore of system only.
Click to expand...
Click to collapse
No, unfortunately I did not, but I will look into that once I am back up and running.
**EDIT: I have CWM Recovery v5.5.0.4 running now. Is it possible to do a backup at THIS point in time and then restore everything but system?
Druas said:
No, unfortunately I did not, but I will look into that once I am back up and running.
**EDIT: I have CWM Recovery v5.5.0.4 running now. Is it possible to do a backup at THIS point in time and then only restore system?
Click to expand...
Click to collapse
Okay. In that case, flashing the ROM's update.zip should work and shouldn't wipe your data. Best to take a nandroid backup first, just in case of trouble.
Sent from my Galaxy Nexus using Tapatalk
cmstlist said:
Okay. In that case, flashing the ROM's update.zip should work and shouldn't wipe your data. Best to take a nandroid backup first, just in case of trouble.
Click to expand...
Click to collapse
Ok I made the backup first. When I try to load the update.zip though, it says, "assert failed: appy_patch_check("/system/fonts/Roboto-Regular.ttf" <then a whole BUNCH of numbers and letters which I can type out if they will actually be helpful> "E:Error in /sdcard/Download/update.zip (Status 7) Installation aborted."
Is that an incremental update.zip for upgrading? What you need is a zip containing the entire ROM.
Alternately use fastboot to flash system.img from the stock ROM if you were already using stock.
Sent from my Galaxy Nexus using Tapatalk
cmstlist said:
Is that an incremental update.zip for upgrading? What you need is a zip containing the entire ROM.
Click to expand...
Click to collapse
Yeah I used: http://forum.xda-developers.com/showthread.php?t=1481044 So I need to install 4.0.2 first? Unfortunately that is the only upgrade.zip I have on my phone and I don't know how to load new ones on there without booting into Android.
cmstlist said:
Alternately use fastboot to flash system.i mg from the stock ROM if you were already using stock.
Click to expand...
Click to collapse
What? Can you explain further? I was using stock 4.0.4
Druas said:
Yeah I used: http://forum.xda-developers.com/showthread.php?t=1481044 So I need to install 4.0.2 first? Unfortunately that is the only upgrade.zip I have on my phone and I don't know how to load new ones on there without booting into Android.
What? Can you explain further? I was using stock 4.0.4
Click to expand...
Click to collapse
You can download another zip to your computer and use adb push to get it onto the GN's internal storage.
I don't have the CDMA version but here's what I am able to find. Check this thread:
http://forum.xda-developers.com/showthread.php?t=1481613
A completely stock 4.0.4 (aside from root, busybox, de-odex) from that thread is here:
http://dev-host.org/uMJ
So you download that to your computer and put it in the same folder as adb. Boot the phone into Clockwork Recovery and then plug it into your computer. (There are other guides to getting adb to work on your phone so I won't cover that here.) Run adb devices to make sure it sees your phone. In Clockwork you also have to go to mounts and storage and make sure /data is mounted.
Then:
adb push GalaxyNexusCDMA-4.0.4-StockRootedNoRadio.zip /sdcard/stock.zip
Subsequently in Clockwork, you will be able to find that stock.zip in the list of zips you can apply. After applying that zip, any damage caused by messing with the fonts should be reverted.
---- or ----
The alternative would be to download the factory 4.0.2 image from here:
https://dl.google.com/dl/android/aosp/mysid-icl53f-factory-65895fa8.tgz
Inside that archive is a system.img file which you can flash to the phone by fastboot over USB. Immediately afterwards, you would then boot into CWM and apply the incremental update.zip you already have on there. This will take you to stock 4.0.4 unrooted and hopefully bootable!
cmstlist said:
The alternative would be to download the factory 4.0.2 image from here:
Inside that archive is a system.img file which you can flash to the phone by fastboot over USB. Immediately afterwards, you would then boot into CWM and apply the incremental update.zip you already have on there. This will take you to stock 4.0.4 unrooted and hopefully bootable!
Click to expand...
Click to collapse
While your instructions were good, I tried some things on my own about 20 min before you made that post and screwed up and erased userdata. So, I cannot say for sure if it would have worked, but I bet it would have and I wish I had been more patient.
Sorry to hear. Is it bootable now at least?
The userdata erase problem is why I now have to remember in every phone recovery situation - adb pull the entire contents of internal storage from within CWM before doing anything risky.
Sent from my Galaxy Nexus using Tapatalk
Yeah the phone has booted, I just have to spend some time recovering what I can. I will hopefully make better backups for the future. At least I learned some stuff. I still can't believe this was all caused by changing a FONT in a program designed to change fonts.
Druas said:
Yeah the phone has booted, I just have to spend some time recovering what I can. I will hopefully make better backups for the future. At least I learned some stuff. I still can't believe this was all caused by changing a FONT in a program designed to change fonts.
Click to expand...
Click to collapse
Right, well this font changer program edits the system partition of your phone, which makes it risky. In the future, the best course of action with any "risky" change is:
- Take a nandroid backup first.
- Copy the nandroid backup out of the phone (it's in a subfolder of clockworkmod on internal storage).
- If you are doing anything that leads you to fear that the whole internal storage could get blanked, copy all of that out of the phone too.
- Now if you can't boot, you can selectively restore the system partition or the whole thing to try and fix it.
- And now if your internal storage gets blanked, your backup is safe.
cmstlist said:
Right, well this font changer program edits the system partition of your phone, which makes it risky. In the future, the best course of action with any "risky" change is:
- Take a nandroid backup first.
- Copy the nandroid backup out of the phone (it's in a subfolder of clockworkmod on internal storage).
- If you are doing anything that leads you to fear that the whole internal storage could get blanked, copy all of that out of the phone too.
- Now if you can't boot, you can selectively restore the system partition or the whole thing to try and fix it.
- And now if your internal storage gets blanked, your backup is safe.
Click to expand...
Click to collapse
Yeah I had no idea that there was a significant risk involved, otherwise I would have been more cautious. Some questions I have:
-With Titanium Backup, the only thing I need to be running batch backups of is all user apps + system data correct? And only restore apps not system data unless I am on the exact same ROM as before?
-Again with TB, is there stuff it consistently misses that I should backup manually?
-I always launched CWM Recovery through the GN toolkit using "6. Flash CWM Recovery, Standard." And sometimes I would select Recovery from the Fastboot menu and it would be back at the regular recovery. Is there a different way I should have been going about getting to the nandroid backup?
-I have now installed ROM Manager and hit "Flash CWM Recovery" and I have a nandroid backup when I reboot into recovery. Does this mean any time I choose Recovery from the Fastboot menu that it will boot into CWM Recovery?
Thanks again for all your help and advice!
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 want to root my device, and for that I need to go back to 4.4, but I didn't want to lose all my stuff.
Is it possible to do a full nandroid backup (or atleast the /data partition) so I can restore it when I'm back at bump'd 5.0?
I discovered a adb command called "backup", not sure how it goes though
DarknessWarrior said:
Hey, I want to root my device, and for that I need to go back to 4.4, but I didn't want to lose all my stuff.
Is it possible to do a full nandroid backup (or atleast the /data partition) so I can restore it when I'm back at bump'd 5.0?
I discovered a adb command called "backup", not sure how it goes though
Click to expand...
Click to collapse
You can save your installed apps and data with Helium (Pro) to the cloud or sdcard for instance. Copy pics/video`s and music to the pc and place it back after you flashed a rom later. A full backup cannot be done without root.
DarknessWarrior said:
Hey, I want to root my device, and for that I need to go back to 4.4, but I didn't want to lose all my stuff.
Is it possible to do a full nandroid backup (or atleast the /data partition) so I can restore it when I'm back at bump'd 5.0?
I discovered a adb command called "backup", not sure how it goes though
Click to expand...
Click to collapse
http://android.stackexchange.com/qu...es-adb-backup-and-how-do-i-restore-part-of-it
http://lifehacker.com/the-most-useful-things-you-can-do-with-adb-and-fastboot-1590337225
I hope these help you.
thanl you both, I'll try those methods
Bricked LG k540
gee2012 said:
You can save your installed apps and data with Helium (Pro) to the cloud or sdcard for instance. Copy pics/video`s and music to the pc and place it back after you flashed a rom later. A full backup cannot be done without root.
Click to expand...
Click to collapse
Sir i bricked my device LG K540/LG LS775 CRICKET USA and not backup but i took dump after brick the phone I have system.IMG file but and tried to remove the effected block using WINHEX but i dont know to make it flashable cause I am new to LG and nobody is helping me to provide the flashable system file ... When i turn on it with the lg logo it says Boot veryfication fail mismatch sig_lem can you help me out for LG device i am NOOB..
Please
Root my stylo 2 how