yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] SPKxNoOneStupid:
I've made some progress... A further up to date version of SP Flash it actually operating well with the phone, but i accidentally bricked it by setting the program to format the whole memory instead of excluding the NVRAM and Bootloader... So now I am searching for the factory insert, but I do not know who made it... so I'm having a hard time getting the info... Provided I get this puppy cracked, I will be sure to share the knowledge with you and the rest of the forums. I'll keep ya up to date, if we can get this fixed it will make things so much easier. Oh, and yes, I do now notice the presence of Gingerbread based on the info I pulled before I bricked the phone... clever punks... Unfortunately I have limited capabilities with this phone as it is restricted to 200mb space on the NAND flash. Thanks for the help you provided, I wouldn't be this far had you not given your input. Thanks will be given.
[Samsung Galaxy Nexus] xero925:
Is it possible to flash a ROM even though the boot loader isn't unlocked?
[Samsung Galaxy Nexus] efrant:
If you have root or a custom recovery, yes.
[Samsung Galaxy Nexus] joshua.justice:
Anyone try this on a Nexus 4?
[Samsung Galaxy Nexus] efrant:
As stated in the title, this works on ICS/JB versions up to JRO03O. The Nexus 4 runs JOP40C/D, so it will not work...
[Samsung Galaxy Nexus] xero925:
Re: [HOW-TO] [GSM & CDMA] How to root without unlocking bootloader (for ITL41D to JRO

Thank you for a quick response!
[Samsung Galaxy Nexus] JonJulio:
GNex with JOP4OD

Hi,

i've got a Galaxy Nexus with Android 4.2.1 and JOP4OD as Build-Number. In the first post and the post above me (about a Nexus4) it is mentioned that it will not work with this build, but i have never read about an alternative for those people with this build.

Is there the possibility to root without wiping for this build? if so, where can i find it?

I hope this wasn't discussed in this thread before, i've found nothing about it, but it's quite a big thread :)

Thanks!

John
[Samsung Galaxy Nexus] efrant:
Re: [HOW-TO] [GSM & CDMA] How to root without unlocking bootloader (for ITL41D to JRO

There is no way to root without wiping. But, you can easily back up everything using the "adb backup" command, unlock your bootloader and restore everything.
[Samsung Galaxy Nexus] JonJulio:
:( ok. thanks for your response.

Do u think there is something coming up in the next time to make this possible for this build? (i mean rooting without unlocking the bootloader)

But if there's no way around...

would u recommend wugs nexus toolkit? i only need root for some apps, no custom roms needed, i'm really happy with the stock. and i'm pretty scared to f*ck up my lovely nexus :)

is this adb backup guide right ?

http://xdaforums.com/showthread.php?t=1420351

big thanks efrant!
[Samsung Galaxy Nexus] Zepius:
then dont use a toolkit. do this: http://xdaforums.com/showthread.php?t=1529058
[Samsung Galaxy Nexus] JonJulio:
thanks to you!

do u mean the chance to f*ck up my nexus is higher with the root toolkit?

is there the possibility to root and unlock the bootloader and still get OTA updates? (i've read this depends on the recovery, and ur link is also installing a custom recovery which doesn't allow OTA updates? how can i stay with my "normal" recovery?
[Samsung Galaxy Nexus] efrant:
You will learn by doing it yourself instead of using a toolkit.

To have an OTA update install automatically, you need to have the stock recovery installed (although you can still install the update even with a custom recovery, it's just that you will have to do it instead of it updating automatically.

Follow the instructions here to root after unlocking your bootloader, and it will keep your stock recovery.
[Samsung Galaxy Nexus] JonJulio:
Big Thanks to Zepius and efrant.

My GNex is now rooted and unlocked, the backup and restoring worked great, big big thanks, i am feeling really relieved :)

But one small issue is there: My Google Play Store on PC (in browser) is not showing my Nexus device, just my old HTC Desire, which is not used anymore. :confused: The Play Store on the Nexus works just fine. Is there a way to fix that? I loved the "luxus" to install apps via PC, which is not possible now because some apps aren't compatible.

Best regards, John
[Samsung Galaxy Nexus] Bradley47:
Any new exploits for new JB?

I have JOP40C and this exploit does not seem to work for it. I get stuck after running the 'adb shell while...' command and end up with $. I want to root without unlocking the bootloader to restore some photo files I deleted. I see you recommend running adb backup, then unlocking, then locking again but already deleted files will not be saved in backup in that case. Any luck developing a new exploit for JB?

Thanks
[Samsung Galaxy Nexus] efrant:
If this doesn't work for you, there is no other way to get root JOP40C at the moment.

To recovery your files, have a look at the link in my signature, which should be able to help you.

Again, I know I sound like a broken record, but people should be unlocking bootloaders as soon as you take the device out of the box. :)
[Samsung Galaxy Nexus] Lutfee:
im using a nexus 7 JOP40D and im stuck at link failed no such file or directory. after pressing the restore, the errors on the cmd just kept ongoing... any help?
[Samsung Galaxy Nexus] efrant:
Re: [HOW-TO] [GSM & CDMA] How to root without unlocking bootloader (for ITL41D to JRO

As per the title, this works on Android builds JRO03O and older. JOP40D is newer.

Currently there is no way to root JOP40C/D without unlocking the bootloader.
[Samsung Galaxy Nexus] hkhkhkhk:
hello guys

I followed all the guides and everything goes well until step 8

in which I can only see the symbol $ but not #

I have tried for at least 10 times starting from step 4 again but no luck

Can anyone suggest how many times I need to try before getting it success??

or it wont happen in my case?

I am new to this and really desperate for help

My device is galaxy nexus running 4.1.1 JRO03C

thanks in advance
[Samsung Galaxy Nexus] Bradley47:
Huge n00b here, never even knew I had a bootloader until just now, but I promise to unlock any subsequent phones immediately upon opening. :o

My question is if I follow your notes in the Recovery post and do adb backup, then unlock the phone, root the phone, then follow steps to restore and recover files will ALREADY DELETED files even show up? The pics I want are deleted already, even before unlocking wipes everything. Does that make them double-wiped?

I promise to continue this post on the other thread now. Thanks.
[Samsung Galaxy Nexus] efrant:
Re: [HOW-TO] [GSM & CDMA] How to root without unlocking bootloader (for ITL41D to JRO

You are probably out of luck.
[Samsung Galaxy Nexus] efrant:
Re: [HOW-TO] [GSM & CDMA] How to root without unlocking bootloader (for ITL41D to JRO

If you follow the steps in the link in my signature for how to recover deleted files, you should be okay, but there are no guarantees that you will be able to recover all your deleted files.
[Samsung Galaxy Nexus] randomchaos26:
A little something I came up with while fighting with a Sprint Galaxy Nexus (4.1.1 FH05)

Couldn't get it to work in the end, but this makes it quite a bit faster to come to that conclusion.

You'll need the android sdk installed, and you may need to change the path if you aren't on a 64-bit system.

Root-without-unlock.bat:

@echo off
set path=%path%;C:\Program Files (x86)\Android\android-sdk\platform-tools
adb push su /data/local/tmp/su
adb push Superuser.apk /data/local/tmp/Superuser.apk
echo.Ready...
echo.Please touch restore on your device when prompted.
pause
adb restore fakebackup.ab && adb shell "while ! ln -s /data/local.prop /data/data/com.android.settings/a/file99; do :; done" && adb reboot && echo.When the prompt appears it should be #, not $. && echo.If not, it did not work, run this script again. && adb wait-for-device shell
pause
@exit
[Samsung Galaxy Nexus] alanbond:
I have experienced same problem. It's always $, never became #, for about 10 times.

My Galaxy Nexus is running on 4.1.1, JRO03C
[Samsung Galaxy Nexus] Doctor Dedroid:
Re: [HOW-TO] [GSM & CDMA] How to root without unlocking bootloader (for ITL41D to JRO

I've got a vzw gnex running jro03o... If I use this method to root, the unlock the boot loader w/o needing to wipe the phone, if vzw pushes the 4.2 update that may be coming soon, will applying the update relock the boot loader? I expect I'd lose root, but I'd rather not have to wipe the phone...
[Samsung Galaxy Nexus] efrant:
No it will not relock the bootloader.
[Samsung Galaxy Nexus] FrontRowJoe:
Followed this procedure step-by-step for my Verizon Galaxy Nexus running JRO03O, and it worked FLAWLESSLY! Thank you for all your hard work, efrant. All my thanks are belong to you. :good:
[Samsung Galaxy Nexus] avinyc:
Same here and now running 4.2.2 (JDQ39) with unlocked bootloader. Curious if you or anyone else re-rooted and if it wiped anything. I get mixed responses, but wanted to find out if there is a way to root again without wiping now that the bootloader is unlocked.
[Samsung Galaxy Nexus] efrant:
"Rooting" does not wipe anything. Unlocking the bootloader is what wipes.
[Samsung Galaxy Nexus] Doctor Dedroid:
Re: [HOW-TO] [GSM & CDMA] How to root without unlocking bootloader (for ITL41D to JRO

I think the answer to my question is 'yes', but please confirm:

Unless I'm rooted, if I re lock the boot loader, will re unlocking it wipe the phone again? I could've sworn I read somewhere once that only the first unlock would do that but I can't find the article anymore.

When the vzw update to 4.2.2 comes out, update will remove root... so I'll have to re-root and this procedure won't work any more... but I'm thinking if I unlock the bootloader while rooted, using the tool suggested in the op, I can take the update and then just re-root using a toolkit then relock the boot loader.

------------

Ok sigsev's post confirmed what I wanted to know... never thought to look there. Sorry about the noise....
[Samsung Galaxy Nexus] alanbond:
adb server is out of date. killing...

I got a message saying "adb server is out of date. killing..." after running any adb command.

What does it mean?

Is there a way to fix it?
[Samsung Galaxy Nexus] efrant:
It's not really an issue. You can try using the latest version of ADB if you want, but in any case, there's no need to worry about that message.
[Samsung Galaxy Nexus] alanbond:
I have tried about 50 times :crying:, never gotten into emulator mode, adb shell always begins with $, never with #

My phone is on JRO03C, within the ITL41D to JRO03O range. :crying: Can anyone help? Please! Looks like a few ppl have same problem.
[Samsung Galaxy Nexus] efrant:
Re: [HOW-TO] [GSM & CDMA] How to root without unlocking bootloader (for ITL41D to JRO

If it doesn't work, just backup everything using ADB backup, then unlock your bootloader, then root.
[Samsung Galaxy Nexus] alanbond:
Thank you, efrant!

I am slightly worried what if adb doesn't backup my browser history/password, saved Wi-Fi password, then I would end up losing my data completely after unlock bootloader.

To the far extend, do you know whether those info are backed-up by adb? I understand that I will be on my own risk to unlock bootloader.
[Samsung Galaxy Nexus] efrant:
Your Wi-Fi password and browser history are stored in your Google account, I believe. They should be automatically restored when you sign in to your account, regardless of whether or not you used ADB backup. ADB backup should back up your app settings.
[Samsung Galaxy Nexus] alanbond:
Hi efrant!

I backed up everything on my Galaxy Nexus using "adb backup -apk -shared -all -f" then restored backup.ab to a newly rooted Nexus 4. It seems that a lot files were not transferred from GN to N4. For example, the folder data/data/android.browser is not available on N4
[Samsung Galaxy Nexus] efrant:
Re: [HOW-TO] [GSM & CDMA] How to root without unlocking bootloader (for ITL41D to JRO

I didn't realize you were transferring a backup to a different device. You need to be careful when restoring system app data across different device. You may end up with stability issues.
[Samsung Galaxy Nexus] Doctor Dedroid:
Re: [HOW-TO] [GSM & CDMA] How to root without unlocking bootloader (for ITL41D to JRO

I have the vzw 422 update waiting to be put onto my gnex... I had planned on running through this method prior to getting the update notification but it came in before the weekend..... moral: don't wait! this means I have some choices.

1) forge ahead using this technique prior to updating... hoping that nothing weird happens because the update is in the queue, unlock the bootloader, then apply the update and reroot using Wugs toolkit

2) just apply the update and use Wug's toolkit and use the backup/restore built into that.

It's the factory reset part when the bootloader unlocks that bothers me

Any helpful advice is appreciated... I'm wondering what the least "error prone" approach would be...
[Samsung Galaxy Nexus] screenoff:
This is my first post, hope it makes sense and I am not making a fool of myself.

I have a HTC One X +, I tried the ADB commands but it only gets to complete Action 4. adb restore fakebackup.db.

Action 5 Does not work at all.

I then looked around and found this below, but it does not make sense because it says to remove the battery from the HTC One X +, which you can only do if the front glass is removed.

I have copied and pasted the instructions below, I am not sure if I need to supply a link but I will if it is required.
[Samsung Galaxy Nexus] efrant:
As I stated in the first post, this is for the Galaxy Nexus. I have removed all parts of this procedure not related to the GNex. You should look at Bin4ry's original thread (also linked in the first post) for devices other than the GNex.
[Samsung Galaxy Nexus] screenoff:
I have no idea where to look, I have tried looking everywhere but I can find nothing specific about a HTC One X +.

This is a large forum with many topics and off shoots, not easy for a newbie to find his way around.

I have searched and searched and cannot find this thread that you are referring to.

Please be so kind as to give me a link to this thread.
[Samsung Galaxy Nexus] efrant:
Try asking in this thread (which is linked in the first post...), or trying looking in the HTC One X+ forum.
[Samsung Galaxy Nexus] hxgni:
need help

sorry for being n00b.. But iam already stuck at step 2 "Open a command prompt in that same directory;" so basically i have to unzip and then open "adb" to open command prompt?? however, it just shut's down the second after i double-click on it.
[Samsung Galaxy Nexus] efrant:
In the directory where you unzipped the files, right click on an empty space while holding the shift key, and select "open command prompt here" or whatever it's called.
[Samsung Galaxy Nexus] pardismlkzdh:
I`m stuck at step 6. When restore is finished, exploit is still runnig and my adb window is flooded with errors so I cant enter next command. What can I do to solve it?
[Samsung Galaxy Nexus] LauraGo:
Anyone can suggest how to do this on a Mac?

Hello sorry guys I am a total noob, I need to root my Nexus and would like to know if I can do this on a Mac.

Is there anyone out there who has followed this method of rooting on a Mac?

I presume some of the zipped files will have to be replaced with Mac equivalents but which ones, where to find them and is the rest of the process identical?

Thanks a lot!
[Samsung Galaxy Nexus] efrant:
Most of the files you need are in the zip in the first post. You will need the mac version of adb, which can be found in the first post of this thread.

The only difference in commands is that you need to replace adb with ./adb-mac.

Note that while following the procedure in the first post is a great learning experience, it may be simpler for you to just copy your files off your device, use Helium to back up your app data (if you want), unlock your bootloader, and root that way.
[Samsung Galaxy Nexus] LauraGo:
Thanks a lot for the help :)
[Samsung Galaxy Nexus] mielli1:
I'm sure this has been asked before so I beg your forgiveness first...

I've tried searching the threads and the internet but am not able to come with an answer.

Will this process work on a VzW GNex unlocked with stock JDQ39 build?

If not, is there a similar process for rooting without unlocking the bootloader? I don't want a ROM or anything, just performance benefits of being a rooted superuser on my device.

thanks,

Mike
[Samsung Galaxy Nexus] efrant:
If your bootloader is unlocked, getting root is trivial, and you don't have to worry about any of this (which won't work anyway). Just boot a custom recovery and flash a superuser zip package. (You can check here for instructions: http://xdaforums.com/showthread.php?p=26328017)
[Samsung Galaxy Nexus] mielli1:
While I understand that, I'm not looking to take that plunge yet as this is my first android phone and my daily use device. I'm looking to ease into it.

Is there a way to root without wiping (which is key for me right now) and unlocking the bootloader?
[Samsung Galaxy Nexus] efrant:
Did you not say that you were unlocked in your post??

If you are not unlocked, you can try motochopper. Search for it. I believe that it will work on JDQ39.
[Samsung Galaxy Nexus] mielli1:
My mistake, I meant am running locked bootloader, unrooted on 4.2.2.

You believe motochopper should work for what I want to accomplish? I'll take a look into this more.

I appreciate the replies.
[Samsung Galaxy Nexus] efrant:
Yes, motochopper should work to root your GNex (although I've never tried it). Then just use the BootUnlocker app by [MENTION=4551856]segv11[/MENTION] to unlock your bootloader.

Alternatively you can use this method: http://xdaforums.com/showthread.php?p=34702700 to unlock the bootloader without wipe. (It will work on a Verizon GNex as well.) Then you can root.
[Samsung Galaxy Nexus] TheMadgician:
So I'm trying to root and having a bit of trouble. I downloaded the rooting without unlocking folder, downloaded the universal driver, turned on debugging. I type the first command and it tells me the daemon is running successfully, and then after about 10 seconds tells me the device is offline. My first thought was that maybe it was because the device was going to sleep so I set it to always awake. Still does it.

I'm not sure if it matters, but its already unlocked. Happened to come that way from eBay. Do I still need to root with this method, or is there a different way? Would flashing a custom ROM automatically give it root as part of the ROM?
[Samsung Galaxy Nexus] efrant:
If you are already unlocked, then do this. Much easier.

Yes.
[Samsung Galaxy Nexus] TheMadgician:
Oh thanks! A few questions though if you don't mind helping out a newb. Where do I download fastboot.exe? Where should I place the file for fastboot.exe after I get it? I remember seeing somewhere that it should be with the android sdk folder or something, unless I misunderstood which I think I may have.

I've also gathered that I should have Clockwork Recovery Mod, before I flash a ROM. Is this true? I know I've still got a lot to learn, but I've picked up quite a bit in my week or so of nonstop lurking.
[Samsung Galaxy Nexus] efrant:
It says where to get it in the link I gave you.

Yes, you need a custom recovery (CWM or TWRP) to flash custom ROMs. Have a read of this thread for flashing custom ROMs, and this thread for general info.
[Samsung Galaxy Nexus] TheMadgician:
Oh cool, thank you so much for being so helpful!
[Samsung Galaxy Nexus] mielli1:
Motochopper did not work for me unfortunately. I'll take a look at the other option you provided for unlocking without wiping.

I'm sure it would probably be easier to wipe and reload, but I don't want to have to go back to using the mapple I had before. Wish I would have known about this stuff before i started using the phone!
[Samsung Galaxy Nexus] matzawit:
Is it possible to root encrypted Nexus 4 (4.3 JWR66Y) without unlocking the bootloader and without wiping the phone?

This thread contains a lot of related info but I could not find the answer to my question. My goal is to install backup app that requires root. I don't need to flash roms. Thanks in advance.
[Samsung Galaxy Nexus] efrant:
I've never used encryption, so I don't really know if this will work. I suppose that if your PC can see you /data partition even though it's encrypted, then it should work. If not, can you not "un-encrypt" and then root?

As well, there are other root exploits that you can try besides this one. Have a look at motochopper.
[Samsung Galaxy Nexus] newbrific:
alternative method for setting ro.kernel.qemu=1

http://seclists.org/fulldisclosure/2013/Jun/115 describes an alternative method of establishing the file that does not depend upon a timing attack to succeed. Shouldn't this allow versions after JRO03O to be handled also?
[Samsung Galaxy Nexus] efrant:
Interesting. Thanks for posting!

Not sure if that would work on later versions, and I have no time to test.
[Samsung Galaxy Nexus] Doctor Dedroid:
This was perfect... I sat on 4.1.1 until I was sure that VZW wasn't going to do anything for us any more... Finally bit the bullet and rooted last month. I used this method to root... got the bootloader unlock apk, updated to 4.2.2 after unlocking the boot loader.... and then used WugFresh's Nexus Root Toolkit to get root back w/o wiping anything....

BIG THANKS!
[Samsung Galaxy Nexus] Ngadhnjim:
5) Run the "exploit": adb shell "while ! ln -s /data/local.prop /data/data/com.android.settings/a/file99; do :; done" Note: when you enter this command, you should see your adb window flooded with errors -- this is what is supposed to happen.

i think you need to write these commands more clearly ..i try cubot dinosaur and dont work

when i write to restore fakebackup on my phone i klick restore my data and after reboot nothing changed

---------- Post added at 02:13 PM ---------- Previous post was at 02:11 PM ----------

need that twrp via abd and whe ready to have rooted device
[Samsung Galaxy Nexus] serty4011:
That's the expected output of the command. When you select "restore" on your phone this repeated output will end. Then, just continue with the following steps.
[Samsung Galaxy Nexus] monkeypaws:
Okay. Hold long does it take because I start it the. Hit restore and nothing happens but the repeated line of code saying the error mentions above
[Samsung Galaxy Nexus] barqers:
Giving it a shot tomorrow, will report back. A big thank you for posting this, I was really not wanting to unlock the bootloader. Just as an aside, how would I go about revoking root access without unlocking the bootloader?

Don't worry if that's too much of a hassle. But I'm guessing I could just delete the superuser app using ADB and remove the su folder and I'd essentially revoke root access, correct?
[Samsung Galaxy Nexus] dacc:
Anyone can confirm that this work on nexus 7 ?
[Samsung Galaxy Nexus] efrant:
You need to run the "adb shell while ..." command before you click restore on your device. It shouldn't take more than a few seconds.

Yes, if you want to remove root access, just delete the two files: /system/bin/su and /system/app/Superuser.apk.

Why don't you try it and find out? It will either work (which it should) or it won't do anything. It won't mess anything up if it doesn't work.
[Samsung Galaxy Nexus] dacc:
ok i will try and report back, thanks efrant :)
[Samsung Galaxy Nexus] dacc:
I can confirm that this work very very well on nexus 7 :) thank you sooooo much for this wonderful work !
[Samsung Galaxy Nexus] barqers:
For some reason I can never get a root prompt (#).

It's always a $. I've repeated the steps a lot.

Any ideas? I've followed the steps, played around with timings, nothing doin it.
[Samsung Galaxy Nexus] barqers:
it doesn't successfully boot into emulator mode. What I did was ran the exploit, hit restore, waited for all toast notifications to disappear, adb reboot, wait, unlock screen, adb shell. Still shows $.