yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
Hi, thanks ! i've checked the log but for this time it wasn't useful.

Reboot happens even with kernel default settings ?

Please post new last_kmsg.txt if it reboots again.
[Galaxy Ace II Android Development] zero407:
Well I haven't really touch any settings but the ones you recommend on the useful tips section. On the other hand I wasn't really sure about what model this phone is (GT-I8160, GT-I8160P or GT-I8160L, I thought that could be the cause of the reboots), but I believe it is a GT-I8160 cause I flashed the support file for the other two models just to check and those two times I flashed it I wasn't getting any mobile signal.

Here is another last_kmsg.txt, hope you find it useful
[Galaxy Ace II Android Development] ace2nutzer:
Thanks ! I'll check it later.

Yes, then you had to flash again ROM in order to get support for I8160 .. since there is no support file for the 8160 model ... because we use this already in ROM as default model.

So you have a standard Ace 2.

I'll try to fix and upload new kernel.
[Galaxy Ace II Android Development] njascgil:
Hi!

In case I am satisfied with the default values and never use A2N Kernel Manager, may I simply uninstall/remove it (from /etc, /data/app, /system/app, etc.)?

Thanks!
[Galaxy Ace II Android Development] ace2nutzer:
Changelog:

Kernel 2021.03.24:

CPU: use 200 MHz step only with screen OFF

Set swappiness to 150

Some souce code update to android kernel 3.0.72

zRam, zsmalloc and lz4: update from LK 3.10.103 to 3.18.140

RAM: removed KSM support

Added more TCP congestion algorithm

defconfig: allow CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS to be enabled

lib/lz4: update to LK 4.11.12 (for zRam)

zRam: decreased overhead and memory usage

Added support for kernel mode NEON

Added support for WQ_POWER_EFFICIENT

Added support for ARM/NEON optimizations for crypto in SHA/AES modes

A2N Kernel Control V. 7.8

Profiles: Performance Plus: allow custom Freqs

Network: added more TCP congestion algorithm

Advanced Power Menu: update

Updated defaults
[Galaxy Ace II Android Development] coffasbana:
That didn't go well... I started with a GT-I8160 on Andoid 2.3.6. The instructions said I needed to start from 4.x.x I downloaded the most recent ROM from the link provided. Odin doesn't open ZIPs to I assumed (possibly naively) that it was to be executed from recovery mode.

On the positive side, that now means the default recovery mode has been replaced with CWM. On the less positive side, nothing else seems to work (It displays "Samsung Galaxy Ace 2" when I switch on, but then goes to a blank screen.

Any pointers to help me out of the hole I have dug myself would be very welcome.
[Galaxy Ace II Android Development] ace2nutzer:
Hi, you need to update first to Android 4.1.2.

To be able to flash a ROM with ODIN you need *.tar.md5 packages, so you must unpack the *.zip package, there you find the *.tar.md5 packages and the *.pit file.

Follow carefully the installation method here from post #1.
[Galaxy Ace II Android Development] gepel:
Hello to all. @ Ace2Nutzer with the latest kernel, when i modified the cpu undervolting a popup prompt me that this is not the latest version of kernel and should be updated ..
[Galaxy Ace II Android Development] gepel:
I gave a try on 4.1.2 and the same issue applies also on chrome and youtube. So maybe is something on OS in general, play services maybe.?
[Galaxy Ace II Android Development] ace2nutzer:
Can you show me what you see ?
[Galaxy Ace II Android Development] gepel:
Now im on 4.1.2. , the same issue is on youtube too. One last thing . I had audio problems when using messenger lite on 4.4 . But these problems are not present on 4.1.2..
[Galaxy Ace II Android Development] ace2nutzer:
Kernel outdated popup will be fixed in next kernel/app release.

As for the audio issue: yes 4.1.2 is older than CM11 but it's bug free.

That's why i had stopped CM11 development.

And for Chrome/YT: it can't be updated to the latest version because Android 4.1.2/4.4.4 is no longer supported.
[Galaxy Ace II Android Development] ace2nutzer:
Changelog:

Kernel 2021.05.22:

zRam: set to 50 % size by default

improved driver

Memory Management: optimized low-memory-killer to have min 48 MB free RAM

for quick response even if RAM is in high pressure state

SELinux: added ability to fake enforce status (experimental - in demo app)

CPU: updated ondemand gov for the better smoothness and battery life - up_threshold 95 by default

CPU: up_threshold=95 and disabled boost always fixed on suspend for more power saving

CPU: increased min_freq to 400 MHz, but on suspend it'll use 200 MHz for power saving

GPU: updated ondemand gov for more powersaving - up_threshold 95 - boost enabled

GPU: driver update for better memory allocations

A2N Kernel Control V. 7.9

New: check for new A2N Kernel release on app launch

Updated defaults

Bug fixes

Removed redundant buttons

Reduced network traffic and debugging

Fixed wrong displayed "Kernel Outdated" popup
[Galaxy Ace II Android Development] gepel:
I installed new kernel (microsd only) but even with new version of app I have got the following , unsupported device or missing a2 kernel..
[Galaxy Ace II Android Development] gepel:
Strange things, now the kernel app is working perfectly..
[Galaxy Ace II Android Development] ace2nutzer:
It was likely still Full V. 7.8 ...

Only Demo version will be updated together with kernel.

Full version update always over Play Store automatic or manual like other apps.

Yeah after you got the update to V. 7.9, right ? If so, now it's all right.
[Galaxy Ace II Android Development] gepel:
The version was OK (7.9), but as I said now its working..
[Galaxy Ace II Android Development] kodina:
It is amazing that this ROM for our Ace2 is still supported and updated... lmao
[Galaxy Ace II Android Development] ace2nutzer:
ROM is outdated, but kernel is OK. Soon i'll try to build AOSP from scratch for this phone.
[Galaxy Ace II Android Development] 0xf0f:
Hello ace2nutzer, thank you for the excellent work here!

Could you please point me to a FM Radio app that works with this ROM?
[Galaxy Ace II Android Development] ace2nutzer:
With the included SpiritFM app.

From post #3:

Open SpiritFMFree App, go to Setting ----> Audio ----> Method ----> "Galaxy S3/Note/S2_ICS"
[Galaxy Ace II Android Development] 0xf0f:
There doesnt seem to be any included SpiritFM app, is there an extra step for installing it I might have missed?
[Galaxy Ace II Android Development] ace2nutzer:
Nope, but maybe it's missing in latest cm11 rom package.

Anyway you can try to download from Internet and just install it like any other app. (spiritfmfree)
[Galaxy Ace II Android Development] gepel:
I,m vary happy as I received a notification for a new update. Do we have a changleog for that ?
[Galaxy Ace II Android Development] ace2nutzer:
Sure, here you go:

Changelog:

Kernel 2021.10.29:

Improved stability

Fixed apps force close (at least on kernel side)

Improved memory management - especially multitasking

CPU/GPU: optimized ondemand governors

Updated zRam driver

Disabled "CONFIG_RT_GROUP_SCHED" as suggested by Google AOSP upstream, for the proper handling of real-time tasks

Supports now NFS V.4.1

CIFS: updated driver

SELinux: optimized "fake enforce" hack

Updated kernel config

A2N Kernel Control V. 8.0

RAM: LMK: added 16 MB choice,

added "Swappiness" tunable

Slightly theme changes

Bug fixes

Improved stability

Reduced mobile data usage

Updated defaults
[Galaxy Ace II Android Development] ChronoMonochrome:
/dev/block/mmcblk0p8 (UMS)
[Galaxy Ace II Android Development] supachris:
OK, I found the issue in my hardware setup. The USB cable for my test is too poor. I made a new cable with thicker wires and now the phone charges [MENTION=467413]500[/MENTION]mA without shortening the DP/DM and 600mA with shorten lines. Sorry for the confusion. Now I have to look at the cables of the Brodit car mount to get the full or at least USB charging current.

[MENTION=5840412]ace2nutzer[/MENTION]: In posting #3 you wrote:

Samsung charger can charge at 900mA without setting it in NT settings? Or do I missunderstand this?
[Galaxy Ace II Android Development] Jaro89:
trim

Hi, first of all, thanks for great kernel, ace2nutzer. Second - I have a question, does this kernel support trim? When i try to use lagfix, it shows message that "fstrim: FSTRIM: Not a typewriter". Using fstrim in terminal emulator gives me "Inappropriate ioctl for device". I havent tried via adb yet. My thought is that CM (your version for f2fs), or kernel (your f2fs version from 07.01.15) or both do not support trimming. Is that right?

Sorry if that question was asked before.
[Galaxy Ace II Android Development] shaqman89:
Those are USB 2.0 limit specification, so theoretically it cant use higher than that (or something dangerous might happen :eek:)

In the kernels case, you still need to set it in NT settings else it would be default from kernel (which is 600mA max if I remember it correctly)
[Galaxy Ace II Android Development] gribo:
Sorry but it's not a spam, its a question in every thread in which j hope to have an answer to choose the best rom for me.....
[Galaxy Ace II Android Development] shaqman89:
The way you are doing it is spamming. And to be honest, it makes some people (like me) less willing to answer your question.

#EOT
[Galaxy Ace II Android Development] gribo:
ok i erase,sorry
[Galaxy Ace II Android Development] fluffi444:
Exactly! :good: (...and me, too)
[Galaxy Ace II Android Development] yulligulli:
in comparison to 0115 much better with cm11.0_codina.nova.20141215@1GHz

Great work. Thx!
[Galaxy Ace II Android Development] Glpcha:
[MENTION=5840412]ace2nutzer[/MENTION]

Test version is working ok for me. I think that the ram management problem is gone. Don't know about oc because my max is 1GHz
[Galaxy Ace II Android Development] Matteo90:
[MENTION=5840412]ace2nutzer[/MENTION]

I've been playing around with your latest test kernel since last night, and so far it seems to be very promising! The interface and the lockscreen is smooth, with no noticeable lag whatsoever. I belive it's even faster than 1220. :) The call screen is also responsive and pops up faster than on the previous kernels, I had no problems with missed calls this time.

As for OC, my phone is stable @ 1200mhz, when set to 1300 it frooze and rebooted instantly, and @ 1250 I've had a reboot during antutu. But 1200 is great, I'm really satisfied with that because I usually run my phone at 1ghz.

Battery life also seems promising, I got arund 35 hours with 2,5h screen time, which is usual for my phone, but this time it was run at 1,2ghz instead of 1, and also the reboots, gameplay and antutu tests should be factored in.

Unfortunately the blackscreens aren't completely eliminated, I had 2 so far, but it's tolerable, I didn't have to restart phone because of that.

So all in all, pretty good work mate! ;)
[Galaxy Ace II Android Development] soko3:
When will be released next 'official' version? this week, month?
[Galaxy Ace II Android Development] BlueZ-:
For me with test kernel codina ext 4 the phone reboots after some seconds I turned it on...

Ok after about 6 or 7 reboot now it's stable...that's weird
[Galaxy Ace II Android Development] soko3:
flashed test version tonight...

until now, i played quite demanding game, processor was at 1.1 ghz all the time, and no reboot...

i will try 1.2 tomorow

btw, i noticed much more free ram

for battery life can't say anything, i bought new extended battery...
[Galaxy Ace II Android Development] Peedy2495:
... but where are the bindings for UMS?

vold.fstab isnt't existing since 4.3 and mount tells nothing about mmcblk0p8.

I think it doesn't matter, when I'll put a snipped space from DATA to UMS (~500M)

Bye ... Peedy
[Galaxy Ace II Android Development] xkvegans:
does build 20150115 support Sweep2wake && Doubletap2wake?

Thank you
[Galaxy Ace II Android Development] ChronoMonochrome:
I think it's in fstab.samsungcodina file:

# Vold managed volumes
/devices/sdi2/mmc_host/mmc0/mmc0 auto auto defaults voldmanaged=sdcard0:8,nonremovable,noemulatedsd

It's just guess, maybe sdcard0:8 mean mmcblk0p8.
[Galaxy Ace II Android Development] Peedy2495:
TNX for advice :)

[MENTION=5840412]ace2nutzer[/MENTION]

latest kernel works stable @1.2MHz

random reboots @1.25MHz

TNX for this piece of cake :))

cheers ... Peedy
[Galaxy Ace II Android Development] BlueZ-:
For me too, 1200 very stable and the phone is faster than ever [emoji106]

Inviato dal mio GT-I8160 utilizzando Tapatalk
[Galaxy Ace II Android Development] acrocosm:
Mine hang twice with test @ 1200 while playing bit dungeon ii. First time it rebooted. Second only apps crash but managed to recover without reboot

I was charging too at that time tho. Maybe it overheated because of that. I'll retest when full

EDIT: Nope. It's definately not stable for me. Without the extra heat from charging it didn't reboot anymore but crashes are often. Testing 1150 now.

On the first crash I lost my lvl52 hero just when i killed my bride wih all my amazing equipment '_' well that will teach me to test that way

Attached is the log right after I rebooted from the first superbad hang
[Galaxy Ace II Android Development] gepel:
Nice work. When kernel control app was opened a pop up for scripts update is showed every time after a phone restart. Google map is crashing, but this happened and on old kernel too. Maybe this happen because I'm using some very small (47mb) Google apps.
[Galaxy Ace II Android Development] ace2nutzer:
Yes, for now custom settings and init.d scripts are only applied if you open the app just once after booting up.

This will be maybe reverted back to automatic restore, on next update.

Yeah, maybe, but most likely due to non 100 % compatible gapps version with this CM11.

You could try to update gapps to the latest version or try different packages ... go always 6 months back with the gapps version ... i think you will find a stable version. I've also occasionally google play FC, for sure due to the same reason. But since i don't use the Ace 2 much, i don't care.
[Galaxy Ace II Android Development] gepel:
I'm using a nice utility to check the operation of the ram called "fill ram memory'. With the previous kernel 400+ mb could be reached before crash of the app. Please note that the low memory flag opened after of 250 mb. With the new kernel the flag started too early (from 150mb) and stayed opened (with the previous kernel the flag was changed form open to close). Also after reaching the ram limit the phone reboots. I returned to the previous kernel but i could not have the old kernel control app..
[Galaxy Ace II Android Development] ace2nutzer:
Interesting thing indeed.

Did you test with kernel defaults ?

Also if you have the full version, you could test different settings for LMK, swappiness and zRam.

I really don't think that any older kernel performs better.

As for the app, right, latest version only works with latest kernel.

Try and report again.
[Galaxy Ace II Android Development] gepel:
I made the tests using kernel defaults, but you were right with LMK set on 48mb I didn't had crash. The manual values restore of app control is a little bit time waste..
[Galaxy Ace II Android Development] ace2nutzer:
48 MB is a good choice. Every kernel version has different kernel defaults. e.g. I changed often the zRam size.

Right, that'll be maybe change back to auto-restore in future. But for now it's kinda workaround.
[Galaxy Ace II Android Development] fonzacus:
wow, took a quick look and tried the newest and was surprised to see an update. thanks for giving our dinosaurs more life

excited to see youre working on another rom. sorry if i may seem impolite, is it possible to request a6ish? without andsyswebview and co, there are some compatibility issues.

ftr, i just installed the 21-10-29 + opengapps pico 17-10-01, device was certified O.O

huge kudos for giving more life to this home (mobile) phone
[Galaxy Ace II Android Development] Krupicko:
(EOL) License expired in a2n kernel app [paid] it tells that i have to update, but there is no update in playstore, can you fix that?

CM11 + a2n kernel from 3.12.2021
[Galaxy Ace II Android Development] ace2nutzer:
Install latest A2N kernel + latest A2N app, then reboot the phone.

If the issue persists, let me know.
[Galaxy Ace II Android Development] Krupicko:
Still the same problem exist.

Edit: changed jpg
[Galaxy Ace II Android Development] ace2nutzer:
Can't see the pic.

Edit:

@Krupicko

Remove the app from "recently used apps" and re-open it, it should work now.

@ all

Don't wonder about random reboots while the phone is in deep sleep.

It'll be fixed in next build.
[Galaxy Ace II Android Development] ace2nutzer:
Finally new kernel & app is up !!

Changelog:

Kernel 2022.03.05:

Improved stability - needs some testing now

Fixed apps force close (at least on kernel side)

Improved memory management

Improved deep sleep

CPU/GPU: updated boost logic - uses now only min/max freq to reduce freq switching related lags ! (if enabled in the A2N app)

Charger control: update

LCD: updated driver

SWAP: zRam: sync with AK 3.10.106

Lib: sync LZ4, LZO & ZLIB with LK 5.16.2

Binder, lmk & ashmem: sync with AK 3.4

GPU: optimized memory allocation

A2N Kernel Control V. 8.1

Network: added L2TP support

Re-added autostart

Updated defaults

Bug fixes

Improved stability

Flash and feel new user experience !
[Galaxy Ace II Android Development] ace2nutzer:
I'd forgot to mention that i've uploaded also new CM11 package with latest kernel inside. In addition i've optimized build.prop flags in the CM11 package. Format system as ext4 then flash this CM11 package and flash gapps from my FTP server, then wipe cache and dalvik-cache to fix apps force close.

Tip: enable zRam @ 100 % in A2N app.

Alternatively you can enable it also over init.d script.
[Galaxy Ace II Android Development] gepel:
Great news and i want to thank you again for your support on our old friend. I just don't understand why we have to start the kernel app every time after a restart in order to apply any modifications that may we have did in the app.. For example i have chosen 80% of zram (max setting) but after a restart the zram is just a 0..
[Galaxy Ace II Android Development] ace2nutzer:
Usually the app should start automatically on booted Android, check license and then apply settings. If not, it'll be fixed in next build.

Actually working on new build anyway, got some motivation from S8 to merge as well some great tweaks on Ace 2. (from my own kernel)

Basically faster, more multitasking and more smooth.

Back again to your question, kernel settings applied by the app are just applied in RAM. That means they are only valid for the current session.

I know, a few years ago settings was applied by the app on boot without to open the app. But that was at times without license check. Unfortunately Google doesn't allow to run license check in background as an service. Therefore that's the only way.
[Galaxy Ace II Android Development] ace2nutzer:
New Kernel & App is Up !!

Kernel 2022.03.12

Fixed lags and freezes

CPU/GPU: updated ondemand gov

CPU/GPU: reduced Freq switching delay from 40 to 20 ms

RAM: optimzed memory management (multitasking)

LCD: updated Freq for S6D27A1 model

I/O: increased throughput - read_ahead_kb 32 @ 128 KB

zRam: updated script

A2N Kernel Control V. 8.2

RAM: added page-cluster tunable

RAM: I/O: added read_ahead_kb tunable

Updated defaults

Release Info

In this reelase you can set zRam up to 100 % for maximum multitasking.

Note that this latest version 8.2 only works with this latest kernel release.
[Galaxy Ace II Android Development] Mohammad Jebreeni:
Hi there again ace2nutzer! :D How are you? I hope you're doing well! ^^ So I came back to my Ace 2 today to check what's new in our beloved site and found out about this update. It sounds amazingly promising! :D So I installed it, but when trying to activate the A2N Kernel Control Ace 2 app (pro version) I'm getting the following error: "Unable to validate license. Please check your internet connection.", despite actually having bought the app a very long time ago and successfully installed it today on my Ace 2. :/ Could you please give me instructions on how to fix that? Thanks a lot in advance! ^^ Best regards.
[Galaxy Ace II Android Development] ace2nutzer:
I'm fine thanks. Please check the FAQ on how to fix the offline warning while your device is being online.
[Galaxy Ace II Android Development] Mohammad Jebreeni:
And Psiphon VPN solved it in my case! ^^
[Galaxy Ace II Android Development] Mohammad Jebreeni:
Thank you a lot for your work ace2nutzer! The RAM management in this ROM and kernel is amazing and the fact that we are finally able to increase our RAM memory is fabulous! ^^ Only one downside that happened with me numerous times after trying for one day is that the battery is going nuts :/ Do you have any plans to fix that? I remember that in one of the custom ROMs that I tried a long time ago there was an option to re-calculate the actual battery percentage (I think that was Lineage OS by SergeyL and the kernel was ChronoMonochrome's. That option was a little bit helpful and I remember being able to reach a better result after using it multiple times and re-charging the phone). I really hope you find a solution to this issue as it is major and really affects the use of the phone. Again thanks a lot for your efforts. Have a nice day / good night! ;)
[Galaxy Ace II Android Development] ace2nutzer:
The battery level is re-calibrating automatically at boot. Just do a full discharge till the phone shutdown itself and re-charge to 100%.

Normally even this isn't needed since li-ion battery doesn't have memory effect. Also if you are still using the old battery, now it's older and have less capacity.

To check the real battery capacity: once it's 100%, unplug the cable, wait 10 minutes, reboot and check the level. If it drops to 80%, that's actually the real capacity and there is nothing wrong with the kernel. Also you can't re-calibrate to stay at 100% after an reboot. Only fix is a new battery.
[Galaxy Ace II Android Development] gepel:
Hello ace2nutzer, I'm waiting for the info about your new work. Many thanks for supporting our small gem
[Galaxy Ace II Android Development] ace2nutzer:
Hello gepel, check post #3 for changelog.

In addition, make sure you have the following dalvik-heap config, or re-download and flash the CM11.

dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=128m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=2m
dalvik.vm.heapmaxfree=8m

Then flash latest A2N kernel and wipe dalvik-cache.
[Galaxy Ace II Android Development] rtyuakatsuki:
hi dev i wanna know abou user experince of ace 2 are this phone still smooth just for whatsapp or other social media ?
[Galaxy Ace II Android Development] ace2nutzer:
Hi, i think yes, but with overclocking of course.

You can use facebook lite messenger for such low-end phone.
[Galaxy Ace II Android Development] ace2nutzer:
New Build is Up !!

Changelog

Kernel 2022.10.14

Updated kernel config

CPU/GPU: updated governor, removed useless freq steps

Improved OC stability

Updated LCD driver - stability fix

Recalibrated LCD driver to fix out-of-sync related lags

RAM OC by default 800 MHz @ 1100 MHz for better I/O throughput

A2N Kernel Control V. 8.7

Updated all performance profiles

Updated UV logic

Updated defaults

Fixed bugs

Improved app performance

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

Yes the Samsung Galaxy Ace 2 is still usable in 2022.

But the thing is you need to find a good gapps package.

Because using latest one from my download site or from opengapps.org cause Play Store to crash. But it works anyway. It crashes 1 or 2 then works stable.
[Galaxy Ace II Android Development] jordirpz:
Hello sir, is it possible for you to tell me how to use kernel control without Google services? Here I leave my email in case you want to check my payment. thank you very much for your work. jordirpz@gmail.com