yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
Well no problem ;) But are u really sure that APE/DDR 50% and input_boost_freq 400Mhz and resulting freq for GPU: 400/2= 200Mhz is enough for smoothness ? And only on high load everything @ 100% speed ?

At this way u'll use your Phone in most of time only in half Speed ...

I've tried this many times and it's just impossible thing to use the Phone with such low performance... i mean at least it isn't quite fast and smooth.

Even Stock JB Kernel gives more Speed, i think we should improve the speed instead to reduce it ... ;)

The Ace2 is an cheap, old, and low-end device ... it has no quadcore CPU, and it has no dual-core GPU with much speed, so that we can say: okay we can use the half speed because it's still fast and smooth ... and at this way the battery lifetime is improved. :cowboy:

btw: not to mention that we're using zRam ... because of missing RAM .. when the LZ4 compressor do his job, we need even more cpu speed ... and so on :)

But at the end, of course just matter of preference. :)
[Galaxy Ace II Android Development] ChronoMonochrome:
What are you talking about? I just noticed that DDR50 and APE50 are seldom used(with my settings/usage) :

DDR OPP 25: # 8049 in 8641954 ms 53%
DDR OPP 50: # 13455 in 1573726 ms 9%
DDR OPP 100: # 6203 in 6031183 ms 37%
-------------------------
APE OPP 25: # 7423 in 8482018 ms 52%
APE OPP 50: # 9577 in 1131629 ms 6%
APE OPP 100: # 7522 in 6689399 ms 41%

As you can see, total OPP50 usage is only 6-9% of all time. Most of APE25 time is spent in idle, when neither Mali/CPU/touchboost requires higher state. To answer on your question - yes, those settings are not best for performance, but UI is more-less smooth, mostly thanks to APE toochboost.

Have you tried using APE touchboost? It has considerable impact on UI smoothness, as I already mentioned.

Sorry, but... stock kernel is b***sh*t. It may provide good UI performance(again, only thanks to toochboost) - but never - as good battery life as it could be. Btw, stock kernel performance is beat by me with result as twice higher than stock, lol(according to antutu) xD And this simply means there are a lot of potential "source" of performance

, only some tuning is needed.
[Galaxy Ace II Android Development] ace2nutzer:
Yeah i mean this :)

What is IDLE? Screen ON but no load ? If yes, then u're using APE/DDR25% for screen on i'm right?

Nope, but sounds great :), maybe i'll try this when i've time ;)

:D :good:
[Galaxy Ace II Android Development] ChronoMonochrome:
Mostly when screen is OFF and partly when is ON. And yes, I use APE25/DDR25% with screen ON. It has, I believe, a minimal impact on performance, because APE100% can be enabled immediately when required.
[Galaxy Ace II Android Development] ace2nutzer:
Ah ok, for me it never worked properly .. it messed screen a bit and the playback runtime was much slower (not org. speed.. it's sometimes like in slowmotion xD)

So i decided to use it only for screen OFF.. so it can't mess anything.

btw: since i've tuned the dynamic gov. i never had again sound glitchtes during screen ON/OFF .. even with no OC ... but with "powersave" profile just a little bit.. but very low... because of only 600mhz for cpu.
[Galaxy Ace II Android Development] scream12:
Can i have a swap internal to external to flash?PLZZZZ

I need it
[Galaxy Ace II Android Development] greeceeeee:
go on novathor settings-->advanced-->swap storages
[Galaxy Ace II Android Development] Sylvinette:
I have problem with uploading video on Instagram, anyone?
[Galaxy Ace II Android Development] zizoumadrid:
Hi [MENTION=5840412]ace2nutzer[/MENTION] What is the deference between your cm11 version and [MENTION=5695278]ChronoMonochrome[/MENTION]

Version ?
[Galaxy Ace II Android Development] ChronoMonochrome:
@up, read changelogs of both builds.
[Galaxy Ace II Android Development] ace2nutzer:
Can u pls try chrono kernel if it'll work and post here ? - Thanks !

The same for non-receiving notifications... try chrono kernel and post here if there is a difference.

check my changelog for CM11 ROM's, it's not much ... and then the changelog from Chronomonochrome.....

CM sources are newer on Chronos one.. but i believe there is still no BLN Configuration Menu in the ROM itself.. this is the only reason for me to stay on older Build from Team Canjica .. because i need it. But actually due to the Security leak, it's better to use an ROM with closed leak .... this Rom here have no Fix for that leak.. If u still like to use it, just disable auto. download for MMS ... but may still dangerous when open an video on the browser ... dunno.
[Galaxy Ace II Android Development] ChronoMonochrome:
I have a strong feeling that BLN support in device tree was removed by TC.. But so far I haven't found such reverts in TC repos. If I'm wrong, then probably only CM could remove BLN, otherwise idk :confused:
[Galaxy Ace II Android Development] ace2nutzer:
Yeah it's really strange .. i can't understand why someone did it deleted.. because this is an essential like our fully working generic BLN Driver .. without both things it can never work.

i append here some screenshots how it should be ....
[Galaxy Ace II Android Development] nikolas1274:
I try to flash your cm11 with chronokernel, but the lag was too much that I could not use my device at all, so I revert to your kernel again without result

Στάλθηκε από το GT-I8160 μου χρησιμοποιώντας Tapatalk
[Galaxy Ace II Android Development] ace2nutzer:
Thanks anyway for trying !! Hmm but at this way i can't fix it .. so maybe someone else can make this test .. if the problem with notifications is kernel related ??

I suspect it's related to some disabled ipv6 options in defconfig ... but i'm not 100% sure.

Because i see in logs: "<7>p2p0: no IPv6 routers present"

What do u think [MENTION=5695278]ChronoMonochrome[/MENTION] ?

btw guys:

Thanks to ChronoMonochrome it's maybe possible to close that security leak in libstagefright.so by simple using that lib from latest CM11 from Chrono... but before i release new kernel build with that fix i need to test if it doesn't break other things ;)
[Galaxy Ace II Android Development] ChronoMonochrome:
Not sure if it's ipv6 related.. Some of apps may depend on net config options, which were disabled as well.
[Galaxy Ace II Android Development] matthias1976:
i got threema and whatsapp notification problem in chrono rom and kernel. since im on new ISP that uses ipV6 the problem is MUCH often.
[Galaxy Ace II Android Development] shaqman89:
Have you guys tried using push notification fixer from play store??

I also had notification for some apps (Facebook, Hangout and Tapatalk), but after I used that it works normally again .

Tried it on, both ChronoMonochrome's and ace's kernel, on ace's ROM.
[Galaxy Ace II Android Development] matthias1976:
for me pnf no change
[Galaxy Ace II Android Development] giginski:
i had second time problem with powersave mode, idk why and when but when i have been on powersave mode my phone didnt go on deep sleep. in nearly 4h eat all my battery. I need to check balanced mode.
[Galaxy Ace II Android Development] ace2nutzer:
@up

right now tested and works.. check your problem with BBS

Thanks guys for some information ...

i'll try to revert changes in ipv4 and 6 .. we'll see if that helps in next build.

btw: actually i'm working on NT-APP .. my question is: Somebody really need to change LCD Freq over NT-APP ?? or it's okay over init.d script ?

As tip: if everything works normally.. so no problems with the LCD .. like tearings or blackscreens or screenblinking, then it's not needed to change it .. because in kernel is already the best freq enabled for both LCD Drivers to make it really smooth and avoiding tearings ...
[Galaxy Ace II Android Development] Sylvinette:
I'm little bit dont understand how to install Chrono kernel, i tried to directly replace your kernel with chrono kernel, but my phone got stuck on ace 2 screen. So I restore my backup files, and Instagram keep won't let me upload videos. I have no idea.
[Galaxy Ace II Android Development] greeceeeee:
Do you have any problems charging your phone??It takes 3 hours at least to fully charge....
[Galaxy Ace II Android Development] ace2nutzer:
ask better [MENTION=5695278]ChronoMonochrome[/MENTION] ;)

dunno, which charger are u using ?? 3-rd party USB charger will only charge @ max. 600mA (not PC USB-port)

So if still have the org. charger then set in NT-APP charging current @ 700mA ;)
[Galaxy Ace II Android Development] ChronoMonochrome:
It was never supposed to be flashed that way... Just flash original kernel installer via recovery.
[Galaxy Ace II Android Development] Fabbb2:
After testing the kernel cm-11-20150610 with ace2nutzer.kernel.4.4.x_20150714, i had the following problems

- some black screens reappeared : 2-3/day

- the gps sometimes doesnt work (i have to reboot)

- the weather widget disappeared (so i installed chronus)

i haven't installed the last kernel, i was on holidays ;)
[Galaxy Ace II Android Development] ace2nutzer:
try latest CM11 + kernel

it's usually a bit useless to report bugs for old builds .. i'm working only on latest builds .... ;)

After that, try to explain on which situation the blackscreen appeared ..

example: i was using whatz app .. then i close the app, and i turned the screen off.

after 5 minutes i pressed the home button but the Phone doesn't wake up...

IT's also great to post logcat ... and if phone did an reboot.. post also last_kmsg too :)
[Galaxy Ace II Android Development] ace2nutzer:
Okay .. u + other guys with notification problems ... i've reverted all Networking Options to Stock JB Kernel.. so it's possible that all issues are fixed now :fingers-crossed:

Here is the Commit i did:

https://github.com/ace2nutzer/Samsung_STE_Kernel/commit/10bafc582f6eeda7bd64d2f4beb128c116a9750e

red = deleted lines

green = added lines

So if u want to try this, here is the Build:

ace2nutzer.kernel.4.4.x_20150802_codina.p.l.zip - 11.10 MB

Notes: only for default ext4 !
[Galaxy Ace II Android Development] Sylvinette:
Camera has stopped working.
[Galaxy Ace II Android Development] ace2nutzer:
@up

for me it's working .. try wipe cache + wipe data of the camera apk.
[Galaxy Ace II Android Development] greeceeeee:
I used the original charger and recharged fully two and a half hours approximately
[Galaxy Ace II Android Development] ace2nutzer:
Yeah, this is normal :)

btw: 700mA is just an suggestion in order to don't decrease its life for the 1500mA batt.

u can also charging @ 1500mA current .. nothing should happen if u'll use proper charger org. USB samsung charger with at least 1.5A output current... or simply charge on PC/Laptop with at least USB 2.0 Port and don't use the other USB Ports during charging if u want to charge @ max. current --> 1.5A ! But it's not recommended because charging at 1C ---> 1500mA batt. ---> 1500mA charging current ... will decrease the battery life (his capacity) after every charging at such full speed ! :)

Now for the super specialists:

Even if an noob try to charge @ 1500mA with the org. charger max. output curr. 700mA, nothing will happen because the driver detects Vbus drops and reduces the current automatically = all OK :highfive:
[Galaxy Ace II Android Development] PolishVodka:
ace2nutzer

I cannot understand why do you again changed

PRCMU_DPI_CLK_SMD_FREQ to 57051428.

I'm pretty sure this will causing black screen bug on S6D and probably WS drivers.

Better change it in yours mcdclk interface (and this is not the same, I know that).
[Galaxy Ace II Android Development] nikolas1274:
does anyone try it, because i am using vanir at the monment and i can not try it by myshelf
[Galaxy Ace II Android Development] Sylvinette:
Alright my camera is working now. But, I can't still upload videos to Instagram.

I have been using CM 11 from Chrono, and the result is I can upload videos to instagram, but after a few hours of use, I got a lot of FC-ing, and I wasn't too comfortable for daily use. (no offense)

So I returned to the CM 11 yours. Can you looking for this?
[Galaxy Ace II Android Development] ace2nutzer:
Because it didn't fixed tearing wholly with 50Mhz and tuned Video.modes .. so i reverted video modes to stock for WS2401 and use again 57Mhz .. this LCD only works correct at this way.

For S6D is tuned video.mode + 36Mhz the best setting i ever found ..

So they are running at different Clocks, it can't mess between both, so no chance for too high freq for S6D what can cause blackscreen of course.

I'm using here S6D, and so far never ever i got one Blackscreen not matter if Lockscreen or CWM.

But i'll implement changing LCD Freq over NT-APP ;)

Actually working on it:

https://github.com/ace2nutzer/android_packages_apps_DeviceSettings

It should work i hope ... i also fixed buggy binder driver thanks to Chrono .. and after reverting all networking options to stock .. all network errors on kmsg are finally gone and also no more binder crashes :o

Switching between CM11 from Chrono and mine requires wipe data if u're not an expert by using ADB :)

That don't help me a lot, it's better to install chrono kernel over my CM11 and test.

But before test with chrono kernel, just try this new kernel:

ace2nutzer.kernel.4.4.x_20150802_codina.p.l.zip - 11.10 MB
[Galaxy Ace II Android Development] Bito21:
Hello [MENTION=5840412]ace2nutzer[/MENTION],

Can you please put the change log for the new kernel?

Thank you
[Galaxy Ace II Android Development] ace2nutzer:
U can for now check the changes on github ... check date of last build, and now this latest build .. and check the commits from this dates ...

I've build it just for testing for the non-receiving notification issue for some users.. but probably it's same with next build.

As for changelog, i'm quite busy with NT-APP .. when i'm finish the App, then i'll make new CM11 build with new NT-APP + new Kernel and of course also an changelog.

I hope it's this week all done :fingers-crossed:
[Galaxy Ace II Android Development] Sylvinette:
I've tried that new kernel and still not work for IG.

I do clean install (flash stock) for switching between CM 11 from Chrono and yours. Btw, thanks for your work! :)

Maybe I should wait for your new build.
[Galaxy Ace II Android Development] Nargacuga-XDA:
OTG

Does this kernel support OTG?? I tried this kernel, actually using this kernel combined with ur CM11.. Tried the power over USB Vbus too, this realky works, this turn on mouse when i plugged that in, but not being detected by the phone.. Doest this mean this kernel and ur ROM not support it?? If yes, how can i make it works??
[Galaxy Ace II Android Development] shaqman89:
Our phone doesn't have the necessary hardware for otg to properly work. So, it's not kernel or ROM issue
[Galaxy Ace II Android Development] ace2nutzer:
okay okay just a little preview of the new NT-APP :o :D
[Galaxy Ace II Android Development] PolishVodka:
ace2nutzer

Do you know how to play with this values?

Samsung_STE_Kernel / drivers / video / mcde /

display-s6d27a1_dpi.c

DCS_CMD_S6D27A1_PGAMMACTL | DCS_CMD_S6D27A1_NGAMMACTL

Will be nice to make interface with some predefined setup of this values, like Black&White, Cold colors, Powerful colors etc. Something like that.
[Galaxy Ace II Android Development] ace2nutzer:
Hmm, i can try to implement this feature again .. if i remember me correctly, Rox or smthg else removed that gamma stuff completely ... even on kernel Source.. and dunno why .. maybe it was dangerous ? (but i don't think)

look, because i'm working on NT-Sources .. i've already found that:

https://github.com/TeamCanjica/andr...fd5c7f037b0eedd16d/res/values/arrays.xml#L194
[Galaxy Ace II Android Development] Nargacuga-XDA:
Tap2wake

Currently using ur cm11 last build with ur latest kernel (in the ftp). In the NT-APP in the screen section, i found there is ticker for tap2wake feature, so i check it.. But the tap2wake feature not even working.. How to enable this feature??
[Galaxy Ace II Android Development] PolishVodka:
This is for Galaxy Advanced and Rox removed this because he thinking that will help for bootanimations color banding (not exist on S6D, but on WS it is).

Of course this didn't help.

This colors feature wasn't never available for codina.

@UP this 2tap2wake was removed by ace2nutzer long time ago, because when is enabled than phone doesn't go to deepsleep (because touch driver must be active all the time). In Chrono kernel this feature still is and for me may be useful only while charging, to fast tap and show me actually percent level, because phone doesn't go to deepsleep when charging at all.

@ And one more thing.

Phone cannot be turned off when charging. I don't know, this is kernel 3.0 problem or bootloader, because only on Gingerbread we can shutdown phone while charging.. Maybe when coming function to shutdown system in kernel (but not when rebooting) phone should unmount /proc and /sys (or he did it actually?) to reset charging state? Or just phone should change this state in power_supply before shutdown and situation will be the same like when connected turned-off device...
[Galaxy Ace II Android Development] ChronoMonochrome:
Nope, I have seen commit in STE kernel source, which has introduced this behaviour:

https://github.com/ChronoMonochrome...mmit/8082cdf0d2be872144dba62d19bac818834560e8

So, this is kernel-related.
[Galaxy Ace II Android Development] ace2nutzer:
Okay thx for info... I never had color banding on WS2401 on bootanimation. or i understand it wrong ??

THX Chrono ! - Finally !! - I'll check this bad Code immediately ... very weird behaviour .. i always thought it's just hardware related :D
[Galaxy Ace II Android Development] ChronoMonochrome:
Hmm, I was never considering of this like a bug :) it's not bug, it's a feature
[Galaxy Ace II Android Development] ace2nutzer:
okay, but sounds not logically .. why it should reboot if the user want to poweroff ?? If we want an reboot, we can choose "reboot"..

So it should "reboot" to offline charging ....

but check this out:

https://github.com/ace2nutzer/Samsung_STE_Kernel/blob/3.0.101/drivers/mfd/ab8500-sysctrl.c#L65

the code say it'll reboot to LPM .. hmm so already ok.. but anyway the phone rebooting ... hmm..

and here:

https://github.com/ace2nutzer/Samsung_STE_Kernel/blob/3.0.101/drivers/mfd/ab8500-sysctrl.c#L93

it says reboot .. but CONFIG_BATTERY_SAMSUNG isn't enabled in kernel ...

but that sounds good .. maybe better to enable ?? i'll check what say the help text ... hmmm
[Galaxy Ace II Android Development] ChronoMonochrome:
But what if we want a reboot to the system? So that, normal reboot just reboots to a system and poweroff reboots to an offline charging. Anyway, it's just a polemic.

It's not enabled, because it requires CONFIG_CHARGER_AB8500/CONFIG_FUELGAUGE_AB8500 to be enabled(hence, some analogic options in drivers/power should be disabled). Personally I tried to enable it, but had compile errors, after resolving whose I had some issues with charger, so I didn't mess with it anymore.
[Galaxy Ace II Android Development] ace2nutzer:
[MENTION=4881398]PolishVodka[/MENTION] [MENTION=5695278]ChronoMonochrome[/MENTION] @ all

I've build a kernel with all OTG + USB Drivers enabled ... maybe works :fingers-crossed:

Test it with CAUTION .. i didn't test it yet.

btw: it *should* nothing happen because i didn't manipulate the USB Host Driver at all..

Max. Current for OTG is 500mA

Use this kernel ONLY for TESTING the OTG feature ... don't use it for daily usage.

For newbies: after flashing this kernel, connect an OTG Device after the Phone in booted completely .. and then enable the OTG (Vbus) in NovaThor App :)

If the Phone can detected the Device, or u can use the device properly with the phone, then it's working.

Anyway pls report if works or not :fingers-crossed:

Download:

ace2nutzer.kernel.4.4.x_OTG_TEST_codina.p.l.zip - 11.23 MB

Commit:

https://github.com/ace2nutzer/Samsung_STE_Kernel/commit/0d06895c44ffa540a1451a27c698d1e56c847190
[Galaxy Ace II Android Development] Nargacuga-XDA:
OTG

No luck dude, tried the new otg kernel with ur cm11.. Do as what you tell for newbie.. Just doin an dirty install (wipe cache n dalvik only) for this new kernel.. Any instruction?

Edit : Mouse got turned on, but no detect (just like before), flash disk nothing happen..
[Galaxy Ace II Android Development] PolishVodka:
For me is logical how this was work on Gingerbread and isn't how its work now.

1.When my phone is turned off and I connected to the charger, so I expect it will be charging in lpm.

2. When its in LPM and I'll push power button, so now phone should power on to system.

3. When phone is normally on system like always and has connected charger, so I wanna nothing more, just charging.

4. But even if charger is connected and phone is on, I sometimes wanna to shutdown him, so why phone do reboot? We must unplugs for moment charger and now turns off phone, its not logical for me.

5. When system is on and charger connected, reboot system option should do the same like now - reboot system.

Of course its not a problem, we now this is even on official stock JB kernel, but if will be a possibility to fix it, this will be nice I think.
[Galaxy Ace II Android Development] ace2nutzer:
exactly what i mean.. it's 100% stupid bug, not nice or at least useful feature ! :o
[Galaxy Ace II Android Development] ace2nutzer:
Thx for testing ! I think on kernel side it's detected, but the ROM don't have OTG Support.

[MENTION=4881398]PolishVodka[/MENTION]

Any ideas ??

An quick search... i've found this very interesting articles .. how to enable missed OTG .... as u can see it can even working if the Phone is NOT able to provide the 5V on the USB Output ... because of an special USB Cable with external power supply to give the 5V... BUT it looks like our Phone don't have this Problem, because the Devices turns ON. so WTH ? :D

Check this: (sorry is german, so maybe use google translate)

http://www.giga.de/smartphones/nexus-4/tipps/nexus-4-usb-on-the-go-usb-otg-nachruesten-so-geht-s/

then this: (english)

http://xdaforums.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
[Galaxy Ace II Android Development] ace2nutzer:
New Kernel + Patch are Up !!

Changelog:

20150806:

Charger: decreased time duration a bit from 99% to 100%

Binder driver: Fixed crashes

Networking options: Reset to Stock JB

Mali: Use max 32MiB RAM by default

MCDE: Add LCD Type detection - thx @ Chrono....

defconfig: little optimization

Clean Build

Patch1 for CM11: 20150714

Fixed StageFright leak - thx @ Chrono....

Updated Javacore + javacrypto - thx @ Chrono....

Download Kernel:

http://xda.mister-freeze.eu/XDA-fil...e2nutzer.kernel.4.4.x_20150806_codina.p.l.zip

Download Patch:

patch1_for_cm11_20150714.zip - 786.65 KB

Notes:

Pls test USB OTG .. test one time without enabled OTG Vbus in NT-APP and one time with enabled OTG VBus .. and report if it works or not.

btw: Updated NT-APP in next 24h online :D
[Galaxy Ace II Android Development] PolishVodka:
I know about this workaround for Nexus phones, but even I don't have that's cable. And our board can output voltage to USB, so this shouldn't be useful for us (maybe for connection between phone and HDD when bigger power is necessary).

For USB mouses support shouldn't be anything special on ROM side required, only for pendrive should be mount point to musb-hdrc (in vold /fstab/and framework as I know).

Maybe I'll back to stock JB, make your kernel for it and test this OTG, I'm almost sure official firmware support on system side OTG.
[Galaxy Ace II Android Development] frittentheke:
So the patch fixes all Stagefright issues mentioned here https://plus.google.com/+CyanogenMod/posts/7iuX21Tz7n8 ?

Thanks so much for keeping my GFs phone alive.