Linked Questions

0
votes
0answers
123 views

How to disable automount of /dev/block/mmcblk1p2?

I installed link2sd then formatted my 2nd partition as ext2. Then I used link2sd to create mount script. Now,due to free version i'm unable to link internal data to this partition. So i removed the ...
0
votes
1answer
347 views

(Semi) permanently disable touch input

I own a Samsung Galaxy S4 (GT-I9515L "jfvelte") running Lineage OS 16. It has a broken touchscreen which register random "ghost" touches. I'm able to use it with the help of a USB mouse. To disable ...
1
vote
1answer
4k views

How to run an Android init service with superuser SELinux context?

I want to run an Android init service. I have a device which has rooted shell (purchased from manufacture as rooted). This device doesn't have Magisk or other su manager but adb shell is rooted and it ...
4
votes
1answer
9k views

How to run an executable on boot and keep it running?

I have an executable build from a ndk-build program. I want to run it on a rooted Android device. How much is the possibility that Android will kill my executable? Using adb shell, I am able to ...
26
votes
2answers
12k views

How does Magisk work?

Magisk is known as a “systemless” root method. It’s essentially a way to modify the system without actually modifying it. Modifications are stored safely in the boot partition instead of modifying the ...
3
votes
1answer
78 views

Corrupt files in microSD - How to know if files are damaged?

I have a Samsung Galaxy Ace 2 with a 4GB Kingston microSD. This microSD has only a few files (that I can remember) - visible both in PC and in file manager (default app) in the smartphone: Yu-Gi-Oh!...
-1
votes
1answer
180 views

Android 4.2 - how execute shell command on system boot? [duplicate]

How do I do that? I have root access and the it's a custom build of AOSP project.
1
vote
1answer
558 views

How to Check if Script is run once device is booted?

I have a script I need to run once, and only once the phone is booted. I have attempted init.qcom.post_boot.sh, init.sec.boot.sh, debuggerd, and finally mkshrc While my script ran with debuggerd, I ...
5
votes
1answer
3k views

How to set restricted user as default user on reboot?

We would like to have an already added restricted user account be the default when we restart our Samsung SM-T580 tablets. At current we have 2 accounts installed, Admin and User The User is a user ...
1
vote
0answers
2k views

LineageOS: run custom script (start service) at boot

Seems like a simple thing. How can I run custom script on my (rooted) android with LineageOS at boot? Neither creating it as /data/local/userinit.d/99sshd nor /data/local/userinit.sh did not help. ...
2
votes
1answer
726 views

Modify AOSP to run a specific shell command on boot in Android 6.0

I am trying to modify AOSP to run a specific shell command on boot. I tried to modify init.rc in system/core/rootdir/ to run a command on boot, but I could not make it work. I know that I should use ...
-1
votes
1answer
2k 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 ...
9
votes
6answers
12k views

How to run a script on boot in CM12.1?

Most questions I can find related to this are dated 2011 and thereabouts, so perhaps it's not too surprising that things have changed since. I've tried a whole bunch of things, with no results ...
4
votes
3answers
8k 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 ...
0
votes
1answer
611 views

Can I run scripts on startup on rooted Galaxy Note 3?

I want to be able to run a shell command (e.g. mount) on startup on my Galaxy Note 3 (stock rooted Android 4.3) Typically on Linux that'd be done using /etc/init.d but I don't have that directory on ...

15 30 50 per page