yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] PolishVodka:
[MENTION=5695278]ChronoMonochrome[/MENTION] you're doing so many for this little device, great. For LPM add this to BoardConfig like gg:

https://github.com/golden-guy/andro...mmit/912ce90471772e19418f5ee1dfa0c84d15a429a5

and you have two ways now, you can use lpmkey + playlpm services from stock JB (and libQmageDecoder.so + battery images from JB).

Remove from /rootdir lpm.rc because is useless now, but add somewhere in /root lpmkey and playlpm (0775) because somehow from system partition cannot be executed, and to init.u8500.rc type something like this:

on charger

write /sys/class/power_supply/battery/batt_lp_charging 1

# Set CPUs speed & governor in LPM, disable one core

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor conservative

write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor conservative

write /sys/block/mmcblk0/queue/scheduler noop

write /sys/block/mmcblk1/queue/scheduler noop

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 600000

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 200000

write /sys/devices/system/cpu/cpu1/online 0

# Enable DT2W feature

write /sys/module/doubletap2wake/parameters/enable 1

mount ext4 /dev/block/mmcblk0p3 /system wait ro

service playlpm /charger/playlpm

class charger

user root

service lpmkey /charger/lpmkey

class charger

user root

Or use charger binary from CM11 + battery images (res/images to /rootdir) and type:

on charger

write /sys/class/power_supply/battery/batt_lp_charging 1

# Something here if you want

service charger /sbin/charger

class charger

critical
[Galaxy Ace II Android Development] str3tch72:
Mic with calls working good. And yes, this ROM is smoothest ROM I've ever seen. Without hard-tweaked interactive and even on 800mhz, this phone is like a rocket. You're doing really good job for our community, thanks again. :)
[Galaxy Ace II Android Development] ChronoMonochrome:
Thanks. I already tried to use charger from CM11, but I've missed this and commit for BoardConfig.mk above. I'll try it later.
[Galaxy Ace II Android Development] str3tch72:
One question for you: is it difficult to port or cherry-pick some bugfixes from CM12.1? I'm not hurry, because I'm not using offline charging and location so much. :D
[Galaxy Ace II Android Development] ChronoMonochrome:
As turned out - not very difficult(although first I stuck with some commits that didn't apply cleanly). It's a bit more difficult to find what changes are missing in our repos to make GPS working.
[Galaxy Ace II Android Development] xo.en:
Photoshooting works?

Btw, lack of gps is really devastating..;/ Cannot this be fixed with SIMPLE libs copy/paste from cm12.x?

btw, which kernel does it have? last ones were..rather...uninteresting, imho..you know...
[Galaxy Ace II Android Development] Vexylle:
edit. nvm found a solution for my problem
[Galaxy Ace II Android Development] happyrik:
I tried last build for a day.

Smooth and stable rom.

Found a small problem. Receiving image via whatsapp only in landscape.
[Galaxy Ace II Android Development] Habrik:
Hi, do I need to delete data/appz when upgrading from CM 10.2? or you suggest clean install over official 4.1.2?

Is there still green video bug? Any app for camera to avoid this?
[Galaxy Ace II Android Development] greeceeeee:
Does video recording work with another camera app?
[Galaxy Ace II Android Development] ChronoMonochrome:
New build is UP!

Changelog:

Updated to the latest OmniROM's sources

Kernel: updated to r3.7

Added Omni Torch

Enabled ZRAM by default

Since this version F2FS and another features of the chrono kernel installer are no longer supproted by a ROM one.

To enable them you need to install a standalone version of chrono kernel.

I haven't tested the default kernel with which comes this build - due to that this ROM is installed as second in dualboot(my partition table doesn't match with fstab file in kernel). In case of any problems with this kernel just have installed a standalone version of chrono kernel (as decribed in OP).

Enjoy!
[Galaxy Ace II Android Development] ChronoMonochrome:
New build is UP!

Changelog:

improved compatibility with the RRO (Layers)

decreased various delays (of a changing of a window orientation, long press etc),

according to my subjective feelings, the scrolling works more smooth now.

improved native implementation of math with a floating point

disabled an unnecessary debug
[Galaxy Ace II Android Development] happyrik:
Upgrade.

Last build installation ok, but if I reboot to recovery, TWRP can't see memory partition and can't find any flashing file (rom or kernel).

How can I fix ?

Tx
[Galaxy Ace II Android Development] ChronoMonochrome:
Sorry, my bad. Flash this kernel via odin, then download and install ROM again OR install chrono kernel r3.7, as described in OP.
[Galaxy Ace II Android Development] shadow252:
Sometimes on the latest Omni LP I have to turn on/off many times wifi to make it really working. I don't remember this bug on previous version.
[Galaxy Ace II Android Development] ChronoMonochrome:
Sounds like an issue with kernel. Try installing a standalone kernel version or re-download/re-install latest build - if this bug really wan't appearing in a previous build, it should do a trick - since release latest build was re-uploaded with the kernel from previous build.
[Galaxy Ace II Android Development] shadow252:
I tried to install ChronoKernel previously flashing special kernel via Odin but it fails to boot (bootloop). I don't know how to properly install ChronoKernel because there's no ramdisk folder where I could put osfiles. After flashing ROM second time Wi-Fi still have to be turned on a few times. And I also have not working TWRP.
[Galaxy Ace II Android Development] ChronoMonochrome:
Did you read OP then? An installation method is described there.

You probably forgot to reload this build..
[Galaxy Ace II Android Development] shadow252:
I didn't read it.

What do you mean by that?
[Galaxy Ace II Android Development] ChronoMonochrome:
You flashed a broken build with TWRP again.. Re-download build(it has Philz recovery instead).

Btw, new build is up!

Changelog

scrolling cache optimization

various optimizatoins from Xperia STE team

fix changing networkType when data connection is online by golden-guy

ril fixes by Meticulus

attempt to fix NFC feature on codinap

attempt to fix a missing APN
[Galaxy Ace II Android Development] shadow252:
Ok, after editing ChronoKernel 3.7 zip like written in a first post I managed to make Wi-Fi work normally.

This new build have latest ChronoKernel(3.7.1) included?
[Galaxy Ace II Android Development] ChronoMonochrome:
No... When was releasing Omni build, those changes weren't tested enough.
[Galaxy Ace II Android Development] defmy:
Hi,

Since the last update (from build 7 to build 10), my SIM card is not detected. Somebody has this issue ?

No force close with NFC.
[Galaxy Ace II Android Development] ChronoMonochrome:
Maybe try to copy the folder system/lib/tee from a previous build replacing existing files.
[Galaxy Ace II Android Development] defmy:
No success :(
[Galaxy Ace II Android Development] defmy:
No problem with the build 9 ;)
[Galaxy Ace II Android Development] haktanycl:
How to install it s5830i ?
[Galaxy Ace II Android Development] bebolint98:
You can't install it.It is for only gt-i8160 ace 2 not for s5830i
[Galaxy Ace II Android Development] haktanycl:
thank you. Do you have for s5830i?
[Galaxy Ace II Android Development] Lupus@dei:
This little brick with bcm21553 is dead. My sister use mine. :D

There is no lollipop for armv6 devices, they don't support ART at all (ahh, yes, there is only 220 mb in system and 190 in data).
[Galaxy Ace II Android Development] bsal.np5:
Omg But......

It is really nice experience with it but mate there are many Bugs which have to be Fixed :crying: For example..Takes lifetime to optimize app while booting, So much heat and Not soo battery friendly than officle jellybean.
[Galaxy Ace II Android Development] shaqman89:
You don't need to quote the whole OP.

Anyway, L is still not in stable yet anyway, it's still beta, especially on our device, so it's understandable.

If you want stable experience for now, kitkat ROMs are your best way to go.
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 13.10.2015 is UP!

Changelog:

updated sources

apps graphics optimization with pngquant (lesser memory foorprint)

disabled autostart of some apps

applied patches from Nexus Security Bulletin (september 2015)

