I am transferring all the files from rofs1 to rofs2.....OK..
But When I transfer all the files,all the stubs and the other Resource...etc files comes to the rofs2.....So NC will use "data=" command for them......but As of the original rofs2....the files from the rofs1 are hidden by the iFileAddress......And while Repack RofsBuild will show error of Duplicate Entry.....
So will I hide it or Not hide it.......
Or Will I have to left that file in the ROFS1......
The safest way is to left these files in the ROFS1 and not move them to the ROFS2, so will be properly hidden when you rebuild the ROFS1.
the ContentChecksum 0x0102 is computed as follow:
the 0x01 is the LRC of the odd bytes of the content
the 0x02 is the LRC of the pair bytes of the content
could you provide some small example for how those two words can be calculated, i'm getting confused about LRC of the odd bytes and LRC of the pair bytes of content
Let's suppose we have these contents bytes: 78 AB 29 11 22
LRC of the odd bytes = 78 ^ 29 ^ 22 = 73
LRC of the pair bytes = AB ^ 11 = BA
ContentChecksum = 0x73BA
if you can manage to edit rom [not rofs] size or disable rom modification checking in the core header (checked by flashing softz and phone)
To be honest, I don't think it will be possible
because much probably, it is protected with RSA1024 digital signature, but at least I would like to understand:
1) where is located the digital signature.
2) where stats/ends the protected data
3) where is located the public key.
In order to be able to verify if the signature is valid or not.
And currently, the hardest challenge is the lack of information about the contents of the 0x5D Blocks
I'm trying to collect some new info, but it is a long task and got poor results for now.
I had created/edited Rom image (not rofs) a long time ago....
I did it too
only need to integrate the RP+ engine in NC.
Thank you anyway for your offer, it is really appreciated!
And it is really hard to find someone who wants to contribute to this project... you're one in a million!
5401170E 00030049 91010000 04000008 0000EF00 CERT-CHECK TOOL
I don't know this tool. Where can I find it? I'd like to give it a look...
Please explain how the changes effected in the core partition table when we change the sectors A,B & C
For example, take a look at your post here:http://forum.dailymobile.net/index.php?topic=55242.msg732086#msg732086
524F4653 31000000 00001007 0000FE01 000000000000000000000000 SOS+ROFS1
ROFS1 has 2B value and if you change it to 2C it will became:
524F4653 31000000 00001007 0000FE01 000000000000000000000000 SOS,ROFS1
If you wanted to ask why that change removes the protection, unfortunately, the truth is that I don't know why... (and moreover, I don't know if it can bring some side-effects)
I also asked the same question to doctorly, but he don't know it either, he just implemented some stuff that has been discovered by others.
Seems that some other chinese guy discovered it and probably he has a better knowledge on this matter, but I don't know where to find him...
It could be helpful if we could find that guy and ask him directly.