FORUMS

[HOW-TO]UnBrick the UnBrickable Vibrant

5,224 posts
Thanks Meter: 9,893
 
By AdamOutler, Retired Senior Recognized Developer on 25th September 2011, 09:13 PM
Post Reply Email Thread

Introduction:

After months of research and development, both hardware and software... I'm happy to announce UnBrickable Mod is a matter of modifing your phone once, with a single small wire. From that point on, you can click a button to unbrick. This can even be applied to a phone which is already bricked.

This is an example from the Captivate. The procedure is the same on the Vibrant.

Instructions

Unbricking:
1. Apply UnBrickable Mod to your device:http://forum.xda-developers.com/show....php?t=1273083
2. Run UnBrickable Resurrector: Get it from THIS POST: http://forum.xda-developers.com/show...7#post17135277 This will only work on linux currently. Install Linux or dual boot if you have windows.
3. Run Heimdall One-Click http://forum.xda-developers.com/show....php?t=1278683
4. repeat steps 2 and 3 with bootloader flashing enabled (Heimdall One-Click has a safety mechanism which requires you to flash once before flashing bootloaders).




conclusion
You've unbricked the unbrickable captivate... This should not have been difficult. If it was, you should learn teh computer better... Really. And with that said, I'm happy to announce that you no longer have to flash with a fear of bricking.

HIBL
The HIBL is the key to resurrecting a S5PC110 based processor. I'm going to let Rebellos explain the inner workings of the Hummingbird Interceptor Bootloader. It's really quite amazing. While my work is more hardware and high level tasks like making things into one-clicks, Rebellos' work involves reverse software engineering, assembly language, and more...
Quote:
Originally Posted by Rebellos

Okay, so, what is Hummingbird Interceptor Boot Loader (HIBL)?

Basically: It allows to load any amount of data (limited by size of RAM block, the biggest one single block available is 256MB) through USB connection with PC under any specified address into memory and then execute it.

Technically: It does consist of 2 pieces fused together - BL1_stage1 and BL1_stage2.

Each stage starts from 16bytes (4 ARM WORDs) of secure boot header. In stage1 these are mandatory, in stage2 they can be random (nulled them in my code), so EntryPoint of each stage does start at its 0x10 offset.

