yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] BOOTMGR:
Well, i don't think this has anything related to memory management.This value only puts constraint on memory which can be/must be allocated to each task which executes in its own VM. Reducing this value will cause garbage collector to run often giving more free RAM but disadvantage is that Dalvik is designed such a way that it need to pause whole VM in order to run GC which causes minor lags.I think's that's why Sammy increased Dalvik Heap size (FYI: AOSP has 256MB heapsize).GB requires less memory for each task because of light resources and not so heavy code.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
Is this zram init.d script that I made good?

#!/system/bin/sh

echo 100663296 > /sys/block/zram0/disksize 96x1024x1024
mkswap /dev/block/zram0
swapon /dev/block/zram0
[Galaxy S Advance I9070 Original Android Developmen] corvus.corax:
I am stuck in the Universal Kernel Flash app while reinstalling everything after experimenting with CM 10.2. I did a factory wipe/reset, then reflashed 4.1.2 via Odin. After that, I rooted, then downloaded UKP. When I ran UKP and attempted to select the kernel image (the CoCore .md5 file), UKP told me this: "Unable to find application to perform this action".

I am not sure what's happening, but I do have the .md5 file on my external SD card. What do I do? thanks
[Galaxy S Advance I9070 Original Android Developmen] kamalnath93:
Install root browser from play store,then get into UKF and intall it.....BTW pls ask such questions in Q & A thread.....
[Galaxy S Advance I9070 Original Android Developmen] corvus.corax:
OK, I will next time. Thanks for the info.
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Deep Slepe State Set to 5

CoCafe confirmed, On-demand works well when DS state is set to 5, but I get atleast 5-6 reboots in a day when I keep the DS state to 5 with Ondemand and Sio. Any thoughts ??
[Galaxy S Advance I9070 Original Android Developmen] corvus.corax:
Can you add a 2g/3g toggle? It would be very useful to have, especially if it showed up in 23 toggles :)
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
This is kernel, it has nothing to do with toggles.
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
Our device doesn't like deep state 5. It'll always reboot.. I've been testing DS4 for a few days, with a hotplug governor (pegasusq/hotplug/etc), the worst combination you could say. I've never seen it reboot the past week and idle battery life is awesome... you can safely use 4.
[Galaxy S Advance I9070 Original Android Developmen] gonxsster:
Hi [MENTION=4832589]cocafe[/MENTION] I was wondering, since I have this problem, if CoCore kernel it's able to solve screen issues. I'm referring to banding, ghosting, burn in, blurred lines that sometimes Super AMOLED screens show... I was searching in depth how to solve this, and I've found that in a S2 forum these lines go away with Apollo kernel (I don't know for sure if it's true. One user tried and seem to work with him). Of course SGSA doesn't have this kernel developed, so the question goes for you.

Now, I have my SGSA for a exactly a year now and these lines are getting more and more notorious. They are horizontal and static, by the way, and they vanish when the image changes the color, I know from other experiences that it can be in any tone color, in my case the lines are there on any color but it's more notorious in Red, orange, yellow and sometimes blue, green and lime. Can you give me some information about this? Do you deal with this kind of problem? If so, do you modified Cocore to make it work properly on screen?

Well, I hope the picture could help you to describe what I'm talking about.

Ps: I'm sorry for the 'Off Topic' but this could be helpful to solve this.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
Anyone?
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
I am not sure, but you can check it yourself. Written in first post:

To check how many does it use:

cat /sys/block/zram0/num_reads

cat /sys/block/zram0/num_writes

Write that in terminal editor.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
It says 0.What should I do to make it work?
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
First try manual to use those lines.

echo 100663296 > /sys/block/zram0/disksize 96x1024x1024

mkswap /dev/block/zram0

swapon /dev/block/zram0

One by one in terminal editor. After that recheck with those cat commands.

Try with this too, first install busybox.

#!/system/bin/sh
busybox mount -o remount,rw -t auto /system;
echo 100663296 > /sys/block/zram0/disksize 96x1024x1024
mkswap /dev/block/zram0
swapon /dev/block/zram0
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
The terminal method works.I tried it first.

Thank you for the script.I'll try it now.
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Oh, and I forgot. Set permissions to script and init.d folder to 777.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
It didn't work.:(
[Galaxy S Advance I9070 Original Android Developmen] BOOTMGR:
Anybody wants this feature?

[YOUTUBE]zuAdNR7IlLM[/YOUTUBE]

I tell it pinch2wake (don't know what's real name).

What it does --> Swipe down with 3 fingers to sleep device.

Flash attached kernel using Universal kernel flash or dd method.

(attached zip file is not flashable, extract it to get kernel.bin.md5)

By default it'll be enabled, to disable it

echo 0 > /sys/module/mxt224e/parameters/pinch2wake

I've sent pull request to cocafe he can merge if he wants (thanks [MENTION=4832589]cocafe[/MENTION] for implementing ponKey API, it saved my some hours)

(It's stock kernel with CWM and some required changes)
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Sorry, I am afraid that your screen has been damaged.

My phone has used for one and a half years, no such issue at all.

Because we lack of the proper document of S6E63M0, It isn't easy to do such thing...

Yes, I saw your pull request.

Maybe it won't be included into my kernel, but you can compile kernel with this feature and use in your ROM.

Thank you for the idea.

=====

New release will be available on Sunday, I am doing the last stability test.

Thank you for patience, guys.

CoCore-E is Still Going On
[Galaxy S Advance I9070 Original Android Developmen] adba:
hello sir cocafe...

Would u like to make a kernel which support with our CM 10.x or CM 11 ??? :D
[Galaxy S Advance I9070 Original Android Developmen] #Henkate:
I want it,but on kernel cm :D
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
He already contributes to Team Canjica. So, TC's CM kernels do have some of the cocore magic.
[Galaxy S Advance I9070 Original Android Developmen] axlrvx:
I really think that is magic what CoCafe is doing with CM kernel, I have never feel a better working kernel than the S Advance CM kernel.

The CoCore E 8.2 works great on the S Advance, even with touchwiz.

Enviado desde mi Nexus 4 mediante Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Waiting for the update...:sly:
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
First Looks.....App Drawer is much snappier and lag free...than previous 8.x versions, Games run much smoother than 8.2.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
It takes me hours to rewrite thread. :(

New charger control, and new feature in ABBamp.

We can disable speaker in kernel level through ABBamp now.

To disable: echo 5 1 > /sys/kernel/abb-codec/anaconf4

So that we don't have to use "mute all sound" in system settings.

FSync has added reboot handler to flush data.

More function please recheck the thread... thanks

And the UKSM, recommend you check out the website of it.

And, here is my shell scripts for SManager(The screenshots in POST#1)
[Galaxy S Advance I9070 Original Android Developmen] Karrammosky:
I noticed a bug: Max CPU freq. is locked to 800mhz. I tried to set it to 1000mhz with No-Frills and with SetCPU, both can't set it to 1000mhz...

Inviato dal mio GT-I9070 utilizzando Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] lotus_flower:
I noticed that my screen is very slow to respond with 8.6,anyone else?

edit: after one more reboot it works as it should.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
[MENTION=4832589]cocafe[/MENTION]

How to make a proper zram script?I tried to put the lines you wrote in the first posts but it didn't work.
[Galaxy S Advance I9070 Original Android Developmen] kamalnath93:
Pls turn off power saving mode in settings....It reduces CPU to 800mhz for power saving process..... :)
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
Power saving mode enabled? That caps CPU frequency at 800 mhz no matter what you do.

------------------------------------------------

On another note, [MENTION=4832589]cocafe[/MENTION] this new kernel is insane. Phone is nearly as, or just as snappy as CM11 under ART mode O.o Just like on that rom, I tap an icon (be it whatsapp, FB messenger, dolphin... heavy apps, you get the idea), then the animation plays

inmediately

and the app starts. No lag, no half second waiting, not anymore. (90% of the time, otherwise there is that little waiting time but it's much reduced compared to older kernels). This is on the latest debloated harsh jelly so I'm running a light stock rom, but the difference is, again, insane. I'll keep testing, but that's the first 5 minutes impression and it is certainly amazing.

Insane. Samsung should hire you, you are a frikin wizard! Another bucket of thanks going your way!
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
Just downloaded and flashed the kernel.. I'll see how it performs in my phone with my ROM.. We're all very thankful for your hard work mate :D

And [MENTION=5257483]juanchotazo99[/MENTION]; Calm down mate!! :p
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
LOL. I can't calm down, thanks have to be given when they have to be given.

I can't believe stock 4.1.2 is running this well.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Here is an init.d

Google can help you

Maybe UKSM is working(UKSM works when system is idle, takes about 1% ~ 9% CPU), wait for a while.

UKSM can save about 30Mb RAM

Thank you, dude

---

I am currently testing SLQB. Someone might say, why SLQB again?

I saw an excellent developer, Ezekeel, who insists on using SLQB.

Since Mali memory allocation failure has been fixed, I would like to have a try again.

SLUB looks smoother in UI, SLQB looks faster in Minecraft PE (the only game in my phone...)

Next Sunday I will try to make Battery Life eXtender(Original idea by Ezekeel), and Cycling Charging.

Also some fixes on mxt224e with BAD chargers (electronic noise issue)

And will push commits to CM kernel

Thanks again.
[Galaxy S Advance I9070 Original Android Developmen] malek_anas_97:
[MENTION=4832589]cocafe[/MENTION] huge thanks ! i flashed stock 4.1.2 with odin yesterday and then flashed Cocore 8.6 latest , the performance improved alot comparing to stock , you're awesome :D keep it up :)
[Galaxy S Advance I9070 Original Android Developmen] lthy31:
Hi guys, today I flashed CoCore E 8.6 on my S Advance on CM10.2 and got stuck on boot logo. Does this kernel not support cm? Last time I was using 8.2 on CM10.2 and it worked perfectly fine. I wiped cache and dalvik but still same problem :(
[Galaxy S Advance I9070 Original Android Developmen] Razvan:
Really?

CM has own kernel, so that why you stuck in boot logo.

The last time you probably put CM over the cocafe kernel 8.2 and because of this nothing happened CM kernel is writing over the cocafe kernel.
[Galaxy S Advance I9070 Original Android Developmen] lthy31:
Sorry didn't know that, reflashed CM and back to normal.
[Galaxy S Advance I9070 Original Android Developmen] Karrammosky:
Power saving wasn't enabled, anyway problem solved, don't know how but it's solved :)

Inviato dal mio GT-I9070 utilizzando Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] isaak:
Reading at most four feedback about this version in another community I follow (I don't want to advertise it), it seems that this 8.6 may create some lags with youtube videos and lower performances in games than 8.2.

Could be UKSM to cause this?

I think you should report directly this command in HOW-TO:
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Please...I need to set up DS state to 5..get random reboots when I place init script with DS=5...tried every governor and i\o..OP says 5 works well with On demand...but it does not work...works well with 4....not with 5 cocafe please reply....!!:(
[Galaxy S Advance I9070 Original Android Developmen] Karrammosky:
It't explained in OP (first post), our phone doesn't work well with DS 5, with every ROM or kernel

Inviato dal mio GT-I9070 utilizzando Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Thanks, but the website of UKSM has explained everything.

I have limited the UKSM CPU usage, you can enable showing cpu usage in developer settings, track proc "uksmd".

UKSM will work only when system is idle.

It's definitely true that when a new build release, someone will say it's good, someone will say it's bad

And someone will say he will roll back to old version.

It's normal. For me, it's nice. But I also notice that sometimes it lags, and when i check CPU usage in Elixir2,

Sometimes, Samsung's media scanner is working! Sometimes, some procs takes CPU load. That's why it lags.

Hmm? I have not modified CPUIDLE code for a long time. You can check github commits history.

------

I have managed to modified Samsungbootlogo.

I will write a guide on Sunday. It's not my original idea, to be honest.

But I make it work on our device.

If you are tired of Samsung bootlogo, you can try this:

This mod is dangerous if you typed a wrong flashing DD command!

Don't try if unsure.

Get `su` mode in terminal, then:

Backup your original param partition:

Check the attachment, download that zip, extract it, push "param_coco3.j4fs" into /sdcard

If you don't like the cocore bootlogo:

Restore the backup:

If unsure, wait for the guide on Sunday

Have fun
[Galaxy S Advance I9070 Original Android Developmen] Shiningb:
[MENTION=4832589]cocafe[/MENTION] thanks for the birthday present gonna test it in a few minutes...

5 of January was my birthday.... and I got 16...

Let me try this...
[Galaxy S Advance I9070 Original Android Developmen] aotta:
i read in the changelog about some new option with the led... but non news about the BLN compatibility?
[Galaxy S Advance I9070 Original Android Developmen] ADR USR:
8.6 surprised me.

I thought that improvements in STOCK ROM had already reached the limit.

I've been trying to install CM to try to achieve something more in the GSA.

Was fooling.

I'm using 8.6 since yesterday and very very pleased.

Thanks
[Galaxy S Advance I9070 Original Android Developmen] tonynk9:
Can I use this kernel with any 4.3 jellybean rom or only for 4.1.2?
[Galaxy S Advance I9070 Original Android Developmen] shadytarek_97:
Only stock based roms and we dont have except 4.1.2 as stock :p
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
(On version 8.6)

Is it just me or did any one else also encounter Random video playback lag.. on both Stock Video player and on YouTube..

The lag starts when I start watching a video.. then its really hard to close the app or open Task manager.. the entire UI pretty much freezes and also buttons don't work temporarily..
[Galaxy S Advance I9070 Original Android Developmen] lotus_flower:
same here,I flashed 8.2 again
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
strange !!??

Is it only me or anyone else also getting random "touch screen being mad" problem on 8.6 ??

I.e while browsing autochange tab /zoom in/out , start changing icons on home screen ; even auto video call :silly: Lol :confused::confused:

All these things happened to me atleast once :eek:

Using harshjelly5.0 , cc8.6 , interactive\sio\deepsleep 4

[MENTION=4832589]cocafe[/MENTION]
[Galaxy S Advance I9070 Original Android Developmen] vieri_firman:
me too....:(
[Galaxy S Advance I9070 Original Android Developmen] darcik:
I just experienced this too.

Screen looks like it vibrated.

Icons vibrated, phone tried auto call.
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
Weird. I haven't experienced that!

My power on key might be behaving a bit differently, sometimes requiring two presses in order to lock the phone but nothing out of the usual. That's just probably the key acting up or something.
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
8.6 is exceptionally smooth for me, save for the occasional lag/stutter. Inlove how quickly most apps gets launched.

Great job CoCafe :thumbup::D
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
True.. in overall, the entire UI feels snappy and faster than before... but the only problem I'm having is occasional video playback lag...
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
I have known what sucks on touchscreen.

I haven't known what sucks on video playback.

Cannot build anything now.
[Galaxy S Advance I9070 Original Android Developmen] andu86:
Im using 8.6 for almost a week now, and its very snappy when launching apps, but when closing big apps like facebook or chrome it lags alot. I use nova launcher and i can only see the wallpaper for 30secs when i press home key to exit an app.

Also the phone is charging slow but draining fast
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/22/2013] CoCore-E 4.0

I am still working.

But i have to go to school tomorrow.

So i cannot dev frequently.

I need to study.

Thanks for understanding.
[Galaxy S Advance I9070 Original Android Developmen] Nekrid:
I just asked about changing, of course, I understand that core is not your life :) Make it as long as it must be made, we're waiting :)
[Galaxy S Advance I9070 Original Android Developmen] d14gvn:
Re: [Kernel][02/22/2013] CoCore-E 4.0

All drivers installed fine, the issue persists
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/22/2013] CoCore-E 4.0

You have unlocked the screen?

And try another cable.

I have an old cable,my pc cannot recognize my phone with it.
[Galaxy S Advance I9070 Original Android Developmen] d14gvn:
Re: [Kernel][02/22/2013] CoCore-E 4.0

Screen unlocked and turned on, two cables tried, still the issue, and if this information helps, with thunderzap 4 I don't have this issue :s
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
I just copied 350MB ROM to external SD with ADB push via ADB plugin for Total Commander. No hangs. CoCore-E 4.0.
[Galaxy S Advance I9070 Original Android Developmen] Prabuw:
Re: [Kernel][02/22/2013] CoCore-E 4.0

Such a humble answer...

your kernel and adi_pat both are the best kernel IMO. God bless you guys.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/22/2013] CoCore-E 4.0

Hmm.

Thanks for understanding,again.

I think the TWRP(2.4.1.0) works.

This TWRP is extracted from S3 mini(ux500 platform) recovery.img.

Built by official T.W.R.P

And after adjusting jRCU,the UI should be faster,but AnTuTu might suck..... :o

Today,perhaps can update for GingerBread uesrs too.

EDIT:

If jRCU doesn't behave well,i think we should remove it...
[Galaxy S Advance I9070 Original Android Developmen] Nekrid:
New version, yeah! :laugh:

Must 4.2 be flashed as md5 or as zip through CWM?

P.S. Sorry but what is jRCU? I googled it but find just that it exists :(
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
So 4.2 is a stable update.

Removed multi-core scheduler.

Removed jRCU.

Added TWRP.

Please check NOTES part.

I have sth to say there.

:)

And the Gingerbread updates,

My old machine(Pentium4+1Gb RAM) works slowly and laggy,time is limited..

I am sorry.

When i get home on Sunday,will make it.

Please try mini 1.5 It has sound booster.

Thanks!
[Galaxy S Advance I9070 Original Android Developmen] er.jaldip:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Thanks cocafe for regular updates and superb improvements.

Testing 4.2........

Samsung Galaxy S Advance

Rom : Jelly Bean 4.1.2 I9070XXLQ4

Kernel: CoCore E-4.0 (testing 4.2)
[Galaxy S Advance I9070 Original Android Developmen] search74:
Re: [Kernel][02/24/2013] CoCore-E 4.2

CoCore 4.2 TWRP is freaking awesome!!! So far so good! Thank you!!!
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
CoCore 4.2 is dope!! :D Can reboot to recovery and back with no problem.
[Galaxy S Advance I9070 Original Android Developmen] :
Yes, but multi core disabled :(
[Galaxy S Advance I9070 Original Android Developmen] Nekrid:
Please, friends, tewll me if the latest version must be installed through CWM or just using only md5?

Darkness and Hope, multi-core - on what does it influence?
[Galaxy S Advance I9070 Original Android Developmen] Vayper_fr:
Install the lastest version through CWM :cyclops:
[Galaxy S Advance I9070 Original Android Developmen] frisky_bg:
What governer / I/O combo you guys think is best for everyday usage?
[Galaxy S Advance I9070 Original Android Developmen] Vayper_fr:
I use Pegasusq / SIO
[Galaxy S Advance I9070 Original Android Developmen] adamuadamu:
just installed E4.2, as E4.0 seemed to be the most unlucky and buggy one for me, ie.

1. deepsleep=5 + ondemandq => freeze to death upon first attempt to unlock the phone;

2. set AC charge to 300 => sod upon connecting charger

3. random gsm signal losses (when in range of at least six home network towers around)

thanks for all your work cocafe, contrary to other two kernels in the forum yours are always great battery savers without any performance sacrifices. :good:
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Re: [Kernel][02/24/2013] CoCore-E 4.2

Hotplug if you care about power.

1. OndemandQ is a hotplug governor.Any hotplug governor cannot work well with deepest 5

2. I dont get it. SOD is???? :confused:

3. This is modem related.Not kernel.
[Galaxy S Advance I9070 Original Android Developmen] Patlcs:
Hi guys,

When using cocore kernels my phone always says "android is upgrading" after the samsung boot animation. Do you know how to get rid of this?
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
What IO scheduler do you use? It is it like that with SIO?
[Galaxy S Advance I9070 Original Android Developmen] Patlcs:
Deleted
[Galaxy S Advance I9070 Original Android Developmen] andu86:
Ondemandq / sio

This is how it looks when i exit an app
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
I do not use Chrome, because it is RAM demanding. I am not sure about FB, but I think it is too... I am using CoCore 8.6 for a day now, only problem I got was that youtube freez. I will let you know if I get similar problem like you. I am on PegasysQ/SIO and Hotplug/SIO.
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Wow becomes a cool wallpaper...:p
[Galaxy S Advance I9070 Original Android Developmen] ADR USR:
Yes, after a few days of use I experienced that.

On demand/SIO
[Galaxy S Advance I9070 Original Android Developmen] yasje:
1week of use...

Horrivle laggs rams get 500+ for no reason kany wallpapers i see and lagg as hell
[Galaxy S Advance I9070 Original Android Developmen] Shiningb:
Wow, how did it get like that??? LOL

Chrome is RAM demanding?? Hmmm that's why my phone always lagged terribly on using Chrome while hearing music...

Off-topic: Can anyone recommend a internet browser as fast as Chrome, not so simply, but kinda lag free...
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Try Next browser.
[Galaxy S Advance I9070 Original Android Developmen] dagger:
You can try boat browser too..:)
[Galaxy S Advance I9070 Original Android Developmen] dimitris99:
Or dolphin :)
[Galaxy S Advance I9070 Original Android Developmen] arffrhn:
Fastest, lightest browser I have ever use is Browser For Android. Amazingly fast. Super small size (only 768kb) but then I just don't like how it looks. Just give it a try, maybe you like it. :D