Forum switched to read-only as of 2020/06/01
Latest product reviews |
---|
![]() |
![]() |
Smartphones ![]() |
TV Connect ![]() |
![]() |
ClockworkMod (CWM) Recovery easy install for RK3066 and RK3188 -- TWRP/CWM Flash-Tool and root for RK3288
 Please donate to support OMA and CrewRKTablets firmware work, thank you !

2013/03/03

Hi all, I've done a backup by cwm of boot partition of my Archos Gen10 80XS(K): so I have a 16M boot.img file...
I would to unpack it and "edit" to make a bootable linux (gentoo, debian or others (what??))... It's first time that I work to hack arm embedded devices, so it is accepted any suggestion about this topic (links, books, etc).
Is very difficult to have a windows machine at home, so: is there anyone that knows gnu/linux tools to unpack boot.img files?
I tried a perl script (http://dl.xda-developers.com/attachdl/71999061e9ebd9a937940b00a8f4fdf0/5134a9dc/8/8/4/9/5/9/xperiaboottools.zip) but:
# perl split_bootimg.pl boot.img
Android Magic not found in boot.img. Giving up.


Moderator

Firmware Guru
2012/01/05

the boot.img dumped via adb can be unpacked using dsixda tool for cooking firmwares, but you will ned to flash`it back, using adb !!!
as for the proper boot.img provided in the firmware you need
https://github.com/lamegopinto/rk2918tools
glob@glob-M720-US3:~/rk2918tools-master$ make
cc -O0 -W -Wall -DUSE_OPENSSL -g rkcrc.c -lusb-1.0 -lssl -lcrypto -o rkcrc
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make: *** [rkcrc] Error 1
sudo apt-get install apt-file
apt-file update
apt-file search lcrypto
sudo apt-get install libssl-dev
make
glob@glob-M720-US3:~$ cd /home/glob/rk2918tools-master/
glob@glob-M720-US3:~/rk2918tools-master$ '/home/glob/rk2918tools-master/rkunpack' '/home/glob/rk2918tools-master/boot.img'
glob@glob-M720-US3:~/rkutils-master/rkutils-master/boot$ gunzip < ../boot.img-raw | sudo cpio -i --preserve-modification-time --make-directories
3106 blocks
this what i saved when i unpacked my first time a boot.img from a rockchip tablet.
The following users say thank you to globula_neagra for this useful post:
jongwanMost Users Ever Online: 803
Currently Online:
147 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Devices in use: Desktop (142), Phone (5)
Top Posters:
finless: 604
DarthJabba: 551
maikal: 394
mussonero1: 350
alex: 252
damo: 243
DanielVd: 237
Mark06: 222
Newest Members:
igijabet
jacksonrid
usdown
ibob64
kawi
vetBro
Forum Stats:
Groups: 10
Forums: 185
Topics: 6037
Posts: 60500
Member Stats:
Guest Posters: 43
Members: 262194
Moderators: 5
Admins: 1
Administrators: admin
Moderators: globula_neagra, exelletor, JochenKauz, Oma7144, cracktech
CrewRKTablets moderators: JochenKauz and Astralix