yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] RyxeL:
some of my *.flac audio can't played in this ROM. is this a bug?
[Galaxy Ace II Android Development] ChronoMonochrome:
That's a bug. Just have found a fix, will see if it fixes this issue.
[Galaxy Ace II Android Development] Far'z:
nice if you want to give the phone to one of your family and maybe you'll feel better with your new phone
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 07.02.2016 is UP!

Changelog

Build #14 - 17.02.2016

added [MENTION=4898097]arter97[/MENTION] optimizations

changed -O3 -> -O2 optimizations level

added -ffast-math optimizations to some UI modules (original patches by OptiPop Team, modified by me)

compiled with Linaro GCC 5.2.1 (thanks to OptiPop ROM team, arter97, temasek and other devs for a lot of fixes for GCC 5+)

compiled HWcomposer and copybit from source

fixed low 2D graphics performance by using gralloc from stock

kernel: updated to r4.2.8

AV and Native frameworks: fully updated to CM12.1 5.1.1_r34

applied various fixes

Enjoy this build ! :good:
[Galaxy Ace II Android Development] saimyounas786:
Kudos to Chronomonochrome

Very Hardworking Guy

But It Doesnt Run Messenger,Facebook

It Force Closes
[Galaxy Ace II Android Development] ChronoMonochrome:
@up, consider attaching a full logcat otherwise I'll likely ignore issues reports without logs attached, all the more that I don't use any kind of messengers nor facebook.
[Galaxy Ace II Android Development] saimyounas786:
Do i they need more space?

i mean repart
[Galaxy Ace II Android Development] Culateralligator:
Try using Greenify or increasing zRam.

What size of zRam has this ROM?
[Galaxy Ace II Android Development] saimyounas786:
i think i need to repart max on data
[Galaxy Ace II Android Development] Far'z:
ChronoMonochrome Can you create a swap storage for this rom :o
[Galaxy Ace II Android Development] saimyounas786:
you have to install ck app

then u can
[Galaxy Ace II Android Development] Far'z:
okay thanks i will try again
[Galaxy Ace II Android Development] Revan335:
By Connect by USB on Windows only some Folders show a content. Some Folders show no content. This Content is in the dataexplorer of omnirom available.

No unmount is showing on Windows.

Before the update of omnirom or kernel this things are working.
[Galaxy Ace II Android Development] saimyounas786:
maybe corrupted
[Galaxy Ace II Android Development] ChronoMonochrome:
Can you be as specific as possible? Are you using sdcard that is formatted to exFAT? Try to reproduce this bug and attach logcat.
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 19.02.2016 is UP!

What's new:

a heavily optimized build - enabled Link Time Optimizations(LTO), Graphite and Floop Nest optimizations

fixed camera crash on stop of video recording in default Omni camera app

fixed strict aliasing violations in many of places

skia: neon optimizations patchset, another improvements

sqlite: updated to 3.8.10.2 version

launcher: improved scrolling smoothness

replaced libexpat and libpower samsung blobs with the open-source ones (much more is coming, hopefully)

a lots of other changes that improves stablitiy / performance

P.s. Credits to [MENTION=5105835]Cl3Kener[/MENTION] for graphite and floop nest optimiations, and also for a lots of fixes and improvements from OptiPop ROM, used in this and previous builds. LTO commits are based upon work found in https://github.com/VividROM/android_build and were heavily modified by me to get it to work.

Enjoy this build! :good:
[Galaxy Ace II Android Development] Revan335:
No, the SD Card is Fat32 formated.

The unshowing Data is on the SD Card when i plugged in the Windows Device.

When i activated Logcat for the SD Card?

I tested this with the new Build.
[Galaxy Ace II Android Development] saimyounas786:
Hows it working guys?

compare to previous build?
[Galaxy Ace II Android Development] ChronoMonochrome:
Don't bother trying to take logcat.. Somehow it turned out that logcat was disabled, or anyway is not working, at least on latest build.
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 21.02.2016 is UP!

Changelog

21.02.2016

enabled ARM mode on almost binaries (better performance in compare with thumb)

added properly applied strict-aliasing optimizations

rest small changes in optimizations (disabled cortex-a8 workaround that was enabled for all the rest processors as well; disabled debug symbols hardcoded for some blobs)

thanks to [MENTION=5840412]ace2nutzer[/MENTION] patches, otherwise I would not notice that I haven't applied this fix.

fixed broken since latest build logcat

added some useful for debugging binaries such as strace

deleted blob at_distributor (seems that RIL works fine without this)

re-added forgotten low incall volume fix

Enjoy! :good:
[Galaxy Ace II Android Development] Only1Prodix:
One little bug in latest version?

I've installed as it should. it works fine... but...

When a want to add a google account i get a blank page. Or in another words it's white.

And if a tap on the screen on serval places sometimes the keyboard pops up fan an input.

But i can't read it becourse it's a white page.
[Galaxy Ace II Android Development] TzuYu014:
Another Bug I've Encounter

When you drag the app on homescreen its freeze, and when you add an account on google its white screen

---------- Post added at 01:15 PM ---------- Previous post was at 01:12 PM ----------

Can i request ?

Please add some equalizer app same thing with CM thanks! More Power [MENTION=235339] ChronoMonochrome[/MENTION]
[Galaxy Ace II Android Development] ChronoMonochrome:
Re-uploaded latest omni build. Can anyone check if a bug with market / keyboard is still there?
[Galaxy Ace II Android Development] Pastorious:
USB tethering do not work, i can not switch "On" button in "Settings". After split second is again unchecked
[Galaxy Ace II Android Development] ChronoMonochrome:
Thanks for reporting. Found a solution for these bugs, new build will be as soon as I'll get it compiled.
[Galaxy Ace II Android Development] uciha753:
i've swaped my storage but when i install application it still installed on internal storage. is it possible to install app on sd card?
[Galaxy Ace II Android Development] matthias1976:
theres no root for me.

installed rom

installed gapps

installed root from chainfires site over recovery

still no root. any suggestions ?
[Galaxy Ace II Android Development] Culateralligator:
I had same problem.

I finally installed root from Chainfire's v2.46 instead of 2.65.

If you don't find any other solution you can try this.
[Galaxy Ace II Android Development] matthias1976:
so old version works for u !?

flash from playstore or old apk or recovery.

got link for me !?

EDIT

thx man it worked.

used this link, flashed via recovery and it worked.

https://download.chainfire.eu/696/SuperSU/

EDIT END

in TWRP he asked about rooting.

yes or no always no root.

when system loaded theres notofication in status bar that theres no root. when i open it black screen and nothing. after some minutes FC suoeruser app
[Galaxy Ace II Android Development] ace2nutzer:
Try to root first, then u can use /system/xbin/su binary from working ROM .. and also make symlink to /system/bin/su ...

Set proper permissions and everything should work as usual without annoying 3rd-party app for root :)

btw: this is happen because of disabled debugging in ROM.
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 26.02.2016 is UP!

Changelog

Switched to Linaro GCC 4.9.4 for now (better handling of LTO optimization code generation)

Odexed build

Fixed MTP bug

Fixed Wifi / USB tethering issue (again!)

Missing APNs should be fixed now

HWComposer: switched to SW vsync implementation from tuna

Enjoy!
[Galaxy Ace II Android Development] TzuYu014:
how athe swap storages its already fixed ?

---------- Post added at 08:09 AM ---------- Previous post was at 08:04 AM ----------

how about the swap storages its already fixed ?
[Galaxy Ace II Android Development] ChronoMonochrome:
Storage swap is working, you should install chrono kernel r4.2.8 as described in OP.
[Galaxy Ace II Android Development] uciha753:
My storage swapped but how to install application on my 16gb sdcard?, because every time i install new app it still installed on 1.2 gb partition internal storage
[Galaxy Ace II Android Development] shaqman89:
This is normal. Most developer decide where the default of the installation is.

You could try to move the app from app manager, if the app doesn't have a specific requirement to be installed in internal.
[Galaxy Ace II Android Development] PolishVodka:
Terminal Emulator and type:

su

pm get-install-location [enter]

This will show you current state.

[0 - system decided | 1 - internal memory | 2 - external storage, sdcard]

to set location type:

pm set-install-location [choose number and enter]
[Galaxy Ace II Android Development] ghost10pl:
hotspot wifi not work

WIFI HOTSPOT NOT WORK.

Hotspot turn on, but in my laptop don't see this network. I change name, password and still this same.
[Galaxy Ace II Android Development] Pastorious:
Second.

WiFi teher network is not discoverable.
[Galaxy Ace II Android Development] uciha753:
Didn't work for me. It still installed on internal
[Galaxy Ace II Android Development] ChronoMonochrome:
Too bad, wifi tethering bug coexists with this ROM at least since September of a previous year. The fact that it was working on some builds, is because I was using binary netd prebuilt, from those builds where it was working. But with a time and changes introduced in further releases, this workaround doesn't anymore works. Can anyone confirm if at least USB tethering is working? In my case I still could enable it in settings(whilst it didn't work on previous release), but since I don't have mobile internet, I can't say whether it's actually working.
[Galaxy Ace II Android Development] Pastorious:
USB tethering is working from last build (26.02), stable - thank You for your work. Any chance for WiFi tethering?
[Galaxy Ace II Android Development] ChronoMonochrome:
Thanks for reporting. I'll need to go deeply in build state as of before September just to see if it's working there. It means almost changes that were introduced has to be gone, until I find a root cause of this bug.
[Galaxy Ace II Android Development] PolishVodka:
You can try use hostapd (/system/bin) binary from CM12.1 where tethering working, as I remember on some Omni KK with the same bug, this was a workaround for me.
[Galaxy Ace II Android Development] ChronoMonochrome:
It was first what I've tried to replace, among with netd and libnl.so binaries, and it didn't work. In fact, the current build is already using CM12.1 sources (except some Omni specific frameworks and apps), and netd compiled from source doesn't work here. I think I messed up with device tree, so temporary solution for me was using netd prebuilt from a previous builds, but if I'm intending to do any further changes especially regarding optimizations it seems I have to get rid of such prebuilts. And that's why I'm reverting to state where wifi tethering possibly was working.
[Galaxy Ace II Android Development] logitek1994:
bug found by me:

- installing app process is toooooooooooo long

- status bar traffic monitor not showing. must setting it again by choosing "disabled" and then "incoming"/others to work
[Galaxy Ace II Android Development] ChronoMonochrome:
The currently uploaded build is removed, as there were found some instabilities, please wait for another release :)
[Galaxy Ace II Android Development] TzuYu014:
ok thanks for the new build
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 28.02.2016 is UP!

Changelog

fixed WiFi tethering bug

fixed linker spam

Enjoy!
[Galaxy Ace II Android Development] Pastorious:
You have a two versions on server - one in "OMNI" directory 214MB timestamp 28.02.16 17:01 and second in "misc" directory 223MB timestamp 28.02.16 18:02.

What a difference?
[Galaxy Ace II Android Development] ChronoMonochrome:
You shouldn't install one from misc directory - these are for testing purpose only, and has some things not working.
[Galaxy Ace II Android Development] gepel:
Where can i find the latest chrono apk? I want it for changing(swap) storages.
[Galaxy Ace II Android Development] bebolint98:
You can download from here: http://xdaforums.com/showthread.php?t=3014123
[Galaxy Ace II Android Development] gepel:
The longgggg installing time is it normal ??
[Galaxy Ace II Android Development] shadow252:
It's normal because of ART runtime.
[Galaxy Ace II Android Development] thealliens:
Thanks for this rom caz is the only 5.1.1 that i could find to flash it with temp cwm. I tried to install a custom kernel first to update the cwm for cm 12.1 and soft bricked my phone twice. So all my problems ar gone with this rom. Good work
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 03.03.2016 is UP!

What's new:

Switched back to Linaro GCC 5.2, with a few exceptions that are still built with GCC 4.9 (to avoid possible issues caused by higher GCC version)

Applied -ffast-math to almost multimedia and some GUI modules (in a cases with a heavy math calculations it can give up to 3x performance speedup)

Applied unsafe loop optimizations to the whole ROM (gives about 10-15% overall speedup)

It might be considered as a final "optimizations" build, unless I find some more ideas about optimizations.

Enjoy!
[Galaxy Ace II Android Development] Revan335:
I have Problems with Bluetooth.

For Example Connection crashes.

Situation: Bluetooth Connection with a Car.

Thanks!
[Galaxy Ace II Android Development] ChronoMonochrome:
Can you take a logcat next time you discover this issue? Does it also occur on other builds or only on the latter one?
[Galaxy Ace II Android Development] thealliens:
Just 5 minutes ago i tried to flash cm12.1 and the cwm said: This package is for codina,i8160, this device is codinap!!!!! I can't believe my eyes!*

And flashed againe omnirom and this time i am 100% sure i selected i8160 and not i8160p!? How ia this possible? What should i do?
[Galaxy Ace II Android Development] ChronoMonochrome:
It doesn't seem to be related to OmniROM's installer. Just go ahead and remove "assert" lines from updater_script, then flash it. It will install the correct build.prop and kernel with a proper ramdisk.

BTW. you wouldn't encounter this issue if you flash chrono kernel r4.2.9(latest) after ROM installation, as it is described in OP. Kernel which comes with this ROM has a wrong ramdisk.
[Galaxy Ace II Android Development] Revan335:
How i create a Logcat?

Yes, does it occur on other builds.

Can maybe associated with the Crono Kernel?

I will flash and try it with the new Build r34 3.3.16 and the new Chrono Kernel 4.2.9 from today.

Greetings and Thanks!
[Galaxy Ace II Android Development] Recognized:
Recommendation?

[MENTION=5695278]ChronoMonochrome[/MENTION] wat the best recommendation Governor + I/O Scheduler and (Freq. Range) for this rom?
[Galaxy Ace II Android Development] ChronoMonochrome:
If you aren't familiar with adb and command line, you can find a lot apps that allows to make logcat.

On which ones, specifically? Are there any Lollipop ROMs on which this bug doesn't occur?

You probably want to left the defaults, if you are unsure which are better for you.
[Galaxy Ace II Android Development] thealliens:
i flashed the chrono kernel r4.2.9 and after a restart when trying to enter in recovery, ops bootloop and softbricked.

i`ll try removing what u said from the updater-script, it`s my first time hope to do it right.

what could go wrong?
[Galaxy Ace II Android Development] ChronoMonochrome:
Could you attach /ramdisk/last_kernel_install.txt ?

If you're already back to SergeyL's CM12.1, you can retrieve this log this way:

su
mount -o remount /
mkdir -p /ramdisk
mount -t ext4 /dev/block/mmcblk0p17 /ramdisk
cp /ramdisk/last_kernel_install.txt /sdcard/
[Galaxy Ace II Android Development] thealliens:
no i am not on SergeyL`s cm caz at first i will remove assert from updater-script in the omnirom and flash. that is what i understand from your guide.

i will upload the txt in the next 5 min
[Galaxy Ace II Android Development] thealliens:
last kernel istall.txt
[Galaxy Ace II Android Development] ChronoMonochrome:
@up, there is nothing that could prevent booting. Try removing recovery (/ramdisk/recovery.cpio.gz) prior to kernel install.
[Galaxy Ace II Android Development] thealliens:
I did not explained my self right, after flashing C.k. r4.2.9 the phone starts and everything is ok, but when trying to enter in recovery, bootloop.
[Galaxy Ace II Android Development] [-GuTi-]:
Yesterday i flashed Omni, with last kernel, reboot in recovery is working good
[Galaxy Ace II Android Development] Revan335:
I will try Logcat with a App.

I speak from other Builds of your Omnirom. Other Lolipop Roms i not try.

In your last build with Chrono Kernel: Forced closed android.Phone!
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 07.03.2016 is UP!

What's new

Extended media support via FFMPEG (most audio and video files now can be played via HW codecs in MX player)

Videorecording patch cleanup

Credits for FFMPEG patches goes to CyanogenMod Team. Thanks [MENTION=1508790]SergeyL[/MENTION] for helping me in implementing this to OmniROM!

As always, enjoy! :good:
[Galaxy Ace II Android Development] ChronoMonochrome:
Guys, don't bother flashing latest build - it's appeared to be borked and currently removed( all the audio players FC'es even though video players works correctly).

Please wait for the next release!
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 08.03.2016 is UP!

Changelog

Switched to GCC 5.2 for the whole ROM now

Applied -ffast-math on whole ROM

Optimizations cleanup

Added SQLite 3 from CyanogenMod 12.1

After flashing this build please wipe data because of SQLite update. Sorry for the incovenience.

P.s. thought that the build from 3.03.2016 will be latest "optimizations" build, but I just couldn't not to go ahead and not to apply -ffast-math on the whole ROM, since the current implementation seems to be nicely handled by all the binaries.

For developers(if anyone from you ever reading this post): in case if anyone wondering how forced -ffast-math doesn't break many things in a ROM side: make sure you apply following flags

-fno-finite-math-only -ftrapping-math -fno-associative-math

along with -ffast-math, it eliminates all the issues that comes with -ffast-math. The full flags line is:

but I don't think that the rest flags does matter.

Here it's only not applied to webchromium libraries, but only because I was too lazy to fix build errors, that these optimizations has caused.

https://github.com/ChronoMonochrome/android_build/commit/ed0c7134557c4cb049412d89584b5eebe9b8e1a7

Enjoy! :good:
[Galaxy Ace II Android Development] golden-guy:
Hey [MENTION=5695278]ChronoMonochrome[/MENTION], some more inputs for optimisations in my patchsets repo if you want. :highfive:
[Galaxy Ace II Android Development] ChronoMonochrome:
Great! Is RRO theming implementation goes well for you? I'm asking because it didn't for me - I merged nearly everything from https://github.com/LayersTeam , and there are still some issues with Layers themes such as colour of some UI elements, not being changed(which causes text being not readable in some places).

P.s. Since I'm done with the binary optimizations, now I'm working on implementing some stuff from CM12.1 and some others ROMs, so more fun is coming soon :)

[MENTION=5473651]golden-guy[/MENTION], in case if it's interesting/useful for you - I merged some changes I was really missing on Omni:

https://github.com/UltimateROM/android_frameworks_base/commits/ulti-5.1

https://github.com/UltimateROM/android_packages_apps_Settings/commits/ulti-5.1

especially feature that allows to skip tracks by the volume rocker - https://github.com/UltimateROM/andr...mmit/8c33226322cd0c39bd57ffeae893df4f9ba3c399

- AFAIK OmniROM still haven't merged their change from omni-5.0 for this? Anyway, the patch found in omni-5.0 didn't work for me and was causing volume rocker not to change volume at all when listening music with the display turned off, and that's a reason why I didn't use their change. Patch above requires a change in Settings ( https://github.com/UltimateROM/andr...mmit/976a0ad0f431a42e637259ff6316a74190ece0bc ) which for now is a messed up a bit, since it implements some not working features, but that's just a matter of a time to get rid of or fix those.

Also it seems that in this settings repo there are a bit more RRO specific changes.

Btw, thanks for the new incallui volume fix and proximity sensor patches!
[Galaxy Ace II Android Development] golden-guy:
RRO seems to be fine. I found such theming issues to be rather layer related, e.g. when comparing results between TRDS and InversionUI. Also, not every package always themes nicely, e.g. for notifications (dark on dark). If you omit SystemUI to be layered in those cases, it's fine. I liked TimberWolf most so far. But give it a try and see if those patches give a better experience. Having quickly compared both sets, they are mostly common though.

Thanks for your inputs, will have a look.
[Galaxy Ace II Android Development] ace2nutzer:
btw i've compiled CM11 without using low-incall-fix .. and there is no problem .. it's working like usual.
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 10.03.2016 is UP!

Changelog

Build #22 - 10.03.2016

Switched Apollo to Eleven from CM12.1

Added Viper4Android FX, CMFilemanager and Terminal apps

Added feature long volume key press to skip track (thanks [MENTION=6043081]mickybart[/MENTION])

Switched Torch to sysfs interface (disabled delay on torch activation)

Added new fix to low incall volume (thanks [MENTION=5473651]golden-guy[/MENTION])

Fixed screen locking issue during active call (based on initial patch by golden-guy)

RIL update from SergeyL (possible fix to 2G/3G switch issue)

Allowed build time disabling of components (Gapps battery drain fix)

Frequently used OpenGL ES methods whitelisted for fast JNI path (possible improvement to OpenGL apps)

Various stability fixes and improvements (thanks to SergeyL for bringing my attention to them)

Memory management build.prop tweaks (thanks [MENTION=1508790]SergeyL[/MENTION])
[Galaxy Ace II Android Development] happyrik:
Updated,

Latest build is really a good job. Very stable and no problems.

Tx! :good::good:
[Galaxy Ace II Android Development] shadow252:
Chrono, could you replace gallery app with that from CM12.1, cause the AOSP one doesn't look as cool as the CM one?
[Galaxy Ace II Android Development] PolishVodka:
"Experiencing problems with apps optimization on every device boot?

Add these lines to the file system/build.prop

Code:

# Art tweaks

dalvik.vm.image-dex2oat-filter=speed

dalvik.vm.dex2oat-filter=interpret-only

before installing this ROM."

This is enough, code above only determined how fast art cache will be compiled (more optimized longer ofc).

https://github.com/AriesVE-DevCon-T...mmit/b5bf754c2afcd693db467b14b365cfc520cb27d1

More optimized

dalvik.vm.image-dex2oat-filter=everything

dalvik.vm.dex2oat-filter=everything

need a lot of more space on /data and installation of apps is longer.
[Galaxy Ace II Android Development] ChronoMonochrome:
Ok, I'll consider of switching it to CM as well.

Those lines are enabled by default, AFAIK. Also, disabling dex2oat watchdog sometime ago was causing an infinite long optimization time with Gapps installed. Even though it might be no longer a case, it's not enabled just for fail safe purposes.
[Galaxy Ace II Android Development] windBlast:
have stupid question because it is first time on this ace 2 forum. hehe :eek::eek:

Should i install twrp first? or just use stock recovery? If i should install twrp first so installation would be like this:

1) install chrono kernel

2) flash twrp

3) install ROM

4) install gapps

5) install root

6) install chrono kernel (again?)

many thanks
[Galaxy Ace II Android Development] shadow252:
You can just install ChronoKernel, then flash ROM, GApps and root. No need to flash kernel twice.