Homebrew [Release] 3DS RGB LED test program

P

PaiiNSteven

Guest
This works on n3ds, correct? Heard there were bricks and I dont have a9lh on my n3ds :/
 

LongTimeLurker

Well-Known Member
Member
Joined
Aug 25, 2016
Messages
177
Trophies
0
Age
31
XP
114
Country
Canada
Actually, it can as long as you have NoScreenInit A9LH.

Source?

--------------------- MERGED ---------------------------


What?

I don't think that's possible. AFAIK the MCU is entirely separate from the NAND. So I don't see how a9lh could save you from anything in the event of a brick.

Even if we could run code. Do we even know how to unbrick the MCU anyways? Would we need a backup?
 

ih8ih8sn0w

Koreaboo
Member
Joined
Aug 22, 2015
Messages
1,677
Trophies
0
Age
25
Location
Hell
XP
898
Country
United States
I don't think that's possible. AFAIK the MCU is entirely separate from the NAND. So I don't see how a9lh could save you from anything in the event of a brick.

Even if we could run code. Do we even know how to unbrick the MCU anyways? Would we need a backup?
It isn't possible is what I was getting at. I think they are talking about something else though...
 

Lucar

Well-Known Member
Member
Joined
Sep 12, 2015
Messages
528
Trophies
0
XP
619
Country
Canada
Alright, found them:

Basically, the MCU has no involvement in early boot normally. With ScreenInit A9LH the MCU has involvement in stage2 where it turns on the screen. However, with non-screeninit A9LH it never talks to the MCU before booting the payload at arm9loaderhax.bin. In theory, this would let you restore your MCU firmware back to before it was bricked if you had a backup/obtained it from somewhere (the MCU firmware is the same across all consoles of the same model I believe). Therefore, you'd be able to recover from an MCU brick with Non ScreenInit A9LH.
 
Last edited by Lucar,

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,434
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,814
Country
United States
It is indeed possible to recover from an MCU bricked unit. But you have to be using a Kernel9LoaderHax stage1/2 combo that doesn't screen init. (old original K9LHax doesn't screen init). You'd have to get a payload that can unbrick. There was only one person known to have bricked playing with LEDs and that's the guy who originally wrote the example code for this that was on pastebin. Maybe he was unlucky but it hasn't happened to anyone sense. Unless bricks start coming out of the woodwork from this, there isn't even a payload to unbrick for those lucky enough to have nonscreen init K9LHax. Not yet anyways. :P
 

Lucar

Well-Known Member
Member
Joined
Sep 12, 2015
Messages
528
Trophies
0
XP
619
Country
Canada
It is indeed possible to recover from an MCU bricked unit. But you have to be using a Kernel9LoaderHax stage1/2 combo that doesn't screen init. (old original K9LHax doesn't screen init). You'd have to get a payload that can unbrick. There was only one person known to have bricked playing with LEDs and that's the guy who originally wrote the example code for playing with LEDs. Maybe he was unlucky but it hasn't happened to anyone sense. Unless bricks start coming out of the woodwork from this, there isn't even a payload to unbrick for those lucky enough to have nonscreen init K9LHax. Not yet anyways. :P

You got NInja'd. :P Sorry Apache.
 

HeyItsJono

Breath of Fresh Heir
Member
Joined
Mar 26, 2011
Messages
213
Trophies
1
XP
285
Country
It is indeed possible to recover from an MCU bricked unit. But you have to be using a Kernel9LoaderHax stage1/2 combo that doesn't screen init. (old original K9LHax doesn't screen init). You'd have to get a payload that can unbrick. There was only one person known to have bricked playing with LEDs and that's the guy who originally wrote the example code for this that was on pastebin. Maybe he was unlucky but it hasn't happened to anyone sense. Unless bricks start coming out of the woodwork from this, there isn't even a payload to unbrick for those lucky enough to have nonscreen init K9LHax. Not yet anyways. :P
I may be wrong but I'm pretty sure there's a no-screen-init version of AW's A9LH fork, so if MCU backup/restore does become a thing then people could potentially switch to that. Also in the most recent commit for that fork, it was changed so screen-init is dependant on the name of your A9LH payload (appending _si to the bin's name will screen init, otherwise it won't) which is always nice.
 

PabloMK7

Red Yoshi! ^ω^
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,041
Country
Spain
Alright, found them:

Basically, the MCU has no involvement in early boot normally. With ScreenInit A9LH the MCU has involvement in stage2 where it turns on the screen. However, with non-screeninit A9LH it never talks to the MCU before booting the payload at arm9loaderhax.bin. In theory, this would let you restore your MCU firmware back to before it was bricked if you had a backup/obtained it from somewhere (the MCU firmware is the same across all consoles of the same model I believe). Therefore, you'd be able to recover from an MCU brick with Non ScreenInit A9LH.
Doesn't the power button and led also depend on MCU? If that's true you wouldn't that make you unable to power on the console?
 
Last edited by PabloMK7,
  • Like
Reactions: LongTimeLurker

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
Doesn't the power button and led also depend on MCU? If that's true you wouldn't be able to power on the console?

Yes!

The MCU sends an interrupt-esque signal when the power/home/wifi button are pressed, and the 3DS software gets it. That's why bricking an MCU will result the motherboard rendered useless.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,375
Country
Hungary
Here is the adapted ntr version of the code: (Call Rainbowize(1) to enable led and Rainbowize (0) to disable) Most of the modifications are made by MarcusD and Nanquitas, so credits to them :)

Good :D Make sure to use pastebin or Github Gist, because Xenforo fucks up the formatting, resulting in a code with syntax errors.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Her boob is the cause of all this current shit :angry: