UART Output/ Bootloader hacking/ Kernel Debugging on AT&T SGS2

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
And, here's the manufacturing defect... As you can see, my resistors are quite beat up from probing and reprobing... I guess that resistor must be removed and a board modification must be done before I can continue working on it.



It looks pretty clear to me in this picture that there's a bridge that was not intended.
 
  • Like
Reactions: gr8hairy1

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
I've been trying several things... I've got the device into sort of a UnBrickable mode..
Code:
Bus 002 Device 014: ID 04e8:1234 Samsung Electronics Co., Ltd
however I cannot make it boot. So, I believe a switch will be required.

I have tried a few things but I'm not sure where the IBL+PBL should be placed in memory.
 
  • Like
Reactions: gr8hairy1
R

Red5

Guest
Its fairly disheartening to hear that the SGSII that you received (because we all wanted you to get it) from Samsung is defective and thus stalling you from working on the SGSII.

Sent from my SAMSUNG-SGH-I777 using Tapatalk
 

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
You probably already know this. But just in case, you can buy some silver based SMT PCB-repair paint, to fix it... It comes in a syringe or micro tipped pen.
I think you mean use a razor blade.

Anyway.. I got it, and it looks like UnBrickable Mod will require a switch to make the device attempt to boot from sdcard, fail and then boot USB. I need to get ahold of a "FPCB" switch like used on our volume buttons or the vibrant power button.
 
  • Like
Reactions: gr8hairy1

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
And, here's the manufacturing defect... As you can see, my resistors are quite beat up from probing and reprobing... I guess that resistor must be removed and a board modification must be done before I can continue working on it.



It looks pretty clear to me in this picture that there's a bridge that was not intended.

I want to follow up on this... DON'T EVER FUCKING TOUCH THIS RESISTOR! (the one on the left)

It's the power button.. The device won't turn on without this resistor in place. You can use any other method to turn on the device except the power button... Plug in USB, 310K ohm resistor, 610kohm resistor... the power button will be inoperative without this resistor in place.... And it MUST be a resistor about 50 kohms. The stock is a 50kohm, I lost it, I replaced it with a 70kohm and it works to turn it on, but it does not want to act like a standby button.

Holey crap... seriously... This was about 14 hours of work which did not help out this project.
 
Last edited:
  • Like
Reactions: gr8hairy1

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
Ground-breaking news. We have an UnBrickable Mod.

I just posted this on my Google Plus: https://plus.google.com/u/0/104711040110222472212/posts/dugmDLdNzNH
This FPCB switch allows the device to act normally until you press down on the battery with the device turned off. When the battery is pressed, XOM_3 is grounded and the device will go into UnBrickable Debug Mode.
Basically, this grounds out XOM3


When you press on the battery, it presses on the switch, which grounds XOM3 and allows the device to connnect to the computer in UnBrickable Mode. This means normal operation is not affected. There is no difference between an UnBrickable I777 and a normal I777.


Here's some pictures: Keep in mind that this does not look clean because its gone through A LOT! It's quite literally a mess.








I could use another device to work with. This one has had it. This device has a broken power button and several missing resistors now. There's no way to get it out of standby mode once it stands by. The device is only good for testing methods of UnBrickable Mod and flashing firmware now. This is all due to my extensive probing and nearly 30 hours of work soldering and unsoldering on this board. I expected worse...

If anyone wishes to donate a i777, it would be VERY appreciated. I've never even used a Galaxy S2 as a phone.
 

exynos5250x

Senior Member
Jan 12, 2012
97
22
0
Connecticut
Im just glad adam has gotten this far, and besides he was very clear on his video(the oen that made him win the att sgs2) that he was going to basically take it apart and get an unbrickable mod going, if the people that voted expected something else, their in for a surprise lol, adamn dint say "im going to put this att sgs2 on a gold pedestal and probe it with telekinesis so i can get unbrikiblemod going" sorry if i sound harsh but thats how i see it =]
 

LiLChris06

Senior Member
Nov 23, 2011
2,381
1,261
0
XDA
Thanks for all the hours you put into this!!! :)
I've only done stuff like this to PC parts to test the limits and learn about it, never tried on a phone.



Sent from my SAMSUNG-SGH-I777 using XDA App
 

Nerz

Senior Member
Jun 19, 2008
370
17
0
Absent of all the foolishness before this I am glad to see the progress of this thread. Coming from the captivate, I'm pleased to see if I flub up on my gs2 I now have a full proof backup. Can't wait to see the finished guide to achieving this. Thank you for your time Adam. This is big.

Sent from my SGH-I777 using XDA App
 

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
Absent of all the foolishness before this I am glad to see the progress of this thread. Coming from the captivate, I'm pleased to see if I flub up on my gs2 I now have a full proof backup. Can't wait to see the finished guide to achieving this. Thank you for your time Adam. This is big.

Sent from my SGH-I777 using XDA App
Not quite yet. We have a way to send the firmware. We now need to unlock the ability to run that firmware.
 
  • Like
Reactions: gr8hairy1

LP4E

Member
Feb 1, 2012
11
0
0
Capo d'Orlando
hi guys! if can I help, i have a full brick galaxy s2 (no at&t)...i can disassemble it to verify if the disposition of the resistors is the same of gs2 at&t. let me know =)!!! (sorry for my bad english)
 

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
Just to update this a bit... I sent my GS2 to Poland about two weeks ago. It's neither here, nor there. Rebellos will be working on it whenever he receives it. If he can manage to hijack the boot sequence, we have a solution. Then the device goes to Australia where Benjamin Dobell will advance Heimdall. After that, I'll update the resurector and heimdall one-click to support this device.

here's the tennative process and notes on this.
step 1. disassemble device
step 2. Ground the center pads of the XOM3 set (if you use a switch then you have a development device, otherwise you will need to disconnect XOM3 later)
step 3. Run the UnBrickable Resurrector which will ???????.... This is where rebellos comes in. If he can come up with an unsecure boot solution, then we can hijack the boot sequence and upload a modified SBL into memory.
step 4. Run heimdall One-Click which will restore firmware.
step 5. Disconnect XOM3 from ground and boot from One-NAND


The way this hardware modification works is to make the device attempt to boot from SDCard. It tries to boot SDCard and fails. After it fails, it fails-over to UART and then to USB.

Because of this sequence of boot, it will not be possible to make the connection permanent like on GS1 devices. So, you can use a switch to make the connection..... Or make the connection with solder, hold the battery in place while resurrecting and then unsolder after resurrection and put the device back together.


Here's the picture of the XOMs again.
 

XpLoDWilD

Senior Recognized Developer
Nov 19, 2009
1,671
14,412
153
France
www.xplod.fr
Hey guys,

I recently hardbricked a Galaxy Note (N7000). As the board (SMDK4210 / S3C64XX) is similar to Galaxy S II (both i9100 and i777), is there a way to somehow resurrect it without disassembling it?
Here's what I get during boot through UART:
Code:
Welcome to Samsung Primitive Bootloader.
build time: Jan 12 2012 21:15:20
current time: ff/1f/4 3f:36:58

[set_mmc_ocr] Sector Mode
[hsmmc_init] MMC card is detected
Product Name : VYL00M
<display_card_info:1009> ext_csd
<display_card_info:1011>card_size: 15028
Total Card Size: 15029 MByte

mmc_init: card initialization completed!
.......................error found: 10
Normally, the PBL should say "Sbl found at 0x...." instead of the error.
Is there some way, using dltool for instance, to re-upload a working Sbl.bin somehow, or force it into Download mode? Is there some way to trigger something during PBL that would allow this stuff?

I'll be taking it to Samsung Service Centre on Tuesday anyway if not, but could've been intreresting to see if such thing is possible - which would mean waaaay easier unbrick of Galaxy S series.
 

AdamOutler

Retired Senior Recognized Developer
Feb 18, 2011
5,224
9,808
0
Miami, Fl̨̞̲̟̦̀̈̃͛҃҅͟orida
Hey guys,

I recently hardbricked a Galaxy Note (N7000). As the board (SMDK4210 / S3C64XX) is similar to Galaxy S II (both i9100 and i777), is there a way to somehow resurrect it without disassembling it?
Here's what I get during boot through UART:
Code:
Welcome to Samsung Primitive Bootloader.
build time: Jan 12 2012 21:15:20
current time: ff/1f/4 3f:36:58

[set_mmc_ocr] Sector Mode
[hsmmc_init] MMC card is detected
Product Name : VYL00M
<display_card_info:1009> ext_csd
<display_card_info:1011>card_size: 15028
Total Card Size: 15029 MByte

mmc_init: card initialization completed!
.......................error found: 10
Normally, the PBL should say "Sbl found at 0x...." instead of the error.
Is there some way, using dltool for instance, to re-upload a working Sbl.bin somehow, or force it into Download mode? Is there some way to trigger something during PBL that would allow this stuff?

I'll be taking it to Samsung Service Centre on Tuesday anyway if not, but could've been intreresting to see if such thing is possible - which would mean waaaay easier unbrick of Galaxy S series.
can't help. Wrong device forum. Different processor.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone