yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
No i didn't remove Twdvfsapp as u said it's imp when i asked u some time ago....

Ok.... Let me check with today's build
[Galaxy S Advance I9070 Original Android Developmen] DEMONVoz:
It fixable without swap?
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
I will update the app soon with new gpu features added by cocafe and other things.

Press thanks button if I've helped you!
[Galaxy S Advance I9070 Original Android Developmen] shakeelkhan:
Hi frndz em using cocore from very long time as it is easy to use with UKF app .. I flashed till the last version 9.0 nw I wanna go for beta version I really can't understand how flash n all those script to write in the terminals so anybody please tell me they to do it .. I would b vry thank ful..

Nw my kernel is version is 9.0 cwm

And my mobile is I9070 itz nt I9070p..

Thanks in advance..
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Copy zip of version you want to install on your phone, reboot to CWM/TWRP and install it like you would install a ROM.

You have explained how to use commands in first page.
[Galaxy S Advance I9070 Original Android Developmen] shakeelkhan:
Thanks for the reply friend ..

Done with the installation .. i install with cwn 9.0 version

now what i have to do ??
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Depends what do you want to do. Install Terminal emulator from the Play store, and read what tweaks is possible to do on the first page.
[Galaxy S Advance I9070 Original Android Developmen] shakeelkhan:
$su

#cd /sys/kernel/liveopp

cat mali_clk

mali_clk: no such file or directory

getting this message..
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
I am not sure, but maybe gpu oc (if command is for that) is not used in newest kernel that is on the first page. Look for that inside of this thread.

P.S. Remove $ before su, and remove # before cd.
[Galaxy S Advance I9070 Original Android Developmen] t4n017:
No way, even on 1100MHz it reboots. It seems that my phone can't handle OC, bad luck.

Thanks anyway, you're doing a great job.

last_kmsg
[Galaxy S Advance I9070 Original Android Developmen] pankspoo:
[MENTION=4832589]cocafe[/MENTION] everything is for stock rom..... can u please develope gpu oc kernel for cm based roms?
[Galaxy S Advance I9070 Original Android Developmen] t4n017:
For this to work on any custom ROM we should unpack the kernel (boot.img) and merge some stuff from it with the kernel you're currently using. But, it seems that our kernel can't be unpacked.

The only solution is to build it for each ROM. So, you should ask that to the maintainer of the ROM you're currently using.

Personally, I'll add CPU+GPU OC to the next build of Resurrection Remix.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
My teammate has merged them in TC repos.

[ 4841.380706] ab8500_btemp_measure_temp: vntc(234), rntc(34367), temp(32)

[ 4842.232665] raw soc = 934raw soc = 934

[ 4842.249694] healthd: battery l=93 v=0 t=32.0 h=2 st=3 c=-345 chg=

I have never seen this kind of logs, investigating.
[Galaxy S Advance I9070 Original Android Developmen] pipyakas:
I'm testing the gpu oc, and with idx=19 i get 3500 antutu graphics benchmark only, and with idx=20 i get 4000. No artifacts (in games like asphalt 8 too), no fc, except when i install nenamark2, i press open, the screen turn black and the app crash. Nenamark cant be opened at all.

I want to make a logcat like what u guys do to report bugs too, but i dont know how. How can i make and send one?

---------- Post added at 10:40 AM ---------- Previous post was at 10:36 AM ----------

I'm testing the gpu oc, and with idx=19 i get 3500 antutu graphics benchmark only, and with idx=20 i get 4000. No artifacts (in games like asphalt 8 too), no fc, except when i install nenamark2, i press open, the screen turn black and the app crash. Nenamark cant be opened at all.

I want to make a logcat like what u guys do to report bugs too, but i dont know how. How can i make and send one?
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Nenamark is not stable with this frequency.

---

Thread update, please check whole OP again...

And about OTG, I failed again, and there is no time left, I had to go to school tonight.

And no holiday anymore, there are 60 days left to have college entrance examination.

Life is more important.

I might read the posts but might not reply as soon as possible. :)
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
Well to say thanx a lot for doing this much even after having a busy schedule and good luck for your entrance exam. :) :good:
[Galaxy S Advance I9070 Original Android Developmen] pipyakas:
What about logcat?

I'm 17, about to have a lifetime-important exam in July too. Life in asia, so rough.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Thanks.

Go su first

Save a logcat (Android level):

logcat > /sdcard/logcat.log

You need to send Ctrl + C to stop log recording.

Save kernel dmesg:

dmesg > /sdcard/dmesg.log

Save last kmsg (after a reboot):

cat /proc/last_kmsg > /sdcard/last_kmsg.log

I need dmesg, last_kmsg only.
[Galaxy S Advance I9070 Original Android Developmen] aotta:
any chance to have BLN support in a future release of the kernel?
[Galaxy S Advance I9070 Original Android Developmen] pipyakas:
So after a reboot, i just need to put 2 last cmd in terminal, then upload the 2 log files?
[Galaxy S Advance I9070 Original Android Developmen] abhi92raj:
can i use this kernal with ressurection remix rom??
[Galaxy S Advance I9070 Original Android Developmen] rog_star:
No. It is just for Stock based ROMs.
[Galaxy S Advance I9070 Original Android Developmen] geopapa:
That would be great..
[Galaxy S Advance I9070 Original Android Developmen] pipyakas:
Can anyone answer this for me?

And if i use 200mb zram does it mean that i used 200mb storage for it?
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
CoCore Manager app update 1.4

Just updated with new gpu overclock commands and other things. Tested and working.

Check my app thread: http://xdaforums.com/showthread.php?t=2668507
[Galaxy S Advance I9070 Original Android Developmen] Myl0sh:
Is new CoCore 9.8 for I9070 model or only for I9070P?

I have not seen in download section for I9070, just i9070P.

Is this version can ruin battery like a 9.0 Beta?

Thanks
[Galaxy S Advance I9070 Original Android Developmen] emwu_:
I9070 version in post #5
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
Latest kernel 9.8 is working just fine using it since a day ago.

I tested sioplus on previous build and and this build which seemed laggy comparing sio ( and little laggy with cfq) .
[Galaxy S Advance I9070 Original Android Developmen] DEMONVoz:
How to change GPU voltage?
[Galaxy S Advance I9070 Original Android Developmen] Myl0sh:
How increase GPU frequency on this phone? Witch app i need for that?

Thanks
[Galaxy S Advance I9070 Original Android Developmen] shakeelkhan:
Video is getting struck on mx player n phone too .

apps like whatsapp n dialer need at least 25-30 sec to get open ...

kernel - 9.8 cwm
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
There's a divine power that you guys have here In XDA...and that's called SEARCH.....for Hastalafistas CoCore manager v1.4...[emoji36]

If you think I helped you, please press "Thanks"
[Galaxy S Advance I9070 Original Android Developmen] Nishad1982:
+1
[Galaxy S Advance I9070 Original Android Developmen] DEMONVoz:
[MENTION=5008436]arneldna[/MENTION] CoCore Manager can not change voltage. I want to undervolt GPU
[Galaxy S Advance I9070 Original Android Developmen] Myl0sh:
I found somewhere on the forum that CoCore manager the other day but I forgot the name of the application. I know for "Search" :D

Thanks
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
If it is possible than Cocafe wrote it here somewhere, look.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
The voltage(Vape) that supplies GPU also supplies other engines like Video, Image, Audio engine etc etc.

They share it.

That's why I didn't mention GPU UV.

But you can also change it in mali kernel folder.

To change a voltage in a DVFS index.

mali_dvfs_config is a development interface.

YOUR RAM HAS RUN OUT!

Or your phone I/O load is heavy.

Advice:

1. Kill tasks

2. Stop/Disable useless services

3. Uninstall useless services

3. Use 200MB ZRAM

4. Buy new phones like note3 which has 3gB RAM
[Galaxy S Advance I9070 Original Android Developmen] mykimouse:
LOL
[Galaxy S Advance I9070 Original Android Developmen] TPD-21:
I was so intrigued by your suggestion No.4 [MENTION=4832589]cocafe[/MENTION] Awesome... :D
[Galaxy S Advance I9070 Original Android Developmen] DEMONVoz:
But why phone doesn't reboot on 1GHz frequency? Why it sometimes happens only at 1.2GHz frequency?
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
Because your phone sadly can't handle the overclock. Overclocking is about luck, it's always been.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
In your logs, you are not using my kernel.

And it is not caused by OC, kernel logs showed a lot of warnings and errors.

And your device is not janice. But I know that Rox said his codina cannot work stably over 1 GHz.

Your kernel maker might patch a lot of junk patches which might make unstable.

That's why I don't patch anything that I am not sure about.
[Galaxy S Advance I9070 Original Android Developmen] pankspoo:
[MENTION=4832589]cocafe[/MENTION] can u tell me how to add gpu oc feature in oc 3.0.101 kernel by Alberto plz.
[Galaxy S Advance I9070 Original Android Developmen] isaak:
I'd like to know if it's normal to have a slower battery charging with latest 9.8 version changes compared to 9.0 version.

Just to exclude any hardware issue from my part.
[Galaxy S Advance I9070 Original Android Developmen] android07:
I tried the Cocore-9.8 kernel. Performance was a lil better than the Cocore-8.0 kernel I was using previously but battery shows a gradual drain when phone is not being used.

So far I have tried only 5.0, 8.0 & 9.8 can anyone who has more experiance with cocore kernels suggest a kernel that has good balance between performance and battery performance?

Thanks!
[Galaxy S Advance I9070 Original Android Developmen] coffeecore:
8.6 definitely :good:

Link (CWM) http://d-h.st/b1b

---------- Post added at 05:34 AM ---------- Previous post was at 05:15 AM ----------

Also set deep sleep state to 4.

sent with my S Advance
[Galaxy S Advance I9070 Original Android Developmen] avithohol:
Any thoughts on random restarts on ace 2 ?

They are 100 % not hardware related, if i set performance governor and 1250mhz the phone is perfectly stable, I can even undervolt to 1,325 V, and phone is still 100 % stable, but if I set any other governor, there are random restarts, and they are happening in random clock speeds sometimes on 400 mhz other times on 1200 or 800 mhz. Its seems deadline governor is more stable than others and sioplus most unstable one.:rolleyes:

PS:I'm using last TC CM 11 rom
[Galaxy S Advance I9070 Original Android Developmen] dagger:
This is the same case here with many users.
[Galaxy S Advance I9070 Original Android Developmen] Toni5830:
I'm trying to implement CPU OC to my kernel (nothing special, just to learn) using Cocafe's commits and OC actually works! but there is a problem: I cannot change maximum and minimum frequencies! It always run [MENTION=1684530]1228[/MENTION]mHz

Could anyone point me out which commits are necessary to have a working CPU OC?!
[Galaxy S Advance I9070 Original Android Developmen] LyNChP1N:
Been using cocore 9.0 for sometime now. Seemed very stable. No problems yet.

I installed cocore 9.8 2 days ago and it was a bit laggy at first but then i cleared data and dalvik cache and hit fix permissions.

Now it works usper fast. Never seen smooth performance like this on any device!!! Great performance nad amazing battery life :good:
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
...CPU OC is working

You need to disable CONFIG_DVFS_LIMIT.

If laggy, enable CPU Usage Monitor in developer settings to find what sucks (media scanner mostly)
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
Touchscreen parameters

JUST TO NOTICE

echo 10 > /sys/kernel/mxt224e/threshold_t48

I have just seen that if you try to put only the value (for example 10) after the echo, the value doesn't change into "threshold_t48". To make script working you have to put instead of 10, "val=10" (10 is an example).

:good: [MENTION=4832589]cocafe[/MENTION]
[Galaxy S Advance I9070 Original Android Developmen] :
Is there any app that controlling media ? So we can use it for media management instead of Samsung's laggy one.
[Galaxy S Advance I9070 Original Android Developmen] isaak:
It seems more a general android problem.

I found a good thread with different solutions to try out:

Fix Android Media server scanner SDcard CPU, Battery drain
[Galaxy S Advance I9070 Original Android Developmen] fbs:
-rwxrwxrwx root root 90 2013-02-24 03:44 2minfree

it has it.. it is being executed at boot time but something is changing minfree values AFTER it.. maybe something from the kernel itself? there are no other scripts in THIS folder (init.d) messing with minfree.. I don't know if there are other scripts being running after it... :confused:
[Galaxy S Advance I9070 Original Android Developmen] carlese:
R: [Kernel][02/24/2013] CoCore-E 4.2

Well, since I am using the same settings, the same apps and same governors and with other kernels it works, I assume it is a kernel problem.. And since I can't fix it, I'll wait for another version.. Till then I'll stick with Siri.. Bye!
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/24/2013] CoCore-E 4.2

If i got it right,someone told me the same thing when i dev GB.

It is you? :p

If this is kernel issue,why our deep sleep works eh?

Relax,buddy.I cannot get your phone,i dont know what is messed with your phone.

Maybe Google can have you.

Good luck.

EDIT:

Oh plz use BBS to show us your wakelocks
[Galaxy S Advance I9070 Original Android Developmen] carlese:
R: [Kernel][02/24/2013] CoCore-E 4.2

