yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] jim_panse:
2 percent android os using. No problems with battery here. But i think my flight mode is broken. Any one experience the same?
[Galaxy S I9000 Android Development] CazeW:
I think RyanZAs RealBench could be a good tool to test if the fix has any effect on battery life as it's intended to simulate real usage. Things like wifi and traffic should be off so that they don't affect the outcome, screen brightness should be set to a constant and so on.
[Galaxy S I9000 Android Development] drknezz:
still down for me..
[Galaxy S I9000 Android Development] drewzxx_090:
HELPPP!

My phone always says verification failed or sumfn like that..and it doesnt allow me to apply the lagfix..any work around this problem?
[Galaxy S I9000 Android Development] fawaad:
Agree with him. Today after one cycle of battery full charge, I did a reset my battery stats. Now I have my phone on 25% after 16 hours. Its acceptable since I'm already home for next charge.
[Galaxy S I9000 Android Development] szanda:
Hi, Ive applied the lagfix only and its perfect, no battery problems at all, but I have one question, can I apply the Colorfix now? I am thinking about "overwriting" the lagfix with update.zip - lagfix+color, is this possible? thanks
[Galaxy S I9000 Android Development] distortedloop:
Beats me. Go to Samsung or one of the carrier's stores and check it out. I'm not afraid of after-market batteries.
[Galaxy S I9000 Android Development] distortedloop:
Well, you drive home the point I was trying to make right after curio's post - we always blame the latest of the dozens of patches, hacks, and system restores we've applied to some perceived (or real) drain in battery.

If you flash a new firmware, then a new themed mod, then restore system settings from a prior firmware and then apply voodoo all in one quick session, how can you be sure which of those things caused the issue?

I usually restore settings as part of my restore process, but it does seem risky, since some of the settings change from firmware to firmware; your experience confirms it's not wise.

I've posted in the chat-room, if not here, more than once that I personally try not to apply too many hacks or mods at once, so that I can narrow down any new issues to the real cause with less effort. I think that's just common sense.
[Galaxy S I9000 Android Development] Qazz~:
If im currently using Ryanza's One click Lag Fix APK V2, can i just apply the update.zip or will have have to uninstall Ryanza lagfix first?
[Galaxy S I9000 Android Development] distortedloop:
You should uninstall any other lag-fixes first, especially the OCLF type, otherwise that HUGE ex2 file he creates will be backed up and restored along with everything else, if it even works at all.
[Galaxy S I9000 Android Development] TheChancellor:
Well, I can also confirm that there are battery drain problems since using Voodoo. I formatted internal and external SD cards, reflashed with Kies, then did both a factory wipe and cache wipe from the recovery menu. I didn't have anything backed up so I downloaded and set up everything from scratch. This morning, I unplugged the charger and noticed that my battery has dropped 20% in just over 2 hours since, while sleeping! This is compared to a mere 5% drop running the exact same apps, widgets, and autokiller settings with a stock firmware while sleeping.
[Galaxy S I9000 Android Development] deepside7:
Yup, same as TheChancellor.

Something in the lagfix is preventing the phone from sleeping. If you download spare parts, and look at 'since unplugged' you will see that almost 100% of the time, it's running.

Now I have to work out how to remove this lagfix, as it is lasting me less than 24 hours.
[Galaxy S I9000 Android Development] sturmeh:
Same here, Android OS ( the Kernel ) is showing 60% usage after doing nothing for 2 hours.

Are you using JM7 by any chance?

Try just disabling voodoo?
[Galaxy S I9000 Android Development] deepside7:
Is there any way I can tell if the voodoo has been successfully disabled or not?
[Galaxy S I9000 Android Development] JJ*:
The battery problems must be firmware related. I've been using all Voodoo versions since Beta 2 and have not had any battery problems whatsoever (despite the known issue with Beta 3).

By the way, thank you supercurio for your outstanding work, my phone is still flying and I love it!
[Galaxy S I9000 Android Development] deepside7:
Did the disable, and the problem still persists! gah
[Galaxy S I9000 Android Development] RyanZA:
It really really doesn't seem to be firmware related! It may be hardware related though, such as certain devices have the battery issues with custom kernels, and some don't.
[Galaxy S I9000 Android Development] distortedloop:
Ugh.

I think voodoo's getting a bad rap.

Those with battery issues, flash a new firmware (xFjm6, hvjh1 or xwjm7, and awjm8 are all solid in my experience). Don't restore settings on the phone from any back up, don't lag fix, install AutoKiller and set to Strict or Aggressive if you want, then just run the phone for a day or two the way you would normally use it and check battery life. If it's okay, and you think it still needs lag-fixing, install voodoo and check battery life again after a day or two.

As just a general observation on Android devices, there are so many complaints of battery life with so many different mods to the phone; people need to learn to not apply everything at once. Make sure you have a good solid foundation of a phone (stable, no FC, normal battery life, clean fresh install) before adding multiple hacks/mods/themes, and then only add them in one at a time.
[Galaxy S I9000 Android Development] sturmeh:
What firmware are you on? JM7?

Dump your dmesg to pastebin, mine suggests that the phone is never going to sleep.
[Galaxy S I9000 Android Development] Aanrii:
I had same kind of problem, though my usage was 96% and phone just didn't sleep. I'm not sure what caused the problem but I tried different firmwares but I always had the same CSC file. It was the only thing in common (besides the phone, which was the same all the time :o) and I think supercurio thought that the CSC file was somehow faulty and it caused problems with the voodoo fix. I had the JM5 and JM7 firmwares with JM1 XEE CSC back then.

The problem persisted even when I had the lagfix disabled but the kernel was still inside. Only fresh flash to another firmware corrected the problem. I can't test it at the moment since my phone is in samsung service. But test it with another CSC if you can. It might help.
[Galaxy S I9000 Android Development] g0c:
my market stopped working after aplying beta 4 !

any others with this issue ?

how to resolve it ?

thx
[Galaxy S I9000 Android Development] distortedloop:
Try all the usual Market access fixes. Clear cache, kill Market, etc.
[Galaxy S I9000 Android Development] g0c:
clear cache from recovery menu ? kill Market ? how ?

thx
[Galaxy S I9000 Android Development] Carkhass:
Beta 4 installed on JM7.

First I was on CFLagFix, uninstal and test Voodoo... Oh my god, it's so much better :eek: <3
[Galaxy S I9000 Android Development] sturmeh:
So you are not having battery problems with JM7?
[Galaxy S I9000 Android Development] itenos:
Possible reason for battery drain

@Supercurio:

Hi,

I've been waiting for nearly a week in order to be sure and now I can definitely say that JM8+Voodoo beta 4 produces a huge battery drain on my phone.

I'm having the phone now since 2 months and having flashed nearly every 2.1 firmware on it as they appeared. I also tried out every lagfix out there and my battery always lasted basically one full day with my personal usage. Last firmware was JM7 without lagfix and battery life was still the same. Then I switched to JM8 and voodoo beta 4 in one go and battery got noticeably worse, now I have to recharge twice every day with same usage as before! So there definitely is a problem with JM8 or Voodoo or both combined!

Now here is what I noticed accidentally the other day and what might be the reason why some users experience the drain and others don't:

I'm using a WiFi router from AVM GmbH called Fritz!Box, it's very popular in Germany. This router lets mobile phones connect to WiFi with the WMM PowerSave protocol while Laptops connect with the simple WMM protocol.

When I set up my Galaxy S the first time, still running stock JF3, it connected with WMM PowerSave, now with JM8+Voodoo it connects like a regular laptop with only WMM therefor the obvious higher drain on the battery. This is not a router problem because my Nokia E66 and HTC Legend still connect in PowerSave mode.

As only a few routers out there support WMM Powersave this might be the reason why some people don't experience this problem at all, they never enjoyed longer battery life in the first place...

I'm not saying that this has to do necessarily with Voodoo, maybe it's only JM8 related!

Anyway, now comes the weird part ;-) In order to confirm my statement I disabled Voodoo, wiped everything, flashed JM7 again and connected to my router... Strangely it still connected only in WMM mode. So I tried to flash JF3 again but the files I had did not work nearly and bricked my phone, so I went back to current JM8+Voodoo.

Next consideration and not necessarily related: After wiping everything and re-partitioning I tried to install a Demo software that gave a few days working before asking you to buy it, well, it still asked to buy and did not give any extra time, so maybe this change that JM8+Voodoo did to my phone is not reversible the same way like it did not to this Demo software?

One last thing, this time a question: Why does WiFi show up in Samsungs Battery Usage screen only in the first few minutes after fully charged and unplugged? After that it completely disappears from the list as if it wouldn't use any battery anymore...

Hope these thoughts might give someone brighter than me an idea how to resolve this problem and thanks a lot for this good lagfix!
[Galaxy S I9000 Android Development] sturmeh:
@ above post.

Where does "Android OS" show up in your battery usage page?

Do you get the battery drain without Voodoo on JM8?
[Galaxy S I9000 Android Development] deepside7:
I've now re-flashed the firmware completely, and now the problem has gone away. I doubt it was firmware related, as it was working fine on that firmware until I installed voodoo. I think rather, that voodoo is not compatible with certain firmwares.

DTJG4 is my firmware (australian)
[Galaxy S I9000 Android Development] sturmeh:
Just noticed something, if I disable WiFi, my phone can sleep.

The problem seems to be worst when the WiFi Policy is set to Never.

EDIT: Confirmed, if I turn my WiFi off, Android OS dissapears from the battery usage page, if I turn it back on it appears and slowly climbs up the usage page.

I'm going to leave WiFi on "auto-off" and put my phone on the table for a while with no APN's set, and see if the Android OS entry gets too high. ( Which results in battery drain. )
[Galaxy S I9000 Android Development] ky0sh1r0:
Voodoo Lagfix v3.0 working fine for me.

My firmware is DTJG4

The only problem I had was that the battery level jumped up from 40% to 70% after installing voodoo (with charger unplugged) for reasons unknown to me. The battery drained really fast here. 10% in one hour of idle.

I tried to reset the batterystat which did not help.

So I tried to let the battery drain all the way down to around 10% (Don't think it's meant to be good for the battery).

Now everything is fine. 99% battery level after just over 6 hours of idle and a few checks to see the battery level.
[Galaxy S I9000 Android Development] cba1986:
When you flash to much you need to clear battery stats and calibrate the battery. With Every single i got the same battery life, with JM8 maybe a little less but that is why i did a lot of testing of other stuff,

And the thing that eat battery the most is the screen, It's the 100% brightness :rolleyes:
[Galaxy S I9000 Android Development] ashwinds:
Voodoo now clears battery stats automatically.

The erratic change *may* have been because your batterystats was reset by voodoo.
[Galaxy S I9000 Android Development] mapetite:
Hey just a quick question,

I have installed Voodoo over the standard stock firmware... other than voodoo and Launcher Pro the phone is stock....

So... with Froyo coming up soon (fingers crossed) do we need to disable/uninstall it before trying to upgrade via Kies?

Oh am on optus network in australia..

FYI, have not noticed any of the battery draining comments that everyone seems to be talking about on the stock f/w.

Cheers
[Galaxy S I9000 Android Development] ashwinds:
Yes - create folder/file "disable lagfix" inside folder Voodoo, reboot and you are ready.
[Galaxy S I9000 Android Development] sturmeh:
Battery drain is a fault with JM7 and JM8 being incompatible with Voodoo, it occurs as long as you have WiFi enabled and it is scanning or connected. ( It eats battery and prevents kernel from sleeping. )

You will need to put a file named "disable-lagfix" in your Voodoo folder on the internal SD before you can flash another rom.

EDIT: Lol, ninja'd.

Also I just checked with a few JM8 users, and they are also getting the issue that causes battery drain but they don't notice the drain because they seldom use WiFi. I just had one of them test WiFi always-on and phone (screen) off, and the Kernel started backfiring.

I just flashed stock JM8 ( was on JM7 w/ the problem ) and will run the battery down a bit to determine whether or not it is truly Voodoo + JM7/8 incompatibility.

To summarise, the problem is NOT with Voodoo itself, but rather JM7 and JM8 being incompatible with the kernels built from the ONLY sources that Samsung has made available. It is not something you can expect Curio to be able to fix until the sources are updated.

Whilst WiFi is on, it tells the kernel to stay awake. Once WiFi is off (15 minutes if you have WiFi Policy set to off with screen) then the driver will let the Kernel put the device in standby.

There is your battery drain problem.

TO AVOID: Don't use JM7/8 OR Don't use Voodoo Kernel w/ Lagfix on/off OR Don't use WiFi OR Use hack to change WiFi off with screen time to something less than a minute, this seems to subvert the problem.

Whilst the last option does seem to fix the problem, we should be able to enable wifi and have the device suspend, which it can't do if Voodoo kernel is in place.
[Galaxy S I9000 Android Development] raspdeep:
aint there already a fix in the db file? search on forum, this wifi issue is ROM problem and can be fixed

Edit: Here to save you the trouble http://xdaforums.com/showthread.php?t=774507

Curio, add this to your FAQ so we dont keep coming back to the same issues
[Galaxy S I9000 Android Development] nickporwal:
Buddy it means those who are having battery drain problems is because their wifi is enabled all the time?

So if we dont switch wifi off and close the screen, battery will still start to drain?

So it is not a problem if we switch off our wifi after using it?
[Galaxy S I9000 Android Development] ashwinds:
if you turn off wifi, it doesnt drain much at all. You can set the wifi time out as per the link raspdeep posted above. Or easy way is to install OCLF from market -> install Ext2 tools -> set wifi time-out - peg it at something low - like a minute or less.
[Galaxy S I9000 Android Development] shreeindia:
voodoo

cant voodoo be converted into a apk for installation, with simple buttons to undo lagfix so that noobs like me can use
[Galaxy S I9000 Android Development] Lalaca:
I don't quite think that development for the Galaxy is advanced enough to have an app that will mess with the system kernel.
[Galaxy S I9000 Android Development] kalpik:
Its *very* simple to do this actually..
[Galaxy S I9000 Android Development] Lalaca:
I stand corrected; and wow, that's a scary thought. I certainly wouldn't want to put that kind of "power" in the hands of the average user (see three posts up). >.>;;
[Galaxy S I9000 Android Development] xan:
That is interesting...
[Galaxy S I9000 Android Development] Adevem:
isn't it easy enough to just fire it off as an update.zip via recovery? man aren't you lazy.
[Galaxy S I9000 Android Development] xan:
For me its easy.

For you its easy.

For 50% xda users its easy.

For the rest it leads to 2512350124 questions/day about recovery, flash, update.zip, disable-lagfix, kernel, and where do they plug this damn usb cable.

To cut them all, it needs to be even easier. Install Voodoo.apk.<-period. (which would generate ****load of questions anyway)

It also needs to feature OTA update, which is quite easy to implement.

Disabling -> Run "Voodoo Manager" from menu, touch "Disable lagfix".

Removal -> "Voodoo Manager" - "remove lagfix" (restore custom kernel backed up before, using redbend_ua or anything).. Or just hit 'uninstall' from app manager and it gets done (hard, harder)

This is most convenient way to do it and yes, it requires a lot of work.
[Galaxy S I9000 Android Development] RyanZA:
There already is an app that can download the voodoo kernel and flash it for you.

That's kinda the problem. As safe as the Voodoo kernel seems to be - it is still flashing a kernel to a device! The SGS seems to be really resilient to just about anything, but if something goes wrong with the flash and the user is left with a device that doesn't boot up, he's going to be freaked out. :) Plus, Voodoo is still beta.

My original goal was to make an app that will download the appropriate voodoo kernel for your phone, and then flash it (as long as the phone is rooted). Plus make a backup of your current kernel, and give you an option to flash it back later. Also an option to create/remove the 'disable lagfix' file for easy access.

I'm not currently planning on doing this though, since supercurio doesn't seem to want it done (he recommends using the update.zip method), and I think it might end up being bad for non-xda users to be messing with kernels.

The code is pretty much done for it though, so I can finish it off and release it if there is demand for it. Any opinions?
[Galaxy S I9000 Android Development] RyanZA:
Not much work, it's already done... ;)
[Galaxy S I9000 Android Development] xan:
I meant "self" flash using redbend_ua, did you? Everything (downloading, backup, all) done on device. This is actually "update.zip" method on steroids :D
[Galaxy S I9000 Android Development] miketwn:
@RyanZa i suppose you tried both supercurio's voodoo and the one using stock kernel. Im using supercurio's method right now, would you recommend me switching to the one with the stock kernel? Just want to get your thoughts on this....
[Galaxy S I9000 Android Development] nickporwal:
I am using Tayatuma's JM8 but i never found any battery drain problem. maybe its because i switch off my wifi once work is done.

So it means if the battery drain problem is only bcoz of wifi then the people who are facing battery drain with voodoo will also face the same problem with JM8 without Voodoo.

Well then people should stop saying that its the fault(battery drain) of voodoo fix.
[Galaxy S I9000 Android Development] Adevem:
for me i'm happy to use update.zip files :D
[Galaxy S I9000 Android Development] supercurio:
This is a very short but very interesting question :)

There is a short answer too :

Yes, of course :cool:

This is planned, when Voodoo won't be in beta stage anymore.

But I must moderate a suddent potential interest in an Voodoo apk.

One of Voodoo's goal is not to require rooting your phone.

Still, an apk can guide the user and download the latest version in the appropriate place on sdcard, and then give him some easy instruction of how complete the update.zip usage from recovery

Create an app only to enable-disable the lagfix is useless

This is an operation that the common may never have to do. The development is oriented towards making this operation never needed.

Encourage most users to disable-enable lagfix dozen of time would be a failure, and of course a big loss of time for him.

What about power user who change of Firmware every week ?

Since beta2, new Firmware installations are auto-detected (with the exception of some recent broken CSC which forget to format DATA: partition).

I think that these users are already perfectly capable of creating a folder or a

file named "disable lagfix" ;) if needed.

Moreover, the documentation page explains how to deal with firmware reflash efficiently if you don't want to disable-lagfix.

Voodoo color and future Voodoo sound

With customizable Voodoo color settings and also future Voodoo sound, a Voodoo app will be really interesting. At this stage, Voodoo development

will be 50% kernel, 50% apk.

..And this will become even more exciting :D
[Galaxy S I9000 Android Development] cantIntoCode:
Thanks for the update supercurio!
[Galaxy S I9000 Android Development] RyanZA:
The samsung JM8 kernel has changes not present in the source-based kernel used in voodoo, so using the voodoo+stock kernel will give you voodoo as well as the updates in JM8 kernel. If this is worth anything is entirely up to you, since we don't know what Samsung has changed! I personally get worse battery and video playback on the source kernel, but others have no issues.

Yes, self flash, everything done on the device. :)

It includes the usual root option found in OCLF, since root is required to use redbend_ua from an app. It's all mostly done, but as you can read above from supercurio, he doesn't approve of people rooting their phones or somethin, so I'm not all that keen on releasing the app when he doesn't approve. ;)

Although that said, his fix is all GPL, so releasing it isn't much of a problem if there is demand for it. I think you're one of the few who seems to want something like this though, but I could be wrong.
[Galaxy S I9000 Android Development] xan:
Given the amount of questions about whole "voodooing" process, i'm definitely for it.

His goal = my goal = Your goal = is to present a solid, easy, accessible for everyone method for voodooing their SGS.

If you feel that ur method is solid enough (meets all the requirements) and wont make whole different effect (another bath of questions, failures and miss understandings), in my opinion (which is quite insignificant) you could definitely release it.

(what a sentence)

On the other side there is respect for curio and his work... If he says not to release that, I think u can hold it for a little longer :)
[Galaxy S I9000 Android Development] supercurio:
I think you really misinterpret my words, RyanZA.

I never said that i didn't approve people rooting your phone? I really don't understand how you conclude that.

What I said, is that i want people being able to install Voodoo without being forced to root their phone.

My phone is rooted, I have nothing wrong with rooted devices, I even think it should be proposed as an option for every user

(and I hate manufacturer who try to make rooting difficult!)

This is because of these endless misinterpretations that we can't work together on the same project... to much loss of energy.

It's not your app, that I don't approve, I'm happy that you give an additional option to users.

It's your sometime very strange attitude, and your latest message is the perfect example of it.
[Galaxy S I9000 Android Development] xan:
You know, there are little nuances in words. English is native language for neither of you...(or is it?) It may lead to miss interpretations, miss understandings.

There is no need for bad blood here.
[Galaxy S I9000 Android Development] fane1:
Actually i think english is oficial language of S.Africa sorry the offtopic.I think its time for u both to "give hands" and work together.Because u are the guys who helped so much people here in xda its a shame that u get separate ways.Sometimes its only a language thing maybe.Nevertheless i would like to see in the future a voodoo aplication with choices because there are people who manage well the android system with update.zip but there are other that dont.
[Galaxy S I9000 Android Development] RyanZA:
Sorry, my bad. The rooting issue was mostly in jest! :)

So I take it that you approve, then. Thanks. :)