New Galaxy Nexus Unlock/root/mod/restore - Samsung Galaxy Nexus

Hi all, I know there are separate threads for all of this but I'd really appreciate if someone could just clarify if I'm doing this correctly. I've just ordered a new uk Gnex (wahey), and am in the process of backing up my apps (titanium backup) and copying my SDcard contents onto my PC, for when the Gnex comes. This is my game plan:
1) Use gnex toolkit to unlock bootloader, root and flash CWM
2) Flash rom of choice (cm9 nightly)
3) Flash gapps
4) Flash kernel
5) Copy old sdcard contents (pics, songs, titanium backup folder etc) from my Nexus one into the /data/media folder.
6) install titanium backup and restore apps and data (not system)
7) Sync all contacts etc
8) ???
9) Profit
Am I missing any steps here? Thanks in advance.

relax24 said:
Hi all, I know there are separate threads for all of this but I'd really appreciate if someone could just clarify if I'm doing this correctly. I've just ordered a new uk Gnex (wahey), and am in the process of backing up my apps (titanium backup) and copying my SDcard contents onto my PC, for when the Gnex comes. This is my game plan:
1) Use gnex toolkit to unlock bootloader, root and flash CWM
2) Flash rom of choice (cm9 nightly)
3) Flash gapps
4) Flash kernel
5) Copy old sdcard contents (pics, songs, titanium backup folder etc) from my Nexus one into the /data/media folder.
6) install titanium backup and restore apps and data (not system)
7) Sync all contacts etc
8) ???
9) Profit
Am I missing any steps here? Thanks in advance.
Click to expand...
Click to collapse
The only thing I would add is to make sure you know how to use fastboot to recover in case you need it, while the gnex toolkit is nice I think it is a must to make sure you have the fastboot drivers working from a command prompt in case you need it.

jhernand1102 said:
The only thing I would add is to make sure you know how to use fastboot to recover in case you need it, while the gnex toolkit is nice I think it is a must to make sure you have the fastboot drivers working from a command prompt in case you need it.
Click to expand...
Click to collapse
Well I used fastboot to unlock by nexus one and root it and flash radios...Only the basics however. Hopefully that's enough
Thanks!

relax24 said:
Hi all, I know there are separate threads for all of this but I'd really appreciate if someone could just clarify if I'm doing this correctly. I've just ordered a new uk Gnex (wahey), and am in the process of backing up my apps (titanium backup) and copying my SDcard contents onto my PC, for when the Gnex comes. This is my game plan:
1) Use gnex toolkit to unlock bootloader, root and flash CWM
2) Flash rom of choice (cm9 nightly)
3) Flash gapps
4) Flash kernel
5) Copy old sdcard contents (pics, songs, titanium backup folder etc) from my Nexus one into the /data/media folder.
6) install titanium backup and restore apps and data (not system)
7) Sync all contacts etc
8) ???
9) Profit
Am I missing any steps here? Thanks in advance.
Click to expand...
Click to collapse
Be sure that you have the same version of ICS running before restore. Data of contacts can be stored differently. I had that problem coming from 4.0.1 to 4.0.2, causing a bootloop. Contacts can better be synchronized through your Google account.
Sent from my Galaxy Nexus using xda premium

I would do it all manually, not using the Toolkit so you undertsand how the phone works and what you're doing.
Unlock the bootloader, flash CWM, flash SU, erase the file which causes the recovery to be overwritten, flash CWM again, backup, enjoy.

hEaTLoE said:
I would do it all manually, not using the Toolkit so you undertsand how the phone works and what you're doing.
Unlock the bootloader, flash CWM, flash SU, erase the file which causes the recovery to be overwritten, flash CWM again, backup, enjoy.
Click to expand...
Click to collapse
Are there any advantages to doing it manually rather than the toolkit. I feel comfortable knowing what's happening in the background, just thought the toolkit would be easier than doing it manually?

rooted yesterday, included the links I used.
I've rooted a Droid X2 by hand before, which was fun, but I didn't feel like doing it all manually again. What's important is that you learn the inner workings of the OS, especially the general workflow of the bootstrap process.
I rooted my gnex-toro yesterday, using the GNex Toolkit by mskip. I did this after reading several step-by-step walkthroughs of the process. mskip's tool works quickly and efficiently. Once I had the ClockWorkMod Recovery installed, I was able to replace 4.0.2 with das7892's build of 4.0.4 IMM76D. I then replaced Verizon's Radio APKs with the versions from the leaked 4.0.4 IMM30B. It runs so well now. I'm getting about double the battery life, and strong signal all around. Also, das7892 introduced me to the Apex Launcher, which is pretty awesome.

Related

[Q] GNex TOOLKIT V4.1 by mskip

I am new to this site and also new in using Android phone. I have just received my GNex today, and plan to unlock, root and back it up, as well as install some useful apps. Would anyone with experience please provide me with inputs, which will very much be appreciated!
My questions are:
a. Is this the only one which can backup, unlock, root, CWM, and flash to date?
b. Is there any other which have a GUI interface?
c. Do I need to install CWM separately? If yes, does it create a Nandriod bacup (of my entire system including boot image, data and system partitions? Is that option 2?
d. I would like to create the most original backup of my entire system possible in case if I have to return it for repair. Can I just use option 2? If not, what other function or combonations should I carry out before I can do a Nandriod back-up?
e. Is this development residing in my computer or the phone or partial?
DA001 said:
I am new to this site and also new in using Android phone. I have just received my GNex today, and plan to unlock, root and back it up, as well as install some useful apps. Would anyone with experience please provide me with inputs, which will very much be appreciated!
My questions are:
a. Is this the only one which can backup, unlock, root, CWM, and flash to date?
b. Is there any other which have a GUI interface?
c. Do I need to install CWM separately? If yes, does it create a Nandriod bacup (of my entire system including boot image, data and system partitions? Is that option 2?
d. I would like to create the most original backup of my entire system possible in case if I have to return it for repair. Can I just use option 2? If not, what other function or combonations should I carry out before I can do a Nandriod back-up?
e. Is this development residing in my computer or the phone or partial?
Click to expand...
Click to collapse
a. Gnex toolkit use fastboot,abd tools. You can use also these tools.
b. i don't know.
c. you install cmw through gnex toolkit or with rom manager.
only in recovery mode(cwm) you can do nandroid backup.
Option 2 in thread of gnex toolkit: (+Added Backup/Restore option to back up your apps user data, apks and internal storage. You can backup the user data of a single package if you wish and the ToolKit will display a list of all install apps so you can input the correct text).
d. you can do nandroid backup in cmw.
e. nandroid backup or what? nandroid backup is residing on the phone.

What to do before giving phone to a family member?

So it's a little different from just selling it to a stranger because I don't want to just wipe everything clean. (as in return it to factory state, unrooted etc.)
I have CM10 running on the phone and I want to keep it rooted and running CM10, I just want to wipe all traces of my Google accounts and apps/data/messages/settings + also get rid of things like nandroid backup, media files, pics etc on the "sd card" directory.
If I select 'factory data reset' under settings - backup & reset in CM10, will it
1) keep CM10/root?
2) erase everything on the SD including nandroid backup, other files on the SD etc.
Thanks.
mgs333 said:
So it's a little different from just selling it to a stranger because I don't want to just wipe everything clean. (as in return it to factory state, unrooted etc.)
I have CM10 running on the phone and I want to keep it rooted and running CM10, I just want to wipe all traces of my Google accounts and apps/data/messages/settings + also get rid of things like nandroid backup, media files, pics etc on the "sd card" directory.
If I select 'factory data reset' under settings - backup & reset in CM10, will it
1) keep CM10/root?
2) erase everything on the SD including nandroid backup, other files on the SD etc.
Thanks.
Click to expand...
Click to collapse
1) CM10 will be kept, but root may not be working then you only have to flash the su.zip again from recovery
2) SD card should not be affected so basically just delete the data you want to delete from it using any file manager app
Actually I like to do such things from recovery so considering you want the phone as clean as possible, then you may follow the following steps if you wish:
1) Do Full wipe from recovery
2) Install CM10
3) Install Gapps (I assume your family member will definitely need Play Store at least )
4) Install su.zip for root
5) Reboot and do not enter your google account in the startup wizard, just skip it.
Then you should have a rooted CM10 with Gapps and ready for your family member Gmail account
You're making it more complicated than needed.
1. Plug the phone to usb (or use a file manager app)
2. Delete all the folders that you don't want (or cut them for your phone to your computer to back up pictures or whatever it may be)
3. Go into recovery and wipe: dalvik, factory, cache
4. Optional: re flash rom (to latest cm), with kernel.
5. Done.
Sent from my Nexus 4 using xda premium
---------- Post added at 01:53 PM ---------- Previous post was at 01:41 PM ----------
ahmadallica said:
1) CM10 will be kept, but root may not be working then you only have to flash the su.zip again from recovery
2) SD card should not be affected so basically just delete the data you want to delete from it using any file manager app
Actually I like to do such things from recovery so considering you want the phone as clean as possible, then you may follow the following steps if you wish:
1) Do Full wipe from recovery
2) Install CM10
3) Install Gapps (I assume your family member will definitely need Play Store at least )
4) Install su.zip for root
5) Reboot and do not enter your google account in the startup wizard, just skip it.
Then you should have a rooted CM10 with Gapps and ready for your family member Gmail account
Click to expand...
Click to collapse
Oh yeah and I forgot flash gapps. You won't need to flash su.zip because superuser.apk is already included with cm10 as well as every other custom rom.
All superuser is a apk. Hence su.zip flashes superuser.apk into /system/apps/
Sent from my Nexus 4 using Tapatalk 2
mgs333 said:
So it's a little different from just selling it to a stranger because I don't want to just wipe everything clean. (as in return it to factory state, unrooted etc.)
I have CM10 running on the phone and I want to keep it rooted and running CM10, I just want to wipe all traces of my Google accounts and apps/data/messages/settings + also get rid of things like nandroid backup, media files, pics etc on the "sd card" directory.
If I select 'factory data reset' under settings - backup & reset in CM10, will it
1) keep CM10/root?
2) erase everything on the SD including nandroid backup, other files on the SD etc.
Thanks.
Click to expand...
Click to collapse
Like others suggested.
But i would like to suggest this as well:
I recommend you to return it to full stock configuration as this may come back and haunt you in the future(family member screw it up)..

I think CWM screwed me

I should be able to flash a backup I made with CWM recovery in CWM recovery, correct? Or would I have to adb push it?
I moved to 4.2.1 but not a fan of it at this point and want to go back using a backup (4.1.2) I made with CWM, but it won't flash. So at this point I'm trying to save my photos, notes, texts, and my titanium backup of apps and do a complete wipe using wugs (unroot/relock then reroot/unlock). Or should I be able to get away with just doing a format on my sdcard/system/cache/data and data/media (options in CWM)? Since going to 4.2.1 I have also lost a significant amount of free space.
BTW I have tried TWRP before and went back because I didn't like the layout but damn if your recovery can't even handle its own backups what the hell is it good for? TWRP here I come again.
you know it moves everything to a folder called 0 on the internal memory, right...?
A lot of the following is probably overkill but what I'd do is...
1. Backup everything I wanted to keep when in Android 4.2.1 onto my PC (Nandroid backups, photos, music, etc.)
2. Flash the factory 4.1.2 image
3. Boot up to make sure it's working
4. Restore nandroid in CWM
Chances are there are easier ways of doing this but I'd be happy knowing that is 100% right then have the potential for it going wrong
derekwilkinson said:
you know it moves everything to a folder called 0 on the internal memory, right...?
Click to expand...
Click to collapse
Bud I have tried to flash it out of every folder I have access to in CWM Recovery
The folder's I have tried, after choosing install zip from sdcard:
sdcard/0/clockworkmod/backup/ - 4 backups in here but wont flash any of them - says no files found when I try to flash one
sdcard/clockworkmod/backup/ - can actually see 2 backups in here (ones I don't want, just wanted to see where they were placed in 4.2)
sdcard/legacy/ - no files found
But stupid me did just realize the CWM backups I have been creating aren't zips? So I need to figure out how to get to sdcard/clockworkmod/backup and place my backup folders here. So I will be able to see them when I choose Backup and Restore - Restore
CWM can't see the backups in the '0' folder, it stores them on /data/media (or is it /media/data??) so unless you have a file manager with root access you won't get them back
EddyOS said:
CWM can't see the backups in the '0' folder, it stores them on /data/media (or is it /media/data??) so unless you have a file manager with root access you won't get them back
Click to expand...
Click to collapse
My my my you are the man. It looks like it is data/media/clockworkmod/backups.
I am going to try to Restore my latest 4.1.2 nandroid tonight, after I had a chance to back every thing up, but I'm guessing it's going to keep the current file structure though.
The best way to upgrade to 4.2.1 from 4.1.2 is
1.Flash all factory images from fastboot apart from recovery,@ recovery step flash twrp 2.3.3.0 and you are all set to no '/0' bug,
2. Downgrade to 4.1.2 ? Flash factory images of 4.1.2 , just keep the recovery as twrp 2.3.3.0, at present it is the best possible recovery for maguro for handling the '/0' bug , it doesnot delete the layout file.
And restoring nandroids in between the versions can make every file very clumsy, take some time and flash stock images to get rid of that.
BaMaDuDe87 said:
My my my you are the man. It looks like it is data/media/clockworkmod/backups.
I am going to try to Restore my latest 4.1.2 nandroid tonight, after I had a chance to back every thing up, but I'm guessing it's going to keep the current file structure though.
Click to expand...
Click to collapse
After downgrading you will still have the /0/ folder with all data. So many apps wont recognize that the backups are there available to be restored. You can just point to the "new" backup location that now exists in the /0/ directory.
Example: Titanium backup will tell you there is no restore data unless you go into preference and point it to the right folder in /0/.
Example 2: Nova launcher will not see the backups. Manually move them via Root explorer or similar from the /0/data/ to the /data/
..and so on.
I guess I will be flashing the factory image then.
1. Backup everything I need/want (photos, notes, sms, and grab latest copy of titanium backup folder)
2. Format system/cache/sdcard just because
3. fastboot - factory image (4.1.2)
4. Phone should still be unlocked/rooted (on current bootloader/radios correct?)
5. fastboot - twrp
5. Restore everything else
Or use Wugs to take back to stock, then fastboot unlock, root, add CWM recovery might be the easier way at this point. Restore nandroid and everything else. Then add TWRP and remove CWM.
Sorry trying to talk this out with you guys and wrap my head around what I am in for. I know it's not hard, just frustrating to think I could possibly lose some things.
Better Recovery TWRP
BaMaDuDe87 said:
I guess I will be flashing the factory image then.
1. Backup everything I need/want (photos, notes, sms, and grab latest copy of titanium backup folder)
2. Format system/cache/sdcard just because
3. fastboot - factory image (4.1.2)
4. Phone should still be unlocked/rooted (on current bootloader/radios correct?)
5. fastboot - twrp
5. Restore everything else
Click to expand...
Click to collapse
Not to be bossy but the latest version of TWRP seems to do a better job handling user folder /0. Its also touchscreen and [email protected]$$ so there is really no comparison....:highfive:
Yea I tried it, thought I was more comfortable with CWM and this bit me in the ass, so TWRP it is when I get everything straightened out

[Q] more elegant way to wipe and then restore EVERYTHING

Hi-
If i want to not only wipe system, data, cache but the /data/media partition as well before installing a new ROM, what's the least onerous method for restoring all my data after flashing the new ROM? currently all i know to do is backup my data, wipe everything, then restore factory image via adb, then copy zips to the device, flash desired ROM, then copy back data via adb or from dropbox after installing app
Is there an easier way?
titanium backup is the easiest way.
just dont restore system apps.
1. Run a backup in titanium backup
2. Copy the contents of your /data/media partition to your PC via adb or MTP (this should include your TiBu backup)
3. Wipe System, Data, Userdata, and the caches via method of your choice
4. Copy the contents of your /data/media backup back to /data/media via adb
5. Use adb to push a ROM of your choosing to /data/media (assuming you didn't have one in your /data/media backup, and assuming you're not using fastboot to flash a stock image)
6. Flash away (Recovery, if needed, and System via either fastboot or CWM/TWRP)
7. Download TiBu from the Play Store
8. Restore non-system apps/data in TiBu
However, if you're going to make a backup of /data/media and then restore it immediately after wiping it, I have to ask why? It's a time consuming process (transferring gigs via adb is very slow) and would provide no benefit to your device.
Also, if you're going from Android 4.1.x to 4.2.x, make sure your /data/media backup goes back in /data/media/0, or the OS will not see the files as being on your "external" storage.
Zepius said:
titanium backup is the easiest way.
just dont restore system apps.
Click to expand...
Click to collapse
Oh im definitely using titaniumbackup to restore apps, but i was mostly referring to restoring the contents of the sdcard
Thanks!
jackbane said:
Oh im definitely using titaniumbackup to restore apps, but i was mostly referring to restoring the contents of the sdcard
Thanks!
Click to expand...
Click to collapse
Using twrp I wipe cache, davlik, factory reset, and system and my sdcard is untouched. I was told by a dev to also delete the android folder in my sdcard using the twrp file manager.
No need to flash stock image when wiping everything just fast boot flash the rom you want and adb is the best way to restore your sdcard
Cilraaz said:
However, if you're going to make a backup of /data/media and then restore it immediately after wiping it, I have to ask why? It's a time consuming process (transferring gigs via adb is very slow) and would provide no benefit to your device.
Click to expand...
Click to collapse
I know, I know...I have this idea of after flashing many different ROMs and finding my keeper, that I would totally wipe the device and then install a super clean ROM, and start with a virgin /data/media partition, bringing back only what I want. I recognize that this is probably unnecessary and says more about my desire for neatnes than anything else.
But thanks for the detailed instructions. Until now, I have been using the GNex Toolkit downloaded from the sticky in the dev forum to handle all pushes and pulls and adb duties. I thought that to push a file to the device, it had to be in Android mode. This is why I found myself having to flash the stock rom just to copy back the contents of /data/media. It sounds like, from the posts in this thread, that I don't need to, that I should be able to copy the files from fastboot mode? Or do I temporarilty boot into an image to push files, then flash the ROM from TWRP. (I'm using TWRP 2.4.1.0, btw).
If I could avoid installing the factory ROM, just to copy back /data/media/, that's what I'm looking for. Do you know if this is possible using the GNex toolkit?
Thanks again!
you have full ADB access within any custom recovery. toolkits not required.
Zepius said:
titanium backup is the easiest way.
just dont restore system apps.
Click to expand...
Click to collapse
I always wondered about this. Does the stock browser qualify as a system app? Should i not use titanium to restore any of the gapps?
jackbane said:
I always wondered about this. Does the stock browser qualify as a system app? Should i not use titanium to restore any of the gapps?
Click to expand...
Click to collapse
The best option for titanium, is to select BATCH, RESTORE MISSING APPS+DATA
Go down the list and deselect anything you DONT want restored. everything else should be OK on that screen.
Also, make sure you have the pro license, otherwise batch jobs are a PITA
There is also an option in the MENU button - BACKUP TO XML
This option allows you to backup call logs, wifi networks, mms/sms, bookmarks separately from the other backups and works 100% going rom to rom.
Everybody is recommending TiBU, and I concur, but OP is talking about all the other contents of the sdcard..
I actually just did this today. I had been on cm10.1 but went back to cm10 for a while, getting the extra /0/ folder and all. I was going to just copy EVERYTHING over to my comp, but ended up just copying a few music folders and a few backup folders. After flashing cm10.1 and gapps, I formatted the sdcard. Now I'm transferring those few folders back. I had a FULL sdcard before, so it feels good to have some space, that is until I think of something I wanted that I didn't copy lol..

HELP: boot freezes after installing new system font!

Hello,
Please i need help in my phone, I've installed "Font Installer ★ Root ★" App from Play Store, then i've changed my system font, then when i tried to restart the phone it freezes on boot Nexus logo.
I've tried to wipe cash... nothing changed..
My Phone info:
- Officially upgraded to 4.2.1, notifications for 4.2.2 shows but i didn't upgrade it yet.
- Unlocked (using nexus toolkit 10)
- Unrooted (using nexus toolkit 10)
=========
I need to solve this problem without losting any of my data... sms, photos, files, apps, and specially it's data.
Is it possible to install rom without formating and flashing the current rom? i don't have custom recovery btw.. it's the original Android, so i don't have backup command in it's menu.. only read from ADB, read from USB, flash data, flash cash.
Please help, i'm ready for any consequences... PLEASE! :crying:
(Sorry for bad english!) :cyclops:
update
i've tried to install "clockworkmod recovery" from the fastboot, it says installed successfully, then it need restart..
but while my phone didn't complate the starting up, i've removed the battery then back to recovery mod... but the problem is stock recovery still in!!! and there's nothing updated!!!
I've installed "Clockworkmod" also I've tried "TWRP" and made a backup on internal storage...
but it doesn't matter!! cuz i can't mount this memory on pc to copy these files.. cuz the SDCARD is only folder in internal memory for galaxy nexus!!
i need to copy my files from SDCARD folder to my PC... Any Help!!!
You may want to try to flash system img through fastboot. You don't need a custom custom recovery to do that. There should be a sticky in one of the gnex sections on how to do it. Make sure you always make a backup before changing anything in the system partition, this stuff happens and that is the only way to restore without losing the data that you are not wanting to lose.
Sent from my Galaxy Nexus

Categories

Resources