yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] jb901:
What is the best Kernel (Cocore) with the best Battery Performance?

Gesendet von meinem GT-I9070P mit Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] yasje:
9.0 smooth and fast! But drains more battery then 8x.

When use cpu on1.1 max then i can do 7 hours max...
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
Under volt it, I've under volted it and getting good battery backup.
[Galaxy S Advance I9070 Original Android Developmen] yeholipsker:
Can u explain me how to undervolt and generally about undervolting?

Maybe a thread about it?
[Galaxy S Advance I9070 Original Android Developmen] Bulgaricus:
A possible OC FIX!! Works for my I9070P!! I use the I9070 kernel with the GPU OC (last one) IT MAY FAST DRAIN THE BATTERY!!!

First of all delete all CPU apps (apps like No-Frills and others....)

then install this app: https://play.google.com/store/apps/details?id=com.danez.cpusaver&hl=it

open it and tweak it:

min: 200 MHz

max: 1228MHz

Lock: 1228MHz

Scaling: I use pegasusq...

then enable the options: Set Lock and Set on Boot

[MENTION=4832589]cocafe[/MENTION] thanks for this amazing kernel :3

ENJOY :victory::D

DO THIS ONLY IF you dont have deep sleep!

EDIT: Deep Sleep may not work! so change the deep state to 4 or 5 :D (5 can not work so good so go to deep sleep state:4)
[Galaxy S Advance I9070 Original Android Developmen] yeholipsker:
Didn't work for me... random reboots

:(:(:(
[Galaxy S Advance I9070 Original Android Developmen] Bulgaricus:
:( bad... worked for me as charm... 1h of using the phone still 0 reboots
[Galaxy S Advance I9070 Original Android Developmen] harshitandro:
Oc'ing depend only on chip quality guys . This had been told a no. Of times here ....

Look at mine .

Its with oc to 1.2 ghz with hotplug n sioplus .

Running it from 4 days . Zero reboot . No fc . Battery backup of 1d &few hrs ........

No tweaks....

Nw say . Its all related to chip . So if one workaround worked for anyone necessarily not mean it will work for u ..

So just try ur luck.....
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
Didn't work for me either. reboots. Had to go to safe mode to get ride of the cpusaver. If anyone does try this, DO NOT SET ON BOOT until you know it works, just sayin'
[Galaxy S Advance I9070 Original Android Developmen] Bulgaricus:
reboots like before or it need more time to get into a reboot?
[Galaxy S Advance I9070 Original Android Developmen] Omer89:
It's amazingly works for me :D

Thanks [MENTION=5261186]Mr.xD97[/MENTION]
[Galaxy S Advance I9070 Original Android Developmen] Bulgaricus:
hah yey im not alone... NP enjoy that CPU OC xD :highfive:
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
reboots before phone is fully started, on 1228, lower freq take a bit longer but still happens
[Galaxy S Advance I9070 Original Android Developmen] petrix1:
Amazing bro!! Working for me too:beer:

Edit: after 2hours a have a lots of restart but these metode not working for me.
[Galaxy S Advance I9070 Original Android Developmen] Bulgaricus:
then try a low clock.... 1,2 or 1,1...

---------- Post added at 12:53 PM ---------- Previous post was at 12:53 PM ----------

great :highfive:
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
Is there anyone else who's using version 9.0 and is having problems with YouTube app?

Video playback is fine everywhere but it lags terribly when I play any video on the YouTube app.. My phone stutters a lot (along with the video playback lag) and I either have to stop using it for several minutes or pull out the battery to stop it...

Sent from my GT-I9070
[Galaxy S Advance I9070 Original Android Developmen] :
Are you doing OC ? If you; try without OC (Give max 1000 as on stock)
[Galaxy S Advance I9070 Original Android Developmen] carlese:
Deep sleep not working.. I am using gsam battery monitor to monitor the apps and here is what I get.. What are these wakelocks and how can I get deep sleep to work?
[Galaxy S Advance I9070 Original Android Developmen] mathei:
Deep sleep work.:cool:
[Galaxy S Advance I9070 Original Android Developmen] Vayper_fr:
I have a problem with this Cocore-E 4.2, I can't do a logcat. What is the problem ? Thanks
[Galaxy S Advance I9070 Original Android Developmen] carlese:
ok, so there is a problem with my phone.. what can i do? i tried to reflash the kernel but no luck..
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/24/2013] CoCore-E 4.2

This is not a problem.

I make logcat as module then freed 4mb RAM.

Because i need dmesg only.:rolleyes:

Sorry..
[Galaxy S Advance I9070 Original Android Developmen] mathei:
You have applications that work in the basement. Try DS Battery Saver of Google Play :laugh:
[Galaxy S Advance I9070 Original Android Developmen] Vayper_fr:
Re: [Kernel][02/24/2013] CoCore-E 4.2

So there is no way to enable logcat? A command line?

Envoyé depuis mon GT-I9070
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Yes.I am updating posts.Please check it in some mins later
[Galaxy S Advance I9070 Original Android Developmen] Vayper_fr:
Thanks, it worked :laugh:
[Galaxy S Advance I9070 Original Android Developmen] fbs:
minfree not sticking when set with init.d

# pwd

/system/etc/init.d

# cat 2minfree

echo 9040,12896,16752,19800,22656,26512 > /sys/module/lowmemorykiller/parameters/minfree;

# cat /sys/module/lowmemorykiller/parameters/minfree

7040,8896,10752,12800,14656,16512

....why ?
[Galaxy S Advance I9070 Original Android Developmen] :
Write this (start of script)
[Galaxy S Advance I9070 Original Android Developmen] petraru1:
i flashed your 4.2 kernel, at first i was having some random lag in nfs most wanted, but after a cache and dalvik wipe everything si super smooth.

I am using it from 24.02 and i must say that this is your best work, the battery life and performance are so well balanced so thank you my friend
[Galaxy S Advance I9070 Original Android Developmen] carlese:
R: [Kernel][02/24/2013] CoCore-E 4.2

Cocafe check your kernel.. I was having deep sleep problems, I did a full wipe, changed rom, restored everything but no luck.. Then I tried the other two kernels (siri and tz) and deep sleep works just fine.. So please fix cause your kernel is the smoothest one :)
[Galaxy S Advance I9070 Original Android Developmen] frapeti:
give excecution permission to the script :p
[Galaxy S Advance I9070 Original Android Developmen] Dhakkon:
6970 antutu score, best one i've achieved so far with any kernel in JB. Congrats on you cocafe
[Galaxy S Advance I9070 Original Android Developmen] ming86:
How is the Charge cycle control work?

From my understanding, Ezekeel's bettery life extender is to stop charging when the battery reach some level like 95% or 90%. it is correct?

I set it to 5, how to know if it is working.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/24/2013] CoCore-E 4.2

It will recharge 2 times more.

No.

Sorry,fix it yourself.

Check other thing may relate(governor,sys apps...)

Other guys deepest sleep works.
[Galaxy S Advance I9070 Original Android Developmen] er.jaldip:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Samsung Galaxy S Advance

Rom : Jelly Bean 4.1.2 I9070XXLQ4

Kernel: CoCore E-4.2
[Galaxy S Advance I9070 Original Android Developmen] d14gvn:
The 4.2 version is AMAZING!!!

Can you add the SmartAssV2 governor in the next version? :D :D :D please please please!!
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Thanks

:thumbup:

Hmm.Will consider this ;)

I got some ideas about control the clock

But no computer to test :p
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
Hmm yeah.. I'll give that a try.. thanks :)

Sent from my GT-I9070
[Galaxy S Advance I9070 Original Android Developmen] d@rkl0rd:
I don't have that problem here :)
[Galaxy S Advance I9070 Original Android Developmen] Tarola:
+1 with oc and without oc on any governor.

LE: reverted to 6.8 (previous version that I use) and go back to 9.0 no lag
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
^^ Then why am I having this issue..? :/

Sent from my GT-I9070
[Galaxy S Advance I9070 Original Android Developmen] sasank360:
No problem here. I tried every freq above 1GHz(1.05 to 1.228). I always use performance guv while OCing and other guvs give FCs and random reboots. Try with performance guv when setting cpu@ >1GHz. Good Luck.
[Galaxy S Advance I9070 Original Android Developmen] paparazo:
Why my device is restarting when I want to off this device while charging?
[Galaxy S Advance I9070 Original Android Developmen] yeholipsker:
Having the same problem. Also in mx player sometimes. Even when my cpu is 1.0.
[Galaxy S Advance I9070 Original Android Developmen] :
Unplug charger, power down then plug charger.
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
[MENTION=4832589]cocafe[/MENTION], can you modify our kernel to store the TWRP backup into the internal SD card? I thought it would be nice if you could help me out with something. My MicroSD card has become corrupt all of a sudden!! :p
[Galaxy S Advance I9070 Original Android Developmen] :
Can't you move backup to internal ?

It shouldn't be just internal or just external. We need choose it so it should be optional in TWRP menu.
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
The MicroSD card itself is corrupt, system can't read it.
[Galaxy S Advance I9070 Original Android Developmen] 87Fra87:
Hi i have i9070p with android 4.1.2, root e recovery cwm v6.0.3.3 (i don't know because cwm show me: warning: No file_contexts). I have some question:

1 Can i flash directly with my recovery CoCore-9EP from here http://xdaforums.com/show...postcount=3066 ?.

2 If i flash CoCore-EP-9.0-TWRP.zip with cwm recovery, What happens?.

3 Why recovery show me this message: warning: No file_contexts?

4 What is the last recovery cwm?

5 If i want twrp What i do?
[Galaxy S Advance I9070 Original Android Developmen] d@rkl0rd:
You can ignore the warning, it don't affect anything.

1. Yes, but make sure you are on stock/ stock based ROM.

2. It will give you TWRP recovery instead of CWM recovery

3. It is shown since newer version of cocore kernel( I forgot which version onward), you can ignore it

4. Not sure which version is the latest but all versions perform the similar function, no worries

5. Flash cocore-EP with TWRP
[Galaxy S Advance I9070 Original Android Developmen] isaak:
/sys/kernel/liveopp - no such file or directory...

This is my under_volt.sh... accepting any suggestion to correct this script.

cd /sys/kernel/liveopp
echo set_volt=1 > arm_slot0
echo varm- > arm_slot0
echo varm- > arm_slot0
echo varm- > arm_slot0
echo varm- > arm_slot0
echo varm- > arm_slot0
echo varm- > arm_slot0
echo set_volt=1 > arm_slot1
echo varm- > arm_slot1
echo varm- > arm_slot1
echo set_volt=1 > arm_slot2
echo varm- > arm_slot2
echo varm- > arm_slot2
echo varm- > arm_slot2
echo varm- > arm_slot2
echo set_volt=1 > arm_slot3
echo varm- > arm_slot3
echo varm- > arm_slot3
echo set_volt=1 > arm_slot4
echo varm- > arm_slot4
echo varm- > arm_slot4
echo varm- > arm_slot4
echo varm- > arm_slot4
echo varm- > arm_slot4
echo varm- > arm_slot4
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
Make sure you're using cocore 8.8 or above for under volting. Earlier versions of this kernel didn't have the liveopp directory under /sys/kernel

Script is okay but seeing how much you've under volted arm_slot 4, i think your device might get unstable.
[Galaxy S Advance I9070 Original Android Developmen] isaak:
I'm already using cocore 9.0....
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
First do this:

ls /sys/kernel

If it shows liveopp folder within /sys/kernel then proceed with the under volting.
[Galaxy S Advance I9070 Original Android Developmen] isaak:
It shows it... but the problem is, my sh script has some errors inside it or simply it doesn't work.

Voltages are always the same and no error from terminal to find out the cause.
[Galaxy S Advance I9070 Original Android Developmen] Shadowcareful:
Just a question is it on cocore kernel possible to use cpu overclock for exemple 1100mhz with ondemand or similar governor ? And that stable ?

And is it smoother with oc to 1100 mhz without using performance governor?
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Stability depends from phone to phone. Like OC potencial of PC CPU. Some can be overclocked to some value, others will hit the "wall".
[Galaxy S Advance I9070 Original Android Developmen] Shadowcareful:
But it is possible ? Using overclock with ondemand and getting a performance boost? And if I say stable I mean that it does not reboot directly after overclocking
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
I was getting reboots. Someone else did not. You must try and see how your phone will react.
[Galaxy S Advance I9070 Original Android Developmen] gugav:
battery is discharging very fast

overclock CPU increased the voltage?
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
Yes

Try under volting.
[Galaxy S Advance I9070 Original Android Developmen] gugav:
ok, started overclocking kernel from which, you know?

thanks
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
Sorry, I couldn't understand what you said.
[Galaxy S Advance I9070 Original Android Developmen] jagnik:
how can i under volt ??
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
Check out the 1st Post or a couple of pages back where I had told one of our fellow members about under volt.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
I come back with good news.

Mali GPU overclocks [MENTION=896385]710[/MENTION]MHz, scored 50.9fps in Nenamark2.

I found that we had 320MHz(MAYBE) on GB (35fps), then 400MHz on JB (37fps).

The power OC unleashed is amazing!

But we can only have ≈700MHz maximum. Benchmarks FC at 720MHz+.

Minecraft has texture errors at 710MHz.

BTW, GPU rendering enabled.

I just improved CPU OC algorithm today. But haven't done it yet.

It works better now.

A simple Mali governor like CPU governors will be written soon...

But be aware that I only have some hours to develop in a week.

And there is an big exam related to my life around the corner.

Thanks for patience anyway.

Only if my SGSA isn't burnt, I will continue developing CoCore.....(slowly now)...

EDIT:

1. Experimenting Low-power-audio feature, to have more audio playback time.

2. Someone posted a multicore app to solve OC issue. Hmm, that do inspired me. Single core do needs less power. And single core can be OC [MENTION=425767]130[/MENTION]5MHz...

But real solution is in the kernel code.
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
OC gpu [MENTION=282156]700[/MENTION]+ o.O really!!!! You r awesome man :D take your time for new bulid

n best of luck for exam :)
[Galaxy S Advance I9070 Original Android Developmen] Omer89:
With GPU OCed @518MHz I got 46.1fps in Nenamark2

---------- Post added at 06:31 PM ---------- Previous post was at 06:28 PM ----------

With GPU OCed @518MHz I got 46.1fps in Nenamark2

& I'm waiting for that 700+ OC :)
[Galaxy S Advance I9070 Original Android Developmen] sasank360:
Wow....you are truly amazing dude :D. When I thought i9070 cannot be overclocked you came up with cocore 8.8.

Then GPU and now [MENTION=4486812]700MHz[/MENTION] is amazing. Good Luck with your work and exams. Ofcourse we will be ready to pounce on your latest kernel release and give report. Good Luck again. :)
[Galaxy S Advance I9070 Original Android Developmen] nss357:
Holy ****, 700mhz?! WOW

The maximum fps I get @518mhz is 46.6fps, and now we're gonna get 50fps, thanks to you Cocafe, awesome job man :good:

Let's hope your SGSA's never gonna get burnt, ever :laugh:

.. and good luck on your exam, bro :good:
[Galaxy S Advance I9070 Original Android Developmen] Sachinist:
My phone cant be overclocked whenever I try to set values above 1.0 the phone freezes and restarts
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
http://xdaforums.com/showpost.php?p=50903919&postcount=3206
[Galaxy S Advance I9070 Original Android Developmen] Sachinist:
Yea ik I read that before m unlucky :p
[Galaxy S Advance I9070 Original Android Developmen] artur1131:
Can u explain pls? Do this mean that we will be able to OC one core to 1305 and the 2nd to 1228? Or u just get an idea how to OC both of them to 1305 by trying this app?
[Galaxy S Advance I9070 Original Android Developmen] rodaven:
Good luck with your exam dude, if you are the half smart of you are developing you have nothing to worry about.

Enviado desde mi GT-I9070 mediante Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
Well he's talking something like tegra 3, single core (core 0) tops at 1300 MHz whereas when more than 1 core is running, i.e. say core 0 + core 1 then it tops out at 1200 MHz. That is dealt with at the kernel level.
[Galaxy S Advance I9070 Original Android Developmen] srikanth_gadde:
android terminal commands pls

i want to oc my gpu i just flashed cocore 9 through UKF

pls help me with commands to oc my gpu
[Galaxy S Advance I9070 Original Android Developmen] coffeecore:
Deleted.
[Galaxy S Advance I9070 Original Android Developmen] srikanth_gadde:
messedup with android emulator commands

i try to type some commands

and i lost my internal memory or sdcard it is not mounting help me
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
You need to tell us what commands? Did you try to reboot phone? Most commands reset to default after reboot.
[Galaxy S Advance I9070 Original Android Developmen] yasje:
nah i just go back to 8.8 :)
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
[MENTION=4832589]cocafe[/MENTION]: wonderful news :D Can you try games like asphalt 8 or real racing 3 and see if there is anymore lag?:D
[Galaxy S Advance I9070 Original Android Developmen] :
He can't bcs he is working for his exams. If you believe that you'll have good results then you can try and let us know.
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
The kernel with OC gpu to [MENTION=896385]710[/MENTION] MHz is not released.Or im wrong? Thats why i asked him,but when have time.Im just curious how it is in games.
[Galaxy S Advance I9070 Original Android Developmen] Bulgaricus:
no ur not wrong... if the GPU clock is at 710Mhz then it must be smooth as hell :D
[Galaxy S Advance I9070 Original Android Developmen] londheaakash:
battery life ???
[Galaxy S Advance I9070 Original Android Developmen] attadinata:
Guys, Command for gpu oc not possible, there's no mali_clk on sys/kernel/liveopp so can't be executed.trying to manual add using rootex but failed to add it. Correct me if iam wrong [emoji17]
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
It works for me at least
[Galaxy S Advance I9070 Original Android Developmen] attadinata:
What version do you use, please teach me
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
Use latest version 9.0
[Galaxy S Advance I9070 Original Android Developmen] pipyakas:
flash the md5 in the post, not the zip file at the first page. I got that problem at first
[Galaxy S Advance I9070 Original Android Developmen] sasank360:
For those who are unable oc gpu, follow these steps to install the kernel properly.

