yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] quijote1:
Battery Saving Tip

Hi all,

I no longer have time to read the whole thread like I used to, but I don't want to go away completely. I realized that I have something to contribute. I have a standard practice that seems to be saving lots of battery for me. When I go to bed at night, I usually have more than 50% battery remaining and I'm a heavy user (although not reading every post in this thread saves a lot of battery since the pictures really use a lot).

Tip:

Every time I unplug anything from the USB connection, I reboot!!!

It's that simple. I don't understand the technology completely, but my research taught me that there is a chip that manages the USB connection. And on that chip, there is a process (layer 2) that handles input/output. That process listens for changes in voltage on the pins of the connectors. Because it is listening from time to time, there is a wakelock - the l2_hsic wakelock that almost all of us have. The normal level of this wakelock is less than 2%. However, after you plug something into the USB port, this wakelock is much more active since there is actually a device connected. When you disconnect, the l2_hsic doesn't seem to ever return to it's resting level. It is more active and you will notice a wakelock level of 3% or more. This impacts battery usage. Even worse, sometimes upon disconnecting, a one gets changed to a zero accidentally and you can experience a battery loss of more than 50% in just a few minutes. Rebooting eliminates all this.

Try unplugging both ways. Leave the phone for a half hour after unplugging and check your wakelocks. I rest my case....

Best regards to the family.....
[Galaxy S II Android Development] bobdoblo:
No, this is kernel coma:thumbup::D http://xdaforums.com/showthread.php?p=36568464 scroll to bottom of page!

*NeatROM*
[Galaxy S II Android Development] AbyssTrion:
Greetings Guys,

I somehow have a Problem..What Kernels do you use?

I tried dorimanX 7.38 (random Freezes - Hard reset solves it)

jeboo 1.0d, 1.1c and 1.1d - Kernel Panic :/

Currently I'm running on jeboo 1.0d, only choice left is Siyah :/
[Galaxy S II Android Development] parag1dubey:
Then Sir Bob, I need to come to you for learning how to get amazing battery out of every kernel :) I am not thinking of changing my kernel at the moment.. This is the present state of my battery life... Do you think it is good enough?
[Galaxy S II Android Development] THE RED BLUR:
I read this post of yours on Siyah thread ;):thumbup:

But good for all NeatRom users to know.

Or alternatively plug phone to pc directly in recovery and mount usb there.

I normally have the fastest speeds this way and can knock two birds with one stone I hope. :)

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: Alliance rom v5.2

KERNEL : Dorimanx 7.37 voku test build

(DEFAULT PROFILE AND SETTINGS )

MODEM : BVLP7

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb

LAUNCHER : Apex

My Guides list to install NeatRom and other ROMS and kernels on LSJ + tools to have a bug free rom + how to back up and RESTORE FOM FULLY = http://xdaforums.com/showthread.php?p=35923600

1.Rom Nuke script

http://xdaforums.com/showthread.php?p=36268094

2.Kernel Clean script

http://xdaforums.com/showthread.php?p=34879811

3.Fast Dormancy :

http://xdaforums.com/showthread.php?p=36396636

4. How to install full wipe with rom nuke on LSJ

http://xdaforums.com/showthread.php?p=36655790
[Galaxy S II Android Development] amnya:
A small suggestion for the next NeatROM, don't you guys think its better if Sale starts a new thread for the next NeatROM? This one has grown insanely big which makes it discouraging for a new comer, that's what i think, and therefore i am suggesting a new thread for this new year :) Cheers :)
[Galaxy S II Android Development] electricsheepdreamer:
Well, in my opinion, you're almost there.:)
[Galaxy S II Android Development] parag1dubey:
So you mean, even after the phone is unplugged from the wall charger, I should reboot?
[Galaxy S II Android Development] _Sale_:
LSJ_TwLauncherWallpaperScrolling.zip - 2.88 MB
[Galaxy S II Android Development] jomaga:
My last cycle with Dorimanx 7.38. The bigger drop is related to some data usage wile I had a poor connection
[Galaxy S II Android Development] shysstkille:
I have installed aroma, does that have back to kill or most I install a mod to?

