yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] iso188:
Did you try it?
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
Yea. It felt better than 9.8
[Galaxy S Advance I9070 Original Android Developmen] ljubimci:
It's the most stable version, definately. No lags at all in games, Youtube, camera and video. Go for it, Surfers are smooth as butter ;)

PS: finetune it with ondemand/sio combination with 200/1000 cpu freq.
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
feature request

[MENTION=4832589]cocafe[/MENTION] can u add "charging off at 100%" like CM in this kernel ?

btw how to disable GPU clocks at half freq ? i tried static freq. but it still goes at half and then jump to full when needed :rolleyes:

i'm on latest beta
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
GCC 4.7 binaries can not be executed on my computer...

I should ask someone for a working copy.

Thanks for report...

You can.

mount -t ext4 -o rw /dev/block/mmcblk0p9 /preload

busybox dd if=/dev/zero of=/preload/swapfile bs=1024 count=60000

busybox mkswap /preload/swapfile

busybox swapon /preload/swapfile

Then you will have 60mb swap in /preload

But it doesn't look like as active as zram.

Maybe you need to adjust /proc/sys/vm/swappiness

Charging off at 100% ?

Looks like a good idea....

Will make it soon...

Hmm, you can use abb-fg cycle charging to implement this:

cd /sys/kernel/abb-fg

echo dischar=100 > fg_cyc

echo rechar=50 > fg_cyc

echo on > fg_cyc

That will make it discharge at 100%, and recharge at 50%

In fact, the GPU clock will be adjust by DVFS_APP, when requires more performance, it will use fullspeed..

I have got my score (not bad), now I am choosing a college to go..

Thanks for understanding for months!
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
Yeah.. take a look in my Signature.. oiled kit kat project .. you will find a script , with them script you have real Static GPU Clock ----> 100% and 100% DDR Speed !! By default DDR in IDLE is 25% by screen off. and in idle 50% .. and with load --> 100% .. but this makes the device less responsiveness .. but it consumes minimal more power when it runs all the time @ 100% DDR and 100% GPU Clock !!

I use this, and i'm very happy.. it's faster and smoother.
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
:)good that u like idea n will implement it :victory: n i'll wait for built-in ( very lazy to use terminal commands :silly::p )

i was just curious to check whether it's better with static or not ... never mind

and yah you are right about swap it's not good even i feel it was bad idea:silly: any way i wanna check n i did.... more stuck ups with it... so disabled ..

thats gr8:good: what stream/subject you r going to choose ?
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
I got 30mb swapped....

Software Engineering maybe?

Hmm, I check the first and the second script pack.

I think the DVFSAPP will override ape_opp and ddr_op in /d/prcmu at least.. Did you check the ape_stats and ddr_stats?
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
Yes, i have 99% time @ 100% ape and ddr :D

For DDR and ape 100% and optimized ondemand governor...

it's optimized for min. cpu 400mhz and NOOP Sched.

#!/system/bin/sh
sleep 90

# optimize cpu governor ondemand

echo "90" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo "10000" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate

# set gpu and DDR @ fullspeed

echo 100 > /sys/kernel/debug/prcmu/ape_opp
echo 100 > /sys/kernel/debug/prcmu/ddr_opp

Note: i set in this script a sleep 90 command.. but u can simply removed this sleep command and set the sleep 90 command in the file: /system/bin/sysinit to make sure that the Kernel don't overwrite our script / settings in kernel !! so all scripts in init.d works properly !

For me that works like a charm !!
[Galaxy S Advance I9070 Original Android Developmen] diecast:
Hello everyone i have a galaxy s advance with stock jellybean rooted with greenify and ram manager pro! I have cocore kernel 8.2 for about many months!also i have cpu no frills and have it on smartassv2 and sio 1000 maximum 1000 minimum! Can anyone tell me if i should flash any new version of the kernel? Is it worth?will i see any difference in perfomance?

And also suggest an other good combination for cpu?

Thx in advance :)
[Galaxy S Advance I9070 Original Android Developmen] AsquareX:
yes it will be worthful...

you can try pegasusq + sioplus combination :)
[Galaxy S Advance I9070 Original Android Developmen] diecast:
What kernel version should i try?? And i flash it in the same way as 8.2?

Now on 8.2 i dont that option sioplus right?
[Galaxy S Advance I9070 Original Android Developmen] AsquareX:
yes the same way, i used 8.6 long back, it had good combination. However it is not over clockable. You can try any from 8.8+ if u want to overclock
[Galaxy S Advance I9070 Original Android Developmen] diecast:
I want something to improve perfomance a bit! Lately with 8.2 i have some bad lags! You have any other suggestion for cpu nofrills on 8.2?
[Galaxy S Advance I9070 Original Android Developmen] emwu_:
stick with stock kernel. cocore is pretty laggy overall.
[Galaxy S Advance I9070 Original Android Developmen] ljubimci:
It's not laggy, he's pushing the kernel far too much.

Setting both minimum and maximum value to 1000 is just out of logic, who needs that? You have to give your phone a breath. It's like riding a mountainbike on maxspeed all the time, no matter if its uphill or plain terrain... it's just not possible, or in theory it is possible but you'd be drained as hell and fall breathless at some moment, same as processor "lags"... it cant stand the pressure to be on maximum all the time and it blocks, restarts, cuz you're not giving it space to manipulate it's values. It does not lag, it's you that are pushing it beyond it's possibilities, and your needs too, you don't need your phone to work on 1000 freq even when it sleeps.

8.2 is damn stable kernel, comparison to stock is just nonsense, [MENTION=3682105]cocore[/MENTION] did magic for this phone and if you don't know how to use it then don't underestimate it. Samsung's kernel is trash comparing to this and if there was no cocore this phone would be trash also.

Put minimum values to 200 and maximum to 1000 in NoFrills.

Use ondemand (or pegasus).

Use sio.

It's as smooth as butter, and you really need no overclock because it runs perfectly as it is. Try and be happy. And your battery life will improve also.
[Galaxy S Advance I9070 Original Android Developmen] diecast:
Omg man thx you so so much for the tip!!! I will definetely try this!!!

Thx you again!!

About the combination ram manager pro and greenify? Its ok right?
[Galaxy S Advance I9070 Original Android Developmen] ljubimci:
I don't use any ram manager apps, trully. Just clean debloated lq4 firmware and cocore 8.2. It manages ram for my needs pretty good, sometimes i go to longpresshome and kill processes manualy in factory task manager but no additional apps.
[Galaxy S Advance I9070 Original Android Developmen] iso188:
Thanks guys for your help. I flashed the kernel and did as [MENTION=5315278]ljubimci[/MENTION] said and my phone became much better than before :D
[Galaxy S Advance I9070 Original Android Developmen] Nishad1982:
Rubbish!!!
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
Hello, hope someone can help me. I want to write an init.d script for stopping charging at 100%. In an earlier post cocafe wrote:

Hmm, you can use abb-fg cycle charging to implement this:

cd /sys/kernel/abb-fg

echo dischar=100 > fg_cyc

echo rechar=50 > fg_cyc

echo on > fg_cyc

That will make it discharge at 100%, and recharge at 50%

When I tried this in terminal, the discharge shows 45% and not 100, which is why I want to have a script for this.

so, I have this written for the script so far:

#!/system/bin/sh

echo dischar=100 > /sys/kernel/abb-fg

echo rechar=50 > /sys/kernel/abb-fg

echo on > /sys/kernel/abb-fg

someone familiar with scripts, please confirm it is right please. let me know what errors (if any) I have. thanks in advance
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
First enable the "abb-fg" and so put it to the first line, and then set its values, try in this way...
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
you mean like this:

#!/system/bin/sh

echo on > fg_cyc /sys/kernel/abb-fg

echo dischar=100 > fg_cyc /sys/kernel/abb-fg

echo rechar=50 > fg_cyc /sys/kernel/abb-fg
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
Yep, I think it should works

Inviato dal mio GT-I9070 con Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] Nishad1982:
The newest build comes with TWRP only?
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
nope it failed and so did this one:

#!/system/bin/sh

echo on > /sys/kernel/abb-fg/fg_cyc

echo dischar=100 > /sys/kernel/abb-fg/fg_cyc

echo rechar=50 > /sys/kernel/abb-fg/fg_cyc

set proper permissions and owner also. most puzzled :confused:

also, doing it manually in terminal with the echo on first, did work.
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
Did you leave an empty line at the end of the script? Did you formatted the text in UNIX format? It is very strange

Inviato dal mio GT-I9070 con Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
made it in notepad++ and no empty lines
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
In init.d script you should leave at the end an empty line
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
blank line, no blank line, no working lol
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
Have u set 755 as file perms? I really don t know man

Inviato dal mio GT-I9070 con Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
No nothing like that but most beta versions comes vith twrp ...

May be cocafe personally like it ;) or may be it is easy to do stuff in twrp

No luck for me either for init.d

btw may be next vierion will come with inbuilt feature for this untill then u can use ECO Battery Protector if u like :p

....................................................................................................................................................................................................

[MENTION=4832589]cocafe[/MENTION] will u plz write new versions/beta release in announcement so that we (who follows thread) can get instant Email notification ?

.
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
permissions are rwxr-wr-w with owner set to root-0 so I dunno either lol

---------- Post added at 04:25 PM ---------- Previous post was at 04:21 PM ----------

thanks but no thanks lol... and hope that we can get a script working...
[Galaxy S Advance I9070 Original Android Developmen] :
Permissions should be rwxrwxrwx. (Both of them; init.d folder and scripts too)
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
the other scripts work with those permissions which are set for both folder and scripts... will try that tho...

edit: that didn't work either... oh well.
[Galaxy S Advance I9070 Original Android Developmen] :
Unzip it, copy-paste, set right perms (rwrwrw) & owners (root:0 root:0). Maybe it will work...
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
that did it! thanks a bunch. first attempt at making script failed for me LOL, again appreciate it...
[Galaxy S Advance I9070 Original Android Developmen] :
Is it working or not ?

Edit: Hm I get you now, it didn't work. :(
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
No it DID work. Ghanks fof your assistance :D

Sent from my GT-I9070

---------- Post added at 10:54 PM ---------- Previous post was at 10:52 PM ----------

Yes yes yes it worked !!!!

Sent from my GT-I9070
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
Question on new CPU OC Driver:

I see now we can set the Vbb Voltage in the Slots.. For lower Frequencys it is setted @ 0xDB and for higher CPU Freq. is setted @ 0x8F.

What is the min. and max. adjustable Vbb voltage ???

Please in the easy Way: 0xDB = xxx Volt etc...

Thanks in advance !!!
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
OT

(OT Post)

To use GPU only, I know that I should remove 0 0 android from egl.cfg, but should I change the other line to 0 0 mali or keep it as

0 1 mali? Because on many webpages and threads, I've seen it as 0 1 mali, not 0 0 mali as Cocafe mentioned in OP...

Any help is appreciated :)
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
Ok I Found that on Git Hub by Cocafe:

https://github.com/cocafe/i9070_ker...a2f4b87/drivers/regulator/ab8500-debug.c#L837

Perhaps it can Help...

But i still don't know how many Volt is 0x8F [MENTION=3214832]vbbx[/MENTION] !! [MENTION=4832589]cocafe[/MENTION]
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
+1 same Q

Even [MENTION=4982868]hastalafiesta[/MENTION] make init.d with "0 1 mali" in his app

Btw i tried both 0 0 & 0 1 sometime ago i didn't feel noticeable changes
[Galaxy S Advance I9070 Original Android Developmen] jadega:
malideveloper.arm.com/develop-for-mali/drivers/open-source-mali-gpus-linux-kernel-device-drivers/

[MENTION=4832589]cocafe[/MENTION] Since new mali 400 drivers are out , can they be used in building cocore kernal???

maybe it can help in solving GPU related problems
[Galaxy S Advance I9070 Original Android Developmen] :
Both 0 0 and 0 1 are working. Truly I don't see any difference
[Galaxy S Advance I9070 Original Android Developmen] netchamp.faris:
only this kernel has in-call ui call recording...so is it possible to hav this feature in any kikat roms or other than stock roms????
[Galaxy S Advance I9070 Original Android Developmen] :
Call recording and kernel ? No it should be about ROM not kernel.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Replied your PM.

I am afraid that it is too difficult to port, and we also need to compile higher level driver like android egl stuff. :(

Do not know too much, i use

0 0 mali

, and it looks faster (placebo?)

---

Testing refresh kernel, maybe will push it here tonight.

:( I am planning to buy a new phone, to be honest.
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
I was checking your github regularly... n it looks u put lot effort in last 2-3 days for this build:):good: so it's ganna be legendary !;)

:rolleyes::crying::(:eek:

So sad for our device :p

We'll miss u a lot !
[Galaxy S Advance I9070 Original Android Developmen] ftheriau01:
Re: [Kernel][02/24/2013] CoCore-E 4.2

hi all anyone can tell me if this is right or help to correct

View attachment 1763335

View attachment 1763337
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
attachments aren't visible. best to respost them.

vBulletin Message

Invalid Attachment specified. This can happen for a variety of reasons-- most likely because the thread or post you are trying to view has been moved or deleted. Please return to the forum home and browse for another similiar post.
[Galaxy S Advance I9070 Original Android Developmen] ftheriau01:
Re: [Kernel][02/24/2013] CoCore-E 4.2

hi all anyone can tell me if this is right or help to correct
[Galaxy S Advance I9070 Original Android Developmen] SuperLamic:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Can someone tell me why varun says he can increase mali L2 cache to 70kb ?? And cocafe says max value is 48kb...
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Similiar setting didn't work for me. I installed busybox in system/bin.

You can check by typing

cat code you added

without echo xx >

in terminal emulator or in ADB shell on PC.

Like :

cat /sys/module/mxt224e/parameters/touch_boost

And you will see value. I out touch screen response to 15, and it is not changed after reboot.
[Galaxy S Advance I9070 Original Android Developmen] frapeti:
cocafe would you mind making this kernel insecure? I mean to be able to "adb root" (including recovery too), not a big deal but I'm used to it when I need to push and try things quickly XD

Thanks!
[Galaxy S Advance I9070 Original Android Developmen] b3dna:
what about this app from Chainfire? I use it quite extensively :)

http://xdaforums.com/showthread.php?t=1687590
[Galaxy S Advance I9070 Original Android Developmen] d14gvn:
Kernel featured in the forum "Chile Android", link to the post:

http://www.chileandroid.com/t15378-apps-kernels-mejora-el-rendimiento-de-tu-s-advance

It's all right? Cocafe I've refered the kernel to this post in the spoiler, it is ok? please tell me :)
[Galaxy S Advance I9070 Original Android Developmen] mixvega:
R: [Kernel][02/24/2013] CoCore-E 4.2

Hi cocafe i have set governor pegasusq and i/o sio, max freq 1.0 ghz and min freq. 200 mhz. Why i have this situation ?

The freq. Is setting only on 1.0 ghz min and max ?

Inviato dal mio GT-I9070 con Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Check here:

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

http://xdaforums.com/showthread.php?t=1389214&page=2

Maybe some apps are playing sound all the time.

Check what apps are running.

Check /default.prop

The secure is 0 :D

Check here:

http://xdaforums.com/showthread.php?p=38173882
[Galaxy S Advance I9070 Original Android Developmen] mixvega:
R: [Kernel][02/24/2013] CoCore-E 4.2

Ok thank's it's not a bug, but in the moment that i used no-frill cpu the freq. Min jump to max it'ok ?

Inviato dal mio GT-I9070 con Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/24/2013] CoCore-E 4.2

He both increases size and reads to 70kb.

Idk why.You should ask him :p:p

Yes.

No-fills show dynamic freqs
[Galaxy S Advance I9070 Original Android Developmen] er.jaldip:
Re: [Kernel][02/24/2013] CoCore-E 4.2

I want to create swap file with ramexpander.

But i am getting message as shown in screenshot.

Any solution?

Samsung Galaxy S Advance

Rom : Jelly Bean 4.1.2 I9070XXLQ4

Kernel: CoCore E-4.2-TWRP
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/24/2013] CoCore-E 4.2

We have a large memory,swap is low active extremly.

So i haven't enabled swap. :)
[Galaxy S Advance I9070 Original Android Developmen] carlese:
ok, i would say that deep sleep is working now, but it kicks in later than other kernels.. in cocafe kernel deep sleeps starts after 4-6 mins of screen off, while in other kernels after 1-2 mins.. is there a setting to change this?
[Galaxy S Advance I9070 Original Android Developmen] frisky_bg:
Re: [Kernel][02/24/2013] CoCore-E 4.2

U must have an app keeping your phone from sleeping.

GT-9070 | Stock XXLQ4 | CoCore-E 4.2
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Dude,must have app(s) wake up your phone.

Yes

BTW,i am updating Mali Utilization Control explanation,please check it soon guys.:)
[Galaxy S Advance I9070 Original Android Developmen] SuperLamic:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Can you add mali overclock too in next release??
[Galaxy S Advance I9070 Original Android Developmen] carlese:
ok, everything works well now after another full charge.. i have a question: is it possible to implement UV rather than OC? i don't mind having the phone at 1.2ghz, but i would really appreciate the undervolt.. i heard it was technically impossible at the moment though..
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Trying trying...

I have been looking into the source on my phone for days..

No computer now. :)

The code i have written, no computer to compile.

Sorry :)
[Galaxy S Advance I9070 Original Android Developmen] netchamp.faris:
no the kernel has this feature...any one knows how to hav the same in any kitkat roms???

the kernel has 2-way-call-recording so its records voice clearly

anybody knows how to patch a kernel for 2-way-call recording???
[Galaxy S Advance I9070 Original Android Developmen] MikiGry:
So i my s advance will never see stock/stock based rom again !! CM / AOSP forever !!!!!

Wysłane z mojego nexusowego tablecika.....
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
[Last build here]

[Change log here]

Rebuild from initial source (XXLPY).

Enabled 100MHz for power saving now, minimum 200MHz by default.

Added a memory freer (testing still.)

:fingers-crossed:
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
Initial feel of the latest build is good :thumbup:
[Galaxy S Advance I9070 Original Android Developmen] LuciIT:
Very good in my opinion. It's the first time I get over 10000 points in antutu on stock rom thanks to this last version of kernel. Very good job [MENTION=4832589]cocafe[/MENTION]:good::laugh:
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
Someone might be a little upset with World cup? Recent events are causing a lot of mess :p

Anyways, I've downloaded the new kernel.. Will test it tonight.. So far, I'm satisfied with CoCore E 10.0..

EDIT: Installed the kernel a few minutes back. Will let you guys know how my experience is/was... :)
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
The refresh kernel is running much more smoothly than the other cocore 10 beta a few pages back. Nice! First impression is definitely positive. Will keep testing and report anything out of the usual.
[Galaxy S Advance I9070 Original Android Developmen] yeholipsker:
Wow! I have nothing else to say...

How can it be? Smoother, faster and stable! High five :)

Thanks cocafe, in the meanwhile works like charm on my s advance.

I will report if I'll find problems.

:'(so sad to hear u want to leave us :'(
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Haha, have no money now...

Please test something like video playback...

Oops, stupid Samsung writes some useless kernel message spams.. i removed it

Indeed, World cup caused some messes. xD

Thanks.
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
I noticed that pegasusqplus was not in list of latest build. Intentional? If so, how come?

Sent from my GT-I9070
[Galaxy S Advance I9070 Original Android Developmen] 115dan:
Verry smooth but video playback doesn't work on 720p, on 360p and 480p works....
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
I removed some governors which are not frequently used ...

Require PegasusqPlus?

I prefer ondemandq and interactiveq ...

You mean local video playing or website?
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
I prefer pegasusqplus so will go back to v10 for now. :D

Sent from my GT-I9070
[Galaxy S Advance I9070 Original Android Developmen] 115dan:
Website, Viral Pro, stock video player... I hear the sound and screen is black.

I'm using HarshJelly 5.2, on Cocore 9.8 video playback works.
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
The new build is great!

No major performance hiccups were noticed. I played Dead Trigger for a while.. It lagged for the first few seconds but it became much smoother later on.. The UI feels smooth too - just like in version 10.0.

The battery discharges slowly when the phone is idle or when its not used - that's a good thing :good:

However, when Power saving mode is enabled, my phones slows down (a little more than usual).. I chose 200 MHz as minimum but still it occurs. I don't recall experiencing this on version 10.0, so I thought of sharing it :)

Sent from my GT-I9070