jeudi 11 décembre 2014

Xperia-L init.d support topic

21:43






To resolve boot-loop problem after installing Link2SD, I used Init.d Toggler to enable support for the same for my Xperia-L as I mentioned here.

What does Init.d Toggler do?
  1. Appends the following command at the end of /system/etc/install_recovery.sh: /system/bin/sysinit

  2. Creates /system/bin/sysinit script.

  3. Creates /system/etc/init.d directory to put the start-up scripts in.


Just out of curiosity, I renamed the sysinit script, and dropped a script named testinitd inside /etc/init.d folder to test the native init.d support.


Code:


#!/system/bin/sh
LOG=/storage/sdcard0/initd.txt
echo `date` > $LOG
echo $PATH >> $LOG


To my surprise, /storage/sdcard0/initd.txt file is getting created every time I boot with appropriate contents filled in. I am on stock ROM (15.3A.1.14). Can anybody with a rooted phone please confirm my observation?






Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 commentaires:

Enregistrer un commentaire

 

© 2013 Mobile Probleme. All rights resevered. Designed by Templateism

Back To Top