Hello,
I have 2 files under /data/local, with some tweaks to be done to build.prop and sysctl, named user_build and user_sysctl, with permissions of 751, but the instructions from those filesare not executed. Both files have in the begining:
#!/system/bin/sh
mount -o rw,remount /system
so it should be ok, but ....
I also tried to execute them from /system/etc/init.d/ but with no success.
Can someone give a hint?
Edit: it looks like the script stucks at the mount -o rw,remount /system part, because when I do the command manually, the rest of the script runs without problems...
Can you help a noob ? Thank you!
Edit: I have tried to use local.prop, in /data/local, in order to overwrite the /system/build.prop, I run the script placed in /data/local/userinit.sh and it runs OK, I place it in /system/etc/init.d and run it, and it runs, but it never runs at boot, not from any location. It is something wrong with cm, or I am the wrong
one?
Later edit: I have tried all the possible combination, but it seems that the scripts inside the /system/etc/init.d are not executed; maybe in the ramdisk the userinit it is disabled?
If someoane can help a noob ....
Thank you!