Jump to content

Android on Omnia II - i8000 (18.04.2011)


Guest almar

Recommended Posts

Guest emptyara
What can I made wrong? After IPC tranfer start a lot of "untracked pid xxxxx exited" ... (ext4 tryout)

Edit: OK! work now, ext4 there we gooooooooo.

mate, how u made it work?? please share with me... :huh:

Link to comment
Share on other sites

i want my android running in ext4 partition.. but cannot make it work with those command line.. i am sure i need to use "sudo".. but since i am not ubuntu literate, so am not sure what are the proper command line with "sudo" and any other additional command needed.. would anybody here please list out the command line for beginners like me?

by the way, my ext3 partition located at "sdb2"

just run sudo -s to become root user, a very powerful user.

you can execute commands without sudo from then on, dont have to worry which command is which,

Link to comment
Share on other sites

Thanks dude, working fine for me at the moment, SD card.

I appreciate if you could post instructions on how to build the kernel?

that's too hard

because my english skill bad

and it's complex

i'm following guide

sorry

Edited by kgp700
Link to comment
Share on other sites

kernel compile guide(but it's korean)

http://howto.homelinux.com/wiki/%EA%B0%9C%...%99%98%EA%B2%BD

preparing arm closs compiler

download arm-2009q3.tar.gz

(in terminal)

$ sudo mkdir /opt/arm

$ sudo cp -af ./arm-2009q3.tar.gz /opt/arm

$ cd /opt/arm

$ sudo tar xzvf arm-2009q3.tar.gz

3lines add to .bashrc

$ cd ~

$ vi .bashrc

export ARCH=arm

export CROSS_COMPILE=arm-none-linux-gnueabi-

export PATH=$PATH:$HOME/bin:/opt/arm/arm-2009q3/bin

verification

$ cd ~

$ arm-none-linux-gnueabi-gcc -v

Using built-in specs.

Target: arm-none-linux-gnueabi

Configured with: /scratch/paul/arm/src/gcc-4.2/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-shared --enable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --prefix=/opt/codesourcery --enable-languages=c,c++ --enable-symvers=gnu --enable-__cxa_atexit --with-versuffix=CodeSourcery Sourcery G++ Lite 2007q1-10 --with-pkgversion=CodeSourcery Sourcery G++ Lite 2007q1-10 --with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/paul/arm/install/arm-none-linux-gnueabi/libc --enable-poison-system-directories --with-build-time-tools=/scratch/paul/arm/install/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/paul/arm/install/arm-none-linux-gnueabi/bin

Thread model: posix

gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-10)

prepairing java jdk and other compile build tools

$ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev

build-essential zip curl libncurses5-dev zlib1g-dev

$ sudo apt-get install valgrind

install svn client

$ sudo apt-get install svn

-------------complete prepare compile environment

download svn source(dev team svn source)

$ svn checkout svn://o2droid.phj.hu/droid kernel

compile kernel (zImage)

$ cd kernel

$ make config

end compile -> you can find compiled zImage in /root/kernel/droid/kern_oii/arch/arm/boot

sorry for my bad english

Edited by kgp700
Link to comment
Share on other sites

Guest emptyara

i got that line after enter last command "sudo fsck -pf /dev/sdb2"

fsck from util-linux-ng 2.17.2

disk: One or more block group descriptor checksums are invalid. FIXED.

disk: Group descriptor 0 checksum is invalid.

disk: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

(i.e., without -a or -p options)

Link to comment
Share on other sites

Guest aerovolce
kernel compile guide(but it's korean)

http://howto.homelinux.com/wiki/%EA%B0%9C%...%99%98%EA%B2%BD

preparing arm closs compiler

download arm-2009q3.tar.gz

(in terminal)

$ sudo mkdir /opt/arm

$ sudo cp -af ./arm-2009q3.tar.gz /opt/arm

$ cd /opt/arm

$ sudo tar xzvf arm-2009q3.tar.gz

3lines add to .bashrc

$ cd ~

$ vi .bashrc

export ARCH=arm

export CROSS_COMPILE=arm-none-linux-gnueabi-

export PATH=$PATH:$HOME/bin:/opt/arm/arm-2009q3/bin

verification

$ cd ~

$ arm-none-linux-gnueabi-gcc -v

Using built-in specs.

Target: arm-none-linux-gnueabi

Configured with: /scratch/paul/arm/src/gcc-4.2/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-shared --enable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --prefix=/opt/codesourcery --enable-languages=c,c++ --enable-symvers=gnu --enable-__cxa_atexit --with-versuffix=CodeSourcery Sourcery G++ Lite 2007q1-10 --with-pkgversion=CodeSourcery Sourcery G++ Lite 2007q1-10 --with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/paul/arm/install/arm-none-linux-gnueabi/libc --enable-poison-system-directories --with-build-time-tools=/scratch/paul/arm/install/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/paul/arm/install/arm-none-linux-gnueabi/bin

Thread model: posix

gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-10)

prepairing java jdk and other compile build tools

$ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev

build-essential zip curl libncurses5-dev zlib1g-dev

$ sudo apt-get install valgrind

install svn client

$ sudo apt-get install svn

-------------complete prepare compile environment

download svn source(dev team svn source)

$ svn checkout svn://o2droid.phj.hu/droid kernel

compile kernel (zImage)

$ cd kernel

$ make config

end compile -> you can find compiled zImage in /root/kernel/droid/kern_oii/arch/arm/boot

sorry for my bad english

Thanks kgp, that was actually straightforward! don't worry about your english, completely understandable.

Link to comment
Share on other sites

i got that line after enter last command "sudo fsck -pf /dev/sdb2"

fsck from util-linux-ng 2.17.2

disk: One or more block group descriptor checksums are invalid. FIXED.

disk: Group descriptor 0 checksum is invalid.

disk: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

(i.e., without -a or -p options)

Just use this comand:

fsck /dev/sdb2

and give y and enter

after each question to fix

You need use zImage for ext4 uploaded by kgp700

Link to comment
Share on other sites

Guest qiuhuek

I just finish install android to my I8000L, everything running well. But when I install apps from "Market Place", it's fail and prompt error like not enough space.

My phone setting as below,

My Storage 2 Partition

1. 3.8GB FAT32 Primary Cluster 32KB

2. 4.0GB EXT4 Primary Cluster 4KB

Storage Card

1. 4.0GB FAT32 Primary Cluster 32KB

** WINMO Version: JJ1

Link to comment
Share on other sites

I just finish install android to my I8000L, everything running well. But when I install apps from "Market Place", it's fail and prompt error like not enough space.

My phone setting as below,

My Storage 2 Partition

1. 3.8GB FAT32 Primary Cluster 32KB

2. 4.0GB EXT4 Primary Cluster 4KB

Storage Card

1. 4.0GB FAT32 Primary Cluster 32KB

** WINMO Version: JJ1

Your partitions 1 and 2 are much big, try its in 1GB min 2GB max

Link to comment
Share on other sites

Guest greatwiseone

On a different topic from the current ext4 discussion, it seems that the battery life problem for some of us may be solved just by rooting and using setcpu. I started using setcpu yesterday and keeping processor speed at its lowest when the screen is off, and I'm basically getting a good 10 hours from my phone (with some usage here and there and not even on 2G only mode), which is WAY better than before.

Link to comment
Share on other sites

On a different topic from the current ext4 discussion, it seems that the battery life problem for some of us may be solved just by rooting and using setcpu. I started using setcpu yesterday and keeping processor speed at its lowest when the screen is off, and I'm basically getting a good 10 hours from my phone (with some usage here and there and not even on 2G only mode), which is WAY better than before.

Almar says that this issue is because wifi can't go off properly, so just reboot your device and not turn on wifi, when it sleep drain charge will be low. I tested it and see that its true and now I dont use more setCPU nor 2G only, and sleep work after I reboot my phone and no activate wifi.

Link to comment
Share on other sites

Guest Prometheus5061
Could anybody tell me how to unpack the ext2.tar.gz to ext3 partition? I only have XP in my PC. I can't setup Android in ext3 partition. Thanks!

I'm guessing you mean on to 'my storage'... search around mate the instructions have been posted at least 50 times in here.

I'm not trying to take the piss on you mate but thats the reason why this topic is so big coz ppl keep on asking the same questions again and again even after its been answered... and it is kind of frustrating!!!

Tell you what though.... I've uploaded a screenshot of this forum pointing out where u can find some help!!! and this is for everyone who don't know how to search!!!!

cheers!!!!

post-686404-1298350491_thumb.jpg

Edited by Prometheus5061
Link to comment
Share on other sites

Guest calolobo
I'm guessing you mean on to 'my storage'... search around mate the instructions have been posted at least 50 times in here.

I'm not trying to take the piss on you mate but thats the reason why this topic is so big coz ppl keep on asking the same questions again and again even after its been answered... and it is kind of frustrating!!!

Tell you what though.... I've uploaded a screenshot of this forum pointing out where u can find some help!!! and this is for everyone who don't know how to search!!!!

cheers!!!!

For some reason, the other guy has a good point.. search is not working in this section.. why? maybe someone can check why isn´t working

Link to comment
Share on other sites

Guest emptyara
Could anybody tell me how to unpack the ext2.tar.gz to ext3 partition? I only have XP in my PC. I can't setup Android in ext3 partition. Thanks!

i know search features had problem for this time being. i wil pm u the method on how to instal it in `my storage` when i reach home later. am in college rite now.

Link to comment
Share on other sites

Guest muchospesos
EXT4 is faster but I got freezes a lot... :huh:

+1

No freezing when plugged in. But when I unplug I get only a few minutes before freezing :).

And I can't download anything from the market. But my ext4 is a bit over 2gb so that might be the cause...

But when android is shutdown in ext4 by pulling the battery out there's no file corruption like in ext2..

Edited by muchospesos
Link to comment
Share on other sites

Guest xibianliang

i tried to run Android on ext4 FS without success. i did the following: create a copy of the previously installed android system with the linux tar command, then i format the linux partition with ext4 under Ubuntu and untar the backup copy to the newly created ext4 partition, also through ubuntu.but the system wont boot up afterwards and i got the following message "init: /init.rc: 139: invalid command /system/bin/dhcpcd.... user option requires a user id. have i done anything wrong? thanks for advising

PS i did replace the original Zimage with the modified one

Edited by xibianliang
Link to comment
Share on other sites

i tried to run Android on ext4 FS without success. i did the following: create a copy of the previously installed android system with the linux tar command, then i format the linux partition with ext4 under Ubuntu and untar the backup copy to the newly created ext4 partition, also through ubuntu.but the system wont boot up afterwards and i got the following message "init: /init.rc: 139: invalid command /system/bin/dhcpcd.... user option requires a user id. have i done anything wrong? thanks for advising

PS i did replace the original Zimage with the modified one

probably wrong cmdline in defaukt.txt

CMDLINE "rootdelay=2 root=/dev/mmcblk1p2 init=/init"

check one two pages back you will find out what you should write there

Link to comment
Share on other sites

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.