'

What does this mod do "LSJ_Mods_by_siberian tiger"?,is there a limit for how many mods I can use at the same time?
[Galaxy S II Android Development] Many40:
+1 Confirm that. After charging I didn't reboot and now I'm facing longer l2_hsic wakelock than usually. Hmm, I'm in the middle of battery testing and even getting good results so far, gonna repeat it due to this wakelock.
[Galaxy S II Android Development] parag1dubey:
Many, which kernel are you testing?
[Galaxy S II Android Development] _Sale_:
flash this, make a backup first
[Galaxy S II Android Development] parag1dubey:
Ok, one question for everybody...Does anyone here use any battery saving apps like Juice defender, green power etc?
[Galaxy S II Android Development] jomaga:
Don't use them. I don't use none + I don't use autobrightness apps too. They last battery trying to optimize the system and give few benefits
[Galaxy S II Android Development] Many40:
Still Siyah, had some problems doing this (too deep UV, l2_hsic etc) but now I'm finalizing testing.
[Galaxy S II Android Development] It_ler:
No, not me.

I prefer the good old manual way of optimizing my battery life.

Only a fully charged battery and BBS app is allowed to run in/on my phone ;)

Don't expect miracles of any battery saving app :cool:
[Galaxy S II Android Development] Many40:
+1 Don't you stop reading my minds :)
[Galaxy S II Android Development] bobdoblo:
Can't tell from that, show me/us when you get to 5%:thumbup:

*NeatROM*
[Galaxy S II Android Development] martintspedersen:
is this landscape and scrolling?
[Galaxy S II Android Development] bombaybadboy:
Thats great thankyou sale, you do amazing work
[Galaxy S II Android Development] Many40:
As all good DEVELOPERS do this ;)
[Galaxy S II Android Development] _Sale_:
here you go

LSJ_TwLauncherAllRotat_wallScroll.zip - 3.05 MB
[Galaxy S II Android Development] martintspedersen:
does it have both rotate and scrolling mate?

---------- Post added at 01:36 PM ---------- Previous post was at 01:34 PM ----------

THANK you so much.. iam new on your rom but iam never going to leave lol good day sir

---------- Post added at 01:36 PM ---------- Previous post was at 01:36 PM ----------
[Galaxy S II Android Development] chiaotzu:
Can anybody tell me how to take screenshot in this ROM? I need some help with battery and trying to post screenshots of BBS and GSam Battery Monitor, but I'm not able to take screenshots with Volume Up + Power button.

Would appreciate this little help, thank you! :)
[Galaxy S II Android Development] Many40:
home + power for about 1sec
[Galaxy S II Android Development] electricsheepdreamer:
Oh look Thunderstruck

View attachment 1644086

I have the same problem. :)

View attachment 1644041View attachment 1644042

A miracle!:angel:

View attachment 1644057
[Galaxy S II Android Development] martintspedersen:
da** you are fast
[Galaxy S II Android Development] bombaybadboy:
I have never seen a developer like sale, he turned a random thought of a mod I would like to a reality in minutes. Sale is one of a kind :)
[Galaxy S II Android Development] Many40:
Is the last screenshot yours?
[Galaxy S II Android Development] bobdoblo:
:thumbup::thumbup::thumbup::thumbup::thumbup::thumbup::thumbup::thumbup::thumbup::thumbup::thumbup::thumbup::thumbup:

*NeatROM*
[Galaxy S II Android Development] chiaotzu:
Thank you mate. That trick worked for me. Now a little help about battery if possible, I'm using NeatRom Lite version and Siyah 6.0 Beta 4 Kernel. I have followed your posts in this thread and other threads and made all the battery optimization changes from Settings, but haven't done anything about finding out and disabling battery sucking apps. I haven't done any changes in Stweaks/ExTweaks either regarding voltages or such.

I have installed following apps for helping me with monitoring battery, applications and mobile state:

1. BetterBatteryStats

2. ExTweaks

3. Stweaks

4. GSam Battery Monitor Pro

5. CPU Spy

6. CPU Adjuster

7. Autostarts

I would love to know how do I check which apps are causing the battery drain? For how long do I need to wait before checking the results? Which of the above app should I use for what purpose? I have checked by keeping phone screen off for half an hour and CPU spy showed around 60% time, phone was in deep sleep mode. I have WiFi turned off.

Can you please tell me which screenshots should I post from which you'll tell me what is the exact problem and why is not going in full deep sleep? Also should I post BBS export file? For how long should I monitor and post results?

Thanks a lot, waiting for the reply. :)
[Galaxy S II Android Development] bobdoblo:
You'll get used to it here;)

*NeatROM*
[Galaxy S II Android Development] parag1dubey:
Friends, these are my screenshots from Gsam...Can someone please analyze these and le me know if something is sucking more power than is should? If so, what steps can i take? I have already posted a dump file in BBS thread but no reply.. Help would be appreciated... Thank you, sirs... :)
[Galaxy S II Android Development] quijote1:
Yup!!!
[Galaxy S II Android Development] bobdoblo:
For some reason kernel is extremely high.

Try change kernel and check again.

*NeatROM*
[Galaxy S II Android Development] Many40:
I have always the same answer for these kind of questions: prepare a proper dump file by BetterBatteryStatts app according to the guide from

BBS thread

(1st post) upload it there and ask for help. Or you can do that here, someone should analyze it for you.
[Galaxy S II Android Development] bobdoblo:
Open GSam & BBS so it gets super user privileges then go to settings advanced and tick something.

Keep screen off for minimum of 4 hours and make a dump.

Post it in BBS thread and they will tell you the steps to take.

GSam you can look at what apps used what resources in an easy to read format.

CPU spy just shows what speeds your CPU was at and for how long.

We'll deal with autostarts later.

Biggest things you can do for now are screen brightness low, put email, facebook etc on manual sync

Go to settings - location and uncheck all options

*NeatROM*
[Galaxy S II Android Development] parag1dubey:
@bobdoblo sir, I am presently on dorimanx 7.38.. Which kernel do you recommend I switch to?
[Galaxy S II Android Development] chiaotzu:
Thanks, I will follow that guide and will post a proper dump here. One more question, can you give me your STweaks/ExTweaks screenshots or settings, so I'll have something to start from. I know our hardware is not the same, but I'll raise or lower the voltages accordingly. Would love to get some tweaks that you've made in init.d also.

I know I'm asking for a lot, but I really need help with this and I've never got more than 10 hours battery backup. This is my only hope. :)
[Galaxy S II Android Development] bobdoblo:
Everyone has different opinions but try jeboo

http://xdaforums.com/showthread.php?p=35802003

*NeatROM*
[Galaxy S II Android Development] THE RED BLUR:
Update on Current status of kernels on LSJ

This is a simpler version of what I have in my cave but quickly highlights everything. :)

Pros and cons of each

Philz:

+ backs up preload

- wifi drain

- lockscreen freeze

-.No customisation

Siyah b4

- Stweaks settings not saved after reboot (solution in cave)

- no backup of preload (solution in cave)

- stock video fc (fix in cave)

+ no wifi drain

+ battery friendly

+exynos exploit patched

+No lockscreen freeze

Jeboo

+ no wifi drain

+ battery friendly

+No lockscreen freeze

+ exynos exploit patched

+ home button fix for Dorimanx

+backs up preload

-. Not a range of gov and io like. Siyah and Dorimanx and no customisation

- random reboots but depending on version

- recovery needs updating

(1.1c is last good version or try latest version 1.1f rebased which fixes all issues of prior versions after 1.1c.)

DorimanX 7.43

+ no wifi drain

+ highly customizable

+ very battery friendly

+ exynos exploit patched

+ stweaks settings saved

+ No lockscreen freeze

- no backup of preload (solution in cave)

- about 100 MB RAM less than other kernels due to allocation of video buffering to cater for 8 rom platforms (but no issue experienced)

- Sound crackling may still occur in spite of patch. (solution in cave)

- Stock Video fc ( In case I have a work around see cave)

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: Alliance rom v5.2

KERNEL : Dorimanx 7.37 voku test build

(DEFAULT PROFILE AND SETTINGS )

MODEM : BVLP7

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb

LAUNCHER : Apex

My Guides list to install NeatRom and other ROMS and kernels on LSJ + tools to have a bug free rom + how to back up and RESTORE FOM FULLY = http://xdaforums.com/showthread.php?p=35923600

1.Rom Nuke script

http://xdaforums.com/showthread.php?p=36268094

2.Kernel Clean script

http://xdaforums.com/showthread.php?p=34879811

3.Fast Dormancy :

http://xdaforums.com/showthread.php?p=36396636

4. How to install full wipe with rom nuke on LSJ

http://xdaforums.com/showthread.php?p=36655790
[Galaxy S II Android Development] rzat:
Whoops, sorry i thought sale was talking about aosp lockscreen shortcuts.
[Galaxy S II Android Development] bobdoblo:
Thats why some people get jealous as they know they cannot dream of matching him!

*NeatROM*
[Galaxy S II Android Development] martintspedersen:
yep he has some skills for sure..
[Galaxy S II Android Development] greenemperor:
And that's why my next device will be this that sale developed ;)
[Galaxy S II Android Development] martintspedersen:
dont you have that already? i have is a sale smart device with crystal HD 5.0'' screen and a 1gazzillion GHZ

600 ddr800 rams lol
[Galaxy S II Android Development] chiaotzu:
Thanks Bob. :)

I have set Screen Brightness to manual and already put on 20%. Only Gmail is kept on sync as it is needed for my college mails and something of a priority to me. I have unticked all the things from Location already.

What should I tick in BBS -> Settings -> Advanced?
[Galaxy S II Android Development] electricsheepdreamer:
Try Electric Sheep Kernel :)
[Galaxy S II Android Development] parag1dubey:
Give me a link sir and I will be the first to try it :) :)

---------- Post added at 07:19 PM ---------- Previous post was at 07:18 PM ----------

By the way, I took Sir Bob's advice and have flashed jeboo 1.1c .. I will post my report tomorrow for this setup.. Hoping for better results... keeping my fingers crossed. :)

---------- Post added at 07:20 PM ---------- Previous post was at 07:19 PM ----------

By the way, I took Sir Bob's advice and have flashed jeboo 1.1c .. I will post my report tomorrow for this setup.. Hoping for better results... keeping my fingers crossed. :)
[Galaxy S II Android Development] It_ler:
Here are my BBS App Settings: View attachment 1644162

And Dumpfile: View attachment 1644166
[Galaxy S II Android Development] jomaga:
You don't have to cross your fingers. Your problem is not in the kernel. You had Dorimanx 7.38 prior to your actual jeboo. Both kernels are great, you'll have almost the same battery in both. You have to search somewhere else in your BBS stats
[Galaxy S II Android Development] chiaotzu:
Thank you sir. Done exactly as shown in the screenshots. Just waiting for 4 hours to generate the dumpfile. :P
[Galaxy S II Android Development] electricsheepdreamer:
Siyah b4

- Stweaks settings not saved after reboot

http://xdaforums.com/showpost.php?p=36202079&postcount=253

- no backup of preload

http://xdaforums.com/showpost.php?p=36359382&postcount=5355

- stock video fc

Aroma video player.

Anything else?

+ no wifi drain

+ battery friendly

+exynos exploit patched

+No lockscreen freeze

P.S. It's still under B) Red ;)
[Galaxy S II Android Development] parag1dubey:
I understand... But i think i have taken care of all apps.. Auto sync off..gmail frozen.. Dark wallpapers.I dont know what else i can change..:confused:

Q
[Galaxy S II Android Development] bobdoblo:
Sorry, check "root features"

*NeatROM*
[Galaxy S II Android Development] Sun90:
May be the one below would help u;)
[Galaxy S II Android Development] electricsheepdreamer:
Yes, it was before white Crussader's theme ;)

I almost forgot. In GSam Battery Pro monitor there's in history chart tab under menu>Power vs Percent Chart (which you can upload to DropBox)

View attachment 1644219

@Thanks Sunny ;)
[Galaxy S II Android Development] martintspedersen:
i used a app called full charged silencer but i dosent work on this firmware i think.. is there a way to disable the sound other way so i dont **** myself every time..

jkay framework could also do it
[Galaxy S II Android Development] bobdoblo:
I can see the boot screen now.

A sheep getting hit by lightning, a puff of smoke and his hair/wool all burnt and standing on end:D:D:D

*NeatROM*
[Galaxy S II Android Development] bombaybadboy:
Bob your in uk so wanted to ask a question. I have had a update on my itv player. It works well and now works properly on jb. Trouble is after I cant exit app after I finish, do you use this app and if so does it work ok for you?
[Galaxy S II Android Development] chiaotzu:
Done! Thanks, will post the results after 4 hours. Really appreciate your help. Is there anything that I should read in the meantime or should I watch a movie? :)
[Galaxy S II Android Development] electricsheepdreamer:
Back to kill

:good::good:

@Great idea Bob :D:good::good:
[Galaxy S II Android Development] bombaybadboy:
Didnt work but I found they have put a little exit at the bottom of the screen. Daft place to hide it :D I really have to start reading instructions on these apps
[Galaxy S II Android Development] bobdoblo:
Read this http://xdaforums.com/showthread.php?p=31974989

*NeatROM*
[Galaxy S II Android Development] electricsheepdreamer:
Works here ;)

View attachment 1644282
[Galaxy S II Android Development] shaq1907:
What's the difference of these two files? I know that in scrolling wallpapers, you can scroll wallpaper left to right or right to left while scrolling home menu screen. But what does other do?
[Galaxy S II Android Development] THE RED BLUR:
New Dorimanx 7.39 out

* Home button not working on other kernels other then jeboo.

Guys I've been testing this and stock video works again on this version. :):thumbup:

So far so good. I recommend strongly to upgrade to this version.

On first boot change cpu idle mode in STweaks like so in screen shot

then reboot. You will be immunised against sound bugs. It was meant to do it automatically by kernel but the script is not executing it.

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: Alliance rom v5.2

KERNEL : Dorimanx 7.37 voku test build

(DEFAULT PROFILE AND SETTINGS )

MODEM : BVLP7

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb

LAUNCHER : Apex

My Guides list to install NeatRom and other ROMS and kernels on LSJ + tools to have a bug free rom + how to back up and RESTORE FOM FULLY = http://xdaforums.com/showthread.php?p=35923600

1.Rom Nuke script

http://xdaforums.com/showthread.php?p=36268094

2.Kernel Clean script

http://xdaforums.com/showthread.php?p=34879811

3.Fast Dormancy :

http://xdaforums.com/showthread.php?p=36396636

4. How to install full wipe with rom nuke on LSJ

http://xdaforums.com/showthread.php?p=36655790

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: Alliance rom v5.2

KERNEL : Dorimanx 7.37 voku test build

(DEFAULT PROFILE AND SETTINGS )

MODEM : BVLP7

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb

LAUNCHER : Apex

My Guides list to install NeatRom and other ROMS and kernels on LSJ + tools to have a bug free rom + how to back up and RESTORE FOM FULLY = http://xdaforums.com/showthread.php?p=35923600

