Hacking [RCM Payload] Hekate - CTCaer mod

  • Thread starter CTCaer
  • Start date
  • Views 1,076,776
  • Replies 3,243
  • Likes 128

1LastRide

Member
Newcomer
Joined
Mar 22, 2018
Messages
22
Trophies
0
Age
44
XP
185
Country
United States
Thank you. Believe it or not, your response makes sense to me, and I'm glad you've already committed changes for a fix!

I can see how debugging would suck up heaps of time when some tests require running big I/O operations just to see if something's working properly.
 
  • Like
Reactions: CTCaer

CTCaer

Developer
OP
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,008
Country
Greece
Well manual debugging is a hell...
I lost 2 days searching about what went wrong with verification before.
All these bug huntings made the development very slow.

But I want to fix every storage related bug before releasing another "dangerous" operation; The Restore option.
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,818
Trophies
0
Location
Yorosso
XP
3,128
Country
Mali
Well manual debugging is a hell...
I lost 2 days searching about what went wrong with verification before.
All these bug huntings made the development very slow.

But I want to fix every storage related bug before releasing another "dangerous" operation; The Restore option.

Will we ever see the FW install option?
 

1LastRide

Member
Newcomer
Joined
Mar 22, 2018
Messages
22
Trophies
0
Age
44
XP
185
Country
United States
Seems like that 4 hour dump/validate resulted in a corrupted rawnand.bin anyway as I can't open in Hacdiskmount.
I'm going to retry the dump, hopefully it's not 4 hours this time. I worry about my battery.

Do I understand the hekate_ipl.ini config right that including "fullsvcperm=1" will skip the validation step and speed things up?
or is SVC validation different from the validation of the dump to eMMC?

Thanks.
 

CTCaer

Developer
OP
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,008
Country
Greece
Seems like that 4 hour dump/validate resulted in a corrupted rawnand.bin anyway as I can't open in Hacdiskmount.
I'm going to retry the dump, hopefully it's not 4 hours this time. I worry about my battery.

Do I understand the hekate_ipl.ini config right that including "fullsvcperm=1" will skip the validation step and speed things up?
or is SVC validation different from the validation of the dump to eMMC?

Thanks.
That's why it's very important to fix the verification.

Nope, the SVC is for the kernel service permissions.
The configuration commits are not online yet and in v2.3 the broken verification is forced.
If you really want to be sure you can
either compile the latest source (it uses sha256 for this and it will take 44 minutes [+ more minutes to read from eMMC/SD] for the verification),
or wait for my new release.

On the other hand, your battery wont have any problems from this. If you worry about shutting off, leave it connected to your PC or wall adapter.
(Not your phone though. It will deplete its battery.)
 

1LastRide

Member
Newcomer
Joined
Mar 22, 2018
Messages
22
Trophies
0
Age
44
XP
185
Country
United States
That's why it's very important to fix the verification.
If you really want to be sure you can
either compile the latest source (it uses sha256 for this and it will take 44 minutes [+ more minutes to read from eMMC/SD] for the verification)

Yes! Thank you, I'm going to compile and give it a shot. Maybe I can will observe other bugs.
You've been very helpful. also A+ on response time.
 

subcon959

@!#?@!
Member
Joined
Dec 24, 2008
Messages
5,854
Trophies
4
XP
10,151
Country
United Kingdom
Halfway through verifying at the moment, taken 30 mins to do 50%.

Btw, is there a reason the font size is small again or did I do something wrong?
 

CTCaer

Developer
OP
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,008
Country
Greece
Halfway through verifying at the moment, taken 30 mins to do 50%.

Btw, is there a reason the font size is small again or did I do something wrong?
The master branch is not ready, yet.
It was used to make pull requests to the old upstream.

It will be ready and officially the main branch when I'll have the actual release of v3.0.

(And if you check my latest commits, I readded the 16px font.)
 
  • Like
Reactions: Leonidas87

1LastRide

Member
Newcomer
Joined
Mar 22, 2018
Messages
22
Trophies
0
Age
44
XP
185
Country
United States
I've dumped 3 full raw nand files and opened them using HacDiskMount to be sure they're intact.
All three full dumps have had the below warning. Could it be something going on with HacDiskMount?

{info} Trying to read partition table from <path>/rawnand.bin
{info} Loaded primary GPT, checking secondary from offset 31268535808
{warning} Secondary GPT has invalid constants, ignoring
{info} Using primary GPT as backup is bad

The above messages are displayed in the app, but I can still see the breakdown of each segment of the NAND dump (System, User, Safe, ProdInfo, BCPKG2..., etc)[/warning]
 
Last edited by 1LastRide,

CTCaer

Developer
OP
Developer
Joined
Mar 22, 2008
Messages
1,154
Trophies
0
XP
3,008
Country
Greece
I've dumped 3 full raw nand files and opened them using HacDiskMount to be sure they're intact.
All three full dumps have had the below warning. Could it be something going on with HacDiskMount?

{info} Trying to read partition table from <path>/rawnand.bin
{info} Loaded primary GPT, checking secondary from offset 31268535808
{warning} Secondary GPT has invalid constants, ignoring
{info} Using primary GPT as backup is bad

The above messages are displayed in the app, but I can still see the breakdown of each segment of the NAND dump (System, User, Safe, ProdInfo, BCPKG2..., etc)[/warning]
What file size these backups have?

I'll also try latest hacdisk to see what it says for my yesterday made backup.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: Hard to hold phone, tweezers, and my thingy all at same time, but I manage