New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
peterfeter
Old
#11  
Account currently disabled
Thanks Meter 21
Posts: 155
Join Date: Aug 2010
not work for me, and yes fastboot is off in powersettings!

ISC V6.1
 
beanbean50
Old
#12  
beanbean50's Avatar
Senior Member
Thanks Meter 313
Posts: 1,636
Join Date: Jul 2008
Location: London
Quote:
Originally Posted by peterfeter View Post
not work for me, and yes fastboot is off in powersettings!

ISC V6.1
full reboot?
 
boshot
Old
#13  
boshot's Avatar
Senior Member
Thanks Meter 74
Posts: 383
Join Date: Nov 2010
Quote:
Originally Posted by peterfeter View Post
not work for me, and yes fastboot is off in powersettings!

ISC V6.1
Nice to see I'm not alone with that problem.

It's doing quite well if I manually execute it from Root explorer, but after a reboot it's not execute automatic by the script..

fastboot off and al lot of full reboots were done.. I really don't know what the problem is..
Solution: I'll never reboot by phone anymore

de-sensed &. AOSP ICS Mod by geenyous
 
nobnut
Old
(Last edited by nobnut; 17th May 2012 at 01:07 PM.)
#14  
nobnut's Avatar
Senior Member
Thanks Meter 2241
Posts: 5,993
Join Date: Feb 2010
Quote:
Originally Posted by boshot View Post
Nice to see I'm not alone with that problem.

It's doing quite well if I manually execute it from Root explorer, but after a reboot it's not execute automatic by the script..

fastboot off and al lot of full reboots were done.. I really don't know what the problem is..
Solution: I'll never reboot by phone anymore
Which ROM are you using? I have noticed that not all ROMs support all init.d scripts for some reason due to ramdisk issues. I haven't bothered investigating exactly why.

EDIT: @OP FYI The backlights off script that you have posted is identical to the backlights back on script. I am assuming that the back on script should read:
Code:
echo KB - set Key Backlight 1
echo "1" > /sys/class/leds/button-backlight/brightness
Never, ever conform
IOHWIRI
 
boshot
Old
#15  
boshot's Avatar
Senior Member
Thanks Meter 74
Posts: 383
Join Date: Nov 2010
I'm using Touch X-treme ( Sig )

Also tried it on villain rom with a friends HOX, same behavior.

de-sensed &. AOSP ICS Mod by geenyous
 
nobnut
Old
(Last edited by nobnut; 17th May 2012 at 01:52 PM.)
#16  
nobnut's Avatar
Senior Member
Thanks Meter 2241
Posts: 5,993
Join Date: Feb 2010
I saw the sig but most people don't update them.

You can test to see if you have an underlying problem with (some) init.d scripts running correctly by unzipping this script and placing it in your system/etc/init.d folder and setting the permissions to match the others that you have in there.

Then do a full reboot and view the contents of the file:

/sys/devices/virtual/bdi/179:0/read_ahead_kb

It should read '4096'. If it doesn't, you have a problem with (some) init.d scripts.

All the script does is to increase the size of the SD card readahead cache to 4096 rather than whatever is is set to run at.

Once you have tested, simply delete the init.d script and reboot again to restore your original value.
Attached Files
File Type: zip 99readahead4096.zip - [Click for QR Code] (260 Bytes, 21 views)
Never, ever conform
IOHWIRI
The Following User Says Thank You to nobnut For This Useful Post: [ Click to Expand ]
 
boshot
Old
#17  
boshot's Avatar
Senior Member
Thanks Meter 74
Posts: 383
Join Date: Nov 2010
Thanks.
Will test it later the day...

Send via Tapatalk 2

de-sensed &. AOSP ICS Mod by geenyous
 
backfromthestorm
Old
(Last edited by backfromthestorm; 17th May 2012 at 02:13 PM.)
#18  
backfromthestorm's Avatar
Senior Member - OP
Thanks Meter 241
Posts: 669
Join Date: Jul 2011
Location: Somewhere in the rain... and thunder..
@ nobnut

Sorry had wrong link up for auto.

UNDERSTEER is when you hit the wall with the front of the car. OVERSTEER is when you hit the wall with the rear of the car. HORSEPOWER is how fast you hit the wall.
TORQUE is how far you take the wall with you.
The Following User Says Thank You to backfromthestorm For This Useful Post: [ Click to Expand ]
 
nobnut
Old
(Last edited by nobnut; 17th May 2012 at 02:29 PM.)
#19  
nobnut's Avatar
Senior Member
Thanks Meter 2241
Posts: 5,993
Join Date: Feb 2010
No apology necessary. I was just letting you know before people started getting confused

EDIT: The scripts work really well. Thank you.

I don't use them as init.d scripts. I execute them from shortcuts using Tasker, that way I can have manual control over the button lights from the homescreen

Bloomin' marvellous

Thanks again.
Never, ever conform
IOHWIRI
 
backfromthestorm
Old
#20  
backfromthestorm's Avatar
Senior Member - OP
Thanks Meter 241
Posts: 669
Join Date: Jul 2011
Location: Somewhere in the rain... and thunder..
@nobnut Cool, btw the first few lines of the auto script don't do anything, the last line just sets it back to rw instead of ro, so the phone can have control back.

UNDERSTEER is when you hit the wall with the front of the car. OVERSTEER is when you hit the wall with the rear of the car. HORSEPOWER is how fast you hit the wall.
TORQUE is how far you take the wall with you.