No it wasn't me.. I provided a screenshot of the wakelocks a few posts above.. I don't know why it works with other kernels.. You are the dev, I trust you ;) I just want to help you improve this awesome kernel..
[Galaxy S Advance I9070 Original Android Developmen] Piachnp:
Since you guys are talking about it here, i'll jump in with this:

Using ES Explorer, I created the init.d folder on /system/etc, gave it full permisions (i have the full grid ticked: read, write, execution for all 3: user, group, others) and created a file inside called peter.sh

What should i do to set the owner to 0.0 ?? where can i find that option on ES Explorer ??

Inside peter.sh

Is this correct?? I can't tell if those commands are being executed succesfully or not. Is there anyway to be sure ??

I read something about a "cat" command somewhere but i cant find it anymore
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Here it is on screenshot drop down menus for changing owner and group. It is in properties of file, just below changing permission.
[Galaxy S Advance I9070 Original Android Developmen] b3dna:
Just issue this command with cat, not echo > ... . Like this you can check all attributes you set by echo, if they are correct.

Use terminal emulator or adb shell of course.

cat /sys/module/snd_soc_ab8500_audio/parameters/hsx_boost
[Galaxy S Advance I9070 Original Android Developmen] AlexCoolBoss:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Add smartassv2 in future release pls
[Galaxy S Advance I9070 Original Android Developmen] Piachnp:
Shutdown, my interface on ES Explorer is radically different as you can see in the attachment. Also, there isn't any other option (other than properties) on the pop-up menu when you press over init.d that can change the "owner".

b3dna: My terminal replies to the cat command with : "Y", is that fine ? The command is being executed ?

Thank you for your answers

/edit: sry my screenshots are in Spanish, the first one is the Properties window with Cambios="Change" refering to permissions, and the second one is a matrix with "read,write,execution" permits and "user,group,others" as rows
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Opsy, it is from Solid Explorer. I permuted S and E. :)
[Galaxy S Advance I9070 Original Android Developmen] frapeti:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Try a simple command in the script to check if it runs, something like this:

echo "hello" > /sdcard/text.txt

If the command works try sleeping the script for 10 secs before aplying your changes: "sleep 10"

If still not working maybe you can change the shell interpreter from /system/bin/sh to /system/xbin/su, never tried it but may work ^^
[Galaxy S Advance I9070 Original Android Developmen] b3dna:
Yes, that cat command output is OK, Y means yes/enabled and N no/disabled soundboost. So your init.d script works.

To check owner of file use Solid Explorer, or just commnad

ls -l /system/etc/init.d, list all files in the folder with additional info.

If the is root root is listed by your script, it's right.

Little linux magic at the end :)

To change owner to root by command use busybox chown -R 0.0 /system/etc/init.d. Not your case probably, but good to know.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Hmm.

I checked the screenshot you posted.

We haven't got any useful info.

If it is convenient for you:

Please switch English and install BetterBatteryStats.

Give BBS root permission.

Charge it to 100%,let BBS run background and let screen off about 30mins - 1h.

BBS will do the rest work.

Then paste the wakelocks screenshot here.

It can be found and solved.

EDIT:

Post kernel wakelocks and partial wakelocks screenshots.
[Galaxy S Advance I9070 Original Android Developmen] Piachnp:
That command worked like a charm :good:

Root Root was listed so i guess everything is okay, but its good to know all of these cmds, as i intend to keep digging depp in this android thingy :p guess i'll have to get used to linux

Thank you very much for you help! :)
[Galaxy S Advance I9070 Original Android Developmen] carlese:
R: [Kernel][02/24/2013] CoCore-E 4.2

The program costs 2 euro.. Is it worth it or can I use a other app?
[Galaxy S Advance I9070 Original Android Developmen] ming86:
The app is free for xda user, search for the app's thread in xda.

EDIT: here you go http://xdaforums.com/showthread.php?t=1179809
[Galaxy S Advance I9070 Original Android Developmen] carlese:
R: [Kernel][02/24/2013] CoCore-E 4.2

Found it.. Testing now :) thanks!

edit: look at my screenshots.. it's not 100% charged, but deep sleep should kick in the same and doesn't.. look especially at the kernel screenshot..
[Galaxy S Advance I9070 Original Android Developmen] ming86:
Today the cpu1 woke up, i don't know what reason it wake up. :confused:

I create a script to replace the hotplug parameters to Abyssplug parameters.

#!/system/bin/sh

echo 95 > /sys/devices/system/cpu/cpufreq/hotplug/up_threshold
echo 1 > /sys/devices/system/cpu/cpufreq/hotplug/down_differential
echo 40 > /sys/devices/system/cpu/cpufreq/hotplug/down_threshold
echo 50000 > /sys/devices/system/cpu/cpufreq/hotplug/sampling_rate
echo 5 > /sys/devices/system/cpu/cpufreq/hotplug/hotplug_in_sampling_periods
echo 20 > /sys/devices/system/cpu/cpufreq/hotplug/hotplug_out_sampling_periods

So far so good.it use cpu1 less frequently . :D

Cocafe, your kernel ROCKS!

Although I forced cpu1 offline, it still much more smoother than Galaxy S Duos (with single core 1 GHz cpu, 768 MB RAM). :D

---------- Post added at 11:49 PM ---------- Previous post was at 11:45 PM ----------

AudioOut_2 appear all the time?

My phone also have this, uninstalled viber solved this... Not sure what is causing this wakelock on your phone.
[Galaxy S Advance I9070 Original Android Developmen] carlese:
I have viber too, but with siri kernel it went deep sleep with no problem.. something must be wrong somewhere else, don't know.. let's wait cocafe response..

edit: i fully charged the phone and now it seems to work well.. will report later ;)
[Galaxy S Advance I9070 Original Android Developmen] d14gvn:
Hahah I'll wait for that, take your time :D I really want that governor because I have a great balance between performance and battery saving :D

Thanks for bring to us that awesome kernel, btw I have the best scores on antutu, better than other kernels :D

Edit: Cocafe wich governor I have to use to get the deep sleep state? With pegasusq I don't have deep sleep :(

Edit2: now all is fine, I forgot to activate the deep sleep option in no frills CPU control haha
[Galaxy S Advance I9070 Original Android Developmen] :
It fixes problems not prevents lags dude. Same thing in everywhere but I found app (the app that I'm talking about)

Media Scanner

Some media scanner apps requests media scan mechanism and runs it. But I think this is the mechanism which is controlling media server and it can run manually. Anyone test ? I don't have Google Play.

EDIT: Sorry for OT. This have been discused several times that's why we post about it.
[Galaxy S Advance I9070 Original Android Developmen] avithohol:
Cocafe can we set arm_step4 to be directly 1190 or 1228 mhz, and to skip the other scaling options ?
[Galaxy S Advance I9070 Original Android Developmen] Toni5830:
That was exactly what I was looking for, now everything is perfect, thank you

second and last question: using Cocore-E 9.8 (or previus version) I have reboot at +1100mHz, is it a hardware problem? here my last_kmsg https://www.dropbox.com/s/cooqj8pi2lurlvc/last_kmsg.txt

Sent from Italy using Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] avithohol:
Adding lkmg, dmesg, log for random reboots

http://speedy.sh/m3x4N/2014-04-17-17.16-randreboot.zip

http://speedy.sh/kQFe3/2014-04-17-18.40-reboor2.zip
[Galaxy S Advance I9070 Original Android Developmen] DEMONVoz:
I think it's software problem
[Galaxy S Advance I9070 Original Android Developmen] :
For me, latest build is always the best. Kernelception
[Galaxy S Advance I9070 Original Android Developmen] Alberto97:
I'm working on it ;)

Inviato dal mio Moto G utilizzando Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
I am a happy user...no issues or reboots with the OC @1.2, I usually never go beyond 1.2ghz. But today I noticed two different OC frequencies... No Frills and Cocore Manager are showing 1.25 & 1.28..I know [MENTION=757157]this[/MENTION] point the CPU won't be stable..but what is the highest frequency that CC supports..?[emoji53]
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
I think NO Frill CPU reads value, and CoCore manager has those values written in app. And app shows what is added to it by its developer.
[Galaxy S Advance I9070 Original Android Developmen] avithohol:
It's 1228 mhz actually ;)
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
So as cocafe says the Max voltage our board supports is 1.228 GHz...No frills says 1.25 Ghz (1250 MHz) which is quite high..Will I fry my Phone if I set it to 1.25 ???

If you think that helped, then Hit "Thanks"
[Galaxy S Advance I9070 Original Android Developmen] wmfaiz:
Let me explain to you

Actually its 1228mhz but cocafe set it to show 1250mhz
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Well I do not think that you will fry it, just watch for temperature. If phone does not get too hot. :)
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
thanks that makes me feel better

..BTW what freq do you see ...are you running cocore?

If you think that helped, then Hit "Thanks"