Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,422 Members 42,909 Now Online
XDA Developers Android and Mobile Development Forum

[Tweak][V2.4] Extend your Battery Life - init.d, build.prop and everything

Tip us?
 
gershee
Old
#31  
gershee's Avatar
Senior Member
Thanks Meter 584
Posts: 1,531
Join Date: Oct 2006
Location: Miami, Florida
Quote:
Originally Posted by kobridge View Post
Do you think aosp kernel works on stock rom? If it is, then I think I can make some test.

If init.d fails on boot, and boot screen is stuck on Samsung logo, then we would flash the rom again. Flashing kernel would not help because it does not delete the system partition. Once after the rom is flashed, do the nandroid recovery that you made before the init.d test.
aosp kernel wouldn't work on tw based roms (stock).
and I odined a kernel because I didn't want to flash anything from an ics recovery so went back to el26 first.
I was trying to just delete the init.d script from adb cause that seemed faster. but couldn't touch /system without su and I couldn't grant it cause it wouldn't boot..
Samsung Epic 4G Touch (E4GT)

"if i'm too drunk to walk, i rock a party on crutches"
The Following User Says Thank You to gershee For This Useful Post: [ Click to Expand ]
 
kobridge
Old
#32  
kobridge's Avatar
Senior Member - OP
Thanks Meter 3,458
Posts: 1,704
Join Date: Jan 2012
Location: Jacksonville, FL

 
DONATE TO ME
Quote:
Originally Posted by gershee View Post
aosp kernel wouldn't work on tw based roms (stock).
and I odined a kernel because I didn't want to flash anything from an ics recovery so went back to el26 first.
I was trying to just delete the init.d script from adb cause that seemed faster. but couldn't touch /system without su and I couldn't grant it cause it wouldn't boot..
Understood. Maybe sometime I need to flash the AOKP rom and do some test. But right now I just want to stick with stock/Calk/Sfhub's rooted roms. I'm not ready yet to jump in.

************************************************
Samsung Galaxy Note 3 SM-N900V
Samsung Galaxy II EPIC 4G Touch SPH-D710
Kobridge's Stock GB27/GB08/GA10/FL16 ROM + Addons
Kobridge Tweak Pack v4.34
TD's GB27/GB08 AIO Mod for E4GT Jelly Bean
************************************************

 
kobridge
Old
#33  
kobridge's Avatar
Senior Member - OP
Thanks Meter 3,458
Posts: 1,704
Join Date: Jan 2012
Location: Jacksonville, FL

 
DONATE TO ME
Quote:
Originally Posted by JohnCorleone View Post
I will see what info I can get when I get off of work. I would like to see some of these in our ICS kernels when we get source...

Sent from my Nexus S 4G using Xparent Blue Tapatalk 2
Wow, that's lots of modes over there! Are those from the stock?
D710 Stock only has 4 modes.

************************************************
Samsung Galaxy Note 3 SM-N900V
Samsung Galaxy II EPIC 4G Touch SPH-D710
Kobridge's Stock GB27/GB08/GA10/FL16 ROM + Addons
Kobridge Tweak Pack v4.34
TD's GB27/GB08 AIO Mod for E4GT Jelly Bean
************************************************

 
sfhub
Old
#34  
Recognized Contributor
Thanks Meter 6,835
Posts: 4,757
Join Date: Oct 2008
Quote:
Originally Posted by gershee View Post
and I odined a kernel because I didn't want to flash anything from an ics recovery so went back to el26 first.
I was trying to just delete the init.d script from adb cause that seemed faster. but couldn't touch /system without su and I couldn't grant it cause it wouldn't boot..
You shouldn't need su with a custom recovery as the adb is usually already set to give you root permissions when you boot into recovery.
Disclaimer: No touchscreens were harmed nor injured during the creation of this post. GPS units were all treated ethically and humanely.
Signed: People against misbehaving Nexus 7 2013s
 
JohnCorleone
Old
#35  
JohnCorleone's Avatar
Senior Member
Thanks Meter 5,769
Posts: 15,522
Join Date: Dec 2010
Location: Whittier,CA

 
DONATE TO ME
Quote:
Originally Posted by kobridge View Post
Wow, that's lots of modes over there! Are those from the stock?
D710 Stock only has 4 modes.
no but almost every kernel has those governors, USB fast charge, blinking light notification (BLN), backlight dimmer (BLD), for softkeys as well

