[APP] Linux Tool for Bricked Nexus S after firmware update

Search This thread

uxmanz

Senior Member
Jun 11, 2010
74
46
boot in windows or use linux version of fastboot
download stock firmware pack from google official site
https://developers.google.com/android/nexus/images

and follow following sequence


fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot erase cache
 

bluehawk20

Member
Jul 12, 2012
30
0
use the Nexus S resurrector and just use fastboot. You probly wont see anything on screen but it should be in fastboot mode.

Once resurrection complete(sbl injected,download mode),there would be an android shoveling on the resurrector and phone but this one just show unknown device on the resurrector and nothing on phone,no key light whatsoever once resurrection complete.Tried fastboot devices but no devices found.On device manager,once phone pluged in,it shows SPC110 test b/d for a second and disappear.
I guess something wrong in injecting the unbrick/boot eventho it shows resurrection complete.

p/s: btw,i found xyz box Jtag boot repair file for the M200 and it's in .bin extension.Maybe any of u guys out there could do something with the file and make it flash able with QPST or something?
 
Last edited:

ondrong

New member
Jul 19, 2006
3
0
my D720 have problem with "unknown baseband" mode
already use JTAG tools but not luck yet
can you confirm this tool can repair this one ??


txs
 

uxmanz

Senior Member
Jun 11, 2010
74
46
this tool works on i9020a i9020t and i9023,... i guess
not working on korean variant m200s
i too tried Jtag but no luck,......

---------- Post added at 05:01 AM ---------- Previous post was at 04:51 AM ----------

@bluehawk.,... can you pm me the link of xyz box files?

i try that!
 

bluehawk20

Member
Jul 12, 2012
30
0
this tool works on i9020a i9020t and i9023,... i guess
not working on korean variant m200s
i too tried Jtag but no luck,......

---------- Post added at 05:01 AM ---------- Previous post was at 04:51 AM ----------

@bluehawk.,... can you pm me the link of xyz box files?

i try that!

I guess the files in this tool doesn't support korean version,m200.Maybe we could make it work if we got the m200 files.
Anyway,pm'ed the link.Let us know.
 

thehulk1969

Senior Member
Dec 28, 2007
104
19
I am not sure if there is an error somewhere in the script below as it is saying it failed to write towards the bottom




Credits:
AdamOutler- Hardware Analisys/Modification/high level software development
Rebellos- Firmware development
Midas5, mijoma, TheBeano- UART Output Debugging/Firmware Support
Building command list
#S5PC110 (Galaxy S)
#RESURRECTOR SELECTED:HIBL.bin LOCATION:0xD0020000
#SBL: Sbl.bin LOCATION:0x40244000 tool:SMDK
1. Apply UnBrickable Mod
2. Remove then insert Device battery
3. Connect to computer via USB.
4. Click the Download Mode button
5. Download new software with Heimdall.

Clearing Previous Instance
Building command list
#S5PC110 (Nexus S)
#RESURRECTOR SELECTED:HIBL.bin LOCATION:0xD0020000
#SBL: nexus_sbl.bin LOCATION:0x33040000 tool:SMDK
1. Apply UnBrickable Mod
2. Remove then insert Device battery
3. Connect to computer via USB.
4. Click the Download Mode button while holding button combination
5. Download new software with fastboot for Linux.



Begin Resurrection Sequence

Requesting Permission to access device

Please wait.... Uploading..
-------------------------------------------------------------
Hummingbird Interceptor Boot Loader (HIBL) v2.1
Copyright (C) Rebellos 2011
-------------------------------------------------------------
SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 008, dev 004
=> loaded 24576 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/HIBL.bin
=> Downloading 24586 bytes to 0xd0020000
=> Data checksum d8dc
=> usb_bulk_write() returned 64
failed to write 24586 bytes

Interceptor Injection Complete. Injecting modified SBL


SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 008, dev 004
=> loaded 1310720 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/nexus_sbl.bin
=> Downloading 1310730 bytes to 0x33040000
=> Data checksum 6106
=> usb_bulk_write() returned 64
failed to write 1310730 bytes
Modified SBL Injection Completed Download Mode Activated



Begin Resurrection Sequence

Requesting Permission to access device

Please wait.... Uploading..
-------------------------------------------------------------
Hummingbird Interceptor Boot Loader (HIBL) v2.1
Copyright (C) Rebellos 2011
-------------------------------------------------------------
SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 008, dev 004
=> loaded 24576 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/HIBL.bin
=> Downloading 24586 bytes to 0xd0020000
=> Data checksum d8dc
=> usb_bulk_write() returned 64
failed to write 24586 bytes

Interceptor Injection Complete. Injecting modified SBL


SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 008, dev 004
=> loaded 1310720 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/nexus_sbl.bin
=> Downloading 1310730 bytes to 0x33040000
=> Data checksum 6106
=> usb_bulk_write() returned 64
failed to write 1310730 bytes
Modified SBL Injection Completed Download Mode Activated



Begin Resurrection Sequence

Requesting Permission to access device

Please wait.... Uploading..
-------------------------------------------------------------
Hummingbird Interceptor Boot Loader (HIBL) v2.1
Copyright (C) Rebellos 2011
-------------------------------------------------------------
SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 008, dev 005
=> loaded 24576 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/HIBL.bin
=> Downloading 24586 bytes to 0xd0020000
=> Data checksum d8dc
=> usb_bulk_write() returned 64
failed to write 24586 bytes

Interceptor Injection Complete. Injecting modified SBL


SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 008, dev 005
=> loaded 1310720 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/nexus_sbl.bin
=> Downloading 1310730 bytes to 0x33040000
=> Data checksum 6106
=> usb_bulk_write() returned 64
failed to write 1310730 bytes
Modified SBL Injection Completed Download Mode Activated



Begin Resurrection Sequence

Requesting Permission to access device

Please wait.... Uploading..
-------------------------------------------------------------
Hummingbird Interceptor Boot Loader (HIBL) v2.1
Copyright (C) Rebellos 2011
-------------------------------------------------------------
SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 002, dev 054
=> loaded 24576 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/HIBL.bin
=> Downloading 24586 bytes to 0xd0020000
=> Data checksum d8dc
=> usb_bulk_write() returned 0
failed to write 24586 bytes

Interceptor Injection Complete. Injecting modified SBL


SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 008, dev 006
=> loaded 1310720 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/nexus_sbl.bin
=> Downloading 1310730 bytes to 0x33040000
=> Data checksum 6106
=> usb_bulk_write() returned 64
failed to write 1310730 bytes
Modified SBL Injection Completed Download Mode Activated



Begin Resurrection Sequence

Requesting Permission to access device

Please wait.... Uploading..
-------------------------------------------------------------
Hummingbird Interceptor Boot Loader (HIBL) v2.1
Copyright (C) Rebellos 2011
-------------------------------------------------------------
SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>


Interceptor Injection Complete. Injecting modified SBL


SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 008, dev 007
=> loaded 1310720 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/nexus_sbl.bin
=> Downloading 1310730 bytes to 0x33040000
=> Data checksum 6106
=> usb_bulk_write() returned 64
failed to write 1310730 bytes
Modified SBL Injection Completed Download Mode Activated



Begin Resurrection Sequence

Requesting Permission to access device

Please wait.... Uploading..
-------------------------------------------------------------
Hummingbird Interceptor Boot Loader (HIBL) v2.1
Copyright (C) Rebellos 2011
-------------------------------------------------------------
SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 008, dev 008
=> loaded 24576 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/HIBL.bin
=> Downloading 24586 bytes to 0xd0020000
=> Data checksum d8dc
=> usb_bulk_write() returned 64
failed to write 24586 bytes

Interceptor Injection Complete. Injecting modified SBL


SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 008, dev 008
=> loaded 1310720 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/nexus_sbl.bin
=> Downloading 1310730 bytes to 0x33040000
=> Data checksum 6106
=> usb_bulk_write() returned 64
failed to write 1310730 bytes
Modified SBL Injection Completed Download Mode Activated



Begin Resurrection Sequence

Requesting Permission to access device

Please wait.... Uploading..
-------------------------------------------------------------
Hummingbird Interceptor Boot Loader (HIBL) v2.1
Copyright (C) Rebellos 2011
-------------------------------------------------------------
SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 008, dev 009
=> loaded 24576 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/HIBL.bin
=> Downloading 24586 bytes to 0xd0020000
=> Data checksum d8dc
=> usb_bulk_write() returned 64
failed to write 24586 bytes

Interceptor Injection Complete. Injecting modified SBL


SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 008, dev 009
=> loaded 1310720 bytes from /tmp/TempHeimdallOneClick51A6D8C1/UnBrickPack/nexus_sbl.bin
=> Downloading 1310730 bytes to 0x33040000
=> Data checksum 6106
=> usb_bulk_write() returned 64
failed to write 1310730 bytes
Modified SBL Injection Completed Download Mode Activated
 

uxmanz

Senior Member
Jun 11, 2010
74
46
@adam,.... i have m200s korean,...i told u before,,... some this is really wrong,.... i have tried riff box,..but it stucks at 75% and fails to boot,... i dont have GPG box on any other i have extracted every SBL that existed in any rom bootloader image that existed,... but my cell phone fails to boot,... we cant have a valid .pit file for some reason,... so default firmware wont flash,... and i fail to understand ,... why it is only booting galaxy S SBL,... seriously,... it kills me!,.. to see my cell phone in drawer :(

it can boot galaxy S sbl and flash galaxy s rom,... with lots of corrupted features and is highly unstable,.... i tried to flash zimage of nexus s,.. no boot,....
no fastboot,... no adb,... and no emmc,... useless recovery menu,... thats all i get from galaxy s rom,...

next thing i am going to do is to flash bootloader imag via JTAG cable i have LPT and digilent USB jtag ill try it via H-jtag software,... if something good happens ,...ill post results,...

if some one wants to give me some heads up,... please do,...

ill keep my fingers crossed
 

bluehawk20

Member
Jul 12, 2012
30
0
@adam,.... i have m200s korean,...i told u before,,... some this is really wrong,.... i have tried riff box,..but it stucks at 75% and fails to boot,... i dont have GPG box on any other i have extracted every SBL that existed in any rom bootloader image that existed,... but my cell phone fails to boot,... we cant have a valid .pit file for some reason,... so default firmware wont flash,... and i fail to understand ,... why it is only booting galaxy S SBL,... seriously,... it kills me!,.. to see my cell phone in drawer :(

it can boot galaxy S sbl and flash galaxy s rom,... with lots of corrupted features and is highly unstable,.... i tried to flash zimage of nexus s,.. no boot,....
no fastboot,... no adb,... and no emmc,... useless recovery menu,... thats all i get from galaxy s rom,...

next thing i am going to do is to flash bootloader imag via JTAG cable i have LPT and digilent USB jtag ill try it via H-jtag software,... if something good happens ,...ill post results,...

if some one wants to give me some heads up,... please do,...

ill keep my fingers crossed

Even riff couldn't complete boot repair?This is so strange!btw,what file u used in riff?M200's files available in riff?
Let me know ur progress.Me too sad looking at my nexus s being useless lying on my table.
 

BouRRi_GSM

Senior Member
Jan 14, 2006
62
1
TuNiSiA
Hello,
my i9023 was working fine, and dead while pulling battery out when booting.
can't revive it with JTAG (Riff, Medusa and ORT).

so i erase phone with Riff, and now phone is detected as S5PC110 on windows.

so i install ubuntu.... latest java.... heimdall-prontend...

i repair phone using Unbrickable Resurrector by selecting "Nexus S" but can't get phone in Download Mode after succesfull resurrect.
so i select "Galaxy S" and resurrect, then phone is detected in Download mode with the 2 key light on.

i restart windows when keeping power key pressed to keep phone in download mode (cause is off if not), Windows detect Samsung mobile phone in modem, odin detect also phone but can't be flashed with multi-files, maybe wrong pit, cause i use the pit shared in forum and seem it's not ok, and can't find official pit file.

so i create a tar.gz file with heimdall, but it seem not working for me, maybe wrong steps or bad pit file.


anyway, can someone share working Heimdall One-Click file for my i9023, it's customer phone, and this problem happen to me when replacing LCD and take battery out when booting.
also working pit file will be helpfull.

thx in advance :).
 

uxmanz

Senior Member
Jun 11, 2010
74
46
well,... i guess this is most effing idiot phone i have ever used,... boots i9000 roms sbl and what not....but fails to load any of its own roms,... i have done every thing i could but this cell wont boon its own roms,..
some one has to rework on HIBL re config or do something,....else its solid as a Brick,....

---------- Post added at 07:20 PM ---------- Previous post was at 07:12 PM ----------

riff box has i9020 backup but it wont finish the nand write process it stucks at 73 something percent,....
i gave my cell to some cell repair shop,... the idiot sctarched TRST strip,... now i have no choise left ,... i guess,... if some one gets a better idea,.. let me know
thanks

**the gist of this scene is: unless we boot nexus s own sbl cuz it contains its own pit locations,.... its solid as brick**
 
Last edited:

BouRRi_GSM

Senior Member
Jan 14, 2006
62
1
TuNiSiA
this Pit is saved by Z3X when Flashing working i9023.

it seem same like the one dumped with heimdall!!!

and it dosn't work with Z3X or Odin after resseruct Nexus S with i9000 sbl or maybe it dosn't work even with working phone.
 

Attachments

  • I9023_8-1-2013_17-11-20.rar
    423 bytes · Views: 115

uxmanz

Senior Member
Jun 11, 2010
74
46
this Pit is saved by Z3X when Flashing working i9023.

it seem same like the one dumped with heimdall!!!

and it dosn't work with Z3X or Odin after resseruct Nexus S with i9000 sbl or maybe it dosn't work even with working phone.

well as far as i have learnt so far ,... sbl contains partition table in it,... the pit file we have to load is to match with the partition table information in sbl,... the partition table in i9000 sbl is different from i9020 or 9023,.. and they are not cross compatible,....
we some how need to to boot its own sbl to make it work with nexus s pit file

anyways thanks
 

samcortez

Senior Member
Dec 11, 2011
248
30
Curitiba
Adam, I really, really, apreciate your job. It's amazing, now I got the download mode. I'm soo happy. Thank you. Really, really, thank you. I'll donate to you when I get some money. Regards!


Edit: About the hardware modification. I didn't solder anything, I just remove the resistor, Is this a problem?
 
Last edited:

uxmanz

Senior Member
Jun 11, 2010
74
46
Adam, I really, really, apreciate your job. It's amazing, now I got the download mode. I'm soo happy. Thank you. Really, really, thank you. I'll donate to you when I get some money. Regards!


Edit: About the hardware modification. I didn't solder anything, I just remove the resistor, Is this a problem?


what model do u have?

and are u able to fully recover ?
 

land.apfel

Senior Member
Jun 4, 2012
114
7
I bricked my phone today by pulling out the battery at boot up D:

This seems to be my last chance, but I'm not very experienced with soldering.
Is there any way around soldering and getting my phone back to work?
At the moment is doesn't react to anything. No sign of life.

Thanks.
land.apfel
 

samcortez

Senior Member
Dec 11, 2011
248
30
Curitiba
what model do u have?

and are u able to fully recover ?
i9023. I went to Download Mode, but using the Galaxy S option, so, I couldn't flash anything due to errors. So, I went in to a assistance and ask they to do it for me, it coust me 20 dollars, I will pick the phone tomorrow. What I really want is to get into fastboot. So, I can flash the bootloader again.

What I'm planning to do is:

-Use this tool to go to fastboot mode.
-Open terminal and type: apt-get install adb (I guess it should be this, I'm not sure at all)
-Download image from Google, Adam has posted it somewhere in his topics.
-Type: adb flash bootloader.img
-And I really hope to get my sweet phone back.

---

Lan.apfel: Mine was broken due to it. I really think you will repair your phone using this. I took the battery out when booting. And, as yours, don't give any life signal till I use it.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 68
    Hey guys.. This tool will recover your bricked Nexus S after a bad firmware update. If your phone is showing anything on-screen, this tool is not for you. Don't forget to hit the donate button :).. hey, it's Christmas and my kid could use some extra toys. Note: 1/2 of any donations received from the UnBrickable are split with Rebellos for firmware development.


    Introduction
    Last night I received a PM that Nexus S devices were getting bricked after applying a T-Mobile update. I responded by creating Revision 37 of the UnBrickable Resurrector. Rebellos and I have developed a software solution to get bootloaders back on what would otherwise be a Hard Bricked (or lucky bricked) Nexus S.

    You Will Need
    You will need some software on your computer to get started. Here's what you need
    Software Based Resurrection
    Now that we have all the prerequisites taken care of, let's resurrect your device.
    1. In Ubuntu, right-click the UnBrickableResurrectorR38.jar, click properties>Permissions>"Allow executing file as program"
    2. Plug in your Nexus S
    3. Right-click the resurrector, open with Java, and observe the following image
      oswvvq.png
    4. Select "S5PC110 (Nexus S) from the drop-down box.
    5. Click the Download Mode button. The resurrector will ask for a password to access the Linux device.
    6. Enter your password, then hold the proper key combination on your device to access Fastboot or Download Mode.

    Depending on the button combination you hold, your device will end up in Fastboot or Download Mode. For Download Mode you can use Heimdall or create a Windows Virtual Machine and launch Odin. Fastboot may be easier to use for you. See other threads in this forum for loading software in Fastboot or Download Mode.

    Please note, I do not own a Nexus S, so please follow the advice and answers of others who help you with your particular model in this thread.
    6
    I've been getting PMs asking for an explanation of what this is.. Is it BOOT, is it HBOOT??

    The answer:

    It's neither. The UnBrickable Resurrector leverages the power of the Hummingbird Interceptor Bootloader created by Team HummingMod's Rebellos. Rebellos has a very good understanding of the Hummingbird processor and its configurations. The way this bootloader works is injecting code directly into the processor

    Here is a very high level overview:
    1. processor tries to boot and fails.
    2. Processor goes into a IROM failover mode. Normally, with UnBrickable Mod, we modify the processor's input to force this mode, it's not normally a failover. The bricks we are handling here are "lucky bricks"
    3. Processor executes IROM USB download routine and asks for secure code then waits for the computer to respond
    4. Computer sends HIBL and memory location to load HIBL.
    5. HIBL is loaded into memory where it performs secure authentication with the processor
    6. HIBL performs several diagnostic checks and displays UART output (if you're monitoring this)
    7. HIBL makes decisions on how to initialize the processor based on charactoristics seen in the device registers
    8. HIBL initializes the processor and much larger DRAM (System RAM)
    9. HIBL calls back the IROM code used to download the HIBL, but this time it does not call back the security routines.
    10. Processor executes IROM USB download routine but does not perform security checks
    11. Computer sends modified SBL and a memory location.
    12. SBL is loaded into the Memory location specified and executed
    13. The SBL handles the vast majority of platform specific initialization... screen, storage and other things.
    14. Modified SBL forces the device into Fastboot mode or allows Download Mode
    15. System appears to be booted normally, however, if you unplug USB, the system will turn off immediately.

    Hope that clears things up. It's not a kernel.
    6
    I screwed up my bootloader.img and it courrupted boot partition. When I use the tool, I just get booted back into Android and can not do anything with ROM Manager :(

    Any suggestions?

    Hold a key combination while using the UnBrickable Resurrector