yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] nitr8:
Battery Questions

Advice and troubleshooting battery issues. Any contributions welcome, please see links in "Other Resorcess" for detailed information.

Disable HSDPA

In the phone dialer enter code: *#301279#

Click [2] CHANGE HSPA REVISION

Click [1] HSPA OFF​

Battery Calibration

Remember, always flash with a full battery.

USE phone heavily. Use it till the system turns OFF automatically

Turn OFF phone

Charge till it says it is FULL

Start phone in RECOVERY Mode

Select Advanced CWM Features

Select Wipe Battery Stats

RESTART phone​

Other Modem

The JPD modem has been reported to give better battery life.​

Gallery Issues

Thumbnails and some database's could get corrupted making the media scanner running berserk, resulting in battery drain.

Delete the following:

dbdata/databases/com.android.providers.media

dbdata/databases/com.cooliris.media

And clear the thumbnails folders on sd cards.​

I have created a CWM script to do this for you - Gallery Cleaner

Bump Charging

One technique that has gained popularity in the user community is "bump charging." To bump charge a device do the following:

Turn it off completely

Plug it into a charger.

Wait until the green battery sign says 100% . DO NOT turn the device back on.

Disconnect and immediately reconnect the power cord. (The device will now accept more charge before saying it is full.)​

50% Battery without Signal

Well Known Froyo bug that started from the very first firmware release shows phone as 50% time without signal on cell standby when you check in Settings > About phone > Battery use

Apparently this can occur anytime after unplugging your phone from charge so I always do 2 things to fix this and so do many other users.

Turning Flight mode off and on.

In the phone dialer enter code: *#*#4636#*#* > Scroll down a bit >

Select Phone Info

Select "Turn off radio"

Select "Turn on radio"

Exit​

Other Resources

Everything You Need To Know About Bump Charging And Inconsistent Battery Drain

How to disable HSPA / HSDPA for better battery life - hardcore

Modem Information - pele78

YABD - Yet Another Battery Drain thread - bokbacken

Alternative Modems​
[Galaxy S I9000 Android Development] nitr8:
could you expand on this a bit more please?
[Galaxy S I9000 Android Development] legend_wok:
I'm sure you are aware of it but there is a thread that discusses the battery drain problem: http://xdaforums.com/showthread.php?t=884816
[Galaxy S I9000 Android Development] nitr8:
Thanks, added that link ;)
[Galaxy S I9000 Android Development] manageri21:
download from romManager the theme generation X and install it from CWM, now when i go to market to install something, don't start to download.

and when i click app apk directly from sd start to install but never finish installing.
[Galaxy S I9000 Android Development] Mumps:
With 0.3.1 I downloaded and applied Generation X theme through ROM Manager, using ADW EX I got everything Force Closes.

Had to install from scratch and use yesterday's backup so not a big problem. Just advice to make a backup even when applying themes (which I didn't this time because I couldn't imagine how bad was it going to be :D)
[Galaxy S I9000 Android Development] TrOjAnUK:
ANNOUNCEMENT: Bug Fix

Not sure how many if any at all have noticed this but its been driving me nuts.. anyway, in the NEXT release this WILL be fixed!!

If you remove the Email.apk file then apps like Barcode Scanner Force Close, this ment that you had to restore Email.apk or stop using the Barcode Scanner app.

nitr8 has found a fix for the libcamera.so file which allows the removal of Email.apk but still letting Barcode scanner work..

Aint he kleva!

TrOjAn
[Galaxy S I9000 Android Development] aladin6:
Strange! i removed the email.apk and barcode scanner is still working !!!
[Galaxy S I9000 Android Development] uppon2:
Nitr8 please add this to the list:

Well Known Froyo bug that started from the very first firmware release shows phone as 50% time without signal on cell standby when you check in Settings > About phone > Battery use

Apparently this can occur anytime after unplugging your phone from charge so I always do 2 things to fix this and so do many other users.

1. Turning Flight mode off and on.