Sent from my SPH-D710 using Xparent Blue Tapatalk 2
 
odub303
Old
#36  
Senior Member
Thanks Meter 453
Posts: 1,297
Join Date: Nov 2007
Quote:
Originally Posted by JohnCorleone View Post
no but almost every kernel has those governors, USB fast charge, blinking light notification (BLN), backlight dimmer (BLD), for softkeys as well

Sent from my SPH-D710 using Xparent Blue Tapatalk 2
FYI, BLN for the SGS II is a big no-no for now, the BLN holds insane wakelocks and has not yet been fixed.
The Following 2 Users Say Thank You to odub303 For This Useful Post: [ Click to Expand ]
 
kobridge
Old
(Last edited by kobridge; 1st May 2012 at 08:28 PM.)
#37  
kobridge's Avatar
Senior Member - OP
Thanks Meter 3,458
Posts: 1,704
Join Date: Jan 2012
Location: Jacksonville, FL

 
DONATE TO ME
The second version tweak coming soon...
Mainly on 41tweaks and build.prop file.

Edit: created issue log section in post #2. It seems like there's some wifi issue. I'm not sure it's Kernel related or this tweak related. Checking it now.

Update: Tested with Wifi Fixer but wifi still do not want to sleep. Now I'm heading to drug store to buy 'phenobarbital'(sleeping-aid). Still checking...

************************************************
Samsung Galaxy Note 3 SM-N900V
Samsung Galaxy II EPIC 4G Touch SPH-D710
Kobridge's Stock GB27/GB08/GA10/FL16 ROM + Addons
Kobridge Tweak Pack v4.34
TD's GB27/GB08 AIO Mod for E4GT Jelly Bean
************************************************

 
tdunham
Old
#38  
tdunham's Avatar
Recognized Contributor
Thanks Meter 17,245
Posts: 7,966
Join Date: Jun 2008
Location: TampaBay

 
DONATE TO ME
Quote:
Originally Posted by Saear View Post
Trying to access the toggle for running wifi while in sleep mode.I'm running Calks 2.8.2 rom with the kernal provided in the rom. I don't have any menu or advanced options under wifi settings.
Settings/wireless and network/wi-fi settings, press the menu key, select advanced, select wi-fi sleep policy, select never.
 
adma84
Old
#39  
adma84's Avatar
Senior Member
Thanks Meter 188
Posts: 868
Join Date: Aug 2010

 
DONATE TO ME
All three scripts seem to get me stuck on the SGS2 screen on AOKP m5. I have to odin el26 kernel and then use recovery to remove the scripts. Anyway to troubleshoot? /etc/init.d/ works because I made a test script to echo output to a file in /data/local/tmp

Any way for me to troubleshoot?
 
kobridge
Old
(Last edited by kobridge; 2nd May 2012 at 03:08 AM.)
#40  
kobridge's Avatar
Senior Member - OP
Thanks Meter 3,458
Posts: 1,704
Join Date: Jan 2012
Location: Jacksonville, FL

 
DONATE TO ME
Quote:
Originally Posted by adma84 View Post
All three scripts seem to get me stuck on the SGS2 screen on AOKP m5. I have to odin el26 kernel and then use recovery to remove the scripts. Anyway to troubleshoot? /etc/init.d/ works because I made a test script to echo output to a file in /data/local/tmp

Any way for me to troubleshoot?
SManager if it works on AOKP rom. But please don't use this tweak on AOKP. Some people reported it's causing stuck on boot screen.
I need to test the script and make it to work on AOKP.

Thanks.

************************************************
Samsung Galaxy Note 3 SM-N900V
Samsung Galaxy II EPIC 4G Touch SPH-D710
Kobridge's Stock GB27/GB08/GA10/FL16 ROM + Addons
Kobridge Tweak Pack v4.34
TD's GB27/GB08 AIO Mod for E4GT Jelly Bean
************************************************


The Following 2 Users Say Thank You to kobridge For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes