The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
5 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 ...
0
votes
0answers
20 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
28 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
150 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?
0
votes
0answers
25 views

sh prompt in init.rc

I trying to boot android and get console from init.rc or maybe replace init with other console shell application. I need to know something about running android kernel. I can't mount partition /system ...
3
votes
1answer
1k 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
617 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
4k 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
473 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
10k 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?