yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] blastos01:
i am using 12-01-2015 build with maclaw cm11 but it uses too mcuh battery. when the screen is off its good but when look for something on phone battery fastly discharges. i hardly see 2 hours screen time. how about you? by the way i just installed tinder, facebook messenger, whatsapp and twitter.
[Galaxy Ace II Android Development] MarquesYOLO:
I'm back on 20141220 build again. Sometimes take a long time to wake up the device. I have lag and blackscreen bug too. Sorry for being so difficult.??

As always, thanks for your hard work, but for the moment, I feel 1220 build is almost perfect.
[Galaxy Ace II Android Development] ace2nutzer:
Hmm really strange.. check sdcard0 and 1 free space.

For me camera is working good.

Thanks for report... have u really no blackscreen bug on 1220 ?? and what about this latest 4 builds:

20150106: 20150107: 20150112: 20150115:

on ALL 4 Builds blackscreen bug ??
[Galaxy Ace II Android Development] MarquesYOLO:
on 1220 I don't have blackscreen. I don't remember if I had or not on 0106 and 0107, because I used it for a short time but on 0112 and 0115 I have.
[Galaxy Ace II Android Development] Matteo90:
The lockscreen is laggy on latest ext4 build, and I couldn't take a phonecall because of the screen becoming unresponsive. Also got blackscreen in recovery. :(

So far 1220 works best for me too.
[Galaxy Ace II Android Development] ace2nutzer:
Ok u guys.. i need to know if in 20150106 Build is also Blackscreen for u ... Thanks !

(That'll help to fix the Issue)
[Galaxy Ace II Android Development] Moonly:
For now I don't have it, I need to use my phone more to be sure though.
[Galaxy Ace II Android Development] VW22:
[MENTION=5840412]ace2nutzer[/MENTION]

Hmm really strange.. check sdcard0 and 1 free space

Sdcard0 showed 0 bytes of 0 available.

So I formated my external 16GB µSD card again into 10 GB (FAT32) and 6 GB (EXT2).

After that I wiped & formated everything I could in CWM, except boot. Formatting modemfs didn't work.

Reinstalled :

cm-11-20141118-UNOFFICIAL-codina_f2fs.zip and

codina_kernel_cm11_20150107_f2fs_ace2nutzer.zip and

pa_gapps-modular-pico-4.4.4-20150106-signed.zip

After installation of some apps I tried again the camera => app stopped again immediately.

Flashed again the

pa_gapps-modular-pico-4.4.4-20150106-signed.zip

and the camera works again.

Would a certain app be the cause?

Now space on sdcard0 is (142 MB/522 MB) and on sdcard 1 (336MB/9.76 GB)

---------- Post added at 10:52 PM ---------- Previous post was at 10:46 PM ----------

Small correction,

I flashed the 20150115 kernel first (not the mentioned 20150107 version)

and reinstalled the 20141220 kernel at last and camera was working again.
[Galaxy Ace II Android Development] ace2nutzer:
OK :o

S8 :D :confused:
[Galaxy Ace II Android Development] :
Where is your kernel for S8 thread? I've tried to find it but no avail...
[Galaxy Ace II Android Development] ace2nutzer:
http://xda.mister-freeze.eu/XDA-files/ace2nutzer/latest

still in development ..

soon available :)

ps: for what u need it ? - U got an S8 Phone ?
[Galaxy Ace II Android Development] :
Nope, I got a J7 Prime, but I want to see what you worked. ;)

But I just don't want to root now... because Knox and stuff :(
[Galaxy Ace II Android Development] ace2nutzer:
check this:

https://www.piana.eu/root/

My S8 his knox is already triggered .. but i don't care .. as i'm living in the EU .. warranty is still there. ;)
[Galaxy Ace II Android Development] :
I don't live in EU... but in Vietnam instead. Here will void the warranty on Knox 0x1... :(, but some pros said that they can damage the motherboard to make it unbootable, then send to Samsung as "motherboard replacement".

As Sammy guys have to boot the board to check the Knox, they can't know that Knox was tripped (because the board can't run) and they should fix it under warranty. :good:

But it require very very skill, and it's only for user with have some relative with the fixer...

One more reason I do not want to root my phone is I am using Knox to store my pics and something... No custom kernel here are made to make Knox container works... :(

But in S7 there is SuperStock kernel.
[Galaxy Ace II Android Development] ace2nutzer:
Ah OK, if i'm not wrong on S8 custom kernel the warranty bit (knox and so on) is reset to zero on boot by using a fake cmdline :o

So no matter if it's already triggered. - Anyway later i'll check it carefully ... what i should check .. how it's called the app that wouldn't work on knox 0x1 ?

as for the mainboard replacement:

yeah u can also simply delete the bootloader .. then it won't boot at all ...

But samsung service center can fix the bootloader by using JTAG / Riff-Box ... so they can see knox ok or not. But usually they don't spend that much of time ... they'll simply replace ... because the partner from samsung just want to make some money ... so it gives simply more money if they replace the whole board instead to simply fix the bootloader .... ;)
[Galaxy Ace II Android Development] zarebcn:
i have flashed your last rom with your last kernel and i have lost the root (superuser) that comes with the rom. in settings>system theres a tab called #superuser that shows my old permissions to apps that need root but this apps no longer work because say that i need to be root. what happened?
[Galaxy Ace II Android Development] ace2nutzer:
Yes removed in order to bypass safetynet compatibility test.

In latest builds u can re-add su binary to /system/xbin with my App.

If u don't have the license, just write this to the terminal emulator:

su
mount -o remount,rw /system
ln -s /system/.sbin/su /system/xbin/su
mount -o remount,ro /system

if u don't need it anymore, revert back and safetynet will pass again:

mount -o remount,rw /system
rm /system/xbin/su
mount -o remount,ro /system

added to Post #3, since many users are asking the same question.
[Galaxy Ace II Android Development] zarebcn:
thank you so much!!!! :)
[Galaxy Ace II Android Development] :
It's Secure Folder. It relies on the Knox container agent. Even use Magisk to hide it, it still not work at all.

But by somehow the SuperStock kernel for S7 can make the Secure Folder works. You can try read the source to see how it works. :good:

And maybe if you are lucky, you may have it fixed under warranty. ;)

And now is for Magisk news:

So will this help us pass SafetyNet without your tweak?
[Galaxy Ace II Android Development] ace2nutzer:
OK i'll check it ASAP.

Yup :o.

It depends on how the magisk APK will do the job.

To make it fully legacy it's probably best to update the system completely on runtime (on-the-fly)

I could write a script that hides the su binary on every phone without to manipulate the boot.img.

But it's not as powerful like magisk works. i.e. some apps expects the su binary in /system/xbin/su ..

and actually i don't know how to hide it. Only apps that accept the su binary anywhere will work.

Or what else: if i would know what are the requirements in ramdisk for Magisk then i would add them ...

then it's only needed to install the APK and that's it !

Or the developer of Magisk will update his unpackimg script that can handle the sort of boot.img we're using here.

Otherwise it'll never work.
[Galaxy Ace II Android Development] zarebcn:
hi again, i have noticed 2 weird things with this rom:

1- i have connected the phone to the computer for saving some pics and it has been installed again as a new device because the pc now thinks that the phone is the I8160 model instead the I8160P .

2- when i do a search on google chrome now it loads the 'optimized page version for your device' (a page without youtube video miniatures and very 'lite'), under this i can click the 'standard version' and it shows the page as it always was but i have to do it everytime. theres a fix for this because is a bit annoying. before this rom chrome always shown the complete version of the page.

thank you.
[Galaxy Ace II Android Development] Sharkykounet:
Hi everyone,

I had to revert to previous Kernel + latest ROM.

Latest Rom + Kernel (20180901) was quite unstable on my phone (dirty install) : Phone freeze after unplugged, freeze after wakeup, lots of FC. Tested for 3 three days, the phone was too unstable to be used :'( . I had to reinstal previous Kernel.

Problems disappeared with previous Kernel (20180809)

Since previous ROM (20180809) videos don't start on Messenger or Instagram. Same on latest Rom (20180901).
[Galaxy Ace II Android Development] ace2nutzer:
@ up

Thanks for your report.

I'll consider this in next update.

That should be normal, because i've fixed the mess with the Phone Model, so now it should be right.

What's your real Phone Model?

Ohh i'm not aware of this issue, maybe it's related to the last chrome update?!
[Galaxy Ace II Android Development] zarebcn:
my phone model is the I8160P (it has the NFC feature), even in the phone info tab says that is the I8160 (without P) now

i didnt update google chrome, my version is the same one that i was using with an older rom. btw i have flashed, for testing, the older one that i was using before and chrome then shows the 'complete' page
[Galaxy Ace II Android Development] ace2nutzer:
Flash GT-I8160P Support v2.6.zip:

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

This will install NFC Drivers, TEE Folder for working sim-card .. and will fix Phone model in Phone info tab.

OK, wait for next update ... i'm improving a lot of things.

btw: can u maybe (if u have the time of course) test what's the main problem ? - So ROM or kernel related ?

(u can mix kernel and rom version) .. This will speed up the release date.
[Galaxy Ace II Android Development] zarebcn:
The model issue has been fixed with the GT-I8160P Support v2.6.zip :) but is weird because i was always flashing the v2.5 and worked fine until now (seems that no longers works with newer roms, i think).

I have tested all this current year kernels with the latest rom and the chrome issue was still there but then i flashed rom 20180524 and the issue gone, its definitevely a rom issue. Hope to have helped.
[Galaxy Ace II Android Development] S-e-r-s:
Hello!

I can't return ROOT after last updating kernel and ROM.

In terminal after 'su

mount -o remount,rw /system' I get message "mount: Operation not permitted"

How I can fix it to get Root?
[Galaxy Ace II Android Development] ace2nutzer:
On last ROM/Kernel root is enabled by default! - So maybe u've to flash it again... first rom and then the kernel in a row.

Then u should get "su" working on terminal emulator! - If it's still not working then check SuperSu in Settings, maybe it's disabled for some reason, due to wrong stored value in data/property or so.
[Galaxy Ace II Android Development] S-e-r-s:
I'm try 3 times to flash kernel and rom 20180901 and 20180601 ...

On kernel 20180601 no problem with terminal emulator and with apps required root.

On kernel 20180901 immediately after flashing (did not change anything in Settings) terminal emulator starts very long time. When I try to run Titanium Backup, it say "no root"

In terminal emulator (kernel 20180901) after command "su" I get "255|u0_a48@codina:/ $" and that's all...

Noticed after flashing kernel and rom 20180901 was message in CWM "root is missing. Root device?"
[Galaxy Ace II Android Development] ace2nutzer:
That's strange ... but it works for other users.

I'm actually on stock 4.1.2 .. so i can't test now.

Later i'll flash CM11 and test.
[Galaxy Ace II Android Development] divinesurfer:
Hello guys. Having a small issue. Hope someone can help. Installed this rom today coming from lineage OS 15. Followed all the installation instructions to the letter. However, during the initial setup after boot, clicking on the 'set up your google account' button several times did not work. skipped it and moved forward. and now, when i open play store, it just flashes white and goes back to the home screen. The 'Accounts' section in Settings also does not show possibility to add a google account. Tried flashing gapps again but issue is still there. any idea what am i doing wrong here? Thanks :)
[Galaxy Ace II Android Development] ace2nutzer:
Wipe data and format /system and sdcards .. then try again. (as long u was trying to flash the proper gapps package)
[Galaxy Ace II Android Development] divinesurfer:
Hi. Thanks for the quick answer. Just downloaded gapps again (ARM-4.4-pico) from the link in your OP and did as you said. Same issue :(
[Galaxy Ace II Android Development] ace2nutzer:
Hi, oh OK. Usually it should work, maybe u can provide more informations, did u performed any reparted scripts ?

What shows "df" command in terminal emulator App?
[Galaxy Ace II Android Development] lace_hvc:
I have a weird problem with google maps.

When I create a route/directions, it usually shows me different routes in blue. But in the most recent version of google maps, it shows me the distance and time, but it doesn't highlight the routes at all, so I can't see which routes it suggests to me. I only see the starting point and the finish point, but it doesn't highlight the way.

I only have this issue on this phone. Can it be caused by the ROM?
[Galaxy Ace II Android Development] lace_hvc:
Also the app crashed every time I turned on gps, which makes a navigation app useless.

Reverting back to an older version from a few months back fixed both issues.
[Galaxy Ace II Android Development] divinesurfer:
Well, beside flashing the reparted zip [cwm_cm11_partitions_layout_sdcard_only.zip] as per the instruction in the OP, i didn't do anything else. Phone is sitting there untouched, did not tinker with anything(don't even know how to:confused:)

I attached ''df'' command from terminal...

Thanks
[Galaxy Ace II Android Development] :
Why not do su first?
[Galaxy Ace II Android Development] ace2nutzer:
u've to flash sdcard_only Kernel and insert a micro sd card.
[Galaxy Ace II Android Development] divinesurfer:
Sorry? You mean run su command in terminal first? Pardon my ignorance :(

But I did. I followed every step in the installation instruction to the letter. and i am using an 8gb micro sd. Yesterday i tried flashing a previous build(20180809). Still the same. :(
[Galaxy Ace II Android Development] :
Running commands as root may give more informations I think.
[Galaxy Ace II Android Development] divinesurfer:
Indeed. Sorry. Here it is!

Does the second picture have anything to do with my problem? I have been getting that msg everytime i reboot from recovery and chose I No everytime.
[Galaxy Ace II Android Development] ace2nutzer:
The cwm about root message is normal. u can ignore it.

According to your df command u're still using the normal kernel and not the sdcard_only kernel.

Once u reparted with sdcard_only, then u've to flash in the end the sdcard_only kernel....

IT would also work if u just swap storages in my App. then sdcard0 will be the micro-sd ... but it's better to flash sdcard_only kernel because it'll fix play store issues.

Once u flashed sdcard_only kernel, then u can verify this with "ls" command .. there u should see the file: "sdcard_only"

If not, then something goes wrong with latest sdcard_only kernel ... i'll verify this later .. because today i'll release new kernels ... it's time to make things better. :cool:
[Galaxy Ace II Android Development] ace2nutzer:
New Kernel is Up !!

Changelog:

Kernel 20180922:

Updated the following kernel drivers to 3.0.72:

drivers/gpu/ion

mm (basic memory management)

arch/arm/vfp (vector floating point and processor instructions)

drivers/hid/uhid

fs/fat

fs/ext4

block

drivers/block

drivers/staging/android: lowmemorykiller & binder

-

Added the following new drivers as needed by Android:

SYNC (Hardware mode)

SW_SYNC (actually disabled, because we're testing hardware-sync instead software-sync)

DMA_SHARED_BUFFER

-

Optimized memory management

Updated adj & minfree values

Set Swappiness=0 by default

Mali: optimized memory management

Removed some obsoleted drivers

Source cleanup

A2N Kernel Control [GT-I8160] V4.9

misc: added swappiness control

misc/zram: removed reboot workaround for Android 4.1.2 - fixed in kernel

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

Release Info:

zRam behavior is now different.

By default swappiness tubable was always set to "100" (max, swap aggressively) but now it's set to "0" which means to swap pages only if it's really needed. In other words: it'll compress ram only to avoid an out-of-memory condition! - So it's safe and recommended to enable zRam and keep swappiness to "0" in order to save battery and to avoid an possible out-of-memory condition.

If u need maximum RAM possible for big apps or more multitasking, then set swappiness to "100", then u've the old behavior.

But i do recommend to test first with zRam enabled + swappiness=0, because ram management is now more efficient which means that u can maybe get rid of too aggressive swapping!. :)

Enjoy the A2N Performance ;)
[Galaxy Ace II Android Development] ace2nutzer:
I just want to clarify some things related to this ROM and also comment some recent User Postings.

First of all, i had declared this ROM as "buggy" but according to the last test with latest ROM from 20180901 and latest Kernel from Today (20180922) i've to say that i didn't found any Bugs related to the ROM or Kernel or even the Kernel Control App!.

So this ROM is STILL usable as a daily driver. Even if the ROM Sources are now a bit outdated.

There are 2 things to respect:

1. Replace the Stock Browser with Google Chrome which work very well.

2. Latest Version of Google Maps seems to not Work on this ROM ... maybe next version of maps will work again?

Maybe Google did an mistake or so, because even on older ROM like Stock 4.1.2 with latest A2N Kernel, the latest Version of Maps works perfectly! - On the other hand, Custom ROM's like CM, LineageOS etc.. are known to cause issue with some Apps while they work normal on stock ROM's.

KEEP THIS ALWAYS IN MIND.

As for an temp fix like here below an user already mentioned .... it helps to replace latest maps version with the previous one ... at least as long the latest version don't work.

Now i've more precise informations:

Like u already said, it's an optimization ... not an issue!

It was showing all the time the default google search site, due to the fact that we was using a custom definition of:

"ro.product.model" in /system/build.prop which caused that all apps including Chrome, didn't be able to see which phone model is actually in use, so that's why almost everything was running without restrictions or optimizations for the corresponding device model.

So if u don't care about Optimizations for low-ram devices, then u can hack it back by changing

ro.product.model=GT-I8160P

in

ro.product.model=GT-I8160P[B].[/B]

Then reboot and Chrome will show u the full version of the page.

Very likely for the same reason i've described here for user zarebcn.

Like i had promised, i've tested root very carefully on latest rom an kernel ... and it works perfectly. At least on a clean installation. So maybe u've to flash rom and then kernel again.

Some tips:

Like i already said: cwm is now outdated and will now always show the message that your phone isn't rooted yet.

That message is not fully true, so u can always say NO. Anyway, if u enabled in my App the "Advanced Root" Option, then the warning will disappear in cwm .... because cwm only checks for root in /system/xbin/ instead in /system/bin !

Yeah maps is FC for me too in CM11 ! (but works fine in stock 4.1.2 with latest A2N Kernel)

I think u mean it works with an older version of maps, right?

I didn't test an older version of maps, now i'm back to stock 4.1.2.
[Galaxy Ace II Android Development] lace_hvc:
yes, but none of the very recent versions of maps work. version 9.81.0 and older worked for me.
[Galaxy Ace II Android Development] S-e-r-s:
O, yeah!

Now is all ok after flashing ROM 20180901 and kernel 20180922 from the first time.
[Galaxy Ace II Android Development] UnknØwn:
Hello A2N!

I want to thank you again for continuing to support your 4.4.4.

I wanted to know one thing: Do you plan to launch a final final update and start a new project?

I also continue with the hope that some day you will do a great 4.4.4 for the Galaxy S2. :)

A greeting.
[Galaxy Ace II Android Development] :
He already did a new one in his S8, but there might be no final update for us.

Because our phone still need him :good:
[Galaxy Ace II Android Development] ace2nutzer:
I'm glad to hear it! :)

This ROM is already "final" .... and later i'll release a new kernel that can be considered "final" as well, but i'll not mark it "final" because i want to occasionally update some small things like the LCD Driver ... this is actually the worst thing in this kernel. In the coming kernel finally all the important drivers for memory management works properly.

After that i'll start to build AOSP 4.1.2 .... and then maybe some of the newer AOSP Versions for this Phone.

It's still a project for fun and learning.

Very hard to say and for sure i can't make a kernel for every phone, also i can't satisfy every user wish.

Actually i'm developing a kernel & App for the Galaxy S8, which i'm nearly done :)

After that i hope i've some more time for the Ace 2 :D (Yes, i'd like ace 2 more than S8).

Stability, performance and battery lifetime are mostly delivered from the kernel.

Having an optimized ROM like this only increases performance and battery lifetime somewhat in addition.

So if u want to make your S2 better, i'd suggest to search for a good custom kernel. ;)
[Galaxy Ace II Android Development] :
Yeah that's the thing we hoped for very long time! (As Android < Lollpop are too deprecated for us)

But that does not mean we do not want to use your project ;)

I hope that too ;)

Are you serious? I never know that you like this old phone :eek:

Did you test LineageOS 16 by [MENTION=5695278]ChronoMonochrome[/MENTION]?
[Galaxy Ace II Android Development] ace2nutzer:
New Kernel is Up !!

Changelog:

Kernel 20181006:

MCDE: both LCD Drivers set in fail-safe mode for now - chuck norris mode

NET: xt_qtaguid updated to 3.0.72

Updated kernel config to 3.10 (specific for Android 4.4.4)

defconfig: enabled memory resource controller - saves up to 30MB/app

MALI: updated memory management - use 4kb block size

LIB: updated LZ4 Compressor Module to 4.4

BOOT: switched from LZO to LZ4 for faster booting (re-implemented)

RAM: updated memory management

Overall improvements - performance, battery and stability!

Enjoy ! ;)
[Galaxy Ace II Android Development] Vlang:
Hi, you've mentioned a bug that there is a problem with reading contacts. It means that I won't see any contacts from SIM card? Or maybe the problem has already gone?
[Galaxy Ace II Android Development] ace2nutzer:
yeah this rom can't read sim contacts.

so, before u install this rom u need to export all your contacts to the sd card.

later u can import the contacts in this rom and everything is fine.
[Galaxy Ace II Android Development] :
But the contacts can be read in *#*#4636#*#* by somehow :confused::confused:
[Galaxy Ace II Android Development] ace2nutzer:
OK, that's better than nothing, but it doesn't fix the issue.
[Galaxy Ace II Android Development] :
Now there's a bug in A2N Kernel Control App: The back button "<" in menu aren't working - maybe it's just images? xD

The HW back button still works. :confused:
[Galaxy Ace II Android Development] ace2nutzer:
FINAL Kernel is Up !!

Changelog:

Kernel 20181012:

LiveOPP: 400Mhz Step: ape/ddr 25% @ 50% - this is

useful for "Suspend Max Freq"*

RAM: optimized memory management

Higher Performance, Better Battery lifetime and more smooth

A2N Kernel Control [GT-I8160] V5.0

Audio: added Volume Control

Screen: added go to suspend button

Layout update

Fixed some minor bugs

*= 400Mhz is now the recommended Freq for "Suspend Max Freq" Tunable (which is adjustable over the A2N Kernel Control App)

HAVE FUN !

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

It's actually no longer supported and i'll maybe remove it in the future.