View Single Post
  #2 (permalink)  
Old 01-31-2010, 02:09 PM
Shadow_Walker's Avatar
Shadow_Walker
Lurker
Offline
Threadstarter
 
Join Date: Jan 2010
Posts: 21
Reputation: 0
Shadow_Walker is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: LG Dare Porting Project

Will I was up late last night hunting down some info and found that i had a few tools on my system to help with AMSS.. but after using the tools I am not sure if i have all of AMSS or not.

I used readelf and this is the output I got.

C:\Dev-Cpp\bin>readelf -h c:\vx9700wp\vx9700v06_05_AMSS.elf
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0x0
Start of program headers: 4096 (bytes into file)
Start of section headers: 0 (bytes into file)
Flags: 0x2, has entry point, GNU EABI
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 25
Size of section headers: 40 (bytes)
Number of section headers: 0
Section header string table index: 0

========================================

Reason i am not sure if i have all of AMSS is the fact that this shows no Section Headers.

Is this Possible? or am i missing something..

Now for the Program Headers I got this....

Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x002000 0x00000000 0x00000000 0x26a58 0x29610 RWE 0x8000
LOAD 0x029000 0xf0029620 0x00029620 0x01d14 0x049e0 RWE 0x8000
LOAD 0x02b000 0x00100000 0x00100000 0x1f658 0x1f658 R E 0x8000
LOAD 0x04b000 0x00127658 0x00127658 0x00424 0x12398 RW 0x8000
LOAD 0x04c000 0x00140000 0x00140000 0x0b096 0x0b096 R E 0x8000
LOAD 0x058000 0x00153098 0x00153098 0x001f0 0x00284 RW 0x8000
LOAD 0x059000 0x00160000 0x00160000 0x08a72 0x08a72 R E 0x8000
LOAD 0x062000 0x00170a74 0x00170a74 0x000f0 0x0017c RW 0x8000
LOAD 0x063000 0x00180000 0x00180000 0x0ab2a 0x0ab2a R E 0x8000
LOAD 0x06e000 0x00192b2c 0x00192b2c 0x000f0 0x00250 RW 0x8000
LOAD 0x06f000 0x001a0000 0x001a0000 0x080c2 0x080c2 R E 0x8000
LOAD 0x078000 0x001b00c4 0x001b00c4 0x000f0 0x00234 RW 0x8000
LOAD 0x079000 0x001d0000 0x001d0000 0x0a524 0x0e0f4 RWE 0x4
LOAD 0x084000 0x001e0000 0x001e0000 0x03000 0x03000 R E 0x1000
LOAD 0x087000 0x001e5000 0x001e5000 0x001f4 0x02000 R 0x1000
LOAD 0x089000 0x001e7000 0x001e7000 0x6de000 0x6de000 R E 0x1000
LOAD 0x767000 0x008c5000 0x008c5000 0xe2000 0xe2000 RWE 0x1000
LOAD 0x849000 0x009a7000 0x009a7000 0x2240000 0x2240000 R E 0x1000
LOAD 0x2a89000 0x02be7000 0x02be7000 0x199000 0x199000 RW 0x1000
LOAD 0x2c22000 0x02d81000 0x02d81000 0x01f80 0x504c000 RW 0x1000
LOAD 0x2c24000 0x07dcd000 0x07dcd000 0x00000 0x09248 RW 0x4
LOAD 0x2c24000 0x07dd6248 0x07dd6248 0x01d30 0x91db8 RW 0x1000
LOAD 0x2c26000 0x001c0000 0x001c0000 0x001fc 0x001fc 0x1
LOAD 0x2c27000 0x001c1000 0x001c1000 0x024f8 0x03000 0x1
LOAD 0x2c2a000 0x001c4000 0x001c4000 0x00180 0x01000 0x1

=================================

And actual 7zip can extract all 25 files
but how to I get them back to useful files that can be switched out and repacked?

I can manually find the .c and .cpp files but they are still compiled Does this matter.. Can you use the compiled files or do you have to disassemble them?

I found some really nice Tools to use but they have to compiled and they do come with Make files just not sure how to use them so I will have to do a little more research on this.. Feel free to share your know how with me if you would like...

The set of tools is ERESI..

Any way thinks for any help you can give.

Best Regards