1.Rom Nuke script

http://xdaforums.com/showthread.php?p=36268094

2.Kernel Clean script

http://xdaforums.com/showthread.php?p=34879811

3.Fast Dormancy :

http://xdaforums.com/showthread.php?p=36396636

4. How to install full wipe with rom nuke on LSJ

http://xdaforums.com/showthread.php?p=36655790
[Galaxy S II Android Development] rakeshishere:
The other file supports Wallpaper scrolling in landscape mode
[Galaxy S II Android Development] takkaros:
I've heard about this before. Try not to detatch your Usb cable when the screen is off or without unlocking lockscreen.Unlock the phone, go to home screen and then unplug. Doing so will prevent the l2_hsic wakelock problem.

Sent from my GT-I9100
[Galaxy S II Android Development] bobdoblo:
:thumbup: Just what I was waiting for:)

*NeatROM*
[Galaxy S II Android Development] THE RED BLUR:
I've added this to my original post:)

* Home button not working on other kernels other then jeboo still but Dorimanx promised this time to include option in STweaks to do this.

Guys I've been testing this and stock video works again on this version. :):thumbup:

So far so good. I recommend strongly to upgrade to this version.

On first boot change cpu idle mode in STweaks like so in screen shot

then reboot. You will be immunised against sound bugs. It was meant to do it automatically by kernel but the script is not executing it.

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: Alliance rom v5.2

KERNEL : Dorimanx 7.39

(DEFAULT PROFILE AND SETTINGS )

MODEM : BVLP7

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb

LAUNCHER : Apex

My Guides list to install NeatRom and other ROMS and kernels on LSJ + tools to have a bug free rom + how to back up and RESTORE FOM FULLY = http://xdaforums.com/showthread.php?p=35923600

1.Rom Nuke script

http://xdaforums.com/showthread.php?p=36268094

2.Kernel Clean script

http://xdaforums.com/showthread.php?p=34879811

3.Fast Dormancy :

http://xdaforums.com/showthread.php?p=36396636

4. How to install full wipe with rom nuke on LSJ

http://xdaforums.com/showthread.php?p=36655790
[Galaxy S II Android Development] bobdoblo:
It won't exit with back button but it exits with home button.

Good update and long overdue;)

TVcatchup app is good too:thumbup:

@RED will the RAM on Dorimanx ever go back up to 826MB?

Why is it so low anyway?

*NeatROM*
[Galaxy S II Android Development] THE RED BLUR:
I think in Ram it's because he saves part of it reserved exclusively for video management.

Video not working for you that's weird. It was not working on previous version and as soon as I upgraded it did.

My installation steps.

Flash kernel

Reboot recovery

Fix permissions

That's it.

Maybe do a delvik and cache wipe.

I did however change my gallery back to stock from note 2 earlier today.

But that can't be the reason can it.?

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: Alliance rom v5.2

KERNEL : Dorimanx 7.39

(DEFAULT PROFILE AND SETTINGS )

MODEM : BVLP7

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb

LAUNCHER : Apex

My Guides list to install NeatRom and other ROMS and kernels on LSJ + tools to have a bug free rom + how to back up and RESTORE FOM FULLY = http://xdaforums.com/showthread.php?p=35923600

1.Rom Nuke script

http://xdaforums.com/showthread.php?p=36268094

2.Kernel Clean script

http://xdaforums.com/showthread.php?p=34879811

3.Fast Dormancy :

http://xdaforums.com/showthread.php?p=36396636

4. How to install full wipe with rom nuke on LSJ

http://xdaforums.com/showthread.php?p=36655790
[Galaxy S II Android Development] JamesDin:
I flashed NeatRom 4.0 again and before rebooting flashed Jeboo kernel, I couldn't find CWM so flashed the kernel again but still can't find it.

Should I flash NeatRom again? but reboot before installing new kernel? becasuse I still cant find CWM