yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] AkosPaha:
Could the next kernel get a bit higher performance? :confused:Sometimes I feel the phone has less performance than the older kernel. The RAM should be optimized because, for example, the Realt Racing 3 updates on medium graphics but the older version of RR3 I still think that the Chrono kernel has a bit better performance, but it freezes more often than your kernel, and I'm happy about it. :o With the Chrono kernel, freezing will bring you to restart, with your kernel it will freeze if doesn't reboot my phone.:victory:
[Galaxy Ace II Android Development] ace2nutzer:
Yes next build has better performance, battery lifetime and a few bug fixes.
[Galaxy Ace II Android Development] Yønn:
My problems with sdcard and related bootloop are gone since I formated my Sdcard. :)

But, still I experience some issues with Waze and/or GPS (FC, app hanging, loss of GPS signal without any reason). Previous Kernel/ROM gave better stability/performance for such task. Does anyone encounter similar issues?

[MENTION=5840412]ace2nutzer[/MENTION] : I don't criticize or complain. I just try to provide some info to help you to build a better Kernel/ROM. :)
[Galaxy Ace II Android Development] AkosPaha:
Yes, I can sense these as well, I play with Real Racing 3 on my phone, and there are still lots of games and experience that the previous ROM / kernel has had a greater performance than the games. I even noticed that the boot time was longer for about 15 to 20 seconds than the previous ROM / kernel and that should be improved.:o
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for your reports!

Can u Guys do 2 tests? flash previous ROM + latest kernel ... and test.

Test2: Flash latest rom and then previous kernel ... and test.

Report, what runs best ?
[Galaxy Ace II Android Development] AkosPaha:
what kind of things do I want to see? (boot time, speed, etc.)???
[Galaxy Ace II Android Development] ace2nutzer:
only performance is enough!
[Galaxy Ace II Android Development] AkosPaha:
All right, I can only test tomorrow, because the battery is not charged. I have 8%. Do you mind tomorrow too?
[Galaxy Ace II Android Development] ace2nutzer:
no problem for me. - btw the battery is able to charge also in recovery mode + during booting the rom.

Only in "Download-Mode" it'll not charge.

Safest way is to plug it with original AC Charger or simply with USB Cable on laptop/PC.

Just be carefully with 3rd-party USB Chargers ... as it's possible that it'll stop charging on reboot. - ----> Quick Fix: after the kernel is loaded (after around 10 sec.) just re-plug the Cable and it'll continue the charging.
[Galaxy Ace II Android Development] Sidebandit:
latest release stable and good battery, thanks for your work.

Performance. I used to use 3/4 series chrono kernel and control app on stock. I could run the Epic Citadel benchmark app no probs and even out perform my Galaxy S3 mini on Omni lollipop (fps). Now it struggles to even work. I don't know if its Chrono kernel or just more tweakable settings in the Chrono app or both that gives higher performance?
[Galaxy Ace II Android Development] AkosPaha:
I tested the roms and the kernels. The 20170618 Rom / 20170819 Kernel has better performance than the 20170805 Rom / 20170701 Kernel, but both have better performance than the latest Rom / latest Kernel. Yeah and MTP is not as good as the latest ROM + latest Kernel. it transfers files very slowly, but it does not exist with the older ROM / kernel.
[Galaxy Ace II Android Development] AkosPaha:
Yeah and if I turn on the notification LED then how much the battery drains?

This:
[Galaxy Ace II Android Development] ace2nutzer:
It's not much with latest kernel.
[Galaxy Ace II Android Development] Yønn:
I just installed previous ROM 20170618 with latest Kernel 20170819.

I will give you some feedback after some time of usage.
[Galaxy Ace II Android Development] Yønn:
After 2 days of (partial) usage, compared to latest ROM+Kernel, it seems that with previous ROM (20170618) and latest Kernel (20170819):

- global performance seems more or less the same, but more stable

- GPS app like Waze is more responsive, more stable

I'll stay with this configuration.
[Galaxy Ace II Android Development] lace_hvc:
The only difference that I have noticed is that with latest ROM and kernel, the awake time in betterbatterystats is higher, although it doesn't add up with kernel wakelocks or partial wakelocks - and also graphs. Everything seems to be fine there. But in summary awake time is always increasing a few minutes per hour, even Im in airplane mode. With older ROMs/kernels, it used to be less awake time.
[Galaxy Ace II Android Development] AkosPaha:
Hey Guys!!!