2. Turn the radio off and on by putting this code into your dialer *#*#4636#*#* > Phone info > Scroll down a bit > Turn radio off and on.

For 100% Assurance I always do this after charging my phone to avoid the bug
[Galaxy S I9000 Android Development] el afortunado:
Great work on the rom, guys!

Only I have an issue where my OC settings get messed up at boot, when using xan's voltage app.

It boot's at 100mhz everytime. Also, when I set the boot settings in voltage app, the S_volt_scheduler file updates correctly, but when I reboot the values within that file change, disabling every state, causing it to run at such a minimal speed.

None of this occurs with stock JPY+ SOK 6.1 so I'm guessing it's an issue with your ROM.

Thanks in advance!
[Galaxy S I9000 Android Development] nitr8:
Alternative Modems

Install from recovery, or install from ROM Manager.

Modem Information - pele78

Alternative Modems

XXJPY - MD5 e2d8540292ad141495397e8b78e4d8c5

XXJPX - MD5 1d4cd967f7a6c9f730b52bd0a3ba3d94

DDJP6 - MD5 f76df11b5a3e29e61a67e5906751204e

DXJPA - MD5 36d9605707b08afb7a3c29208ed1a726

XXJPU - MD5 bc315c1c9489166f83cc19832a36352e

ZSJPE - MD5 2ab33f59086996cd1919bd77f231b08e

BUJP5 - MD5 37045724a310bc34c366b7bbfd495c5b

JPP - MD5 8d1a079cb05e310e1cea5ac17bb5e043

JPM - MD5 c24f3a44cf3d3b8da0a575e06b51b6df

JPD - MD5 2ab33f59086996cd1919bd77f231b08e

JPK - MD5 41d5699021c275fa4c24af7269a372da

JPC - MD5 a7b96baaa003b13ed00da8bbb46439af

JPH - MD5 933bd6abcf4995e89094ac98da198882​
[Galaxy S I9000 Android Development] zohawkish:
Can someone tell me the name of weather and clock widget on screenshot?
[Galaxy S I9000 Android Development] nitr8:
Beautiful Widgets - http://levelupstudio.com/beautifulwidgets
[Galaxy S I9000 Android Development] nitr8:
Done :) check out http://xdaforums.com/showthread.php?t=843019&page=213
[Galaxy S I9000 Android Development] uppon2:
lol you have select "turn off radio" twice you pelican
[Galaxy S I9000 Android Development] nitr8:
HAHA, thanks.. fixed :p
[Galaxy S I9000 Android Development] uppon2:
Nitr8: Personally themes seem to be making a MAJOR difference for battery life now since JPY it seems to be getting worse. Might wanna add that into the battery area. Users be mindful of themes. Me and Tr0jAn are currently undertaking some more tests

I also find that when I charge my phone all the way through laptop/desktop The charge doesn't seem to last as long
[Galaxy S I9000 Android Development] aladin6:
Great Great Great news!!!!

I will test the JPD Modem :p !

Thank you nitr8, you are the BEST !
[Galaxy S I9000 Android Development] legend_wok:
nitr8, do you think it makes sense to link your battery drain post (#2125) in the first (or second) post of this thread?
[Galaxy S I9000 Android Development] uppon2:
He will do this else he is an assclown ;)
[Galaxy S I9000 Android Development] aladin6:
nitr8, there is a newer version of Super Optimized Kernel!

When can we make the update through ROM Manager ? :p :p
[Galaxy S I9000 Android Development] aladin6:
I just installed the JP5 Modem !

Hopefully, i'll get just a bit better battery life, that's all :D :p !
[Galaxy S I9000 Android Development] nitr8:
Added to ROM Manager....
[Galaxy S I9000 Android Development] manageri21:
i solved this problem, after flash the theme must do wipe cache and wipe dalvik and everything work.

ps: for nitr8
[Galaxy S I9000 Android Development] nitr8:
Done & added to my sig :)
[Galaxy S I9000 Android Development] ingineru:
Hi nitr8,

Have you considered in releasing a "non-themed" version ( i mean stock samsung theme ) ?

I would love that and i personally find that stock samsung is better than all "variations".

Did someone managed to make the gingerbread working? If yes, how?

I have tried almost everything including this:

http://xdaforums.com/showthread.php?t=875202

but no success.
[Galaxy S I9000 Android Development] nitr8:
- no, just use a stock theme from any other rom...

no idea, i use swype and not had time to look into this..
[Galaxy S I9000 Android Development] ingineru:
I have no idea how to take the theme from a stock rom and apply it :)
[Galaxy S I9000 Android Development] AndroidSupreme:
Thanks for your help. Yes I know it wasn't a rom issue but where else would I ask?
[Galaxy S I9000 Android Development] aladin6:
The JPD Modem is the best(battery life!!!)for all countries ?

I read that the performance of the modem may differ in function of the localisation(country).
[Galaxy S I9000 Android Development] Farkonian:
Can't get the Voltage Control OC/UV APP to work properly with this MOD:

http://xdaforums.com/showpost.php?p=10350593&postcount=202

Thoughts?
[Galaxy S I9000 Android Development] Ti3noU:
Everyone seems to have the same problem with VoltageControl on this rom. The script in init.d is loaded incorrectly.
[Galaxy S I9000 Android Development] orhakrisztian:
hi

Could somebody tell me where do I find the apk files when I downloading something from the market? 'cause in the system/app/ folder there aren't. Where install the system these apk files?

thnx
[Galaxy S I9000 Android Development] nitr8:
care to be a little bit more specific? which script?
[Galaxy S I9000 Android Development] Ti3noU:
@nitr8 Sure, sorry^^

S_volt_scheduler

It seems corrupted 60% of the time when launching VoltageControl in Insanity 0.3.2 (showing no UV values/final voltages for some frequencies). You can get the correct values by relaunching the program (sometimes it takes a few tries).

At first it seems to work then after a reboot, when the script is loaded, the CPU is locked @ 100mhz and applying the OC/UV values again do not work.
[Galaxy S I9000 Android Development] nitr8:
Very strange, do you mind sending me a copy of the corrupt file please? I cannot see how this would become corrupt. Are you 100% sure this is a ROM issue?
[Galaxy S I9000 Android Development] Ti3noU:
It's only happening on this one as far as I know/have tested myself.

I'm saying "corrupt" but the file itself seems correct. Only the value reading in VoltageControl is corrupted. It's a strange issue.

EDIT : I just did a fresh install with only VoltageControl installed and the first reading (for voltages/frequencies table) was already corrupt (missing values with "?" everywhere), so I closed it to relaunch -> force close. The next launch was good (original kernel values).

So absolutely nothing from VoltageControl in init.d, but issues already.

The problem comes from somewhere else I think.
[Galaxy S I9000 Android Development] hacksome:
Weird issue. I kept a favorite .mp3 ringtone file inside /system/media/audio/ringtones. Deleted the Terminated.ogg etc.. from there. Rebooted. Wiped Cache. Wiped Dalivik Cache. Still "Terminated" is shown in the ringtone-selector dialogue box!.

Any fixes pls?
[Galaxy S I9000 Android Development] nitr8:
Well, the system does not know mp3 in that folder it needs to be an ogg so ether convert it or set it.
[Galaxy S I9000 Android Development] Freexter:
hes nitr8 how can i make a zip installable in cwm with all the apps (.apk) i need,something like you did with the gmailpack
[Galaxy S I9000 Android Development] furredd:
just flashed to 0.3.2 ROM, looks like the 'Software Update' service is stilll running even after I have killed all apps. Shouldnt this service have been disabled in version 0.3.1 ?

looks like syncmldm.apk still did not removed from the 0.3.2 ROM
[Galaxy S I9000 Android Development] RolluS:
The easiest way is:

- take a working installable zip (gmailpack.zip for example)

- open it with 7zip file manager (do not extract)

- remove unwanted apk in /system/app

- add the wanted apk in /system/app

