Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
cchhat01
Old
#3501  
cchhat01's Avatar
Member
Thanks Meter 3
Posts: 64
Join Date: Apr 2009
Location: New York
Default Camera Sensor bug still present?

Hi francisco,

I've been following this thread and would like to thank you for your hard work in making a very lean kernel which sports a good battery saving/conservative governor.

I do have one question for you which stems from you original post regarding the camera sensor being left open by the gtalk app on bootup, causing battery drain.
Can you tell me if this bug was resolved as through one of your kernel builds or if this is something that isn't controlled by the kernel at all and needs to be fixed by through rom/software update.

Please let me know.

Thanks,
cchhat01
 
Thracks
Old
#3502  
Thracks's Avatar
Senior Member
Thanks Meter 66
Posts: 209
Join Date: May 2010
Location: Toronto
Quote:
Originally Posted by Franzac View Post
Hm, I'm sorry but its still not working but thanks for helping

Anyone else experiencing this?

Do I need to set a flag somewhere so that init.d scripts are executed?
Try "echo 1 >>" with two brackets.
Samsung Galaxy Nexus i9250
Software: AOKP M5 / Lean Kernel 3.4.0exp4-180
Firmware: UGLC1 + PRIMELA03
The Following User Says Thank You to Thracks For This Useful Post: [ Click to Expand ]
 
duRin90
Old
#3503  
Member
Thanks Meter 0
Posts: 46
Join Date: Jul 2010
Location: Edinburgh
Getting sleep of death in random occurrences. Will investigate more about it and will report my findings here.

I bet it's connected with hotplug tho. Long shot.
 
loudaccord
Old
(Last edited by loudaccord; 16th January 2012 at 06:46 PM.)
#3504  
loudaccord's Avatar
Senior Member
Thanks Meter 25
Posts: 399
Join Date: Aug 2010
delete

10char
 
EddyOS
Old
#3505  
EddyOS's Avatar
Recognized Contributor
Thanks Meter 2136
Posts: 10,968
Join Date: Jan 2010
Location: Liverpool, Merseyside
ETA on next release at all?

Sent from my Galaxy Nexus using xda premium


Google Nexus 4 (LG-E960)
ROM: Android 4.2.2 (JDQ39) | Bootloader: MAKOZ10o | Recovery: Stock | Radio: 2.0.1700.48 | Kernel: Stock

If you have a question, great - but DO NOT PM ME WITH IT!!!
 
Booker-T
Old
#3506  
Senior Member
Thanks Meter 10
Posts: 421
Join Date: Jun 2009
Quote:
Originally Posted by franciscofranco View Post
You're doing it wrong:

Code:
#!/system/bin/sh

echo 1 > /sys/module/dsscomp/parameters/hotplug_enabled
I have read the logcat and I cannot see there is a step running script in init.d

I doubt the function is not running correct.

Besides, I think you need to remount /sys

so add follow code first

mount -o remount sysfs /sys
The Following User Says Thank You to Booker-T For This Useful Post: [ Click to Expand ]
 
sishgupta
Old
#3507  
Senior Member
Thanks Meter 92
Posts: 234
Join Date: Dec 2011
Location: Toronto
Quote:
Originally Posted by EddyOS View Post
ETA on next release at all?

Sent from my Galaxy Nexus using xda premium
Franco juuuust said don't ask for an ETA. But as a rule of thumb never ask for an ETA. Its rude. This is not Franco's job this is something he does because he loves it and he wants to give to the community.


Sent from my Galaxy Nexus using XDA App
Galaxy Nexus (Maguro - GSM/HSPA)
ROM: 4.2.2 (JDQ39) - AOKP JB-MR1 Build 6 (Unofficial PUB)
Kernel: Franco's Kernel #376
Bootloader: PRIMELC03
Baseband: I9250UGLH1
The Following User Says Thank You to sishgupta For This Useful Post: [ Click to Expand ]
 
Franzac
Old
#3508  
Member
Thanks Meter 4
Posts: 32
Join Date: Jan 2011
Quote:
Originally Posted by Thracks View Post
Try "echo 1 >>" with two brackets.
The double ">>" is used to append to a file, so this won't change anything. Tried it and had no effect.

Quote:
Originally Posted by Booker-T View Post
I have read the logcat and I cannot see there is a step running script in init.d

I doubt the function is not running correct.

Besides, I think you need to remount /sys

so add follow code first

mount -o remount sysfs /sys
Thanks, but this does not work either. It seems like the script is not executed at boot time, because if I run it manually when I am in the OS it works.

I use Bigxie build 9 and this bootloader if this is important.

Sorry for annoying you all, I am just interested in how the init.d stuff works.

And thanks to everyone that tries to help
 
EddyOS
Old
#3509  
EddyOS's Avatar
Recognized Contributor
Thanks Meter 2136
Posts: 10,968
Join Date: Jan 2010
Location: Liverpool, Merseyside
Quote:
Originally Posted by sishgupta View Post
Franco juuuust said don't ask for an ETA. But as a rule of thumb never ask for an ETA. Its rude. This is not Franco's job this is something he does because he loves it and he wants to give to the community.


Sent from my Galaxy Nexus using XDA App
1. Didn't see he'd said not to ask
2. Was asking because it's not really a 'nightly' if it's days between updates

#12 still going strong btw


Google Nexus 4 (LG-E960)
ROM: Android 4.2.2 (JDQ39) | Bootloader: MAKOZ10o | Recovery: Stock | Radio: 2.0.1700.48 | Kernel: Stock

If you have a question, great - but DO NOT PM ME WITH IT!!!
 
Booker-T
Old
#3510  
Senior Member
Thanks Meter 10
Posts: 421
Join Date: Jun 2009
Quote:
Originally Posted by Franzac View Post
The double ">>" is used to append to a file, so this won't change anything. Tried it and had no effect.



Thanks, but this does not work either. It seems like the script is not executed at boot time, because if I run it manually when I am in the OS it works.

I use Bigxie build 9 and this bootloader if this is important.

Sorry for annoying you all, I am just interested in how the init.d stuff works.

And thanks to everyone that tries to help
YES, I am doubting the init.d is not working but I don't know whether it is function of kernel or rom

 
Post Reply+
Tags
4.0.4, 4.1, 4.2, best kernel, best support, fast, franco, galaxy, jb 4.1, kernel, nexus, samsung
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...