yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] jup007:
The files starting with . are treated as hidden by linux. I should point this out in starting post.:) You need to use -a as argument to ls to see them like:

shell@android:/factory # ls -la
-rwx------ radio radio 1048576 2012-04-20 03:13 .nv_core.bak
-rwx------ radio radio 32 2012-04-20 03:13 .nv_core.bak.md5
-rwx------ radio radio 2097152 2012-04-20 03:13 .nv_data.bak
-rwx------ radio radio 32 2012-04-20 03:13 .nv_data.bak.md5
-rwx------ radio radio 1 2012-04-20 03:13 .nv_state
(...)

Or use root explorer with show hidden files. I think you should still have them, also based on the following.

However, based on this experiment, it would seem that just fixing /factory/nv_data.bin is enough to get permanent unlock. So you may just leave it as it is and see. The only potential problem is that if something happens to /factory/nv_data.bin, backup will get used and it's still SIM locked.

You want explanation of these? ;)

So, on April 4th somebody (you probably) wiped userspace after temp unlock by ****docomo. Since /factory/nv_data.bin had incorrect checksum, backup /factory/.nv_data.bak was restored. I would assume your phone relocked after this but you used condom to fix it.

The other set is perm unlock. All three nv_data* files had incorrect checksum so default NV with generic IMEI was restored.

Correct?;)
[Samsung Galaxy Nexus] cxfcxf:
ok...i got it...the most important is the factory direction. it will not be modified by flashing a new rom.
[Samsung Galaxy Nexus] kizuki.buy:
Thanks again jup007 :D

My bad, I completely missed the '.' at the beginning of the bak files :eek:

(I guess this is what happens when you tinker with the phone at 10pm in the night after a long day)

Works perfectly after I corrected the bak files names as you had originally posted.

Sorry, I had actually meant to ask about 3 sets of hashes and not 4.

Apr-4 was when I did the temp unlock again after upgrading to 4.0.4, so the first log entry was corresponding to that (I guess for the files under data/radio)

Apr-27, is when I did the perm unlock and so I assume the 3 sets there correspond to data/radio nv files, factory nv files and factory bak files

One thing I noticed in the factory folder is that the core files were not touched by Fdocomo and still have a timestamp from 2011. So I am guessing this means that if there is ever a situation where the nv files and bak files from factory get screwed, the core files will come into play. And when this happens, phone will get locked again?
[Samsung Galaxy Nexus] Kromag:
Thanks

Thanks for putting in the work and letting noobs like myself reap the rewards. Much appreciation.
[Samsung Galaxy Nexus] crazyykw:
this will output another md5 hash. Try to find it in above log in column original md5. It should be there. If it is, congratulations, you have correctly f*&^%ed device. The line tells us that md5sum in the aforementioned md5 file is invalid. It also tells us what valid md5 should be! How kind of Samsung. Let's correct this "glitch". Copy somewhere the part in apostrophes after computed md5 on the SAME line that contains hash from above md5 under original md5 (32 characters, for example, if cat outputs 24989da14a3ad550546d2d23254c8f03, it will be adaa0bf9506d939d18d57f96c0c330a3 for above line). I will call it COMPUTED.

__ can someone explain this part to me?? Im not getting it what i have t find, what i have to copy and where??
[Samsung Galaxy Nexus] kizuki.buy:
Your log file has two set of numbers i.e. md5 hashes on each line and there might be multiple such lines. Now what you are doing is checking the hash value contained in the md5 file. Then you search for this value in the log file. The line on which you find this value is of interest to you. On this line you will see another hash value after the keyword computed. You need to copy this second value and use in the commands which contain the word computed. You need to replace the word computed with the value that you copied before executing the command.
[Samsung Galaxy Nexus] crazyykw:
So mean i ll use that value in this command instead of the word computed" echo COMPUTED > nv_data.bin.md5".. and what u mean to say is i have to find matching values from "md5 file" in the "log file" and copy the computed part??

One more question can all this be this done using terminal emulator and root explorer?? what sortof permissions i have to give in root explorer?? sorry if this question had been answered.. :D

can some kind gentleman make a video tutorial of this method.. I m sure its great but it can be quite complicated for someone like me.. and the thing is i need it badly as my phone is not working in india with this generic imei.. :)
[Samsung Galaxy Nexus] Namidairo:
The FDocomo author is implementing this method into the next version apparently, so I guess you could always wait till then if you prefer a version with a GUI of some sort.

Which shouldn't take too long as all he needs to do is parse the log for the correct hash. (Epic regular expression skills would be of use)
[Samsung Galaxy Nexus] neos_83:
Awesome guide, got this working!

I had 4.0.4 with temp sim unlock (the condom method). The steps I took was:

1. Relock phone with fdocomo

2. Apply permanent unlock with fdocomo

3. Now I had generic imei

4. Carried out the first part of this guide to get the correct md5 in the radio folder

5. Rebooted phone and unique imei came back

6. Followed second part of the guide to get the correct md5 in the factory folder (for the bin and bak files)

7. Deleted the bin and md5 file in the radio folder, rebooted phone and generic imei still there, so assuming phone is now perm unlocked!

---------- Post added at 11:28 PM ---------- Previous post was at 11:23 PM ----------

In the example given, you would type in:

echo adaa0bf9506d939d18d57f96c0c330a3 > nv_data.bin.md5
[Samsung Galaxy Nexus] kizuki.buy:
Yes your understanding is correct. You need to replace the computed word with the actual value. You will need to mount the factory folder as RW and then you should be able to execute the commands.
[Samsung Galaxy Nexus] mrx8836350:
already update my ****docomo。thanks！！
[Samsung Galaxy Nexus] pixelator:
Thanks!

Thanks a ton for the detailed walkthrough. It took a few retakes, but my phone is finally fixed, and I am hoping it stays that way. Will let you know in case I run into problems later.
[Samsung Galaxy Nexus] crazyykw:
I did the first part the theory test , rebooted but still have generic imei. I removed the 2 files from radio( but did not do the whole codes of theory application) after theory test , rebooted but still have generic imei.. Someone tell me what i should do.. Im posting the screenshots of my log file. Some one please help as im not getting any network connection..:(:( Some one please tell me what is computed and computed 2 from my screenshot.. Also attached the log file image from factory..

Also someone please make a video of this.. It would help people like me immensely ...

Edit-- Did exactly according to jup007 application test and everything workrd out well. Thanks a lot all you guys!! Im a relieved man now!!:D:D:D:D:D
[Samsung Galaxy Nexus] efuse:
has anyone automated this? i'm lazy.
[Samsung Galaxy Nexus] neos_83:
http://xdaforums.com/showthread.php?t=1548210
[Samsung Galaxy Nexus] divinemyth99:
Simplified Instructions

I see some people are still occasionally having trouble. I boiled jup007's "Theory Test" (restores IMEI until factory wipe) to an info graphic.

Instead of cp I use dd to copy the file from factory. dd reads the contents of if= and writes it into of=. Since I'm not deleting the files, the file permissions should stay the same and you won't need to chmod.

Hopefully this is a little more clear for those who are struggling to follow jup007's thorough explaination.
[Samsung Galaxy Nexus] jup007:
Seems right, thanks divinemyth.
[Samsung Galaxy Nexus] 19GHz:
It's really functional for my GN. Thank you, jup007
[Samsung Galaxy Nexus] livaye:
nice work

thsnks man`
[Samsung Galaxy Nexus] Steelskinz:
Work great ! Thanks ! :)
[Samsung Galaxy Nexus] corporate.joe:
I bought this docomo sc-04 from new egg/brainstorm. It came unlocked but with the IMEI matching the one printed on the box and the back of the phone.

Already used the galaxy nexus tool kit the first day I got it to install 4.0.4 and root.

I'm not sure what method they used to unlock it and whether I have to worry about this down the line.

Attaching a screenshot of some logs and file structure.

Notice April 10 is the day after I received the phone. Likely when I installed the latest Google image.

Joe-
[Samsung Galaxy Nexus] jup007:
This phone will most likely be genuinely unlocked. It recovered from /data/radio/nv_data.bin loss and didn't relock itself, which would mean that files in factory are in correct, unlocked state. And they have matching checksums, that were generated at the same time which would prove that nobody run fdocomo or this method after the checksums were generated.

What's a bit interesting is those md5 fails there. Almost looks like somebody first unlocked files in /factory (using fdocomo or something equivalent) and then forced Samsung driver to regenared backups and md5s. I know of one ugly way to do this, but this one is different. Maybe they have SPTbox, maybe they know of yet another method.

Either way, you should be safe.
[Samsung Galaxy Nexus] corporate.joe:
Sounds interesting, thanks for the input.

Joe-
[Samsung Galaxy Nexus] kieller:
Up here is Canada, the Galaxy Nexus is factory unlocked, I tried with another carrier sim, and it works no unlock needed.
[Samsung Galaxy Nexus] divinemyth99:
FYI - What matters is who sold the phone (and who sold it to them), not what country you're in. This particular thread was started because of Docomo branded phones imported from Japan, but it might apply to other carriers that sell carrier locked phones. With Google selling direct from the play store, though, this might be of diminished interest.

Did you get your GNexus from your carrier or a reseller? Who specifically?
[Samsung Galaxy Nexus] Arknox:
when i do :

su
cd /data/radio/log
ls -a

I have nothing in the directory, but i have unsimlock via ****docomo.

I have try with docomo 3.1 (works but i have generic IMEI, no log in :data/radio/log)

I have try with 3.0 --> same result

I have try with 2 --> works in <NOT permanent> unlock but not in <permanent> (still generic IMEI) and still no log in /data/radio/log.

my galaxy nexus is under ICS 4.0.1 and has been rooted thanks to this thread : http://xdaforums.com/showthread.php?t=1531865 (Root without unlock bootloader)

this galaxy nexus is a GSM one and is locked on SFR (french provider).

Can someone help me please ?
[Samsung Galaxy Nexus] neos_83:
I think you need to be on 4.0.4
[Samsung Galaxy Nexus] Arknox:
Thx logs are here in 4.0.4

Thank you very much !

EDIT :

OK , after doing theory phase 1, everything was OK, I think I had some write permission problem on /data/radio files and the chmod of theory phase 1 solves them !!

All is OK now, i did full wipe to be sure and unlock is permanent with my personnal IMEI !!!

I'm so happy and can now use my GN with pleasure :)

OFF TOPIC :

Which version of radio is the best for GN GSM (European one but it has no importance)?

END of OFF TOPIC
[Samsung Galaxy Nexus] vidz369:
Didnt work for G Nex and - 4.0.1

Sorry wrong thread

---------- Post added at 04:17 PM ---------- Previous post was at 04:02 PM ----------

I have GNex with android 4.0.1. There is no log file under /data/radio/log. I deleted nv_* files also from the /data/radio but even then nv.log was not available. I followed all your instruction correctly. Any clues?
[Samsung Galaxy Nexus] kidangel1412:
My IMEI is changed to 004999010640000

Can you help me change it to real IMEI? Please....
[Samsung Galaxy Nexus] l2azvan:
hi

Bought a gnex locked on vodafone romania.

I need help to unlock it not losing my imei.not permanently...i'm new to android ,i switched iphone 4s on gnex.

thx in advance.
[Samsung Galaxy Nexus] poging22:
hello sir can you help me with may Galaxy Nexus?

It was unlocked permanently but i dont have a copy of my original imei which was supposedly backed up but now it is lost due to flashing. I have generic imei I cant restore my original imei please help
[Samsung Galaxy Nexus] badtzo:
Just to post I tried it on 4.1.1 and doesn't work =/ but I can recover IMEI by locking again with ****docomo.
[Samsung Galaxy Nexus] Steelskinz:
It's working for me on 4.1.1
[Samsung Galaxy Nexus] koiothai:
Nanna

could u please guide me how to enter that code and where to enter that code? my phone is bootloader unlocked and rooted from toolkit.i wanna follow ur procedure but donno where to apply that commands and how to got o that screen where i can put that codes. pl help me. i m using docomo nexus in japan.
[Samsung Galaxy Nexus] badtzo:
the instructions to unlock? or your previous unlocked nv_data? I can unlock but my IMEI change for default one.
[Samsung Galaxy Nexus] Steelskinz:
used fukdocomo.apk from ics and update with full wipe. It didn't touch the right parition so it works.
[Samsung Galaxy Nexus] badtzo:
Last night I did that 'cause in JB that didn't works, so it was very easy on ICS, in 5 minutes I get full unlock with correct md5 but when I use recovery to back to JB =/ it change my /data directory and give me the dummy IMEI, I supposed if I change it for my backed up of ICS it would be very easy but now :S it's kinda weird 'cause it says "unknown IMEI" I would try today doing the same thing but flashing JB as new and not from a recovery backup.
[Samsung Galaxy Nexus] churchmice:
You can just simply delete /data/radio/nv_data.bin* folder, it would regenerate from /factorey/nv_data.bin.

And there is a boot count, I don't know the exact number, let's say 100, when you have rebooted your phone for 100 times, the /data/radio/nv_data.bin is regenerated from /factorey/nv_data.bin. You can see the log in /data/radio/log/nv.log. I am pretty sure that I didn't flash my phone on 28th, may, but from the log, the nv_data.bin is regenerated, which lead me to believe there is sort of boot count mechanism.
[Samsung Galaxy Nexus] Steelskinz:
Does anyone could give efs.tar backup (from unlock phone) to mskip for him to add the option in his toolkit ?

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

Thanks
[Samsung Galaxy Nexus] Steelskinz:
Hi there,

As my phone is more than 3 months old i get the unlock code from my provider.

Problem is my phone is already unlock with the jup's theory.

I've got nv_data.bak / nv_data.bak.md5 / nv_data.bak.md5_compute

Which line command do i have to use to restore them to current without trouble ? (good permissions etc..) :confused:

Thanks
[Samsung Galaxy Nexus] gaz170589:
Galaxy Nexus Generic IMEI locked out Network

The same thing has happened to me, I was locked to o2. But I have a Orange T-Mobile sim so I unlocked it with doCOMO but its stopped halfway through, my phone rebooted 3 times and nothing... now I have a rooted phone that is locked out of EVERY network and a generic IMEI number. Can anyone help?

Thanks

Gaz

---------- Post added at 10:47 AM ---------- Previous post was at 10:43 AM ----------

I was locked to o2. But I have a Orange T-Mobile sim so I unlocked it with doCOMO but its stopped halfway through, my phone rebooted 3 times and nothing... now I have a rooted phone that is locked out of EVERY network and a generic IMEI number. Can you help?
[Samsung Galaxy Nexus] churchmice:
A generic IMEI means both your /factory/nv_data.bin and /data/radio/nv_data.bin are inconsistent with the corresponding nv_data.bin.md5.

Which version of ****docomo are you using ?

Would you please send me the content of /data/radio and /factory so i can give it a try.

I am no guru and generally it is a very bad idea to share your phone specific data to others, but reset assured that I am in different country.

If you feel it is comfortable, you can send those data to my email: laputaland@gmail.com
[Samsung Galaxy Nexus] Steelskinz:
Got something that can help us :

http://xdaforums.com/showthread.php?t=1804117
[Samsung Galaxy Nexus] gaz170589:
how do i get to where i can find content of /data/radio and /factory? ill will email you all the info you need.

thanks for your help on this :)
[Samsung Galaxy Nexus] badtzo:
If I understand your point... You just need run ****docomo again and lock it! then you can insert another sim and put your unlock code (don't forget to backup your files).
[Samsung Galaxy Nexus] santuan:
After ***docomo, I lost my IMEI but I was able to use the network. Then I followed the instructions here. Now, I got my original IMEI back, but network is locked again. Is this how it's supposed to be? Is there a way to get the network unlocked and keep the original IMEI at the same time?

Edit: I followed both steps here. I'm using Android 4.1.1.
[Samsung Galaxy Nexus] badtzo:
This trick for me only works on 4.0.4:

flash stock 4.0.4 with radio, fs, system, etc.

Then root and install busybox

then use ****docomo 3.1

then follow the steps on OP

Then you can flash again JB and it still be sim free with original IMEI
[Samsung Galaxy Nexus] metroidnemesis13:
I was able to use the app fdocomo version 3.1 on CM9 stable and it seems to have fixed it correctly, however if it relocks ever I'll come back here. I'm guessing he saw this and fixed the app to use these commands/theories. Thanks dude! Turn that mother out!

Also, his app caused my phone to reboot 3 times about 10 seconds after boot after I used the perma-lock feature, and then it gave a force close notification for fdocomo and I was able to stop it and uninstall it and it hasn't rebooted since.

Here should be a working MIRROR of the app.

https://skydrive.live.com/redir?resid=DB52A96C14A51CF!3043
[Samsung Galaxy Nexus] badtzo:
Yes, he did it but there are roms or apps that sometimes doesn't let run correctly the fdocomo script what means it doesn't restart the phone. It was my case I tried like 4 times all the steps with CM9, 4.03 and 4.0.4 moded roms and it seemed to work well but when came back to JB there was generic IMEI :o so I did a full flash to stock 4.0.4 from odin, did it all again and when I came back to JB :D there was correct IMEI :fingers-crossed:

just sharing my experience but yeah! fdocomo 3.1 should did all this steps by it self (on 4.0.4).
[Samsung Galaxy Nexus] metroidnemesis13:
Yeah, it appears CM9 stable is based on 4.0.4, at least for me. That's probably why it worked.
[LG Optimus Black] LGp970Owner:
Okay, I have a LG Optimus Black and I'v had for a few months now and yesterday afternoon the power/lock button just stopped working. I took the battery out and put it back in, and it wouldn't turn on. I found out a away to turn it on using my charger and the power/lock power. Can anyone explain what is going on with my phone?

Thanks
[LG Optimus Black] TarHeelTrigger:
The power button pad has been internally worn down by repeated use.
[LG Optimus Black] LGp970Owner:
Okay, so my power button is screwed?
[LG Optimus Black] N00BY0815:
Tried another ROM already? Maybe you just got a SW bug, which doesnt interpret the buttons correcly...

But I would say it's screwed...
[LG Optimus Black] LGp970Owner:
No, I didn't think of it. I went through heaps of hassle with data and stuff flashing the ROM I have now so I didn't think of it Could you suggest and good ones for my phone? and with good battery because my battery isn't charging properly or fast like it used to or not at all. Oh and the ROM I currently have is CyanogenMod.
[LG Optimus Black] arun_pms:
I would personally suggest you go with Zeus over Marvel, Both are great ROMs ofcourse ,however i had more available ram with zeus which could give us an edge when trying to play games;)..and the thing tat i liked abt Marvel is that it is totally custamizable:)
[LG Optimus Black] N00BY0815:
Dont turn this into a battery/ROM discussion thread. There are several of them. I would suggest you to simply flash stock SW, as you would have to do it anyway, to bring back the phone on warranty...
[LG Optimus Black] LGp970Owner:
Okay arun_pms, I'll try Zeus. Do I look it up on this?

Sorry NOOBY0815. Yeah, I'm thinking of taking it back and get a new one or a whole new phone. But yeah, I'll flash it back to stock if what arun_pms said doesn't fix my problem.
[LG Optimus Black] BoyBawang2:
Now i see the advantage of Samsungs hardware home button to its galaxy lineup as an alternative to wakeup the phone.
[LG Optimus Black] LGp970Owner:
Yeah, I like Samsung's android phones.
[Member-Found Deals] Techimplant:
Anybody interested in buying a Galaxy Note in Delh(India)?..bought it in January end but barely used it for a month as I was on an official trip..completely scratchless..not even a single line..n I have got loads of accessories too..
[Member-Found Deals] chils41:
Thread Closed !

Wrong Section !

And you might want to consider MP Rules.

When it says Must read, that means you must read it.

You Can not Buy/Sell on MP since you are not One year Old on XDA.

Thnx.
[Samsung Focus S] 64GUNSHIP:
Hello all,

I'm planning to get a new Samsung Focus S off eBay within the next few months. They're selling as low as $350 shipping included so I figured I'd take advantage of the deal.

I currently have an LG Quantum (two of them, actually), which are loaded with apps and interop-unlocked. I can typically get 10-12 hours on a single charge, with moderate messaging and internet usage, email push @ 1 hour, etc.

I'm honestly not satisfied with that and hope this device has either similar or better battery life. What do you guys find your devices get? I'll be purchasing an extra battery with the Focus S by default, as I prefer to always be connected.

Also, is it possible to interop-unlock the Focus S, or is there custom ROMs available for it? Those two things are absolute musts.

And to anyone with a carrier unlocked Focus S, does MMS/picture messaging work?

Thanks.
[Samsung Focus S] cmilldrummin:
*removed post*
[Samsung Focus S] BigJeff:
I just got my S and trust me man, your gonna love it, battery gets me through my school day and sports afterwards returning home with about... 30% battery left? WiFi always on same with "4g". You can interop unlock it FREE by going to windowsbreak http://windowsphonehacker.com/windowbreak/ BUT so far no custom roms and I haven't gotten any info on development for 1. If you hear something keep me posted. I was also wondering about it SIM unlocked and if MMS and the likes work because I haven't even put mine on AT&T yet/ at all.
[Samsung Focus S] sarlo100:
If you want a Focus S, now is the time to look for one. The market is a bit flooded after the "Smoked by Windows Phone" challenge down here, and Ebay US prices are now sub $300. In some cases, well below $300. Something to consider.
[Samsung Focus S] BigJeff:
Yup I stood in line for 5.5 hours in the pouring rain for mine :) Got a Titan for my dad too, since they had to take the challenge for me (not old enough)
[Samsung Focus S] 64GUNSHIP:
how many hours are we talking here? I usually go from 7 am to 4 pm on my quantum before its dead, usage dependant.
[Samsung Focus S] 64GUNSHIP:
At least we know you can copy/paste :)

I found a great deal here on the xda marketplace for a lightly used Focus S, just in the final dealings right now. I'm still a slight bit concerned about battery life.
[Samsung Focus S] turbulent28:
Maybe a little late to the party, but Id buy the phone.

I just picked up 2 of them for $200 each.

One off a friend and the other off craigslist.

These phones are a beauty.
[Samsung Focus S] 64GUNSHIP:
Thanks! I got one for $180.. In the mail now.
[Samsung Focus S] BigJeff:
Dude that's a steal! Yeah sorry I didn't comment on battery life, yeah that's from 6:30 AM to about 6:00 PM with moderate use, browser, texting, stream/playing music and light gaming. 12 hours with about a quarter fo third battery left. Good LUCK!
[Samsung Focus S] 64GUNSHIP:
Its used, but appears to be in mint condition. I'm hoping to get it within a week. Thanks for the info - maybe I won't need a second battery for it, like I so depressingly do for my LG Quantum