yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] zipperX:
use terminal emulator and type

echo min=100000 > /sys/kernel/cpufreq/screenoff_cpufreq_limits
echo max=400000 > /sys/kernel/cpufreq/screenoff_cpufreq_limits
echo on > /sys/kernel/cpufreq/screenoff_cpufreq_limits
[Galaxy Ace II Android Development] HCDanny24:
Can´t create ---> permission denied:confused:
[Galaxy Ace II Android Development] BlueZ-:
Tipe su before

Inviato dal mio GT-I8160 utilizzando Tapatalk
[Galaxy Ace II Android Development] riyosakura:
have anyone tried falcon pro? I got error when getting account list...so that i cant add multiple account...

i dont know it is kernel related (f2fs) or not..

but i tried before on cm11 stock kernel, it work flawless....

wipe data will be my last resort...i need some report if it is ROM related or kernel related issue...

I'm using Liquid Smooth though....i just wanted to know if maybe this is ROM related...
[Galaxy Ace II Android Development] sleepless9:
Maybe I found a workaround for the clock problems that occur when using a 4.4.4 rom with this kernel. In settings I disabled both the automatic date and time, and automatic timezone from network. The alarm rang on time yesterday and today morning, and all my calendar reminders were also on time during the day.

Maybe it was coincidental, so please test it yourselves too and post if it worked for you. If this really fixes it, it seems the problem lies with NITZ and maybe RTC suspend/resume.
[Galaxy Ace II Android Development] BlueZ-:
I tested it some days ago but clock had stopped the same

Inviato dal mio GT-I8160 utilizzando Tapatalk
[Galaxy Ace II Android Development] farru1981:
Hey Chrono, what do you think about this?

http://xdaforums.com/google-nexus-5/general/mod-dalvik-bionic-library-optimization-t2537299

It would be awesome to have it.

Regards,
[Galaxy Ace II Android Development] ace2nutzer:
I think it's not needed because we have good working ART :laugh: Wich is smoother and needs less Battery power :good:
[Galaxy Ace II Android Development] farru1981:
Yes, you are right, but not all apps are compatible with ART :(
[Galaxy Ace II Android Development] ace2nutzer:
Yes of course.. that's right too.. hmm .. i don't have for luck such apps ...
[Galaxy Ace II Android Development] fluffi444:
Yes - this is an know issue on CM11 and ACE2 and S3 mini (same hardware). And you mentioned one of the possible workarounds. But its not Chronos Kernel fault.
[Galaxy Ace II Android Development] sleepless9:
I know that. But since I never had this problem with the stock CM11 kernel, it's probably a kernel+rom combination that causes it. I'm just trying to find a solution because I like this kernel and don't want to revert. Anyway, it seems that this workaround worked fine for me so I won't bother anymore for the time being :cool:
[Galaxy Ace II Android Development] ace2nutzer:
Try to use this Kernel with other /lib/modules... just an idea.. (from Stock TC CM11 Kernel..)

I don't know, if it works or no.. because i never had this Clock Bug.
[Galaxy Ace II Android Development] ChronoMonochrome:
I'm not familiar with android libraries compiling. Moreover, those optimizations for Qualcomm, I'm not sure it'll work on Novathor as it should. Maybe we can do something similar, but I'm almost know nothing about this.
[Galaxy Ace II Android Development] xkvegans:
I got this when trying to set min/max CPU freq for screen off :

su
echo min=100000 > /sys/kernel/cpufreq/screenoff_cpufreq_limits
echo max=400000 > /sys/kernel/cpufreq/screenoff_cpufreq_limits
echo on > /sys/kernel/cpufreq/screenoff_cpufreq_limits

[COLOR="Red"]u0_a43@codina: / $ su
root@codina: / # echo min=100000 > /sys/kernel/cpufreq/screenoff_cpufreq_limits
echo min=100000 > /sys/kernel/cpufreq/screenoff_cpufreq_limits
<
sh: can't create /sys/kernel/cpufreq/screenoff_cpufreq_limits: No such file or directory[/COLOR]

And got this when trying to enable 2Tap2Wake :

su
chown -R system:system /sys/kernel/bt404/
chmod -R 644 /sys/kernel/bt404/

[COLOR="Red"]u0_a43@codina: / $ su
root@codina: / # chown -R system:system /sys/kernel/bt404/
No such user '-R'[/COLOR]
[Galaxy Ace II Android Development] ace2nutzer:
Try without the both -R

But i think u have the wrong kernel without this Files in kernel .....
[Galaxy Ace II Android Development] xkvegans:
wrong kernel?

what's kernel should I use for this case?
[Galaxy Ace II Android Development] ChronoMonochrome:
It seems busybox cannot recursively change owner. Try this:

chown system:system /sys/kernel/bt404/doubletap2wake
chown system:system /sys/kernel/bt404/swipe2wake
[Galaxy Ace II Android Development] xkvegans:
now it's working,

but sometime on idle/sleep/screen off for a view minute then I wanted to wake by doubletap2wake or by pressed power/home button , touch screen doesn't work cannot swipe a lock ring or tap a clock, and I must hold a power button until the device is rebooting.

and one more

data traffic monitor from gravitybox and data traffic icon signal on status bar not working, it's just showing 0B/s and not showing up and down icon moving on signal status.
[Galaxy Ace II Android Development] ace2nutzer:
This is an known Issue.. perhaps one day [MENTION=5604178]zwliew[/MENTION] will fix this ?

The same with sweeptowake.
[Galaxy Ace II Android Development] vacziferi:
Hello

on TC cm10.2 with your kernel (1.3) I faced tearing when scrolling. It not happened in normal TC kernel.

Can I do something to eliminate this issue?
[Galaxy Ace II Android Development] ChronoMonochrome:
Install r1.3.3.
[Galaxy Ace II Android Development] vacziferi:
Thanks, it solved! :victory:

I did not realized that version on google drive
[Galaxy Ace II Android Development] S.AMU:
Thus kernel supports zram. Is there also an option to change settings of zram (via terminal, for example the size)?

Does this kernel also support a swap file on the external SD card? Would be great :)
[Galaxy Ace II Android Development] crisis_trustee:
Could I install your ext4 or f2fs kernels on ROMs from CristalPA?

And if I can install your kernals, what kernal is better ext4 or f2fs for this ROM?
[Galaxy Ace II Android Development] ChronoMonochrome:
This is a difficult question to answer it clearly. In my opinion, f2fs better than ext4. Use the searcher to decide whether you need f2fs.
[Galaxy Ace II Android Development] fluffi444:
Hey [MENTION=5695278]ChronoMonochrome[/MENTION] could you please check this last_kmsg. Had an sudden reboot while on Tapatalk. Looks like an panic...
[Galaxy Ace II Android Development] MrBlackCore:
About zram

Could one of you senior dudes give us a quick tutorial how to use zram with this kernel? Thank u very much
[Galaxy Ace II Android Development] ace2nutzer:
look post #813 here ....

But IMHO i think F2FS + ART + Good LMK and NO ZRAM and NO SWAP, will make the UI Smoother and less power usage.. beacause of no compression as Chrono said...
[Galaxy Ace II Android Development] ChronoMonochrome:
May relate to LiveOPP. I'll look into this later.

UPD. probably this can solve problem

https://github.com/cocafe/i9070_kernel_CoCore-E/commit/17487a2328bde03b671044f5d5be4866ff9b5972

I believe, zRam will not slow down the system. Especially because in backport zRam by faux123 is used LZ4 (faster compression). But it won't slow down UI anyway(just too large zRam block size can cause lags ).
[Galaxy Ace II Android Development] MrBlackCore:
Yes dude, I can see the post, but every time I try that I get the same error " swapon failed for /dev/block/zram0" and I am sure that I am doing something wrong, thats why I need a bit more than whats in the post. :)
[Galaxy Ace II Android Development] ChronoMonochrome:
I forgot to mention, this won't work on 4.4.x ROMs. Because zRam enabled by default on this ROMs and there is no option to disable it to be able set another size for zRam.
[Galaxy Ace II Android Development] MrBlackCore:
oh... sooo Im using 4.4.4 by TC with your 1.3 rom. Is there another way to swap or Im stuck with 626 ram?
[Galaxy Ace II Android Development] ChronoMonochrome:
R1.5

New version is UP!

Everything should work fine on this build :)
[Galaxy Ace II Android Development] d4v_lnks:
i hope you build with CWM recovery for 4.1.2
[Galaxy Ace II Android Development] xkvegans:
in my case this configuration will back to default if I rebooting the device,

and I must reconfigure :rolleyes:

default blinking (ondelay | offdelay) BLN is so fast, then it will make battery drain so fast too.
[Galaxy Ace II Android Development] sorset:
Tank you , reboot problem and CM loop and iare fixed , but I think that still it has battery drain and tun.TAP module is not loaded :(

I tried to load this module but I got "insmod: init_module 'vpnclient.ko' failed (Exec format error)"
[Galaxy Ace II Android Development] ChronoMonochrome:
depending on how often and on which settings you use the phone ... in the previous version of the kernel fast discharge phone was caused by permanent writing (in 80 (!) times more than usual) errors to kmsg log. Since then, I fixed all errors in the file systems, it now should not be.

Vpnclient.ko is not supported by Linux kernel versions > 3.1.10.

https://github.com/chronomonochrome...next/drivers/interceptor/linux_versions.h#L32
[Galaxy Ace II Android Development] manthes:
Can we expect a twrp build for 4.2?
[Galaxy Ace II Android Development] ChronoMonochrome:
Sorry I forgot to build it for 4.2. Maybe later, because I did few untested changes which can cause random reboots.
[Galaxy Ace II Android Development] gRaB@:
4.4.X version work ok until now :) Thanx
[Galaxy Ace II Android Development] teogepe:
[MENTION=5695278]ChronoMonochrome[/MENTION]

On 4.1.2 build r.5 cwm doesnt boot and actually it has twrp instead cwm...

I havent tested yet twrp ext4 r.5 build.

Hope you could check on that...

Thanks
[Galaxy Ace II Android Development] ChronoMonochrome:
My bad. Probably it's actually not for 4.1. I'll rebuild it when I will have free time.
[Galaxy Ace II Android Development] crisis_trustee:
ChronoMonochrome, thank you for your new kernel (r1.5)!. Good job!
[Galaxy Ace II Android Development] sorset:
I'm not sure about battery drain. I need more time to test. I hope that it is fully fixed

Thank you again.

You are right. But tun.TAP moudule is loaded in Release 1.3 and earlier with linux 3.1.10 and openvpn is fully working!
[Galaxy Ace II Android Development] ace2nutzer:
Ok Chrono. it's your Opinion ;)

My Opinion:

if Zram even with LZ4, would be better than normal RAM usage, then it should be better with completely full Zram usage ... but it isn't :highfive:

When i type in term. emu.: "free" i see swap with 102396 ... and actually used: 49080 and buffers: free: 11380.

Mem free: 9780

Is this "swap" the Zram ??!!
[Galaxy Ace II Android Development] ChronoMonochrome:
Not quite so.

"swap" shows the sum of sizes all swap partitions/files. Typically, this value usually coincides with zRam.
[Galaxy Ace II Android Development] lars85destroyer:
Bootloop with 1.5 -> gt-I8160P cm11 Rox
[Galaxy Ace II Android Development] MarquesYOLO:
Reboot with 1050 mhz, reboot with 1000 mhz, now with 800, no reboots for the moment. CM11 teamcanjica codina.
[Galaxy Ace II Android Development] ChronoMonochrome:
On which kernel version (F2FS, EXT4)?

This happens only on R1.5?
[Galaxy Ace II Android Development] lars85destroyer:
F2FS, wiped data but still having the bootloop. And pressing the power button made my phone vibrate several times, that was strange
[Galaxy Ace II Android Development] MarquesYOLO:
Yes, i used last version and i didn't have reboots with 1000 mhz, i didn't test 1050.
[Galaxy Ace II Android Development] ChronoMonochrome:
Maybe I broke something in ramdisk. I'll recompile it later.
[Galaxy Ace II Android Development] ChronoMonochrome:
last_kmsg please.
[Galaxy Ace II Android Development] ace2nutzer:
Thanks.. i meant that :good: So we have 100MB ZRAM on Stock Kernel... TC CM11 Right ?
[Galaxy Ace II Android Development] MarquesYOLO:
I don't know how attach files in tapatalk.

https://www.dropbox.com/s/xs943g60x5ovwwu/last_kmsg.txt?dl=0
[Galaxy Ace II Android Development] ChronoMonochrome:
Probably 100 Mb. But I don't remember exactly, since I don't use CM11.

This may be unrelated to OC. Probably it's SLAB bug, but I a long time not faced it.
[Galaxy Ace II Android Development] axljohn:
[MENTION=5695278]ChronoMonochrome[/MENTION] Hi. Can we expect cwm on ext4 r1.5?
[Galaxy Ace II Android Development] fluffi444:
Same here. Thanks god that i had a full Backup.

Saw only CM bootlogo. Phone did not boot completely.

R1.5 F2FS 8160P
[Galaxy Ace II Android Development] BlueZ-:
It's weird...after the installation of the latest kernel (1.5 twrp ext4) the option data usage in settings is disappeared..

Inviato dal mio GT-I8160 utilizzando Tapatalk
[Galaxy Ace II Android Development] SolGarlic:
Just checked. The same happened to me...
[Galaxy Ace II Android Development] dv6661:
thetering still not working :silly:

anyway thanks for good update:good:
[Galaxy Ace II Android Development] shanti77:
Where is kernel 1.5 for 4.2.X (I use MIUI)?
[Galaxy Ace II Android Development] farru1981:
On Cm10.2 the r1.5 f2fs release it's working very well.

It seems to be faster than 1.3.3 f2fs release.

Regards,
[Galaxy Ace II Android Development] arroyo:
I also confirm, that kernel 1.5 f2fs for 10.2 is smoothest kernel I have tested on Ace 2 so far. No issues found.

Excellent work ChronoMonochrome!
[Galaxy Ace II Android Development] BlueZ-:
Anyone else having this problem?

Inviato dal mio GT-I8160 utilizzando Tapatalk
[Galaxy Ace II Android Development] lars85destroyer:
New problem ! I don't know if it's related but I think so because now, after trying to install 1.5 and failed, my cpu frequency is bugged ! With all gov, it always stays at 800 and never go under ! And that happens only from this failed installation ..

Rox Cm11, original kernel, gt-I8160P
[Galaxy Ace II Android Development] Nathanabrahams:
look look look look look all day stayed a 77% slowly dropped ?
[Galaxy Ace II Android Development] MrBlackCore:
I dont know what to do anymore.... All those roms and kernels that I have installed on my ace 2 are not working as they have to. Im thinking about buying a new phone.

Im using TC rom with 1.5 chrono kernel and its horrible.... Absurd battery drain, screen sometimes wont turn off after that wont turn on...., I cant connet my phone to my laptop no matter what I do, constant freezes and random reboots. the worst part is that my memory usage is 89% with only viber and facebook running.

not blaming anyone, just saying that ace 2 obviously isnt made for new android versions.
[Galaxy Ace II Android Development] ace2nutzer:
Nope, absoulutely wrong -.-

Try wipe cache,

wipe dalvik,

format system..

Flash latest CM 11 rom TC

flash PICO GAPPS

reboot and all is fine..

then leave it so for 2 Days.. if everything is OK.. u can try to Flash the Chrono Kernel ...

Believe me that's your fault ;)

If u get anyway random reboots.. then set CPU Min. 200 and max. 800Mhz. then is MUST running STABLE.

IF NOT, this is probably an incopatibility with the S6D Display driver... that is bad luck
[Galaxy Ace II Android Development] BlueZ-:
Otherwise try AOSP 4.4.4 and you can forget about low memory
[Galaxy Ace II Android Development] MrBlackCore:
I did all those thing like 10 times this month. Total sd card format, clean rom install, clean rom + kernel install, setting freq to what the OP says, with the exact same Gapps u told me, wiping cache and dalvik + im using SDmaid pro ect... Its still horrible and sometimes unusable. I remember the other day I waited like 3 min for the dialer to respond and thats just the start of it...
[Galaxy Ace II Android Development] lars85destroyer:
I don't know how you manage your device, but you're doing something wrong .. I'm using the same setup, and I always have at least 150-200mb free, and lags doesn't exist. Maybe it's just your hardware that is dying anyway, because a friend who had a s3 with some "broken parts" inside the hardware had issues like you, and after SAV it was running like a charm.

(Sorry for my bad english)
[Galaxy Ace II Android Development] MrBlackCore:
I dont know what do u mean by "manage " but I never drop the phone and I have only facebook, viber and whatsapp installed. Even then my memory usage is over 85% and its lagging like hell + its freezing and it needs restart. Maybe its just dying like u said. Its a 3 year old phone.
[Galaxy Ace II Android Development] BlueZ-:
3 years...yeah it's quite old!
[Galaxy Ace II Android Development] ace2nutzer:
Yeah it's possible...

Even i can suggest to don't use apps that kills processes... like Greenify or task killer ....

And it is fully normal on Android (Linux) when RAM is always full.. that is called CACHE .... u will NEVER have not enough RAM.. Android manage that all for u.

The Worse thing is when RAM is always only 50% used.. then something is wrong and Android won't work efficiently.
[Galaxy Ace II Android Development] MrBlackCore:
oops its 2 years old. just cheked.

I dont use greenify task killer clean master and other process killing apps., only SDmaid paid version and rootbrowser. Btw right now, Im looking at the cached processes and I have 1.3mb free.
[Galaxy Ace II Android Development] ace2nutzer:
Okay.. plz type in term emu.: free and post screenshot here
[Galaxy Ace II Android Development] ace2nutzer:
Thanks... Everything is right ! U have actually 19.6 MB free.

That "swap" is meaning the 100 MB zRam...

What have u for a Baseband ??
[Galaxy Ace II Android Development] MrBlackCore:
yeah.. after i restarted the phone its 19mb..

Baseband is I8160XXMK2
[Galaxy Ace II Android Development] ace2nutzer:
it's okay .. but not newest.. the latest baseband is: NB1

Yeah, it's even normal ... is on my ace 2 the same with the RAM.. but works like a charm.

Google about: Android OOM and LMK

OOM = Out of Memory

LMK = Low Memory Killer
[Galaxy Ace II Android Development] MrBlackCore:
U got me with the baseband update. i have never updated the baseband and I dont really know how to do it! I thought it came with the rom or kernel updates...

Thanks anyways... Im gonna google this baseband thingy and try to update it.
[Galaxy Ace II Android Development] ace2nutzer:
U need to flash this with Odin...:

http://d-h.st/Jze

The NB1:

http://terafile.co/27528c734581

Make before flashing the NB1 wipe data.. and before flashing CM 11 again wipe data first and Dalvik !!
[Galaxy Ace II Android Development] nikolas1274:
I confirm, there is no data usage at settings any more. And if you hold down the data toggle, it try to open the data usage menu but it force close

CM11 r1.5 TWRP version

Sorry for my english
[Galaxy Ace II Android Development] Eselter:
+1

CM10.2 KERNEL 1.5 ext4 TWRP
[Galaxy Ace II Android Development] shanti77:
Where is kernel 1.5 for android 4.2.x ????
[Galaxy Ace II Android Development] Andrewbons:
Kernel 1.5

Tethering is not working (USB and WiFi), other things seems to be good to me, but i need to go back to 1.3 because i need tethering
[Galaxy Ace II Android Development] ChronoMonochrome:
Sorry, it's very likely I broke it with update to 3.2.9. This does not mean that it is a bug 3.2.9, just obviously I made something wrong when I applied incremental patches.

Maybe.. anyway I need to fix tethering first.

Sorry guys, probably it's not for i8160p :| worst thing that I recompiled kernel before I released it (I just noticed too big difference between sizes of kernels with f2fs and ext4, but after recompiling still faced it) .

I'll recheck initramfs scripts.

Glad to hear :)
[Galaxy Ace II Android Development] mrrebellex:
Work this kernek with miui rom

---------- Post added at 04:41 PM ---------- Previous post was at 04:33 PM ----------

.
[Galaxy Ace II Android Development] fluffi444:
Why? Which functions are missing in TWRP? Please explain...
[Galaxy Ace II Android Development] shaqman89:
He is saying to use the TWRP version since feature wise it is comparable. And yes, I remember we could flash TWRP from CWM.
[Galaxy Ace II Android Development] Kiras_PL:
but for example, version 1.5 codina TWRP EXT4 does not work on my phone ;) recovery is not replaced with TWRP but with old CWM ;) Had Somebody this problem ?
[Galaxy Ace II Android Development] Bilgets:
I didnt test recovery yet, but I do notice that signal receptiom is not as good as 1.3
[Galaxy Ace II Android Development] judas1977:
Dzeeez. Did you read my answer on FACPL?
[Galaxy Ace II Android Development] fluffi444:
Sorry - But I really dont understand what you are asking about.

This could be the reason, because you don't know exactly what CWM or TWRP as well as CM are...

Many people still mixing CM and CWM...

Please read here:

http://en.wikipedia.org/wiki/TWRP

http://en.wikipedia.org/wiki/ClockworkMod

http://en.wikipedia.org/wiki/CyanogenMod

You can use CWM on TWRP with the flashable CWM Version for Ace 2. But I don't know if there is a flashable ZIP for TWRP that works for ACE 2 . Never tested....

EDIT

If ask if its possible to flash the Kernel with TWRP inside via your currenty installed Kernel with CWM Recovery - Then: YES :)
[Galaxy Ace II Android Development] axljohn:
Different people have different wants and needs. For some they want f2fs, some prefer ext4. Some want TWRP, while others want plain CWM. That's why I was asking OP if we can expect an ext4 CWM kernel. I may be the same as the guy above you. But that's just me.
[Galaxy Ace II Android Development] crisis_trustee:
ChronoMonochrome, your last f2fs kernel is the best!

Thank you very much!
[Galaxy Ace II Android Development] fluffi444:
Clock Bug....

Maybe I found something (very simple) that prevents the clock from freeze.

I switched from DeepSleep 4 to DeepSleep 3 (Standard)

No freeze the whole day... Normally I got two or more untill now....

But I used the following "special settings" (Maybe worth to mention...)

Clock update via GSM: deactivated (both options)

cLock App: freezed in app settings

We should now try standard settings (with Clock update via GSM ON and cLock ruinning) with DeepSleep 3....

Will report...
[Galaxy Ace II Android Development] MrBlackCore:
Dude, thanks, but I cant download the NB1 file from the site u give me. Could you please give me a mirror or something?
[Galaxy Ace II Android Development] sleepless9:
I never used deep sleep above 3 but had this problem too after flashing the kernel. I only disabled gsm clock sync and the issue went away. It's been a week already so I safely assume that it is fixed. I believe the rest (deep sleep level and cLock) are irrelevant.
[Galaxy Ace II Android Development] fluffi444:
I had the clock bug also with gsm sync off... Happens mainly when mobile data (or wifi also of course) was unavailable or bad signal...

Strange thing was that the alarm clock was OK but the clock of quick settings gone wrong everytime...

However - I thing its still worth a try to set GSM sync ON and DeepSleep to 3... Maybe I wrong or maybe I'm right...

The only way to prove it if someone makes the same experience (or not)

Up to now I test cLock ON, deep sleep 3 and GSM sync ON.... For sure this will take some days to prove :laugh:
[Galaxy Ace II Android Development] ChronoMonochrome:
Updated to R1.5.1.

Changelog:

- update from TC kernel

- enabled SELinux (was disabled in r1.5 for testing)

- ARM: 7006/1: Migrate to asm-generic wrapper support

( actually this commit https://github.com/ChronoMonochrome/Chrono_Kernel/commit/4aa0a7049717d1fd9d8f292f003cca1aa3baa5e3. I know, these changes in ASM were claimed as rebootful, but no reboots for me till now)

- added jRCU (thanks to cocafe)

Bugfixes

- reverted to LK 3.2.0

- fixed disappeared data usage monitor and probably data arrows also

- fixed wifi/usb tethering - hopefully, need tests

- fixed incorrect display of RAM occupied by some applications

Build for codinap will be soon.
[Galaxy Ace II Android Development] ace2nutzer:
Click at the Bottom of: Regular !! Don't click at the green: start download !
[Galaxy Ace II Android Development] dv6661:
Report

good update with good changelog, many thanks man !

tethering = WORKING !!! :good: