yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] p_d:
+1 to the GPS-Bug

+1 to the GPS-Bug.

GPS-related Apps produce a lot of lag and sometimes stop working.

I came from 0302 to try current kernel, but again way more lags - so I switched back to 0302

Thank you Nutzer for this kernel :)
[Galaxy Ace II Android Development] gepel:
[MENTION=389932]Ace2[/MENTION]nuntzer , well is it safe to boost the lcd @27Mhz ? Im asking this because as i see , you have changed your display...
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for Report Guys! Unfortunately i don't use the GPS very often.. or better very rare... that's why i never faced this Bug.

In last time i've deactivated many things in the kernel config to make a lite kernel, minimal config .. and so on ... that's why we've only 8200 for boottime :) If u want that i fix that, then i need your help, because i don't have actually much time...

Well what u need to do ??? Simply, just post here on wich latest Build the GPS is working without any issues .. then i'll take a look what's the cause of that ;)

27Mhz ?? u mean maybe 57Mhz ??!! Just actually i can say that those Freqs are great as default...:

WS2401: Stock: 50Mhz @ Kernel default 57Mhz on this Kernel

S6D: Stock 30Mhz @ Kernel Default 40Mhz on this Kernel ..

but both on next build ...

I've used for some days now s6d 30Mhz @ 50Mhz .. and sometimes i've draw issues .. one time even a freeze without auto reboot... now i've reduced the Freq @ 40Mhz .. and everything seems to work good.

And the most weird thing: I NEVER had blackscreen Bug even now with overclocked s6d Driver...

I'm pretty sure, nobody will understand this :)

Edit: Yes, it's safe, as long u don't have any issues with screen.... i mean u can't damage it..
[Galaxy Ace II Android Development] Peedy2495:
Ok, lets Start trying ...

One point, u have to know is, that this bug exists a couple of months.

For example it was already reported Feb in this thread.

Good luck ... Peedy
[Galaxy Ace II Android Development] MrBlackCore:
How to check which driver does my phone use? I also never faced the blackscreen bug.... not once on any rom/kernel
[Galaxy Ace II Android Development] gepel:
Check LCD Driver: /sys/devices/pri_lcd_XXXXX
[Galaxy Ace II Android Development] MrBlackCore:
Ok, I have WS2401 and never faced blackscreen bug.
[Galaxy Ace II Android Development] :
You can expect to Lolipop ace2nutzer ?
[Galaxy Ace II Android Development] ace2nutzer:
Oh.. but well, this is no problem... just tell me on wich build it's working and on wich build it's not working.

usually u've to tell on wich build it's working, and normally the next released build the bug appeared.. then i can compare the two builds to find out the problem.. u know ?? if u only say in february it was working and on latest build here not, then it's not easy. ;)

Just wipe cache and flash some older builds... don't worry nothing can happen..

no wipe data needed

;)
[Galaxy Ace II Android Development] Vexylle:
[MENTION=5840412]ace2nutzer[/MENTION] sry for the dumb question, but do you have an idea how to fix my problem, where i don't have mobile data connections, since i installed cm 12 than back to stock and flashed your cm 11 rom and latest kernel again + CWM reparted.

I just don't know where the problem could be, APN settings are correct, and on my other phone the data connection is working.
[Galaxy Ace II Android Development] ace2nutzer:
Have u formatted modemfs ? :D

if yes, take a look into my DEV-Host .. there is a modemfs file .. u've to unpack and flash the right file with ODIN... as PDA.
[Galaxy Ace II Android Development] Vexylle:
ok thx , i'll try

hm still not working :/

edit 2: ok got it with this http://www.android-hilfe.de/root-cu...5873-baseband-xxxx-kein-mobiles-internet.html

had to use the flashable zip^^ anyways thx for the help
[Galaxy Ace II Android Development] p_d:
It's working for me in 0302, buggy in latest build.
[Galaxy Ace II Android Development] exodius48:
[MENTION=5840412]ace2nutzer[/MENTION] I still have blackscreen on my device, i use rom cm11 by you & use your kernel. :(

Any workaround?
[Galaxy Ace II Android Development] ace2nutzer:
Thx, and 0307 till latest builds, all buggy ?
[Galaxy Ace II Android Development] ace2nutzer:
In cwm or on lockscreen?

Have u enabled lcd boost?

Post current lcdclk Freq from: /sys/mcde/lcd_clk
[Galaxy Ace II Android Development] exodius48:
Both of them bro.

I did not tried it yet. How to do it?
[Galaxy Ace II Android Development] ace2nutzer:
Just tell me the current lcd freq.

Navigate to this path with filemanager or use term. Emulator

Type su enter...

cat /sys/kernel/mcde/lcd_clk enter
[Galaxy Ace II Android Development] exodius48:
It shows me no such file or directory. what next?
[Galaxy Ace II Android Development] ace2nutzer:
Check post #1821 it was a typo.. Edited....
[Galaxy Ace II Android Development] exodius48:
Sorry my bad,

this is the results

[0][*] 60 hz (default)

[1][ ] 60+ hz ( boost)

Current lcdclk freq : 30720000
[Galaxy Ace II Android Development] ace2nutzer:
All right!

Then it's a cpu or gpu voltage problem... I'll upload later some test builds with higher voltages... One of them will work ;)
[Galaxy Ace II Android Development] exodius48:
Great.. I hope you can solve this issue. :)
[Galaxy Ace II Android Development] PolishVodka:
My LCD is damaged like you know, and I have "bs bug" almost everywhere on stock 4990 frequency, but it is another story.

But, in my case, this interface doesn't work in the same way like settings higher frequency in board_codina_mcde.

Even on boosted LCD freq via script to 6240 (57XXX to be more precise) I got still "bs bug". I must always wake up phone twice or three times to show up screen.

But after changing to highest freq in board_codina_mcde, this bug is gone for me.

Sorry, I'm talking on Chrono kernel, but yours have probably the same interface in mcde_hw (?).
[Galaxy Ace II Android Development] exodius48:
Can you teach me step by step how to solve this bug like yours?
[Galaxy Ace II Android Development] ace2nutzer:
Guys don't mix up different Things ;)

Vodka have WS2401 from Wide Chips with Stock: 50Mhz and the LCD is damaged... (btw: i'll pm u about possible fix by using 57Mhz)

exodius have S6D27A1 from SONY with 31Mhz Stock freq. and the LCD is not broken.

so, u can't use the same freq. from WS2401 ..it's too high.... a beside of this the higher the LCD Clock the more battery draining ;)

On S6D27A1 it's possible to use the screen with 40Mhz extremely smooth, with absolutely zero horizontal tearings.

On WS2401 even with 57Mhz it has minor tearings and it's not smooth like the S6D @ 40Mhz...

At this point i can say S6D is more efficiently than WS2401, smoother and have more Brightness, without loosing good contrast. :cowboy:
[Galaxy Ace II Android Development] manthes:
I can confirm that with 40 Mhz is working fine (until now). Any solution to make permanent this frequency?

You said that you have blackscreen with CWM like me. Do you have also with this temporary cwm build http://d-h.st/oZD ? It is old but it is the only working for me. If you want just try to confirm it
[Galaxy Ace II Android Development] ace2nutzer:
Great !

Ask Chrono for proper command to set 40Mhz by init.d ... because we have different Sources ...

And on actually Kernel here there is no 40Mhz available.. just 31Mhz hardcoded for S6D and Hardcoded 50Mhz for WS2401 by kernel default... those are also Stock Frequencies...

And over script is only available: 57Mhz .. well that is intended for WS2401 .. because 50 @ 57Mhz is no Problem ..

But 31Mhz @ 57Mhz (60+ Hz) is of course a big Problem !! .. This is really no wonder that some Guys have screen blinking by using 60+Hz !

Next Build will have 40Mhz by default for S6D .. and 57Mhz for WS2401 .. and an updated SYSFS to change the LCD Freq between 31 - 80Mhz ! But usually u don't need to change this, because Kernel default is already the best Choice :cowboy:
[Galaxy Ace II Android Development] exodius48:
I also use it, but sometimes work, sometimes blackscreen. Its not stable for me.
[Galaxy Ace II Android Development] ace2nutzer:
New Build is Up !!

Changelog:

20150422:

SioPlus - cleaned source

Reduced Kernel Size a bit more - thx @ mkaluza

Updated Minfree Values

Updated init.d script "01optimization"

Use 0x18 for VAPE.SEL2 instead of Value from buggy AVS File

Added more LCD Freqs to /sys/kernel/mcde/lcd_clk (see also 01optim. script)

Tuned both LCD Drivers - S6D27A1: Tested, OK / WS2401: not tested

Note: HIGHLY Recommended to use Dalvik as Runtime !
[Galaxy Ace II Android Development] shaqman89:
Any specific reason for this?

Btw, as usual, it is smooth, but battery drain seems quite bad compared to chrono's version (previously on 2.22.6)
[Galaxy Ace II Android Development] ace2nutzer:
Because it's Buggy.. RAM Management is totally crappy on ART .. (ART Bug) ;)

After switching back to Dalvik i was really shocked that RAM Management is working with no issues ! btw: Amazing ! That Test saved my Life :D

How can u see the difference in battery life when u're using it since 30 minutes ?? Use the Phone for at least 2 Charge Cycles.. then u can see the difference :)

(And charge your battery till real end of charge ... check in NT-APP ..)
[Galaxy Ace II Android Development] shaqman89:
Yeah, you're right :D

But the difference of battery was already there from 0405,been using it for a week, so I am quite sure about the difference.

Anyway, I am using dalvik for the moment too, been figuring out why my logcat wasn't working as expected.

Speaking of ram management, after an hour or so, my keyboard (SwiftKey) seems to be closing itself in the middle of usage.
[Galaxy Ace II Android Development] Maev Maxx Damage:
On Dalvik with 04.05 seems to drain faster the battery, that's the reason I am using ART. Now I am back on Dalvik as you recomend, will see how it stands (usually I unplug the charger on the morning and at 23 o'clock I got around 75% battery on ART. On Dalvik I never managed to use only 25% for all day, always drains at least 45-50)
[Galaxy Ace II Android Development] exodius48:
Updated but I still have blackscreen , can not turn on screen + cwm also blackscreen.

Offline charging also blackscreen too (does not show battery animation).
[Galaxy Ace II Android Development] letkogazowany:
I'm actually on gingerbread and i have su and CWM-based Recovery v5.0.2.6. Is there any problem with installing:

codina_kernel_cm11_20150422_ext4_ace2nutzer.zip

cm-11-20141118-UNOFFICIAL-codina_ext4.zip

directly from from that cwm?
[Galaxy Ace II Android Development] shaqman89:
AFAIK, you need CWM 6 for any CM11 ROM's.

Flash temporary CWM first.
[Galaxy Ace II Android Development] Ave_Hornet:
this kernel is only for kitkat (4.4.X)

if you want this kernel you must have JB as a base and installed CM11 eg. kitkat
[Galaxy Ace II Android Development] manthes:
ace2nutzer what is your rom base? I want to check if it will help with blackscreen.
[Galaxy Ace II Android Development] :
if there is any problem with the version of 20150216 ? ( CM11 )
[Galaxy Ace II Android Development] exodius48:
Where you got that rom?
[Galaxy Ace II Android Development] :
[MENTION=5210243]exodius48[/MENTION]

1. Download - Dev-Host

2. codina

3. 4.4.4

4. codina_kernel_cm11_20150216_f2fs_ace2nutzer.zip

4. codina_kernel_cm11_20150216_ext4_ace2nutzer.zip
[Galaxy Ace II Android Development] gepel:
Yesterday i used the gps for a route around 30mins without any issue with the following config. Navigon, no mobile data,gps device only.
[MENTION=1823981]acen[/MENTION]utzer in the NT-APP under GPU are the following options usable ? Disable AutoBoost & Mali L2 Max Reads. I ticked the disable autoboost and return mali l2 to 16kb. I think got a slightly bit more performance ,,
[Galaxy Ace II Android Development] ace2nutzer:
Okay, wait, tell me what u need, codina ext4 ?? Then i'll make 2 Builds, one with higher GPU Voltages, and one with higher CPU Voltages.. just to see if it works.

Install first latest Stock JB Version .. with ODIN.. and then with temp. CWM (from my dev-host) CM 11 .. then Kernel... (CM 11 + Kernel from FTP Server! )

That is an Kernel.. FOR CM 11 .. but outdated ... Use FTP Server..

Well this is strange, because i didn't change the Kernel Config ! So the Location FC Bug is maybe still present ... happens very rare... i'll try to fix this in next build ...

EDIT: Nope.. u can't change this things over NT-APP .. i've disabled it.. Kernel default is already right... but u can change the mali_max_pre_allocated memory size .. that works ! For Gaming: 32MB ... otherwise : 16 MB is great.

btw: can somebody test with WS2401 driver if u will have screen tearings by using 49920000 as freq ?? since i've optimized the LCD Driver it's maybe possible that the tearings are gone.. if so, then we don't need to use 57Mhz in order to fix tearings.. that drains also a bit more battery by using 57Mhz...

To test 499... (50Mhz)

open term. em. and:

su

echo 5 > /sys/kernel/mcde/lcd_clk
[Galaxy Ace II Android Development] ace2nutzer:
MG2.. but it has nothing to do with it.. if u have codina then there is newer Version of Stock ROM ...

btw: still blackscreen for u too on latest Kernel here ?? - If yes, tell me wich Version u need.. (codina ext4 ?) then i'll upload some test builds..
[Galaxy Ace II Android Development] gepel:
I tried the above command. The tearing is almost gone, actually is very hard to see it .. good job . I returned to 50Mhz
[Galaxy Ace II Android Development] manthes:
Blackscreen recovery. I have also reboots and can't get in rom but that's will be solved probably with a clean install. codina f2fs

I still believe that the solution is in the working CWM 6.0.2.8 :o:p
[Galaxy Ace II Android Development] ace2nutzer:
Cool !!! - If some other Guys can confirm this too, by using 50Mhz for WS2401 .. then i can set again this Stock Freq by Default in next build ... with 50Mhz the LCD is also more sharp ....

Nope.. forget this crappy solution :D I really don't like non working things :cool:

wait some minutes, i'll building ...
[Galaxy Ace II Android Development] ace2nutzer:
for codina f2fs:

pls test in this order.. (according to power consumption)

dev-host is buggy actually ...:rolleyes:

http://www.megafileupload.com/Ygp/codina_kernel_cm11_GPU_f2fs_ace2nutzer.zip

http://www.megafileupload.com/Ygs/codina_kernel_cm11_CPU1E_f2fs_ace2nutzer.zip

http://www.megafileupload.com/Ygt/codina_kernel_cm11_CPU20_f2fs_ace2nutzer.zip

http://www.megafileupload.com/Ygv/codina_kernel_cm11_CPU24_f2fs_ace2nutzer.zip
[Galaxy Ace II Android Development] manthes:
Test is for recovery. Am i right?
[Galaxy Ace II Android Development] ace2nutzer:
For all.. u just need to test Recovery + offline charging .. if both working good.. then lockscreen blackscreen should also fixed :fingers-crossed:

Edit: Reboots also ;)
[Galaxy Ace II Android Development] manthes:
1. not working

2. not working

3. not working

4. not working

I didn't check for reboots only for blackscreen.

I believe that the best thing is to make seperate kernel and recovery like chrono and use it with twrp. I can't test other bulids because i can't install from odin all the time twrp kernel, then from recovery new one etc.

But thanks for your job anyway
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for testing as well !

I can also build it directly to ODIN Version.. then u can much faster testing ?

Just tell me if yes or no .....
[Galaxy Ace II Android Development] manthes:
Via odin it will be much faster. I will make a little tries more but because i have very rare and sometimes none blackscreen in lockscreen i wll not make too many. Ten will be enough :p

If it isn't a trouble named them with numbers. For example 1cwm..., 2cwm... etc
[Galaxy Ace II Android Development] ace2nutzer:
OK.

Naming 1cwm, etc. isn't good idea... the kernel name have always what i changed.. then it's easier to distinguish ...

http://www.megafileupload.com/1OkE/codina_kernel_ODIN_CM11_f2fs_CPU400.tar

Limited CPU freq @ 400Mhz .. instead of 800Mhz .. for CWM ...

if that fails, then i'll upload a build with very low (fails safe) LCD Freqs and Tunables ...

If the second build will also fail, then i'm out of ideas ... (for the moment :D )
[Galaxy Ace II Android Development] manthes:
I mean to insert numbers befor the name you want. Just to be sure which one i am testing
[Galaxy Ace II Android Development] ace2nutzer:
Okay, next time.. but next build is LCD .. and i suggest to u to delete the non working test builds.. then u don't have any confusion ;)
[Galaxy Ace II Android Development] manthes:
Not working and it still reboots
[Galaxy Ace II Android Development] ace2nutzer:
Try This:

http://www.megafileupload.com/Yje/codina_kernel_ODIN_CM11_f2fs_LCD.tar

LCD Version ...

Pls post here if that works or not :)

btw: don't tick anything on ODIN ... just flash and when the bar on the Phone is full.. then wait 3 seconds, and unplug the cable..

then boot directly in cwm : vol up, home, power..
[Galaxy Ace II Android Development] manthes:
Nothing again. Blackscreen. I can't check anything else because i want the phone.

By the way if it is simple give my instructions how to convert a recovery zip file to odin. With a personal message
[Galaxy Ace II Android Development] ace2nutzer:
Okk, seems that something is not OK.. but what ?

U say u've reboots, that's also not good...

When u've time, try this:

flash 3-parted RUS GB Stock ROM

flash latest Stock ROM (JB)

install temp cwm and flash CM 11 18/11

flash latest ace2nutzer kernel.

I'm sure that will work... if not then your Phone is probably broken,

because i've also S6D and it's working like a charm with my Kernel :)
[Galaxy Ace II Android Development] manthes:
I am sure that reboots will gone with a clean install. That's not my problem. But what do you mean that phone is probably broken while i didn't have any problems with stock rom and almost zero blackscreens on lockscreen (except some kernel builds) ?
[Galaxy Ace II Android Development] ace2nutzer:
Almost Zero Blackscreen on Stock ROM ?! Does it mean even on Stock ROM u've sometimes blackscreens ?!
[Galaxy Ace II Android Development] manthes:
I didn't write it correctly. None black screen on stock rom and almost zero on liquid smooth (with 40mhz none until now)
[Galaxy Ace II Android Development] ace2nutzer:
OK, Actually i'm using 36Mhz and it's even better than 40Mhz.. (more sharpness)

It's Kernel default for S6D (Stock 31Mhz) on latest Kernel here.

and for WS2401: 57Mhz (Stock is 50Mhz)

The last Kernel what u've tested was @ WS2401 and S6D both @ 31Mhz .. just to avoid too high unstable LCD Freq.. but even that didn't helped.. really not normal my friend :confused:
[Galaxy Ace II Android Development] drhay:
Hi. Does anyone know, Where can I find "3 parted RUS GB Stock ROM". Thanks.
[Galaxy Ace II Android Development] shaqman89:
Tried it for 2 hours, confirmed no screen tearing in that time.

Good work :)
[Galaxy Ace II Android Development] fluffi444:
See my sig...
[Galaxy Ace II Android Development] drhay:
(broken english)

Oo Thank you very much and sorry. Although I know you, I have never seen before it in your sign. Because i am always use mobile internet and with opera mini. When I opened Uc browser to answer you, than i saw your sign. Thank you again...
[Galaxy Ace II Android Development] shoxieJESUS:
[MENTION=5840412]ace2nutzer[/MENTION]

I think 60+++ and 60++ too high freq for screen refresh rate coz it can broke lcd. 60+ will be enough.
[Galaxy Ace II Android Development] ace2nutzer:
Again, u can't broke LCD by simply changing a freq.. ! Only if we Overvolting it (too much), then yes... ;)

Already OC'ed my S6D from 31Mhz @ 57Mhz .. this is nearly the double speed, and nothing happen ...! Just Blackscreen, Screen blinking and colored bars... but after setting with term. em. again to 31Mhz, everything fine :)

But u're right, max. 57Mhz is enough for WS2401 :) b.t.w. can u test if 50Mhz is also smooth and no tearings ??

IF yes, i'll set 50Mhz by kernel default in next build. ;)
[Galaxy Ace II Android Development] shoxieJESUS:
Ok. I report tomorow
[Galaxy Ace II Android Development] fluffi444:
And this in not your fault....

My post (with those 3-Parted FWs) ist quite old (somewhere in "baseband XXX" thread) and quite difficult to find.

I added the Latin version to this post and decided to put it to my sig, also.

But I'm still to lazy to make an complete new thread for them... :D And maybe not needed anymore.
[Galaxy Ace II Android Development] ace2nutzer:
@up

i think that was a good decision.. somebody will need that .. so it's not useless..

or for somebody that did a mistake with dd but maybe not a brick but deleted some partitions what are not available on stock ROM's (1-part), then it's really useful ! :) And 3-parted GB is better than JB -3-parted.. because of some missing partitions..

for example: "Fota" is not present on 3-part. JB ..
[Galaxy Ace II Android Development] shoxieJESUS:
[MENTION=5840412]ace2nutzer[/MENTION]

I use 50MHz for almost 6 hours. It smooth like 57MHz. Also had no screen tearings. I think it good to be a default freq for ws screen driver.

Sorry for bad eng.
[Galaxy Ace II Android Development] gepel:
[MENTION=5840412]ace2nutzer[/MENTION] After a full day of using the screen @50Mhz I have to admit that is very good to limit the tearing but is not perfect like @57Mhz for sure(I prefer it anyway for daily use). About for gps bug i dont know for others but for me after almost 2 hours of using i did not face any problem with the following config (Navigon, no mobile data, device only gps).
[Galaxy Ace II Android Development] ChriZz13:
Deep Sleep not working

i flashed the 20150405 build and my phone keeps working on 400mhz even when it's locked. i tried changing the deepest sleep state in novathor settings from state 3 to state 5 and still nothing. i also flashed the same kernel build on a friend's ace 2 and when i change deepest sleep state to 5 it deep sleep seems to work. By the way i use Kernel Adiutor to see if deep sleep works.

If anyone knows how to fix this please let me know.
[Galaxy Ace II Android Development] shaqman89:
What do you mean it keeps working on 400mhz? If you mean when idle it uses 400mhz,then it is normal.

Ace2nutzer's kernel uses 400mhz as it's minimum frequency.
[Galaxy Ace II Android Development] ChriZz13:
yeah that's what i mean. On my friend's ace 2 when the phone is locked it idles at deep sleep, that makes the phone last way longer. On my phone though i can't make it idle at deep sleep and the battery drops by 1% every 1 hour. So, is there a way to put deep sleep as idle speed when the phone is locked?
[Galaxy Ace II Android Development] shaqman89:
What do you mean by idle at deep sleep?

Afaik, deep sleep is idle condition.
[Galaxy Ace II Android Development] ace2nutzer:
Nope, no deep sleep issue, and Deep sleep state is hardcoded to "4" ... u can't change it over NT-APP.

3 - deep sleep works also, but a bit more power consumption as 4.

5 - not stable.

@ all

great ! and thanks for testing @ WS2401 and 50Mhz .. since i don't have anymore WS24 ... Next build will have 50Mhz by default for WS24.. and 36Mhz by default for S6D .. (already in latest build here..) and finally i've beginning to try the RAM Hack .. That means next build will have probably more useful real RAM. :cool:
[Galaxy Ace II Android Development] Ave_Hornet:
[MENTION=5695278]ChronoMonochrome[/MENTION] said that after a long time of use this hack frequent FC app . This means that this mod is not perfect yet.

But who knows maybe one day... :D
[Galaxy Ace II Android Development] ace2nutzer:
Yes, i know :)

But this kernel is completely different.. maybe more luck on this kernel... just wait patiently and do this: :fingers-crossed:
[Galaxy Ace II Android Development] letkogazowany:
A have got black screen at this kernel.

From lcd_clk file:

Current LCDCLK freq: 36305454
[Galaxy Ace II Android Development] ace2nutzer:
In lock screen ? And what about cwm blackscreen ?

What is your Base ? Try to use MG2 @ 624MB RAM .. and then install CM 11 and Kernel again ...

Then u've exactly my config... because i've also S6D LCD and till now, Zero Blackscreens :)