If you are experiencing a problem with apps optimization on every device boot, add these lines to system/build.prop before flashing this ROM:

# Art tweaks
dalvik.vm.image-dex2oat-filter=speed
dalvik.vm.dex2oat-filter=interpret-only

Enjoy!
[Galaxy Ace II Android Development] shadow252:
On the newest version I have mail app fc.
[Galaxy Ace II Android Development] shaqman89:
Does it occur with the termination of other application?
[Galaxy Ace II Android Development] shadow252:
No. Only Mail app.
[Galaxy Ace II Android Development] shaqman89:
Try sending a logcat, of what's happening. What is your Mail app?
[Galaxy Ace II Android Development] ChronoMonochrome:
Use email app from previous build (extract Email folder to system/app, set 0755 permissions to folder Email and Emal/arm, 0644 - to apk and odex files, reboot device).
[Galaxy Ace II Android Development] shadow252:
Sorry for being late. Unfortunately after replacing files from previous version it still doesn't work. I attached logs with email app crash.
[Galaxy Ace II Android Development] shaqman89:
Just wondering, do you happen to use some kind of an adblocker?

Edit:

Nevermind, it seems that email app doesn't have `android.permission.WAKE_LOCK` permission.

If you didn't revoke any of it's permission, then it is the app issue.

10-13 22:06:55.702 V/WindowManager( 2193): Adding window Window{16b5f66e u0 com.android.email/com.android.email.activity.Welcome} at 4 of 9 (before Window{3b6f072 u0 Starting com.android.email})

10-13 22:06:55.795 E/AndroidRuntime(28445): FATAL EXCEPTION: AttachmentService

10-13 22:06:55.795 E/AndroidRuntime(28445): Process: com.android.email, PID: 28445

10-13 22:06:55.795 E/AndroidRuntime(28445): java.lang.SecurityException: Neither user 10036 nor current process has android.permission.WAKE_LOCK.

10-13 22:06:55.795 E/AndroidRuntime(28445):	at android.os.Parcel.readException(Parcel.java:1546)

10-13 22:06:55.795 E/AndroidRuntime(28445):	at android.os.Parcel.readException(Parcel.java:1499)

10-13 22:06:55.795 E/AndroidRuntime(28445):	at android.os.IPowerManager$Stub$Proxy.acquireWakeLock(IPowerManager.java:363)

10-13 22:06:55.795 E/AndroidRuntime(28445):	at android.os.PowerManager$WakeLock.acquireLocked(PowerManager.java:999)

10-13 22:06:55.795 E/AndroidRuntime(28445):	at android.os.PowerManager$WakeLock.acquire(PowerManager.java:967)

10-13 22:06:55.795 E/AndroidRuntime(28445):	at com.android.email.EmailConnectivityManager.waitForConnectivity(EmailConnectivityManager.java:176)

10-13 22:06:55.795 E/AndroidRuntime(28445):	at com.android.email.service.AttachmentService.run(AttachmentService.java:693)

10-13 22:06:55.795 E/AndroidRuntime(28445):	at java.lang.Thread.run(Thread.java:818)

10-13 22:06:55.811 I/ViewMode(28445): ViewMode: executing change old=0 new=2

10-13 22:06:55.819 W/ActivityManager( 2193): Force finishing activity 1 com.android.email/.activity.Welcome
[Galaxy Ace II Android Development] defmy:
My SIM is always not detected with this build and since the build 10, back to build 9. Somebody has this problem ? (I'm in France)
[Galaxy Ace II Android Development] shadow252:
Try to turn on airplane mode and then turn it off.
[Galaxy Ace II Android Development] defmy:
The SIM card is really not detected, the phone asks me each time to insert card when I try to run the detection. The CHANGELOG in the build 10 breaks something :(
[Galaxy Ace II Android Development] haktanycl:
I understand :D
[Galaxy Ace II Android Development] Lewis Zimmerman:
I have same problem :(

Sim card not detected for me
[Galaxy Ace II Android Development] Revan335:
Import of icf files in the contacts failed.

Contacts closed is the message.

Please fixit!
[Galaxy Ace II Android Development] ChronoMonochrome:
Video recording bug fix

[MENTION=5138693]AGONTUK[/MENTION], [MENTION=5473651]golden-guy[/MENTION], [MENTION=5153662]Android-Andi[/MENTION], [MENTION=5011036]New Macław[/MENTION], [MENTION=4881398]PolishVodka[/MENTION], [MENTION=5371721]Epirex[/MENTION], [MENTION=4982868]hastalafiesta[/MENTION]

I got the video recording bug fixed: https://github.com/ChronoMonochrome/frameworks_av/commits/fix_green_video

I wanted to share it with you, since this bug appears to be on every LP ROMs on STE devices. If I forgot to mention any devs here who still are working on our devices, please share with them too.

The main part of this patchset is commit https://github.com/ChronoMonochrome/frameworks_av/commit/9dbb967c2169b907fb026d06ea07850b24144412 , the rest are compatibility patches to get the mentioned one merged. These patches were tested on OmniROM 5.0.2_r2, since merging this to 5.1.1 would be a bit more problematic now. Please note that this patchset doesn't have a fix to the audio recording, which appears not to work on some AOSP-based ROMs, so video is only being recorded if you disable audio recording in the app setting(e.g. OpenCamera).

P.s. In case if anyone wondering how this bug was fixed ever, since it seemed to be a completely dead end, a little prehistory here :) My idea was to reproduce this bug on kitkat 4.4.4, then to get it fixed there, and later on LP 5.0.2. I got ready deeply porting all changes introduced in the stagefright lib since 4.4.4_r2 and till 5.0.2, despite of an unthinkableness of that, but that was a big luck that the bug appears at the very beginning since the L preview changes, which were very easily to merge: https://github.com/ChronoMonochrome/frameworks_av/commits/aosp_kk44 - didn't expect to face this bug so early and just stopped at this moment to test the merged audioflinger changes, but videorecording bug was already there, so it was not difficult to find the culprit, e.g. patch linked above.
[Galaxy Ace II Android Development] golden-guy:
Great news and even greater work [MENTION=5695278]ChronoMonochrome[/MENTION]! So we'd need to get this cleanly reverted in the 5.1.1 tree for now and that should do. ?
[Galaxy Ace II Android Development] ChronoMonochrome:
Well, I already did that, but it appears to be not as easy as it seemed at first. Even despite of a clean revert of these changes, camera is crashing when attempting to record video on 5.1.1. So, I'm returning to 5.0.2 for now to investigate changes in stagefright recorder just to avoid too much reverts, which are, apparently, a reason of camera crash on 5.1.1.
[Galaxy Ace II Android Development] PolishVodka:
I'm moved to LG D802, but this is the best news of the year for STE devices, just amazing what's you done for Codina, 100x thanks for you.
[Galaxy Ace II Android Development] ChronoMonochrome:
Oh, that are sad news, even though quite understandable. Best of the luck with a new phone.
[Galaxy Ace II Android Development] Epirex:
Great work Chrono! It's amazing what does contribute to the community :D

I had a theory about video recording bug. I based on logcat errors

E/VFM ( 1859): ! getSupportedProfileLevel RETURN_XXX_IF_WRONG, condition=(index<mNbProfileLevelSupported), error=-2147479538(0x8000100e)(OMX_ErrorNoMore) /home/se.infra/jenkins2/workspace/HUDSON_GA_JELLYBEAN_JANICE_EUROPEN/android/vendor/st-ericsson/variant/multimedia/video/vfm/src/VFM_Component.cpp:379

and searching for the sources filtered STE I found the error, see line 444

thought that I could port the fix but I was wrong, then I realized that it was necessary compile the st_vfm

But after many errors of compilation, I get tired and leave of try

Right now I'm on vacation and I dont have Linux installed, but when I have time I try build with your fixes :)
[Galaxy Ace II Android Development] ChronoMonochrome:
Yeah, there are a lot of such errors in logcat. But they are doesn't appear to be a reason of video recording bug, the cause of this is a switch to MediaCodecSource, which appears not to work properly with our blobs(most likely, because the new code in StagefrightRecorder isn't compliant with our gralloc lib). After some research I found that mGraphicBufferProducer is not created, because condition cameraSource == NULL is not met here: https://github.com/ChronoMonochrome...a8#diff-857979f7374d6359270a03476d6e44cdR1476

Don't know, though, why this code makes assumption that cameraSource should be unitialized, but apparently, it's not our case. Unfortunately, manual attempt to create this buffer doesn't make things better and it simply bails with an error. So, for now I ended up with using this patch https://github.com/ChronoMonochrome/frameworks_av/commit/73c3122370473b961698ee8b2f36c4173916ecca , which is already better than suggested above patcset since it allows to get rid of needless reverts. Though I don't know if it will work on 5.1.1, so far only tested on 4.4.4(with cherry-picked patches from 5.0: https://github.com/ChronoMonochrome/frameworks_av/commits/backport). I think, we have no choice, but only switch back to SurfaceMediaSource from MediaCodecSource.
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 09.02.2016 is UP!

What's new:

Forward-port videorecording fix to android 5.1.1 (thanks to [MENTION=5473651]golden-guy[/MENTION]!)

CM'ify the build (almost the sources are reset to CyanogenMod 12.1, with 5.1.1_r33 as a base)

Re-applied all previous fixes from scratch (thanks [MENTION=1508790]SergeyL[/MENTION] for the patches from his CM12.1)

Enjoy this build! :highfive:

P.s. forgot one more thing: SIM detection on CodinaP should be working now (can't assure, that NFC works though) - needed test.
[Galaxy Ace II Android Development] sowa152:
After installing it sdcard0 and sdcard1 in the system have a size 0.
[Galaxy Ace II Android Development] ChronoMonochrome:
Oops, it seemed that I forgot to build the FUSE driver not as module. Wait for the fix, it will be re-uploaded with the same name in a few minutes.

UPD. Re-uploaded!
[Galaxy Ace II Android Development] Culateralligator:
I flashed Chainfire 2.65 and 2.46 but it doesn't work.

Then I installed SuperSU from Play Store and now it's working properly.

UPDATE: I have rebooted several times the phone but after last boot SD external isn't mounted. Rebooted again but it's still unmounted.

Any log I can send? Sorry but I'm not accustomed to using logs.
[Galaxy Ace II Android Development] ChronoMonochrome:
Re-download and reflash ROM again. There was a fix.
[Galaxy Ace II Android Development] Culateralligator:
I downloaded ROM yesterday night...

Sd01 can't be mounted even on Recovery.
[Galaxy Ace II Android Development] ChronoMonochrome:
There's something wrong with your phone then. I just tested a clean installation right now and had no problems with storages. Attach logcat and write mount command output from terminal.

P.s. SuperSU attached below works for me since the very first releases of OmniROM.
[Galaxy Ace II Android Development] Culateralligator:
Thanks, Chrono. Its Sd card problem. I've put a different card and it's recognized.

I'm afraid I'm not able to attach any logcat, as I've flashed r3.12nodebug and r3.9.1nodebug and phone stuck on OmniROM logo at boot -wanted to try something else, but I screwed up-.

Well, I just can say what I did before having that problem with unmounted sdcard.

I have a 100Mb sd partition. I cleant it with Settings/Storage/Erase SD card.

Then, at next boot, started sd external problem.

I have formatted external Sd, re-flashed OmniROM and everyting's fine again.

PS: SuperSu Chainfire it's not only not working with me. Another user reported this on Spanish forum.
[Galaxy Ace II Android Development] Wazoo:
Perfect Rom,please keep updated

this is a perfect rom for our device. I installed yesterday without any problem. Currently running at 1200Mhz.

Please keep this updated in the future
[Galaxy Ace II Android Development] Tree4ever:
Here SuperSU 2.65zip does not work but SuperSU2.46zip is O.K.
[Galaxy Ace II Android Development] Culateralligator:
I've reflashed v2.46 and now it's working.
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 12.02.2016 is UP!

Changelog

fixed wifi/usb tethering broken

fixed default min/max CPUfreq (again)

added low incall volume fix (thanks [MENTION=1508790]SergeyL[/MENTION] for pointing out on fix)

Kernel: r4.2.4

attempt to fix memory compation issue which leads to reboot

reduced an unnecessary display wakeup delay

MCDE video modes reset to stock (should actually fix the glitch on the bottom side of a screen)

UPD. if reboot from a menu is not working for you, flash this kernel http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/kernel/chrono_kernel_r4.2.4.zip .
[Galaxy Ace II Android Development] saimyounas786:
Can you increase hz fluidity to 1000
[Galaxy Ace II Android Development] ChronoMonochrome:
No, I won't. It doesn't appear to work better than currently used HZ=400 and is potential cause of instabilities.
[Galaxy Ace II Android Development] RyxeL:
I want to swap sdcard but I can't find "/ramdisk/fstab" folder
[Galaxy Ace II Android Development] Revan335:
What is the Android Secure and Ramdisk Partition?

Is the Recovery on the Ramdisk Partition?

Your TWRP Recovery replaced by Philz Touch when i flash your OmniROM.:confused:
[Galaxy Ace II Android Development] ChronoMonochrome:
You won't find it in a default omni kernel used here. Install the latest CK r4.2.5. Well, I guess I need to update OP as well.

Android Secure partition is where apps moved to sdcard are stored. Yes, ramdisk partition is used by recovery(and by various misc scripts and ROM-specific bootscripts), but default omni kernel isn't aware about this partition. Just flash r4.2.5 to bring TWRP back to use.
[Galaxy Ace II Android Development] Revan335:
Thanks for your helpful Answer.

Can i Wipe this two Partitions with no Problems and fix the replaced Recovery Issue?
[Galaxy Ace II Android Development] ChronoMonochrome:
You shouldn't wipe either of them else you'll run into troubles.
[Galaxy Ace II Android Development] Revan335:
Sorry, i mean in combination with a Full Wipe (System/Data/Cache/Dalvik).
[Galaxy Ace II Android Development] RyxeL:
I've edited fstab file but my storage not get swapped.

can I use cksetting to swap sdcard?
[Galaxy Ace II Android Development] ChronoMonochrome:
But this way you'll just loose TWRP which is installed in ramdisk partition.

Confirmed, will upload new kernel build soon. I don't use CK settings, so I can't say whether it works or not.
[Galaxy Ace II Android Development] Revan335:
Thanks.

TWRP, Kernel, OmniROM, GApps i will flash after the Full Wipe.
[Galaxy Ace II Android Development] ChronoMonochrome:
Ok, but still don't see the necessity wiping everything just to get TWRP back while you could simply flash CK r4.2.5. But nevermind, you can wipe /ramdisk as long as you flash kernel && recovery which install the necessary files back.
[Galaxy Ace II Android Development] ChronoMonochrome:
Made a small kernel update for OmniROM which allows memory swap by editing /ramdisk/fstab and enables sdcardfs on 5.1.1.

http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/kernel/chrono_kernel_r4.2.6.zip
[Galaxy Ace II Android Development] happyrik:
I swap memory with cksetting in r4.2.5. and all works fine. No FC but battery drain because Phone don't deep deep.
[Galaxy Ace II Android Development] Far'z:
what happened to you Codina :confused: :confused:

---------- Post added at 01:38 PM ---------- Previous post was at 01:34 PM ----------

Chrono how to improve the green video recording on camera :confused: :confused:
[Galaxy Ace II Android Development] PolishVodka:
Nothing, I still has it because I do not got much money for this phone. I will give it to someone from family maybe.
[Galaxy Ace II Android Development] myawan:
I am currently on CM11 29th July build with chrono-r3.1 kernel and Philz Touch 6.58.9 recovery.

Can somebody please guide me how I can install this ROM?

Update: Flashed Chrono kernel, TWRP, ROM and then Gapps, finally Super SU.........Now booting!