Hacking [RCM Payload] Hekate - CTCaer mod

  • Thread starter CTCaer
  • Start date
  • Views 1,083,017
  • Replies 3,248
  • Likes 128

CTCaer

Developer
OP
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,009
Country
Greece
I read there was a chance that the PD controller would lock up and prevent charging, but we never got any percentage on the chances of that.
For sure you can lock it up if you write at [0x40000000 - 0x40003000], via fusee-gelee/shofel2 or through a relocated payload.

But I spent the most time in RCM and a little bit in hekate (when I actually run the test payload and I reboot into rcm again).
My battery is always 100% after a "normal" dev session.

E.g., yesterday I had a lot of free time and played Bayo 2 handheld. Then I started development at 6%.
The time I got to sleep, it was 100% (and it was 99% of the time in RCM).

Btw, I use intermezzo.bin v1, if I remember correctly.

EDIT:
I forgot the most important: I never triggered that bug before. So I can't bug test it.
 
Last edited by CTCaer,

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,038
Trophies
2
Age
29
Location
New York City
XP
13,454
Country
United States
For sure you can lock it up if you write at [0x40000000 - 0x40003000], via fusee-gelee/shofel2 or through a relocated payload.

But I spent the most time in RCM and a little bit in hekate (when I actually run the test payload and I reboot into rcm again).
My battery is always 100% after a "normal" dev session.

E.g., yesterday I had a lot of free time and played Bayo 2 handheld. Then I started development at 6%.
The time I got to sleep, it was 100% (and it was 99% of the time in RCM).

Btw, I use intermezzo.bin v1, if I remember correctly.

EDIT:
I forgot the most important: I never triggered that bug before. So I can't bug test it.
So what you're saying is there is a chance that being in RCM for too long can throw off the battery? And even if it does fully drain with AutoRCM installed, there won't be a problem with syncing up battery levels because the Switch is at or near zero charge as long as it accepts a charge?
 

CTCaer

Developer
OP
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,009
Country
Greece
I'm not talking about battery calibration (I never run linux before, so no problem here. But it still seems strange to me).

I'm saying that RCM will eventually drain the battery "completely". This is not generally good for a battery. Because 2 things can happen.
1. After many less than threshold drains, the total capacity will be reduced to a certain small percent.
2. If anything bugs completely and the charger can't cutoff normally the battery after a certain threshold, and the battery reaches 2.7V, that's it. It's dead. The battery's controller threshold will kick in and disable the cell completely.
(This can happen with the internal battery resistance also. That's why you need to charge any lithium battery at 40-50% and then store it.)

*All thresholds above are specific voltages, defined in the battery's controller, charger ic default config and config that loads on boot.
Normally the cutoffs are
Battery IC: 2.6-2.7V,
Charger IC/Power controller: 3.2V-3.3V

Anyway, what I really want to say, is that all these are not official and shit can happen.
The most important thing for a developer or a user, is to take care of the device.

You finished with hekate? Don't reboot (if you have autoRCM), power off.
You pressed the power button or plugged it in dock when was switched off? Don't leave it in RCM. Load a payload and power off.
etc.

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

@Draxzelex
I'm currently reading the other threads that talk about the battery charging in RCM.
I'll reply there
 
  • Like
Reactions: cmv and Draxzelex

ScarletDreamz

[Debug Mode]
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,390
Country
United States
Once hekate launched the CFW, can we remove the SD to add/remove files without the need to relaunch hekate via payload?

Or each time we remove the sd, we need to send the payload again?
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,038
Trophies
2
Age
29
Location
New York City
XP
13,454
Country
United States
Once hekate launched the CFW, can we remove the SD to add/remove files without the need to relaunch hekate via payload?

Or each time we remove the sd, we need to send the payload again?
Only remove the SD card while the Switch is powered off. Otherwise...
Never remove the sd card like this. Everything that was written before a fsync was issued, will be corrupted.
Always switch off the device (except if it has unmount USB/SD card option), whatever it is. TV, phone, console, etc.
 

Ryab

Well-Known Member
Member
Joined
Aug 9, 2017
Messages
3,287
Trophies
1
XP
4,564
Country
United States
Once hekate launched the CFW, can we remove the SD to add/remove files without the need to relaunch hekate via payload?

Or each time we remove the sd, we need to send the payload again?
you would need to resend the payload becuase the system turns itself off when removing its sd you could just use FTPD
 

CTCaer

Developer
OP
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,009
Country
Greece
Once hekate launched the CFW, can we remove the SD to add/remove files without the need to relaunch hekate via payload?

Or each time we remove the sd, we need to send the payload again?
As stated by others, you can't remove it, once you are inside Horizon OS.
It will reboot (and may corrupt some files, especially the ones written when you were in it).
Anyway, Horizon OS does not support unmounting, so reboot it is.

@CTCaer do you know if joycons charge while attached to the switch in sleep mode?
As again stated by others, yes.
Why you are asking though?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • S @ salazarcosplay:
    and you convince your owner to help you break out of the virtual world to real world
  • BigOnYa @ BigOnYa:
    Eyes - "yawn"
    +1
  • S @ salazarcosplay:
    you bleack in to goverment computer systems to get cyborg schematics so you can get a robot body constructed
  • Xdqwerty @ Xdqwerty:
    btw @BigOnYa the health bar doesnt decrease when i take damage (and yes i put the "at the beggining of the scene change value of greenflatbar: set to Protagonistcopmode.Health::Health())
  • S @ salazarcosplay:
    i the protagonist
  • S @ salazarcosplay:
    human, robot, cyborg
  • S @ salazarcosplay:
    human with cyborg enhancements
  • S @ salazarcosplay:
    or like terminatior
  • S @ salazarcosplay:
    with living tissue
  • BigOnYa @ BigOnYa:
    @Xdqwerty there is health behaviour you can add to your character, then to use a health bar is lil more complicated, google n watch a few tutorial video on it, be too hard to explain here.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the character has the health behavior
  • BigOnYa @ BigOnYa:
    I know you have to create a health and health max variable. Then there is a calculation you use in code to subtract width size of the health bar. Google few vids.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the "greenflatbar" is one of the preset health bars btw
  • BigOnYa @ BigOnYa:
    Yea you can use any bar/sprite. It will just change the width. Ok good luck and have fun. I'm off to go shoot some pool at the bar. Talk to you later.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why does the health behavior exist if you can just use a variable?
  • Xdqwerty @ Xdqwerty:
    and nope the number still doesnt change
  • Xdqwerty @ Xdqwerty:
    ok im gonna make my own asset
  • Xdqwerty @ Xdqwerty:
    nvm i think i fixed it
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I fixed it
    +1
  • S @ salazarcosplay:
    how are you\
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, we just talked like 2 hours ago
    Xdqwerty @ Xdqwerty: