yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
Update !!

Changelog:

20170522:

Higher binary code optimization

Re-enabled zRam by default - but only low usage - swappiness=50

LCD: [WS2401] stock delays - should fix wakeup issues

Memory allocator: back to SLUB

Ramdisk: optimized scripts, ram management and clean up

Faster I/O Speed

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

A2N Kernel Control [GT-I8160] V2.1

LCD: Chuck Norris mode: fixed description

A2N Kernel Control [GT-I8160] V2.0

Swappiness=50 by default

LCD: [WS2401] added Chuck Norris support - also for powersaving

A2N Kernel Control [GT-I8160] V1.9

Updated swap config

Fixed performance profile

Added "high performance" profile

Enjoy this High Performance Kernel !
[Galaxy Ace II Android Development] ace2nutzer:
Version 20170606

Changelog:

20170606:

Updated updater-script for build.prop tweaks (dalvik config)

Reverted unstable zRam & zsmalloc backport from 3.5 Branch

zRam zsmalloc lz4 driver: backport from stable 3.10 Branch

Moved zRam script from init.d to the A2N App

zRam, zsmalloc, lz4_compress and lz4_decompress moved to modules

zRam: disabled by default

Compiled with latest GCC-Linaro-6.3.1

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

A2N Kernel Control [GT-I8160] V2.2

Advanced: replaced "Swap aggressive" Switch with "Use zRam"

For properly enabling and disabling zRam

INFO:

If u've already downloaded this Version just before i've write this post, then please re-download again because i've re-uploaded both 4.1.2 Kernels due of update in updater-script!
[Galaxy Ace II Android Development] ace2nutzer:
Version 20170618 Update

Changelog:

Kernel 20170618:

Added more build.prop tweaks

Compiled bthid.ko & exfat.ko & lz4_(de)compressor built-in

Updated defconfig

Enabled all supported Cryptographic API's

Mali GPU Optimizations

OS RAM Optimization

Increased Torch Lux - max. fail-safe

Cleaned Source code a bit

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

A2N Kernel Control [GT-I8160] V2.3

Advanced: added ability to enable/disable Androids logger (logcat)

Removed high performance profile and torch modes

Enjoy !
[Galaxy Ace II Android Development] ace2nutzer:
Update

Kernel Release 20170701

Changelog:

Updated zRam script - multicore optimization

Better Memory Management - more smooth, responsive and faster

Fixed BLN Driver

Replaced sioplus scheduler with CFQ - for best multitasking performance

Updated kernel defconfig

Enabled support for XBox Gamepad

Optimized for Real-Time Workloads

Wifi: disabled pm_fast by default - saves battery

Reverted an very old commit that caused Apps to FC and maybe even File System errors

More efficient zRam Driver - Maximum power - Lowest power consumption

Removed obsolete CONFIG_ZRAM_FOR_ANDROID patch - Recent zRam Backport from Android Kernel 3.10 doesn't need it

Updated Binder and LMK Driver (and some other Source for memory management) - just a sync with original Google Source Code

Fixed occasionally Apps FC - I hope so :D - So far after 2 Days of testing = Zero App FC !

Better Performance and Battery Lifetime

Cleaned Source Code

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

A2N Kernel Control [GT-I8160] V2.4

Renamed menu entry "Settings" to "Free Options"

Moved "LCD Type", "Logcat" and "SELinux" switches to "Free Options"

Added ability to export debugging Logs to sdcard0 with a single Tap - logcat, dmesg and last_kmsg - available in "Free Options"

ENJOY :good:
[Galaxy Ace II Android Development] newfoundme:
TWRP on galaxy ace 2

Hi,

Little bit off topic, but how to flash .zip twrp files through odin? Ace 2 is soft bricked, so I can't restart it. Download mode is accessible.

I can't seem to get any recovery on my ace 2.

Regards
[Galaxy Ace II Android Development] ace2nutzer:
make sure u've latest 4.1.2 Stock ROM installed.

Then, if u've actually only download-mode working, u can flash 4.4.4-kernel for ODIN:

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/

after that u've fully working cwm recovery and u can format everything (except modemfs !!!) and so u can flash any custom rom :)

Happy flashing.
[Galaxy Ace II Android Development] newfoundme:
Thanks for the quick and clear reply. However, I'm not on stock rom 4.1.2, so after flashing the 4.4.4 kernel (only this, no stock rom, through odin), I still don't have any recovery on my ace 2.

What am I doing wrong?

Regards
[Galaxy Ace II Android Development] ace2nutzer:
It's better to start from scratch, so if u've GT-I8160P, all needed stock roms are here:

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/Stock_ROM/

but if u've GT-I8160, then search first for 3 parted stock rom ... flash it .... and then flash latest NF2 from the link above ... then continue with:

temp_cwm from here:

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/

if u want to flash any custom roms.
[Galaxy Ace II Android Development] newfoundme:
TWRP for galaxy ace 2

Thanks for your answer; the whole problem is that I can't flash any zip files over odin. I do have several stock roms, custom roms, twrp's and even cwm. All zip files. Do I unpack my zip rom and repack as tar?

I've already flashed 4 other devices but for this devices I can't seem to find any non-zip files to start with. That way I'm stuck even before I begin.

Maybe you can give me a link to a non-zip stock rom or non-zip to twrp? Or how do I have to start? I can't flash a stock rom 'cause they're al zip files. Its a i1860, not the NFC version.

Or maybe I need to flash in an other way than through Odin? That way I can flash zip files?

Thanks again for all your help.
[Galaxy Ace II Android Development] ace2nutzer:
*.zip is for recovery and *.tar/*.tar.md5 is for ODIN.

Anyway u can't flash a ODIN package that was uplaoded as a zip over recovery.

Viceversa u can't flash as well a recovery package that is always *.zip, over ODIN.

so u need to know if it's a recovery or odin package ... then handle as appropriate.

usually all custom roms and kernels are *.zip and u need to flash directly over recovery without to unpack it.

But all Stock ROMs are for ODIN.

Kernels that contains the name "ODIN" in the filename are of course ONLY for ODIN ...

so in the last 2 cases, if it's a "zip" u've to unpack it in order to have "tar" packages ... so that u can flash them with ODIN or if u've only linux as OS, then use Heimdall to flash tar packages.

PS: if u unpack a zip file and you can't see a tar package, then it's NOT for ODIN !
[Galaxy Ace II Android Development] newfoundme:
Ok, thanks! I'll start to unpack my files and look for a tar package. I'll keep you informed!! Cheers

Update: Did it!! Thanks for all your help. Flashing custom rom as I'm writing this!
[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"

Enjoy and Report your experience !
[Galaxy Ace II Android Development] :
Returned to Samsung ROM because I like its bootanimation.

But it have very bad RAM management.

Do your kernel fix that problem?
[Galaxy Ace II Android Development] ace2nutzer:
I think yes. Try it.
[Galaxy Ace II Android Development] 7upMan:
Hi ace2nutzer, ich möchte mein Galaxy Ace 2 flashen. Es hat noch den letzten Stock-ROM von ePlus drauf. Jetzt habe ich bei dir gesehen, dass du die Kernels 4.1.2 und 4.4.4 anbietest. Was ist eigentlich besser? Bzw. bringt es Vorteile, wenn ich 4.4.4 draufmache? Muss ich dann auch den angepassten CWM draufmachen? Ich mache das alles hier zum allerersten Mal, also sorry, wenn ich blöde Fragen stelle! ;)
[Galaxy Ace II Android Development] ace2nutzer:
Hi, 4.4.4 is deutlich besser. Wenn dir aber die Stock ROM besser gefällt, dann flashe einfach den 4.1.2 rooted kernel ... damit gehts um einiges besser ... wenn halt alles original bleiben soll, auch das Recovery bleibt original.

Wenn Du aber die 4.4.4 Anleitung befolgst, dann haste eben ein feines CM, cwm recovery mit dabei und optional sogar mehr Speicher für Apps ! Von 1,2GB auf 3GB !

Tipp: warte bitte auf das Update, es behebt sehr viele Fehler und läuft um längen besser !! :highfive:

Du kannst schonmal auf dass letzte 4.1.2 ROM updaten .. (falls noch nicht geschehen)

Ach ja: hier darf man nur auf Englisch schreiben :)

Wenn Du kein Englisch kannst, dann nutze den Google Übersetzer oder schreib mir eine PM ;)

Already informed to write only in english language here

:o
[Galaxy Ace II Android Development] 7upMan:
Ah, sorry, my bad. I'm fluent enough in English, so that should pose no problem. Ace2Nutzer, it would be great if you could send me a PM once you have the latest 4.4.4 version ready. I will update my phone to 4.1.2 and will then wait for your go.

Also, do you happen to know if there is an CWM version for Android 5.x and above that really works? From what I've read, the camera has issues, which in my case would make the phone unusable.

EDIT: Okay, so I installed Update 4.1.2. It was really easy and straightforward. However, when I now try to open the A2N Kernel app, it crashes with the error message "A2N Kernel Control [GT-I8160] angehalten". Is this because I used the non-rooted kernel?
[Galaxy Ace II Android Development] ace2nutzer:
ok i'll do.

I'm not aware about anything higher that 4.4.4 .. but i'll release very soon kernels for it.

My Kernels have cwm always included in the boot.img (kernel) so u don't need to install separately. Also u can't chance it.

Nope, it's because u don't have the license ...

Just uninstall the app and re-download from play store.
[Galaxy Ace II Android Development] R814932:
My phone is not rooted properly

Arising from my phone being soft bricked I revived it by flashing the following:

stock rom ONE-I8160XXNF2-20140930142454.zip

Temp_CWM_6.0.2.8.zip

chronokernel r 2.24.5 rooted version

CWM_ReParted_SY750_CA30_DA3060_SD0,10.zip

cm11 from ace2nutzer

Lineage 13

CM14.1

After the above I tried to install the backup program Titanium. I can not install Titanium and the error message is the phone is not properly rooted.

What should I do to reroot the phone?

I have noticed in A2N's server that there is a Lineage 15 available. In view of the previously flashed programs as above, is it ok for me to flash 15?

Robin
[Galaxy Ace II Android Development] atakan33:
you should enable root in developer options
[Galaxy Ace II Android Development] R814932:
I would like to upgrade to L15. Looking at post #42 showing what I had to do to get to 14, I would not like to have to repeat it all for L15. Should I get away with just flashing L15 on the phone, as currently set up?

Robin
[Galaxy Ace II Android Development] ace2nutzer:
Resurrection !!

Kernel & App Update !!

Changelog:

Kernel 20180809:

Fixed SafetyNet - Passed :o

Safety will PASS even with root enabled like it's done on "Magisk" :D

Reworked the whole SuperUser implementation

Play Store: Phone is now "Certified" ;)

block/deadline-iosched: reset to AK3.0.72 and patched

Reworked all APE/DDR OPP requirements

PLLDDR OC Module: tiny updates - should fix boot animation failures when using it

Mali 400 GPU: reduced Voltages

Reduced also Voltage for LowPowerAudio

Cleaned Source

Updated EOC BLN

Updated BLN

Removed "sva" kernel wakelock - battery drain fix on suspend!

cpufreq: added suspend_max_freq interface

Use APE/DDR 50% OPP for screen ON on idle instead previously APE 100% OPP

Reduced LCD Freq*

Fixed most of the compiler warnings for cleaner code

Updated Ramdisk in order to hide su binary - SafetyNet Fix

* = "Tuned Freq" disabled, means stock lcd freq and will work stable,

but with enabled "Tuned Freq" it can cause some screen glitches caused by APE 50% OPP,

on the other hand, lower lcd freq and lower OPP states will save a lot of battery power.

A2N Kernel Control [GT-I8160] V4.6

misc: fix zram on 4.1.2 stock

A2N Kernel Control [GT-I8160] V4.5

CPU: add suspend_max_freq control

A2N Kernel Control [GT-I8160] V4.4

Fixed Support for GT-I8160L

Storage: Fixed compatibility

Misc/PLLDDR OC: fix restore on boot

source update

A2N Kernel Control [GT-I8160] V4.3

Updated API to 28

Tip:

Wipe dalvik-cache
[Galaxy Ace II Android Development] ace2nutzer:
Update!

Changelog:

Kernel 20180901:

Fixed Apps crash

MCDE: WS2401: improved stability

cpufreq: updated suspend_max_freq interface

Mali: driver update & fixed memory allocation failures

Tiny Kernel update & tweaks

Optimized Dalvik

Fast boot

Added cwm recovery

A2N Kernel Control [GT-I8160] V4.8

reduced overhead on boot

A2N Kernel Control [GT-I8160] V4.7

GPU: removed mali_pre_allocated_mem_size_max - it's now 32MB by default

Screen: removed "Tuned Freq" & "Chuck Norris mode" - rebasing driver ....

Misc: added "Advanced Root" for CM11

Tiny Bug fixes

Enjoy :)
[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.4 (specific for Android 4.1.2)

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] 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 !
[Galaxy Ace II Android Development] lan2net:
Dear friend :)

I have flashed my Ace 2 (stock 4.1.2, stock recovery, root SuperSu 2.82) by Odin with your kernel a2n_kernel_gt-i8160_4.1.2_rooted_ODIN.tar and everything was fine except Wi-Fi... It didn't work at all... So I had to go back to stock... Why by Odin? Because my screen is damaged and shows nothing in bootload or download mode... :)

Anyway, maybe the problem was in old version of the kernel, so may I ask to make Odin image (tar md5) of the a2n_kernel_gt-i8160_4.1.2_rooted_20181105...

Actually I jast need to tweak the CPU...

Thanx :)
[Galaxy Ace II Android Development] ace2nutzer:
u need to check post #1 for the Installation method. u can skip step 0 ... since u are already on 4.1.2.

btw odin kernel is just for emergency and it's normal that wifi don't work.

on normal package for recovery wifi will work.
[Galaxy Ace II Android Development] lan2net:
As I said, in recovery mode my screen doesn't work, that's why I was asking the Odin version... I cant flash first the temporary CWM and then the kernel been blind, but with damaged screen I can do it through Odin or any flashing app directly from the Ace 2... I think so... )) And I need .img .tar .md5 .bin or whatever to make my device akt as piece of beast... ))
[Galaxy Ace II Android Development] ace2nutzer:
http://xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/

There are 2 versions of ODIN kernel ... test first for 4.1.2 .. if recovery doesn't show up, then try with 4.4.4 kernel (ODIN).

If both doesn't work, ask again, then i can build latest kernel for ODIN .. but u can't use the Phone properly with that .. it's just for having a working recovery.

If it's already persistent CWM, then no need to flash temp cwm ... instead flash normal(rooted) 4.1.2 kernel in cwm directly.
[Galaxy Ace II Android Development] lan2net:
Thanx, my friend :)

With the Odin's 4.1.2 kernel as I remember, my phone worked without Wi-Fi. With the 4.4.4. Odin kernel I even couldn't boot/launch to system...

If I will not be able to use the ace2 properly with any of Odin's kernel, then I think there is no need to make one from latest build...

And am on stock recovery...

Thank you once more for respond...

UPD... Just my noob thoughts... :)

What version of custom recovery is included in your Odin 4.1.2? What if I install it again and then flash the latest kernel .zip directly from Root ToolCase app? It has option Flash Wizard which can flash any .zip if you have already CWM or TWRP... So I could just update the Odin kernel 4.1.2. by newest one of yours...
[Galaxy Ace II Android Development] ace2nutzer:
Nope, u still didn't get the point why i was saying to u there's 2 different odin kernels.

Odin kernel is ONLY needed to be able to reboot to recovery and flash a regular kernel package.

There are 2 Odin kernels with once stock recovery and the other is with cwm.

So u only need to test wich odin/recovery works for u.

One if them will work .. then simply flash the kernel.

I'm not very familiar with flashing a kernel with 3rd-party apps.

Anyway u could report which recovery worked for u, (i guess the stock recovery will work)

If after flashing the regular kernel the recovery is broken again, then report too.... maybe i can do something.

But usually u don't need every day the recovery. In a case u need to flash kernel again ... (due of new kernel release from me)

the u've to flash again ODIN kernel ... and then finally the latest kernel.
[Galaxy Ace II Android Development] lan2net:
I understood ) But the whole things why am making the simple flashing procedure so complicated - its because my screen is damaged and cant see anything in recovery mode... Its just shows black strips... In normal system mode I have to press the Power button several times to force screen work proparly... But in recovery mode am afraid pressing the button as paranoid... )))

Anyway, how can I get just CWR or TWRP .img, .bin, .md5 for this phone? Because am able to flash them by 3rd-party apps straight from the Android and then by the same 3rd-party flashing tools (which need CWM or TWRP) - flash any kernel or firmware...

Sorry if we are misunderstanding :o
[Galaxy Ace II Android Development] ace2nutzer:
Yup .. :) I'm aware of this Issue... i'm developing this kernel and fighting with LCD Issues since 2014 :D

Probably u didn't followed the whole kernel development here. The Ace 2 has 2 different LCD Types.

WS2401 and S6D27A1. Both having problems with some lower chip qualities. Some of them can be workaround

by using different lcd parameters. U as user can't change them. Anyway in the end we choose a almost stable config that works even with low quality chips. But of course if it's broken too much, then we can't fix it.

Especially it's known that S6D have problems on CWM. But works better with temp CWM and the Stock recovery.

That's why i was asking u if both Variants: Stock Recovery and cwm have problems to show u the recovery.

If u already tested this, and both didn't show the recovery, then u've to flash the kernel with ADB and/or with apps that can flash images directly to the phone.... I suggest to do it bay hand with ADB. Simply u need to unpack the kernel and see what updater-script would do, and do that by hand .. line per line.

Everything u need, kernel, files and the script to see what u've to do, is in every kernel package (.zip) of course use the latest one.

Of course u need root access, then u can start with ADB ... if don't know know how to do that, so u don't know the commands, then ask and i'll post the procedure.

Of course it's really better if u boot to recovery ... even if u don't see anything ... and flash the kernel with ADB.

Because i believe that u can't push files to the /system partition on a running android .. due to the lack of proper ADB ROOT. But it works 100% over the recovery + ADB.
[Galaxy Ace II Android Development] lan2net:
Dear, with ADB is really good idea! The phone is rooted, but I don't know the commands... Could you help me with the procedure? I will be very grateful... As well, besides flashing the kernel on stock, I would like to get commands- flashing CM11 of Maclaw (NF)... Is that possible?

And thanks for your patience... :)
[Galaxy Ace II Android Development] ace2nutzer:
Later i can post commands for flashing stock kernel 4.1.2 and A2N kernel 4.1.2 rooted.

U'll see it's quite a lot of commands.

For flashing ROM it's very similar .. once u'll understand how it's done with kernel .. then u can write commands yourself for CM11.

But For ROM it's much more lol.

I'm gonna releasing Kernel & App for Galaxy S8 :o
[Galaxy Ace II Android Development] lan2net:
I have got soft called ADB RUN which will make our life easier... Its just ADB with ready commnads for doing almost everything with the phone... And there is a way to flash zips with "ADB Sidelod"... Am I right? ) So, can I flash kernel (or CM11) excluding the step with the temporary CWM 6.0.2.8 or still need flash the custom recovery first?

Image review

[IMG="ADB RUN"]https://androidp1.ru/wp-content/uploads/2014/11/adb_run_sideload.gif[/IMG]

Download

https://clouds.androidp1.ru/AK/ADB_RUN_v.4.10.10.16.zip
[Galaxy Ace II Android Development] :
Why not do adb sideload instead?
[Galaxy Ace II Android Development] ace2nutzer:
Seems so :)

Just make sure the recovery is rooted, especially

adb root

should work, then u can skip step with temp cwm and other recovery.
[Galaxy Ace II Android Development] lan2net:
Thanks :)

Now I have to solve problem with adb drivers... On PC they are latest Samsung USB drivers for Mobile... ADB conecting and recognizing the device, but in ADB Sidelod mode it shows error with conection "No Device Found"... But! ) Screen starts to work when in ABD I command to reboot in Recovery ))) And when am flashing temporary CWM 6.0.2.8 screen go out again...

So now I want to do whole procedure derectly from the phone - blindness! )) by counting the steps: Stock recovery - Temp CWM recovery - Kernel by watching the details from Youtube...

Damn! The temporary recovery making the things worse ) Is there any permanent Recoveries?
[Galaxy Ace II Android Development] ace2nutzer:
the odin kernel which has approx 10 MB has cwm rooted permanent.

wait.. i'll upload latest odin kernel with cwm root for 4.1.2.

Edit:

FTP Server is currently down ... so i had to upload here:

https://mega.nz/fm/NVNwCAwR
[Galaxy Ace II Android Development] lan2net:
OMG! ))) Thank you so much! Thats exactly what I need! The Odin version of "a2n_kernel_gt-i8160_4.1.2_rooted_20181105", right?

Unfortunatly, cant download from the Mega... I think its your private link...
[Galaxy Ace II Android Development] ace2nutzer:
Yeah :)

Here u go:

a2n_kernel_gt-i8160_4.1.2_rooted_ODIN.tar
[Galaxy Ace II Android Development] lan2net:
Dear, I feel like a child that cant open the candy because of hard wrapper ))) Am about the link... It just keeps open advertising pages without downloading the file...

UPD... Downloaded with another browser! Gona try now! Do I need any Wipe to do?

UPD 2... Wi-Fi doesn't work... :( Seems have to stay on stock forever on this ASS 2... )))