yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
Nope, it's caused by a crappy hardware, especially if it's happen even with Stock Kernel !

(the only way to fix + having a smooth LCD is to replace it)

I'm using aggressive Values in order to force the LCD to work smoothly.

The Stock kernel doesn't have aggressive Values ... that's why for some users don't have lcd issues with stock kernel but having issues with this kernel.

Anyway, in all cases it's caused by a crappy hardware, (bad quality).

Once again, if i use stock lcd values then the result is this:

For S6D: Recovery + LPM Black screen bug and some miscro laggs.

For WS2401: out of vsync (screen tearings during scrolling) + laggs like hell.

So i think it was a good idea to fix such issues for millions (or billions ;)) Ace 2 users, while having for some users lcd problems .. (if at all ...) and 99% of them can fix this issue by simply enabling "chuck norris mode"...

So that's a good success rate and i like that :victory:
[Galaxy Ace II Android Development] :
Can I use Chrono's way to convert and install your ROM as F2FS? I like it, but I don't know that your kernel is compatible or not...
[Galaxy Ace II Android Development] ace2nutzer:
no f2fs in rom and kernel.
[Galaxy Ace II Android Development] :
Hmm... I will still try it if it works.

And I need help this: After my fresh install, if I choose ART in developer settings, my phone restarts but it gets updating loops :(

Any ideas?
[Galaxy Ace II Android Development] ace2nutzer:
U don't need to try, it doesn't work :)

Stop Art testing, it's buggy.

It's probably fixed in next build.
[Galaxy Ace II Android Development] Qwertz010203:
Hello @ ace2nutzer!

I read your post, there are good things in it! In the end you wrote down that 3-4 days would have to stabilize your kernel. The 3-4 days have elapsed, how many days to wait for the new ROM + Kernel? (I have problems with the latest ROM + Kernel and I want to see if the new ROM + Kernel has any bugs.

Thanks you very much for your work!:)
[Galaxy Ace II Android Development] AkosPaha:
Hello Guys! The battery life time that can be increased ??:confused:

Thank you everyone for your answer!:o
[Galaxy Ace II Android Development] :
Yeah, if you use less usage then battery lifetime cam be increased :))

[MENTION=1007992]everyone[/MENTION], prepare for the update, I just got A2N Kernel Control App update now :)
[Galaxy Ace II Android Development] AkosPaha:
Where is the A2N kernel control App Update?
[Galaxy Ace II Android Development] :
This: (Sorry because messages)
[Galaxy Ace II Android Development] AkosPaha:
Version number?

2.5 ?

Because if so, then I have one and a half weeks for me!
[Galaxy Ace II Android Development] ace2nutzer:
Again and again, sorry Guys !!

It was really hard to fix deep sleep issue !

I just don't want to uplaod an unstable kernel ! :)

But now it seems finally that's working properly and it's stable ...

Only need to adapt (maybe) Control App, and then rebuild art lib with added fix and test if it works, and then finally upload everything. It should be even today, (depends where u're living) .. so in a few hours :D

U can expect better speed + battery lifetime. :good:
[Galaxy Ace II Android Development] :
Thank you, I and everyone know why are you slow uploading. Because you are working nearly alone :)

Update process: I just got A2N Kernel Control App update now. Just wait for your kernel...

EDIT: Installed now. If anyone have soft reboots, wifi problem (can't turn on), RIL problem, just do a reboot and everything will be fine again. :)
[Galaxy Ace II Android Development] ace2nutzer:
New Build is up !

Quick info:

flash those gapps:

https://www.androidfilehost.com/?fid=457095661767159308

after flashing the rom ... otherwise Play Store will not work anymore.

Full Changelog - later ... it's 3:00h at night here :)
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=5840412]ace2nutzer[/MENTION]!

Can it be updated at normal dirty installation?:)

As it is in the first post!
[Galaxy Ace II Android Development] stefanoscheda:
Can you switch from opengapps to this Mardon's gapps by simply dirty flashing or is some wipe required?

Thank you again for your work.
[Galaxy Ace II Android Development] AkosPaha:
Hello [MENTION=5840412]ace2nutzer[/MENTION]!

I updated the new ROM + Kernel, fast and smooth! But I have a problem, the phone is updating it so it just restart again sometimes!:(

Some games do not go on the phone yet! I have not tried the screen video yet to see if it works!

I'll poke it later!
[Galaxy Ace II Android Development] ace2nutzer:
Yes, just flash it ... then if u need, flash sdcard_only kernel and of course the gapps by mardon.

Simply flash after the rom ... the installer will already format /system for u !

Ok, after an random reboot i need the last_kmsg ... otherwise i can't do much. :)

After u try to run the game, what happens ?? - Also u should post the logcat right AFTER the fails ....

Don't forget to enable the logcat BEFORE u start the game !

As for screen video rec, it would be nice to know it it works now ... but so far i didn't fix it in the ROM ... but just enabled a few kernel options. .... try it.
[Galaxy Ace II Android Development] ace2nutzer:
Version 19.08.2017 is Up !!

Changelog:

Kernel 20170819:

Compiled with latest GCC Linaro 7.1.1

Higher machine code optimizations

Fully reworked kernel config

Some Clean ups

Disabled some debugging

Reduced kernel size

Fixed a few kmsg errors

Optimized memory management

Reverted hwmem size to stock

630mb ram for user apps

Improved Security

Removed SELinux implementation

increased log buffer

Better I/O Speed

Updated Network Config

Updated Sound Config and many more

Fixed "data usage and limits"

Full Hardware Acceleration for Crypto

VPN: added L2TP Support

Fixed poor 2D/3D Performance

Optimized VFP

Removed old and buggy fsync control

BLN: Enabled wakelock & blink by default

Enabled Sim hot swap detection support

Updated cpu-idle driver

Fixed deep sleep issue - Better Battery LifeTime with Screen OFF

More responsive and overall higher performance

And many more optimizations :)

Inkl. latest A2N Kernel Control [GT-I8160] V2.6

A2N Kernel Control [GT-I8160] V2.6

Simplified BLN Config (removed wakelock & blink control)

A2N Kernel Control [GT-I8160] V2.5

Renamed back "free options" to "settings"

Removed SELinux Control

Fixed "Refresh Battery Stats" (Battery Level Calibration)

Fixed "Accelerometer Calibration"

ROM 20170805:

Source Sync - probably no changes

Compiled with Oracle Java 6 as it's suggested by Android developer HP

Fixed some of the Photo sorting issues when using the stock Gallery App - Maybe :D

Fixed ART Runtime*

Build.prop: removed useless flags & added experimental ART Flags

Disabled SELinux

Adjusted some of the default Settings

Disabled BOOTANIMATION_TEXTURE_CACHE - saves ram ;)

Optimized Dalvik VM - added one missing armv7-a-neon optimization

Dalvik VM: added "TARGET_ARCH_LOWMEM" patch

Some Clean ups

Higher Security

Higher machine code optimizations

incl. A2N Kernel 20170819 - normal version

Inkl. A2N Kernel Control [GT-I8160] V2.6

AUTO wipes, except factory reset

* added an art_fix.patch that relaxes some of the strict art verifications passes for apps.

But it doesn't mean that it'll work as good well like Dalvik ! - Use ART Runtime only for testing purpose

Flash those Gapps:

https://www.androidfilehost.com/?fid=457095661767159308

after u flash the ROM! - Otherwise the Play Store won't work!!

Enjoy and Report your experience !
[Galaxy Ace II Android Development] :
After I update to this version, I feel noticeable battery life...

But I can sure that ART WILL broke Facebook and Facebook Messenger... Even with Lite version :(

Installing Xposed will switch runtime from ART to Dalvik and prevent any way to change to ART.
[Galaxy Ace II Android Development] AkosPaha:
Hello [MENTION=5840412]ace2nutzer[/MENTION]!

I tried the screen recorder, it will not work just green video! But I found a problem in the factory camera application , when I make a picture and after it I start the video and after I finish the video , if I pull it to the left of the camera in the gallery to watch the video or the picture, the camera application stops !!! Do I send logs?

Yeah, and I'll send the logs for stopping game!

This:
[Galaxy Ace II Android Development] ace2nutzer:
@ up

Your sdcard is broken. Try to format it as vfat in cwm. (Not on pc!)
[Galaxy Ace II Android Development] AkosPaha:
Edit: I tried , but not working the game!:(
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=5840412]ace2nutzer[/MENTION]!

I've found a new bug In the new ROM + Kernel , that you should fix it!:confused:

Offline charging doesn't work , when I turn off my phone and plug it in to charge the phone by itself, sign up for Samsung Galaxy Ace 2 and the boot animation appears and the phone is fully turned on!
[Galaxy Ace II Android Development] ace2nutzer:
Can u simply list all apps that doesn't work for u ?? - Then i can test them by myself.

The best way is to post the Play Store link, then i can simply install, don't worry about the language, i only need to install and start the game, i don't want to play it hehe.

as for Offline Charging: It works for me :) - Try again or flash latest kernel again ... maybe something went wrong.
[Galaxy Ace II Android Development] ace2nutzer:
@ up

how it should work, if i don't pay for it ?

It's very expensive for an game to pay 30€.

Check my screenshot.

as for Camera FC: on cm11 the camera is not 100% stable, but everything works.

as for reparted: yes 3GB is correct !

If u need more free space on /data, u should move some apps to sdcard .. (settings --> apps --> on sdcard --> move to sdcard)

gonna checking your logcat now.
[Galaxy Ace II Android Development] ace2nutzer:
@ up

i've checked the logs, as i said it was caused by a broken sdcard .. (u now fixed it) and the second reason is because of too low ram and the app gets killed:

I/ActivityManager( 573): Process it.rortos.extremelandings (pid 5876) has died.

try to increase zram size in:

/data/data/com.ace2nutzer.settings.device/enable_zram.sh

change

mem=$(((totalmem / 1/4 / ${NRCPUS}) * 1024))

in

mem=$(((totalmem / 1/3 / ${NRCPUS}) * 1024))
[Galaxy Ace II Android Development] AkosPaha:
I tried , but not working
[Galaxy Ace II Android Development] ace2nutzer:
did u check with "free" command if the swap size is increased now? - if not, reboot the phone and check the size again, and try again.
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=5840412]ace2nutzer[/MENTION]!

I did not check it, but I'll check it out. Send a screenshot? What kind of zram try 1/3, 1/2, 1/1 zram?
[Galaxy Ace II Android Development] ace2nutzer:
Screenshot is not needed.

Using 1/1 will compress the whole ram....

It's like having the double amount of ram.

If it works, u should reduce the zram to lowest possible for better speed and battery.

So with 1/1 the swap amount is same like total ram ... Check by yourself with free Command.
[Galaxy Ace II Android Development] AkosPaha:
I tried , but not working!

If the app goes away, can I quit the app?

What kind of value, should I look at the free command?
[Galaxy Ace II Android Development] ace2nutzer:
I already told u 3 times: "swap"
[Galaxy Ace II Android Development] AkosPaha:
"swap" total 645968 used 98364 free 547604 with 1/1 zram

---------- Post added at 07:47 PM ---------- Previous post was at 07:28 PM ----------

@ace2nutzer!

Tomorrow I want to test the game with all the rom + kernel that is up on the FTP server where it works! I could not find the 20170323 sdcard only kernel , would you send it to me somehow, of course, only if you got it ?!
[Galaxy Ace II Android Development] ace2nutzer:
Yes that's correct ! - Now try to start the game ... if it's still not working then this wasn't the problem and you should revert again to 1/4 or max. 1/3.

btw it's not needed to quote + mention me all the time.

just quote or mention.

I've only the latest versions.

Any reason for testing all roms and kernels ?

U Guys should go always with the latest version for the best speed, battery and security.

But u can test some older versions for trying to find bugs in latest builds.

btw if with previous rom and kernel the game worked, then u can try to flash previous kernel if it makes to work, if not, then try previous rom with latest kernel.

And as always: use the built-in Kernel control app from the kernel package.

only use latest one with latest kernel.

U can also use oldest rom with latest kernel or latest rom with oldest kernel ... that works ... but i suggest to use it only for testing or debugging purposes!
[Galaxy Ace II Android Development] AkosPaha:
It does not work on the previous rom + kernel, I'll try it tomorrow, and then I'll write to you. Thanks for the help!
[Galaxy Ace II Android Development] ace2nutzer:
Ok, alternatively u can also try the following:

1. uninstall the game and try the one from play store (pay it)

2. then see if it works or not ... u've at least 2 hours of time to refund the game (app) if it doesn't work.

3. u can get your money back in the time of 2 hours ...

At this way u definitely know if it works at all with this ROM !

Because i suspect that it's not compatible with this ROM !
[Galaxy Ace II Android Development] AkosPaha:
I do not have 30 €. So I can not buy it. I think I leave the game as it is and remove from the phone!

The game it works for you?
[Galaxy Ace II Android Development] ace2nutzer:
Oh ok :)

didn't test it completely ... but

I think it should work ... maybe u only need to adjust this Value in build.prop:

ro.sf.lcd_density=240

ask the developer of the game or ask in the corresponding thread which lcd_density that game needs to work properly.
[Galaxy Ace II Android Development] AkosPaha:
Already set from base

Tomorrow I ask game developers!
[Galaxy Ace II Android Development] AkosPaha:
I I've tested ROM + Kernel where it works where it does not work! The game does not exit 20170323 Rom + 20170415 kernel, 20170323rom + 20170426 kernel and 20170522rom + 20170522 kernel, but it does not go to loading ..., the rest rom + kernelrellép Ie 20170606rom + 20170606 and later. And the older rom + kernel I think is better than the performance of 20170323rom + 20170323 kernel. But I came back to the latest rom + kernel.
[Galaxy Ace II Android Development] lace_hvc:
What was the problem? Seemed to work fine for me.

I always set this to enforce. Is it useless or auto-set to 'enforced' now?
[Galaxy Ace II Android Development] stefanoscheda:
Spontaneous reboot, here's last_kmsg. Running last ROM&Kernel.

View attachment last_kmsg_20170822-1815.zip

Thanks.
[Galaxy Ace II Android Development] AkosPaha:
Ace2nutzer wrote an email to the developer of the game! In principle, the game never supports the all custom rom! Strange! I used to play with him ago, I deleted the game. Thank you very much for your help!

---------- Post added at 06:32 PM ---------- Previous post was at 05:39 PM ----------

Yeah and I had a sudden random reboot to send the last_kmsg file.
[Galaxy Ace II Android Development] Fabbb2:
Hello, i just installed the last rom. I have no network. My APN disappeared and i cant add any new APN ! Nothing happens when i add a new APN (no new APN in the list which is empty) .

What can i do ?
[Galaxy Ace II Android Development] ace2nutzer:
For me it's also not working properly .. and probably it never will.

In my case with ART the apps needs double time to start up ... but it's more smoother.

If u want to do the last experiment with ART, u can try to remove the following from build.prop:

art.vm.heapstartsize=5m
art.vm.heapgrowthlimit=48m
art.vm.heapsize=128m
art.vm.heaptargetutilization=0.25
art.vm.heapminfree=512k
art.vm.heapmaxfree=2m
art.vm.dexopt-data-only=1
.....
art.vm.lockprof.threshold=500
art.vm.stack-trace-file=/data/anr/traces.txt

Good Job! - So what's the latest kernel and rom where it's working?

I can give u some hints what u can try to find the culprit.

(if u want to have it fixed in latest rom)

There was some missing kernel options that are needed to make this feature fully working.

I can't say much because i never use it. But according to the Androids HP they are needed to throw an warning when the limit is reached ... and to stop connection when the end-limit is reached.

SELinux is completely disbled now, u can't enable it anymore.

Yeah Thx ! - It's caused by zRam ... will try to fix it up.

Did u toggle the zram short before the reboot happened?

Maybe also caused by zRam .. did u toggle it short before the reboot happened ?

Edit: forgot to mention: u've still sdcard errors .. if formatting didn't help, then u should consider to replace your sdcard....

A broken sdcard causes apps to FC and even random reboots.

It works for me ... i can also create a new APN ... see the screenshot.

What u can do? - Hmm no idea, i would try to wipe data of the settings.apk ... if it doesn't help, then the best way is to wipe data in cwm.
[Galaxy Ace II Android Development] stefanoscheda:
Mmh, maybe. I accessed the advanced settings to see the options but I should have reverted them to the default values before quitting the app.
[Galaxy Ace II Android Development] :
Probably I won't test ART anymore... because I just don't want to backup or wipe things... As now I am busy with school things! And now the only network I have is WiFi from other house :(

Send from a 2004 developer...
[Galaxy Ace II Android Development] AkosPaha:
The last one where the game worked was the 20170522 rom + 20170522 kernel. I tried to put another game on the SD card. ? But it may also be a problem that you can not basically support all custom roulette developers in the way! Strange! It worked long ago! Yeah and the game does not work, for example with older rom + newest kernel (20170522rom + 20710819kernel). But now I'm trying the latest rom + older kernel (20170805rom + 20170522kernel). ?
[Galaxy Ace II Android Development] AkosPaha:
I tested the game with latest ROM +older Kernel (20170805rom+20170522kernel).

It doesn't work , it is same As the latest ROM + latest Kernel! The game itself exits!:(

I come back the latest Kernel (20170819).
[Galaxy Ace II Android Development] ace2nutzer:
so 20170522 rom + latest kernel works ?? (with zram enabled)
[Galaxy Ace II Android Development] AkosPaha:
No , just 20170522rom+ 20170522kernel and early rom +kernel.

Edit: I tried again the 20170522rom + latest kernel. the game does not go out but not going to continue the loading ... subtitled!
[Galaxy Ace II Android Development] Fabbb2:
WIth the last ROM still no APN possible if i wipe data !
[Galaxy Ace II Android Development] stefanoscheda:
Mardon's gapps include Swipe lib; is Swype_fix.zip required anyway?

I use Maps, GMail and Google TTS; should I better install Mardon's std gapps rather than adding from store? My current free system is 115.8M (total 605.6).

Thanks again.
[Galaxy Ace II Android Development] noolder:
I already have CM11 and aces kernel from a few months back. Can I just flash over that in recovery with the latest rom & kernel without having to re-install gapps or lose any settings, contacts etc.
[Galaxy Ace II Android Development] ace2nutzer:
It works here, but i'll try with wipe data.

No.

U can try some of the bigger package.

Yes, just flash mardons gapps after that.
[Galaxy Ace II Android Development] AkosPaha:
I need a little help ! I use the latest version of the ROM + latest kernel SD card only and I would like to ask you that the SD card can take off my phone without turning off my phone or not taking it out when the phone is switched on? And is there a problem if I turn the phone on and take the SD card?:confused:
[Galaxy Ace II Android Development] :
If you use sdcard only version, you had to turn off your phone to remove your sdcard or you may corrupt your sdcard.

If you use normal version, just eject it in settings app and remove it as normal. :)
[Galaxy Ace II Android Development] AkosPaha:
What damage does it cause? Can i repair the damage?

Edit: They do not like changing kernel or reparted packing because i need 3gb to internal memory. Thanks for the reply.
[Galaxy Ace II Android Development] :
Like this: file move to LOST.DIR folder, corrupt folder, file, corrupt sdcard filesystem,...

U can fix corrupted file using cmd on Windows, but if u have a corrupted filesystem, u may need to format your sdcard...

---------- Post added at 11:50 AM ---------- Previous post was at 11:47 AM ----------

Ace2nutzer, will we use Opengapps or the new Gapps?

If use Opengapps then there's no need to ask... :)

If use the new one then u may modify the reparted file because there are over 100MB /system partition free space.
[Galaxy Ace II Android Development] AkosPaha:
Can you write down the steps I need to write cmd? I have to replace sdcard only reparted with your normal reapa if i want to use the SD card to get it out? As I said I do not really like to replace sdcard only because it needs 3gigabyte internal storage.
[Galaxy Ace II Android Development] ace2nutzer:
With latest layout i've 45mb free on System with mardon or opengapps no difference. Maybe u was removing some system apps and u've more free space?

If u need 3gb on /data then u've to stay on sdcard_only.

Otherwise u'll face issues with apps Installation.
[Galaxy Ace II Android Development] AkosPaha:
Alright, 2 days ago I had to send 2 files I should do something or not?
[Galaxy Ace II Android Development] ace2nutzer:
Actually nothing, thanks! :)

Just lean back and wait for my Feedback.
[Galaxy Ace II Android Development] :
Maybe I have wrong... But 45mb is still a waste for me! Even 1kb :)

There are some unused apps in /system/app...

But will we use Opengapps or the new Gapps in the future?
[Galaxy Ace II Android Development] ace2nutzer:
Then Repart again your phone, now u know how it works :)

Then on next gapps update = repart again :)

And maybe on next ROM update = repart again :)

If u like that, then do it, but personally and probably all other people don't want to repart the phone every time ;)

So there's really no need even to mention it, it's just a spam in the thread for nothing.

Actually i'm still satisfied with Mardon's gapps and probably also for the future.
[Galaxy Ace II Android Development] lace_hvc:
The sorting problem in the gallery app is gone. It still shows 'record time 1970', but who cares when the order is correct. Great job! :)

I have always been on HDPI mini gapps and had to flash the latest version with the link you provided because - as u said - play store stopped working. Then I needed to sign in to google again and everything works smoothly so far.
[Galaxy Ace II Android Development] :
Yeah, the sorting is now OK. But now the record time is 01-01-1970... U can look at the screenshot below.

And about gapps, maybe Mardon's Gapps have better battery life than OpenGapps one.
[Galaxy Ace II Android Development] ace2nutzer:
That's nothing new my friend :) - It's present on all CM11 Builds and it doesn't cause any issues.

Yep, lesser wake-ups and less buggy ... i.e. swype lib isn't buggy.
[Galaxy Ace II Android Development] i-cuz:
Flashed ROM 20170805 and kernel 20170819 and I the phone wasn't recognized on both Linux and Windows (descriptor request failed), tried twice with full wipes.

Now I rolled back to ROM 20170618 with the new kernel and it works again.
[Galaxy Ace II Android Development] ace2nutzer:
On latest rom the usb config default is mtp.

This doesn't work for me in linux.

While on Windows it only works if u've the Samsung Mobile Drivers installed.

If u want to use usb mass storage mode, then u've to enable it under:

Settings ----> Storage -------> pc connection.
[Galaxy Ace II Android Development] Yønn:
Hi ace2,

I am using latest ROM and Kernel (sdcard-only) and right now I am stuck on bootloop after a reboot.

I tried to boot after removing the SD card because I really needed to make a phone call and it was successful, so I guess something's wrong with the SD card.

My SD card has 2 partitions (fat and ext3) and I use link2sd.

I tried to reinstall Kernel but in CWM, when I select "install zip" then "choose zip from /storage/sdcard1", the phone hang and I have to reboot.

Do you have a solution to suggest ?

Thank you