yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
2-3 days... nope, since day one the OC kernel was released. Using any app that shows time spent in each speed bin, you could easily see the phone jumping through every step from 200 mhz to 1.28 ghz without a single problem, be it on stock 4.1.2 or a CM based rom with an OC kernel.

So, again. If you can run 1.28 ghz with voltage x, then it's not a problem for that particular CPU to run slower frequencies with the same voltage. This is the case. Check the frequency tables, you'll see voltages high enough for every step above 1050 mhz up to 1228 mhz. It's not a matter of silicon quality here, you're lucky enough that you can OC those 228 mhz out of the CPU, but you still get hangs with frequency switching. Maybe a bug in the OC algorithm that shows up in some phones but not in others? Cocafe hinted to that in one of his posts above.

Quite the strange ocurrence.
[Galaxy S Advance I9070 Original Android Developmen] d@rkl0rd:
[MENTION=4832589]cocafe[/MENTION] not sure you know about this or not, http://xdaforums.com/showthread.php?t=2691624 , maybe we can have USB OTG working in the future :)
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Nope, He just enabled VOTG which is the same as our POWER SUPPLY feature what is done months ago.

EDIT:

Sorry, I can not see clearly on the picture he posted.

It looks like there is a arrow.

But he just post the code which enables VOTG only.

In fact, about a month ago, I have managed to get MUSB registers work.

But OTG did not work properly still.
[Galaxy S Advance I9070 Original Android Developmen] fbs:
// if (early_suspended && freq > pcpu->lulzfreq_table[screen_off_min_step].frequency) {

// freq = pcpu->lulzfreq_table[screen_off_min_step].frequency;

Why? :confused: lol

Lulzactiveq is forced to 200mhz when screen is turned off :mad:

:D
[Galaxy S Advance I9070 Original Android Developmen] pipyakas:
Error when enable swap
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Setup disksize first: (example: 96mb= 96×1024×1024)

Quote:

echo 100663296 > /sys/block/zram0/disksize

You probably put size that is more then there is space in that partition. It is written in your error.
[Galaxy S Advance I9070 Original Android Developmen] pipyakas:
i want to use swap not zram, that cmd is for zram
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
I made a typo

It should be mmcblk1p2

Why not use a SWAP file, its more flexible.
[Galaxy S Advance I9070 Original Android Developmen] pipyakas:
I already have one in /cache, but i think swapfile is not as good as a swap partition

Btw, how do we setup the swap partition size?
[Galaxy S Advance I9070 Original Android Developmen] dagger:
There's an option for it in cwm recovery advance->partition sd card
[Galaxy S Advance I9070 Original Android Developmen] pipyakas:
I have a 8gb sd card but recovery only support 4096mb max, cant use that
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Lol 4GB swap is toooooo much.

I will recommend max 1Gb swap.
[Galaxy S Advance I9070 Original Android Developmen] pipyakas:
No, i mean that cwm let u choose sd card size and swap size right? Both only sp 4gb max. Then if i only want 512mb swap or so i cant have the 3.5gb not-partitioned
[Galaxy S Advance I9070 Original Android Developmen] yasje:
Is this good?
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
I suggest you to use PegasusQ as governor and SIOPLUS or SIO as IO scheduler.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
You can partition it on Linux OS like Ubuntu.

But I recommend ZRAM

SWAPFILE isn't active as zRAM.

Set 200MB zRAM size, it will compress a lot RAM.

Test it yourself. This is default setting.

---

I will have a short holiday in two days.
[Galaxy S Advance I9070 Original Android Developmen] yasje:
ok i will try! Thanks!
[Galaxy S Advance I9070 Original Android Developmen] pipyakas:
But can i use /cache as zram disk?
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
I just came back home today.

And this is the INDEV build, intending to test NEW OC algorithm.

Be aware that 1250Mhz is 1228Mhz actually.

I tried 1244 1238 1236 Mhz, all are unstable. So fixed at 1228MHz now.

Frequency table has been adjusted.

Check /sys/kernel/liveopp for more info.

And about mali governor, it looks as if this platform GPU isn't good at scaling.

It does not work as expected.

Test OC, and report.

Will test OTG soon. I tried SDcard reader at that time (sdcard reader failed!), but forgot to test mouse or keyboard.

This build do not have GPU OC. Intending to test CPU OC only.
[Galaxy S Advance I9070 Original Android Developmen] avithohol:
Hi Cocafe, thanks for the great work you have done and doing for our novathor devices :good: :highfive:

I have found something peculiar(my device is ace 2), in antutu when I run the benchmark i get around 450 points for RAM speed when the device is clocked at 800 mhz, but when its clocked at 1200 mhz my score drops to 360~70 points. DO you have any idea why is this substancial drop in RAM speed performace and can we overclock ddr speed ?
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Post the thread of kernel you use here...

I need to investigate something...

We can tweak DDRPLL, but that isn't stable at all.
[Galaxy S Advance I9070 Original Android Developmen] avithohol:
TC/CM 11 last build from Rox, for codina.
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
glad to see u back :)

just installed.... i'm using interactiveQ , sioplus @1.2 Ghz

in my opinion this is better than previous version bcz i didn't get any reboot in game TempleRun2 with high quality graphics as previous version.. and it runs even smoothly :)

btw i got 3 random reboot

1st one on 1st bootup ( i think i was in too hurry to unlock so it rebooted after just unlocking )

2 n 3rd while writing this post via dolpin browser in mobile

check logs if u like.... ( used same setting as above in all )

Edit : just a suggestion , when u arrive at version 10 make is as CoCore-X instead of CoCore-E10 (if u like )
[Galaxy S Advance I9070 Original Android Developmen] DEMONVoz:
So OC works with any governor???
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
That's what we have to test (stability)
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
So far I am stable at 1.1 gig :) using pegasusqplus and sioplus. No random reboots for two hours of normal use. Internet, streaming video on FB, texts, some music, and 1 phone call. Will go up a notch soon and report. Thanks for the 9.6 :D

edit: rebooted while playing AI hearts card game twice. Staying with 1.1 but changed from sioplus to cfq and seems better so far lol.... :fingerscrossed: :)

Sent from my Advanced SII lite ;)
[Galaxy S Advance I9070 Original Android Developmen] Omer89:
So , i'm using it (i'm real power user) since a several hours ago on 1228MHz as max. clock & 200MHz as a mini. clock with (smartassV2 + SIOplus) , very stable , no reboots at all till now :good:
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Recommended 1200MHz maximum...

1228MHz isn't really stable on my device, too...(Chrome is more laggy)

Thanks for nice reports.

Logs stopped at "MPU3050 sensor", and it looks like hardware (CPU) caused.

Do you feel your phone hot?

I am considering adjusting the hotdog(thermal sensor) in PRCMU..

Hmm okay.

:(

Last algorithm goes like this:

When goes down from OC steps,

It sets 100OPP(800MHz),

then set other steps.

It might cause issues.

Now when goes down from OC steps,

It reverts the PLL to 1000MHz instead of setting 100OPP...
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
No issues here with the test kernel. 1.28 ghz + pegasusq + sioplus on debloated XXLQL. I'll keep testing it tomorrow and see how it fares throughout the day, but I don't see anything out of the ordinary here.

edit: 5 hours later of heavy use.. not a single problem. We'll see how it goes during the night and long idle periods, I always use deep sleep 4 so that's another thing to test. Will report later in the day.

edit2: no problems with long idle periods, this test kernel is as good as it's ever been. Great!

I wasn't having any issues with cocore 9.0 with the same settings, so I don't expect to have any with this one.
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
[MENTION=4832589]cocafe[/MENTION]

No i didn't feel mobile getting hot while using it...

And with normal use from last report to till now no random reboots :)