- close the zip

You've done!
[Galaxy S I9000 Android Development] nitr8:
AddOn Package

Create your own AddOn Package

To create a custom installer to install your own theeams / applications use the follwoing:

Download this blank template

Open update_template.zip with WinRar or 7zip

Place your apks or whatever in /system/ e.g. Talk.apk /system/app/

Delete the placeholder in /system/app/

adb push update_template.zip /sdcard/

adb reboot recovery

Select "install zip from sdcard"

Select "choose zip from sdcard"

Select update_template.zip

Select "Yes - Install update_template.zip"

Select "+++++Go Back++++"

Select "reboot system now"​

Advanced - From Scratch

Creating an update.zip package from scratch is quite easy. I would thou recomend using the above sample if you do not know what you are doing. For example, to add a (valid) test.apk package to the insanity rom:

Create an empty folder <workdir>

Create folder structure for test.apk (<workdir>/system/app) and copy the test.apk

Create folder structure for update-script (<workdir>/META-INF/com/google/android)

Edit <workdir>/META-INF/com/google/android/update-script

Put in it:

show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
set_perm_recursive 0 0 0755 0644 SYSTEM:app
show_progress 0.1 10

Compress the <workdir> content to zip (not the <workdir> folder itself)​

As Insanity uses 2e apposed to 3e reocvery, you do not need to sighn your packgae however if you wish to sign the zip file. Download testsign.zip and copy it in your <SDK>/tools folder. Extract it here. It should create a sign subfolder with a testsign.jar file in it.

Then, from <workdir> folder, do:

java -classpath <SDK>/tools/sign/testsign.jar" testsign file.zip file-signed.zip​
[Galaxy S I9000 Android Development] mark.doe:
I am using 0.3.2 which seems finally to be back on the track again :-D

good work!

since yesterday I am running this with Kernel SO_4.6.2_CWM and find this is the smoothest experience so far.

Now starting to fiddle with CPU und Voltage sets.
[Galaxy S I9000 Android Development] aladin6:
Thank you, you can add this tuto in the 1st page, many insanity users need it!

Thank you nitr8 ;) .
[Galaxy S I9000 Android Development] nitr8:
Done, added to post 1
[Galaxy S I9000 Android Development] pinpong:
I love this rom that is exactly what I need.
[Galaxy S I9000 Android Development] nitr8:
All,

Just updating ROM Manager as we speak to you can do an OTA update.

For a full listing please see http://insanity.rollus.net/ (includes MD5 checksums)

Download

Insanity 0.3.3 - MD5 9c5dcd5f3a33a98a99db38aa8ec621a4

Insanity Upgrade from 0.3.2 to 0.3.3 - MD5 8e763943a800ebc27af5fc8240323db7​

Change Log - <<< 0.3.3 >>>

update - SO Kernel 4.6.2 (fixes bug I found in post-init.sh, adds laptop mode and set_max_events_per_sec to 60)

updated - ROM Manager from 3.0.0.2 to 3.0.0.5

updated - Phone.apk to match DialerTab.apk icon

added - libcamera.so So that you dont get FC if Email app in uninstalled, tpycly people saw this in BarCode Scanner

removed - Software Update Service (syncmldm.apk)
[Galaxy S I9000 Android Development] el afortunado:
The problem might also be with the actual scaling values in sys/devices/system/cpu/cpu0/cpufreq. Im on stock now with the SO kernel, but with Insanity they had the correct values, followed by a lot of weird squares.

In stock JPY they just have the values. Don't know if this helps, but I hope so, cause I like this rom;)
[Galaxy S I9000 Android Development] RolluS:
I've set 1200Mhz max speed

I've unthick UV/OV for frequencies above 1.2Ghz

I've seen with system panel CPU between 1000-1200 Mhz, so I assume it's worked

I've reboot after flashing a theme

I've seen with system panel CPU between 1000-1200 Mhz, so I assume it's worked

Sorry, but I did not reproduce the issue...
[Galaxy S I9000 Android Development] nitr8:
Nor can I or two others, however speaking to laststufo its a Voltage Control App bug.. so its been posted there lets see
[Galaxy S I9000 Android Development] Ti3noU:
It seems to occur in a very particular case but for now this case is unknown, at least to me. We'll see what Xan thinks about it.

Anyway, the Insanity 0.3.3 is insanely insane... Love it ! Great job nitr8, once again ;)
[Galaxy S I9000 Android Development] mark.doe:
dont know if it was my mistake but I couldnt flash Swype-West and StartupSounds in CWM Recovery Menu, it hangs there...
[Galaxy S I9000 Android Development] nitr8:
Works fine here.. what error messages you getting? what version are you running?

guys please be a bit more specific when asking questions...

Q) My car wont start...

most people will ask have you put petroleum in.

A) "Oh btw I lost the keys...."
[Galaxy S I9000 Android Development] KingOfSola:
Thanks for a great ROM nitr8!

I'm also a big fan of hardcore's speedmod kernel. As I see it it is THE kernel atm, stable and With very good battery life. I've read through a lot of posts here and understand you don't use it because of an incompatibility with ROM manager. What exactly does he have to change to make it compatible?
[Galaxy S I9000 Android Development] aladin6:
Super Optimized kernel is also a very very good kernel !! it has a very good battery too ;) !
[Galaxy S I9000 Android Development] aladin6:
nitr8, i have a question, and PLZ try to answer me:

The activating of lagfix(EXT4 all for example) can it affect battery life ?
[Galaxy S I9000 Android Development] TrOjAnUK:
Yes

TrOjAn
[Galaxy S I9000 Android Development] leoon:
Any update on Gingerbread Keyboard nitr8?
[Galaxy S I9000 Android Development] TrOjAnUK:
Not yet... its not high on the priority list but its there..

TrOjAn
[Galaxy S I9000 Android Development] uppon2:
Sometimes the file will not be visible until you reboot your phone. After that be sure to check carefully as they have some very unusualy names sometimes
[Galaxy S I9000 Android Development] mark.doe:
Dont worry, was just asking if you heard about it, if it's working on your side than I double check my downloads. CWM was unpacking it, and then just hangs.

Maybe zips are corrupt, I fix that myself then.

Also flashing R64 theme and glassy theme over it made the fon not start anymore, so the themes from Panse and Darky are incompatible, just a tip for others.

BTW, 0.3.3 is really really good, I am happy with it.

I flashed the Modem JPD over it. Together with Screen Filter on 50% I get Battery life of 2 days without any problem (normal use, 10 emails per day, some surfing in the evening, 5-10 calls, etc..)

keep up the work
[Galaxy S I9000 Android Development] aladin6:
Please can you type *#1234# and see the modem version!

I installed JPD Modem with ROM Manager but i have in phone:JPE !!!

Thank you very much .
[Galaxy S I9000 Android Development] uppon2:
That is normal with JPD modem. Happens on older firmware also
[Galaxy S I9000 Android Development] aladin6:
so it's JPD despite it's showing JPE ?
[Galaxy S I9000 Android Development] mark.doe:
Same here. As checksums of jpd and jpe are different they are nevertheless different. So I dont care.

Without google software and bg checking of some appa I could beat 3days uptime. Thats fair enough.

Does anybody know of or is using already a 1750mA battery?
[Galaxy S I9000 Android Development] beserk1:
as much as I love this ROM, is lacking 1 key feature that makes me want to switch to another ROM

I cannot read any special character, one way to check is go to google.cn with any browser, all the character is square.

There maybe only a handful of us that need special characters, but it would be nice if someone can add the fonts as addon like how you did it with GMail, or at least provide some type of assistance to achieve this.
[Galaxy S I9000 Android Development] nitr8:
I already have from the time I removed the fonts. If you had read this thread you would of known... Install the full swype pack west or east and your problem is solved.
[Galaxy S I9000 Android Development] beserk1:
My appoligies.

