yashsingh1/xdaforums huggingface dataset:
[Galaxy 3 Android Development] vleutmans:
cpu state in standby/ screen-off

@sephirothmk

I also noticed that in standy screen-off , the cpu was 50% at 200 Mhz and 50% at 1200 (ultimate).

Now with setcpu I had to change the up-treshold (on-demand governor) from 95 to "99%" to get rid of the CPU clock flipping to max freq. even on idle. Imagine the power you save with this setting :-).

My current setcpu profiles (I'm on g3mod 1.4 performance, my preferred)

screen-on: 200-1000 Mhz on-demand

screen-off: 200-600 Mhz on-demand

charging (for GPS nav in car) : 600 Mhz performance (no heating or gps issues with navigon)

setcpu advanced settings :

sampling rate : 80000

up theshold : 99

ignore nice load : 0

powersave bias : 0

I didn't change "any" voltage BTW. try to have a stable phone instead:-)
[Galaxy 3 Android Development] FadeFx:
did you judge your idle cpu state using setcpu´s time in state? it does not show deepsleep, which will be most of your idle time, check again using cpuspy and you will see what i mean...
[Galaxy 3 Android Development] vleutmans:
@FadeFx

I will try cpuspy, but how do you explain then when I set up treshold to 99% that cpuset is correctly measuring deepsleep @200 Mhz ?

Anyway, I will try cpuspy, set the up-treshold back to 95% (default) and compare with setcpu.:D

Thanks :-)
[Galaxy 3 Android Development] FadeFx:
deepsleep is a seperate cpu state, what you see in setcpu is only the cpu states when in use, so (time before you lock the screen + prox 20sec that it waits before going to deepsleep) + time after waking up. if u set up threshold to 99 this means that the cpu swithces up to the next higher frequency only if the load exceeds 99% so hence why you get better measurements. however, 99% is not suggested since this could reduce reactivity of the device meaning u will possibly expirience some lags. also if you leave setcpu open for a while and watch the time in state, you will see the 200mhz percentage state rise slowly.

however try cpuspy and you will see what i mean...
[Galaxy 3 Android Development] jpbranco:
FadeFx i'm using now cpuspy, and "deepsleep" are in "unused cpu states" i'm using test-performance kernel to give feedback to dharamg3, how can you explain this? is something wrong?
[Galaxy 3 Android Development] FadeFx:
did you let your device sleep?
[Galaxy 3 Android Development] Dharam_Maniar:
check this out :)
[Galaxy 3 Android Development] Dharam_Maniar:
Guys, I am still waiting for the battery test feedbacks...
[Galaxy 3 Android Development] FadeFx:
i still didnt install the test kernel, as its a 800mhz version and i prefere ultimate....
[Galaxy 3 Android Development] fuxmen:
ther is ultimate version for about 48h.... based on 1.5.1
[Galaxy 3 Android Development] Dharam_Maniar:
what ??? I've added performance and ultimate versions to test...

anyways, just wait for everyone's feedback now...coz there are some feedbacks that phone is getting switched of earlier..around 20-30%..so waiting for conformation..coz i've made some coding mistake then...

but dont understand what...it is clearly coded for 100-0 :(
[Galaxy 3 Android Development] FadeFx:
uups, seems i missed that one ;-)
[Galaxy 3 Android Development] Dharam_Maniar:
does the early switch of problem come to you ? or anyone else ?
[Galaxy 3 Android Development] fuxmen:
now i have 3800mV and 63% and i think that little bit too much % for that amount of voltage, today i will drain him to die and send feedback

I'm playing movie full brightnes 1200mhz now, soo i think in 1-1,5 h it will die
[Galaxy 3 Android Development] cool.darshak:
am again testing for this issue..lets see if this happens again :)
[Galaxy 3 Android Development] moole:
It does for me on ultimate test version you released so I switched back to 1.4 Ultimate.
[Galaxy 3 Android Development] ka'cipeder:
It turns off at 25-30%, at 3.5-3.55v depends on calibration I suppose.
[Galaxy 3 Android Development] fuxmen:
Mine too...
[Galaxy 3 Android Development] Dharam_Maniar:
OK, thank you for the feedback :)

I'll try to do something :)
[Galaxy 3 Android Development] guziolek91:
I've got 35 % when is 3600mV ... Not good :(
[Galaxy 3 Android Development] Dharam_Maniar:
yup...i'll check out.. :)

working on that only now...
[Galaxy 3 Android Development] moikop:
I was charging my phone, when it said that the battery was full. I let it connected.. half an hour later (or so), batt percent was 95% and going down :S

I just stopped charging, when I think that Samsung's kernel just left it go down to 9X% and then recharge...

Also, the batt percent is going down much more quickly that how it did on 1.5.1 Ultimate (don't know if this is because it's not calibrated or the batt hasn't adapted the kernel or whatever XD)

G3Mod Battery test based on Ultimate.
[Galaxy 3 Android Development] i_rnb:
Dharam , thats it I was sayin in fb grp.. :)
[Galaxy 3 Android Development] Pinak.ahuja:
I'm having the same problem on battery test performance version.
[Galaxy 3 Android Development] Dharam_Maniar:
Yes, thank you for the feedback :)

I am in talks with marcellusbe for some idea on battery driver...hopefully he can help me out with some good idea... :) and maybe we can have v1.6 by tomorrow night :)
[Galaxy 3 Android Development] FadeFx:
do u think a look at the sgs battery driver could help?
[Galaxy 3 Android Development] Dharam_Maniar:
I looked at that...much different..wont help i think...i tried the spica driver also...but all give problems...

So i will mostly stick to the default one only, with a lil changes...just confirming some ideas with marcellusbe...

All the above already Done ^^^
[Galaxy 3 Android Development] Pinak.ahuja:
My phone turned off at 20% .

Battery test performance kernel
[Galaxy 3 Android Development] moikop:
I don't know if this is caused by the kernel or what. But when I try to take a screenshot with DDMS, I just cant because I see this.
[Galaxy 3 Android Development] NishantM:
I was using the battery test kernel ultimate since yesterday. Didn't notice any improvement on battery backup. And yes, for me too, the phone switched off when the battery was around 20 - 25%. Don't know the exact % as the last time I saw the battery %, it was 25% and after sometime when I took the phone out for calling, it was off.
[Galaxy 3 Android Development] Digibonez:
Think after wiping battery stats, you should do at least two FULL battery cycles. If you don't do so, I think the callibration is not done correctly which in turn lead to a mispresentation of the battery status. Please help me if I'm wrong.

Send from my Samsung GT-5800.
[Galaxy 3 Android Development] Digibonez:
Still having 75% after using phone for 16h during it's 3rd cycle after flashing. Didn't do anything to save on battery usage. Used mobile data connection all the time and called/txted several times.

Drain was much faster during the first 2 battery cycles.

Still same config:

Kyrillos 7 with battery test - ultimate kernel

Send from my Samsung GT-5800.
[Galaxy 3 Android Development] LarryMetal:
Yes, me too. Phone died while it showed 25%. Dharam, my opinion is that the driver used untill 1.0.2 was very good.

I'll try one more cycle.
[Galaxy 3 Android Development] moikop:
That seems to be right... it happened to me too!
[Galaxy 3 Android Development] jpbranco:
other feddback :P

as you know i'm using for 2 days the test-performance kernel, it's really better than other kernel's with 100% sure :D the battery stays on 40% since 9PM to until 10AM (11hours) it's very very good for me, this morning i played battleheart for about +/- 1 hour :P and battery droped to +/-35%.

I went to work as needed and put the phone charging from 35% up to + / - 60% now, the battery is 37%, made ​​many calls, played battleheart again (on my break: P), used the GPS for over an hour to test, I used very little Wi-Fi, and used the phone a lot to show to my brother (bought today galaxy ACE :P) so I think the driver of the battery is actually very, very good ... congratulations for the excellent work. and I have always used with the performance governor 1000Mhz (used 800Mhz yesterday) I believe the battery with other governors last more ... the brightness of the screen always the half, and only data connection on (3G) for about 20 minutes or so ...

dharamg3 you want me to use 3G data connection always on? I will not work these days I can test better :P
[Galaxy 3 Android Development] Godyn:
Desperatly hoping G3mod 1.6 can format ext4, because now it's not possible for my SD card
[Galaxy 3 Android Development] Dharam_Maniar:
Sdcard partitioning works only for ext3...you can do that and then convert to ext4 using g3mod app...
[Galaxy 3 Android Development] Dharam_Maniar:
Hopefully we have got Kernel Flashing via CWM working again... :D
[Galaxy 3 Android Development] mohitgalaxy3:
Feedback:

USing it since day bf4 yesterday battery backup is fine almost good, I only have one problem that while paying music the phone get freeze....

Edit: didn't saw the link for feedbacks sorry.. :)
[Galaxy 3 Android Development] FadeFx:
Woo, bigups to u...

----------------------------------------

tapatalked
[Galaxy 3 Android Development] Dharam_Maniar:
Starting to build one by one, and upload on http://code.google.com/p/g3mod/downloads/list
[Galaxy 3 Android Development] mohitgalaxy3:
Waiting for ultimate to upload... :D
[Galaxy 3 Android Development] NishantM:
Downloaded Ultimate. Flashing it right now...
[Galaxy 3 Android Development] mohitgalaxy3:
Thankyew thankyew...flashing :D
[Galaxy 3 Android Development] Benjamin_L:
Will there be zip files without cwm?
[Galaxy 3 Android Development] mohitgalaxy3:
Didn't get it....

.zip files are flashable via CWM...and yes they are available
[Galaxy 3 Android Development] mohitgalaxy3:
:(

1.6 ultimate.....

This one also got freeze while playing music with power amp.
[Galaxy 3 Android Development] Benjamin_L:
Oh sry, didnt notice since since 1.4 there havent been zip files.
[Galaxy 3 Android Development] Dharam_Maniar:
how did you manage to get a freeze...damn..i am testing from 3 days without a single freeze
[Galaxy 3 Android Development] fuxmen:
Im testing now ultimate, With Power AMP, At last no sound click on Screen off :)
[Galaxy 3 Android Development] criminal_007:
Maybe He have a chip problem :p

like mine can't be OCed Over 1Ghz :(

Edit : My phone is working flawlessly at 1.2ghz = max = min :D

G3MOD 1.6 rocks :D
[Galaxy 3 Android Development] Benjamin_L:
1.6 extreme doesn't detect my sim card
[Galaxy 3 Android Development] mohitgalaxy3:
Well IDK it's not what I want :) but your every kernel freeze my phone while playing music using power amp...

Is this because of partitions?
[Galaxy 3 Android Development] NishantM:
Sound click on screen off is still there for me :(. I'm on ultimate.
[Galaxy 3 Android Development] Dharam_Maniar:
Works perfectly fine for me...something wrong try again..

i dont know...if each kernel freezes while playing music using power amp so something else is wrong...
[Galaxy 3 Android Development] mohitgalaxy3:
I don't think so...I have oced cpu to 1366mhz with fugumod without a freeze and oced with G3MOD but got freeze.... :(
[Galaxy 3 Android Development] kyrillos13:
Good Job dharam. Flashing now...
[Galaxy 3 Android Development] mohitgalaxy3:
At least suggest me something.....because didn't got freeze on fugumod even on 1366 mhz.

According to me mhz is not a problem should I re-install power amp again from market bcs I restore it everytime?
[Galaxy 3 Android Development] Dharam_Maniar:
hmmm...try using for sometime without poweramp ?
[Galaxy 3 Android Development] fuxmen:
Maybe there here but not noticable for me like before :)
[Galaxy 3 Android Development] NishantM:
Retried again after a reboot. Sound click on screen off is still there. I doubt he Dharam has fixed it, as the changelog doesn't say so.
[Galaxy 3 Android Development] Dharam_Maniar:
not fixed...it is difficult to debug
[Galaxy 3 Android Development] shr33kant:
It could be due to the sd card speed...I used to get sound clicks them I got a new sd card, went from class 4 to class 10. Now with a2sd+ with swap even I get no problems regarding this. Btw now using 1.6 ultimate and its very smooth will report on battery after work.
[Galaxy 3 Android Development] NishantM:
I don't think so. Because, on the same phone with same ROM, sound click problem disappears when I flash Fugumod Beta3 kernel.
[Galaxy 3 Android Development] jpbranco:
Why battery driver is back to original one? :(
[Galaxy 3 Android Development] abhijeet.pathak:
Compcache?

Does 1.6 include compcache?
[Galaxy 3 Android Development] Dharam_Maniar:
Because my coded driver was giving some problems...Original one means the one used during the prev versions of the kernel

yes :)
[Galaxy 3 Android Development] abhijeet.pathak:
But /proc/compcache does not exists. Have you disabled the compcache statistics?
[Galaxy 3 Android Development] jpbranco:
The only problem i have is when phone have 20~30% of battery he turns off. Just this :p i like your battery driver. For me is better than original...

Other thing... Compcache and superchanger cannot work together right?
[Galaxy 3 Android Development] Dharam_Maniar:
try it like this way...

C:\adb>adb shell
# free
free
total used free shared buffers
Mem: 250844 241944 8900 0 11352
-/+ buffers: 230592 20252
Swap: 62700 10160 52540
#

numbers at SWAP line means Compcache is working...

if there are 0's means it isnt...

http://wiki.cyanogenmod.com/wiki/Swap_and_Compcache
[Galaxy 3 Android Development] abhijeet.pathak:
Yep.. I tried that.. Its working..

62700 means pages/bytes/KB/MB?
[Galaxy 3 Android Development] Dharam_Maniar:
http://linux.about.com/library/cmd/blcmdl1_free.htm
[Galaxy 3 Android Development] mohitgalaxy3:
62700 kb...
[Galaxy 3 Android Development] mohitgalaxy3:
Feedback:

Dharam 1.6 is running super smooth...

Just one thing I want to ask that it consume ram much is there something related to swap thing.

IDK much about that just read it on some post...Ram is free arnd 70mb.

But even phone is not lagging on 70mb free ram?
[Galaxy 3 Android Development] Dharam_Maniar:
hmmm, even i dont have much knowledge about that...

people wanted a try on compcache so i activated it :)

i wait for feedbacks...i compare the feedbacks of kernel without compcache and with compcache...if with compcache wil say that it is lagging, then i will disable it :)
[Galaxy 3 Android Development] dhirend_6d:
Ok so any difference between 1.5 and 1.6 LITE??
[Galaxy 3 Android Development] Dharam_Maniar:
refer changelog :)
[Galaxy 3 Android Development] dhirend_6d:
Now what is NOOP?? :D :eek: I ll search in google. :D And compcache works good. Don t disable it.
[Galaxy 3 Android Development] Dharam_Maniar:
noop is the default Scheduler...and less laggy :)
[Galaxy 3 Android Development] FadeFx:
Compcache is like a swap partition in a compressed ramdisc, means it will use a tad more ram, but it will make actually more out of it. It wont lag as it is runing in physical ram and does not need much cpu to do the compression/decompression. Btw, 70mb free is nothing bad, only if free ram goes below 32mb (vm heap size) this could possibly cause lag.

----------------------------------------

tapatalked
[Galaxy 3 Android Development] kyrillos13:
Hmm ultimate version voltages raised? :P

Undervolt:

200/400/600MHz = -100mV

800/1000/1200MHz = -150mV

:D
[Galaxy 3 Android Development] Dharam_Maniar:
yup... more people can get 1200MHz working then :D
[Galaxy 3 Android Development] kyrillos13:
Yeah no problem :) thanks to uv.

Sent from a parallel universe
[Galaxy 3 Android Development] Dharam_Maniar:
I'm working on something interesting, if it works then i'll PM you the details :)
[Galaxy 3 Android Development] kyrillos13:
Okay. I am looking forward to your pm :)

Sent from a parallel universe
[Galaxy 3 Android Development] fuxmen:
I want undervolt, like before got freeze, now lost all data, 100 FC and need to wipe/faactory reset **** :( :(
[Galaxy 3 Android Development] Dharam_Maniar:
Undervolt like before ?
[Galaxy 3 Android Development] cool.darshak:
Flash 1.6 extreme via CWM...no sound shuttering for me at all...super smooth no lags at all...will report back about battery soon

Thanks dharam for awesome kernel
[Galaxy 3 Android Development] fuxmen:
before i had -75mV to all, and -100mV to 200mhz, in 1.6 when U rise voltage i want to make voltages like i have in 1.5.1 and undervolt more ;) But this kind of behaviour i have before. Flash, doing something after boot got freeze restart, loong boot and had like after factory reset ;/

Its okay im restoring right now, but it is little bit anyoing. I think its because i had to hard reset device when it not finish boot, scanning etc
[Galaxy 3 Android Development] Dharam_Maniar:
well, sorry for changing, but if all goes well with v1.6, then i wont touch the OC part again unless it is absolutely necessary :)
[Galaxy 3 Android Development] sambastrakan:
UV problems ?

Hi,

I'm also facing problems with UV or anything else ?

With the same values than v1.4 & 1.5 I've freezes.

Then I change the values to lower ones, running fine with benchmark

Then reboot ... and freeze during boot ! and I need to wipe data. it's the 5th time it happens today ... there is a problem ...
[Galaxy 3 Android Development] gbverhoeven:
Battery assage

Hello,

big thanks for this kernel. I use the 1.6.0 Lite kernel now for 3 ours. My data is always on. I do 4 Calls (Total 20min.) and i use navigate software for a half our, and i browsing on the internet. I start with a full battery and after this use, the battery show me 96%...WOW:eek:

Thanks for this Kernel....I'ts the best for me!:D
[Galaxy 3 Android Development] fuxmen:
Another freeze, only -75mV like before and doesnt work for me ;/ soo no uV for now for me,
[Galaxy 3 Android Development] sambastrakan:
@Darahmg3: This problem does not appears with the Ultimate version ...

[EDIT !! ] : Phone just freeze right now ...

Going back to v1.5.2 to see ...
[Galaxy 3 Android Development] NishantM:
Using the ultimate version since the last 5 hrs, not even a single freeze! I tried all the situations when it used to freeze, it didn't freeze at all !!!

Great work indeed Dharam!!!
[Galaxy 3 Android Development] Dharam_Maniar:
Who wants to see Multi Boot via CWM on G3MOD ?

AND PLEASE MENTION HOW MANY ROM's :D :D :D
[Galaxy 3 Android Development] ka'cipeder:
um..... let me think.... EVERYONE!?!?!?
[Galaxy 3 Android Development] Criminal23:
Multi sounds great!

2 Roms. For testing Cyanogen ;-)

Sent from my Galaxy 3 - Kyrillos Rom / G3Mod Ultimate Kernel
[Galaxy 3 Android Development] Pinak.ahuja:
That's awesome ! :D :D

2 would be enough if one of them can be cm7 and one froyo.
[Galaxy 3 Android Development] cdesai:
I'ld like 3

One stock

Two custom froyo

Three cm7

But multi boot is more buggier than dual boot

But still its nice

Or let users allow use any number of roms (aka true multi boot ) so that sd size is the last barrier
[Galaxy 3 Android Development] guziolek91:
3. It will be good to test some ROM's :)
[Galaxy 3 Android Development] FadeFx:
I will provide a update.zip that removes s_volt_sheduler script to be safe from problems like stuck on boot...

----------------------------------------

tapatalked
[Galaxy 3 Android Development] psiva2010:
Hi Dharam,

Woowwww good Multiboot ur rocking man. Waiting for that.

I have installed 1.6 extreme via CMW i had lot of freezes on 1000 Mhz and 1300 Mhz.

Some time my phone screen is flickering,

1.5.2 1300 is gone well but battery drain,

here 1.6 battery is really good.

One Question are you working 1366 Mhz speed?

Now im going to try 1.6 Ultimate, i come back with you feedbacks.

Sorry for bad english.

Siva.
[Galaxy 3 Android Development] NishantM:
Multiboot would be great!!!

U rock man!!!
[Galaxy 3 Android Development] Mohanshbhr:
3 roms, ye dil mange more
[Galaxy 3 Android Development] Sergiales:
one ultra mega simple and fast boot rom and another like CM7 or Krillos or whatever :)
[Galaxy 3 Android Development] naaney:
Can i install the kernal on the official jpq?
[Galaxy 3 Android Development] i_rnb:
Yes.. U can.. :)
[Galaxy 3 Android Development] ratnakar_choudhary:
Hi,

I have installed your v1.6 ultimate version. I have a question is it by default overclocked to 1200 or I should use setCPU app to set the min and max?
[Galaxy 3 Android Development] kyrillos13:
Default is: 800Mhz - Performance governor :) Install setcpu.
[Galaxy 3 Android Development] ratnakar_choudhary:
any suggestion on values that I should select in set cpu ?
[Galaxy 3 Android Development] :
dharamg3

Can you add kernel support for usb-OTG?

Galaxy 3 chipset support

"On-chip USB 2.0 OTG controller and PHY transceiver supporting high speed"

Probably this can help you: http://xdaforums.com/showthread.php?t=993152
[Galaxy 3 Android Development] aarrun:
dude u r

TRUE LEGEND:D
[Galaxy 3 Android Development] ronjan:
Thanks from a grateful user :)

Hi dharma,

1st up am proud you are an Indian :), hats off to guys like you ! My father-in-law had struggled with his SG 3 for a year before I got it off him in exchange for a new phone and now am running it at 1.4 Mhz off 1.6 Ultimate kernel over the official i5801DDJP2 - and it simply zooms !!! Thanks boss !

One last qn though - I guess CWM is enabled in your kernel but how do I access it ? My ROM manager still shows no CWM is installed and when I try to choose a phone model from the dropdown menu for CWM installs - I don't find SG 3 !!
[Galaxy 3 Android Development] Raunak44:
v1.6 really great thanks its working gooooood
[Galaxy 3 Android Development] Dharam_Maniar:
Thank you everyone.

It is different from the way apollo implemented.

This method needs you to activate the ROM using CWM Recovery.

There will be option in CWM which ROM you want to activate.

Currently it will work with Froyo ROM's till I get g3mod kernel working for CM7.

Advantages of Using This Method:

1) More than 2 ROMs.( I will keep max 10 for all the Flashing Maniacs )

2) Odin can be Completely Removed for flashing ROM's(You can Flash new ROM's via Odin and still have Multi boot )

3) The current ROM, can be used as a single ROM, with Update.zip's and everything.

4) You can have any ROM, at any position.

5) While Switching ROM's You WONT Lose Your DATA,APPS,MESSAGES, CONTACTS

Disadvantages of Using This Method:

1) Switching takes time, not as fast as apollo's.

2) Currently, on switching dalvik cache is cleard, and so bootup takes time.
[Galaxy 3 Android Development] insane_subro:
Bro I want only one ROM but without problems !!!
[Galaxy 3 Android Development] cop1976:
Very good job with 1.6 ultimate. I'm using it for 6 hours now. No single freezes and very good battery life. I unplugged phone from charger 4 hours ago I have mobile data on all the time and I have a still 100%. governor on demand 200-1200 with screen on and 200-800 screen off. great job, kernel is perfect.

Sent from my superfast Galaxy 3
[Galaxy 3 Android Development] Raunak44:
dharamg3 it is posible to port your rom dual boot???
[Galaxy 3 Android Development] Dharam_Maniar:
ROM Manager doesnt work...

you need to go manually into CWM recovery (Vol Up + Vol Down + Home + Power)
[Galaxy 3 Android Development] Dharam_Maniar:
With Multiboot in my kernel, all ROM's can be used...
[Galaxy 3 Android Development] Raunak44:
how to plz tell me i am not expert.
[Galaxy 3 Android Development] fuxmen:
I have one question, i try extreme version, but after boot ~20s screen wend black but have in right corner yellow line soo not all black. What it can be? Im not starting to OC it happend before start to OCing
[Galaxy 3 Android Development] JackStow:
i dont see too much advantage on multi boot.. i know its an improvment for our phone.. but since the hardware still the same, i think the best way is implement an very good kernel like yours, and a very good room like kyrillos and its enough.. a secundary boot rom, will be only to test some roms, but not for daily use... but its just my opnion, keep doing ur awesome work..
[Galaxy 3 Android Development] Mohanshbhr:
Ultimate work boss;);););););););)