yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
Good to know ! - Thanks for testing this.

So it's ROM issue, i've checked again the logcat and it seems there is some problems with the RIL.

Maybe i'll try to fix it, maybe not.

I can't recommend this :D

CM11 is still the best ROM for the Ace 2 ! It has some small bugs, but it's fast, smooth, good power savings and cool features. I tested the stock rom with my kernel a few weeks ago and so far it's not very cool for daily usage.

Performance simply better on CM11.

Yeah ... quite a lot ... just delete all apps u don't need ... such as Yahoo, chatON, samsung apps and many more !

After this it'll run somewhat better ... but still not as good as CM11.

Nope, already optimized if u flash A2N Kernel (installer do the job automatically) :)

Once u flashed A2N Kernel, then there is almost nothing to optimize.

The only way to make the Stock ROM nearly as fast like CM11, is to rebuild the ROM with proper binary Code optimizations like i did here from CM11:

https://github.com/ace2nutzer/android_build

especially:

https://github.com/ace2nutzer/android_build/blob/cm-11.0/core/combo/TARGET_linux-arm.mk#L99

It's already stable, so nothing to do here. ;)

@ ALL

latest kernel is working good ?

At least for me it works really good :o
[Galaxy Ace II Android Development] Yønn:
Latest kernel works fine and fast. Just a single freeze that forced me to reboot.

But quite better than before.

Thanks a lot!
[Galaxy Ace II Android Development] Sharkykounet:
Latest kernel (20170415) Works fine. Fast and smooth. No lag, no black screen. No reboot.

Thanxs for the work :D
[Galaxy Ace II Android Development] msq2:
I roll back my words, stock rom is terrible.

After five hours I learned about the problem with push notifications (whatsapp) as a girl called or something happened to me because I did not reply long :D

Last kernel works very well (with zarm off)

Detriment your kernel does not work on marshmallow because last version of cm13 (2.04.2017) since sergeyL with chrono 5.1 and full optimization in build.prop works in some places just like kitkat and even faster

Thanks for your interest in the problem and for working on the kernel.
[Galaxy Ace II Android Development] AkosPaha:
Hello Ace2nutzer!

I use Xposed , has been working normally for XPosed , I upgraded to the latest ROM (2017-03-23) and flashed the latest kernel (2017-04-15), the framework is still Xposed Framework away when you restart the phone.:(

The Xposed Framework is installed classic /system writing.

Somehow you can have problems fixed in this?
[Galaxy Ace II Android Development] ace2nutzer:
@ PahaÃkos Hi,

I'm sorry, but i can't encode what u wrote :D

If u mean that XPosed isn't working anymore, then just try to re-install it again.

Yeah .. :D Even with a good custom kernel still a crap :D

Yeah i also had the same problem and i thought it's something else ... but good to know that it's also a rom fault or just an incompatibility of the latest WhatsApp version with the older Android Version 4.1.2.

At least so far almost every app works fine on ace 2 with Android 4.4.4 ... when the day will come that nothing works, then it'll force me to update to the next Android Version, or maybe even to change the Phone :)

How do u mean this ?

On latest kernel the swap is only used when it's really needed.

Usually if u use only small apps and u don't have more than 3 opened Apps running in foreground, then the swap is not used at all. So there is no need to disable it.

I never compiled kernel for anything higher than 4.4.4 .. so there is always chrono kernel built-in.

So actually it's unknown how A2N kernel would perform on latest android ROM's.

Thanks as well ! Without all you Guys, i mean without the whole help from all testers this kernel never would be that what it's now. - Alone is simply impossible. Also even not to mention the thousands of other Dev's who was invoked to program, help and optimizing things.
[Galaxy Ace II Android Development] ace2nutzer:
Latest Kernel 20170415 still working good ?

Can u Guys please post the output of "free" (from terminal emulator app) when using Kernel 20170415 for at least one Day ??

Just to see if the "swap" (zRam) is working as expected, thanks ! :)
[Galaxy Ace II Android Development] Sharkykounet:
Output of "free"

Last boot was 32h ago.
[Galaxy Ace II Android Development] AkosPaha:
Output of "free"

Last reboot was 8 hour ago
[Galaxy Ace II Android Development] andon0v:
heres from mine, last reboot was 22 hrs ago:
[Galaxy Ace II Android Development] hiemz:
i can't access link download, any body same issue with me? server error sir?
[Galaxy Ace II Android Development] hemal12341:
bro do you fix Recovery black screen problem????? in latest kernel???
[Galaxy Ace II Android Development] Dr360r:
Up for 5 hours since last reboot, can't give it yet.
[Galaxy Ace II Android Development] ace2nutzer:
works for me.

again ?!

I didn't change anything on LCD Config. The only thing is that latest kernel is faster, so now it's probably needed to adjust (again) delays ... really annoying job every time the kernel the performance changed.

After i installed the latest kernel, i had also one time Black-screen for LPM ... and so far it didn't happen again..

So i'll keep an eye on it if it'll happen again. Check also if u'll face it again and report by writing where the black-screen happened and the LCD Type.

As for "free", it seems that it's working as expected :)

As u can see, on low usage the RAM isn't compressed at all, so no need to disabled it for performance or battery purposes. It's only triggered when the system is in a really bad condition, nearly an OOM.

So disabling it, will only decrease the system stability.

Just let me see one or two more screenshots of "free", then it's enough.
[Galaxy Ace II Android Development] galac44:
Output of free

total used free shared buffers
Mem: 645836 639264 6572 0 6736
-/+ buffers: 632528 13308
Swap: 161456 0 161456
[Galaxy Ace II Android Development] ace2nutzer:
Thanks ! Pls write the uptime.
[Galaxy Ace II Android Development] galac44:
Uptime is about 69 hrs. But not intensive use.
[Galaxy Ace II Android Development] Dr360r:
Up time 26 hours
[Galaxy Ace II Android Development] Farzin 073:
[MENTION=5840412]ace2nutzer[/MENTION]

Hi.. can u make repartion for flash in twrp ??

I have 2 Ace2 devices and wanna upgrade one of them to CM13 .

P.s : using your latest rom+kernel(sd-only) its stable and fast .. tanx .
[Galaxy Ace II Android Development] atakan33:
[MENTION=5840412]ace2nutzer[/MENTION]

hey ace2nutzer

cm11 is very boring and this rom looks stone Age

Happy to see you build 7.1.1 rom
[Galaxy Ace II Android Development] vbarcaz:
total used free shared buffers cached
Mem: 645836 630720 15116 0 2492 104088
-/+ buffers/cache: 524140 121696
Swap: 161456 68 161388

Up time 103:17
[Galaxy Ace II Android Development] ace2nutzer:
Not needed, just use temp_cwm, (if u're on 4.1.2) then flash latest A2N Kernel (no matter if for 4.1.2 or 4.4.4) then power off the phone, reboot to recovery and flash any repartition u want .. then format everything except modemfs.

Then power off and boot to recovery and flash any rom or kernel u want.

:good:
[Galaxy Ace II Android Development] msq2:
First gf, second my

Uptime both 27h
[Galaxy Ace II Android Development] ace2nutzer:
Yes, wipe data, format system and sdcard before.
[Galaxy Ace II Android Development] hiemz:
sir i use newest rom and kernel but i have screen issue like blur screen, how to fix it? thanks in advance
[Galaxy Ace II Android Development] Dr360r:
[MENTION=5840412]ace2nutzer[/MENTION] www.xda.mister-freeze.eu/XDA-files/ace2nutzer/Kernel/ Error 404 (at least from Google).
[Galaxy Ace II Android Development] Mokujin5757:
Use A2N app . Go "screen" section and tick the Chuck Norris mode

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

Hi again . Everything is fine . At last , I have stable system . No crashes nor any error caused by rom-kernel , which is very good . But I have a question . I cannot use otg . Is my device or my flash drive has problem , or is this just disabled by ROM/Kernel . As far as I know my flash drive works fine . Haven't tested my phone coz there's nothing other than a flash drive to test . And I have no idea if it has anything with rom . Thanks again for everything
[Galaxy Ace II Android Development] shaqman89:
Please search the thread first before posting. Our device (ace2) doesn't have the necessary hardware for USB otg.
[Galaxy Ace II Android Development] Fabbb2:
same here
[Galaxy Ace II Android Development] ace2nutzer:
I'm updating the whole structure ... so all download links changed. To download kernel or rom, check common download button from first post.
[Galaxy Ace II Android Development] ace2nutzer:
New Builds are Up !!

Changelog:

20170426:

Set back swappiness to Zero for default (no zRam)

Fixed "sva" deep sleep issue

Better Battery Lifetime

Overall improvements

Inkl. latest A2N Kernel Control [GT-I8160] V1.8

A2N Kernel Control [GT-I8160] V1.8

Renamed to "A2N Kernel Control [GT-I8160]"

Updated all Dialog texts for the better understanding

Added Switch "Use zRam" (sets swappiness from 0 to 100)

20170323 ROM - reloaded:

Set dalvik.vm.heapsize=512m

Fixed App crashes

Better Performance

Better Battery Lifetime

incl. A2N Kernel 20170426 - normal version

Inkl. latest A2N Kernel Control [GT-I8160] V1.8

AUTO wipes, except factory reset

Have Fun !

Note 1: i've re-uploaded the ROM package ... same Filename ... but updated kernel + Kernel App ... and with the only change in build.prop that increases the allowed vm.heapsize from 48mb to 512mb ! - This means now that an single app or better say an single process or service, is now allowed to allocate up to 512mb RAM ! - So far the restriction (limit) of 48mb was too small ... and that was (and is) the reason why some apps simple gets killed or crashes after some time of use for no reason ... even if there wasn't no other app active in the background ! - They just had "out of memory" because of that limit, even if there was still some ram free, not to mention about available zRam free Space... So i hope now even bigger apps should work flawlessly !

Note 2: if u've still app crashes or some big apps doesn't work as it should, then the only way to fix it up is to enable "Use zRam" in A2N Kernel Control App !
[Galaxy Ace II Android Development] andon0v:
so if we are on 0323 build can we just flash the latest kernel and edit this line in build.prop?
[Galaxy Ace II Android Development] Dr360r:
Please update A2N Kernel Control also on Google Play, since the one that comes with the kernel says that it's locked and wanted me to uninstall it and install the obsolete 1.7 instead.
[Galaxy Ace II Android Development] Kurajmo:
Link from first post not work.

I have 404 error only
[Galaxy Ace II Android Development] Dr360r:
@up You need to click on Download - FTP Server
[Galaxy Ace II Android Development] ace2nutzer:
yes :)

Change:

dalvik.vm.heapsize=XXXm
art.vm.heapsize=XXXm

to

dalvik.vm.heapsize=512m
art.vm.heapsize=512m

Then save and reboot to recovery and wipe dalvik cache.

Also recommended to clear the Apps caches before. (in settings ---> storage --- cache)

Maybe even ART works better than? - Somebody want to test it out ??

How-to-test? ---> go to dev- settings and chose runtime ART .. then when then phone is rebooting so the screen is black, boot to recovery and wipe dalvik cache. (because i don't know if this happens automatically).

Report the results.

I had uploaded the app also at the same time to the market, but something went wrong and it wasn't released at all ... this happens because Google updated his "Google Play Console" a few Weeks ago, and now it's a bit more confusing to use it. - Anyway, i got it and now it's released and the App unlocked itself :victory:
[Galaxy Ace II Android Development] Kurajmo:
I already have 20170323 version installed.

I want newest version 20170426

On this ftp only version what I see is 323

Any help?
[Galaxy Ace II Android Development] Dr360r:
ROM is 20170323 because it's only "reloaded" (ace2nutzer only attached the newest 20170426 kernel and made small improvements and chose to call it 20170323).
[Galaxy Ace II Android Development] ace2nutzer:
[MENTION=4802494]Kurajmo[/MENTION]

if u've already 23/03 rom .. then just edit build.prop, the line i mentioned in post #7294 ... then flash latest kernel and wipe dalvik-cache.
[Galaxy Ace II Android Development] Kurajmo:
Nah without pc I can't change anything in build.prop

For safety reason.

I just wait for official uploaded build. I want test this newest build. But if isn't uploaded. I just wait.

Anyway thanks for help
[Galaxy Ace II Android Development] ace2nutzer:
U can edit build.prop with you Phone.

Just enable "root access" in FileManager ... then grant root access and navigate to /system ... there u can find build.prop ... edit, save and reboot to recovery as i already said.

Anyway, latest build (ROM) with latest kernel and edited build.prop is already uploaded ! it's just again 23/03 ... so u just need to download it again :)

It's just again 23/03 because there is nothing to update on sources.

CM Team stopped to merge latest Security Updates.

But don't worry Guys, u can still use this great ROM without problems.

The chance to suffer from any attack caused by an missing patch in the ROM or kernel, is very low .. probably 0,1% (if at all).

So enjoy it :)
[Galaxy Ace II Android Development] Kurajmo:
This rom is uploaded on ftp server?

I ask cause this first site with files still give me 404 error.

Today night I want to do clean install on my Ace 2.

Anyway thanks for all help Ace2nutzer

I really appreciate that
[Galaxy Ace II Android Development] ace2nutzer:
ROM:

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

Kernel:

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

Also i've deleted older builds .. i think nobody need them :)

btw: Post #1 is actually outdated ... i'm currently updating it.

While Post #2 and #3 are now updated.

The goal is to make everything more user-friendly, so that even "normal" Users can understand what we're doing here :)
[Galaxy Ace II Android Development] dixee:
sorry bad link, didn't notice that. btw any different between NF2 and MF2 baseband in performance? ngefek ga bro

[MENTION=5840412]ace2nutzer[/MENTION] i'm running waze, and minimize it by pressing home button, but when screen turn off, waze was killed and notification bar from waze is gone.

i just installed kernel from 26-4 and edit build.prop to set heapsize to 512m. any advice?

and if i set cpu performace from CM Settings, it will be override cpu setting from A2N kernel control? or vice versa?

what should I use to set cpu clock, from CM setting or A2N kernel control?
[Galaxy Ace II Android Development] ace2nutzer:
lol .. u'll need to ask SAMSUNG probably what'S the difference. But in General: better compatibility with new sim providers, better signal and more stable connections ... maybe also lower power consumption.

So it's always a good idea to flash latest one. ;)

btw: latest for GT-I8160 is NF2 .... and there is also older MF1 baseband ... but AFAIK there is no MF2.

And for GT-I8160P it's MG2

did u wipe the dalvik-cache ?

Also u need to enable: "use zRam" in Kernel Control APP ... (reboot not needed)

If it'll later still be killed from the LMK, then as for the last chance, but a bit dangerous setting, u can try this:

echo 1 > /proc/sys/vm/oom_kill_allocating_task

This avoids to kill a lot of Apps when the ram is full. - it'll only kill those app that actually triggered the

OOM- condition, but this can make the system unstable, (black screen and freezing) when the RAM is completely full.

So i recommend to test this ONLY with enabled zRam !!

From the Linux Documentation:

Always the last change is valid, so no matter what u set for the last, it'll override always the current freq.

It's better to use only A2N Kernel Control ... in order to not mess it up .... especially if u want to use custom freqs at boot !
[Galaxy Ace II Android Development] Kurajmo:
Ace2nutzer

I have old question here again.

It's any way to use whole my 16gb SD card as internal memory for Ace 2?

I mean for install apps, and download data to data folder for those apps.

Today I download Yu-Gi-Oh link from play store, this app download additional data for game. But now I have only 400mb+ in internal memory. I think I need mount this data folder with physical SD card, somehow. But it's too complicated for me.

That's i ask here. Is possible set my memory card like in Android Marshmallow and newest as internal memory?

I really don't need and care about real internal phone storage. I preffer use my whole SD card.

Any help?
[Galaxy Ace II Android Development] ace2nutzer:
That's what i told u all the time :)

once u've repartitioned for sdcard_only, then u've 3GB for apps (/data) and u can use any sdcard even 64GB for internal memory sdcard0 ... if it's what u mean here. After that, no additional configuration is needed.

Everytime u download big apps like Real Racing 3 ... then the app goes to /data which is maybe around 30MB .... and the other stuff maps, cars and so on ... they go to /sdcard0 (your sdcard 16GB) which is much bigger data... approx 700MB.

I think, that is what u mean.

And in those 3GB for /data, u can install a lot of apps. So far nobody runs out of space here.

If u mean, to export /data to /sdcard0 ... actually not ... but i don't say that's impossible.
[Galaxy Ace II Android Development] Kurajmo:
Yeah im say I need export all data folders with files for Yu-Gi-Oh links to SD card physical.

Now I have only 300 my free when I download those files for ygo.

Can't do anything more. I tried folder mount. But this app not work.

Any advice? I really need this game. It's my favorite Anime
[Galaxy Ace II Android Development] ace2nutzer:
I still can't get the point, i don't understand where u've only 300mb free ... in such cases pls post the content or screenshot of "df" from terminal emulator.

Anyway, i don't think u need 3rd-party app for moving apps to your sdcard .... all in low-level possible.

Also u don't need to mount folders.
[Galaxy Ace II Android Development] Kurajmo:
I have only 300mb free cause this game like other games TWD season 1 and 2 download additional data for play. Those files are not obb files. Obb files I can download by myself to real SD card and no problem here. Like This war of mine games etc.

But games from Telltale, and this game from Konami need additional data to play.

This suck because this game work on old Ace 2 without problem. I can play in full speed, without lag. But i won't install anymore app. Cause i don't have space for them.

Eh. I try to move this data with force. I really love ygo game series
[Galaxy Ace II Android Development] ace2nutzer:
Again, u don't need any app for moving apps or any app data.

if u do it all right, then u don't need also to move some data folder by hand.

As i said, usually the most big part of data goes automatically to the sdcard (with sdcard_only kernel)

and if u even want to move the app itself to the sdcard, u only need to do this:

Go to Settings --> apps ---> ON SD-CARD

All Apps u see there, u can move them directly (one by one) to your sdcard.

Just tap on one of those Apps and choose: "Move to sdcard"

Thats it !

No need to do some Bullsht ! ;)
[Galaxy Ace II Android Development] Kurajmo:
Look at this. This folder is in root data folder.

I can't move this to real SD card. That's why my internal storage is only 300mb

I tried foldermount and other moving app. But any of them won't work.

Now I reflash cm. I install only 3 needed apps for use. Music player, opera mini.

And ygo with additional data.

I can't move this data folder. I tried, but without luck.
[Galaxy Ace II Android Development] Kurajmo:
Another scteenshoot.

If I tried move this folder to data folder on real SD card. Game won't start.

I can't use Ace 2 with all my everyday app. But still I have second Android phone with rest of my app. HTC Desire 310 with moded Galaxy S5 Rom.

Thanks God.

Unfortunately my LG K3 is dead for now.

But still i have htc.

**** Konami for do this to they player.

This is insane, no normal obb file, they just do stupid data folders.

That's all from me.

Anyway thanks for all help.
[Galaxy Ace II Android Development] ace2nutzer:
Well, u're on stock partition layout.

No wonder. Switch to sdcard_only.

Then by a 32gb sdcard, and u're never out of space. No need to buy extra phone, just by sdcard. Then u can move apps to sdcard without problems.
[Galaxy Ace II Android Development] Kurajmo:
I'm already on 4.4.4 sdcard only 20170426 kernel. What to do now?

---------- Post added at 04:37 AM ---------- Previous post was at 04:32 AM ----------

@ace2nutzer

Or your mean I need flash this on CWM?

cwm_cm11_partitions_layout_sdcard_only.zip
[Galaxy Ace II Android Development] shaqman89:
Yes, also flash that repartition script.
[Galaxy Ace II Android Development] ace2nutzer:
yeah, but do it right ...

also make sure that u've approx 2GB free space for the backup on your sdcard.

if u can't make free space, or u want again a clean installation, then it doesn't matter, and u can just skip the steps for backup according to the how-to here.

taken from post #3:
[Galaxy Ace II Android Development] Kurajmo:
Now we talking. With this simple script I have almost 3gb for apps and data. I installed Yugioh link with all my app.

First time when I install repartition script, and do all wipes. Then I install clean cm. I turn on ace 2. And strange message appear. I needed decrypt storage, something like that. But I reboot ace 2 in cwm again wipe everything. Install cm. Turn on phone, then install gasps in recovery again. And everything back to normal.

I don't know why this happen.

Game work very good. But sometimes fc when I play pvp.

I think old ace 2 have lack of ram that's why.

Time to change this old phone for something with 2gb ram and big internal storage something like 16gb etc.

Anyway thanks for all help ace2nutzer now I can play my favorite anime game when I don't have anything to do.

Greetings
[Galaxy Ace II Android Development] ace2nutzer:
then u probably did smthg wrong, if u do all step by step, then everything should work fine.

but nevermind, now it finally works for u.

as for the FC, have u anabled "use zRam" in A2N Kernel Control ??

That setting is really needed if u want to run big games.
[Galaxy Ace II Android Development] Kurajmo:
Yeah Samsung is ok.

But I bricked HTC Desire 310 when I tried flash boot.img from Desire 320 without PC.

Bootloop, no more recovery enter or service mode.

I just wanted flash stupid cm13 for this HTC.

But without desire 320 boot.img i can't.

Eee without access to pc my last working phone is Ace 2 again.

Life is brutal. Anyway again thanks for all help
[Galaxy Ace II Android Development] ace2nutzer:
Updated Post 1 - 3

Changes: more detailed descriptions on how to upgrade the Ace 2 from Stock GB ---> Stock JB ---> Repartition of Internal Memory from 1,2GB to 3GB for Apps and finally installing CM11.

I think not every user is born to be a developer or poweruser, so that's the reason :)

Enjoy like always ;)
[Galaxy Ace II Android Development] Sharkykounet:
Hi,

I installed the latest version 2 days ago : No black screen, no FC, no reboot. Very smooth, very fast :-O

I also get the Kernel control and activate the zRam : I was able to use osmAnd (heavy ram-hungry app that always FC before).

Thanks a lot for the amazing work :D
[Galaxy Ace II Android Development] Kurajmo:
Yup that's right newest version is very fast and smooth.

With this Rom i can play Yugioh Link. Game work without problems. Sometimes fc when I play pvp. Nothing like this happen when I play normally.

I don't know why this happen. But still game and other app work without error. And finally I have 3gb for app install
[Galaxy Ace II Android Development] Przemas11:
Could someone upload the current odin kernel?