Last time I did exactly the samething, but and when I switch to the regional swype, whenever I want to type something, the keyboard would not come up.

I dont know if you have fixed that problem or not, but I remove the swype apk myself and just install the font and it work
[Galaxy S I9000 Android Development] el afortunado:
Is the "/etc/init.d" folder supposed to be in "/system"? Cause with me, it is.
[Galaxy S I9000 Android Development] moosechuckle:
Hey,

I wanted to post here and say thanks for such a fantastic ROM. It works very well and is nice and speedy (which is a relief considering how godawful stock is).

I really like how slimline it is (I hate bloatware) and also the spreadsheet and installation instructions. OTA updates through CWM really takes the cake!

I made a donation as a thank you for all the work put into it.

The only problem is when I access Favourites the screen is very slow to scroll.

Either way I wanted to pop on and say thanks, I heart this ROM.

Edit: Got the lagfix working.
[Galaxy S I9000 Android Development] d0nald01:
if i use handcent as my main messaging app, and miren browser as my main browser app, can i remove mms.apk and browser.apk?
[Galaxy S I9000 Android Development] HKcow:
Installed the Swype-East.zip by CWM and then force close everytime I call the keyboard. Any idea?
[Galaxy S I9000 Android Development] catchfire:
nitr8 and crew..... still loving your work.

cheers
[Galaxy S I9000 Android Development] uppon2:
Yes. That is correct. There are 2 releases of JPD I9000BVJJPD from US and I9000ZSJPD from Asia. The one you have installed has been around for a few months now *apparently has better battery life* and it's the Asian release.

They released JPE very shortly after which to my knoweldge they are both the same thing besides JPD was perhaps more of a beta release even though it was official.

If you want to use the JPD modem I would personally use the JPE modem from the later release simply because it was released after and is newer but still using the same structure. You can download the whole file from the link below. You only need to flash the modem.bin in PHONE no repartition with odin. Not sure if there is a CWM file for it

See for yourself. Both the JPD and JPE files on samefirmware are IDENTICAL and the exact same size just different release dates so I would bank on the later release.

Here is the later release *password for extraction is samfirmware.com*

http://www.multiupload.com/A9VE99TC4J
[Galaxy S I9000 Android Development] nitr8:
Thats right /etc is symlinked /system/etc/ so therefore its irrelevant.
[Galaxy S I9000 Android Development] reiteravi:
tun.ko still wont work for me

i use vpn_connections to get through cisco vpn

your rom is the only that cant do

even after using kernels that load it for sure

puzzles me....
[Galaxy S I9000 Android Development] nitr8:
I am glad you like it :)

Thank you so much. This keeps me inspired and keeps me going....

Could you elaborate a bit more please? I dont quite follow.
[Galaxy S I9000 Android Development] nitr8:
Looking into this for you please pm me your email address
[Galaxy S I9000 Android Development] mark.doe:
I tried the different way now instead of using the zip and installed Swype-West through the ROM Manager.

But since then the process com.swype.android.inputmethod crashes every time I open any program. have to download better keyboard now or look for Swype from another ROM :-(
[Galaxy S I9000 Android Development] nitr8:
What language?
[Galaxy S I9000 Android Development] mark.doe:
West

need EN-DE-NL
[Galaxy S I9000 Android Development] nitr8:
100% sure coz i use it daily is EN-DE in west works i will test NL as soon as i am finished 0.3.4
[Galaxy S I9000 Android Development] monstereo:
hi guys! i'm new to the Galaxy S forums, was wondering which is the recommended modem to use to run this rom
[Galaxy S I9000 Android Development] RolluS:
As far is I'm concerned, I love JPE.

JP5 and JPD may be good also (note JPD and JPE are nearly the same except for US region)
[Galaxy S I9000 Android Development] xExisioNx:
Just installed this rom v 0.3.3.

Finally i got something i can live with. Used to have darky's rom, but ever since v6+ i havent almost been able to use my phone because of terrible battery time.

This rom has awesome battery time, very smooth. :D