Hacking Question What happens when a console runs out of battery with AutoRCM turned on?

mariogamer

Well-Known Member
Member
Joined
Aug 12, 2015
Messages
1,256
Trophies
0
Age
28
XP
790
Country
Canada
Seems like, in horizonFW, charges at +1632Mhz while in autorcm only +55Mhz
That's specifically an autorcm issues, not rcm.

So, Switch charges and does not charges in RCM. xD

The results (battery was 89%):


The switch can charge normally the battery, if the BCT is intact!
In RCM AND in hekate menu.
*BCT is the boot configuration table that autoRCM corrupts.

Tests showed that it was charging with the same current, as in Horison OS.
The current it was drawing with 89% battery, was 800mA - 1000mA, using Switch wall adapter. On PC, it was the max the hub could give.


------------------------------------


The switch cannot charge normally with a corrupt BCT (AutoRCM).
In hekate, it shows similar behavior (read below).

Extra emphasis on the "normally".

With autoRCM, basically a corrupt BCT, the switch behaves differently.
There are 2 behaviors that I saw when connecting to the switch wall charger:
  • Common - It was draining 140-250mA.
  • Common (in hekate) - 200mA - 400mA
  • Rare (normally if you connect charger after powering off from HOS) - Drain of alternating 250mA and 1000mA, with surges of 2.5A.

------------------------------------

Summary - facts:
  1. Switch can charge completely normally in RCM or Hekate with a BCT intact
    • The percent % in Horizon OS, after a RCM charge, is not fake.
  2. Switch does not charge normally with AutoRCM, a.k.a corrupt BCT.
    1. Either it charges very slowly or sometimes with a broken slow/fast/slow/fast charge pattern:
    2. Or this behavior is current taken from the USB controller or the BPMP (Nvidia's Boot and Power management processor)
    • In AutoRCM, the Charge IC probably can't update the battery calibration file and could make the percent fake.
I don't know for behavior .3 what really happens and what Switch does. This can be easily examined, by connecting a current multimeter between battery and switch and check the readings.

But it does charge.
 
Last edited by mariogamer,

M7L7NK7

Well-Known Member
Member
Joined
Oct 16, 2017
Messages
3,905
Trophies
1
Website
youtube.com
XP
5,983
Country
Australia
If mine goes flat I inject a payload, then immediately plug the AC adaptor into the Switch and it will sit on the black screen with the battery icon in the top left, when it gets to 1% it will boot into cfw automatically
 

Captain_N

Well-Known Member
Member
Joined
Mar 29, 2010
Messages
1,905
Trophies
2
XP
2,034
Country
United States
The entire battery charging problem is really damn dumb. The battery should charge regardless of the mode. a separate circuity should control the battery charge. should have nothing to do with booting. Why design it that way?
the entire charging control sould work independent of the cpu
 

Mr. Wizard

Ending the spread of bullshit one thread at a time
Member
Joined
Mar 20, 2015
Messages
1,814
Trophies
0
Location
E8 lattice
XP
1,532
Country
Canada
The entire battery charging problem is really damn dumb. The battery should charge regardless of the mode. a separate circuity should control the battery charge. should have nothing to do with booting. Why design it that way?
the entire charging control sould work independent of the cpu
It does. That is why the switch still charges with USB spec minimums. ~5v100ma.
In order to get faster charging you need smart circuitry since it's dealing with much higher wattage.
If you think it's so stupid, why not redesign it then? Try not to blow yourself up.
 

Captain_N

Well-Known Member
Member
Joined
Mar 29, 2010
Messages
1,905
Trophies
2
XP
2,034
Country
United States
It does. That is why the switch still charges with USB spec minimums. ~5v100ma.
In order to get faster charging you need smart circuitry since it's dealing with much higher wattage.
If you think it's so stupid, why not redesign it then? Try not to blow yourself up.

what im saying is the charging circuit should have nothing to do with the cpu, whether the console is booted or in sleep mode. it should charge the battery regardless. Does a laptop battery charging circuit care if the laptop is on,off,sleep? no it does not it just charges the battery. so if i brick a bios chip the battery still charges.
 

Mr. Wizard

Ending the spread of bullshit one thread at a time
Member
Joined
Mar 20, 2015
Messages
1,814
Trophies
0
Location
E8 lattice
XP
1,532
Country
Canada
what im saying is the charging circuit should have nothing to do with the cpu, whether the console is booted or in sleep mode. it should charge the battery regardless. Does a laptop battery charging circuit care if the laptop is on,off,sleep? no it does not it just charges the battery. so if i brick a bios chip the battery still charges.
Have you ever drained a laptop battery beyond what the PD controller says is completely flat?
Just because your laptop says the battery is dead, it isn't "completely" dead, there is enough reserve to initialize the controller.
If you were to drain that battery further you would be in the same situation as the switch, since in RCM there is no PD controller safeguard to turn off the device at a certain point. I think you need to do some more research.
 
Last edited by Mr. Wizard,

Captain_N

Well-Known Member
Member
Joined
Mar 29, 2010
Messages
1,905
Trophies
2
XP
2,034
Country
United States
Have you ever drained a laptop batter beyond what the PD controller says is completely flat?
Just because your laptop says the battery is dead, it isn't "completely" dead, there is enough reserve to initialize the controller.
If you were to drain that battery further you would be in the same situation as the switch, since in RCM there is no PD controller safeguard to turn off the device at a certain point. I think you need to do some more research.

yeah i know what happens when a battery is actually 100% dead. I have had to fix some by bypasing the board and giving the battery some charge.
so heres my question then, why no safeguard? is it no possible?
 

Mr. Wizard

Ending the spread of bullshit one thread at a time
Member
Joined
Mar 20, 2015
Messages
1,814
Trophies
0
Location
E8 lattice
XP
1,532
Country
Canada
yeah i know what happens when a battery is actually 100% dead. I have had to fix some by bypasing the board and giving the battery some charge.
so heres my question then, why no safeguard? is it no possible?
Well, it is but you were never meant to be in RCM anyway, so I'm pretty sure Reggie doesn't give a fuck.
 

Captain_N

Well-Known Member
Member
Joined
Mar 29, 2010
Messages
1,905
Trophies
2
XP
2,034
Country
United States
Well, it is but you were never meant to be in RCM anyway, so I'm pretty sure Reggie doesn't give a fuck.

lol yeah. Reggie probably does not even know what rcm is lol.I bet in the future when we have more controll like the 3ds, this problem will be a thing of the past
 

Mr. Wizard

Ending the spread of bullshit one thread at a time
Member
Joined
Mar 20, 2015
Messages
1,814
Trophies
0
Location
E8 lattice
XP
1,532
Country
Canada
lol yeah. Reggie probably does not even know what rcm is lol.I bet in the future when we have more controll like the 3ds, this problem will be a thing of the past
In risk of being off topic, we need a guy like this to join the scene.
 
Last edited by Mr. Wizard,
  • Like
Reactions: Deleted User

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    DinohScene @ DinohScene: when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying