yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] mopide:
why just AOSP 4.1.2? ;)

p.s. I'm first who would like to try :)

---------- Post added at 07:52 PM ---------- Previous post was at 07:48 PM ----------

ok, I've found the answere in one of the previous posts
[Galaxy Ace II Android Development] jupiez:
i try choose mtp / mass storage still can't read mass storage device like flash drive :D
[Galaxy Ace II Android Development] ace2nutzer:
post output of "df" over terminal emulator app.
[Galaxy Ace II Android Development] jupiez:
sorry bro, I'm newby
[Galaxy Ace II Android Development] ace2nutzer:
open terminal app and type "df"

then press [enter] and post the output here in the forum.

Or do a screenshot.
[Galaxy Ace II Android Development] jupiez:
/mnt/media_rw/sdcard0: permission denied

/mnt/secure/asec: permission denied
[Galaxy Ace II Android Development] ace2nutzer:
Try again to toggle usb mode.

Be sure the cable is connected.
[Galaxy Ace II Android Development] jupiez:
connected but just charging
[Galaxy Ace II Android Development] ace2nutzer:
CM11 / Kernel update 20180324

Changelog:

Kernel 20180324:

Fixed USB Driver

Updated kernel config

CM11 ROM 20180324:

Updated Dalvik Config (heaps)

Lesser ram usage

incl. A2N Kernel 20180324 - normal version

Inkl. A2N Kernel Control [GT-I8160] Demo V3.4

AUTO wipes, except wipe data and format /system

Enjoy !
[Galaxy Ace II Android Development] jupiez:
thx bro :D

fixed my problem
[Galaxy Ace II Android Development] jordirpz:
[MENTION=5840412]ace2nutzer[/MENTION]

I downloaded the last rom 24.03.2018, but when I installed it, in settings it appears 28.01.2018
[Galaxy Ace II Android Development] ace2nutzer:
Forgot to update the date. Only cosmetic.
[Galaxy Ace II Android Development] ace2nutzer:
Kernel / APP update 20180328

Changelog:

Kernel 20180328:

Sweep2Wake: removed auto-enable if charger is present - was unstable

Fixed permissions on /ramdisk

CM11 ROM 20180324 reloaded:

Updated Dalvik Config (heaps)

Lesser ram usage

incl. A2N Kernel 20180328 - normal version

Inkl. A2N Kernel Control [GT-I8160] Demo V3.5

AUTO wipes, except wipe data and format /system

A2N Kernel Control [GT-I8160] V3.5

CPU: increased UV from -100mV to -150mV

Bug Fix

Enjoy ;)
[Galaxy Ace II Android Development] :
Thanks for the update!

Any news from your new ROM?
[Galaxy Ace II Android Development] ace2nutzer:
No Problem :)

If You mean AOSP 4.1.2, it's still in development, i'll release very soon :)

Please a little bit of patience ;)
[Galaxy Ace II Android Development] damian12332146:
[MENTION=5840412]ace2nutzer[/MENTION]

How can I increase mic gain? Is it "/sys/kernel/abb-codec/addiggain2"? If so, should I put a numer higher than default 31 or lower than 31?
[Galaxy Ace II Android Development] ace2nutzer:
lower ...

example:

su
cd /sys/kernel/abb-codec
echo gain=27 > addiggain2

gives +4dB, or simply use my App. :highfive:
[Galaxy Ace II Android Development] :
I have a problem in CM11: When I turn on 3G connection, the device instantly restart :confused:

Only in this version with memory oom configurations added.

Any clue in it here?
[Galaxy Ace II Android Development] ace2nutzer:
Works for me. Maybe too much UV/OC.

Anyway, what about last_kmsg ?
[Galaxy Ace II Android Development] :
I did not change anything because it's a clean install.

In my first boot 3G does not connect. When I go to Settings I see that the APN is gone (but in stock ROM still working properly). I add one APN from my carrier, then 3G connected and the phone freezes at that screen and reboot :confused:

Once the phone boots to lock screen, it starts to reboot again and again... So I can't take last_kmsg.

Recovery is useless now (computer says USB device not recognised).

But in download mode Odin recognises properly.
[Galaxy Ace II Android Development] :
I'm working very hard to fix SafetyNet... as without it passed we can't use games like Pokemon Go, apps like Netflix and banking apps.

Anyone have the stock build.prop? I need it because without it I can't config the CM11 fingerprint as it will broke the SafetyNet.

Then I will upload a zip like a patch that will fix the SafetyNet. But because we are on CM11, it's very hard to do it. Root will be removed and there's no way to root it without tripping SafetyNet (There is Magisk, but it only support Lollipop and on). A2N Kernel Control App may not working properly with root features like PLLDDR OC and network config. [MENTION=5840412]ace2nutzer[/MENTION], can you please upload the kernel with have SELinux enabled with "enforced" state? Because SafetyNet will only pass in that state.

I have a Lollipop version that does pass SafetyNet, with Magisk root added. :)
[Galaxy Ace II Android Development] ace2nutzer:
I'm actually busy with S8 Kernel, when i'm done i'll start to build aosp 4.1.2.

So i don't think it's worth it to still maintain this rom.
[Galaxy Ace II Android Development] :
Anyone have the stock param.tar for flash with recovery? I flashed custom one and there's no stock one to flash again :(
[Galaxy Ace II Android Development] ace2nutzer:
Kernel Update 20180405

Changelog:

Kernel 20180405:

Sweep2Wake: fixed on LPM

Updated /ramdisk

Some Kernel tweaks

Final build

Enjoy :)
[Galaxy Ace II Android Development] :
I returned to stock 4.1.2 and installed the kernel. Working smoothly. :)

But your stock ROM have some problems:

- Carrier modified bootanimation. But I can pass it by replace with the XXMC8 one.

- Lost some languages (mine is Vietnamese) :(

Kernel:

- Installing the rooted kernel breaks SafetyNet.

- Not tested the not rooted kernel, hope it can pass Safetynet :mad:
[Galaxy Ace II Android Development] ace2nutzer:
:good::D

It's not my ROM, it's compiled by SAMSUNG.

But the coming 4.1.2 AOSP will be compiled from me, and of course it'll have my optimizations that are also present in CM11 here.

Yeah not an issue, u need to flash the proper CSC from your country if u prefer to have languages and so on.

On the other hand u'll have older baseband, but as long everything work good, it's fine.

Good to know, but i heard some rumors that when using latest magisk can pass even safetynet even having root.

Don't know how it works, probably it'll hide it. Anyway not tested by me.

I think it should work, if not, then remove Busybox and maybe even init.d support.

Anyway let me know how it worked.
[Galaxy Ace II Android Development] :
That's a good new for us. Hope it won't have the FC bug in stock TouchWiz ROM. :)

I don't know if my country CSC is in a Vietnam XXV ROM here: http://samsung-updates.com/details/18896/Galaxy_Ace_2/GT-I8160/XXV/I8160XXMF2.html

But the RapidGator link is too damn slow, and the hotfile one dead. So I can't get my country CSC :(

Kies shows "GT-I8160 does not support... (something)" when I use Firmware reset mode :(

Do you have my country CSC?

Magisk only support Android >5.0 version. So this is not applicable.

I remember that when I am on SergeyL's LineageOS 14.1, I used BootBridge to install Magisk, then use Magisk Hide. After that, SafetyNet passed. :victory:

But sometimes I have to use the stock fingerprint to pass it :confused:

Now we even have tons of "Hide root" apps, but I think nothing can hide it properly. Anyways I will find the way to do it.

Let me see. :)
[Galaxy Ace II Android Development] ace2nutzer:
AOSP doesn't have the touchWiz Launcher ... it's from samsung.

Better user ODIN.

Nope i don't have it. U can also get official stock roms from here:

https://www.sammobile.com/firmwares/galaxy-ace-2/GT-I8160/

They are maybe also slow ... but that's it.
[Galaxy Ace II Android Development] :
No, I mean the Force close bug in JB 4.1.2... It appears even on Amigo, MIUI, ZenUI, TouchWiz, AOSP JB ROM... When an app crashes, the whole SystemUI freezes and

1. Causes a reboot.

2. Takes very long time to show a force close dialog.

3. Shuts down the screen and there's no way to turn the phone on except using emerency reboot or removing the battery.

But it requires a premium account for download my country CSC. :(
[Galaxy Ace II Android Development] ace2nutzer:
It's not ROM/Kernel issue, sounds like filesystem errors.

No, u only need to register. It's for free.
[Galaxy Ace II Android Development] :
Ok, maybe I will look through about that.

Now I restored my stock boot.img back... because it still causes reboot on 3G... with Wifi it's still working properly :confused:

One time I can turn on 3G without reboots, turn on Wifi hotspot properly. But when I turn off and on data connection again, the phone reboots :confused:

When I set panic_on_oom to 0, and I turn on data connection, the phone froze for a short time then reboot...

I have the last_kmsg, but tomorrow I will upload it.

Thanks for you information!

SafetyNet stil cannot be passed on both versions. I know that because SELinux state is DISABLED. So we can't pass it without having it to ENFORCED state.
[Galaxy Ace II Android Development] ace2nutzer:
Then it's not caused by OOM.

SELinux is only available from Android 4.3.x and higher.

https://source.android.com/security/selinux/

Just forget it and let us see how it goes with AOSP 4.1.2.
[Galaxy Ace II Android Development] fonzacus:
requesting a free chuck norris mode

ey a2n, id like to request a non googleplay version of your kernel app. sort of like the betterbatterystats_xdaedition. yeah i did buy it from the store, but sometimes when i restart my phone and i dont have internet, i have no way to activate chuck norris mode. its the only thing i need to fix the 'screen blur'. i dont use any other kernel option since im a noob.

if not, can i request a flashable lcd fix like you did a long time ago? i remembered it was 10mb and before you promoted the repartitioning.
[Galaxy Ace II Android Development] forza-Juve:
Danke für deine grossartige Leistung .

ich habe eine kleine Bemerkung ; beim fahren verliere ich den Signal , weile es zum Zellenwechsel kommt ...ich muss jedesmal rebooten ..liegt es an Modem version ?

Danke
[Galaxy Ace II Android Development] :
A2N Kernel Control App is not free. So you can't use the non-Play Store version. Even if you got the APK file, you still can't use it as it has license checker.

You should turn on data connection/Wifi, open the app and go to any menu except "About" one. Then wait for 5~10 secs (depends on your internet speed) for the app to get license, then the next opening without internet should be fine.

#NOTE: I've found again a bug in license checker :) Last bug have been fixed, but still not good through.

Nicht viele Effekte wegen des Modems. Aber ich weiß nicht viel von diesem Problem. Lass es uns stattdessen nach ace2nutzer fragen. :)

Aber das nächste Mal solltest du zuerst auf Englisch fragen, dann jede gewünschte Sprache. Das ist in den XDA-Regeln.

Google Translate is too bad. Maybe I will change to another translator ;)

Anyone know the best translator for me?
[Galaxy Ace II Android Development] ace2nutzer:
LCD Type ?

I don't know, sorry.
[Galaxy Ace II Android Development] fonzacus:
i know, thankfully a2n replied. its just that sometimes when we reboot and dont have an internet connection, all we can do is turn our brightness on highest and hope the phone warms up soon.

sorry for the late response and thanks in advance. its an s6d type (standard ace2 stock partition with your cm11 324 and kernel 405).

it might be a good idea to also make a ws version in case someone else needs it.
[Galaxy Ace II Android Development] ace2nutzer:
Hi fonzacus, it doesn't matter if u don't have internet connection on reboot, it'll still apply all settings u did before when internet was available. The only thing i can see is that it takes a few seconds longer to apply all settings when there's no internet.

So once it's booted up, turn the screen off, wait a few seconds and it'll fix it, so need to play with brightness.

btw, i've also blurred screen when it's very cold and "tuned freq" is checked. once i uncheck it, it's fixed.

So if u even need to enable the chuck norris mode, it's just bad luck with the quality of the lcd.
[Galaxy Ace II Android Development] zarebcn:
Hello, its me or this ROM has poor wifi signal compared to stock ROM? im experiencing very poor wifi signal less than 10 metres far from the router. It doesnt happens with stock ROM. I tried flashing some versions but same issue.
[Galaxy Ace II Android Development] ace2nutzer:
Did u compare stock rom/kernel and then with a2n kernel ?
[Galaxy Ace II Android Development] zarebcn:
no, just stock rom with stock kernel and your rom with your kernel. the difference is notorious at least for me. seems that on your rom/kernel wifi has low power
[Galaxy Ace II Android Development] ace2nutzer:
It's possible, it's tuned for powersaving :)

Anyway it would be very useful to know if the stock rom 4.1.2 with a2n kernel has the same low wifi power. Because actually i don't know anymore if the powersavings stuff are coming from ROM or Kernel.
[Galaxy Ace II Android Development] :
Samsung never forgot us in 2018... :good:
[Galaxy Ace II Android Development] AxelWind:
Thnx for this rom! Great work! It was successfully installed on one of my phone (don't remember what version it was) and then succefull updated to last version. But on another phone after installing rom from stock rom touchscreen doesn't work so I can't choose language and click next after booting device, but hardware buttons works. On stock rom and other touchscreen works perfectly...
[Galaxy Ace II Android Development] brewzip:
I cannot send videos with Whatsapp, it is unable to load them. I'm using latest ROM + Kernel (sdcard_only, partitioned) and I'm able to receive other users photos.

Also, I sometimes get random "Android Exchange Services" crashes when opening other apps. I have enough space in my SD and is perfectly writable.

Any idea on how to solve those problems?
[Galaxy Ace II Android Development] :
Can you give a logcat about your problem?
[Galaxy Ace II Android Development] [-GuTi-]:
Can you make last kernel 4.1.2 for odin? Or give instruction how to do this, sdcard corrupted and cant do anything(
[Galaxy Ace II Android Development] ace2nutzer:
My sdcard is actually corrupted too (file system errors), i hope it's not coming from the kernel.

I'll release soon an kernel update, maybe better. But i need first to fix my kernel for S8 .. it's actually unstable and that sucks like hell.

Anyway, it's very simple to create a ODIN Kernel from any boot.img:

extract the boot.img from the kernel zip package .. then type the following commands in any linux terminal:

mv boot.img kernel.bin

md5sum -t kernel.bin>>kernel.bin

mv kernel.bin kernel.bin.md5

tar cf a2n_kernel_gt-i8160_4.1.2_rooted_ODIN.tar kernel.bin.md5

rm kernel.bin.md5
[Galaxy Ace II Android Development] forza-Juve:
screen cast not working ..could you confirm ?
[Galaxy Ace II Android Development] ChuckMichael:
It never worked.
[Galaxy Ace II Android Development] ace2nutzer:
Kernel update

Changelog:

Kernel 20180508:

Some Kernel tweaks - updated rcu config

RAM Management: Merged Minfree Values from S. G. S8 Oreo Kernel

Increased Stability

Higher Performance

Better Battery Lifetime

Final #2

Enjoy ;)

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

yes, but you may try another app, at least one of them will work.

Nope, i've compared Wifi Signal Power on Ace 2 with my CM11 and latest kernel and on Galaxy S8 running Stock Kernel with Oreo using "Wifi Analyzer" App and it's exactly the same :o
[Galaxy Ace II Android Development] fonzacus:
im liking swapped storages a lot. is there a dead simple way to swap (and hide) them in your kernel? before i used the 0mb sdcard0 hidden repart, and now im using biens CWM_ReParted_SY900_CA130_DA2750_SD0_20
[Galaxy Ace II Android Development] ace2nutzer:
it's all described in Post #3.
[Galaxy Ace II Android Development] ace2nutzer:
Kernel update

Changelog:

Kernel 20180511:

RAM Management: Reverted Minfree Values to CM11 default

Final #3

INFO: Can u Guys please test and report which build has the better memory management for u? - Previous or latest one?
[Galaxy Ace II Android Development] :
I can't test your kernel, as I am using the Ace 2 as the wifi tethering 24/7 :(

So can you upload the minfree values here?

Now I am having a soft corrupted 16GB sd card (I really want that big card). Every time I try to insert it, the phone says that the sdcard is blank. (I can't format it too). But in recovery, I can read the directories, and when I try to reading or modifing files, the recovery freezes.

The card can also read on Windows (only on the root directory).

Seems like the sd card is dead. (When my brother was doing a backup and suddenly power off the phone).

I think that the card may turn to read only.

Anyways to fix my problem?

I do not want to buy another one... Cause I do not have money...:(

I am trying to run MicroG (very good as it saves battery, CPU cycles and RAM), but without installing Xposed, I can't do signature spoofing. (As Cyanogenmod disabled them for security reason)

Better performance and battery life compared to normal Gapps.

But Google Play Games is not working.
[Galaxy Ace II Android Development] lace_hvc:
I tried installing Kernel 20180508, but I saved the file on the external sd card which is not shown in recovery, or only lost.dir is displayed. I also tried mounting it in recovery but I get an error that it can not be mounted.

The external sd card is shown once the phone booted completely. I can access all files. I ran chkdsk /f /r of the card on my laptop and it found 0 errors.

So I moved Kernel 20180508 to my internal sd card and installed it from there.

I never reparted and I didnt install 'sdcard only' kernel. I didnt format the micro sd to another format and its not corrupt.

Any ideas?
[Galaxy Ace II Android Development] :
Have you rooted the ROM?
[Galaxy Ace II Android Development] lace_hvc:
I'm on the latest Rom from this thread which is rooted.
[Galaxy Ace II Android Development] ace2nutzer:
Filesystem is broken for sure.

Copy all files to pc then format sdcard1 in cwm as vfat and copy back all the files.

Make sure lost.dir is empty.
[Galaxy Ace II Android Development] :
[MENTION=5840412]ace2nutzer[/MENTION] Do you have any clues of my problem?
[Galaxy Ace II Android Development] lace_hvc:
I got some errors when trying to format it in cwm. Had to format it in windows first, then I could format it as vfat in cmw.

Working now. Thanks :)
[Galaxy Ace II Android Development] ace2nutzer:
Sorry, i was busy, later i'll post 2 versions of minfree values to test.

Yeah then even the partition table was broken.

Anyway if the sdcard is broken then this is only a temp fix.

So, i can suggest to check from time to time the lost.dir directory .. If there are some files, then the sdcard is broken and u need to replace it.

But this is not always true, if u remove the sdcard without to unmount it first, or if the phone freezes + random reboot due of too much overclocking or undervolting, .. Then it's normal to see some files in lost.dir. anyway those files are then broken and lost no matter if due of sdcard itself failure or due of stability problems.
[Galaxy Ace II Android Development] :
And also my sdcard problem? :)
[Galaxy Ace II Android Development] UnknØwn:
[MENTION=5840412]ace2nutzer[/MENTION]

Hi!

You really did a great job, I'll always appreciate it.

I have some doubts:

1.- Is it possible to apply the last security patch?

2.- Do you plan to do something in Galaxy S2?

Greetings and thank you.
[Galaxy Ace II Android Development] fonzacus:
what i meant was. is there a way to use swao storages?

IIRC your or chronokernel setting app used to have a swap storage that required a reboot.
[Galaxy Ace II Android Development] ace2nutzer:
Well, i didn't change only minfree Values! - So u still need to update to the latest kernel and then if u want u can test S8 Kernel Values. (Previous Version has the S8 Values + other kernel changes)

S8 Kernel Minfree Values.

18432,23040,27648,32256,55296,80640

Default CM11 Values: like on latest kernel

[B]10521[/B],13240,15959,18854,21573,26833

Those are pages, if u need the Value in MB to apply in some memory manager apps, then calculate as follow:

10521 / 256 = 41,09765625 ----> 41 MB

Same like lace_hvc u've to backup your files and then write a new partition table (best is with linux, use GParted and create the new table as "MS-DOS") and then format the whole sdcard as "FAT32" also in GParted.

Finally put the card in the Phone and format in cwm as "vfat".

Now the sdcard should be revived. As i said before, if the card is really broken then this is only a temp fix.

Yes is possible, but not worth it, so this ROM is EOL (end-of-life)

Maybe yes, but not in the near future.

Here on CM11 this feature is buggy, so i had removed.

Use normal kernel Version to use internal SD and ext-sd or use sdcard_only kernel if u want to use only ext-sd.

If u want to swap storages on normal version and use both sdcards, let me know, i can re-add the switch in the app on next kernel + App Update ... but as i said, it's not bug free, as some apps will refuse to install properly.
[Galaxy Ace II Android Development] :
I do not have a Linux machine.
[Galaxy Ace II Android Development] shaqman89:
In Windows you could use easeus partition manager to achieve the same thing.

Or even just the native disk management.
[Galaxy Ace II Android Development] :
- Easeus Parition Manager: Must pay for it... :(

- Microsoft Disk Management:

+ Format: Freeze, then "Format failed"

+ Delete: Not tested yet

- Testdisk: Using "erase by writing zero byte" still make the window freezes, then shows "Unable to erase disk"

- (Forgot the company name) Kill Disk: Both "Format" and "Erase" shows "Cannot write to sector xyz on disk..."

[MENTION=5840412]ace2nutzer[/MENTION], maybe GParted in Android-x86?

The link of it is here: android-x86.com
[Galaxy Ace II Android Development] ace2nutzer:
No, u can also try to format in windows with the native solution.

Just make sure "quick format" is NOT checked.

Then format in cwm.

Edit:

U can also try to use GParted from any Linux Live-CD / USB-pen drives.

Just type in terminal

sudo gparted
[Galaxy Ace II Android Development] :
Even with quick format checked or not checked, the format menu still freeze for a while then notify "Windows could not format the drive"

I used GPart, but every mode I choose that tamper the drive, the system still freeze, and then the sdcard automatically be unmounted without any changes.

It seems like this ROM can still read SIM contacts.

How to read: Go to Phone app -> Type *#*#4636#*#* -> Go to "Phone information" -> Press menu button -> Choose "View SIM address books"

Then the contacts in SIM should be read.
[Galaxy Ace II Android Development] ace2nutzer:
OK then u can likely put that sdcard into the trash.
[Galaxy Ace II Android Development] :
I still think that the card might be revive... As when the card was damaged (when my brother interrupted the backup process), I looked at the fstab and see "errors=mount_ro".

So maybe the card has been dropped to read only mode.

I can also write <1 byte to the card (like creating a new folder), any other datas are untouchable.

DIR command on Windows still works fine on the root folder.
[Galaxy Ace II Android Development] ace2nutzer:
U can't fix hardware errors by software, but it's (maybe) possible to ignore those dead sectors by software.

Search for some windows tools that can avoid bad sectors. If u only find tools for Hard disks, then try it ... it should work as well for flash drives.

Later don't format it in cwm, otherwise the bad sectors will come back.

Use bs=4096.
[Galaxy Ace II Android Development] :
Maybe like "low-level formatter"?
[Galaxy Ace II Android Development] UnknØwn:
It would be great news!

I will be attentive to your projects. :good:
[Galaxy Ace II Android Development] fonzacus:
itd like to request it being readded in please. if possible with the kernel app and stuff.

i dont think ive ran in to apps not being able to install properly like you said, but what types were the apps; tools, communication, personalizations ETC?