Latest product reviews
ARCHOS 50 Diamond
ARCHOS GamePad2
ARCHOS
Smartphones
ARCHOS
TV Connect
ARCHOS 101 XS

A A A
Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?

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 !

sp_Feed sp_TopicIcon
[80XS(K)] Unpack boot.img
Avatar
aleskandro
New Member
Forum Posts: 5
Member Since:
2013/03/03
sp_UserOfflineSmall Offline
1
2013/03/04 - 15:45
sp_Permalink sp_Print

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.

 

Avatar
globula_neagra
Birmingham

Moderator

Firmware Guru
Forum Posts: 2424
Member Since:
2012/01/05
sp_UserOfflineSmall Offline

Thanks Received: 264
2
2013/03/04 - 21:09
sp_Permalink sp_Print

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:

jongwan
Avatar
globula_neagra
Birmingham

Moderator

Firmware Guru
Forum Posts: 2424
Member Since:
2012/01/05
sp_UserOfflineSmall Offline

Thanks Received: 264
Forum Timezone: Europe/Paris

Most Users Ever Online: 749

Currently Online: Oma7144, Otura, Topgun777, CrimsonEssence
191 Guest(s)

Currently Browsing this Page:
1 Guest(s)


Devices in use: Desktop (158), Phone (32), Tablet (5)

Top Posters:

Oma7144: 5794

globula_neagra: 2424

finless: 604

DarthJabba: 551

exelletor: 450

JochenKauz: 450

cracktech: 432

maikal: 394

Newest Members:

CrimsonEssence

grompf2000

arcfilms3

mounirus

Paveo

Pierre77777

Forum Stats:

Groups: 10

Forums: 185

Topics: 5918

Posts: 58888

 

Member Stats:

Guest Posters: 43

Members: 256588

Moderators: 5

Admins: 1

Administrators: admin

Moderators: globula_neagra, exelletor, JochenKauz, Oma7144, cracktech


CrewRKTablets moderators: JochenKauz and Astralix