Btw it stucked on call screen while ending the call ( i make only one call so can't tell it happens always after call or not)

Edit: ok i called 4-5 times today and it stucks randomly on ending ( sometimes it does , some not) i dont knw whether it's kernel related or not
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
Thanks for the response, but LOL I have no idea what you are saying :confused:
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
I just talked about the algorithm differences.

And today, I finally fixed crashes of mali gpu scaling. Almost done.

Just tried OTG, and usb mouse isn't recognized, too. No device in /d/hid

I think my MUSB register has issues.
[Galaxy S Advance I9070 Original Android Developmen] wmfaiz:
if you dont mind i can test it with my device
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
I deleted the build, and all devices are the same.

I know what to do next, but I need to complete GPU OC first..

Don't worry, I have some phones which support OTG, I can compare them with Janice.
[Galaxy S Advance I9070 Original Android Developmen] Omer89:
Thanks a lot for your great effort [MENTION=4832589]cocafe[/MENTION] , really appreciate it :good:
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
This might be a handy app for testing stability of overclocking. https://play.google.com/store/apps/details?id=com.into.stability&hl=en
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
Well, sorry to say this but I kinda feel that the OC kernels are somewhat laggy compared to something, say version 8.6.4. I think the issue is with the way the frequency is scaled.
[Galaxy S Advance I9070 Original Android Developmen] t4n017:
I have the same feeling but I wasn't really sure. Also, unfortunately, I still having reboots.
[Galaxy S Advance I9070 Original Android Developmen] yeholipsker:
Meanwhile, for me the oc versions are not stable and I reverted to 8.2
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Post logs, proc/last_kmsg

Not every reboot is caused by hardware.

Or it didn't reboot ever.
[Galaxy S Advance I9070 Original Android Developmen] fbs:
I think it needs to drop the frequency first and then, drop the voltage..

and when scaling up: raise the voltage, then raise the frequency

This way the cpu would never run out of electrons.. is this the way you're doing?

Based on PC experience, it's always safer to have more voltage than less.

ps.: had A reboot while switching from 600mhz to something else (400 or 800, I don't know..) (max was 1.0ghz)
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
[GPU OC BETA BUILD]

Mali OC driver interfaces valued in /sys/kernel/mali

mali_dvfs_config

Frequency and voltage properties.

Check this file first.

mali_auto_boost

This is a simple governor. It has been enabled by default.

echo 0 > mali_auto_boost to disable

mali_available_frequencies

The list of frequencies.

mali_boost_delay

Delay to increase the frequency, depends on mali load. in ms.

mali_boost_high

echo threshold=??? > mali_boost_high

When gpu load is higher than this threshold, mali will boost.

echo idx=?? > mali_boost_high

Say a index of DVFS data (mali_dvfs_config). This index includes freq and volt.

mali_boost_low

Same as boost high, but this threshold means when load is lower than this threshold, mali will decrease freq and volt.

mali_gpu_clock

Current clock value.

Say idx=?? to tweak mali clock directly.

Say ?????? (a frequency) to tweak mali clock, too.

This clock will not be changed when BOOST GOVERNOR IS DISABLED.

OR WILL OVERRIDE BY BOOST GOVERNOR.

mali_gpu_load

Mali GPU load.

mali_gpu_vape

Voltage

version

BETA now!

---

If have any issue, report with logs. Or I don't know how to analysis the problem.

I have got hundreds of failures to implement this sh*t, very painful.

EDIT: By default, it will boost to 480MHz with heavy load by default.
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
Testing this new delicious GPU OC you're cooking, master.

So, I played around a bit with mali_boost_high to overclock. So, with antutu's OGL 2.0 benchmark, my phone's GPU is good for up to 680 mhz. 700 mhz artifacts in that test. 280 mhz out of the gpu is amazing, that's some headroom there! These heavy tests were quite choppy before but now with the OC the added horsepower is really felt, in addition to the CPU overclock.

I'm not much of a gamer with my phone, yet this much extra graphics power could be very welcome for some.

So, I'll keep the boost frequency at 680 mhz + the 1.28 GHz CPU OC and keep testing / looking out for weird behaviour. Thank you, thank you!
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
How to tweak gpu. It always seems to stuck at 199680 ?
[Galaxy S Advance I9070 Original Android Developmen] avithohol:
Can someone post 2-3 benches for us (ace 2 users) to see how gpu is orking with OC ?

Thanks. :good:
[Galaxy S Advance I9070 Original Android Developmen] t4n017:
Here it is: last_kmsg

PegasusQ+SIOPlus @ 1200MHz
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
[MENTION=4486812]700MHz[/MENTION]

Seems that it was hardware.

Try to reduce highest frequence.

And, your kernel has mali allocation failure bug, check my Github to pick mali allocation fixes.
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
Hi there please post the command to tweak gpu clock. I tried and Whenever I check it at Mali_GPU_clock it seems to stuck at something 199680 freq. And max I get was 42 fps at nenamark
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
from adb shell (so you can use the keyboard and do this quickly) or the terminal emulator type:

su (if using the terminal emulator, ADB runs as su by default. Probably needed, probably not, but doesn't hurt to do it as superuser)

cd /sys/kernel/mali

cat mali_dvfs_config (so you can see the frequency table and each frequency's ID)

echo idx=?? > mali_boost_high

where ?? is the number corresponding to the frequency slot you want to set according to the table in the step before.

So, this way the GPU is at 400 mhz for light loads and when a heavy load is called upon, it'll boost the frequency up to what you've selected. By default it boosts to 480 mhz but you can go much higher... set a desired frequency, then launch a game or heavy benchmark app that'll give the GPU a workout. It'll work, or it'll artifact and you'll have to back down. For my phone it's around 680 mhz, more than that and it's prone to artifacting. Probably lower than that, I got a reboot during the day, now I'm trying a step down from that, I think it's 640-660 mhz
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
I am not sure if I undestood this....But it did not work for me

All I did after flashing the new OC kernel was this:

1. Opened Terminal emulator.

2. Typed the following:

su

echo idx=19 > mali_boost_high

And then I tried Nenamark2 it still gives me 44.0 fps ?? Was this correct ?
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
init.d for gpu oc

Any one having problem with gpu oc can use this init.d (attached) <remove " . txt" extension > [ i assume u know where to put it and which permission to give... If not refer OP]

If u want to change oc freq. Then change idx value ( 18 to desired idx value)
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Attachment ?
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
Now u can see... I hv to add .txt extension to upload it bcz without extension it was invalid to upload.... Remove . txt before placing
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Alrighty...!! Thank you very much... To be precise if I type this: "echo idx=18 > /sys/kernel/mali/mali_boost_high" (without quotes) in the Term Emulator.... it should work as long as I dont reboot the Phone, correct ??
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
No, you didn't. You didn't cd to the correct directory in order to enter the commands, nor did you properly enter the command if you didn't cd to the directory. I believe my post was clear enough...

What you should've done is the following, doing it your way:

su

echo idx=19 > sys/kernel/mali/mali_boost_high

then it should work. 19 may be too high for your phone, if you get artifacts or weird behaviour, set it to 18 or 17. Have you flashed the latest GPU OC beta, in post 3298?
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Thank you very much that really helped...!!!
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
yah....

or other way which i use ...

do wt i said in previous post ..

then

for changing without reboot...

change inx value in file save it and then open it with Linux script handler and execute it ( i use root explorer )
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
report

i'm back with some reports...

but 1st of all i'm very thankful for your hardwork in this release :) .... it works amazing...

my settings.... interactiveq sioplus 1.20 ghz mali_high 680mhz

now any game works without a single glitch !!!!!!! ( i checked TR2 , nfs MW with "full" graphic quality )

in benchmark results ... it's even better than s2 :p:laugh::D:silly:

now .... i'm having one weird problem :confused:

when it gave random reboots my phone forgots the saved wifi network password !!?? and i hv to reenter it ( this happens to me twice one time with ( interactiveq , No log attached ) and 2nd time with pegasusq ( 2nd log )

now reboots was at ,

1) in root explorer

2) clicking on wifi toggle

3) while writing this post in mobile browser ( dolphin)

1st n 3rd are there same reason as previous release ( these happens with interactiveq / interactive governor but not with pegasusq .... but i like interactive more for its performance n smoothness so if u can fix this prob. with interactiveq it would be gr8 for me )

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

as some ppl reported... i also feel UI in OC kernels is not as smooth as without OC kernels....

do u think this is due to disabling both samsung DVFS & touch boost ???
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Yup it worked...and idx @19

---------- Post added at 11:15 AM ---------- Previous post was at 11:08 AM ----------

But now I have a wierd off topic issue.....Whenever I open the App Drawer a crappy female voice says: "Page 1of 4" "Page 2 of 4" "Page 3 of.........and so on, since there are 4 pages in my app drawer..and it never stops as long as I swipe between those pages....IT'S REALLY ANNOYING..! ......Talk Back, Google Voice assistant, Voice input, Google Now, Text to Speech output.....they are all turned Off !...ANY BODY please tell me how do I ask this women to STFU !!
[Galaxy S Advance I9070 Original Android Developmen] emwu_:
http://xdaforums.com/showthread.php?t=2094638
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Thanks but I did see that earlier and as said everything in my Phone is turned Off, including the Talk Back, Driving mode etc....but anyways...I fixed it the hard way did a nandroid restore.... :)
[Galaxy S Advance I9070 Original Android Developmen] DEMONVoz:
Phone heats strongly with GPU overclock?
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Thanks for report.

I will check commits soon.

I have been out.
[Galaxy S Advance I9070 Original Android Developmen] emwu_:
My phone restarts ~15 seconds after running the game "Threes!".

Running CoCore 9.0 TWRP on I9070P.

No OC. Sioplus + pegasusq 200Mhz - 1Ghz, but other governors give the same result.

Attaching last_kmsg. Logs don't show up on my phone for some reason.
[Galaxy S Advance I9070 Original Android Developmen] Happymaker:
I9070P (NFC) Help is needed

Is there any option for i9070P user to incrase gpu and cpu?:confused:

I know that oc is possible but i got random reboots after OC over 1.05 Ghz :(

I´m using harshjelly v5.1 and it isn´t really smooth as it should be :/

Hopefully there is anybody out there with a lag free system,who could tell us his changes :p :)

Thanks
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
According to your log, your memory was running out!

Kernel OOM triggered, it kills some important tasks then kernel crashed.

Try to use 200MB zRAM to save RAM.
[Galaxy S Advance I9070 Original Android Developmen] Happymaker:
cocafe

Will there also appear a version for i9070P (Nfc)?

I can only reach 39,2 fps (see appendix):(

I use cocore manager v1.3,plays a role?

If you can answer me cocafe it would be very nice :o

In screenshots you can see my problem :(

Am I supposed to wait for OC GPU for i9070P or what? :D

Thx
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
u cant use cocore manager ... bcz it's not updated to this version.....u hv to manually enter command or use init.d i hv uploaded few post ago

EDIT : if u hv 9070P then probably this beta is not for u... wait for nfc release
[Galaxy S Advance I9070 Original Android Developmen] Happymaker:
I´ve tried but it does not work.

You can see my post below.

Edit: Okay,thanks ;)

Just a question Cocafe...are you planning to port CoCore-E 9.0 GPU OC BETA for i9070P? ;)
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
[MENTION=4832589]cocafe[/MENTION]

why phone always starts with mali_clock ~@199 Mhz... it should start with 399 ( default )

wt is does is... phone starts with mali_clock ~@199 Mhz then when load increase above High_threshold clock becomes as per High_freq set ( hopefully , i never see this freq) then when load become less than Low_ threshold clock becomes as per Low_freq set (399) and it remains at 399 from now and onwards as default freq untill load becomes more than High_threshold
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
In the second pic, the path is not exist.

In the third pic, you just created a file named mali_boost_high in root folder.

Use RootExplorer to Check sys kernel mali. If mali folder does not exist, you flash a wrong kernel.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
When APE OPP50 is required, by default, kernel starts with APE50 OPP, Mali clock will be divided by 2. 399 / 2 = 199.

This APE OPP is controlled by DVFSAPP, I guess that you removed this system APP, reinstall it.

echo 100 > /d/prcmu/ape_opp

Then check mali_gpu_clock => 399

echo 50 > /d/prcmu/ape_opp

Then check mali_gpu_clock => 199

If you check clock when system is idle, you might see 199.

In fact, when graphics is static, GPU will power OFF, clock speed affects nothing at that time.

===

Today's build

Just optimized mali interfaces, boost_low and boost_high accept a frequency input now.

And just removed a commit might relate to "smoothness".

If you removed TwDVFSApp this system app, do not talk to me about smoothness,

because this stuff controls ape_opp which affects graphics performance.
[Galaxy S Advance I9070 Original Android Developmen] crashdjent:
[MENTION=4832589]cocafe[/MENTION], Can I use CoCoreManager v1.x for GPU overclocking in cm11 TeamCanjica 29.03.2014 with new OC Kernel?

Отправлено с моего GT-I8160 через Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] Happymaker:
I´m not sure but can i flash your kernel.bin.md5 via odin also for i9070P?

or is it only for i9070 without nfc?
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
You can't use .its for stock ROMs only for now.

And please ask these type of questions in respective thread.
[Galaxy S Advance I9070 Original Android Developmen] crashdjent:
Tnx

Отправлено с моего GT-I8160 через Tapatalk