[GUIDE]Factory Images (JB-ICS-GB) [i9020T][i9023][i9020a][m200]

Search This thread

ezio84

Senior Member
Oct 18, 2009
3,108
15,200
Giovinazzo (Bari)
The version linked in my previous post is already modded:
http://www.mediafire.com/?6lkamuseq64hb62
;)

This is the content of android_winusb.inf
Code:
;
; Android WinUsb driver installation.
;
[Version]
Signature           = "$Windows NT$"
Class               = AndroidUsbDeviceClass
ClassGuid           = {3F966BD9-FA04-4ec5-991C-D326973B5128}
Provider            = %ProviderName%
DriverVer           = 12/06/2010,4.0.0000.00000
CatalogFile.NTx86   = androidwinusb86.cat
CatalogFile.NTamd64 = androidwinusba64.cat

;
; This section seems to be required for WinUsb driver installation.
; If this section is removed the installer will report an error
; "Required section not found in INF file".
;
[ClassInstall32]
Addreg = AndroidWinUsbClassReg

[AndroidWinUsbClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-1

[Manufacturer]
%ProviderName% = Google, NTx86, NTamd64

[Google.NTx86]
; HTC Dream
%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C01
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
; HTC Magic
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
;
;Moto Sholes
%SingleAdbInterface%        = USB_Install, USB\VID_22B8&PID_41DB
%CompositeAdbInterface%     = USB_Install, USB\VID_22B8&PID_41DB&MI_01
;
;Google NexusOne
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E22&MI_01
;
;Google Nexus S GT-i9023
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E20

[Google.NTamd64]
; HTC Dream
%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C01
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
; HTC Magic
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
;
;Moto Sholes
%SingleAdbInterface%        = USB_Install, USB\VID_22B8&PID_41DB
%CompositeAdbInterface%     = USB_Install, USB\VID_22B8&PID_41DB&MI_01
;
;Google NexusOne
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E22&MI_01
;
;Google Nexus S GT-i9023
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E20

[USB_Install]
Include = winusb.inf
Needs   = WINUSB.NT

[USB_Install.Services]
Include     = winusb.inf
AddService  = WinUSB,0x00000002,WinUSB_ServiceInstall

[WinUSB_ServiceInstall]
DisplayName     = %WinUSB_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

[USB_Install.Wdf]
KmdfService = WINUSB, WinUSB_Install

[WinUSB_Install]
KmdfLibraryVersion  = 1.9

[USB_Install.HW]
AddReg  = Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{F72FE0D4-CBCB-407d-8814-9ED673D0DD6B}"

[USB_Install.CoInstallers]
AddReg    = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

[SourceDisksNames]
1 = %DISK_NAME%,,,\i386
2 = %DISK_NAME%,,,\amd64

[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll  = 1
WdfCoInstaller01009.dll = 1

[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll  = 2
WdfCoInstaller01009.dll = 2

[Strings]
ProviderName                = "Google, Inc."
SingleAdbInterface          = "Android ADB Interface"
CompositeAdbInterface       = "Android Composite ADB Interface"
SingleBootLoaderInterface   = "Android Bootloader Interface"
WinUSB_SvcDesc              = "Android USB Driver"
DISK_NAME                   = "Android WinUsb installation disk"
ClassName                   = "Android Phone"
In the original Google driver this string is not present under [Google.NTx86] and [Google.NTamd64]
Code:
;Google Nexus S GT-i9023
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E20
 

elnahir

Senior Member
Jan 24, 2012
121
9
Sofia
Great work, mate! Much appreciated!

Now all I need is to figure out where to unzip this usb driver? Platform tools? Tools?.. What must I do to active it?

I just realized that my phone is actually missing from the Device Manager. The funny thing is that I actually saw it there like 8 hours ago.
 

ezio84

Senior Member
Oct 18, 2009
3,108
15,200
Giovinazzo (Bari)
Extract the zip wherever you want.
After connecting your phone (with debug mode ON) to the PC, if nothing happens just check if it is recognized in the device manager:

If there's an exclamation mark, choose to manually update the driver in the context menu, selecting android_winusb.inf in the previously extracted folder.
 

thomnow

Senior Member
Aug 9, 2010
64
21
I'm actually getting better performance, battery life and stability from using the stock 4.0.4. Absolutely brilliant post and thanks for the info. Currently at 17% after 1 Day, 10 hours and 37 mins - 3G / Wifi on all the time.

Only thing i miss is BLN :/

Thanks again, ill be sticking with this for the foreseeable future :D
 

Rblacula

Senior Member
Sep 19, 2011
222
24
I have a NS4G and dl'd the correct NS4G official factory images from Google but I've been stuck at "writing 'radio'..." for like 20 min... is this normal?!?
 

taronas

Senior Member
Dec 20, 2010
127
18
Does anybody have a link to an older 4.0.1 or 4.0.2 factory image? They are not listed at the android dev page and googling didn't yield anything yet.

thanks
 

anshumandash

Senior Member
Mar 9, 2011
1,647
487
I am on stock 4.0.4 with unlocked boot loader and customer kernel. I am planning to flash the factory image of 4.0.4 using fastboot. Will this wipe all my data on the phone & external storage?
 

anshumandash

Senior Member
Mar 9, 2011
1,647
487
I recently flashed the 4.0.4 image using fastboot. Everything went fine. While flashing the image-soju-imm76d.zip file using fastboot -w update image-soju-imm76d.zip command, i got the below response first
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
Then it flashed the boot, recovery, system and userdata correctly. The phone is working fine now.

Now what does it mean? Does it mean it is unsigned? Will this be a problem for me when 4.1 update comes? I am worried that upgrade to 4.1 might fail at signature verification. Can some one help me with this?
 

anshumandash

Senior Member
Mar 9, 2011
1,647
487
There is no expected date when Jelly bean is going to be available for Nexus S. Meanwhile I am planning to flash a customer Kernel. Later when Jelly Bean roll out is announced, can I just flash Boot.img (I think this is the stock Kernel) and be back to complete stock to receive the OTA? Or will I need to flash the whole factory image again?
 

DarkShadow69

Senior Member
May 7, 2011
227
37
Lahore
OnePlus 9
OnePlus 9 Pro
I was on cm9 and revert back to stock rom for my I9020t by following this thread. Also I was using cwm recovery. Everything is working fine except recovery. Whenever I try to access recovery I got android logo with red caution sign and after few seconds it reboots automatically. Please help me how can I fix this issue.
I had flashed recovery.img from stock rom image file but all in vain:(
 

billford

Member
Jul 19, 2012
17
2
I was on cm9 and revert back to stock rom for my I9020t by following this thread. Also I was using cwm recovery. Everything is working fine except recovery. Whenever I try to access recovery I got android logo with red caution sign and after few seconds it reboots automatically. Please help me how can I fix this issue.
I had flashed recovery.img from stock rom image file but all in vain:(

I get the same thing. If I press the power and volumn up keys at the same time, then it goes into the normal factory recovery. I can't remember if it worked like this when everything was original...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 87
    Hello everyone,
    i decide to write this guide and to collect all the future Factory Images for Nexus S (i9020T,i9023,i9020a,m200)
    Once installed them you retourn 100% stock.
    This is usefull in case you don't want to wait official OTA or you have to use warranty for some problem or you like a really clean install.
    Since Android 4.0 IceCreamSandwich you can't install OTA via update.zip method in stock recovery because is no more possible. If you try via stock recovery you get "error status 7" (this problem is corrected only if you use ClockWorkMod Recovery).
    Then is necessary to use Factory Image provided by Google.


    Factory Images:​

    JZO54K Android 4.1.2 Factory Image "soju" for Nexus S (worldwide version, i9020T,i9023)
    MD5 Checksum 788233dca5954532acda63039f814b4d

    IMM76D Android 4.0.4 Factory Image "soju" for Nexus S (worldwide version, i9020T,i9023)
    MD5 Checksum 414d80b4ed221f3c183d48b25ed16a19

    GRK39F Android 2.3.6 Factory Image "soju" for Nexus S (worldwide version, i9020T,i9023)
    MD5 Checksum e255b3373e1b96d5722ef35759c4b393


    JZO54K Android 4.1.2 Factory Image "sojua" for Nexus S (850MHz version, i9020a)
    MD5 Checksum 9cceb30ac64c914c06df5d16f5af2a52

    IMM76D Android 4.0.4 Factory Image "sojua" for Nexus S (850MHz version, i9020a)
    MD5 Checksum 3e73b10ffc07bf727c604965ea8346ce

    GRK39F Android 2.3.6 Factory Image "sojua" for Nexus S (850MHz version, i9020a)
    MD5 Checksum eeaaadb90fbc113fd8b7aa78ddb7d154


    JRO03E Android 4.1.1 Factory Image "sojuk" for Nexus S (Korea version, m200)
    MD5 Checksum 3f31acd14b3b464881886d2e8d2d94f4

    IMM76D Android 4.0.4 Factory Image "sojuk" for Nexus S (Korea version, m200)
    MD5 Checksum 393b47d3389232ce4388d019b3ce344b

    GRK39F Android 2.3.6 Factory Image "sojuk" for Nexus S (Korea version, m200)
    MD5 Checksum e25b1e8ee70a7820d3947e056715068f



    How to install:


    Requirements:
    -Android SDK
    -Java JDK
    -Platform-Tools
    -Unlocked bootloader ("fastboot oem unlock" pay attention, wipes everything, also SD card)
    -experience with adb and fastboot


    NOTICE: If you never used the sdk, the jdk, fastboot and adb, before installing the factory image YOU HAVE TO FOLLOW this guide in order to get sdk and unlock bootloader.
    From this guide YOU NEED ONLY PART 1 and PART 2 (maybe in the guide speaks about "tools" now is "platform-tools")



    Now you can proceed to install the Factory Image


    On Windows:

    1) copy the ecxtracted files (two times with 7zip) on android-sdk/platform-tools/ (this is important, if you dont unzip it, dont complain about "radio couldnt be loaded")
    2) run a cmd and moves in "platform-tools" folder
    3) write those command:

    4A) If you are coming from a custom rom, this wipe your data/cache:

    adb reboot bootloader
    fastboot flash bootloader bootloader-crespo-********.img
    fastboot reboot-bootloader
    fastboot flash radio radio-crespo-********.img
    fastboot reboot-bootloader
    fastboot -w update image-********.zip

    if you want relock the bootloader (not necessary, only for warranty) do also these two step:

    fastboot reboot-bootloader
    fastboot oem lock


    4B) If you are coming from another stock rom (official older OTA unrooted), this doen't wipe your data/cache:


    adb reboot bootloader
    fastboot flash bootloader bootloader-crespo-********.img
    fastboot reboot-bootloader
    fastboot flash radio radio-crespo-********.img
    fastboot reboot-bootloader
    fastboot update image-********.zip

    if you want relock the bootloader (not necessary, only for warranty) do also these two step:

    fastboot reboot-bootloader
    fastboot oem lock



    On Linux, Mac:

    1) copy the ecxtracted files (two times with 7zip) on android-sdk/platform-tools/ (this is important, if you dont unzip it, dont complain about "radio couldnt be loaded")
    2) run a terminal and moves in "platform-tools" folder
    3) write those command:

    chmod +x flash-all.sh
    ./flash-all.sh

    "flash-all.sh" wipes your data (it contains fastboot -w update, if you want to remove/change it edit with notepad++)
    "flash-base.sh" flashes only the bootloader and the radio.


    NOTICE:
    1) Instead of ******** you have to put the name of the files you download.
    2) somebody is aking why "adb reboot bootloader" each passages. Is not essential, but some people think it is better, maybe is only a superstition.


    PLEASE LEAVE ME A THANKS :)


    WARNING! DON'T DO THESE THING IF YOU DON'T KNOW WHAT YOU ARE DOING. I'M NOT RESPONSIBLE OF BRICKED NEXUS S OR SIMILAR
    3
    What's the difference between the JRO03E and JRO03L builds?

    JRO03L was the delayed OTA released to Vodafone Australia customers. I believe it resolves a regulatory requirement to indicate only emergency calls are possible when no SIM card is present in the device. The JRO03L build displays 'Emergency calls only' in the notification curtain, JRO03E does not.

    There are other minor bug fixes, but I haven't noticed any. I have JRO03L, but my wife has JRO03E (forced the delayed OTA by inserting a Thai SIM card)

    I think is the culprit; check the diff for source comments:

    https://android.googlesource.com/platform/frameworks/base/+/ef5d26119141b17c9b3879a1b6e36e6bb3fd931c

    It will be interesting to see if further OTA's arrive at the same time as they have different builds.
    3
    Time to add JB:)


    https://developers.google.com/android/nexus/images


    Sent from my Nexus S using xda app-developers app
    2
    mirror

    Here's a mirror for the soju version, in case someone has hard time downloading:
    http://stockroms.net/file/NexusS/GSM/4.0.4/soju-imm76d-factory-ca4ae9ee.tgz