Guest utternoob Posted July 23, 2012 Report Posted July 23, 2012 (edited) OK give me a few minutes It says skate device when debugging is enabled Edited July 23, 2012 by utternoob
Guest utternoob Posted July 23, 2012 Report Posted July 23, 2012 (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 July 23, 2012 by utternoob
Guest razzmataz1478 Posted July 23, 2012 Report Posted July 23, 2012 Sounds like a windows issue. You have Debian, yeah? I'll get back to you tomorrow.
Guest utternoob Posted July 23, 2012 Report Posted July 23, 2012 Yeah. Will download sdk for Linux tomorrow. Does it work same as windows?
Guest razzmataz1478 Posted July 23, 2012 Report Posted July 23, 2012 Yeah. Will download sdk for Linux tomorrow. Does it work same as windows? Slightly different.
Guest utternoob Posted July 23, 2012 Report Posted July 23, 2012 Ah ok. Will resize my sd card first and then go onwards. Should be fun :) is the linux sdk zip 73mb per chance
Guest C3C0 Posted July 24, 2012 Report Posted July 24, 2012 I think your boot.img is not created as it supposes to be. Will post a short guide soon.
Guest C3C0 Posted July 24, 2012 Report Posted July 24, 2012 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 July 24, 2012 Report Posted July 24, 2012 Thanks a lot. When I get some time, will try this. Download tools from previous page?
Guest utternoob Posted July 24, 2012 Report Posted July 24, 2012 This is probably the worst question ever, but could it be done on terminal emulator?
Guest utternoob Posted July 24, 2012 Report Posted July 24, 2012 Tried it and got to last step but bash: bin/mkbootimg: cannot execute binary file
Guest C3C0 Posted July 24, 2012 Report Posted July 24, 2012 (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 July 24, 2012 by C3C0
Guest utternoob Posted July 24, 2012 Report Posted July 24, 2012 What is gcc and does it work with debian 6.0?
Guest C3C0 Posted July 24, 2012 Report Posted July 24, 2012 (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 July 24, 2012 by C3C0
Guest utternoob Posted July 24, 2012 Report Posted July 24, 2012 (edited) I get dpkg error, and don't know how to fix it. Says it stopped and needs configuring Edit, fixing now Edited July 24, 2012 by utternoob
Guest razzmataz1478 Posted July 24, 2012 Report Posted July 24, 2012 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 July 24, 2012 Report Posted July 24, 2012 On a Raspberry Pi? Like running it on a Skate with half the ram, almost impossible
Guest razzmataz1478 Posted July 24, 2012 Report Posted July 24, 2012 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 July 24, 2012 Report Posted July 24, 2012 Yeah. Can't install abootimg from online repository despite having set the correct server in sources.list and it won't install offline either :(
Guest razzmataz1478 Posted July 24, 2012 Report Posted July 24, 2012 You could always compile it from source ;) https://gitorious.org/ac100/abootimg
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now