Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Terminal commands on boot

OP beastaki23

25th June 2014, 04:31 PM   |  #1  
beastaki23's Avatar
OP Senior Member
Flag Athens
Thanks Meter: 469
 
288 posts
Join Date:Joined: Dec 2010
A small app I made for rooted devices. It runs terminal root commands on start up. Just add the commands you like in the list with the add button, to run on start up. I don't know if anyone needs to, but since I don't know init.d scripts, I inserted:

echo 1 > /sys/class/misc/backlightnotification/enabled
echo 0 > /sys/class/misc/backlightnotification/led_blink_duration

to enable BLN on moshkernel 1.9.1, and without blinking.
Don't blame me for any damage may occur. The code is included too.
Attached Files
File Type: txt starter.txt - [Click for QR Code] (6.8 KB, 22 views)
File Type: txt bootreceiver.txt - [Click for QR Code] (1.2 KB, 13 views)
File Type: apk Starter.apk - [Click for QR Code] (315.5 KB, 15 views)
Last edited by beastaki23; 15th July 2014 at 05:40 PM.
The Following 2 Users Say Thank You to beastaki23 For This Useful Post: [ View ]
25th June 2014, 11:13 PM   |  #2  
cicibanko101's Avatar
Senior Member
Flag Belgrade
Thanks Meter: 516
 
832 posts
Join Date:Joined: Aug 2013
More
Nice mr unicorn!

Sent from my GT-I9105P using XDA Premium 4 mobile app
12th July 2014, 04:01 PM   |  #3  
neohq's Avatar
Member
Thanks Meter: 9
 
36 posts
Join Date:Joined: Jun 2014
More
Working perfect !
I use it because there is a conflict between the default bln from kernel and the BLN Control Pro app.

Thanks.
Last edited by neohq; 12th July 2014 at 06:12 PM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes