The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
91 views

Link2SD Mount Script Error. [4]: can't create /system/etc/init.d/11link2sd: > Not a directory

I want to move some of my apps from my internal memory to my extsdcard. I followed this to do so(I'm not using Marsh Mellow so skip the first part of the guide). When I installed Link2SD and rebooted ...
-1
votes
1answer
150 views

It seems my device doesn't have init.d support, but I have a bunch of init.* files. Can I use the same approach somehow?

-rwxr-x--- 1 root root 3265 Jan 1 1970 init.class_main.sh -rwxr-x--- 1 root root 1730 Jan 1 1970 init.mdm.sh -rwxr-x--- 1 root root 3347 Jan 1 ...
0
votes
0answers
124 views

init.d doesn't execute sysctl.conf file on boot

I have made a few changes for my legacy device. I have added sysctl.conf file on system/etc setting with appropriate permission.Then I add an init.d script to run on boot. After reboot there is no ...
0
votes
0answers
97 views

Is it possible to start an infinite loop within init.d?

I would like to create an init.d script to control the fan of my Odroid XU3 under Lollipop 5.1.1, CyanogenMod 12.1. I already make one on linux which is working well and would like to port it to ...
1
vote
1answer
400 views

mount in /data/local/userinit.sh is not working

I want to map /sdcard/DCIM to /storage/sdcard1/DCIM using CM 12.1 on a I9100 I wrote those few lines to /data/local/userinit.sh: #!/system/bin/sh log -p i -t userinit "userinit start"; mount -o bind ...
2
votes
0answers
177 views

ifup/ifdown scripts

I am fiddeling with some network related things and want to try them on Android too. In Ubuntu it was quite easy to run some commands if an interface (eth0 or wlan0) goes up or down by simply adding ...
0
votes
1answer
2k views

remove the script in init.d

I want to flash TweakDrypT to my rooted android 4.4.2 device. But before, I must delete all the scripts in init.d. I've tried using universal init.d to remove them, but they won't. Anyone can help?
4
votes
1answer
2k views

How to create start up scripts using the init.d folder?

In this answer to a question I asked a while ago, he said it's possible to have a script executed every boot. I created a file (without extension) that contains the following: #!/system/bin/sh ...
1
vote
0answers
695 views

AutoMount ext2 SD-card on Huawei U8350 (Android 2.2.2)

On the Huawei U8350 (Android 2.2.2) the init scripts all appear to be in the root partition -- which actually is a ram disk (initramfs), so any changes to it aren't persistent across reboots. Is ...
1
vote
1answer
5k views

How to edit init.rc in Samsung Galaxy S3 i9300?

I would like to edit the init.rc in an i9300. I understand that editing the file as-is will not work as the file is reloaded from the boot image's ramdisk upon every bootup. After some googling, I ...
3
votes
1answer
574 views

init.d doesn't get executed

i am using samsung s2 and a custom rom, external sd card is mounted to /emmc but i want it to mount to /mnt/sdcard/external_sd, how could i mount it using init.d? i made a file called "99mount" with ...
1
vote
1answer
11k views

Activating swap at boot with an init.d script?

I have a rom that supports swap, but the swap script is missing. How would i make that swap script manually? I.E: What code would be in the file /etc/init.d/07swapon?