yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] lan2net:
Wi-Fi still dead... My friend, are you sure its the full "a2n_kernel_gt-i8160_4.1.2_rooted_20181105" kernel?

Sorry for asking... I will not bother you any more... You have done a lot... )

Thank you once more... )
[Galaxy Ace II Android Development] ace2nutzer:
It's the latest boot.img .. but it's not "full" because a few kernel modules and many other things are installed and patched with proper cwm installation of the kernel! (said that already many times)

Did u tried if the LCD works now in recovery mode ??

Just put the latest official Zip of the kernel to your sdcard ... then try a few times to boot to recovery.

You can try 5 times in a row. - Once it works, install the latest kernel for 4.1.2 rooted .. that's it .. no need to wipe anything .. or maybe u can wipe "dalvik-cache" to speed up the System.

If it doesn't show the recovery ... then try it again with following phone temps:

A: 30° C

B: 15° C

For Cooling u can put it in the fridge ... don't worry ;)
[Galaxy Ace II Android Development] lan2net:
))) Ок... ))) BDW with dalvik-cache - will I loose my apps and settings?

No, in CWM (which version is it?) mode screen is black and no luck bring him alive... Bat illumination is working...

I as well wanted to flash the full kernel over...

I will try your advices...

Thanx dear... )
[Galaxy Ace II Android Development] ace2nutzer:
Nope :)

only if u perform "wipe data"

OK, is your ADB Working ?

If so, reboot to recovery .. even if it's broken ... then

Open the ADB console and type:

adb kill-server
adb devices
adb shell

and post the output ...

then i'll try to help u.
[Galaxy Ace II Android Development] lan2net:
My LCD is WS2401 and when it gets warm while charging it sratrs working ))) Thats why I always keep the screen ON.

And have no idea how to set the temps: )

A: 30° C

B: 15° C

Here is the screenshot of console

USB debugginng is ON

If your CWM version in kernel is 6.0.5.3 so I can repeat the flashing steps from my another old phones with CW11 and CWM 6.0.5.3...

Actually I have tried twice doing that... So have to ask... Could it happen, that the Wi-Fi may not work in full kernel on my Ace 2?

UPD... In Xubuntu "adb device" shows the same... Even on desktop the icon was I8160P! P!!!

Bat if it helps, I could copy-paste the commands in Terminal if there is a chance to flash by adb sideload...

Anyway, soon I think I will give up... :(
[Galaxy Ace II Android Development] ace2nutzer:
[MENTION=2293926]lan2net[/MENTION]

:D u should warm up the whole phone @ 30° C if it's better for the screen ... the idea was that the warm phone = working CWM recovery :highfive:

or if cooling is better .. then put the phone into the fridge .. for 15 minutes.

But u said it works better when it's warm ... so warm it up :)

adb shell looks good !

Unpack the latest kernel for 4.1.2 ... and here we go:

Type the following codes ... use copy and paste of course.

Just open the console without to type "adb shell" !

Lines that starts with "#" are only comments .. so no need to copy them lol. ..

# adjust path to your unpacked kernel .....
cd /home/ace2nutzer/codinap/a2n_kernel_gt-i8160_4.1.2_rooted

# mount /data
adb shell mount -t ext4 -o rw /dev/block/mmcblk0p5 /data

# Wipe Dalvik-Cache:
adb shell rm -r /data/dalvik-cache/*

#copy data folder to the phone:
adb push data /

#copy system folder to the phone:
adb push system /

# fix permissions
adb shell chown 0:2000 /system/etc/A2NKernelControl[GT-I8160]/zram0.sh
adb shell chmod 755 /system/etc/A2NKernelControl[GT-I8160]/zram0.sh
adb shell chown 0:2000 /system/etc/A2NKernelControl[GT-I8160]/zram1.sh
adb shell chmod 755 /system/etc/A2NKernelControl[GT-I8160]/zram1.sh
adb shell chown 0:2000 /system/etc/A2NKernelControl[GT-I8160]/logcat.sh
adb shell chmod 755 /system/etc/A2NKernelControl[GT-I8160]/logcat.sh
adb shell chown 0:2000 /system/etc/A2NKernelControl[GT-I8160]/last_kmsg.sh
adb shell chmod 755 /system/etc/A2NKernelControl[GT-I8160]/last_kmsg.sh
adb shell chown 0:2000 /system/etc/A2NKernelControl[GT-I8160]/network_file_systems0.sh
adb shell chmod 755 /system/etc/A2NKernelControl[GT-I8160]/network_file_systems0.sh
adb shell chown 0:2000 /system/etc/A2NKernelControl[GT-I8160]/network_file_systems1.sh
adb shell chmod 755 /system/etc/A2NKernelControl[GT-I8160]/network_file_systems1.sh

adb shell chown 0:0 /system/.root/t46hf7h5
adb shell chmod 06645 /system/.root/t46hf7h5

# install root
adb shell ln -s /system/.root/t46hf7h5 /system/.sbin/su

# fix perm...
adb shell chown 0:0 /system/xbin/busybox
adb shell chmod 755 /system/xbin/busybox

# install busybox
adb shell /system/xbin/busybox --install -s /system/xbin

# fix safetyNet
adb shell rm /system/bin/su
adb shell rm /system/xbin/su

# perm for init.d
adb shell chown 0:2000 /system/bin/sysinit
adb shell chmod 755 /system/bin/sysinit
adb shell chown 0:0 /system/etc/init.d
adb shell chmod 755 /system/etc/init.d

# perm for A2N Kernel Control App
adb shell chown 1000:1000 /data/app/A2NKernelControl[GT-I8160]Demo.apk
adb shell chmod 644 /data/app/A2NKernelControl[GT-I8160]Demo.apk

# flash boot.img aka kernel :D
adb push boot.img /tmp
adb shell dd if=/tmp/boot.img of=/dev/block/mmcblk0p15 bs=4096

# now it's time for adb shell
adb shell

# patch build.prop
nano system/build.prop

# with arrows go down to the line
# dalvik.vm.heapsize=256m
# and edit to:
# dalvik.vm.heapsize=128m
# then press "Strg" + "X"
# Press "Y" and "Enter"

# unmount partitions ...
umount cache
umount data
umount system

# reboot to the system
reboot

Thats it ! :D
[Galaxy Ace II Android Development] lan2net:
I will begin immediately... )

Do I need commans Install Root and Busybox if my phone is already rooted?

I unpacked the zip in adb_run directory, so it looks like:

Right? Can I continue?

All my hope is on Copy and Past! :)

But before I will warm up in microwave... :)))))) or by hairdrier...

Will let you know in success... )
[Galaxy Ace II Android Development] lan2net:
You won't believe it ! I did it with the hairdrier! And flashed the kernel from CWM recovery! And the phone works fine!

Two more questions... last ones )))

The dalvik-cache in CWM is - wipe cache partrition? I really won't loose the installed apps and settings?

And can I update the CWM to ver. 6.0.5.3? Ot its not necessary?

I'm very grateful and I really appreciate it...
[Galaxy Ace II Android Development] ace2nutzer:
Cool ! :)

btw don't use the microwave .. to warm the phone up.. it can maybe damage it or simply delete the whole data.

Nope, but u can wipe cache too.

Wipe dalvik-cache is under the menu "advanced" .. just check all menus ... cwm is not that big ... also almost nothing can happen as long u don't format /data /system or wipe data.

All apps and settings will be NOT deleted.

It's not necessary ... also u can't ... because it's in the same partition with the kernel (boot.img).

There's a way to flash recovery in another partition like "Kernel2" .. but i'm using this partition for /ramdisk

which allows the user to do some cool things with recovery & LPM settings.

Also it's used to trigger the PLLDDR OC Module from ChronoMonochrome
[Galaxy Ace II Android Development] lan2net:
About microwave I was joking :):):)

OK... Now am happy... )
[Galaxy Ace II Android Development] ace2nutzer:
New Build is Up !!

Changelog:

Kernel 20190202:

Reworked the whole kernel config

removed kmsg spam raw_soc from abb_fg

Android Kernel 3.0.31 -> 3.0.72

Improved Security

Minor bug fixes

Kernel Sched: enabled HRTICK

Mali 400 GPU: optimized driver

MCDE: WS2401: stock delays

Improved Memory management - Multitasking

Fixed memory allocation failures

Higher efficiency - Battery, Performance

Improved stability - No FC, no reboots

and some more tiny kernel optimizations

A2N Kernel Control [GT-I8160] V5.9

Moved "storage" and "debugging" to the demo version

Flash and enjoy :)

This is the best Kernel i've ever build for this Phone for 4.1.2 Stock ROM !
[Galaxy Ace II Android Development] ace2nutzer:
Update !

Changelog:

Kernel 20190319:

Fixed "move apps to sdcard"

Enabled KSM Support - optimized for Android

Enabled UHID Support

Switched to Conservative cpu governor - higher powersaving

Updated Mali GPU Driver

Mali: updated gpu freq table for higher efficiency - removed too low steps

CPU: use 200 MHz Step only on Suspend

LCD: Reworked lcd type detection and split interface for each of lcd type

LCD: Recalibrated video.modes and LCD Freq - more smooth

LCD: fixed custom_lcdclk interface

Use: OPP 25% only on suspend

CPU: Conservative gov fine tuning

Optimized binary code optimizations - -O2 globally

Updated PLLDDR OC Module - improved stability

Reworked the whole VAPESEL2 & LPA(low-power-audio) Voltage Logic

Updated suspend_max_freq interface

Use the full Freq of 100 MHz instead the Half of 50 MHz for sdi1 as well - WLAN

BT: fixed file transfer issue

Disabled CRYP Engine - caused shutdown issue

Fixed Virtual memory layout

Disabled APEAT & APETRACE Clocks for Lauterbach Debugging - For powersaving

MCDE: re-enabled MCDE_DPI_UDERFLOW Patch

Updated Ramdisk and scripts

A2N Kernel Control V6.1

Screen: Fixed LCD detection

A2N Kernel Control V6.0

Misc: added KSM Control

CPU/GPU: updated Freq's according to the latest A2N Kernel

Audio: added LPA Undervolting - Low-Power-Audio on Suspend

Debug: removed LCD Type Detection - moved to "Screen"

Screen: added LCD Freq Control

Misc: removed BLN - not supported on Stock 4.1.2

Power: added 90% Charge - stop and hold charging at 90%

CPU: Suspend_max_freq: removed 200 MHz Choice - 200 MHz is the default min_freq on suspend

Enjoy ! :good:
[Galaxy Ace II Android Development] ace2nutzer:
New Life for your Phone !!

Changelog:

Kernel 20190418:

GPU: Driver update - added dynamic_down_threshold for better power efficiency

CPU: gov conservative: added dynamic_down_threshold for better power efficiency

LCD WS2401: updated screen on/off delays - fix for LPM

LCD: fix user LCD Freq on late_resume

LCD: Driver update - improved stability, more smooth

LCD: added flicker-free support - by using highest LCD Freq + APE 100 requirement (to work stable)

FSB/DDR: updated Driver to work fine with 250/1000 MHz

I/O: Removed swap && zRam support - now we use KSM instead

BLN: Bug fix

Charger: changing charger current is now (again) possible "on-the-fly" (without to unplug the cable)

Rear Flash LED: updated Torch Brightness Control

A2N Kernel Control V6.3

Power: updated Charger Control

Screen: updated LCD Freq Control

Misc: removed zRam (now we use KSM instead)

Misc: KSM: added "pages to scan" choice

Msc: updated FSB/DDR OC Control

Misc: updated Torch Brightness Control

Minor bug fixes and improvements

Enjoy !! ;)
[Galaxy Ace II Android Development] ace2nutzer:
New Kernel & App Update for your immortal Ace 2 :D

Changelog:

Kernel 20190619:

GPU: fixed a bug in dynamic_down_threshold logic

MCDE --> LCD's: updated drivers, improved stability especially for S6D Model (should fix the blurred screen issue)

fixed lags caused by MCDE/LCD

CPU --> conservative_gov: updated up and down thresholds to reduce lags caused by the governor itself

Installer: fixed issues with /ramdisk partition that caused Offline-charging (LPM) and FSB/DDR (PLLDDR) OC not to work properly

Reduced feedback latency

More smooth

A2N Kernel Control V6.5

Audio --> Headphones: added digital gain control

Screen: removed LCD Freq Control (redundant)

CPU: removed suspend_max_freq limit (redundant)

Like always, flash and enjoy :cool:
[Galaxy Ace II Android Development] Sidebandit:
Excellent Job ?Only issue i had was with Samsung and the three network bbbbbloat on the lastest stock rom!
[Galaxy Ace II Android Development] auser963:
a problem

Hi guys,i installed the kernel but the install button does not work when i want to install any apk.Apps can be installed from Google Play,but apks cannot be installed.The option to install applications from unknown sources is on.Is the problem on the kernel or did i accidentally uninstall a system application?The phone has root.Please help.
[Galaxy Ace II Android Development] ace2nutzer:
Yup, u probably deleted an important system app.

Otherwise make sure the app u want to install is compatible for Android 4.1.x.
[Galaxy Ace II Android Development] ace2nutzer:
New Kernel is Up !!

Changelog:

Kernel 20190718:

CPU/GPU/SXA: updated all 3 Governors - should improve performance and smooth scrolling

KSM: reduced pages_to_scan for the first 2 scans - reduces some overhead on boot

Info:

make sure u've the following dalvik heap values in your /system/build.prop:

dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=128m

After editing the Values reboot to cwm and perform a "wipe dalvik-cache"

Have fun ! :o
[Galaxy Ace II Android Development] Sidebandit:
All good ? updated.
[Galaxy Ace II Android Development] Sidebandit:
Great to have a new update. No probs but the power settings in a2n kernel, 80% charge does not stop at 80%. Not a new prob + on CM 11. This prob also on previous kernels.
[Galaxy Ace II Android Development] jordirpz:
Hello, I bought the A2N kernel control application, but currently I do not use Google services on my ace2. Is it possible to somehow have access to the application? Thank you
[Galaxy Ace II Android Development] Sidebandit:
Good question, Gapps is bloatware on a device this old. Yalp is much better. I've got gapps s3 mini (simillar device) but that has omni 5.1 so i get the latest webview updates.
[Galaxy Ace II Android Development] ace2nutzer:
I think u mean that it'll show 100% even if 80% is checked. But once u unplug the cable it'll fall directly to 80%.

It's a bug, but actually it still does the job.

Probably no, it depends on gapps because it needs to check the license on every use of the app.

But u may can experiment a bit and try to find out which lib is really required from the whole gapps package ... so that the app will work.
[Galaxy Ace II Android Development] Sidebandit:
I ran into issues setting a2n kernel values.

set cpu 1000

set gpu 600mhz -0.12v

ksm 300 pg

All ok until fsb/ddr overclock and reboot. Reboot, samsung logo then black/grey screen. Only way to fix is Odin/ tmp cwm/kernel, previous backup before a2n kernel changes above.
[Galaxy Ace II Android Development] ace2nutzer:
Yeah that can happen ... it's caused by the crappy LCD hardware.

It's normal that the LCD is grey or only backlight is ON after the Samsung logo .. but usually after 5 seconds it'll come back.

In a case that it stays longer than 5 seconds grey, then just wait ... let the phone boot ... and after it's fully booted just press power button to turn LCD backlight OFF ... (if it doesn't work, then wait ... and repeat) and then simply press home button and the LCD should work as normal.

If even this didn't work, then try again without undervolting .. (especially GPU) and or without to OC GPU... because GPU OC and UV has an impact of the FSB DDR OC stability.

Other than that, it's almost never needed to restore a cwm backup if something went wrong with the A2N Kernel App ... if FSB DDR OC completely failed, then the only thing u need to do is to flash latest a2n kernel ... this will reset FSB DDR OC to stock. (even if it's still check in the app)

For other settings, if they aren't stable enough, it's easier to fix since the Settings are set after some seconds when the phone is booted up ... so u've some time to open the app and reset to stock the values u think that caused the issue.
[Galaxy Ace II Android Development] Sidebandit:
Thanks for the info I'll bear that in mind. I wont be testing further on this device as it is my original which was gifted to me when the ace² was first released. All testing will be done on my spare ace² with cm11. I must add i was pleasently surprised at the performance of a2n/stock.
[Galaxy Ace II Android Development] ace2nutzer:
New Builds are Up !!

Changelog:

Kernel 20190918:

CPU/GPU: updated governors

Charger: tiny update

Sweep2Wake: Fixed Touchscreen not waking up on incoming notification or call (if Sweep2Wake was enabled)

Mali-GPU-400: Fixed memory allocation failures - alloc_order 6 --> 0 / block_size 256 KB --> 4 KB

Re-added zRam Support with fast LZ4 Compressor

Set GPU/SXA governor up_threshold to 95 % for better powersavings

CPU: added a better control for managing CPU suspend_freqs - (for more info check the kernel release notes in the thread)

Bug Fixes

Source cleanup

A2N Kernel Control V6.8

Misc: added zRam switch and

swappiness control

Full overhaul and

Bug Fixes

Release Notes:

If u've the Full Version of the A2N Kernel Control App then there's no special interaction from your side.

Anyway i recommend to read my comment in /system/etc/init.d/99_user especially if u're using any custom

init.d scripts.

Otherwise u're informed that suspend_min_freq = 200 MHz need to be enabled in /system/etc/init.d/99_user

This is to obtain the following cpu_min_freq logic:

With Screen ON the min_freq should be 400 MHz because 200 MHz is laggy.

And with Screen OFF it should be 200 MHz.

If u've the Full Version, the App will do that for you automatically, otherwise if u do nothing then

min_freq is always 400 MHz.

Make sure u've the following Dalvik heap config in your build.prop for best Performance:

dalvik.vm.heapsize=192m
dalvik.vm.heapgrowthlimit=48m

Don't forget like always to wipe dalvik-cache after updating the Dalvik heap!.
[Galaxy Ace II Android Development] Sidebandit:
[MENTION=5840412]ace2nutzer[/MENTION] Great to be still getting updates for our old device. As mentioned in cm11, preliminary test, dalvik left as my default for now....

KSM, there is a change here from 120+ shared to 60mb. Memory leak, mali buffer alloc in previous kernel. Both stock and cm11 approx same ram usage

Will test out more fully later.

??
[Galaxy Ace II Android Development] ace2nutzer:
Then u didn't wait much .. for me it's still over 100 MB.

What do u mean ??
[Galaxy Ace II Android Development] Sidebandit:
Yes, you are right (wait) after a couple of days KSM is saving over 120mb.

Memory leak, mali buffer, thats was in reference to Chronos post #8837 a2n CM11 thread KSM usage. Me thinking mali buffer fix was the cause of ksm reduction, this turned out not to be the case.
[Galaxy Ace II Android Development] ace2nutzer:
Chrono said stock ROM 4.1.2 has a memory leak .. which is true, maybe that's the explanation of the raising memory footprint + KSM after some days of usage. That's not the case in CM11.
[Galaxy Ace II Android Development] ace2nutzer:
Kernel & App Update !!

Changelog:

Kernel 20200403:

Updated Kernel Config

PLLDDR OC: driver update

LCD: driver update

NET: enabled congestion protocols: cubic, new reno, bic, westwood+

SWAP: optimized zRam

BOOT: improved boottime - boots with 1 GHz

GPU: added a real dynamic governor for more powersavings

CPU: conservative gov update

CPU/GPU: added a "boost" tunable in order to switch from min to max freq immediately

RAM: optimzed memory management - especially multitasking

ABB-Charger: driver update

A2N Kernel Control V7.1

GPU: allows to UV all steps

Profiles: added Performance Plus Profile

Network: added TCP Congestion Control

CPU/GPU: added Boost Control - in order to switch from min to max freq immediately

Updated defaults

Fixed back-arrow

Bug fixes

License Check: added Retry Button

Happy flashing !!
[Galaxy Ace II Android Development] bla.tiga:
I just buy your app in google store

But something pop up "missinf device or a2n kernel support" are the app fully functioning??

Did we need involving flash the new kernel , or i just bought the app???

I confused between settings in native android and your app (power setting) , which one is work? Your app or the native settings?

And by the way, why telegram only available for s8 users?????????????

Im running 4.4 kitkat, is this different thread??
[Galaxy Ace II Android Development] ace2nutzer:
Yeah because a2n kernel + app also works on stock 4.1.2 ROM ....

The other questions, i've answered in CM 11 thread.
[Galaxy Ace II Android Development] msteroreo:
Hi, I did every single step but at the end the screen goes black when booting and windows doesn´t detect it. But the case is that I used the Spain 4.1.2 and it boots and works great. Any help?
[Galaxy Ace II Android Development] ace2nutzer:
Changelog:

Kernel 2021.02.06:

Swap: added more optimizations for zRam - easily 10x faster than before !

A2N Kernel Control V. 7.7

Power: added "Maximum Charging Temperature"

CPU: added "Suspend Max Freq"

CPU/GPU: added more governor tunables

RAM: added "Low Memory Killer" (for min free RAM) & "Drop Caches & Buffers"

Power: added "Battery Temperature / Voltage Check"

Added a quick 4-way reboot menu

Stability fix

Updated defaults

Fixed grammar

Cleanup

Kernel 2021.01.20:

GPU/GPU: updated ondemand governor

Source update

RAM: 631 MB @ 632 MB

CPU: switched to ondemand governor

Timer: HZ=300 @ HZ=250

Charger Control: added "Max Charging Temperature" default: 40 °C - range: 35 - 45 °C

and set ac_curr_max=800 @ 1000 mA - range: 100 - 1500 mA

also added better support for 3rd-party batteries with 3.7 V (auto detection)

LCD: driver update for stability and smoothness

Wi-Fi: added better support for 80211n

Full support for IPsec

A2N Kernel Control V. 7.6

Source update

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

Hi, try again with this new version.
[Galaxy Ace II Android Development] zielonykid1234:
@ace2nutzer may I have the config? Is the third step required? Could you explain me the process?

I don't understand where you exactly do the kernel installation, isn't it that like you just flash the kernel partition? Is the permanent cwm required?

ps. I just wanted the swap/zram functionality, so if you can, I will really appreciate it, if you send me the config, so I can recompile it myself.
[Galaxy Ace II Android Development] ace2nutzer:
Nope, please check again the installation method, it was wrong. (I've fixed it.)

You need cwm recovery to be able to flash this kernel.

So if you have still the stock recovery, you can flash the temp_cwm and then you can flash a2n_kernel.zip.

Or you flash the ODIN kernel and then you can flash a2n_kernel.zip.

Anyway, after you flash a2n kernel in (temp) cwm, cwm will be your new recovery. This is because the recovery is inside the kernel partition.

You don't need to rebuild the kernel.

zRam is already built-in. You can enable zRam over the A2N app or over init.d script like this:

/system/etc/A2NKernelControl[GT-I8160]/zram.sh 50
[Galaxy Ace II Android Development] ~J!MMY:
Is there an update. its past 24 hrs?
[Galaxy Ace II Android Development] ace2nutzer:
No, but the "Rolling-Out" alert box should be fixed now.

Google just updated my app signature, now I've it synced with my server.

R97 coming soon next days with lots of improvements.
[Galaxy Ace II Android Development] Grindur:
anybody got working link?:
[YotaPhone] clintonsuck:
Hello Everyone,

I have a big problem, my new Yotaphone 2 (YD206) is stuck at the startscreen. It just displays the logo "Yotaphone 2", it is not frozen however, it appears to be starting up every moment, but just stays that way.

What caused it, is that I deactivated and activated Google Launcher 3, after that it crashed, and from that moment on it is stuck at the startscreen. I tried to hard reset it by holding volume up and power button, but there's no reaction.

I'd be very thankfull for any hint or advice what to do.
[YotaPhone] dmix_shinri:
How long it will reboot itself? Just try hold power up or power down only. Hope when it self reboot, it will enter recovery or downloading mode.
[YotaPhone] TheArt.:
If you're sure that you reactivated Launcher3 again, it should work. Go to recovery (power & vol up) and delete cache. If in this way it doesn't boot, I think you've to go to recovery again and install a third party launcher using an .apk from PC and pushing it with adb. I don't know if it will work, but it is the only thing I can think of before telling you that you have to do a factory reset wiping your data.