Hacking 3DS unbricking progress

ryuga93

Well-Known Member
Newcomer
Joined
Mar 8, 2011
Messages
96
Trophies
0
XP
159
Country
Malaysia
Mhhhhh........I tried erasing and locking the SD card but it doesn´t seem to have any effect on it.
When I connect it to Windows it shows it normally. No lock of any kind
Can you post the serial monitor log for locking,and what type of sd card you tested?
 

Moquedami

Well-Known Member
Member
Joined
Nov 16, 2006
Messages
436
Trophies
1
XP
1,816
Country
Argentina
I´m using a128mb Kingstone.
This is the log now:

Enabled outputs/inputs
Initialized SPI with 400khz frequency
Waiting the minimum 80 cycles for warm up
Pulled CS line high to start communication
Card is in IDLE. Checking if the voltage is correct.
This is an SD (SD1) card
Set SET_BLOCKLEN to 512 byte
ReadCardStatus = 0,0
Password status: unlocked


----SD LOCKER MENU----
Programmed by Krisztian and Ryuga
Thanks Coto for your awesome CRC16 algorithm
This program is dedicated to crazyace2011 gbatemp
----------------------
u - UNLOCK
l - LOCK
e - ERASE
x - TERMINATE EXECUTION
----------------------
Starting locking procedure
Done

Windows still detects it fine with all it´s content

Back to the shield.
Let´s see what happens when I try to erase it.

----SD LOCKER MENU----
Programmed by Krisztian and Ryuga
Thanks Coto for your awesome CRC16 algorithm
This program is dedicated to crazyace2011 gbatemp
----------------------
u - UNLOCK
l - LOCK
e - ERASE
x - TERMINATE EXECUTION
----------------------
Starting erase procedure

SET_BLOCKLEN to 1 byte
4
Still intact in windows. Even with it´s content.
I don´t know what´s wrong. It´s like its doing nothing to it.
 

Moquedami

Well-Known Member
Member
Joined
Nov 16, 2006
Messages
436
Trophies
1
XP
1,816
Country
Argentina
I´m gonna try with a different SD now.
A Markvision 256mb
_____________________________________
Enabled outputs/inputs
Initialized SPI with 400khz frequency
Initialization failed
Retrying...
Enabled outputs/inputs
Initialized SPI with 400khz frequency
Waiting the minimum 80 cycles for warm up
Pulled CS line high to start communication
Card is in IDLE. Checking if the voltage is correct.
This is an SD (SD1) card
Set SET_BLOCKLEN to 512 byte
ReadCardStatus = 0,0
Password status: unlocked

L
Starting locking procedure
Done
X
Switched to highest SPI frequency
Card Initialized

This one appears succesfully locked. It´s not detected by Windows.

Back to the shield, it is correctly detected as locked!

Enabled outputs/inputs
Initialized SPI with 400khz frequency
Waiting the minimum 80 cycles for warm up
Pulled CS line high to start communication
Card is in IDLE. Checking if the voltage is correct.
This is an SD (SD1) card
Set SET_BLOCKLEN to 512 byte
ReadCardStatus = 0,1
Password status: locked

The Erase is also succesfull and Windows detects the unit and formats back again.
 

Moquedami

Well-Known Member
Member
Joined
Nov 16, 2006
Messages
436
Trophies
1
XP
1,816
Country
Argentina
Now for the real deal, There goes the 3DS.

Enabled outputs/inputs
Initialized SPI with 400khz frequency
Waiting the minimum 80 cycles for warm up
Pulled CS line high to start communication
Reset command sent on MOSI, but no answer from the slave. Please check your card connection/soldering
Initialization failed
Retrying...
Enabled outputs/inputs
Initialized SPI with 400khz frequency
Initialization failed
Retrying...

Initialization failed after several retries
 

ryuga93

Well-Known Member
Newcomer
Joined
Mar 8, 2011
Messages
96
Trophies
0
XP
159
Country
Malaysia
Now for the real deal, There goes the 3DS.

Enabled outputs/inputs
Initialized SPI with 400khz frequency
Waiting the minimum 80 cycles for warm up
Pulled CS line high to start communication
Reset command sent on MOSI, but no answer from the slave. Please check your card connection/soldering
Initialization failed
Retrying...
Enabled outputs/inputs
Initialized SPI with 400khz frequency
Initialization failed
Retrying...

Initialization failed after several retries
Can you confirm your emmc of 3ds?based on the previous post by greyneon,it is recommended to use logic circuit instead to obtain a sharp unit step function change for optimal spi connection.so we might need to change the voltage divider part not just using resistors
 

Moquedami

Well-Known Member
Member
Joined
Nov 16, 2006
Messages
436
Trophies
1
XP
1,816
Country
Argentina
My emmc is Samsung.
I´m gonna check my solderings now just in case, but it all looked fine.
Keep it up, guys! and thanks for all your work!
 

ryuga93

Well-Known Member
Newcomer
Joined
Mar 8, 2011
Messages
96
Trophies
0
XP
159
Country
Malaysia
My emmc is Samsung.
I´m gonna check my solderings now just in case, but it all looked fine.
Keep it up, guys! and thanks for all your work!
Looks like samsung controller needs some logic circuit instead of just voltage divider.Thanks for the report.We now can confirm it.Will find what solution can be done
 

krisztian1997

Well-Known Member
OP
Member
Joined
Dec 14, 2013
Messages
370
Trophies
0
Age
27
XP
300
Country
Romania
My emmc is Samsung.
I´m gonna check my solderings now just in case, but it all looked fine.
Keep it up, guys! and thanks for all your work!

can we see your circuit ? eMMC are very sensible and sometimes dont work with resistors, raspi doesnt has this problems because the SD card reader is 3v3 by default.
 

pizzatime

Active Member
Newcomer
Joined
Jan 28, 2014
Messages
38
Trophies
0
XP
123
Country
Italy
New 3DS XL unbricked with Raspberry method. bkifft
1000341504 byte, Samsung KLM2G1DEHE-B101

I haven't tried with Arduino method. I'll try to re-brick intentionally :gun::nds:
;)
 

pizzatime

Active Member
Newcomer
Joined
Jan 28, 2014
Messages
38
Trophies
0
XP
123
Country
Italy
The log is same as the first 3DS I tried to unbrick:
http://gbatemp.net/threads/3ds-unbricking-progress.361171/page-14#post-4903565

I'm starting to think that I've made errors in SD shield building.
I've also an ethernet shield that has a microSD slot.
This one:
ArduinoWithEthernetShield.jpg

I'll check connections if are the same.
 

krisztian1997

Well-Known Member
OP
Member
Joined
Dec 14, 2013
Messages
370
Trophies
0
Age
27
XP
300
Country
Romania

ryuga93

Well-Known Member
Newcomer
Joined
Mar 8, 2011
Messages
96
Trophies
0
XP
159
Country
Malaysia
Or maybe we f*cked up the code and thats why it doesnt works... but someone confirmed that our code works, so I dont know what is the problem...
We need the data sheet to know what's wrong.if you old emmc works then it should not be the problem in coding...
 

Moquedami

Well-Known Member
Member
Joined
Nov 16, 2006
Messages
436
Trophies
1
XP
1,816
Country
Argentina
can we see your circuit ? eMMC are very sensible and sometimes dont work with resistors, raspi doesnt has this problems because the SD card reader is 3v3 by default.
I'll take close detailed pictures of my setup today.
I know why the test failed with the first sd cad i tried, I didn't terminate the program execution after each step.
Did it right with the second card, so the arduino - shield connection was ok.
A detail that called my attention, the error code of the bricked 3Ds with 4 cables soldered is 00000008 when it is turned on disconected of any card reader. When i connect it, it changes to 000400.
But with the fifth cable in dat3 the error remains the same in 00000008, like it isn't connected.
Maybe it doesn't mean anything.
 

krisztian1997

Well-Known Member
OP
Member
Joined
Dec 14, 2013
Messages
370
Trophies
0
Age
27
XP
300
Country
Romania
I'll take close detailed pictures of my setup today.
I know why the test failed with the first sd cad i tried, I didn't terminate the program execution after each step.
Did it right with the second card, so the arduino - shield connection was ok.
A detail that called my attention, the error code of the bricked 3Ds with 4 cables soldered is 00000008 when it is turned on disconected of any card reader. When i connect it, it changes to 000400.
But with the fifth cable in dat3 the error remains the same in 00000008, like it isn't connected.
Maybe it doesn't mean anything.

oh my, I cant believe that I forgot to look over that bug when not terminating the execution after every step... and that error is interesting, the 3DS should turn on when its not connected to any card reader without an error
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
I'll take close detailed pictures of my setup today.
I know why the test failed with the first sd cad i tried, I didn't terminate the program execution after each step.
Did it right with the second card, so the arduino - shield connection was ok.
A detail that called my attention, the error code of the bricked 3Ds with 4 cables soldered is 00000008 when it is turned on disconected of any card reader. When i connect it, it changes to 000400.
But with the fifth cable in dat3 the error remains the same in 00000008, like it isn't connected.
Maybe it doesn't mean anything.

4 wires mode is SD 1 bit, 5 wires is SPI 1 bit (if CS line is connected).

the controller reports CLK line being "absorbed" from the controller(3ds), NOT eMMC 3ds, so an invalid CLK occurs in SPI mode.

the code for arduino works for SPI mode, a small flaw in the clock line, abnormal rising and latches,etc won't bring up the eMMC in SD mode ever
 

mvmiranda

Well-Known Member
Member
Joined
Oct 29, 2013
Messages
1,457
Trophies
1
Location
Brazil, Sao Paulo
Website
www.gamemod.com.br
XP
1,673
Country
Brazil
Guys,

I'm trying the Rasp method since my Arduino still didn't arrive. I still don't have any bricked 3DS but I decided to give a shot with my own. It's not bricked so I'll only run the s (status) command.
I flashed the SD and my USB with the kernel image and put the RPU.zip (formally master.zip) into the USB.

Plugged the HDMI, the USB and the keyboard. Turned the Rasp on and after some time I looged in and ran the 3dsunbrick command. Some seconds later I was presented with the options.
Then I removed the SD, plugged my cable (4 wires) into my not bricked 3DS and turned it on. Blue screen came in, so I plugged the SD cable into Rasp and typed s (lowercase) and hit ENTER.
Then I got this screen and I, honestly, don't know it it's ok or not.

https://www.dropbox.com/s/6h267pmwacb37lu/IMG_20140201_143918.jpg

Can anyone tell me if this is the expected output for a not bricked 3DS status?

Thanks in advance!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Spend 50 hours playing the game