yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] Pancakes_Gio:
Please spray it on the cm9 thread!!:p:p:D

¡¡¡SAY HALLO TO MY LITTTLE FRIEND!!!
[Samsung Galaxy Nexus] nodstuff:
Ya you're right, I misunderstood what was going on.

I didn't realise you were trying to restore his apps on his stock rom before the nandroid and then backing them up too, I always do a nandroid after a bootloader unlock when its completely stock, no user apps. Did it on ns that way and gnex. No big deal tho, personal preference!
[Samsung Galaxy Nexus] h2on0:
thankyou

This is a great thread! I think if the OP keeps it going, not only setting up his computer and flashing his first rom, but also setting up either a virtual machine or dual booting linux and compiling his first rom, this could be an absolute must read. I for one read jubakuba's threads before I even purchased my gnex.

Thanks to all who are helping this 13 year old and the old man who is following along learning new stuff.
[Samsung Galaxy Nexus] theSlack:
I admit, I've been there and done that already too...

But I'm following this thread like it's my favorite soap opera. This thread is XDA at its finest.
[Samsung Galaxy Nexus] blackthund3r:
I stumbled upon this post in Tapatalk and thought it'd be interesting and started reading the childs-play stuff.

You don't have to be an adult to do this stuff. I come from the Iconia A500 dev scene. I'm 15 and I've written a suite of tools for rooting the A500/A501 on ICS including a complete Cydia-ish Bundle Market for APX Flashing complete with third party bundle report support. The days of being a university student struggling with the pain of boredom providing the motivation to write mobile hack tools are leaving us.

I understood blackra1n inside-out at 13 when I got my first iPod touch. So my message is - keep it up kid. And adults: don't be so shocked ;) we kids are taking over!
[Samsung Galaxy Nexus] blackthund3r:
At my school everything is done with Dell KACE. Every machine is done by service tag and they can PXE image them. It's how they /should/ do it. If they don't have images for every machine than they're dumb.
[Samsung Galaxy Nexus] nodstuff:
Oh my god, what's their problem, you didn't do any harm!

They have to give you back your papers too, they are yours and doing anything to your phone is not illegal activity so they can't say anything.

The only thing I can see them having any problem with is installing software on their machines and none of it is malicious so they are just being dicks.

They are just trying to scare you so don't worry, you did nothing wrong.

They sound like assholes. Detention is a bit harsh for doing nothing wrong.

Anyways enjoy detention Saturday! :P
[Samsung Galaxy Nexus] ohcanada:
I'm glad that you are more polite than many people out there, you must have great parents!

I guess going with the sdk route and fastboot command lines may take a bit more work but you can actually learn a lot from the detail processes. I finished all the root and cwm with the toolkit for samsung galaxy nexus though because I was lazy :D

These reminded me all the good old days with HTC G1. :D

Good luck and have fun~
[Samsung Galaxy Nexus] Jubakuba:
Sorry about the trouble buddy.

Glad you got everything set up though!

Props =]
[Samsung Galaxy Nexus] lchiu7:
This post brought a smile to my face as I read it.

First of a 13 year old asking about help to root/flash a GN and such a polite boy too! Then rather than being asked to kindly move along, everybody bending over backwards to help him out and from I read, successfully. Such a refreshing thing to read on an Internet forum where manners can be a lost art.

I have just gone through this process myself and I a bit older than 13 :) While most of the fastboot and adb stuff is fairly simple, getting the right drivers loaded can be a challenge because Windows installs generic drivers for the phones to support MTP and they can get in the way.

I must show my 13 year old this post - he will be amused. He is actually running a HTC Sensation which I rooted and flashed ICS to and he was watching as I did it so he is familiar with the process.
[Samsung Galaxy Nexus] yungboss22:
The most cleanest and polite thread ive ever seen :) smile on my face right now
[Samsung Galaxy Nexus] 1stx2:
:)

This thread is awesome. Good job buddy!
[Samsung Galaxy Nexus] killyouridols:
This is EXACTLY how you ask for help on XDA and EXACTLY how you reply! My faith in XDA and its users has been restored :):D

You guys are awesome! *Sobs Gently*
[Samsung Galaxy Nexus] lchiu7:
If the school doesn't have the desktop locked down then it's their fault. In a shared computer environment nobody should be able to install programs, device drivers etc. There should be no need to restore from an image unless the drive has crashed.

Punishing the kid for installing some software is an indictment of their own incompetency and it's lucky the boy's mother was IT savvy and able to see through their FUD.
[Samsung Galaxy Nexus] blackthund3r:
Exactly ^^

But then again let me leave you oh this quote:

"There is no such thing as security, merely the illusion of safety"

There should be a proper AUP and if they don't have an AUP and have no way of even enforcing one, nothing has been done wrong!
[Samsung Galaxy Nexus] killyouridols:
You out of detention yet? I NEED MY FIX! C'MON! :D
[Samsung Galaxy Nexus] Johnny-D99:
Hi guys!! Thank for all your support! I was feeling abit down because of what Mr Sparey said but mum says not to worry about it. You guys cheered me up alot!!!!

I just did my Saturday detention and it was rubbish. I had to help clean up the school with the caretaker. Pick up rubbish and clean stuff (no toilets!!)

mum says i have to shower then eat, then i can go do what i need to do!

Thank you for everything guys!!
[Samsung Galaxy Nexus] Jubakuba:
No thank YOU.

You've been more than a joy to work with. And the community desperately needs people like you. Fast learners with tact and respect.

You're an amazing guy, buddy. I can tell. I'm sure your mom is the proudest parent around.
[Samsung Galaxy Nexus] Johnny-D99:
Ok guys, i done eating!

Ok, i tried to use the code “adb restore C:\backup.ab” but it says that “adb: unable to open file c:\backup.ab” i can see it in the folder of platform-tools called “backup.ab” but it wont work.

I don’t really mind that i don’t have any apps because like nodstuff said, you can always redownload whatever apps again anyway. (that’s what the adb backup was right? ) I guess I don’t really understand how adb works. Or how to use it.

Anyway, i am going to make my nandroid now, unless the backup.ab file is really important for this to work?.
[Samsung Galaxy Nexus] Jubakuba:
No, you're fine.

If you'd like to do it manually that works too.

But a nandroid can be made at ANY point.

Doing it now...you'll always be able to return to this exact point.

Doing it later...you'd return to that point.

And you can have multiple nandroids saved at a time if you'd like (or transferred to your computer).

Try the code without the C:\backup.ab part since you let it choose the directory itself.

And if that doesn't work...

Try it with C:\android-sdk-windows\platform-tools\backup.ab instead.
[Samsung Galaxy Nexus] Johnny-D99:
codes did not work:

"adb restore C:\restore backup.ab"

"adb restore"

what did work was

"adb restore backup.ab"

nothing changed in cmd so i looked at my phone and it asked me for my password i set!

it is restoring now! its a bit slow though!

Edit:

so when this bit is done, my phone will be back to like how it was before i started all this?

[Q]how is this different from a nandroid?

[Q]should i always do a back up via adb when i change a rom?

ok, its done restoring!

time for a nandroid!
[Samsung Galaxy Nexus] Jubakuba:
Cool!

I'm going to update that portion of the guide...

Just to make it more universal as you've discovered the code I gave doesn't exactly work in a lot of cases.
[Samsung Galaxy Nexus] Johnny-D99:
maybe its because i did something wrong when setting up adb. i remember that when i did my back up, the environment variable path was pointing at ;C:\Android and not cyanogens code of ";C:\android-sdk-windows\platform-tools;C:\android-sdk-windows\tools."

i changed it to his code before doing the restore though

i also did shift right click and choose "open cammand window here" at platform tools when i opened cmd.

then i entered codes till "adb restore backup.ab" worked.
[Samsung Galaxy Nexus] Jubakuba:
I doubt it, it seems your set up is working perfectly!

I actually hadn't tested the backup utility myself :o.

Well...I did, but never actually restored it.

The FIRST thing I did when I got my phone was unlock it. So I had no reason to back up my user apps.
[Samsung Galaxy Nexus] Johnny-D99:
Hi everyone!!

erm, when I press vol up/down/power and select “recovery mode” it reboots and then I get a red triangle over a laying down android. Nothing works, so I took the battery out. the phone booted up ok. the phone works fine.

in going back to the guide, I read “However, ClockworkMod Recovery won't continue to load after this. To fix this, find "Rom Manager" from the market. (The free version is fine.) Use the "Flash ClockworkMod Recovery" option.”

Did I do something wrong with this? I downloaded Rom manager the other day and pressed flash clockwork mod. Did I do something wrong so it doesn’t work anymore? did i flash clockwork wrong?

erm, i got some bad news, my DBD dad is on the phone and i think mum is getting a bit upset. i am gunna go away for a bit.

bye for now. sorry.
[Samsung Galaxy Nexus] Jubakuba:
Try flashing it again in Rom Manager.

It doesn't bring up any errors or anything, does it?

The android lying down is just the stock recovery, so nothing is WRONG per-say...

Just not booting into a custom recovery.
[Samsung Galaxy Nexus] Mach3.2:
Haha, i'm 2 years older than him, but i choose the easy route of toolkits..

Just barely learn the commands haha..

Maybe i should relock my bootloader and flash stock, and do this all over again using the SDK.

Good read though. It's the school's fault for leaving the computer open, my school did a good job locking up all the computer.

Anyway, how can i flash a .img cwm?

read about it in Jubakuba's rooting guide:)
[Samsung Galaxy Nexus] Johnny-D99:
Hi guys!!

Sorry about before. my mum said i shoud say sorry for calling my dad a dbd. sorry.

ok, Jubakuba you were right! i had to press flash clock work mod recovery again, then i could boot up the new recovery. do i need to do this everytime i restart my phone or is there a way to set that permanantly or is that not a good idea?

i have done two nandroids, one with no apps and one with the adb restore.

[Q]is it a good idea to keep both on my phone because of space? what type of filing system do you guys think best for keeping it on pc? can i just cut/past into my area of the pc is there a better way of doing it like through adb?

i downloaded titanium backup and allowed it superuser access. it is backing up all user data as i type this.

[Q]what does it mean when i go to backup/restore in titanium backup and there are some apps marked in red? like android keyboard 4.0.4-330937, under it it says "no backup yet" there are quite a few in the list.

i am not going to bother backing up contacts because i can sync them from google and i dont really care about txts or bookmarks and stuff.

ok, now for the bit i have been working all week for!! i am really excited!

[Q]also, just to get to know adb better, do you guys think i should wipe everything and try to get back to my current position or does it not really matter?

>>>Thank you everyone for taking the time to help me and stuff.<<<
[Samsung Galaxy Nexus] nodstuff:
The reason clockwork didn't stay is because there is a script in stock ICS that writes over custom recoveries on boot but all custom roms have that removed so once you flash a rom then clockwork will stay!

You can keep one on your phone because of space and incase of any incidents in the future regarding not being able to boot into the OS and not being able to connect the USB through clockwork so keep one on there to make life easy in annoying situations.

And you can drag and drop it to your PC, just pick up the whole folder (the title of the folder will be a date) and drop it wherever you wanna put it. You'll find it in sdcard/clockworkmod/backup.

As for the red in titanium backup, they are system apps and shouldn't be backed up, they only cause problems!

If you don't have any stuff to backup you can skip titanium.

I think you know enough about adb to carry on, the toughest part is setting it up and getting the path in the environmental variables sorted out and you have that so the rest is a case of reading up in it and trying it out.

Fastboot is vital tho, fastboot is used to flash recoveries and factory images to the phone among other things so read up on that but for now it seems you are ready to flash a rom and kernel! :D
[Samsung Galaxy Nexus] Jubakuba:
It SHOULD allow you to boot into CWM recovery from the bootloader now.

As far as Nandroids go...they're huge.

I generally make one for every rom install I do (after setting everything up) and keep the most recent two on the phone.

I'd keep the bone stock ones on your PC just in case you want them later.

The red ones are system applications.

Those are the naughty ones that people restore onto rom installs...and then complain about bugs.

This has NO benefit, it's just that the newer users tend not to know what to back up and restore.

Anytime you flash a rom, these system apps are installed where they should be...and as they should be set up for that rom.

And no, I wouldn't worry about wiping everything.

And ADB wouldn't really help in that situation again.

There's no need to use that ADB backup utility after unlocking.

The nandroids take it's place.

If you want to test, restore one.

Notice it's pre-app install.

Restore the other...apps installed!

Nandroids are full system backups.

Including kernels, apps, everything.

Flash a rom once your Titanium Backup is complete!

I'm probably more excited than you are at this point, lol =]
[Samsung Galaxy Nexus] Johnny-D99:
Thank you Nodstuff and Jubakuba!!

ok, i think i am going to try and restore my self to where i have no downloaded apps. just to see if i can restore things if i go wrong some where. better safe then having a £500 paper weight!!

ok, i am going to read the guides over again and i'll be back in a while!
[Samsung Galaxy Nexus] Jubakuba:
Cool cool.

Once you do that, there isn't any need to restore back to the other one either. A factory reset in any situation paired with a rom install will get you a clean rom. And the missing components (apps you backed up) can be restored through titanium onto the new rom.
[Samsung Galaxy Nexus] nodstuff:
And don't worry about turning it into a paperweight, its notoriously difficult to brick a nexus!

They are almost brick proof!!! :D
[Samsung Galaxy Nexus] Johnny-D99:
ok, i have started to restore a nandroid where i have no apps installed just to test to see if i understand what happens.

i think this would mean that the second recovery that i did will not be on my phone any longer as well as titanium backup and its data too.
[Samsung Galaxy Nexus] Jubakuba:
You're other recovery and titanium backups will still be there.

Custom recoveries don't wipe your "SD card."

Nor do nandroids.
[Samsung Galaxy Nexus] Johnny-D99:
ok, i am now restoring my apps by using titanium backup. why do all my apps names have a line through them?

i have started the restore and does it normally take a long time for one app? it has been stuck on 0% for winamp for a while. do i need to press back and then tap an app then press restore? for each app?

if i do that, it says that there is already an operation in progress.
[Samsung Galaxy Nexus] Mach3.2:
This means they are not installed i think, Titanium Backups strikes thru my app if i uninstall them.
[Samsung Galaxy Nexus] olfyboy:
Hi, the line through the names means that the app isn't currently installed. And, yes, on the free TB version you will have to install all of your apps manually.

Edit: lol, my reply weren't fast enough..
[Samsung Galaxy Nexus] Jubakuba:
Crossed out means backed up but not installed.

And are you doing a "batch" restore of user apps?

Time depends on the size of the app...but if it hangs for more than, I don't know, a minute...I'd retry.

The free version makes you press "install" for every app.

Kinda' annoying. So if you or your mom want to spend the $5 (I think it is) it is worth it if you plan on flashing a lot of roms.
[Samsung Galaxy Nexus] Mach3.2:
Anyway, i had a practice of copying my entire SDcard onto my PC and store it there.

So all my nandroids and titanium backups are on my computer and gnex.

---------- Post added at 01:50 AM ---------- Previous post was at 01:49 AM ----------

At lease it's better than downloading them off market, especially if you had slow net connection, it's just PITA.
[Samsung Galaxy Nexus] Johnny-D99:
oh, i get it now! i think titanium backup froze. i just had to restart my phone because it wasnt moving from 0%.

i dont buy any apps. topping up my phone is just about all i can do!!

maybe one day!!

ok, i have worked out how to use titanium back up now. i think i am ready to move on.

i am going to download molesarecoming rom now. then i will try to flash it. if it goes wrong, i will flash my backup nandriod to get back to where i am.
[Samsung Galaxy Nexus] Jubakuba:
Correct.

And check your PM's in a minute, buddy.
[Samsung Galaxy Nexus] Mach3.2:
Ha, good luck sir, although i prefer stock ROM, partly because i'm lazy to source other ROMs:p
[Samsung Galaxy Nexus] sonicxml:
Just a tip - when you are switching ROMs (like stock to paranoidandroid, or cm9 to aokp), and restoring from titanium backup, don't restore app data, just the apps. This is because restoring app data frequently causes problems with the apps.

And I agree with the facts that kids are starting to take over, considering I am 16 and build kernels for two devices (Gnex and LG Spectrum) lol
[Samsung Galaxy Nexus] Johnny-D99:
Hi Everyone!!

thank you all so much for your help!!

my mum says that i have to stop now because i have spent 6 hours infront of the PC and says that i can do the rest tomorrow.

darn, i was so so close!!

i mean, all i have to do is drop the zip files on to my phone and use clock work recovery to install them right, no more need of the pc...?
[Samsung Galaxy Nexus] Jubakuba:
Correct, sir!
[Samsung Galaxy Nexus] Johnny-D99:
neat!!

so i see you guys tomorrow !!

i will let you know if i do it or if i fail!

figures crossed!

bye.
[Samsung Galaxy Nexus] Mach3.2:
Great day ahead!:D
[Samsung Galaxy Nexus] sonicxml:
good luck!
[Samsung Galaxy Nexus] Jubakuba:
Me want update =[

=]
[Samsung Galaxy Nexus] Johnny-D99:
hi guys!

sorry for late update, my mum had work to do and she said that as i was using the PC all week, she had to use it today.

erm, i have messed up real bad. i made 3 nandriods before i tried to install the rom, and i didnt want to be confused which one was which. so i put them into folders. one called stock which was the first ever nandroid, one called stock + apps, which is a version with all apps restored, and one called stock + TB.

i dont think i managed to flash the rom right because its stuck on boot. i have left it for about 10 minites and nothing else happens.

i did this via clockwork recovery, and installed zip from sd card and flashed paranoid android, the fix and then the gapps.

i still cant get this to work and when i try to restore via nandriod i get md5 checksum error.

worse is that i have been stuck this way since last night.
[Samsung Galaxy Nexus] Jubakuba:
Try (in CWM)

mounts and storage > format system

then factory reset.

Then flash the rom.

Gapps.

And "Fix."

Sorry for your troubles man, but all is definitely not lost.

And you are flashing a rom for your version, right?

GSM/Verizon/Sprint?
[Samsung Galaxy Nexus] Johnny-D99:
THANK YOU!!!

i have not told my mum yet!!

she would not be happy!!

i will try it now
[Samsung Galaxy Nexus] nodstuff:
Or even one better, format everything EXCEPT sdcard!

System, boot and data.

Jubakuba what do you think of flashing rom and gapps and then booting, then after that go back to cwm and flashing "fix"

Its like flashing a rom, gapps and then a theme and booting and sometimes it causes problems.

---------- Post added at 03:34 PM ---------- Previous post was at 03:32 PM ----------

Don't worry there's nothing to tell her, your phone is fine! :)

I've ran into problems like that countless times, it happens!

Its half the fun of flashing roms and kernels! ;-P
[Samsung Galaxy Nexus] Jubakuba:
Couldn't hurt, and you could be correct.
[Samsung Galaxy Nexus] Johnny-D99:
ok, i have flashed the rom, then gapps, then fix, but still wont load. cant get into andriod at all and i cant access my nandriods.

i have a copy of my nandriods on pc but i dont know if that will help anything.

ok, trying it the other way now.

how do i format everything EXCEPT sdcard?
[Samsung Galaxy Nexus] Johnny-D99:
ok, i have tried to just flash rom, then gapps then boot, but it still wont load.
[Samsung Galaxy Nexus] nodstuff:
Go into mounts and storage in cwm and select format system, then select format data, then select format boot.

The install zip from SD card and select paranoid android and flash it, then.flash gapps, then fix. Then boot.

A boot can take a few minutes, are you seeing a boot animation?
[Samsung Galaxy Nexus] Johnny-D99:
Thank you!

ok, i have done format system, then select format data, but i dont have the option to select format boot
[Samsung Galaxy Nexus] nodstuff:
OK that's fine, I just remembered that I don't either, that was on nexus s :D oops!

OK now flash rom, gapps then fix, wipe cache and dalvik cache.

Dalvik cache wipe is in advanced > wipe dalvik cache.

(I read that on paranoid android page)
[Samsung Galaxy Nexus] Johnny-D99:
YES!!!!!!

>>>>Thank you soooo MUCH!!!!<<<<

both

of you!!!!

i am into andriod now!! and it loaded into paranoid!!

[Q] why did my nandriods fail? is it cos i moved them into their own folders?

do i need to make new nandriods? or if i move them back, they will be ok?
[Samsung Galaxy Nexus] Jubakuba:
Moved them inti their own folders?

I've never done it...but it could be that, yes.

CWM is picky about restoration.

I'm sure they're fine.

Just need to be moved back.

Congrats!!!

Edit:

Oh and sorry for disappearing.

Drove to the 'rents house.
[Samsung Galaxy Nexus] nodstuff:
You are most welcome! Now you know how to flash roms you'll have no problems trying out new ones!

Kernels are much easier, no need to wipe anything, just flash!

As for the nandroids I guess that may have been the cause, I don't know for sure.

The ones on your computer should be good enough so no need for a new one!

Have fun with your new rom! :D
[Samsung Galaxy Nexus] Johnny-D99:
dont be sorry!!! you have helped me sooo much!!

Thank you to both of you!!

i am going to put the nandroids back how they were and make a new one just in case!! then i will keep a stock + Titanium backup and stock Paranoid nandriods on my phone.

is that how do it?
[Samsung Galaxy Nexus] Jubakuba:
I usually make the nandroud after I have everything set up the way I like it.

But either way works, so yep.
[Samsung Galaxy Nexus] theSlack:
Johnny, if you make nandroids from cwm, you can go in later (in a file manager)and rename them to something descriptive rather than a date. If you use ROM manager to do nandroids, you can create a name for it before it runs the backup.

This will keep you from needing separate folders for each.

Btw, I'm a fan of CM9, and aokp... How is paranoid? I've been wanting to flash and check it out.

Btw part 2... Tell your Mum she's brilliant! I'm sure she wasn't completely patient at all times, but it seems she has a good degree of faith in your ability and intelligence. Not to mention she's raised pretty much the most polite and respectful noob XDA has seen in a minute! And tell her she's pretty and you love her too, it's mothers day here in the states!