You can use UKF or create a flashable zip(This is what I did.)

Download the GPU OC Beta 'kernel.bin.md5' and also the latest cocore 9.0 kernel flashable zip.

Extract the zip file and replace the 'kernel.bin.md5' with the gpu oc file you downloaded. Then zip those files and sign it using

any program. Flash it in recovery and you have gpu oc kernel. I recommend using [MENTION=4982868]hastalafiesta[/MENTION] 's cocore manager app to OC gpu.

Using terminal emulator is risky if you do not know what you are doing. GOOD LUCK.
[Galaxy S Advance I9070 Original Android Developmen] quanlim:
Guys, can I install custom roms with this kernel? Or I have to flash back to stock kernel before flashing rom with twrp?
[Galaxy S Advance I9070 Original Android Developmen] Razvan:
Yes, you can install.

Powered by CM11
[Galaxy S Advance I9070 Original Android Developmen] quanlim:
Thanks~~
[Galaxy S Advance I9070 Original Android Developmen] gonxsster:
For me it's not stable and I find it very difficult to set up the perfect balance between battery life and performance. I experimented several reboots in minor tasks as navigating on twitter or opening battery stats.
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Not all phones can be stable with overclock. It is a matter of luck.
[Galaxy S Advance I9070 Original Android Developmen] gonxsster:
I have found the way to made it work at 1228 mhz but the battery drain is notorious, other governor than "ondemand" will require more battery life to work. Not complaining, I'm just exposing my experience. Hoping to see good results in near future.
[Galaxy S Advance I9070 Original Android Developmen] fbs:
When will people realize that there's a BUG in the way this kernel switches between one overclocked frequency to another? That's why it can only get stable if you FIX it on a frequency (like when using "Performance" governor). What crashes the phone is the kernel switching frequencies back and forth, back and forth, back and forth, back and forth, back and forth because the set up governor wants to.

So, let's wait for the bug-fix.
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
It still doesn't explain why some phones (like mine and many others) can run the full 1.28 ghz OC with any governor doing whatever it wants with the clock speeds in between. It's quite strange indeed.
[Galaxy S Advance I9070 Original Android Developmen] kamalnath93:
Because its based on amount of silica or quality of the SOC used...... so many phones differ,ex.some phones cant even handle higher than 1ghz...... :)
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
I know that. I was the first, or among the first, to point that out when the OC capabilities appeared some months ago.

What is hard to explain is why some phones can run 1.28ghz at fixed clocks with performance governor, but can't switch clocks with any other governor; that leads to crashes. Strange. If you have enough voltage to run 1.28ghz, then you have enough voltage to run 1050 mhz and above (all those steps are set at 1.36v, checked the voltage tables)
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
Any chance of getting a F2FS kernel for our beloved device?
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Yes, it do depends on chip quality (luck :))

But there are some issues in the OC algorithm. It might fix in the build i am using.

I have been sticked at *other* issues for some weeks. I was trying to add more available frequencies, device failed to boot, still debugging this.

And, now confirmed, there is a hotdog(thermal sensor) in PRCMU, which will reset device when temperature of SoC die is too hot.

I got reboot with 1228MHz + Performance after running 6 times ATT while charging.

There isn't any hotdog driver or CPU cooling driver for our SoC in my kernel tree, but it exists in STE upsteam kernel tree. (It's controlled by HW now)

EDIT:

en.m.wikipedia.org/wiki/F2FS

F2FS? You mean this?

EDIT1:

F2FS exists in LK3.8+

Don't know whether it's easy to backport, but it isn't widely used yet.
[Galaxy S Advance I9070 Original Android Developmen] snowcloud:
F2FS is used by motorola in moto g on kernel 3.4. However i can not say that whether it can be back ported to 3.0.:(
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
By F2FS I mean Flash Friendly File System. It's been tested on nexus devices and surely improves performance compared to ext4 file system.
[Galaxy S Advance I9070 Original Android Developmen] fbs:
Did you run it for 2-3 days and are you sure the frequency was changing back and forth? Governors may obey the min/max set values, and if you set min to 1.28, no switches would occur.. :silly: