Repacking UPDATA.APP (was New version of split_updata.pl)
#81
Posted 29 June 2010 - 08:58 PM
#82
Posted 30 June 2010 - 04:59 PM
eg for the Time Machine rom
$ hd file02.mbn 00000000 27 91 42 fd f9 ac 26 fc 87 21 01 3e 48 9a de c9 |'.B...&..!.>H...| 00000010 d1 64 af 9f 4d 42 4f 10 04 1d 09 9d |.d..MBO.....| 0000001c boot_versions.txt 2791 (bytes 1 and 2) upgradable_versions.txt 099D (last 2 bytes) version.txt 099D (last 2 bytes as well... ahem) file01.mbn 2109 file02.mbn 7A7A (It can't contain the checksum for itself) file04.mbn 42FD (bytes 3 and 4) file05.mbn 01C9
Edited by ZeBadger, 30 June 2010 - 05:13 PM.
#83
Posted 30 June 2010 - 05:10 PM
Edited by Speckles, 30 June 2010 - 05:11 PM.
#84
Posted 30 June 2010 - 05:29 PM
Speckles, on Jun 30 2010, 18:10, said:
I'm quite sure all the checksums for the files will be in this file. Just got to workout how they are stored. I'm confident that this will sort out my CRC error with my image
#85
Posted 30 June 2010 - 05:49 PM
#86
Posted 30 June 2010 - 07:07 PM
I split the splash screen up with "split -b 16384 splash.raw565". This didn't give me anything recognisable when passed through crc_file
"split -a 10 -b 16383 splash.raw565" gave me lots of F078
$ for each in x??
> do
> echo $each: `./crc_file $each`
> done
xaa: F078 xab: F078 xac: F078 xad: F078 xae: F078 xaf: F078 xag: F078 xah: 1357 xai: 3F61 xaj: F078 xak: F078 xal: F078 xam: F078 xan: F078 xao: F078 xap: F078 xaq: F078 xar: F078 xas: 4FA7
There's a lot of F078 in file02.mbn which makes me think that for large amounts of NULL this is probably correct, but 1357 isn't and 3F61 are not in there.
EDIT: Doh doh doh... it's 2 bytes per chunk... so must be 32k chunks... Stupid coincidence of F078 and 78FO lol
Edited by ZeBadger, 30 June 2010 - 07:30 PM.
#87
Posted 30 June 2010 - 07:12 PM
$ for each in x??
> do
> ./crc_file $each
> done
78F0
78F0
78F0
9A0B
EE47
78F0
78F0
78F0
78F0
0E07
I'll recompile a crc creator for 32k... brb after rebooting into Linux! Okay it's here crc32k
Time to edit file02 then try re-flashing my phone!
Edited by ZeBadger, 30 June 2010 - 07:23 PM.
#88
Posted 30 June 2010 - 07:37 PM
BTW, I use VMWare for Linux, much easier than rebooting
Edited by Speckles, 30 June 2010 - 07:39 PM.
#89
Posted 30 June 2010 - 08:04 PM
Speckles, on Jun 30 2010, 20:37, said:
Failing straight away on me now. "Update failed". First time was because I had forgotten to update the CRC for file02.mbn!
Now I'm getting :
**** SD download log **** Failure: MD5_RSA verify failure. Failure: operation did not succeed. Failure: operation did not succeed. Failure: operation did not succeed. Failure: operation did not succeed. Failure: operation did not succeed. dload_sd_ram_data_proc->(retry >= DLOAD_RETRY) failed!
Crikey... there must be an md5 in there somewhere too ? Maybe, as you had the same problems, this is something to do with how the file is assembled too.
That's enough tinkering for tonight... g/f is getting tetchy
Edited by ZeBadger, 30 June 2010 - 08:12 PM.
#90
Posted 30 June 2010 - 08:10 PM
#91
Posted 30 June 2010 - 08:15 PM
Speckles, on Jun 30 2010, 21:10, said:
Hi,
I have been following this post for a while now (since it started), and I am very interested in what your doing. Unfortunately I don't understand much of what your talking about, so I was wondering if you could say roughly how close to completion you are on this, as I am sure there are many others in a simular position to me.
Thanx
Aaron
#92
Posted 30 June 2010 - 08:20 PM
#93
Posted 30 June 2010 - 08:27 PM
Speckles, on Jun 30 2010, 21:10, said:
Yeah I was looking in there... it's divisible by 32bits (_8_ md5 checksums... just need to know what they are checksums for, it's also 128 bytes in the TimeMachine rom)
I know how we can work out what it is for. It's not all of the headers as I have edited one of them and it didn't fail. I have however edited file02.mbn and got this error... but only after I fixed the CRC checksum for it! So we can just try bodging other files until we know which ones are affected.... okay I'm really going for the evening now!
Epic-Emodude said:
As Speckles says, it might not even be possible, if there's any cryptography we will probably hit a brick wall. We still haven't worked out the "something2" field... although one of my friends got the bug and has taken it away for analysis.
Edited by ZeBadger, 01 July 2010 - 05:05 PM.
#94
Posted 30 June 2010 - 08:47 PM
ZeBadger, on Jun 30 2010, 21:27, said:
HP Touchpad - AOKP? I dunno (ICS) // webOS // Debian - 30MB Interwebz
I should still be a mod. #JustSayin.
#95
Posted 30 June 2010 - 09:00 PM
#96
Posted 30 June 2010 - 09:05 PM
#97
Posted 30 June 2010 - 09:24 PM
DanWilson, on Jun 30 2010, 21:47, said:
bug
noun
1. insect, beastie (informal), creepy-crawly (informal), gogga (S. African informal) a bloodsucking bug which infests poor housing
2. (Informal) illness, disease, complaint, virus, infection, disorder, disability, sickness, ailment, malaise, affliction, malady, lurgy (informal) I think I've got a bit of a stomach bug.
3. fault, failing, virus, error, defect, flaw, blemish, imperfection, glitch, gremlin There is a bug in the software.
4. bugging device, wire, listening device, phone tap, hidden microphone There was a bug on the phone.
5. (Informal) mania, passion, rage, obsession, craze, fad, thing (informal) I've definitely been bitten by the gardening bug.
#98
Posted 30 June 2010 - 09:26 PM
ZeBadger, on Jun 30 2010, 22:24, said:
bug
noun
1. insect, beastie (informal), creepy-crawly (informal), gogga (S. African informal) a bloodsucking bug which infests poor housing
2. (Informal) illness, disease, complaint, virus, infection, disorder, disability, sickness, ailment, malaise, affliction, malady, lurgy (informal) I think I've got a bit of a stomach bug.
3. fault, failing, virus, error, defect, flaw, blemish, imperfection, glitch, gremlin There is a bug in the software.
4. bugging device, wire, listening device, phone tap, hidden microphone There was a bug on the phone.
5. (Informal) mania, passion, rage, obsession, craze, fad, thing (informal) I've definitely been bitten by the gardening bug.
Lulz, you've lost me...
HP Touchpad - AOKP? I dunno (ICS) // webOS // Debian - 30MB Interwebz
I should still be a mod. #JustSayin.
#99
Posted 30 June 2010 - 09:32 PM
#100
Posted 30 June 2010 - 09:39 PM
ZeBadger, on Jun 30 2010, 22:32, said:
I think someone should work 24/7 , just to fix his friends obsession. *HINT HINT*
JK - I wouldn't rush you that much, you need an hour to sleep!
HP Touchpad - AOKP? I dunno (ICS) // webOS // Debian - 30MB Interwebz
I should still be a mod. #JustSayin.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users







Sign In
Create Account


Back to top









