yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
Yes, after the notification was happened then u can cut the log with "Strg + C"

As for the notification ... just tell one friend to send something to u :D
[Galaxy Ace II Android Development] :
Oh how dare my typing, I typed any swapiness other than 0 will soft brick the phone instead of hard reboot the phone :D
[Galaxy Ace II Android Development] ace2nutzer:
i can't understand what u're meaning.

Anyway there's nothing wrong with it :)
[Galaxy Ace II Android Development] :
More problems:

- Android OS consumes much battery and high usage (tested 56%)

- Underclocking is too dangerous: cause phone to soft or hard reboot infinitely if mischanged with no restore at boot

---------- Post added at 12:44 AM ---------- Previous post was at 12:40 AM ----------

It will cause "HARD REBOOT" instead of "SOFT BRICK"

My mistake;)
[Galaxy Ace II Android Development] fonzacus:
just wondering, do you have gapps installed? doing a quick search on the net points at gapps. if you looked at my attachment in the previous page youll see i also have android os hogging.

wasnt lucky yesterday night, the battery drain was 1/H which is pretty standard. i forgot to take a screenie before charging -.-. im still pointing at android os+gapps though since i remembered *netscheduler* and something else on top (botg1 gplayservice)
[Galaxy Ace II Android Development] ace2nutzer:
Normal.

Again, if u want to report bugs and if u want any help, then learn to report as appropriate (method, which app, which setting, cpu/gpu freq. and undervolting .. etc etc.) with more details so that i can reproduce your steps and see what happen. - Otherwise your reports will be completely ignored.
[Galaxy Ace II Android Development] vaterfa:
hi i installed this rom today after use resurrection remix couple of weeks, i never faced this problem on res remix. i have screen problem; when i wake my phone i've got a black screen and vertical lines. i installed 20170323 version of cm11 (codina), 20170426 version of a2n kernel (sdcard_only), cwm sdcard_only partition and gapps from open gapps. lcd version is ws2401, i tried when tuned freq and chuck norris modes are open and i've still got a problem.
[Galaxy Ace II Android Development] :
Ok then it will be: Change swapiness to any value other than 0 will cause hard reboot after some minutes then return back to value 0

---------- Post added at 02:34 AM ---------- Previous post was at 02:29 AM ----------

Try turning off LCD tuner in Ace2Nutzer Kernel Control app.
[Galaxy Ace II Android Development] vaterfa:
you mean disable tuned freq option right ?
[Galaxy Ace II Android Development] :
Yes because it will make the screen smoother but will take some more battery and could get black screen problem.
[Galaxy Ace II Android Development] Peedy2495:
TNX for implementing NFS ... yeah, you are great!

One last question ...

why are you using the 3.0.x kernel instead of the 3.1.x kernel of the latest cm11?

Cheers ... Peedy

Sent from my A700 using Forum Fiend v1.3.
[Galaxy Ace II Android Development] ace2nutzer:
3.0.101 is the latest kernel version from TC.. and CM 11 ... ... ..
[Galaxy Ace II Android Development] Peedy2495:
Tnx, it's clear now ...

... because I was wondering about my latest cm11-build for my A700.

It came out with kernel 3.1.10+, so this one seems not to be mainline ...

So long ... Peedy

Sent from my A700 using Forum Fiend v1.3.
[Galaxy Ace II Android Development] ace2nutzer:
yeah.. can u pls tell me wich kernel u need, then i can upload an test_build later.. just to test if the NFS is working...

Tell me for ex.: codina ext4
[Galaxy Ace II Android Development] Peedy2495:
It's codina f2fs

Hasta ... Peedy

Sent from my A700 using Forum Fiend v1.3.
[Galaxy Ace II Android Development] datsoy:
@ pictures tried formatting internal/external to vfat..

at first try i can see and able to upload pictures. then after taking pictures with stock, tried to upload then but issue is still there. tried also factory resetting phone still the same.
[Galaxy Ace II Android Development] ace2nutzer:
Okay u Guys.. prepare yours sdcard for flashing new Kernel... i think i'll release it today :)

Next Version:

Re-calibrated CPU Voltages - Max Powersaving, Max. Stability on OC

VapeSEL2 / APE_50_OPP Voltage @ 0x18 for all cases (Display on/off, Audio with Display off etc) instead of AVS Based and Stock 0x22 for Audio @ screen OFF... (more stable, more powersave)

revert deepest sleep state @ 3 for now.. till the stability on OC is fully stable (check also in NT-APP)

reduced cpu frequency latency

enabled full zRam (full ram) with the new LZ4 compressor instead of LZO (more ram, faster and less power consumption) thanks [MENTION=3332811]faux123[/MENTION] for the Patch and thanks [MENTION=5695278]ChronoMonochrome[/MENTION] for merging on my GitHub

implemented NFS Network Filesystem

improvements in RAM Management

Better Multitasking and huge improvements in Gaming Performance

Reduced kernel size, now 629MB RAM available.. thanks [MENTION=3329816]mkaluza[/MENTION]

faster booting

disabled SELinux (not really needed) :)

Removed 600Mhz Step

Increasing min cpu freq @ 500Mhz for more responsiveness

re-calibrated interactive Governor

overall more speed and Smoothness

updated 01optimization File ..

Now "Real Racing 3" is working smooth :D

Tipps: Activate in performance settings under Memory management: "KSM" ... and disable "free resources"

Set also in NT-APP for GPU --> Mali pre-allocated_memory_size @ 32MB.
[Galaxy Ace II Android Development] heldix:
First: Thanks for all your work.

But i dont get Whatsapp to work with ART activated on ur version. Always "Ungültiges Paket". Even installing under Dalvik and switching to ART doesnt work. Deleting the folder in data/data doesnt help too.

Idd like to run my phone in ART mode because its all super smooth then. But just whatsapp does not work :( So i have to run it in dalvik...
[Galaxy Ace II Android Development] ace2nutzer:
No... it's Whatzapp issue under kitkat. U don't need to leave ART .. on boot if Wlan is activated then PLAY try to update Whatzapp.. but it failed actually.. u need to tap on whatzapp on the notification bar.. and then stop the update.. close all background apps.. and wait some seconds.. then Whatzapp should work.. i use it all the time at this way... just don't reboot the phone too often to avoid this annoying steps :)
[Galaxy Ace II Android Development] Tree4ever:
min cpu

Dear ace2nutzer,would it be possible to set the min cpu freq. more down,for example 100 Mhz?While I´m charging or when less is enough I would be more glad with lower values.Best regards and thankes for your work!!:good:
[Galaxy Ace II Android Development] datsoy:
EDIT/UPDATE

I only encounter pics. not showing in fb uploader using stock camera. after using 3rd party app. like 360 all pics now is displayed taken by it.
[Galaxy Ace II Android Development] rrodriguezm0:
Hi [MENTION=5840412]ace2nutzer[/MENTION]!!

And the build you were going to upload?

Did you find any problem? Or just that you don't have any time to spare?
[Galaxy Ace II Android Development] ace2nutzer:
Yeah, sorry Guys.. but i find unexpected some issues in RAM Management.. i'm working on it to fix it.

I hope i can it release in around 6 Hours.. I'm sorry.
[Galaxy Ace II Android Development] hiemz:
oke bro we will wait for your new build :o
[Galaxy Ace II Android Development] ace2nutzer:
New Build is Up !!

Changelog:

20150106:

Re-calibrated CPU Voltages - Max Powersaving, Max. Stability on OC

VapeSEL2 / APE_50_OPP Voltage @ 0x18 for all cases (Display on/off, Audio with Display off etc) instead of AVS Based and Stock 0x22 for Audio @ screen OFF... (more stable, more powersave)

revert deepest sleep state @ 3 for now.. till the stability on OC is fully fixed (check also in NT-APP)

reduced cpu frequency latency

enabled full zRam (full ram) with the new LZ4 compressor instead of LZO (more ram, faster and less power consumption) thanks [MENTION=3332811]faux123[/MENTION] for the Patch and thanks [MENTION=5695278]ChronoMonochrome[/MENTION] for merging on my GitHub

implemented NFS Network Filesystem

improvements in RAM Management

Better Multitasking and huge improvements in Gaming Performance

Now "Real Racing 3" is working smooth :D

Reduced kernel size, now 629MB RAM available.. thanks [MENTION=3329816]mkaluza[/MENTION]

faster booting

disabled SELinux (not really needed) :)

Removed CPU Steps: 400, 600Mhz and added 500Mhz Step

re-calibrated interactive Governor

overall more speed and Smoothness

Removed KSM again - not efficiently

Disable APEATCLK and APETRACECLK to save some power thanks [MENTION=5695278]ChronoMonochrome[/MENTION]

Updated 01optimization file with some new Kernel tweaks

Tipps:

For max. gaming performance set in NT-APP the mali_pre_allocated_memory_size_max @ 32MB

Enjoy this new Build Guys and report about all the changes :o ;)
[Galaxy Ace II Android Development] Mhac Oneil:
hi Ace2Nutzer

First of all Thanks for your hardwork in this kernel

how to install it ?

currently im using CM11 by Rox custom rom then when i go in your download link what should i download codina_kernel_cm11_20141220_f2fs_ace2nutzer.zip

OR

codina_kernel_cm11_20141220_ext4_ace2nutzer.zip

i dont know what is different between f2fs and ext4 or maybe should i use cm-11-20141118-UNOFFICIAL-codina_ext4.zip ?

thanks sorry im newbie in kernel
[Galaxy Ace II Android Development] ace2nutzer:
Hey.. no problem :)

wipe cache

wipe dalvik cache

flash 18/11

flash pico-uni-gapps

flash latest kernel

reboot

http://xda.mister-freeze.eu/XDA-fil...ina/cm-11-20141118-UNOFFICIAL-codina_ext4.zip

http://d-h.st/zeNF

http://xda.mister-freeze.eu/XDA-fil...dina_kernel_cm11_20150106_ext4_ace2nutzer.zip
[Galaxy Ace II Android Development] Samaramabezkol:
What I have to do after update from your previous kernel? Wipe cache will enough?
[Galaxy Ace II Android Development] shaqman89:
Normally you don't need to wipe a cache. Just install the new version, and use it.
[Galaxy Ace II Android Development] vaterfa:
i unticked this option but nothing is change
[Galaxy Ace II Android Development] :
Then try to update your ROM and kernel to latest version. My LCD driver is the same as you but no problem.
[Galaxy Ace II Android Development] vaterfa:
i already use lastest version, i'll try install stock rom given by ace2nutzer
[Galaxy Ace II Android Development] Qwertz010203:
Hello [MENTION=5840412]ace2nutzer[/MENTION]!

When is the new ROM and Kernel update coming?
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for the Report ! - I'll add an specific Config to the Chuck norris mode in next Update !

Not needed, just wait for update. or use in the meantime an working cwm backup.

Hmm that's quite strange ... as i said there is nothing wrong with it. So it's likely related how you change this Value.

How you are trying to change this Value ?

Which App ?

Kernel Version ?

Kernel Control Version ?

What about init.d scripts ?

I Remember: don't use CK Settings APK with A2N Kernel, because it's not compatible.
[Galaxy Ace II Android Development] ace2nutzer:
Can't say exactly, working on it. Fixing memory management config.
[Galaxy Ace II Android Development] Dagalur:
[MENTION=5840412]ace2nutzer[/MENTION] here, it's the P version fix for XXXX band (flashable version), i found this in a 2016 post from a user named [MENTION=1445274]r_e_n_e[/MENTION] , but i don't really know who is the "creator", anyway i just want you to do me this favor again (you did uploading the i8160l flashable fix and the 8160 XXXX baseband fix that i found on internet) ;)
[Galaxy Ace II Android Development] vaterfa:
[MENTION=5840412]ace2nutzer[/MENTION] thanks for reply man and also good rom, i'll wait next update
[Galaxy Ace II Android Development] :
I changed it using ROM Tools app.

Both kernel version and kernel control version are latest.

I only added init.d script from ultimate performance mod

I don't install CK Settings yet.

And about the swapiness, even changed it to 100, no cache or anything is moved to swap.

Memory status is here:

MemTotal: 645836 kB

MemFree: 8484 kB

Buffers: 1980 kB

Cached: 147864 kB

SwapCached: 0 kB

Active: 238960 kB

Inactive: 251996 kB

Active(anon): 165476 kB

Inactive(anon): 177660 kB

Active(file): 73484 kB

Inactive(file): 74336 kB

Unevictable: 1396 kB

Mlocked: 0 kB

SwapTotal: 322912 kB

SwapFree: 322888 kB

Dirty: 124 kB

Writeback: 0 kB

AnonPages: 342508 kB

Mapped: 82840 kB

Shmem: 628 kB

Slab: 28828 kB

SReclaimable: 9828 kB

SUnreclaim: 19000 kB

KernelStack: 7192 kB

PageTables: 12984 kB

NFS_Unstable: 0 kB

Bounce: 0 kB

WritebackTmp: 0 kB

CommitLimit: 645828 kB

Committed_AS: 25520880 kB

VmallocTotal: 1163264 kB

VmallocUsed: 53600 kB

VmallocChunk: 1029060 kB

[Updated problems]:

- Sometimes Xposed become crazy and make all the apps on the phone to FC until a restarting.

- Manually soft rebooting could cause radio to be stuck and not receiving any signals until a restart. (Rarely)
[Galaxy Ace II Android Development] fonzacus:
IDK whats causing the battery drain. the only thing i can think of is kernel suspendbackoff just doesnt want to die easily. is there some magic that can kill it if it misbehaves like another kernel wakelock?

its weird how im the only one with the issue. ive reflashed a few times already O.o
[Galaxy Ace II Android Development] ace2nutzer:
Don't use 3rd-party Apps for system configuration. This ROM and Kernel is very Device Specific !

Use only your own init.d script (if u know what u're doing) or easy way: use kernel control app built-in.

:good:

Post it here please.

U're using around 300mb zram .. which is quite high .. but still OK.

Almost no swap because of swappiness = 0 probably.

Anyway latest Kernel Control sets by default swappiness to 60. (only in play store for now)

Well, i can't say anything about xposed, there is only support that it works at all ... from ROM side.

So far i never installed it, really don't know what is the benefit of it. Maybe someone can teach me.

Whats a "Manually soft rebooting" ?

Checking Logs ....
[Galaxy Ace II Android Development] vaterfa:
i tested chrono kernel for screen problem, it fixed but this time o causes storage problems and slowness
[Galaxy Ace II Android Development] ace2nutzer:
@ up

But with my kernel the Recovery & offline-charging worked fine with your LCD ??
[Galaxy Ace II Android Development] vaterfa:
yes recovery and offline charge works very well
[Galaxy Ace II Android Development] ace2nutzer:
Ok, i've updated the Kernel App, so just flash again A2N kernel, then update the app from play store, then reboot the phone and check "Chuck Norris mode" ... (don't check "Tuned Freq").

Test and report if it fixed your Issue.
[Galaxy Ace II Android Development] ace2nutzer:
Checked logs, is this wakelock problem also happening if u use your phone without to install any app ? Of course except whatzapp.

Because i see there is a lot of Network traffic.

It seems that some apps are trying to download some data even with screen OFF.

That's why u see "suspend backoff" on kernel wakelocks section in BBS.

There is also some traffic from Google Play Store. - This is normal when the System is downloading Updates for your installed Apps.

Anyway it's possible that the System stays in wakelock because it's trying to download updates or some other data stuff ... and that wakelock will stay so long till everything is done. A Problem with it, also can happen if u don't have proper (and fast) internet connection and the system is trying to download data with screen OFF.

Another reason is if u've only Mobile data (no wifi). Because on Kitkat it's not possible to download data with screen OFF ... at least when WIFI is OFF. (with wifi there's no problem)

Anyway u can't probably download App updates with screen off at all ... but u'll be able to download i.e. an rom update with wifi with screen OFF. .... that works.

So, i suggest to manually update all apps at once with wifi ... then check how it goes with the deep sleep.

Try also to flash latest opengapps arm 4.4 pico.
[Galaxy Ace II Android Development] vaterfa:
ok i update app i'll try

---------- Post added at 06:28 PM ---------- Previous post was at 06:12 PM ----------

updated app and checked chuck norris mode rebooted, screen still have problem

---------- Post added at 06:30 PM ---------- Previous post was at 06:28 PM ----------

but this time after one try screen works properly, before update i must sleep and wake 4 or 5 times to work properly

---------- Post added at 06:36 PM ---------- Previous post was at 06:30 PM ----------

chuck mode's description says "lcd will be black around 10 sec" but my screen dont black
[Galaxy Ace II Android Development] ace2nutzer:
After u enter the sim pin, then wait approx. 20 seconds before u try to wake up.

Because after boot up, the kernel app will apply all settings.

Let me know if it works better or 100% ok.

We can still try a different config.

As for the description: it doesn't matter ! It can happen, but not must. No Problem.
[Galaxy Ace II Android Development] vaterfa:
[MENTION=5840412]ace2nutzer[/MENTION] i dont use pin but i'll wait after boot complete

---------- Post added at 10:26 PM ---------- Previous post was at 10:20 PM ----------

i waited almost 2 minute after boot complete bit nothing is changed
[Galaxy Ace II Android Development] leonardalps:
hey guys, do u know how to get the mobile data working....plsss help
[Galaxy Ace II Android Development] Przemas11:
Did you try to configure your APN settings?
[Galaxy Ace II Android Development] leonardalps:
yes......but still does not work
[Galaxy Ace II Android Development] :
Ok but now I don't have money for your kernel control app :( Now I am using pirate copy because no card to pay and cannot use SIM money to pay... Can you give me your app?

And about manually soft reboot, I did it by: holding power button, choose restart -> soft reboot
[Galaxy Ace II Android Development] ace2nutzer:
OK, so what's the problem now ??

My latest ROM don't have "Soft reboot" at all ... so u're using the wrong ROM, or u maybe forget to wipe data.

Do a clean installation.
[Galaxy Ace II Android Development] vaterfa:
[MENTION=5840412]ace2nutzer[/MENTION] problem is same; after pressing home or power button to wake up to device gray vertical lines showing up
[Galaxy Ace II Android Development] Dagalur:
check your baseband, if it's XXXX then check the misc folder on ace2nutzer's downloads, if you have i8160 or i8160l download and flash the 8160_MODEM.zip (you'll need to flash the i8160l support zip after if you're using L version) else if you have i8160p then flash 8160P_MODEM.zip :good:
[Galaxy Ace II Android Development] ace2nutzer:
Ok, try this:

- disable "tuned freq"

- enable "chuck norris mode"

- open terminal emulator and type:

(after every line press enter)

su

echo hbp=4 > /sys/devices/pri_lcd_ws2401.0/mcde_chnl

echo hfp=4 > /sys/devices/pri_lcd_ws2401.0/mcde_chnl

echo vfp=4 > /sys/devices/pri_lcd_ws2401.0/mcde_chnl

echo hsw=4 > /sys/devices/pri_lcd_ws2401.0/mcde_chnl

echo update > /sys/devices/pri_lcd_ws2401.0/mcde_chnl

use copy and paste.

then turn the screen off and see if it's ok.

u can also repeat above commands but with =6 instead =4 ... and test if it's still ok.

test also what's smoother .. then i'll update the app again.

above test is only temp. solution.
[Galaxy Ace II Android Development] Dagalur:
[MENTION=5840412]ace2nutzer[/MENTION] could you please upload this to misc?
[Galaxy Ace II Android Development] ace2nutzer:
@up

i'm busy, but i'll do it.
[Galaxy Ace II Android Development] vaterfa:
[MENTION=5840412]ace2nutzer[/MENTION] i tried 4 and 6, 6 look more smooth but i still got gray lines

---------- Post added at 02:19 PM ---------- Previous post was at 02:18 PM ----------

when i enter with 6 on after write echo update screen show direct gray lines
[Galaxy Ace II Android Development] Muhammed Suhail:
https://www.xda-developers.com/android-go-optimizes-android-o-to-run-on-low-end-devices/
[Galaxy Ace II Android Development] ace2nutzer:
so "4" works good know ??

If so, then u can test now which LCD Freq works best for u.

So which freq is the smoothest one?

Test Different Freqs:

echo 6 > /sys/kernel/mcde/lcd_clk

6 = default one

7 = higher

8 = more higher and so on ...

max is = 9

Start testing with "6" .. then test if it's smooth.

Be aware that some high freq, will result in black screen instantly.

Anyway u can revive it by setting again an lower freq ...

doing this job with ADB is the best thing u can do :)

Report your results, thanks !
[Galaxy Ace II Android Development] vaterfa:
after type echo update screen goes black and gray lines so i'm sure adb is works good, tried 6 and above but nothing looks like a changed
[Galaxy Ace II Android Development] ace2nutzer:
why u use the same Number for everything ?

lcd_clk and mcde_chnl are two different things.

use "4" for mcde_chnl

and then only test different numbers (from 6 to 9) for lcd_clk.

Test from 6 to 9 what is more smooth. (and report)

In a case the screen is always black, or gray lines, then set lcd_clk to "6" and update config with:

echo update > /sys/devices/pri_lcd_ws2401.0/mcde_chnl

If it's still not ok, then type:

reboot

;)
[Galaxy Ace II Android Development] vaterfa:
[MENTION=5840412]ace2nutzer[/MENTION] ok mate i'll try asap
[Galaxy Ace II Android Development] fonzacus:
if the drain persists, i might do a cm11 clean install without installing anything. is it possible the firmware (your one nf1) might be the cause? back then i used mg2 up until installing 323+426.

as for auto anything, i tend to disable everything as i prefer manual stuff. also greenify+donation tends to kill every user app with no problem. system apps are a different ptoblem.

i also have minimal apps installed. i prefer emails over IMs, and facebook, meh ill just use the browser. if the browser can do it, i dont need apps. im not cool at all XD

just installed pico opengapps again, its now at 45mb. 5/2it was at ~70mb. a few months back it was ~100mb. hopefully they fixed/removed some buggy stuff and im all ok now.

oh, and thanks for the support :D
[Galaxy Ace II Android Development] vaterfa:
used 4 for mode_chnl and use 6 to 9 for lcd_clk but still got a gray lines
[Galaxy Ace II Android Development] ace2nutzer:
i don't think so.

.

Yeah, that's ok, but be carefully what u disable ... there are so system relevant things that are really needed ... especially the whole stuff for gapps and play store .... don't touch them. - If u disable such services, then it's possible to have problems with deep sleep too.

I don't see there any problems. - U're using an custom ROM ... which is already very light and optimized.

There is really no needed to install 3rd-party apps for apparently optimizing more the system.

u'll likely only make it more buggy and worse than without it.

That's a good idea, the smaller the apps, the faster is the system of course.

Don't know what u mean ...

For myself i update gapps package every 3 months.

ok, thanks for all your tests ... it depends on screen quality ... but of course also on the driver.

Is it OK with stock 4.1.2 ROM using the default kernel (so without a2nkernel) ??
[Galaxy Ace II Android Development] vaterfa:
yes dont have a problem on stock rom also dont have any problem your rom with chrono kernel and resurection remix
[Galaxy Ace II Android Development] ace2nutzer:
ok, i'll try to adjust it ASAP
[Galaxy Ace II Android Development] :
The soft reboot settings is activated using Settings -> Developer settings -> Advanced reboot

Edit: My mistake. I added it by APM+ app

---------- Post added at 11:58 PM ---------- Previous post was at 11:48 PM ----------

More problems:

- After long time deep sleeping (like a night) without activating any network, if activate network then the phone will be pretty slow, have many freeze, the only resolve is emerency restart.

- I am not sure about undervolting, but I will test it
[Galaxy Ace II Android Development] fonzacus:
what do you suggest i do next? im going to do a clean install.

should i install gapps? usually im gappsless, but your kernel app is required for chuck norris mode.

can i uninstall some system apps?

-"- install some user apps?

should i avoid using battery savers?