I need some help, I have a problem with A2N Kernel Control. Five times flash again ROM and Kernel + Mardon Gapps because of the error, but if it does not.:(:crying: [MENTION=5840412]ace2nutzer[/MENTION] what can you do then follow the instructions written by the app denem go, can you do something with it? Quickly, how can you fix this problem? The application is being considered !!! This:
[Galaxy Ace II Android Development] ace2nutzer:
Ok, thanks for testing ! I'll check what's the difference and add those tweaks in next build !

Thanks for your report! - Kernel Config has been changed .. it uses now a different Suspend logic.

Also BetterBatteryStats and probably other apps like that are not suitable for our hardware ... as our hardware and kernel uses a bit more different logic. The way how the BBS app count the time spend in "wake" with screen off .. isn't right. Also the "Alarms" arn't correct ...

why?

Because the app also count them with screen ON lol :cyclops: so it doesn't make much sense.

Anyway i'll still continue to provide that app, just for other reasons ...

If u Guys want to check REAL Deep sleep stats then u've to check:

cat d/cpuidle/stats

there u'll see such a stat:

| CPU0 | CPU1 | CPU0 | CPU1 | CPU0 | CPU1 | Both | Both | Both | Hit | TO |
Idle states | (ms) | (ms) | (#) | (#) | (%) | (%) | (ms) | (#) | (%) | (%) | (%) |
0 | Running | 3311662 | 4553270 | 3055915 | 2728906 | 19 | 26 | ? | ? | ? | V | ? |
1 | Wait for interrupt | 5556500 | 4283003 | 2531412 | 3236189 | 32 | 25 | ? | ? | ? | V | ? |
2 | ApIdle | - | - | - | - | - | - | 3972384 | 670710 | 23 | V | ? |
3 | ApSleep | - | - | - | - | - | - | [B]4545932[/B] | 12396 | [B]26 [/B]| V | ? |

When the Screen is ON .. and it's not charging and it's on idle .. so cpu freq is chilling down to 200Mhz .. then it's running @ state "2" "Ap

Idle

".

Same like above but with screen OFF and 1 core powered off = "deep sleep" for apps like BBS !

But as u can see, real "sleep" is state "3" here ... .. yes "sleep" there's also "deep_sleep" (removed for now state "5") but it's not stable on our hardware... (at least for now). There was also state "4" present .. and stable ... but i've merged state 4 into state 3 .. for the better powersaving.

Also latest kernel has properly working C3 state .. .. if u're curious, check any kernel version where all states was present ... and u'll face that C3 and C4 is almost never used ... but mainly C2 is used ... which is only IDLE not sleep / deep_sleep !

As u can see, stats above are grabbed from my phone ... there we can see that C3 was used of 26% and C2 of 23% !

The rest of the percentage or better say "time" was spend for charging (C1 !!) or a busy cores C0 :)

The Percentage for C3 can even reach up to 80% without problems IF u've the following "requirements":

installed gapps

working play store

location service is at least on "powersave"

any working internet connection ... (wifi is enough)

(or u use the phone without gapps installed .. but that's painful since u'll not be able to use A2N Kernel Control App ;) )
[Galaxy Ace II Android Development] Yønn:
Maybe [MENTION=5840412]ace2nutzer[/MENTION] should confirm my statement, but uninstalling A2N Kernel Control and reinstalling it from Google Play could fix the pb.

Take a look in the thread, when this app was first released. I think some others had the same issue.
[Galaxy Ace II Android Development] ace2nutzer:
That License Issue usually appears when u change the App Version without to wipe data .... (especially when u downgrade the version)

The only working fix is to uninstall the app and then to re-download from Store.

If even this doesn't work, then after u uninstall the app, simply flash latest kernel ... and then if there's an newer version on play store than the lastest kernel has built-in, then update from it.

Because the kernel installer cleans all old left-overs from that app before installing the new one .... and this fix the issue with License.

OF course u'll need all the time fully working internet connection and working play store ... so u're able to download any apps .. then it should work to 100% .. if not then it's hard to say ... maybe some conflicts with antivirus/firewall/ or even Xposed ??
[Galaxy Ace II Android Development] AkosPaha:
I tried everything , uninstall and reinstall from the play store but it does not go, I use the latest rom and Kernel, I tried the kernel again flash but it did not go either. I use Xposed but the frame of the xposed is deleted if the last rom is flashed, so the xposed it does not work until you install the framework again. A clean ROM + Kernel flash solves the problem ???
[Galaxy Ace II Android Development] ace2nutzer:
Don't know. Since only u have this issue i assume it's your own fault. Probably it conflicts with something else.

Try to flash mardons gapps.

Link is on first post.
[Galaxy Ace II Android Development] AkosPaha:
i tried the mardon gapps flash, it does not work, but the 4PDA is licensed kernel control i download it! Would it be a problem if I used it?:confused:

EDIT: I managed to solve the problem! I downloaded the app from the Google Play store and I'm a lucky patcher removed from the license and the Play store appendix. Only that way I could solve it!:angel:

No problem?:)
[Galaxy Ace II Android Development] Karut:
How well does dirty flashing to the last version work? Simply flashing the latest cm and kernel over the current version should work? Many thanks!

Gesendet von meinem Nexus 7 mit Tapatalk
[Galaxy Ace II Android Development] :
Returned to this ROM after LineageOS 7.0 test...

I can feel better performance + battery life now.

Of course, using ChronoKernel with your ROM isn't good :)

Android 7.0 give me new notifications UI, but there is no Xposed :(

So reverting back to your ROM is the least way for me...

Your ROM + Kernel is going greater, better on next update, even only you are working for it. ChronoMonochrome, SergeyL, and much developers are going for newest ROM, drop you. But we can think about greater phone with you. :good:

The LCD black bug is still appears, but on ChronoKernel it doesn't.

Maybe I will see at your driver.
[Galaxy Ace II Android Development] ace2nutzer:
Where it's defective ? (lockscreen, lpm, cwm)

LCD Type??
[Galaxy Ace II Android Development] lace_hvc:
In my opinion, the latest ROM + kernel is also a bit slower than the previous build. Launcher doesnt feel that smooth. Even emails in gmail app need some time to load. Didnt have this delay before.
[Galaxy Ace II Android Development] AkosPaha:
I would add boot time to 30-35 seconds longer with the latest ROM + Kernel than the previous one. It is very disturbing for a longer boot time!
[Galaxy Ace II Android Development] ace2nutzer:
Yup You're right :)

Some time ago i did probably some changes that decreased performance a lot instead to increase. Now i've catch them all and fixed.

Coming update is for sure even faster than the previous one :o

Real Racing 3 works even without zram ... but with some lag. But with zram enabled it works like a charm :cool:

Well, honestly i don't care much about boot time .. as long the phone works fast and smooth.

On Coming update it's even possible that it's even longer.

But what's better ?!

Fast boot time = bad performance

long boot time = Good performance :o
[Galaxy Ace II Android Development] AkosPaha:
better than long boot time = good performance. Now it sucks in performance yet it is a long boot time. But the performance was better , but the boot time was shorter than the older version!:confused:
[Galaxy Ace II Android Development] ace2nutzer:
Yeah, it doesn't mean that a long boot time = automatically good performance.

But this is the case for coming update. It depends of course always on how it's configured.
[Galaxy Ace II Android Development] AkosPaha:
All right, you should have good performance, boot time does not matter much. Good performance is more important than boot time. I am looking forward to the upgrade!:victory:
[Galaxy Ace II Android Development] ace2nutzer:
Yeah this is what i mean :)

I'm implementing PLLDDR OC Support ...

When it works, i'll upload new ROM, kernel and App ... everything better ;)
[Galaxy Ace II Android Development] AkosPaha:
How many days are there , because of my problems, especially the performance?:confused:
[Galaxy Ace II Android Development] :
Lockscreen only. When I put my phone for around one minute, then I turn on my phone, the screen lights up but show black and vertical lines running. But double tapping the status bar (the up on my phone if I mean), the screen turns off. So I can confirm that the screen is having problem.

My display driver is WS2401.

LPM and CWM is still working well, no problem.

---------- Post added at 02:28 PM ---------- Previous post was at 02:21 PM ----------

Yeah, overclocking PLLDDR will increase GPU performance!

I hope that it will help me the multitasking problem... Now I am downloading Windows 10 ISO using ADM + Talking in this topic + Using 150/1000 CPU, 250/500 GPU, using zRAM + Eating pancake :D + Playing high graphic game so it is VERY VERY laggy now :)

---------- Post added at 02:30 PM ---------- Previous post was at 02:28 PM ----------

Because he is working nearly alone, so there must be a long time for his works.
[Galaxy Ace II Android Development] ace2nutzer:
@up

i'll try to adjust the common LCD driver ...

if it's not possible, i'll add a workaround to the chuck norris mode.

btw Chrono is working on this kernel too. And some help from me goes to his kernel as well :)
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=5840412]ace2nutzer[/MENTION] and [MENTION=5695278]ChronoMonochrome[/MENTION]!

Thank you very much! The new ROM + new Kernel is amazing, its performance is excellent on RR3 average higher graphics!:) There is no freezing and lagging in performance.:victory: The layout of the A2N kernel control is excellent. Keep it up ! In the future I would like to see such good updates!;)

I use this application to set the graph in the RR3:

https://play.google.com/store/apps/details?id=lt.mvbrothers.rr3graphicsettings
[Galaxy Ace II Android Development] AkosPaha:
Ace2nutzer! I have a question, the A2N kernel control applications of headphones gain control to add could be given plus decibel was? such as the microphone gain control than. + 14db or + 18db up to?

In the next update?!;)

EDIT: Oh, and could I translate my own language into A2N kernel control? If so, please write a private message and discuss it! Thank you for your help!

Here(see
[Galaxy Ace II Android Development] lace_hvc:
Did ace2nutzer forget to update the changelog? : D
[Galaxy Ace II Android Development] brewzip:
Is it possible to update ROM+Kernel, without reflashig stock, if I have a previous sdcard_only setup with the 3GB partition_layout? How can I do it?
[Galaxy Ace II Android Development] ace2nutzer:
Flash cm11, then sdcard_only kernel and then gapps.
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=5840412]ace2nutzer[/MENTION] Yes , please post the New changelog!;)
[Galaxy Ace II Android Development] lace_hvc:
I used to have Opengapps installed and after dirty installing a new release by yours, I never had to flash gapps. For the last 2 months, I have been using HDPI_mini-gapps though. Today I installed the 20171001 ROM+kernel and realised that gapps was missing. I flashed it afterwards, but then I need to add my google account and all settings again. So I restored my backup instead. Afterwards I couldnt boot into recovery (phone only restarted). But pressing power, volume up, home allowed me to get into recovery, flash ROM+kernel, gapps. Everything is fine now.

Does that mean that with HDPI_mini-gapps, I need to flash gapps every time I dirty-install ROM and kernel?
[Galaxy Ace II Android Development] ace2nutzer:
For what do u need more than +4dB ?

Stock was -4dB ... and now the default is +0dB.

And allows to use +4dB for special cases.

U only need to use more than +0dB for some bad Audio files.

For max volume + clean sound it's needed to use +0dB :)

Anyway, some extra gain u can do with:

echo gain=7 > /sys/kernel/abb-codec/hs[B]r[/B]diggain
echo gain=7 > /sys/kernel/abb-codec/hs[B]l[/B]diggain

first is for right speaker and the second is for the left speaker.

this gives +1dB boost.

gain=6 gives +2dB... and so on ...

and gain=0 gives +8dB.

Maybe in the Future, sorry.

Nope, i was just busy.

No, u don't need to restore the backup. Just flash gapps and everything is fine again. U maybe only need to re-enter e.mail address and password for Play Store.

Also it's possible like u said, that for the first time ... reboot to recovery doesn't work. (only on dirty flash) .. but the second attempt will work. This is due of some recent reboot/shutdown optimizations and fixes ! - Anyway, booting to recovery by pressing home, power and vol. up, should always work.

Nope, it has nothing to do with the gapps itself. I've updated the updater-script ... it forces to wipe system before flashing new rom. This is ensures and avoids conflicts with some left overs or some bad changes by users.

Also it cleans everything up, it's also needed to remove left overs from old gapps package.

Especially when u guys flash different gapps packages ... it's needed ... it'll also avoid to run out of space caused by gapps leftovers from old package ! :)

I'll write now the changelog Guys :)
[Galaxy Ace II Android Development] AkosPaha:
I need to enter the code in the terminal emulator?

All right, no problem, I just took it!;)
[Galaxy Ace II Android Development] ace2nutzer:
Yes, for testing ... then if u know how much u want to gain ... then copy the code to your user init.d.

It's like always here: /system/etc/init.d/99_user :o

edit: then save and reboot to apply your changes at boot. but on terminal emulator, changes applied there are immediately applied to the kernel without the need to reboot.
[Galaxy Ace II Android Development] AkosPaha:
I tried to add more gain but failed with terminal emulator!
[Galaxy Ace II Android Development] AkosPaha:
You've forgotten a "dot" in the 4.4.4

Look at the screenshot;)

Here:
[Galaxy Ace II Android Development] ace2nutzer:
what kind of error ?? - As always, every change to the kernel sysfs interfaces are only possible as "root" execept of someone.

So u've to login first as root user by typing "su" which means "super user".

Then after u entered the command, u can check the result with: "cat" instead "echo gain=x >".
[Galaxy Ace II Android Development] slayer_007:
I want to ask something. How to change boot sound. I tried all the ways and i could not. How sound comes ?
[Galaxy Ace II Android Development] galac44:
I installed latest ROM+kernel (20171001). It works fines for now. But the A2NKernelControlApp demo doesn't appear in the app list, although the apk is in the right place.

Sometimes something strange happen, which is not new and not specific to this ROM : I have random "click/touch" on the screen. For some seconds there are multiple touch on the screen without doing nothing. So it can launch app, click on the parameter panel, or even make a phone call, depending on what is on the screen. Did anybody else notice that ?
[Galaxy Ace II Android Development] ace2nutzer:
Is it also happen with full battery and no plugged cable ?
[Galaxy Ace II Android Development] Sidebandit:
Had problems with latest build installing app, lack of space internel memory. I've got plenty of space 2.gb free. App size 150mb. My ace 2 is repartitioned. sd card kernel. Rolled back to previous release.
[Galaxy Ace II Android Development] ace2nutzer:
Which app ?
[Galaxy Ace II Android Development] Yønn:
I have similar issue using sdcardonly Kernel (only with GuitarTuna app). Cannot install due to lack of space either internal or sd card but I have more than 800Mb free space.

Still with latest ROM and Kernel from 20171001, dirty install, GPS gets broken very often. Need reboot to work again.

With previous builds (before summer, have to check which build), this happened rarely.

Apart from these problems, battery and performance are good! :victory:
[Galaxy Ace II Android Development] ace2nutzer:
Looks like something went wrong with latest kernel. I'm fixing it now!

As for the GPS Bug: i don't use GPS so can u pls tell me how i can reproduce it ?? (be sure it's not antenna issue, check screws)
[Galaxy Ace II Android Development] Sidebandit:
Ok full story. I dirty flashed latest update and gaps didn't work at all. Reflashed Gaps you recommended from previous update. fixed. Then i couldnt install opera mini error 7 ????. Factory reset clean install, Rom, kernel, gaps, wipe dav and cache. This fixed opera mini issues with gaps. Tried to install epic citadel (150mb) fps/benchmark unreal 3 engine and it fails install because of lack of internel space.

I almost forgot, dirty install wipes apps installed on sd card.
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for detailed report!

Yeah u can't use dirty flash for ever ... sometimes a clean install is needed.

Full Wipe is always best, but to save some time, it'S also possible to wipe data only for apps that are causing actually problems.

Yes, it's caused by the same issue with app install ... fixing it now!
[Galaxy Ace II Android Development] AkosPaha:
I also noticed some bugs in the last update, I can not install 100mb + bigger games and that's sad! :( I don't have problem with performance:victory: , but sometimes I notice that performance is very fluctuating, sometimes good, sometimes bad, it can be confusing at the same time!;)

Edit: [MENTION=5840412]ace2nutzer[/MENTION] What's new in A2N kernel control 2.8? Is there a new kernel update?
[Galaxy Ace II Android Development] ace2nutzer:
2.8 = updated only zram text.

Kernel update = still can't find the bug, but i suspect it's caused by selinux, seems it's buggy .. maybe i'll disable it again.

Edit: Fixed !
[Galaxy Ace II Android Development] Yønn:
Using Waze or GPSstatus for example. After some time of usage, GPS signal is lost and then broken. Cannot use it until reboot.

I already used my screwdriver to tighten up the screws, but this did not fix the problem.
[Galaxy Ace II Android Development] AkosPaha:
Will installation issues be fixed in the next update? I can not install any big applications!:(

what was you fixed?
[Galaxy Ace II Android Development] vbarcaz:
The md5 for cm-11-20171001-UNOFFICIAL-FULL-codina.zip on

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/Android_4.4.4/ROM/

do not match.
[Galaxy Ace II Android Development] Sidebandit:
Just to be clear, the fix is the A2N app with Selinux removed?

I'll check latest kernel in previous rom build before re-installing everything again.

update. re-downloaded A2N app selinux option still there.

update2. New kernel same issues, reverted back to a2n_kernel_gt-i8160_4.4.4_sdcard_only_20170819.zip
[Galaxy Ace II Android Development] ace2nutzer:
when i write "fixed", it means i've fixed it here local for me.

later i'll upload new builds :)

one bug was in ramdisk...
[Galaxy Ace II Android Development] AkosPaha:
Why did CPU frequencies be removed between 200mhz and 800mhz, long ago? Can you give me some frequencies?

Here:
[Galaxy Ace II Android Development] ace2nutzer:
400 & 600 MHz Steps was causing issues e.g. lags on scrolling and wrong playback when u don't touch the screen. i.e. impossible jump game was running very slow. That's why there's no 500 MHz Step for Powersave profile, it's just replacing 800 MHz Step with 500 MHz Step in order to avoid lags.