Rooting - Samsung Galaxy Nexus

Hey guys a bit ago i wrote a batch script to help people root their nexus s and their nexus s 4g's. why? because i could.. so anyways long story short, ive glanced over the galaxy nexus rooting procedure, seems fairly familiar . ive got a version 5.0 of my one click for teh nexus s 4g which now has menu options for the gsm version of the galaxy nexus. just need someone to confirm taht it all works buttery smooth before i go make a post about it over in development
P.S. Verizon customers your phone is already included, just commented out due to you not having your own CWM image yet. once you guys have that (official or not) ill make 6.0 with you guys
http://goo.gl/2DBZk

This working on Mac?
Nevermind... all .bat and .exe files

sorry when i have some time one of these days i plan on making a bash script version but for now i make too many changes all too often for me to try and maintain 2 separate scripts

Would like someone to confirm if this works properly
Getting my phone this Tuesday and I hope to use this

There's been a batch script out for rooting the GN since a week or so before the phone was released, from a developer who has a test phone: it includes versions for windows, mac and linux.
Superboot:
http://forum.xda-developers.com/showthread.php?t=1352413

yea im aware of it, however that flashes a pre-rooted kernel. id much rather flash cwm so that users can then flash any themes/roms/tweaks. the superboot method indeed does root the gsm model just fine. but all it does is send a fastboot command. you have to unlock the phone yourself and have the drivers from somewhere else get the phone into fastboot mode so the script can send
Code:
fastboot flash boot boot.img
my script on the other hand talks you thru enabling usb debugging, includes drivers gets you into fastboot to unlock (if you need it) flashes cwm and then guides you thru flashing root.zip but still doing most of teh heavy lifting for you (rebooting bootloader, unlocking, pushing the zip etc etc)
i was however unaware of this thread. http://forum.xda-developers.com/showthread.php?t=1356917
which is done by borky. hes a cool guy, when i had made the orginal one click for teh nexus s 4g he asked permission to make it nexus s compatible. was un aware that he had made a GN version tho that was a my bad... as such if anyone wants to use this then its of their free will (obviously) but ill step aside and give any assistance to borky should he need it and everyone should refer to this thread here for further inquiries regarding one clicks that flash cwm

Has anyone tested it yet?
Sent from my Galaxy Nexus using XDA App

ive had over 40 downloads of 5.0 and no one has come forward and said anything... i dlike to check it off as a confirmed working by some users so qbking77 can make a nice sexy video on how to use it/root etc etc.

Has anyone tested this?

Related

[Q] NB question... rooting & restoring factory rom

Pardon my ignorance -I have found some info from the forums as per the specifics of rooting and - im considering rooting my slide (as it seems 2.2 is never going to come) and go with CyanogenMod-6.1.1. Im never rooted a device but that part doesnt sound so hard (ive used linux before, etc) but my main concern question - is there a way i can make my own ROM code - or rather read out the rom code of my phone currently (pre-root), this way - should
a) i not have a good root experience (something not working right)
or
b) 2.2 comes out - via OTA
I can "go back" to my orinal rom code?
Moreover, is there a way I can go back and restore the original rom code that i backed up pre-root? I dont even know if reading out my own code can be done or if i must rely on some factory rom code available in some "slide bible" that has alluded me. Cant seem to find any slide rom bible as of yet.
Can anyone point me in the right direction or help ease my concerns...
Also ive read about "Titanium Backup" and 'Clockwork' and 'amon-ra' -- can any of these be used to backup current rom code prior to rooting ? or perhaps just after rooting?
New Bible:
http://forum.xda-developers.com/showthread.php?t=924793
Old Bible:
http://forum.xda-developers.com/showthread.php?t=704567
Old Bible definitely has stock rom. I glossed over the new one, didn't see them immediately, but I'm sure they're there.
Titanium Backup is for Apps, Clockwork and amon-ra are different types of Recovery. Within those two(or atleast Clockwork) you can make a "Nandroid Backup" which is what what you're looking for. It will backup your ROM/settings and stuff.
When you root you're going to be flashing an Engineer version that allows you to keep root, so you should make a nandroid of that. In the Bibles you'll find a link to a pretty easy root method:
http://forum.xda-developers.com/showthread.php?t=754020
Hope this helps.
i am new to this android stuff. but i flash or install new roms all the time to play with them, and in the old bible is the factory rom, i have tested it and gone back to factory and then rerooted just to see if i could. it is all possable with the little know how i have of linux.
Sent from my T-Mobile myTouch 3G Slide using the XDA mobile application powered by Tapatalk
Can some one please help
I have been trying to root my mytouch slide for quite some time. I have read post and followed directions on countless websites and even watched a few videos.
The first method i tried was the one where i had to go into command terminal, using sdk tools, and catch my phone in adb with "loop". This never worked because adb would only detect my phone when it was booted normally but when i would boot into recovery mode nothing would come up.
The second method was the one where i had to download a few files and put them in a folder in C:\ and from that directory in command terminal i had to run "my root" along with other commands that were supposed to push all the files I needed to my phones sd card. This didn't work because when i rebooted the phone into the bootloader the "ESPRIMG.zip" wasnt detected. So , im guessing, without that flashed first i cant install any other roms or upgrades.
I dont know what else to do and i would really appreciate it if someone would be able to help me finally root my fun
Sorry if i posted in the wrong spot or something.
Lenin809 said:
I have been trying to root my mytouch slide for quite some time. I have read post and followed directions on countless websites and even watched a few videos.
The first method i tried was the one where i had to go into command terminal, using sdk tools, and catch my phone in adb with "loop". This never worked because adb would only detect my phone when it was booted normally but when i would boot into recovery mode nothing would come up.
The second method was the one where i had to download a few files and put them in a folder in C:\ and from that directory in command terminal i had to run "my root" along with other commands that were supposed to push all the files I needed to my phones sd card. This didn't work because when i rebooted the phone into the bootloader the "ESPRIMG.zip" wasnt detected. So , im guessing, without that flashed first i cant install any other roms or upgrades.
I dont know what else to do and i would really appreciate it if someone would be able to help me finally root my fun
Sorry if i posted in the wrong spot or something.
Click to expand...
Click to collapse
Those two didn't work for me especially with the ota update. Try this: http://forum.xda-developers.com/showthread.php?t=754020 or http://forums.t-mobile.com/t5/myTouch-3G-Slide/Easy-root-unroot-Froyo-for-all/td-p/649239 <<This one should have screenshots w/ each step.
ima check it out
@han-shinibi
Thanks. Ima check it out and see how it goes.
Hopefully this is exactly what i need.
Ima post my results.
Also You can backup your current rom with clockwork and restore it whenever needed.
Sent from my T-Mobile myTouch 3G Slide using XDA App
If you want 2.2 OTA Go to CR's post in the development section and it should be one of the first. You have to root before installing as it is yet unreleased and it is unsigned. You can get all of the info on rooting/unrooting you need at theunlockr.com if you do not like root(which I highly doubt). There is an unrooting tutorial on theunlocker also.
Sent from my T-Mobile myTouch 3G Slide using XDA App
iDaZzLeFatHoeZz said:
If you want 2.2 OTA Go to CR's post in the development section and it should be one of the first. You have to root before installing as it is yet unreleased and it is unsigned. You can get all of the info on rooting/unrooting you need at theunlockr.com if you do not like root(which I highly doubt). There is an unrooting tutorial on theunlocker also.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
that all sounds great but my problem is that i cant root my phone so i wouldnt be able to install that anyway
@han-shinibi
thanx again for those links
i used the second one and i got it to work.
At first i was having the same problem with the hboot not recognizing the ESPRIMG.zip but after reading alot of comments someone gave me the idea to backup my sd card and to format the sd card and try again. I backup all the zip files i had from the previous attempt and i formated the card from the phone and then connected it to my laptop on "disk drive" and formatted it from windows also(I used FAT32). I uploaded all the zip files and started the process all over again and it work this time(attempt #23). Now im happily running cm6.

Equivalent of ODIN for Gnex? Can't boot phone

Greetings XDA peeps,
I just purchased the Gnex last week and have loved the stock rom but felt the need for more customization (Not sure why im saying this as it is a given.. )
I found the Wugfresh Galaxy Nexus Root Toolkit v1.3 and studied how to use it and read through the post/instructions for a week until I fully understood what was going on and flashed Codename Android http://forum.xda-developers.com/showthread.php?t=1479569
I installed my proper drivers and used device manager to get everything straightened away, and made sure fastboot and adb were recognized before doing anything ( I should probably get educated on what exactly ADB and fastboot actually mean...googling now)
Since then I haven't been able to boot my phone and have no idea how to revert back to stock or push the original contents onto my device to just simply start from square one. I know how to do it with ODIN (or I did on my SGS2 Sprint)
For the love of god someone shed some light on this situation please =] I did search btw..couldn't find what I was looking for.
Still new to this, just restored my CWM backup and my phone finally booted.
I guess I overlooked something somewhere...I never checked to see what kernel that rom required as I should still be on stock but I have to find out how to check which kernel I am on.
Im assuming the majority of roms require the stock kernel though?
Familiar Joe said:
Greetings XDA peeps,
I just purchased the Gnex last week and have loved the stock rom but felt the need for more customization (Not sure why im saying this as it is a given.. )
I found the Wugfresh Galaxy Nexus Root Toolkit v1.3 and studied how to use it and read through the post/instructions for a week until I fully understood what was going on and flashed Codename Android http://forum.xda-developers.com/showthread.php?t=1479569
I installed my proper drivers and used device manager to get everything straightened away, and made sure fastboot and adb were recognized before doing anything ( I should probably get educated on what exactly ADB and fastboot actually mean...googling now)
Since then I haven't been able to boot my phone and have no idea how to revert back to stock or push the original contents onto my device to just simply start from square one. I know how to do it with ODIN (or I did on my SGS2 Sprint)
For the love of god someone shed some light on this situation please =] I did search btw..couldn't find what I was looking for.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1394051
here you go, keep this just in case for next time
DAMNIT I hate when I fail to find something on my own, very much appreciated this is exactly what I was looking for
Familiar Joe said:
DAMNIT I hate when I fail to find something on my own, very much appreciated this is exactly what I was looking for
Click to expand...
Click to collapse
lol its cool , dont worry im not one of those @$$holes that gets mad because someone cant find something . i overlook things on this forum all the time, and if i can help someone out, im going to do it , and not give them an attitude

A few questions for a beginner

Hi. I hope you are all doing well.
I`m a new Galaxy Nexus user coming from a Galaxy S II.
It's the GSM version.
As far as see, there are major differences in rooting and installing CWM between Nexus and Galaxy S II. And it seems like that I need to unlock the bootloader first.
So can someone please tell me what requirements I need to be able to install a custom GSM ROM like the Android Revolution HD.
Thanks. Much appreciated and sorry for my bad English.
You could try searching the forums. There is some pretty good information on here in the stickies. Alternatively, there is a site called theunlockr.com where they have a guide for quickly rooting and installing CWM for the Galaxy Nexus.
Check it out.
Use my guide buddy.
Link in my sig.
You'll be up and running in an hour.
All you'll need are fastboot and perhaps ADB (along with the .imgs and .zips of course). And that's just the manual way. Mskip has created a literal one click/press solution to unlock, flash and root phones, linked here. It can install all necessary drivers as well so there isn't any need to dig around for drivers and files.
<_<
I don't understand the instantaneous pushing of these one-click-do-it-all tools to new users.
What if they need to flash stock in an emergency can't boot and recovery is borked situation?
Or maybe even need to push a .zip to their sd card...but don't have ADB set up...and can't figure it out.
Use.
My.
Guide.
You'll thank yourself later.
Thanks guys. Much appreciated.
Jubakuba said:
<_<
I don't understand the instantaneous pushing of these one-click-do-it-all tools to new users.
What if they need to flash stock in an emergency can't boot and recovery is borked situation?
Or maybe even need to push a .zip to their sd card...but don't have ADB set up...and can't figure it out.
Use.
My.
Guide.
You'll thank yourself later.
Click to expand...
Click to collapse
This. Adb push/pull and fastboot are probably the most useful commands you will ever learn. Get something wrong and you will regret not knowing them someday
Sent from my Galaxy Nexus using XDA

[?] used mskips toolkit on at&t. How to prep for a different variant

I used the tool kit for sgh-l747 to root and get custom recovery. Now my brother wants me to do the same for him but he has the T-Mobile version sgh-t999. Can anyone tell me, do I have to do anything special as far as removing files or drivers or anything like that, Before I use the tool kit on the second variant. or will the toolkit make a different folder for sgh-t999 and be able to differentiate between the two? Thanks for any help. I asked the same question in the toolkit thread but got no response. Maybe it's a stupid question I just don't want to brick my bro's phone.
Sent from Rootbox sg3
http://forum.xda-developers.com/showthread.php?t=1746682
The toolkit supports both devices so there shouldn't be a problem. When you begin the process, you'll have to select which device you have. That's when you'll select t mobile and version of firmware.
Check out the link in my signature. It outlines another route to get root access and more. Simple and safe. Worth a read. Cheers
djwuh said:
I used the tool kit for sgh-l747 to root and get custom recovery. Now my brother wants me to do the same for him but he has the T-Mobile version sgh-t999. Can anyone tell me, do I have to do anything special as far as removing files or drivers or anything like that, Before I use the tool kit on the second variant. or will the toolkit make a different folder for sgh-t999 and be able to differentiate between the two? Thanks for any help. I asked the same question in the toolkit thread but got no response. Maybe it's a stupid question I just don't want to brick my bro's phone.
Sent from Rootbox sg3
Click to expand...
Click to collapse
The two are fairly close ot each other anyhow. Even if you flashed something at&t on the phone you aren't even close to bricked. These are hard to brick devices and the toolkit makes sure you are using the right filed and as long as you choose correct carrier you are just fine. Only thing that bricks your device is flashing stuff made for the i9300

Help please. NEW to 2013 N7

Hello all. I am new to the N7. I look forward to trying out some of the awesome development in this forum. Before I begin I need to ask some things. I have spent ALL DAY today reading forums and researching this device b4 I begin. But to be honest, I can not spend days reading every post out there and still be a dad here. So I am trying to stream line this some. I am not a newbie in rooting / roming. Sorry if I have not seen a topic like this b4 posting. There are just so many in this forum now to go through. I will delete this one once helped if nessary. Also THANK YOU VERY MUCH in advance for any help I get here.
1. I have a Verizon note 2, Verizon PERMANENTLY locked the bootloaders on their phones so development has stoped/ slowed drastically. I know the N7 has a locked bootloader that can be unlocked. Is this still true on a stock 5.1.1 lollipop version? or Is there a step to reflash to an older rom I should do first?
2. I see the wugs toolkit out there and a nexus toolkit. Is there any reason to use one over the other? Are either of these working on my STOCK 5.1.1 rom still?
3. Can someone please run down the steps to achieve UNLOCK, ROOT, AND CUSTOM RECOVERY? I seen how wugs does all that in it's program. So if that is the way than a good link to use Please.
Once again. Thanks in advance for your help here. Please also feel free to add in here anything I need to be aware of b4 I begin making my N7 a beast of a tablet. I can not wait to try out some of the awesome roms and mods I have seen so far.
:thumbup::beer::thumbup::beer::thumbup::beer::thumbup::beer:
To root or not to root? That is the question.
1. It's unlockable
2. No need for a toolkit just use fastboot, unless you don't want to know what you're doing. It's in the platform-tools folder of the android sdk. There are many guides on xda about how to use it. Don't forget to install googles usb driver.
3. Very easy. Boot the tablet to the bootloader by holding volume down and power while turned off.
Plug into the computer and open a command prompt in whatever folder you have fastboot and type fastboot oem unlock and hit enter. Follow the steps on the tablet.
For recovery download the recovery .img you want and put it in the fastboot folder. Type fastboot flash recovery whatevername.img
To root just download the su zip from here and flash it through recovery.
You need to be careful you don't have a new Nexus 7 version which doesn't allow the mounting of any of the partitions in a custom recovery. I have one of these new Nexus 7s and no matter what I do I can't get the recovery to work, there's a thread about it.
Sent from my SM-G925F using Tapatalk
Batfink33 said:
You need to be careful you don't have a new Nexus 7 version which doesn't allow the mounting of any of the partitions in a custom recovery. I have one of these new Nexus 7s and no matter what I do I can't get the recovery to work, there's a thread about it.
Sent from my SM-G925F using Tapatalk
Click to expand...
Click to collapse
Ok so how do I locate n answer to this issue. The serial number in the bootloader info? Or something else?
Thanks for the two answers so far!
:thumbup::thumbup::thumbup::thumbup:
To root or not to root? That is the question.
robrooter said:
Ok so how do I locate n answer to this issue. The serial number in the bootloader info? Or something else?
Thanks for the two answers so far!
[emoji106][emoji106][emoji106][emoji106]
To root or not to root? That is the question.
Click to expand...
Click to collapse
Here's the thread on the issue. I bought my N7 yesterday and I'm affected by this. I can't resolve it and am stuck on stock at the moment which is annoying as I bought it to mess about with Roms and kernels. I'm not sure how you identify which tablets are affected but it seems the later manufactured ones are.
http://forum.xda-developers.com/showthread.php?t=3064562

Categories

Resources