Facebook recently has a new annoying feature promoting pages based on the content they post.
You can easily hide these messages plus the suggested posts by adding these to your ad-block filter list.
So it’s been a while! Plan is to do some major refactoring on site and post some actual content. So stay put and changes coming soon 🙂
sudo gedit /etc/xdg/autostart/gnome-keyring-pkcs11.desktop
1) Make sure you have busybox on your xbin folder.
2) Extract boot.img and ramdisk and place this lines on the bottom of init.rc
service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d
3)Repack and you are done! You can now add any scripts you like to run at boot at /etc/init.d/ folder!
1) Get abootimg:
sudo aptitude install abootimg
abootimg -x boot.img
3)Extract initrd.img to initrdorg folder
cp initrd.img initrdorg
gunzip -c ../initrd.img | cpio -i
4) Edit and repack
find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz
cp newramdisk.cpio.gz ../
abootimg -u boot.img -r newramdisk.cpio.gz
You are done!
Tip: Remember to delete any *~ files gedit might have create before repacking!
You are probably on a 64bit system. Just do:
sudo apt-get install lib32z1-dev
Assuming you get this error here is an easy fix.
Goto /yourcmdir/vendor/cyanogen/products and edit AndroidProducts.mk. It should look something like this
PRODUCT_MAKEFILES := \
Remove all the device .mk you don’t need and keep only the one you are compiling and already have the device tree.