Customizing Android Initrd

From DanielsWiki

Jump to: navigation, search


THE INITRD MUST BE UNDER 25MEGS TO WORK WITH HARET.EXE
THE INITRD MUST BE UNDER 25MEGS TO WORK WITH HARET.EXE
THE INITRD MUST BE UNDER 25MEGS TO WORK WITH HARET.EXE
THE INITRD MUST BE UNDER 25MEGS TO WORK WITH HARET.EXE


Its fairly easy to add applications to the initrd, on a friendly linux box do:

mkdir newinitrd
cd newinitrd
gzip -cd ../initrd-android | cpio -i


This will unpack the initrd into the newinitrd directory. Next, add your applications (.apk) to the data/app directory To package it up again:

cd newinitrd
find ./ | cpio -H newc -o | gzip > ../newinitrd-android


You can also use the same method to add your contacts to the contacts database and change the bookmarks:

sqlite3 data/data/com.google.android.providers.contacts/databases/contacts.db
Personal tools