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,809
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,037
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,350
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,350
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
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Damn that's cheap.
  • K3Nv2 @ K3Nv2:
    Slower speeds for gen4
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
    Veho @ Veho: Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages...