Hacking [RCM Payload] Hekate - CTCaer mod

  • Thread starter CTCaer
  • Start date
  • Views 1,065,433
  • Replies 3,216
  • Likes 128

Pizzlewizzle

Member
Newcomer
Joined
May 17, 2018
Messages
8
Trophies
0
Age
36
XP
149
Country
United States
I can test on 2.2.0 later today. Have a new 128gb SD card coming in later today that I will be formatting fat32(since this switch came with 2.2.0, has never been connected to the internet, and hence has never been updated for exfat support)
 
  • Like
Reactions: CTCaer

Justin20020

Well-Known Member
Member
Joined
Jun 22, 2015
Messages
813
Trophies
0
Age
30
XP
2,662
Country
Germany
@whyyes @Justin20020
Please try the attached beta version.

Changes:
Partial dumping:
Makes sure that the partial.idx is created even when a fatal error occurs. (helps to continue from the last part when an error occurred).
Can now force partial dumping by creating "partial.idx" file and writing 0x00 into it, even if the sd card has enough space (and fs is exFAT).
Other:
Optimizations
Fatal errors abort immediately. (They don't ask if you want to ignore errors now. What's the point if you get a corrupt backup.)

It went really good. It took me 2 attemps (I don't know why but it stopped after one part on another)

Got 14 Parts. These are 29,1 GB (31.276.926.928 Bytes). So I'm good to go.

Thank you for your support on this, @CTCaer :)
 

Katkat

Well-Known Member
Newcomer
Joined
Jul 13, 2015
Messages
46
Trophies
0
Age
30
XP
126
Country
France
Hi, I use hekate - ipl (CTCaer mod v1.3) in order to make a "RAW eMMC Dump" I had no problem except that I only have 14 parts of the rawnand.bin file, is this normal ? (FW : 4.0.1)
 
Last edited by Katkat,

CTCaer

Developer
OP
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,007
Country
Greece
It went really good. It took me 2 attemps (I don't know why but it stopped after one part on another)

Got 14 Parts. These are 29,1 GB (31.276.926.928 Bytes). So I'm good to go.

Thank you for your support on this, @CTCaer :)
The one by one after the 1st session, was a test I forgot to remove from this beta version.

Not exactly.
31.268.536.320 is the correct size. For some reason you have 8.390.608 more, which is 8MB + 2000B.
Did you merge anything else there? I believe you attached BOOT0/BOOT1 and sth else there.

Check if you parts are 2.147.483.648 and the last one 1.203.765.248.

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

Hi, I use hekate - ipl (CTCaer mod v1.3) in order to make a "RAW eMMC Dump" I had no problem except that I only have 14 parts of the rawnand.bin file, is this normal ?

The parts are from 00 to 14. That's 15 parts.
 

Katkat

Well-Known Member
Newcomer
Joined
Jul 13, 2015
Messages
46
Trophies
0
Age
30
XP
126
Country
France
The one by one after the 1st session, was a test I forgot to remove from this beta version.

Not exactly.
31.268.536.320 is the correct size. For some reason you have 8.390.608 more, which is 8MB + 2000B.
Did you merge anything else there? I believe you attached BOOT0/BOOT1 and sth else there.

Check if you parts are 2.147.483.648 and the last one 1.203.765.248.

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



The parts are from 00 to 14. That's 15 parts.

thank you very much
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,789
Trophies
2
XP
28,219
Country
United Kingdom
@whyyes @Justin20020
Please try the attached beta version.

Changes:
Partial dumping:
Makes sure that the partial.idx is created even when a fatal error occurs. (helps to continue from the last part when an error occurred).
Can now force partial dumping by creating "partial.idx" file and writing 0x00 into it, even if the sd card has enough space (and fs is exFAT).
Other:
Optimizations
Fatal errors abort immediately. (They don't ask if you want to ignore errors now. What's the point if you get a corrupt backup.)
Tried this one, for a first time dump. Samsung 32gb card formatted ExFAT. It got to somewhere around 60% (raw full dump) before splooging errors all over the screen, possibly the same as a previous poster described. Attaching screenshot.

That other poster just said that it took them two tries, so I'll give it another go later when back home.

All the other dumping options I tried (everything besides USER) worked fine.
E: I ran the other options AFTER the failed dump, there was enough free space to start with for the full raw dump, card was empty and freshly formatted.

IMG_20180517_151621.jpg
 
Last edited by hippy dave,
  • Like
Reactions: kamo

CTCaer

Developer
OP
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,007
Country
Greece
Tried this one, for a first time dump. Samsung 32gb card formatted ExFAT. It got to somewhere around 60% (raw full dump) before splooging errors all over the screen, possibly the same as a previous poster described. Attaching screenshot.

That other poster just said that it took them two tries, so I'll give it another go later when back home.

All the other dumping options I tried (everything besides USER) worked fine.
E: I ran the other options AFTER the failed dump, there was enough free space to start with for the full raw dump, card was empty and freshly formatted.

This is a beta version, you should use 1.3. Or better yet, for the final v1.5.


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

At @hippy dave ,@kamo
I found out why this was happening.
When changing the logic a bit, I forgot to also account for exFAT with enough space cards.
The final 1.5 will have this fix. And also the forced partial dumping in exFAT will work.
 
  • Like
Reactions: kamo and hippy dave

jakkal

Well-Known Member
Member
Joined
Apr 27, 2018
Messages
2,303
Trophies
1
Age
44
XP
3,982
Country
United States
worked perfectly for me last night
dumped on my 200gb sd

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

will there ever be an option to restore from backup?
 

Justin20020

Well-Known Member
Member
Joined
Jun 22, 2015
Messages
813
Trophies
0
Age
30
XP
2,662
Country
Germany
The one by one after the 1st session, was a test I forgot to remove from this beta version.

Not exactly.
31.268.536.320 is the correct size. For some reason you have 8.390.608 more, which is 8MB + 2000B.
Did you merge anything else there? I believe you attached BOOT0/BOOT1 and sth else there.

Check if you parts are 2.147.483.648 and the last one 1.203.765.248.

yes you're right. I got the correct size now :)
 

kamo

Well-Known Member
Member
Joined
Aug 7, 2006
Messages
180
Trophies
0
Age
46
Website
Visit site
XP
413
Country
Italy
Tried this one, for a first time dump. Samsung 32gb card formatted ExFAT. It got to somewhere around 60% (raw full dump) before splooging errors all over the screen, possibly the same as a previous poster described. Attaching screenshot.

That other poster just said that it took them two tries, so I'll give it another go later when back home.

All the other dumping options I tried (everything besides USER) worked fine.
E: I ran the other options AFTER the failed dump, there was enough free space to start with for the full raw dump, card was empty and freshly formatted.

Yeah, that's exactly what I got. I wasn't making stuff up just for the heck of it.

@CTCaer just saw your edit about 1.5. Great work identifying the problem! In the meantime I'm still trying the beta. It kinda works now. It's slow but no more read errors. I do get an message about too little space on the card but since there actually is enough space I always just continue the dumping process. I did of course double check that there is enough space.
 
Last edited by kamo,

CTCaer

Developer
OP
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,007
Country
Greece
worked perfectly for me last night
dumped on my 200gb sd

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

will there ever be an option to restore from backup?
Yes. It is intended for hekate to work like, let's say, android bootloader/twrp recovery.
For now though, we don't touch at all the writing to eMMC, until everything is ready.

Yeah, that's exactly what I got. I wasn't making stuff up just for the heck of it.

@CTCaer just saw your edit about 1.5. Great work identifying the problem! In the meantime I'm still trying the beta. It kinda works now. It's slow but no more read errors. I do get an message about too little space on the card but since there actually is enough space I always just continue the dumping process. I did of course double check that there is enough space.
Sorry about that, I was thinking only for partial dumping and ignored the other case.


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

Btw, all 1.5 bugs are sanitized and I'm just waiting confirmation from @Pizzlewizzle and someone else with 1.0.0 that the CFW launch works for these versions.
Although, that might not be needed in the future, because naehrwert will try and make the SE patches uneeded for launching any firmware version when he finds some time.
 

kamo

Well-Known Member
Member
Joined
Aug 7, 2006
Messages
180
Trophies
0
Age
46
Website
Visit site
XP
413
Country
Italy
Yes. It is intended for hekate to work like, let's say, android bootloader/twrp recovery.
For now though, we don't touch at all the writing to eMMC, until everything is ready.


Sorry about that, I was thinking only for partial dumping and ignored the other case.


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

Btw, all 1.5 bugs are sanitized and I'm just waiting confirmation from @Pizzlewizzle and someone else with 1.0.0 that the CFW launch works for these versions.
Although, that might not be needed in the future, because naehrwert will try and make the SE patches uneeded for launching any firmware version when he finds some time.
Please mate, don't be sorry. It's all good, I'm thankful for your patience.
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,789
Trophies
2
XP
28,219
Country
United Kingdom
Apart from the raw nand dump, does this look like everything there is to be backed up? Is there anything else I need to do separately to have everything I could need? Thanks.

Screen Shot 2018-05-17 at 19.21.15.png
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    That would've gone slow he's old
    +1
  • ZeroT21 @ ZeroT21:
    sadly the person in question feels too young for his own good
  • K3Nv2 @ K3Nv2:
    We don't question people
  • ZeroT21 @ ZeroT21:
    me neither, i just bash them
  • K3Nv2 @ K3Nv2:
    We just question @AncientBoi
  • ZeroT21 @ ZeroT21:
    it wasn't a question, it was fact
  • BigOnYa @ BigOnYa:
    He said he had 3 different doctors apt this week, so he prob there. Something about gerbal extraction, I don't know.
    +1
  • ZeroT21 @ ZeroT21:
    bored, guess i'll spread more democracy
  • LeoTCK @ LeoTCK:
    @K3Nv2 one more time you say such bs to @BakerMan and I'll smack you across the whole planet
  • K3Nv2 @ K3Nv2:
    Make sure you smack my booty daddy
    +1
  • LeoTCK @ LeoTCK:
    telling him that my partner is luke...does he look like someone with such big ne
    eds?
  • LeoTCK @ LeoTCK:
    do you really think I could stand living with someone like luke?
  • LeoTCK @ LeoTCK:
    I suppose luke has "special needs" but he's not my partner, did you just say that to piss me off again?
  • LeoTCK @ LeoTCK:
    besides I had bigger worries today
  • LeoTCK @ LeoTCK:
    but what do you know about that, you won't believe me anyways
  • K3Nv2 @ K3Nv2:
    @BigOnYa can answer that
  • BigOnYa @ BigOnYa:
    BigOnYa already left the chat
  • K3Nv2 @ K3Nv2:
    Biginya
  • BigOnYa @ BigOnYa:
    Auto correct got me, I'm on my tablet, i need to turn that shit off
  • K3Nv2 @ K3Nv2:
    With other tabs open you perv
  • BigOnYa @ BigOnYa:
    I'm actually in my shed, bout to cut 2-3 acres of grass, my back yard.
  • K3Nv2 @ K3Nv2:
    I use to have a guy for that thanks richard
  • BigOnYa @ BigOnYa:
    I use my tablet to stream to a bluetooth speaker when in shed. iHeartRadio, FlyNation
  • K3Nv2 @ K3Nv2:
    While the victims are being buried
    K3Nv2 @ K3Nv2: While the victims are being buried