Jump to content

Recommended Posts

Guest utternoob
Posted (edited)

OK give me a few minutes

It says skate device when debugging is enabled

Edited by utternoob
Guest utternoob
Posted (edited)

Good news, can logcat now, adb drivers are installed. will try again and post it

so far, only logcat while on, not when booting :(

When booting up, I get an unknown device error and win xp says it's malfunctioned and cannot be recognised, stopping logcat from being read. Is it drivers again?

Edited by utternoob
Guest razzmataz1478
Posted

Sounds like a windows issue. You have Debian, yeah? I'll get back to you tomorrow.

Guest utternoob
Posted

Yeah. Will download sdk for Linux tomorrow. Does it work same as windows?

Guest razzmataz1478
Posted

Yeah. Will download sdk for Linux tomorrow. Does it work same as windows?

Slightly different.

Guest utternoob
Posted

Ah ok. Will resize my sd card first and then go onwards. Should be fun :) is the linux sdk zip 73mb per chance

Posted

I think your boot.img is not created as it supposes to be. Will post a short guide soon.

Posted

boot.img unpacking/packing guide

1) Create working dir, extract my set of tools inside. You will end up with "bin" subdir

2) Put original boot.img inside working dir

3) To split boot.img into boot.img-kernel (kernel image) and boot.img-ramdisk.gz


$ bin/split_bootimg.pl boot.img

4) To unpack ramdisk

$ mkdir ramdisk // create working dir for ramdisk

$ cp boot.img-ramdisk.gz ramdisk // copy ramdisk gz into ramdisk working dir

$ cd ramdisk

$ gunzip boot.img-ramdisk.gz

$ ../bin/ramfs_unpack boot.img-ramdisk

$ rm boot.img-ramdisk // delete so we don't accidentaly include it when packing

now make desired changes to files 5) To pack ramdisk

$ ../bin/ramfs_pack ../boot.img-ramdisk.new

$ cd ..

$ gzip boot.img-ramdisk.new

6) To make new final boot.img

$ bin/mkbootimg --kernel boot.img-kernel --ramdisk boot.img-ramdisk.new.gz --base 0x02600000 --pagesize 2048 -o new.boot.img

Note: ramfs_pack and unpack are my wrapper scripts and they call "cpio" command with the correct parameters.

Guest utternoob
Posted

Thanks a lot. When I get some time, will try this. Download tools from previous page?

Guest utternoob
Posted

This is probably the worst question ever, but could it be done on terminal emulator?

Guest utternoob
Posted

Tried it and got to last step but bash: bin/mkbootimg: cannot execute binary file

Posted (edited)

Probably because it is not compatible with your OS version.

I use it on Linux boxes with 2.6.32 and 3.0 kernels and libc6

It also depends on GCC. Try installing gcc.

Edited by C3C0
Guest utternoob
Posted

What is gcc and does it work with debian 6.0?

Posted (edited)

Running "file"command on mkbootimg tells you info on what kind of binary it is.


[email="gregus@hermes:~/android/bin$"]gregus@hermes:~/android/bin$[/email] file mkbootimg

mkbootimg: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped

GCC is a gnu C compiler and it looks like mkbootimg is using some of its shared libs.

BTW, your debian should have something like "abootimg" package containing android bin tools.

Have you tried it? (aptitude install abootimg)

http://packages.debian.org/en/sid/abootimg

Edited by C3C0
Guest utternoob
Posted (edited)

I get dpkg error, and don't know how to fix it. Says it stopped and needs configuring

Edit, fixing now

Edited by utternoob
Guest razzmataz1478
Posted

I get dpkg error, and don't know how to fix it. Says it stopped and needs configuring

Ubuntu all the way.

Guest utternoob
Posted

On a Raspberry Pi? Like running it on a Skate with half the ram, almost impossible

Guest razzmataz1478
Posted

On a Raspberry Pi? Like running it on a Skate with half the ram, almost impossible

Sorry, didn't see you had it running on a raspberry pi :o

Guest utternoob
Posted

Yeah. Can't install abootimg from online repository despite having set the correct server in sources.list and it won't install offline either :(

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.