Last Update: 2013-2-19
Japanese can buy Samsung Galaxy Nexus (GNex) SC-04D from NTT Docomo cheaply. Users who want to use this phone in other regions face the following problems:
- It is SIM locked
- It does not have tethering function
- It has a different radio baseband and lacks critical features for some other regions, e.g. UMTS 900MHz
These problems can all be solved. Here’s a shortened (and slightly modified) translation of the original HKEPC guide to unlocking SC-04D and Flashing Stock Firmware. Note: I’m too lazy to steal all the images there.
Disclaimer: Following this guide voids the warranty, and any mistake in this guide or following this guide could cause your phone to be unusable, bricked. I am not responsible if anything goes wrong. (I have done all these and my SC-04D is working perfectly though.)
0. Notes about Different Versions
When this article was published in May 2012, the latest Android factory image was 4.0.4, and the Galaxy Nexus Root Toolkit version 1.3 at that time contained a superuser (su) that was incompatible with 4.0.4. If a newer Android factory image is used (which is NOT recommended for SIM unlock), or a new Galaxy Nexus Root Toolkit is used, the procedures related to su need to be adapted (primarily using a correct version of su that is suitable for the version of Android OS). By 2013 the toolkit has changed much, so the detailed steps or on-screen instructions for unlock and root will likely be different.
I. Install Necessary Drivers in Windows
This section installs the necessary drivers using PDA Net. If for any reason this is not successful, you may try searching for “Samsung USB Driver for Mobile Phones 1.4.6.0” instead.
- If you already have other Android ADB drivers installed, it is highly recommended that you uninstall them first. (This is not in the HKEPC guide, but I ran into a driver problem due to having previous Nexus One drivers).
- Download PDA Net and make sure you choose the correct 32-bit or 64-bit version depending on which Windows you have (Start -> right click Computer -> Properties > System Type)
- Make sure the phone is not connected to the PC
- Start PDA Net, choose to uninstall previous drivers if asked
- Choose Samsung as manufacturer for driver installation
- Ignore all warnings from Windows about untrusted driver and choose to install it – usually there will be multiple warnings
- When PDA Net asks you to enable USB Debugging in the phone, tick the checkbox in Galaxy Nexus Settings -> Developer Options -> USB Debugging, then connect it to the PC
- When asked again to install a driver, choose to install it
- In the final screen where there are three checkboxes “Connect PDANet after installation”, “Display incoming SMS on computer”, “Hide Tether Usage”, uncheck all of them, then click Finish
- If you like to verify that the previous steps have been done correctly, in Windows Start -> right click Computer -> Manage -> Device Manager, you should find “SAMSUNG Android ADB Interface” under “SAMSUNG Android Phone”.
- Disconnect the phone from the PC, and power it off
- Hold the Volume Up, Down and Power buttons to boot up the phone in Fastboot mode. If done correctly, you’d see a large green “Start” on top and a green android image in the center.
- Connect the phone to the PC again, such that it installs the drivers for Fastboot mode
- Hopefully you don’t get any warnings or errors from this. (If you do, uninstall all the Samsung / ADB drivers and retry, or use the alternative Samsung mobile drivers stated above).
- Unplug the battery from the phone to leave Fastboot mode
II. Unlock Bootloader
This section performs the unlock for Android bootloader (not unlock SIM) such that we can root it.
- Unlock wipes all data from the phone. So back up all your phone data first.
- Download and install Wugfresh Galaxy Nexus Root Toolkit
- Connect the phone (with USB Debugging enabled) to PC
- Run the installed toolkit
- Choose “GSM/HSPA+” as the model
- Press “Unlock”
- Following the on-screen instructions. If everything goes well, you’ll see your device being detected so you can input 1 and press Enter.
- Your phone should go into Fastboot mode. Input 1 and press Enter.
- The phone should show several paragraphs of text with a “Unlock bootloader?”. Press Volume Up, then press the power button.
- Wait for the unlock to finish
III. Root
This sections roots your phone, installs ClockworkMod Recovery and superuser.
- Connect the phone (with USB Debugging enabled) to PC
- Run the Galaxy Nexus Root Toolkit
- Choose “GSM/HSPA+” as the model. (Note: in later versions of the toolkit there is an option to flash a custom recovery – it should be enabled.)
- Press “Root”
- Following the on-screen instructions. If everything goes well, you’ll see your device being detected so you can input 1 and press Enter.
- Your phone should go into Fastboot mode. Input 1 and press Enter.
- The toolkit then installs ClockworkMod Recovery. Wait for it to finish then press Enter.
- Follow the on-screen instructions to boot up your phone in Fastboot mode, go into recovery and install su.zip (all using the Volume Up / Down and Power buttons). (Note: if you’re using Galaxy Nexus Root Toolkit version 1.3 and you’re repeating this section after flashing to 4.0.4, you need the su.zip in the Apps folder, not in the SD root.) During this time do not press the PC keyboard.
- Finally, choose “reboot system now” in the recovery
- When the phone is booted up, there should be a “Superuser” app.
- In the Toolkit where it is still showing the previous instructions, press Enter to perform the final step.
IV. Backup IMEI and ROM
This section is optional. If you feel necessary to backup the IMEI and the ROM in the phone:
- Install EFSBackup from Play Store and run it.
- You may also purchase/find Root Explorer to copy the /factory folder to Internal SD.
- Boot up the phone in Fastboot mode and choose Recovery
- Choose “backup and restore”, then “backup”. After it is complete, choose “reboot system now”
- Disable USB Debugging from phone settings
- Connect the phone to the PC
- Browse the phone, then copy the following 3 folders/files to PC: clockworkmod, factory, efs_backup_XXXXXX.img
- Eject the phone and disconnect it from the PC
V. Flash Google Stock Firmware
- Download a 4.0.4 Factory Image for Galaxy Nexus (GSM/HSPA+) from this Google Factory Images for Nexus Phones page. Do not use 4.1.x or 4.2.x factory image, because this unlock SIM method works best with 4.0.4. (If you live outside USA, choose the standard one without Google Wallet.) Do not close this web page even after the download is completed.
- If you have disabled USB Debugging from the phone previously, enable it again
- Connect the phone (with USB Debugging enabled) to PC
- Run the Galaxy Nexus Root Toolkit
- Choose “GSM/HSPA+” as the model
- Press “Flash Stock + Unroot”
- Choose “Other/Browse… (Can be used with ANY factory image)”
- Choose “It has already been downloaded but please properly extract it for me”
- Press “OK”
- Choose the downloaded factory image with .tgz file extension, then press “Open”.
- Switch to the Factory Image web page and copy the MD5 Checksum string, then paste it to the Galaxy Nexus Root Toolkit prompt for MD5.
- The Toolkit should prompt “Your file is good to extract and flash! Press OK to continue”. Press “OK”.
- The Toolkit should show “Please be patient while your file extracts…”. Wait for it to finish.
- If everything goes well, you’ll see your device being detected so you can input 1 and press Enter.
- Your phone should go into Fastboot mode. Input 1 and press Enter.
- This starts the firmware flashing. It will take a while and the phone will be rebooted more than once automatically.
- When this is completed and you gain control of the phone, go to the phone Settings -> About Phone to check the Android version matches the factory image you downloaded.
VI. Unlock Sim
This section unlocks the SIM lock such that the phone can be used with a service provider other than NTT Docomo. (Note: although this procedure talks about FuckDocomoV3.1 I never tried that. I used FuckDocomoV2, Unlock(Forever), then dangerous manual steps to unlock the SIM. The V3.1 is supposed to automate the dangerous steps so that no user error is incurred.)
- If you’re using Galaxy Nexus Root Toolkit version 1.3 instead of anything newer, and you’ve flashed Android 4.0.4, download this newer version of su.zip that is Android 4.0.4 compatible (Note: it is NOT compatible with any newer version of Android OS).
- Download FuckDocomoV3.1.apk from the author page or here
- Check Phone Settings -> About Phone -> Status -> IMEI, if your IMEI is the generic IMEI 004999010640000 it means your phone has been unlocked previously in a way that loses your real IMEI. If that’s the case, you’d need to read through the the author page above and find out how to restore it to the state of showing a real IMEI – it may possibly involve downloading FuckDocomoV2 and re-locking the SIM, or try the manual steps in Jup’s Grand Theory of Permanent SIM Unlock
- Connect the phone to PC
- Create a folder called “Apps” in the phone internal SD
- If you’re using Galaxy Nexus Root Toolkit version 1.3 instead of anything newer, copy the su.zip just downloaded to this Apps folder (The su.zip must NOT be placed in the root of the internal SD because it will be overwritten by the Galaxy Nexus Root Toolkit version 1.3 with an incompatible version)
- Copy the FuckDocomoV3.1.apk to the Apps folder
- Perform Root again as described in section III (because your phone is unrooted in section V) but install the su.zip in Apps folder instead of the root.
- In phone Settings -> Security -> Unknown sources, check “Allow installation of non-Market apps”
- Install ASTRO File Manager from Play Store
- Run ASTRO and use it to install FuckDocomoV3.1.apk
- Run FuckDocomoV3.1 and click the button to unlock SIM forever
- Reboot the phone and verify voice calls and data connection with your service provider
VII. Upgrade to Jelly Bean
I followed the above procedures and got a perfectly working Android 4.0.4 factory image on my SC-04D. When Jelly Bean over-the-air (OTA) upgrades became available, I found that my device could not proceed with the OTA update successfully, although it caused no harm either. The cause of this is due to the custom recovery being used.
I decided to use a custom ROM to upgrade to Jelly Bean. Here’s a brief summary of what I did to my SC-04D:
- Backup all my apps and data using Galaxy Nexus Root Toolkit. (Note: System apps should NOT be included in the backup). I followed this guide. It toke a really long time, something like 20-30 minutes for me.
- Upgraded my Clockwork Mod Recovery (CWM) to the latest version.
- Downloaded the files in the rest of this procedure using Windows, copied them to the Galaxy Nexus internal storage from Windows
- Boot to the CWM recovery, perform Wipe data/Factory Reset, Wipe Cache, Advanced -> Wipe Dalvik Cache. (Many guides tell you to Wipe Battery Stats too, but I don’t see the need for it and never did it.)
- Flashed the following using CWM recovery, in this sequence:
- Xenon HD (I used 23-Oct-2012 4.1.2 version for 3 weeks and was happy with its functionality and smoothness.)
- JB+ICS Boot Animation – because I don’t really like the boot animation in Xenon HD
- Leankernel
- New baseband – I used XXLF1 that was meant for Android 4.1.2 for several weeks, and just upgraded to XXLH1 that came with Android 4.2 – I flashed both the cwm package of baseband as well as the Radio Interface Layer (RIL) for it. Some may question whether running Android 4.1.2 OS with 4.2 baseband and RIL may have compatibility issues – I can only say that my voice calls, SMS, and data connection seem to work normally so far.
As of March 2013, I upgraded to the followings to have a complete Android 4.2.2:
- TWRP (instead of CWM)
- Bootloader LC03
- Baseband XXLJ1 with RIL for XXLH1
- rasbeanjelly
- BaNkS gapps
- AK Kernel
- JB+ICS Boot Animation
I’ve also written a related article on Finding the Best ROM for Galaxy Nexus “maguro” and Nexus 4 “mako”.
Al Darist said:
i think there is a software update, ive unlock my phone using this method, does it advisable to update to 4.1 and root/unlock again using this method?
moonlightknighthk said:
I tried to perform OTA update to 4.1 with my rooted Galaxy Nexus and it could not be done (giving an exclamation mark error). I read from xda that using the Galaxy Nexus Toolkit to flash the stock image again (wiping all the data and becoming unrooted), then OTA will be ok.
Bigburci said:
Hello, I just got this model already unlocked with factory settings in Europe. Yesterday I just got an OTA (maybe it was the Jelly bean) since then the phone is keep rebooting after the google logo. Is it possbile to recover somehow without to useing the hard reset. As I figured it out, it will locks the phone again and I am loosing all my unsaved data and have to do these procedures to make it works. To be honest I do really liked as it was and worked fine. Thanks in advance!
moonlightknighthk said:
I’ve no idea. Perhaps you may check if any of these procedures may help: http://forum.xda-developers.com/showpost.php?p=20843237
nanna said:
i tried this but my imei number is lost and its showing generic imei. is there any way to unlock sim and keep imei.
moonlightknighthk said:
I think this may work but I’ve not tried it: Please try to use the FuckDocomo app to re-lock the phone, and see if the real IMEI shows up. After that, unlock it properly.
Rashmi said:
Hi.. I have also got the generic IMEI. Checking the networks, I can see the list of available networks but not able to connect to my network 😦
Rashmi said:
well.. I just tried factory restore from settings and the IMEI was restored… and the sim is also working nowwww 🙂 🙂 🙂
moonlightknighthk said:
That’s great news!
Ray said:
Can you use GSM if SIM is unlocked?
moonlightknighthk said:
No. (Except emergency call).
moonlightknighthk said:
I think I misread the question and gave an incorrect reply. After the SIM is unlocked, it can use GSM, 3G, HSPA(+).
sathish said:
i could not able to unlock with this method . kindly help
moonlightknighthk said:
Symptom? Details?
srm said:
I unlocked and rooted the phone…..all okay…. bt using the fuckdocomo i sim unlocked it…in about phone… it shows network as Vodafpni IN… shows my phone numbr… bt does not catch any network signal !!!:(
srm said:
ya nd i flashed 4.2.2 factory image…. i have generic imei nd no netwrk…and also cant factory reset from settings…i need to open recovery mode to factory reset… hw cn i get the network ??
moonlightknighthk said:
According to meplur at http://forum.xda-developers.com/showthread.php?t=1548210&highlight=generic&page=35
You may try:
Lock again (need backup).
Downgraded to 4.0.4 using Toolkit and tried Unlock(forever) again. Let phone reboot a couple of times, and it worked. IMEI was unchanged (correct).
Upgraded to 4.2.1 using Toolkit and phone is still unlocked.
srm said:
I didnt backup my imei…. what to do ???
moonlightknighthk said:
Try this thread: http://forum.xda-developers.com/showthread.php?t=1548210 I hope you’ll find an answer from there.
srm said:
thank u 🙂 i hope that i get my network soon…. ! sim is unlocked…bt no network 😦 tried everything that i could !
moonlightknighthk said:
Try to find a way to restore your original IMEI first.
juan said:
I’m not sure if you can help me but I bought the phone unlocked already and ever since I bought it, it has been showing that I am constantly searching for signal even though it shows full bars (according to better battery stats). This has caused me to have horrible battery life. I flashed the latest radio for 4.2.2 and am running a 4.2.2 ROM. Any suggestions? Could it be the radio? I had the stock radio for a while and it was giving me the same behavior.
moonlightknighthk said:
I don’t have the definite answer, but here’s some of the things you may try:
– If you flash the radio, usually you’ll also need to flash the Radio Interface Layer (RIL)
– Disable WiFi, GPS, Google Now, Google Backup
– Try out different kernels and/or ROM, especially LeanKernel
– Do a full wipe and reinstall everything
– Downgrade to 4.1.2 together with radio and RIL
Sly Apo said:
Have you updated to Android 4.3 custom roms?
moonlightknighthk said:
Yes, using Pure Speed X based on Android 4.3 now.
Sly Apo said:
What if my IMEI is 004999010640000, do I need to do the manual steps of Jups? What if I dont need that? May I proceed? It’s so difficult to do that 😦
moonlightknighthk said:
Using a generic IMEI is not good. Some networks even ban it.