yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
My bad!!! I did not check carefully.

[Here the TWRP recovery build r10]

Just add a patch that choose proper readahead size for eMMC and sdcard.

It improves read speed on my Xperia Z1 (40MB/s -> 70MB/s, UHS-1 32GB sdcard).

It should work on Janice, too.
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
I am on R10 with CWM and most of the time when I reboot phone I get my SD card unmounted. To use it I need to mount it in settings. I think it started since I installed R10, did not test on some previous version again to see if it is not some other thing that is making a problem.
[Galaxy S Advance I9070 Original Android Developmen] isaak:
I have no problem here with a SanDisk Ultra 16GB SDHC Class 10/UHS-1.
[Galaxy S Advance I9070 Original Android Developmen] isaak:
According to this app's description, changing read_ahead value is a bad idea because it tends to slow apps loading, thumbnail photos and movies just to satifsfy benchmark tools.

I'm confused. :confused:
[Galaxy S Advance I9070 Original Android Developmen] fbs:
I agree with that. Think this way: in every moment, Android is reading something (mostly from /data). And when you actually CLICK on something, it reads A LOT of things (the app itself, its configuration, libraries, databases, another apps, etc). Now, if someone sets read_ahead=1mb, for every file it begins reading, it will read ahead more 1mb: It will read that tiny first piece and more 1MB of that file, which will delay every other "read" a bit and waste some of the system cache/ram with that 1mb more which may or may not be useful in the future..

If you have shell access to your phone (via SSHd server or ADB SHELL command), you can type "sysctl -w vm.block_dump=2" then "cat /proc/kmsg" to see the system reading/writing data like crazy every second... now imagine every read wasting 100ms or 1mb of ram because of that read_ahead.......
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Yeh, if we tweak readahead to 3mb, it will slow down the sdcard.

But this patch will choose proper readahead size according to disk size:

/*
* Limit default readahead size for small devices.
* disk size readahead size
* 1M 8k
* 4M 16k
* 16M 32k
* 64M 64k
* 256M 128k
* 1G 256k
* 4G 512k
* 16G 1024k
* 64G 2048k
* 256G 4096k
*/

来自我的 C6902 上的 Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] fbs:
[MENTION=4832589]cocafe[/MENTION], kida offtopic but I think you're the only one who can explain/comment about this:

When I set like 5 to /sys/module/lowmemorykiller/parameters/debug_level I get a flood of "lowmem_shrink" messages on /proc/kmsg, and it seems it is trying hard to free some ram but only after a lot of flooding (seconds, maybe minutes) it actually KILLS something.. and in these seconds of flood the phone gets really laggy..

Question: why doesn't it kill right away? I tried to reduce "cost" to 1 but it still takes too much time trying to "shrink" ram instead of killing something right away, and it doesn't seem right to me.. is it right?!

I found this patch from 2013 which doesn't seem to be included in our android lowmemorykiller module: https://groups.google.com/forum/#!topic/fa.linux.kernel/MoFtJFPha4s - Is it relevant?
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Maybe related to this patch... but dunno why it takes a long time to kill tasks now... will investigate lmk asap :fingers-crossed:
[Galaxy S Advance I9070 Original Android Developmen] Nishad1982:
XDA or Tapatalk - the download links are not available. They are only available in web view.
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
CoCore-E-Refresh-r09_TWRP.zip

CoCore-E-Refresh-r09_CWM.zip

Or just open full forum with explorer and download it. It is about Tapatalk, seems they did not implement that option.
[Galaxy S Advance I9070 Original Android Developmen] GothiChaha:
Is this flashable zip?? Can I flash at stock rom lql??
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Those are links from Download section of this ROM, I just linked it for the ones who come here with Tapatalk or XDA app. LQL is stock JB, so you can use it. And yes, it is flashable with recovery.
[Galaxy S Advance I9070 Original Android Developmen] maurit43:
Hi ! im using version 8.2, but the app wich can make tweets ( cocore manager and other in play store) requeriment 9.0+. So, Cocore version 9.0 its stable ( lag and utube) with good battery performance ? thanks !
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
[MENTION=5589071]maurit43[/MENTION]

try Refresh versions...

they are better in every aspects... no lag , smooth ( don't knw about youtube bcz i dont use it ) but no lag in any app n Ui is also smooth.. battery backup gr8!!

you find them in download section or 2 post above this...

if you are using MTP for data transfer use Refrash v10 ( 2-3 page ago ) as MTP in broken in Refresh09
[Galaxy S Advance I9070 Original Android Developmen] judas1977:
Silly question:

Is it possible (or already done?) to set higher ahb/apb bus frequencies to gain additional boost (i heard that it's safe if you do not change voltages:))

If it's possible/done - where can i change those values in kernel sources?

thanks in advance for any info...
[Galaxy S Advance I9070 Original Android Developmen] maurit43:
Hi, utube dont work on R10 ,
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Yes it works, I am using it. It is not because of kernel.
[Galaxy S Advance I9070 Original Android Developmen] nopainwithme:
Hi guys!

Please, take a look at this problem I encountered: from CWM recovery, mounting USB mass storage mounts the external SD two times instead of mounting internal memory!

thanks for the attention. I really appreciate the work!:good:
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
if I'm not mistaken, it should be somewhere in /drivers/i2c . Probably I found where it is - https://github.com/TeamCanjica/Samsung_STE_Kernel/blob/3.0.101/drivers/i2c/busses/i2c-nomadik.c , take a look at 349 and 356 lines. Maybe someone of the developers can confirm whether this is what we were looking for.
[Galaxy S Advance I9070 Original Android Developmen] imcoolsj:
is it posible to get "doubletap2 wake" with this kernel ?
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
Is so hard to read features from OP (first post) ?

Btw,it already has...Read OP full.
[Galaxy S Advance I9070 Original Android Developmen] Balathruin:
Can you read? There is no

double

tap2wake.
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
afaik doubletap2wake is not implemented because it cause wakelocks n drain battery
[Galaxy S Advance I9070 Original Android Developmen] imcoolsj:
I read that. thats why I asked about POSSIBILITY. so what I got is cannot without kernel developers work.

---------- Post added at 08:52 PM ---------- Previous post was at 08:47 PM ----------

Its true but its not problem if we can on/off .. like a sweep2wake. anyway thanks for helping (y)
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
I readed sweep instead doubletap lol.Forgive me :D

I promise that i wont do this mistake again.
[Galaxy S Advance I9070 Original Android Developmen] Tarola:
I have video lag on youtube, fb, internal player when auto brightness is selected on R9.

LE: I think it's form the signal drops
[Galaxy S Advance I9070 Original Android Developmen] isaak:
[MENTION=4832589]cocafe[/MENTION]

For a while, lulzactiveq slows play store with freezes during updates.

Interactiveq handles it better.

I use default frequencies, no overclock.
[Galaxy S Advance I9070 Original Android Developmen] rajaa_sekaran:
Android os eating my battery more....hw to solve
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
Did anyone ever use compression while backing up their system partition?

I never really used it before, but because my external SD card is running out of space, I want to try it out. But because I "play" with my phone a lot, I will really hate it if I can't restore my backup..
[Galaxy S Advance I9070 Original Android Developmen] yeholipsker:
I always use compression! !! It saves space
[Galaxy S Advance I9070 Original Android Developmen] d@rkl0rd:
Does anyone know how can I get boot.img from the cocore flashable zip?
[Galaxy S Advance I9070 Original Android Developmen] Toni5830:
just unpack zip file and take kernel.bin.md5 from there.. that one is the kernel..
[Galaxy S Advance I9070 Original Android Developmen] peppe130:
Hi.. 9.8-E version is no more available?
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
sadly [MENTION=4832589]cocafe[/MENTION] removed all old versions from OP... i also wish if he have links of them he re-add them..bcz sometimes it's better to go back old versions like 8.2 , 9.8 n 6 ... or anyone having old version can also upload if cocafe gives permission
[Galaxy S Advance I9070 Original Android Developmen] emwu_:
And old CoCore-EP versions not available either, which is even worse, since there's no new cocore kernel for 9070P.

Edit: found old version links:

CoCore-EP-6.8b-CWM-6.0.2.8.zip

CoCore-EP-6.8b-TWRP-2.5.0.0.zip

CoCore-EP-7.0-CWM-6.0.2.8.zip

CoCore-EP-7.0-CWM-6.0.3.4.zip

CoCore-EP-7.0-CWM-Touch-6.0.3.3.zip

CoCore-EP-7.0-TWRP-2.6.0.0.zip

CoCore-EP-7.2-CWM-6.0.2.8.zip

CoCore-EP-7.2-CWM-Touch-6.0.3.3.zip

CoCore-EP-7.2-TWRP-2.6.0.0.zip

CoCore-EP-7.6-CWM-6.0.2.8.zip

CoCore-EP-7.6-CWM-Touch-6.0.3.3.zip

CoCore-EP-7.6-TWRP-2.6.1.0.zip

CoCore-EP-8.0-CWM-6.0.2.8.zip

CoCore-EP-8.0-CWM-Touch-6.0.3.3.zip

CoCore-EP-8.0-TWRP-2.6.0.0.zip

CoCore-EP-8.2-CWM-6.0.2.8.zip

CoCore-EP-8.2-CWM-Touch-6.0.3.3.zip

CoCore-EP-8.2-TWRP-2.6.0.0.zip

CoCore-EP-8.6-CWM.zip

CoCore-EP-8.6-CWM-Touch.zip

CoCore-EP-8.6-TWRP.zip

CoCore-EP-8.8-CWM.zip

CoCore-EP-8.8-TWRP.zip

CoCore-EP-9.0-CWM.zip

CoCore-EP-9.0-TWRP.zip

Cocore-EP-9.8-CWM.zip

Cocore-EP-9.8-CWM-Touch.zip

CoCore-EP-9.8-TWRP.zip
[Galaxy S Advance I9070 Original Android Developmen] nss357:
[MENTION=4832589]cocafe[/MENTION] I have some questions, sorry it's actually some noob questions, I just wanna make sure :fingers-crossed:

I notice that mali DVFS idx 0-7 use the same vape.

So If i use idx 7 = 440mhz for, lets say mali_boost_low, it'll consume power the same as the default 400mhz right?

since it use the same vape? Or did I misunderstood something here?

And regarding the illumination_table,

does lower illumination value means lower power consumption?

So if its true, I guess I need to modify the illumination_table to my likings,

so I wouldn't be needing those screen dimming apps anymore that just put an overlay to dim the screen.
[Galaxy S Advance I9070 Original Android Developmen] diecast:
Guys i have cocore 8.2 and on cpu no frills i have.minimum 200 and max 1000 ondemant and sio!stock jb rooted!

My battery life is not so good! Any suggestion for cpu frills?
[Galaxy S Advance I9070 Original Android Developmen] MikiGry:
Try odemandq and sio.

Mebay your battery is old.

Wysłane z mojego nexusowego tablecika.....
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
If you wanna adjust Vape at low step, just adjust the DVFS index that you use as low step.

But do not make it too low, audio, 2d, 3d and video engines use the Vape power supply.

Yep, lower brightness(illumination) lower power consumption.

I think Samsung did not optimize the Android level well, and it costs a lot power...

Let's see whether we can implement something like Sony STAMINA in kernel level to save power.

---

And i don't have available Internet broadband in college right now, that's why i have been disappeared so long... [emoji52]

来自我的 C6902 上的 Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] diecast:
Thats for the tip! And yes i have this battery for 1.5 year !
[Galaxy S Advance I9070 Original Android Developmen] Sl3p1n:
I am sorry for the offtopic, but is there any archive with all older versions of the kernel? Thanks in advance :)
[Galaxy S Advance I9070 Original Android Developmen] MikiGry:
Here u go.

Wysłane z mojego nexusowego tablecika.....
[Galaxy S Advance I9070 Original Android Developmen] Sl3p1n:
Those are for P version i need them for the normal i9070. :)
[Galaxy S Advance I9070 Original Android Developmen] LyNChP1N:
I find battery life to be best using pegasusq and 200 mhz minimum. I seem to get more battery drain using 100 mhz. Is it just me or is anyone else experiencing this? :eek:
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
Seems that some governors are not optimized for such low freq as 100 MHz. For me 300 MHz is better than 200 MHz as min freq (It's absolutely stable, I haven't had reboots about month with this freq step).

UPD. If anyone interested, I rewrote raw pll value for 300 MHz https://github.com/ChronoMonochrome/Chrono_Kernel/commit/ffce5e62647c7b2a6f0f1f80dcd9a9e9883c42dc , but it didn't affect at stability. But I decided leave this value, just in case :) 500 MHz is not stable at all, doesn't matter which raw pll values I use.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
* jRCU with 100Hz

* SLQB

* Removed auto-group scheduler

* Added 'timeout' parameter in lmk sysfs to adjust the time of killing

* Adjusted extra_free_kbytes

* Reduced kernel log size

http://d-h.st/rHB
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
Update has twrp or cwm?

Sent from my GT-I9070
[Galaxy S Advance I9070 Original Android Developmen] tommi77:
Twrp recovery....
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
[MENTION=4832589]cocafe[/MENTION], can we boost the volume of phone speaker via abbamp?

Regards,
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
If you have AB8505, maybe. But AB8500 can't. Try to read the chip version via kernel log during booting or if you have AB8505 configs, maybe you have it .
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
Thanks for quick response. And yes, probably ace2 have ab8500, not ab8505...
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
For those peoples who want to use any kernel on any ROM with recovery, which they need, there is a simple trick :)

https://github.com/ChronoMonochrome/AnyKernel

AnyKernel is installer that can apply any kernel to any ROM, regardless of ramdisk, originally written by coush@github.com

It's adapted for Codina few hours ago, but probably it should work on Janice too.

derp. It's actually doesn't work. I didn't test it properly... anyway I will find how to make this method working on codina/janice since this method works on golden.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
[

Daily build

] :fingers-crossed:
[Galaxy S Advance I9070 Original Android Developmen] TPD-21:
For CWM or TWRP? Thanks Cocafe! :fingers-crossed: too..
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
If the kernel size is bigger than 8MB, it's twrp...

And, i liking using twrp :rolleyes:
[Galaxy S Advance I9070 Original Android Developmen] TPD-21:
Thanks... ?
[Galaxy S Advance I9070 Original Android Developmen] gianfrinico:
Hello cocafe, it is possible to know the changelog?
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
it's always here in cocafe's github......

https://github.com/cocafe/i9070_kernel_CoCore-E/commits/refresh

not much changes in daily build ...only few values/parameter changes
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
[

The Build Today

]

* SLUB (Tested, the benchmarks of allocating memory is higher than SLQB.)

* UKSM (Yep, I think we do need more RAM with a tiny cost of CPU.)

* LMK (Removed a Samsung enhanced patch. Seem that killing tasks is faster.)

Some commits are testing, so them have not been pushed to github yet.
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
Is it working correctly? :confused: when I tried to enable it, this caused lot of reboots. In addition, boot time has increased to 11 seconds, although it is probably not so important.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
No reboots here. And UKSM needs to look up pages during booting (+3000ms, check /d/boottime/bootgraph_larger100).

If KsmZeroPages in /proc/meminfo is working, UKSM is on. (it's enabled by default. The same in /sys/kernel/mm/uksm).

Janice has a pretty small RAM, it limits the performance.
[Galaxy S Advance I9070 Original Android Developmen] jb901:
Is the latest "The Build Today "compatible with my 9070P (NFC) ?
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
after using a day , i think it's better than previous builds in smoothness :good: but i also feel somewhat less battery backup (with deep sleep 3 , with deep sleep 4 it's almost same)

PS: ( not specific to this build ) i 'm getting random reboots (in most cocore) ( no OC) while downloading large files over WiFi and then file starts downloading from beginning ( even with resumable source & Loderdroid downlodmanager ) ...

my settings are interactive , sioplus , deep sleep 4 , any guess about this problem ? any suggestion that can help ?

(if you need some kind of log for this just tell me , i'll provide when ever next time this happens )

---------- Post added at 08:21 PM ---------- Previous post was at 08:19 PM ----------

No it's not ...

none of nightly/daily are compatible with P , cocafe only include P version in stable release
[Galaxy S Advance I9070 Original Android Developmen] jagnik:
videos are lagging in latest build....
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
Maybe older youtube version help?

EDIT: i readed youtube videos :laugh: Maybe i need to zoom :D
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Video on website or youtube?

[

The build today

]

- Removed rage entropy tweaks

- Increased min_free_kbytes to 4096kB: In order to have more RAM for swapping (we do not use swap) when memory load is heavy

Please [MENTION=5649406]me,[/MENTION] if you still have freezes (freezes about several seconds or longer and seems like causing by tight memory). :fingers-crossed:
[Galaxy S Advance I9070 Original Android Developmen] jagnik:
i didn't try in YouTube or website,, it's lagging in phone videos in all software mx player, default player, and phone gets freeze...
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
What's resolution of video ? Our ph can play max 720p ...

No problem here with stored video... it's plays smooth with any player...u can try HW+ in mx player.. ..

Check your video again ...i think it's 1080p ...other wise this type of lag never occur in i9070
[Galaxy S Advance I9070 Original Android Developmen] jagnik:
come on bro, I'm using i9070 from 2 years,, and all videos are lagging in latest builds.. even with 640 x 480 resolution and now I'm on v6.8 and it's working fine..
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
Ohh... but it's strange...i just checked again 720p videos in my phone and it's working without any problem !

Any way if this happens to others in latest beta , some one will surely point it by today...so wait :) ...( but i still don't have any lag ...checked once again :p )
[Galaxy S Advance I9070 Original Android Developmen] isaak:
In this attachment I uploaded my init.d scripts, what about them? Can they create conflicts with your kernel?

Please suggest me what I need to trash or not.

I tried a 720p video on the latest build, it works fine (except a temporary lag when I close mxplayer without stopping the video).

Nex time you should try with a logcat, in my opinion.

How To Logcat
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
i just go through init.ds and i think you are using SamiOS ( init.ds name are same )..

about conflict ... the main purpose of init.d is to change parameters of kernel from default , so it's solely depends on you what you want from them and what you get ...

it's not universal that all people like all setting , so you need to check your self that init.ds helping you or not .. by experimenting with them...

from my personal exp. i find only low memory killer , mali , and debaug level as useful ... i dont use zaliplig and vacvum in init.d i use them in terminal when needed so boot up time becomes faster
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
LiveOPP extended freqs.

Hi there! We (I and [MENTION=5840412]ace2nutzer[/MENTION]) found that LiveOPP extended freqs won't cause reboots if we remove the same number of steps as added.

https://github.com/ChronoMonochrome/Chrono_Kernel/commit/605fa701e1942f7fcf23aff1b5c2c3579d14f442

I tested it, and I can say that the following table of frequencies does not cause reboot:

100-1000, 1150, 1200 MHz

As can be seen only 12 steps allowed.
[MENTION=4832589]cocafe[/MENTION], do you know, where may be limitation for this?
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
I see in your signature that you have other freq while screen is off.The freq change automatically when screen goes on / off ? If yes,i want that too :)

EDIT: is the abyssplug governor which do this right? So ,screen off mean that stay at low freq until you put screen on and touch screen.Im wrong?

[MENTION=4832589]cocafe[/MENTION] : is possible to do this: independent frequencies for each core ?
[Galaxy S Advance I9070 Original Android Developmen] imcoolsj:
I experianced video laging on stock roms too. but with revolution rom I can sure you no laging on videos. not even single time I faced those lag on this rom. I'm using this rom from day it started.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Maybe the clock of two cores are synchronous (the same PLL). Unlike Qualcomm Krait cores, they can use different clocks.

To be honest: Maybe:

The algorithm of liveopp is not good enough:

- Set ARM_OPP though PRCMU first, PLL and regulator register changed for one time

- Set our PLL and voltages by writing register

I have ever wanted to skip the PRCMU step, namely, writing the custom PLL and voltages directly.

But i am unable to promise that commands of writing PLL and Varm are sent to hardware in the same time.

And the C code is executed line by line. Having no idea, so I make it change OPP by PRCMU first and change the registers again.

[MENTION=5604178]zwliew[/MENTION] any idea? I saw you wrote some drivers in the kernel source.

Hope that I can get some ideas from the code in qualcomm kernel source.

Plus, I found the voltage table used by various OPPs (AVS data) in PRCMU registers, we can edit them to change the default values.

But have not found where is the programmed PLL values in registers.

Gotta sleep, maybe can not reply immediately.

EDIT: Add a pr_info() to print the frequency will be set in the kernel log, to debug setting which steps will make device dead (like 600MHz ... 900MHz ... 300MHz ... dead, the death is caused by dropping from 900MHz to 300MHz)
[Galaxy S Advance I9070 Original Android Developmen] ChronoMonochrome:
Yes, it does :)

https://github.com/ChronoMonochrome/Chrono_Kernel/commit/9d40203d4af1345cd46ab91b4437b2755a97687f

No, it's not abyssplug's prerogative :D it's governor-agnostic, but it should be implemented in touchscreen source code (since it depends on functions named early_suspend/late_resume). We can implement it in hotplug drivers, but I really don't like it because it may conflict with hotplugable governors.
[Galaxy S Advance I9070 Original Android Developmen] isaak:
Saying mali you mean the tweak to disable cpu rendering (using mali hardware egl driver only)?

I applied it now and it is great, but in some thread they say it can affect device's lifespan... how can this be true?
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
Actually i was referring mali debug level n read ahead ..

Anyway i'm using only mali rendering ( egl one) and it's very gr8 for me too..and i never hv any problem with it....about device life span ...well i'm using it over a yr and mine works well till today ..lol :D

Any way joke apart i don't think it's true about life span other wise cocafe surely pointed it in op..so Njoy :p