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,470
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,910
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,617
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,186
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,832
Trophies
2
Location
home
XP
9,440
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,832
Trophies
2
Location
home
XP
9,440
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
  • BakerMan @ BakerMan:
    first of all, i don't watch those kinds of videos, and if i did i'd pull a verbalase 50k but with wizards and wario
    +1
  • BakerMan @ BakerMan:
    second of all, i don't even have a 3ds
  • BigOnYa @ BigOnYa:
    OnlyWizard&WarioFans.com
    +2
  • BakerMan @ BakerMan:
    i just want a wizard to stick his wand (whether literal or figurative is up to interpretation, either way it's either freaky or sus, or both i guess) up my ass
  • BigOnYa @ BigOnYa:
    I'm making Texas sheet cake for first time today, my Nieghbor brought us some few weeks ago and damn that's good, so I got her recipe and gonna try it today.
  • BakerMan @ BakerMan:
    mmm, sounds good
  • BigOnYa @ BigOnYa:
    Its not a brownie, and its not a cake, so what is it- Texas sheet cake.
  • BigOnYa @ BigOnYa:
    I tried making chocolate lava cakes the other day in cupcake pan, what a mess, my lava exploded out of the cakes everywhere while baking, was still ok tho, just no lava inside.
  • BigOnYa @ BigOnYa:
    We had our grandkids over yesterday and I got a small above ground swimming pool I filled for them to play in. Well today I woke to find 3 ducks swimming around in it. Don't mind really but they are annoyingly loud, quack quack. Gotta drain it today. Guess what were having for dinner, lol.
    +1
  • BakerMan @ BakerMan:
    lol
  • AncientBoi @ AncientBoi:
    BBQ'd 🦆
    +1
  • BakerMan @ BakerMan:
    also i'm sorry your molten lava cakes failed
    +2
  • BakerMan @ BakerMan:
    just looked up a pic of texas sheet cake, and it looks delicious
    +1
  • AncientBoi @ AncientBoi:
    🌋 Science Project?
  • BakerMan @ BakerMan:
    i think i might need to try making lava cakes for the 4th of july fr
    +2
  • BigOnYa @ BigOnYa:
    I used butter instead of vegetable oil, and think that's why they squirted out during baking, who knows
  • BakerMan @ BakerMan:
    yeah i think oil is the right call
    +1
  • BakerMan @ BakerMan:
    plus if you're making brownies or lava cakes for people with dairy allergies, you should use oil instead of butter anyway
    +2
  • ZeroT21 @ ZeroT21:
    @BakerMan Make me a space cake plz
  • BigOnYa @ BigOnYa:
    I make rum cake for 4th July every year, I make it a week prior and then soak it in rum in the fridge all week. I flip the cake each day, and add little more rum, it soaks it up everyday, so good.
    +2
  • BakerMan @ BakerMan:
    sorry, idk what you mean by a space cake, and even if i did, i'm not really taking requests right now, because otherwise people will get mad at me for taking a request but not making a birthday cake for @Xdqwerty (i'm sorry for that btw bro)
  • ZeroT21 @ ZeroT21:
    @BakerMan lies, you just want to smoke it

    :rofl2:
  • ZeroT21 @ ZeroT21:
    Guess all the food in my fridge can knock out a cow or two
    ZeroT21 @ ZeroT21: Guess all the food in my fridge can knock out a cow or two