View Single Post
Posts: 210 | Thanked: 841 times | Joined on Feb 2013
#160
i've been working on running android in a chroot similar to what chompers chroid does but i could use some help...

running android in a chroot on the n9:
1) you need a kernel which has these settings enabled:
Code:
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_LOGGER=y
CONFIG_ASHMEM=y
also fbearlysuspend should either be included in the kernel or this patch http://linux-arm.org/git?p=armdroid....ac2a0cb8dfc52e should be applied to surfaceflinger

the nitdroid dual boot kernel has all of this included and is probably the best starting point if you don't want to recompile a kernel or patch android stuff

2) download a copy of nitdroid, i used alpha4
3) extract it somewhere on your device
4) delete these files in the root directory of nitdroid
Code:
cd /path/to/nitdroid
rm init.nokiarm-680board.rc
rm init.nokiarm-696board.rc
rm ueventd.nokiarm-680board.rc
rm ueventd.nokiarm-696board.rc
5) a few more files need to be deleted in the /system/lib/hw/ directory
Code:
cd /path/to/nitdroid/system/lib/hw
rm *.sgx.so
rm *.omap3.so
6) then chroot into nitdroid
Code:
chroot /path/to/nitdroid
7) run init and watch what happens
Code:
/init

Last edited by liar; 2014-04-23 at 19:08.
 

The Following 6 Users Say Thank You to liar For This Useful Post: