yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ChronoMonochrome:
This (and whatever fsync implementations) won't save against sudden reboot when doing OC/UV too much. FYI, the phone reboots immediately in this case, without having any chances for synching data. Faux's implementation only can prevent data loss when kernel panic(or normal reboot) is triggered. Therefore enable normal fsync (or don't use dynamic one at all) when doing OC/UV.
[Galaxy Ace II Android Development] shaqman89:
Most have experienced better performance when using f2fs. Other than that, there doesn't seem much difference between those two.

I personally use f2fs
[Galaxy Ace II Android Development] ace2nutzer:
Unfortunately not, but i can make it when i've time ...

Actually found one cww reparted calculated by [MENTION=4962787]fluffi444[/MENTION] wich gives u 100MB on sdcard0 .. i think this is better as 10MB .. just to avoid some possible issues by moving apps to sd or installing new Apps...

Personally i never had problems with apps by using just 10MB on sdcard0 ..

Here the repart.zip:

http://xdaforums.com/attachment.php?attachmentid=3173873&d=1424370556

btw: u can simply modify the script on the File to make custom repart... it's really not complicated .. u just need to calculate + and -

ext4: old, safe, stable, fast, great filesystem consistency, not really good for flash devices - due to journaling ....

f2fs: new, experimental, stable, faster, filesystem consistency = unknown, good for flash devices (our Phone)

btw2: [MENTION=4962787]fluffi444[/MENTION] (maybe interesting for u) Today i was to my Mother she have also an ace2, and also like me the first Android Phone.. and Today i checked CPU Stats and i was very surprised how much that Phone, system, rom, kernel etc. can run stable without any issues.. 17 Days :fingers-crossed::good::good::good::victory:

The Phone is running NONSTOP, even

no

Flight-mode during night with that config:

2G + Wifi + Sync + powersave location

CM11 18/11 f2fs @ Dalvik (due to whatsApp issue)

Kernel: my Kernel from 03/20 with CPU: 400/1200Mhz and GPU 200/400/735Mhz !

Default Voltages for CPU GPU from my Kernel. (UV)

She's using the Phone the wohle Day... well, she do just using: WhatsApp, Hangouts, Stock-Browser, Camera, E-mail, Calls.

Okay this is not really much, no hard gaming and no hard Multitasking... but anyway it think AMAZING Results !

As i today i've used that Phone.. the System is running still perferct.. fast reactions like fresh boot... and we still don't reboot the Phone ! The Phone is running and running .. that's really amazing guys ... what do u think ? :good::o

For me i never used my Phone longer than 1 Week, then i've reboot the Phone because of flashing new kernel, making cwm backup etc .. of course for a developer.. but for a normal user ... no need to reboot ... The 1 Week running system i did this to test the Stability of OC + UV ...
[Galaxy Ace II Android Development] fluffi444:
Yeb - "Same" here - Not 17 but "only" 10 days. Was on ski-holidays recently and phone was on for more than 10 days while normal use. Only an ChronoKernel-Update after holidays breaked this "run". ;)
[Galaxy Ace II Android Development] letkogazowany:
Flashed new kernel from 20150405. Same problem

From page:175

Here you can see problem:

drive.google.com/folderview?id=0B--FVEdIs2t7fjg3Nk9GY19UVTZBUzR5NGpKR1hIcFhEeFhOZ2ttNUxGcy1fMUZOOEZ1aTg&usp=sharing
[Galaxy Ace II Android Development] ace2nutzer:
Well, this is really "kurwa" :laugh:

Have u maybe enabled LCD Boost ?? Check: /sys/kernel/mcde/lcd_clk u should see: 49920000
[Galaxy Ace II Android Development] letkogazowany:
Is this hidden file/folder? I have found only /debug/clk/lcdclk folder in which there are two files:

enable (0B)

request (0B)
[Galaxy Ace II Android Development] ace2nutzer:
Nope ..

Check this Folder: /sys/kernel/mcde

and this File: lcd_clk

And make sure u've this Kernel: 20150405
[Galaxy Ace II Android Development] letkogazowany:
I think i know what i did wrong. I always installed cm i this order:

1. go to cwm

2. wipes (data, cache, dalvik cache)

3. format /system

4. install cm-11-20141118-UNOFFICIAL-codina_ext4.zip

5. install pa_gapps-modular-pico(uni)-4.4.4-20141119-signed.zip

6. install codina_kernel_cm11_20150403_ext4_ace2nutzer.zip

7. reboot

After that there was no /sys/kernel/mcde folder despite phone info kerner version was updated. But when I added step "reboot" between steps 5 and 6 folder "mcde" appeared.

Long story short, my lcd_clk looks like this:

[0][*] 60 Hz (Default)

[1][] 60 Hz (Boost)

Current LCDLK freq: 30720000

Is that ok?
[Galaxy Ace II Android Development] shoxieJESUS:
@up

Yes. All right.
[Galaxy Ace II Android Development] ace2nutzer:
Not really ! U should have: 49920000 !

Reboot the Phone and check again.. if u see 49920000 then everything is okk .. otherwise your LCD is broken ....

EDIT: And u're flashing again the wrong kernel !

Latest Kernel is 201504

05
[Galaxy Ace II Android Development] letkogazowany:
After reboot I still have 30720000 but i'm pretty sure i flashed 201504

05
[Galaxy Ace II Android Development] ace2nutzer:
Well, the Kernel is right :) I think your LCD is cracked ... 30Mhz instead of 50Mhz ... With that Freq u'll have laggs or not ??

That explains now why u've Problems with "blackscreen" ... i think the Hardware do it automatically ... if an too high LCD clock is not stable, then it switch back to lower freq automatically.. In your case it isn't overclocked.. but the Chip from LCD can't hold the org. freq of 50Mhz .. and it lowered the freq @ 30Mhz with the hope to make it working... as an "emergency mode"

Well, Try this.. open term. emu. and type:

su [press ENTER]

echo 1 > /sys/kernel/mcde/lcd_clk [ press ENTER]

then check again the LCD Clock ... u should see: 57..........

if u see again only 30Mhz.. then it's 100% broken.

Use the Phone so, or let it repair (new LCD)
[Galaxy Ace II Android Development] dixee:
ok then, i will try to install your cm11 rom again later time, but i just lookup at your cm11 build 20141118 rom at the inside of zip file, the filename is already Stk.apk :confused:

or i got the wrong file for your cm11 rom?

or it's got freezed when i installed your kernel too?

fyi, now i'm with KYRILLOSv9 jb rom (it seem a little bit laggy), can i install this 20150405 kernel?

btw thanks for the reply bro ;)
[Galaxy Ace II Android Development] ace2nutzer:
Yeah it's right .. then it's not freezed by default .. it was only freezed on my phone because i don't need that app.

Nope, u can't install an 4.4. Kernel into a 4.1.2 ROM :)

Good Luck ! ;)
[Galaxy Ace II Android Development] Sylvinette:
Hi, i flashed my ace 2 to JB 4.1.2, then I went to CWM for instal "cm-11-20141118-UNOFFICIAL-codina_f2fs.zip", after completed, it stuck in Samsung Galaxy Ace 2 banner, am I doing wrong?
[Galaxy Ace II Android Development] ChronoMonochrome:
Nope, it's absolutely wrong! Take look at this line in source https://github.com/ChronoMonochrome...e/arch/arm/mach-ux500/board-codina-mcde.c#L41

I think everybody with s6d display has this frequency by default(or at least there are some phones with this LCD freq). But what's weird that nobody still reported about this.

UPD. btw, lcdclk=30,72 MHz ~ less than 40 Hz refresh rate...
[Galaxy Ace II Android Development] ace2nutzer:
If u like to use f2fs kernel, u should format some partitions first @ f2fs ... how-to is in first page here ...

OMG !! Now i remember me.. it's long time ago that i don't take a look at this source .. since all problems with LCD was fixed.

Okay, but that guy have anyway problems or not [MENTION=6571647]letkogazowany[/MENTION] .. so i think the LCD is anyway broken.

But 40Hz of refresh rate is very painful .. very bad... is it not tweak-able @ 50Mhz ?? Or it's too much ? :D

Need maybe some changes in the interface to support also that weird LCD ... hmm .. i'll take a look when i've time.
[Galaxy Ace II Android Development] ChronoMonochrome:
Who knows? Probably it should be tweakable as 30,72 MHz works on ws2401, for instance. The main problem that it could be too much or it simply won't solve problems.
[Galaxy Ace II Android Development] Sylvinette:
Oh I'm done, thanks for the guide! :D

I have 2.83GB space Internal Memory and 10MB things, I swap it and it works.

But, how to delete Nova Launcher? I usually using Trebuchet.
[Galaxy Ace II Android Development] yanokashi:
[MENTION=6575591]Sylvinette[/MENTION]

Just install Root Browser, go to system/app/ and find Nova apk and delete it. You'll have to give Browser root permissions.

[MENTION=5840412]ace2nutzer[/MENTION]

What about supporting Lollipop? Will you add this support for the new version? CM12.1 just came out :)
[Galaxy Ace II Android Development] MrBlackCore:
Why would you use trebuchet over nova??
[Galaxy Ace II Android Development] ace2nutzer:
There is no need to install Root Browser.. FileManager is enough .. just set Root access and grant root rights ;)

About CM 12 Kernel, actually i don't have my Phone, (Service), and i really don't know @ Android L .. because it needs more RAM ..

We still have RAM Problems with CM11 .. and CM11 was designed for very low-end Devices ... we have only 630MB usable RAM ..

I Think i'll first completely fix RAM Management on CM11 .. then i can take a look @ CM12 .. But actually really no sense.

Of Course i can re-enable zRAM then we've enough RAM, but it'll also not help, because the Device is then very slow, laggy and it'll drain more battery..

I'll let the RAM real RAM and optimize it to make it efficiently possible by using only real fast RAM.. i'll also increasing the RAM @ max possible with the Hack from ChronoMonochrome .. actually don't know how much is possible.. maybe 10 - 30MB, but even that will change nothing. The real Problem is poor RAM with bad Management.. 2 Problems...

Also Screen tearings is not fixed, this is also propably much work to fix that, actually we've only a "dirty" Fix by manipulating LCD Freq 50Mhz @ 57Mhz .. wich drains more Battery.

One more time in Short: Screen tearings + Memory Management is to do .. then that's a great Kernel.. Then i'm satisfied ... that Kernel is a piece of my Life :o
[Galaxy Ace II Android Development] letkogazowany:
After typing

display turn off. After unlocking it show graphics less than 1 second and turn off again. Arter reboot in lcd_clk was still 30720000.

Anyway yesterday I downgraded to gingerbread and everything seems to work just fine.

---------- Post added at 07:47 AM ---------- Previous post was at 07:34 AM ----------

And one more thing: in gingerbread i have /sys/divices/pri_lcd_ws2401.0 folder. i'm a little confused. What kind of display is in my phone?
[Galaxy Ace II Android Development] Sylvinette:
Just because its more simply than using Nova.

How to set root access? I can't find in Superuser.
[Galaxy Ace II Android Development] exodius48:
I use build pi, charge from 99% to full 100% take a long time, is it normal?
[Galaxy Ace II Android Development] ace2nutzer:
Try it.. nobody know about your CPU Quality :highfive:

If u've a very good CPU, 1300Mhz is possible.. but very rare probably.

Yes is normal on previous Build.. pls flash latest kernel here to fix charger Bugs...

Today i charged my Phone... from 99% ---> 100% ----> 10 minutes. :o
[Galaxy Ace II Android Development] rezniqsvk:
just tryed to dl kernel and rom but it dled .exe viruses so all beware to dl from devhost until it is investigated?

my bad i didnt have adblock on my company laptop :D
[Galaxy Ace II Android Development] supachris:
Without ad blocker you have to take a closer look to teh dev host site, the real download button is the smallest in the middle. The larg download buttons contains malware und viruses.

---------- Post added at 11:34 AM ---------- Previous post was at 10:40 AM ----------

I think there is a bug:

The charge current selection in NT settings does not work. I it is checked, the current drawn from power supply goes down to 80mA regardless of the charge current setting. Unchecked, the current draw is 568mA while charging with AC.
[Galaxy Ace II Android Development] ace2nutzer:
Info:

Default currency for AC: 600mA

And for USB: 300mA

Limits:

Usb: 500mA

AC: 900mA

To change the currency of Both:

Set the new current in nt-app then disable the current control and activate it again.

Now the desidered current is setted,

Plug in the Charger Cable
[Galaxy Ace II Android Development] LyrixTheDj:
Can't find usb currency in novathor, only for AC. Have a latest kernels of yours and ROM from TC 20141024 (diego).
[Galaxy Ace II Android Development] ace2nutzer:
Separate setting not possible actually

As i said set desiderd current and then usb or ac power supply cable

Wich settings do u wish?
[Galaxy Ace II Android Development] MarquesYOLO:
Screenshots before I plug in to charge, latest kernel (800-200 interactive + noop). I hope it helps you and you can tell me where is the problem with battery drain. Thank you.

PD: I'm not an expert with BetterBatteryStats sorry.
[Galaxy Ace II Android Development] ace2nutzer:
THX I'll try to fix this in next Build...
[Galaxy Ace II Android Development] str3tch72:
For me, nice battery life :)
[Galaxy Ace II Android Development] MarquesYOLO:
OK thanks, but you think is problem of some app that I installed or kernel problem?
[Galaxy Ace II Android Development] ace2nutzer:
Looks like an kernel Problem.. a wakelock with your Modem / Signal.. don't know why.. i don't have this Bug.

Anyway have u still the Problem with min. 400Mhz ??
[Galaxy Ace II Android Development] MarquesYOLO:
No, I think the problem was Sioplus scheduler, when I change to noop the problem gone. But sometimes I enter to setcpu and I see minimum frequency on 400 but it turns to 200 soon.
[Galaxy Ace II Android Development] rezniqsvk:
installed rom a kernel on P nfc model today (onlz clean cache a dalvik) but had to reinstall gapps
[Galaxy Ace II Android Development] ChronoMonochrome:
[MENTION=5840412]ace2nutzer[/MENTION], are you using prcmu qos arm_khz requirements? Note that CPU min freq may stuck sometimes at 400 MHz because of this.
[Galaxy Ace II Android Development] ace2nutzer:
I believe yes ! But ATM, and in the latest kernel here I'm using the min freq. fix from [MENTION=3329816]mkaluza[/MENTION] .. should i revert some commits of this... ??? Also i will update LiveOPP 2.1 @ 2.2
[Galaxy Ace II Android Development] ChronoMonochrome:
I don't know... I had some problems with screenoff driver, it didn't work with arm_khz requirements, then I just disabled it, so I practically didn't test it yet. Since I did some changes in screenoff driver it probably should work ATM without any problems. I'll try to enable arm_khz req. and report later.
[Galaxy Ace II Android Development] MarquesYOLO:
All nights I put my phone in airplane mode and it didn't spent more than 1-3 %. Tonight on 12 hours it spent from 90 to 23%. It doesn't enter into deep sleep.
[Galaxy Ace II Android Development] matthias1976:
No deepsleep for u. Partial wakelogs from BBS needed.
[Galaxy Ace II Android Development] MarquesYOLO:
Done.
[Galaxy Ace II Android Development] gothicVI:
That's cause it's not there. You have to set such things IN app. It will then ask you for super user permissions and you're good to go ;)
[Galaxy Ace II Android Development] Sylvinette:
I found it, go to setting - general setting - root access mode.
[Galaxy Ace II Android Development] LyrixTheDj:
Flashed 20150405 in my GF La Fleur device (ext4, Dalvik), now the alarm clock is broken and have "standard" sound, change the melody can't make a deference.

On my own gt-8160i (f2fs, ART) everything going right.

PS: Before every updating the kernel, i do "erase cache" in setting->memory, then in CWM "wipe cache partition".
[Galaxy Ace II Android Development] ace2nutzer:
Yeah u've WS2401 @ 30Mhz instead of usual 50Mhz ... it looks like it's "normal" like Chrono said .. i'll take a look in Source to add Support for this LCD too ... therefore really no need to use very old OS with 1000 Bugs :D

But anyway use now GB for 2 - 3 Days, ad just tell me if the Blackscreen Bug is gone on GB !

All right ! Weird beahaviour ... I think it has nothing to do with the Kernel, latest Kernel is OK, nobody complain about such Bugs.

I'm also using the Alarm with f2fs and ART and it's ok.

btw: all Kernel Version codina, codinap f2fs or ext4 are builded exactly with the same Source since i'm using only one Source. (in the past i used Kernel Source for codina and one Source for codinap)

It's so more a prob. with the ROM it'sels.. try maybe format system, and install CM11 18/11 again then directly without reboot the pico-uni-gapps!

@ all

Good News !

My Phone is back from the Service, and now i can continue to develop :fingers-crossed:
[Galaxy Ace II Android Development] Maev Maxx Damage:
Speed and stability

O'right , we all know this phone wasnt ever flagship device, only midrange. With your kernel and a stable custom rom my 2½ years old codina still works excelent :) In fact I use it more than my new phone (sony xperia z ultra) just because its muuuuch more pocket and onehanded friendy. Even on this megaold battery still hits 4 hours SOT milestone without a problem , in speed falls behind the new phone , but i outperforms it as a phone and singlehanded chat.

I thought , when I get new phone I'll get rid of the codina emediatly, but I simply cannot, because its such a nice device ,and still a fun, after all those flashes , tweaks and so on and so on. Even this post is typed on the codina, because of the now responsive touch and non huge screen :D

enough for the goods, now some bugreporting :P

Ace2Nutzer, can you tell me whats is wrong with wifi here ..on every router I should manually enter the settings for wifi, otherwise it just wont connect, even placed ot the router itself. In wifi settings I have disabled wifi optimisation and network notification, but anyways, no matter how I check or uncheck boxes in wifi settings it makes me go there, and then connects.

your rom, ext, dalvik, latest kernel :)

sorry for the neverending post, I just wanted you to know, that your work means much for me, thank you
[Galaxy Ace II Android Development] Andrei12331:
Works on Cyanogenmod 10.2 ?

Hi,

I wonder, this kernel works with cyanogenmod 10.2 by TeamCanjica ?
[Galaxy Ace II Android Development] shaqman89:
No, it only supports cm11.

Of course you may try, but no promises.
[Galaxy Ace II Android Development] letkogazowany:
Considering how many black screens i had on cm11, on gingerbread probem doesn't exists - 0 black screens after 1,5 days. So waiting for new kernel :)
[Galaxy Ace II Android Development] ace2nutzer:
Hmm i never had problems with wifi.. really don't know .. Glad to hear that the kernel is great ;)

Very good ! - And sorry for wrong diagnostic ... LCD is so not broked ;)

Check this: /sys/devices/pri_lcd_ws2401.../lcd/panel/lcd_type

What's the content of this File ?? Do u see this?: SHARP_WS2401 ???

btw: Now i've also s6d LCD ... More detailled infos later .... (Amazing!)
[Galaxy Ace II Android Development] renčam:
I want to flash this CM 11 rom with this Kernel (ext4). Is it possible to use Xposed and GravitBox with them?
[Galaxy Ace II Android Development] shaqman89:
Yes, as long as you use dalvik with the rom.
[Galaxy Ace II Android Development] renčam:
So does it mean there is a choise inside the rom? It's only on me? Or should I do something before flashing the rom?
[Galaxy Ace II Android Development] shaqman89:
Yeah, the option is inside the ROM - settings - developer options

If you just install it without changing anything, it should be on dalvik by default.
[Galaxy Ace II Android Development] LyrixTheDj:
So, i have now a two devices, one La-fleur (of my GF) and just black. They have difference LSD. s6d looks like a cheap ****, don't have blacks, only dark grey, white is so warm like a yellow and have something like interlace, i can see blank horizontal lines. My lsd (ws2401) so clarity crystal image, have blacks and right whites...

Maybe, exist tool for calibrate a s6d?
[Galaxy Ace II Android Development] letkogazowany:
I was about to buy another ace2 :p

On gingerbread file /sys/devices/pri_lcd_ws2401.0/lcd/panel/panel_type has content:

SHARP_S6D27A1X10

Isnt't it strange?
[Galaxy Ace II Android Development] ace2nutzer:
Hmm really strange ... ws2401 and s6d at the same time ... hmmm

Was ur phone by the service center ?? Because there is Touch LCD .. and another separately part is: LCD Module ... maybe some guy have mixed up the 2 Parts ... anyway very strange. - That's maybe the reason for Blackscreens on CM11 ..

btw: i've now s6d (new LCD from Service) and lcd_type: SMD_S6D27A1
[Galaxy Ace II Android Development] letkogazowany:
I have bougth it in a popular online shop as new. But this is Poland. Everything is possible ;)
[Galaxy Ace II Android Development] ace2nutzer:
Okay, we've exactly the same LCD ! :D On GB recognized as ws2401 .. and on JB ---> s6d ...

I've investigate this a bit closer.. and it turned out: We've s6d with SHARP ---> 30Mhz Version ...

Probably it's like [MENTION=5695278]ChronoMonochrome[/MENTION] said .. all s6d are running @ 30Mhz by default ...

Before my screen was broken i had ws2401 @ 50Mhz default .. and it was laggy .. but it was smooth @ 57Mhz ...

Now with s6d tha'ts creazy guys ! Even @ 30Mhz it's more smooth than ws2401 @ 50Mhz ...

Actually overclocked from 30Mhz @ 50Mhz and works perfectly so far ... vertical and horizontal 2D Games works very smooth on CM11 .. it's even more smoother than ws2401 @ 57MHz ! I hope i'll don't get blackscreen :D

I can even say that the Quality is better.. i don't have problems with Black and white .. everything perfect... the only bad thing what have the s6d even @ 50Mhz, it's when black things are moving fast on a white background.. then it looks bad.. but in generally i'm satisfied it's more smooth than ws2401. Actually i'm updating the LCD Driver and the SYSFS and init.d script to add support for both LCD drivers.. and the user can change the LCD freq if blackscreen appears ... that means by default it's set @ max. to make it smooth without touching the script... and if blackscreen appears - (probably very rare) then the user can very simple decreasing the LCD Freq by changing only one Number: 1, 2, 3, 4, 5. everything described and so on in the 01optimization file.. u'll see this in next Build ...actually still developing ... i'll also optimizing bad ram management... I'll try to use RAM Management from Stock GB .. because it worked very well, nobody was complaining about that ;)

Ok Guys, stay tuned ^^
[Galaxy Ace II Android Development] renčam:
I have installed ButtonLed, BLN in NT disabled. But it seems ButtonLed doesn't find my light file. There is no possibility to choose (as someone here has written - "choose the first one". In Accessibility there is no option to enable it. Can you give me some hint please? Thank you.
[Galaxy Ace II Android Development] xo.en:
This is VERY interesting...

I was wondering about gamma/color tool, like similar machine had(s2 if i am right). This tool is not working on a2, btw..;/
[Galaxy Ace II Android Development] Hummer951:
Delete

---------- Post added at 06:02 PM ---------- Previous post was at 06:00 PM ----------

I use BLN control and it works flawlessly, hope this helps :)
[Galaxy Ace II Android Development] renčam:
Thank you, I tried BLN control and after installation I had a bootloop, there was only a tiny second to uninstall it. :)
[Galaxy Ace II Android Development] Peedy2495:
Hi Ace2Nutzer,

I have already probs with GPS in your current kernel.

By using GPS-related apps (e.g. c:geo) after some minutes the location hangs, but the direction is still working (I think it's because of the accelerate-o-meter :).

Sometimes the GPS comes back after disabling and enabling mobiledata.

After restarting the app, when nothing else helped, I got a popup with the message: "com.google.process.location has stopped"

After restarting the app, it works for some minutes, again.

It's really frustrating ....

I hope u'll have an Idea to fix this ... Peedy