|
2011-06-23
, 20:01
|
Posts: 94 |
Thanked: 28 times |
Joined on Oct 2009
|
#282
|
Testing a random Harmattan binary (bc):
I'm not sure if the erratum applies also to thumb2.Code:$ arm-linux-gnueabi-readelf -A bc Attribute Section: aeabi File Attributes Tag_CPU_name: "7-A" Tag_CPU_arch: v7 Tag_CPU_arch_profile: Application Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 Tag_FP_arch: VFPv3 Tag_Advanced_SIMD_arch: NEONv1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align_needed: 8-byte Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: int Tag_ABI_HardFP_use: SP and DP Tag_ABI_VFP_args: VFP registers
|
2011-06-23
, 20:28
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#283
|
The Following 2 Users Say Thank You to lma For This Useful Post: | ||
|
2011-06-24
, 03:54
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#284
|
|
2011-06-24
, 06:18
|
Posts: 94 |
Thanked: 28 times |
Joined on Oct 2009
|
#285
|
Now, it looks like you'll need to do filesystem reconstruction - the EXT4 header (EF53, or when opened in XVI32 53EF) is found after the filesystem label (rootfs apparently).Why Nokia does this is unclear - but they've done numerous ***-backwards things before, this might be one of them.
EDIT: rootfs.lzo is a lzo file. However, Nokia has stripped off the header for no reason at all. I've been trying for the past 3 hours to reconstruct the header from other lzo files, with no dice. If anyone can point me to how flasher-3.5.11 handles this thing, that would be much appreciated.
|
2011-06-24
, 08:37
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#286
|
|
2011-06-24
, 09:54
|
Posts: 94 |
Thanked: 28 times |
Joined on Oct 2009
|
#287
|
|
2011-06-24
, 14:22
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#288
|
lzop: rootfs.lzo: header corrupted (checksum error) lzop: rootfs.lzo: header corrupted (transmitted in text mode?) lzop: rootfs.lzo: not a lzop file lzop: rootfs.lzo: header corrupted
|
2011-06-24
, 19:08
|
Posts: 94 |
Thanked: 28 times |
Joined on Oct 2009
|
#289
|
|
2011-06-24
, 22:50
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#290
|
Just to add a little bit more of information, ape-algo looks like a tiny Linux system for flashing.
It's a Linux kernel with a tiny initscript running softupd. The flasher sends it to the device, which boots it and then waits for the flasher connection, which then sends the rest of the firmware.
I don't know how exactly ape-algo system is compacted, it might be lzo to, but I can't extract it.
Last edited by lma; 2011-06-23 at 19:22. Reason: remove irrelevant detail