Linked Questions

-1
votes
1answer
125 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.
14
votes
2answers
6k views

How Magisk works?

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 ...
9
votes
6answers
11k 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 ...
5
votes
2answers
13k views

Specifying SD card mount options upon boot

I have an Archos 101IT with a 16G external SD card. The SD card contains one partition that is formatted as an ext3 file system. The Archos runs UrukDroid 1.6.4 (Froyo 2.2). The Problem: When booted, ...
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 ...
3
votes
1answer
4k 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 ...
5
votes
1answer
1k 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
1answer
2k 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 ...
1
vote
0answers
1k 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. ...
-1
votes
1answer
1k 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
1answer
602 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 ...
2
votes
1answer
671 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
vote
1answer
458 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 ...
0
votes
1answer
107 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 ...
3
votes
1answer
67 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!...

15 30 50 per page