BL1_stage1, loaded under 0xD0020000 address, is short code, digitally signed by Samsung. It has been released to break "Chain of Trust" and alter Secure Boot into Non-Secure Boot process. Literally stage1 just do some compare operations and then jumpout to BL1_stage2. (Yes, I also see no point of releasing hardware secured CPU version together with software which is bypassing it's security)

BL1_stage2, must be placed at 0xD0022000 address (it's fused together with stage1 into HIBL, so it's at 0x2000 offset of HIBL.bin) it is unsigned because Secure Boot Context, prepared by iROM (BL0) has been already ignored by stage1.
Its FASM_ARM sourcecode:
http://code.google.com/p/hummingbird...oader/HIBL.ASM
This is where the code start real work, it does begin with standard ARM core jump vector table (just to keep stick to standard, these aren't used anyway).
1. It does use I9000 BL1_stage2 functions (init_system) which I linked to it, these are used to init DMC controllers, as to this point code is executing in and working with very tiny, 96KB iRAM space, after calling this function it turns all 512MB of RAM available.
2. Make sure DMC is configured properly (write some value to address 0x40~~ memory space, then read it and compare with previously written)
3. Reinit iRAM heap to the BL0 initial state (to convince it USB dload mode haven't been called yet), by storing and restoring UART pointer only (to keep debug output flowing properly)
4. Call iROM usb_downloader function.
5. Read the address where downloaded data has been placed.
6. Jump into this address.

This, properly used provides similiar debug output (similiar, because its outdated testlog)

Code:
�������������������������������������������������� ����������������������
Uart negotiation Error

----------------------------------------
Hummingbird Interceptor Boot Loader (HIBL) v1.0
Copyright (C) Rebellos 2011
----------------------------------------
Calling IBL Stage2
DONE!
Testing BL3 area
DONE!
iRAM reinit
DONE!
Please prepare USB dltool with BL3

Starting download...
0x00000000
Desired BL3 EP: 0x40244000
Download complete, hold download mode key combination.

Starting BL3...

//OUTPUT BELOW IS COMING FROM SBL

Set cpu clk. from 400MHz to 800MHz.
IROM e-fused - Non Secure Boot Version.
It opens infinite capabilities. Instead of SBL to unbrick, Uboot can be loaded, or any armlinux kernel. It's all up to you - XDA Developers.

Tools
Windows32 command line app and drivers http://forum.xda-developers.com/atta...2&d=1315091521 (doesn't work very well... just want you to know this)
Linux one-click Resurrector: http://forum.xda-developers.com/atta...2&d=1315349672
The Following 8 Users Say Thank You to AdamOutler For This Useful Post: [ View ] Gift AdamOutler Ad-Free
26th September 2011, 05:36 AM |#2  
Member
Flag Guangzhou
Thanks Meter: 10
 
More
Wow. i mark it! thank you for your great work!
The Following User Says Thank You to nesson For This Useful Post: [ View ] Gift nesson Ad-Free
27th September 2011, 03:00 AM |#3  
I just resurrected a Vibrant today using the method above. This tested great. No problems to note at all.

Here's a picture of my work http://forum.xda-developers.com/show...6#post17896376
This is slightly more difficult then a captivate because there is no room to work around the resistors.
The Following User Says Thank You to AdamOutler For This Useful Post: [ View ] Gift AdamOutler Ad-Free
4th October 2011, 11:59 AM |#4  
Junior Member
Kochi
Thanks Meter: 1
 
More
thanks to you i finally got my vibrant unbricked thanks a lot for this .....................
The Following User Says Thank You to Aneez1990 For This Useful Post: [ View ] Gift Aneez1990 Ad-Free
4th October 2011, 02:02 PM |#5  
Quote:
Originally Posted by Aneez1990

thanks to you i finally got my vibrant unbricked thanks a lot for this .....................

You're welcome. Glad this helped.
5th October 2011, 09:39 PM |#6  
younix258's Avatar
Senior Member
Thanks Meter: 105
 
More
Very sexy work... its nice to have this as a backup and itll be Very nice once people develop ffirmware to work with the unbrickable mod, like nexus s bootloaders or wp7 or iOs or whatever... thanks again

Sent from a cell tower to the XDA server to you.
5th October 2011, 11:52 PM |#7  
Quote:
Originally Posted by younix258

Very sexy work... its nice to have this as a backup and itll be Very nice once people develop ffirmware to work with the unbrickable mod, like nexus s bootloaders or wp7 or iOs or whatever... thanks again

Sent from a cell tower to the XDA server to you.

I'd like to see Ubuntu. Turn these devices into a lamp server or security/web cam orsomething when were done with them.
7th October 2011, 07:42 AM |#8  
Smasher816's Avatar
Senior Member
Flag Missouri
Thanks Meter: 203
 
Donate to Me
More
I would also like to see work on Ubuntu. is there any work being done for that? I'm still thinking about getting the UB mod sometime soon.
8th October 2011, 12:40 AM |#9  
SkOrPn's Avatar
Senior Member
Flag Albuquerque, NM
Thanks Meter: 936
 
Donate to Me
More
Hey guys Im having a problem with step #2. It says to download Unbrickable Resurector but this post is the HIBL post with no "Unbrickable resurector" download link. Is that just an error or do I just download the file listed on the previous post called "UltimateUnbrickResurector.zip"? Thanks for any clarification...

Also, when I launch the resurector on the previous post I get the following error smdk-usbdl: not found. Do I need to have Heimdall running prior to launching the resurector? Thanks again...

Code:
 Please wait.... Uploading..
-------------------------------------------------------------
   Hummingbird Interceptor Boot Loader (HIBL) v1.0
   Copyright (C) Rebellos 2011
-------------------------------------------------------------

Building command list
Building command list
Requesting Permission to access device/tmp/skorpnHeimdallOneClick51336EBC/Script.sh: 3: /tmp/skorpnHeimdallOneClick51336EBC/UnBrickPack/smdk-usbdl: not found
8th October 2011, 02:48 AM |#10  
SkOrPn's Avatar
Senior Member
Flag Albuquerque, NM
Thanks Meter: 936
 
Donate to Me
More
Moved this post to the "Mod" thread.

The Resurrector is not working, either because the mod was done incorrectly, or my Ubuntu machine has been setup wrong. The Resurrector keeps giving me the smdk-usbdl: not found error, but the file exists. My best guess is that the Mod was done incorrectly, either that or my Linux box is being a pain... Also noticed adb not working as well.

EDIT: Im going to go out on a limb and say this error is telling me the "usb device" has not been found, which would mean my mod did not take.
11th October 2011, 01:33 AM |#11  
Member
Thanks Meter: 1
 
More
edit never mind found the answer was just wondering if it were possible to learn the wielding part of the guide on the internet and such also what type of tools would i need please and thank you
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes