yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
strange .. emoji works only on 13/03 build for me .... and i still don't know what is the main cause of this issue.

Anyway i've still some ideas what i can check and try out :)
[Galaxy Ace II Android Development] jbmc83:
so....good news on the battery life front: turns out that 31/03 is battery friendly after all, its just that the battery percentage has....lets say, unforeseen jumps downwards[emoji14]i.e. it would rapidly decrease from 100-80% but then stay for a whole hour of sot at 1-3% before finally switching off on its own!

total times for 100-0% were 1d19h system uptime with 4h6m sot, and those are definitely values that i (and especially my gf) can live with!

so mystery solved, its just cuz the battery is not original samsung, learned my lesson for next time ;)

sorry for the inconvenience guys!

ps: shes actually got one of the few ace 2 phones thats stable at 1200 mhz cpu, amazing :D
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5818374]IAmLucky[/MENTION]

Twitch app works but video only play when you change video quality from Auto to Source or High.

I don't test screen casting and subscribing because I don't have resources to do that but it's should work normally.
[Galaxy Ace II Android Development] Dr360r:
Just don't push it too far, OK? ;) I run mine at 1000 MHz with Balanced profile and i think it's enough.
[Galaxy Ace II Android Development] jbmc83:
haha no worries, i reverted it back to stock 200 - 800 mhz, the 1200 mhz were just for funsies / testing ;)
[Galaxy Ace II Android Development] IAmLucky:
for me all frequencies are so far stable, even 1250 mhz or cant remember which one is above 1200 mhz, but all works well, but the only problem is that phone heats, i get 48 degrees of C in intensive usage :D though, i am always using 600mhz one - works very very well for me, enough power. On lollipop and marshmallow even 1250mhz is not enough to works properly. . .
[Galaxy Ace II Android Development] jbmc83:
is it normal that the performance setting caps out at 1200 mhz? couldnt set anything above that
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION]

I solved the missing emojis mystery and make them working on 15/04 build.

Emojis works only when you flash the ROM with Factory reset and then install kernel, NT app and GApps.

So doing:

1. Wipe data/factory reset (wpie cache and dalvik cache optionaly)

2. Flash ROM

3. Flash kernel and NT App

4. Reboot

5. Boot to recovery and flash GApps

Giving Us working emojis.

If ROM is installed with only format

/system, wipe cache and dalvik cache emojis will not work.

Could you guys test that method to confirm that it isn't works for my device only?

Tomorrow in the evening I'll try to do more tests.

P.S I found a bug in a Camera -> on 15/04 build I couldn't record a video but takeing photos working fine.
[Galaxy Ace II Android Development] ace2nutzer:
1200 is the most stable freq ... see the Poll here :)

last year we had even set up to 1400Mhz ... but. the record up to now it just 1300Mhz .. and even not fully stable...

i believe it rebooted once per week. So probably if 1200 is stable .. btw stable means it can run for 1 week without to have FC or random reboot ..... then u can probably run 1250Mhz stable too.

The main reason why i removed 1250Mhz step is, because u shouldn't run it at the absolutely max stable freq.

It might run stable and no FC .. but in reality it'll make miscalculations and it'll (with time) destroy your data + filesystems !

The proper Freq for permanent usage without to run into serious problems is just stable freq minus 50Mhz :)

In my case it was 1150Mhz .. so correct Freq is 1100Mhz :)

U can test higher freqs by simply manipulating the last step 1200Mhz ... just change the PLL .. and u'll have higher freqs.. Every freq is possible ..theoretically u can even set 4000Mhz .. but it'll immediately freeze ;)

sys/kernel/liveopp

that's the interface where u can make echos ....

Interesting thing !!! That nerves me all the time.... i'll take a look later into it.

I'm actually busy with updating GCC + adding more Code optimizations ;)
[Galaxy Ace II Android Development] Dr360r:
I'm doing wipe data factory reset and format /system everytime i install a new ROM. Are you sure you're formatting /system and didn't dirty update from 160313 without format /system?
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=6902149]Dr360r[/MENTION]

If you flashing 15/04 over 13/03 you musn't format /system.

So below are my steps which I take to flash the ROMs:

To flash 13/03 build:

1. Wipe cache and dalvik cache

2. Format /system and mount it

3. Flash kernel and NT App

4. Reboot to system

5. Yes for root

6. Reboot to recovery and install GApps

After installng gapps you should check that emojis on this build are working.

Here I format system, because start up manager doesn't work (FC)

To flash 15/04:

1. Wipe data/factory reset

2. Wipe cache and dalvik cache

3. Flash ROM

4. Flash kernel and NT App

5. Reboot to full system

6. Boot to recovery and flash GApps

No /format system in this way. The start up manager works fine on this build so you can normally setup your phone for first use.
[Galaxy Ace II Android Development] Dr360r:
It's wrong to not format /system. It's not a final build.
[Galaxy Ace II Android Development] ace2nutzer:
btw separate flash of gapps after an full reboot, is only needed on 13/03 build ... all newer build, doesn't have that issue anymore.

but that's still strange ! - IT sounds like an missing File .... that's why it's working without format /system ... simply because the needed file what is missing on latest build .. is just replaced by the older build lol

and still didn't had time to compare those 2 builds ... probably an missing file ...
[Galaxy Ace II Android Development] beardedpanda:
Thank guys for tips.

I try to compare that builds.

But if I unzip this builds and zip with probably missing file can I flash that new zip?

Sorry for stupid question(s) but I am still new to Android.
[Galaxy Ace II Android Development] ace2nutzer:
yes, why not ?? - At least one file is missing all the time in new builds ... nothing can happen, except that emoji will not work..

Don't forget to format /system, otherwise it's useless :)
[Galaxy Ace II Android Development] garak elim:
Emoji don't work because of missing font. Copy these fonts in /system/fonts then emoji work well.
[Galaxy Ace II Android Development] Dr360r:
Good. Noticed something wrong there but it didn't really catch my eye. I opened the 160331 and 160313 zips and in 160331 a LOT of font files are missing. I'm replacing them by MTP and File Explorer and i'll tell how it works.

[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=5779069]garak elim[/MENTION] I've done a clean install of build 160415, copied the missing AndroidEmoji.ttf in the /system/fonts folder, set the permission to 644 and rebooted. Emojis are still missing. Copied the whole fonts folder from 160313 in the one of the daily use 160331 nandroid backup, set 644 to androidemoji, rebooted and emojis still showing up as squares. Maybe you can do something about this when you compile a new ROM but i can confirm all the builds after 160313 are missing a lot of fonts files in the directory, including the one named Emoji.
[Galaxy Ace II Android Development] garak elim:
You need NotoColorEmoji.ttf and MTLmr3m.ttf too (I'm not sure about this last one). Set the permission to 644 and reboot.
[Galaxy Ace II Android Development] Dr360r:
Done what you told. Emoji work now. Copying the whole folder didn't work because you can't set the 644 permissions one group of files at a time and i didn't notice other emoji labeled or related files. On 160331. Thanks to you, we're one more step towards the perfect ROM!

So, until ace2nutzer compiles new ROM restoring the fonts folder, you have to copy androidemoji.ttf, notocoloremoji.ttf and MTLmr3m.ttf files from the 160313 build zip to /system/fonts and set the permissions of these three files to 644 to fix the missing emoticons problem.

So, [MENTION=7332124]beardedpanda[/MENTION] , probably not formatting /system when migrating from 160313 to later ROMs made the missing files stay there and let the emojis work.
[Galaxy Ace II Android Development] rewolt90:
That is probably a good time to ask what else files are missing :) Maybe some of existing small problems will be solved just by compare builds

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] beardedpanda:
Yeah, after doing a format /system nad copying that three files emojis start to work under 15/04 build normally. ;)

I thinking about installing Linux to better operate on Android files.

[MENTION=5840412]ace2nutzer[/MENTION]

I solved AOSP keyboard SWYPE problem for my phone language (It's Polish). It was a missing dictionary.

I flashed zip from that post - CLICK - and everything works fine.

Maybe you integrate that zip to further ROM builds?
[Galaxy Ace II Android Development] ace2nutzer:
Thanks Guys for debugging ! ;)

I think i know now what i did "wrong" .. damn it ! :D

Of course i never ever deleted by hand those FONTS Files .....

Probably this Optimization was killing Emojis:

https://github.com/ace2nutzer/andro...a774#diff-78ec901c9c29ef6a20b79592fd93f941R27

as for AOSP Dictionaries ... i'll add it on next build, also revert that damny optimization.
[Galaxy Ace II Android Development] Culateralligator:
I've installed 20160415. There's one thing I miss when using web browser on every kitkat ROM I've tried.

When I want to upload a file or a picture to this kind of forums, if I pick "select file" it makes nothing.

With UC Browser it works fine...

BTW: Xposed working; emojis not; Amazon pics not.
[Galaxy Ace II Android Development] Dr360r:
You can fix Emojis by copying the missing ttf files.
[Galaxy Ace II Android Development] beardedpanda:
Emojis should start working with next build. This was a missing fonts files problem. (Read 429 page of this topic)

I confirm that trying to attach a file from web browser not working.

In Twitch app video only play when quality is changed from Auto to Source or High (depends of stream). When changed back to Auto video stops.
[Galaxy Ace II Android Development] [-GuTi-]:
Same on Vanir
[Galaxy Ace II Android Development] #Malpa73:
Very good kernel :)

Nexus 4 ❤
[Galaxy Ace II Android Development] IAmLucky:
Galaxy Ace 2 ❤
[Galaxy Ace II Android Development] #Malpa73:
Galaxy Ace 2 is spare and Nexus 4 as the main phone :D

Nexus 4 ❤
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION]

I found bug in a stock browser: Videos can't be brought to fullscreen. I tested videos on three web sites.

I have problem with battery drain on every ROM and kernel.

On mobile data Internet connection when I using web browser (stock) and Messenger app battery drain very fast. After max 60 min of using phone that way 30 % or lower battery is left.

When using WiFi and the Same Apps battery last all day.

Original battery installed.

Could you tell where to look about building libwebp.so for CM mod? I try to search but I only found references to a official Android.

For a test I setup Android NDK and build libwebp.so with sources from official google webp website. Then I place it to /system/lib (there are libjpeg.so and libpng.so but libwebp.so is missing) and gives 644 chmod to it, rebooted and

nothing change.

Maybe I miss something in general?
[Galaxy Ace II Android Development] IAmLucky:
sorry, but there is no thing like "last all day", we care about SoT, and how intensive you use. Download better battery stats app and then collect all info, so you can upload here and ace2nutzer will tell you if battery is ok or not. Though i have no problems with these roms, battery lasts as usual. Messenger is normal that it is a battery drainer app. . . I get 3-4 hours of SoT with power save mode + 3g enabled all time, checking fb, mostly browsing, playing clash royale game 15-20 mins, thats all. Thats normal for me atleast. (brigthness is set between 30-50%)
[Galaxy Ace II Android Development] Dr360r:
[MENTION=5840412]ace2nutzer[/MENTION] Any news? I saw you removed 160313 and added the dictionary fix on the FTP.
[Galaxy Ace II Android Development] ace2nutzer:
@up

i'm compiling the ROM with refreshed optimizations.

Other than that, i've changed the thing with FONTS to default .. so i think emoji should work.

And actually i don't have time to update webp. so Amazon Pics will still not work.

However this Bug is present on every CM Rom...

wait for new build ... i think build 15/04 is somehow screwed up. Googles + CM Default Code Optimizations are breaking some things. - Next build has proper Code. but it'll not have the full optimizations ... i'm adding them one by one ... so every new build will be a bit more optimized than the previous one :)

(i can't add all together, because some of them breaks the build .. so we need a little bit patience ;)

as for libwebp .... we're using actually this Sources:

https://github.com/CyanogenMod/android_external_webp/tree/staging/cm-12.0

which gives ATM the best result ....

There is README .. which describes how to update sources of that .. lib ... but as i said actually i'm very busy with real life.. so u guys don't need to write after every new build update that Amazon pics are still not showing :)

Because how it should work if i don't update the sources ? ;) - Also i'm testing every Build too, for now, (due of code optimizations) And when i'll update that lib, i'll write this in the thread here ... then u can test + post if works or not ;)

I've already tried to replace the one mentioned above .. with this latest sources:

https://github.com/webmproject/libwebp

but it gives Build errors .. so i think there is some work to do instead of only replacing that Repo :)
[Galaxy Ace II Android Development] beardedpanda:
Thanks for information.

My intent is to merge learning Android with proveding help to make that ROM more fabulous. So I try do something with that lib to make your life easier.

Like I said couple post before I am very new to Android stuff (and programming) but I have a brain and eyes so I could read a lot very useful posts (like that one above) and other stuff.

BTW: When missing notifications won't start to work in new build I wil test ROM with other Gapps. For now I get notifications only from messenger, inbox, instagram, snapchat. From XDA forum app zero notifications at all even after reinstalling (app) and reflashing whole ROM. (With format /system :P)
[Galaxy Ace II Android Development] ace2nutzer:
ok, as i said, wait for new build, it's available in next 30 - 60 Minutes. :)

Build error, restarting compilation .. so if now will not stop again, it's online in around 2 Hours :)

EDIT: Stopped again :( rebuilding once again ... :)

btw: it's extremely difficult to apply new binary Code Optimizations to the ROM .. while applying those optimizations to the kernel is very easy and much faster.

btw2: Next Kernel will have much better performance .. i'm merging #turbo-kernel project into default kernel project, basically i'm applying LTO + many more other single optmizations .. and maybe Graphite optimizations too ... but for the last one i've to find an Toolchain with Graphite Support (ISL) ... because actually i'm using latest LINARO GCC-5.3 .. and unfortunately it doesn't have Graphite Support ... what a shame ! - So i've to search if SaberMod or UBERTC has this Support ;)
[Galaxy Ace II Android Development] greeceeeee:
31/3 rom with 15/4 kernel several apps from background crashing while using apps...I will try 20/4 rom
[Galaxy Ace II Android Development] beardedpanda:
On 20/04:

- Emojis works

- Full screen for videos in stock web browser isn't working (full screen button makes nothing)

- SWYPE is working

- Notifications currently in testing phase

- Rest still presist
[Galaxy Ace II Android Development] ace2nutzer:
Ok... that's better now :)

For me i can't find any issues except that Amazon pics are not working because of outdated webp lib.

As for Videos in full screen mode ... this is normal ... there is no (native) flash player implemented.

It's a wonder that it works at all .... before live-stream videos wasn't working at all ...

Even [Rox] a really great Developer had to give up with that issue ... but fortunately later user: [Epirex] and [Meticulus]

found an solution, more or less a workaround to make it working ... if i understand the patch correctly, Hardware encoder wasn't working at all ... and they had managed to make it at least working with Software Encoding ... that's why the performance is a bit poor. But i can balance this with highly optimized kernel + ROM :)

i.e.: u can't watch videos on twitch.tv with the stock browser ... because of missing Flash-player ....

Same issue is present on latest Stock ROM for an Samsung Galaxy S5 (with stock browser) :)

So for now, this is best ...

Faster Kernel + ROM is still in development :)
[Galaxy Ace II Android Development] beardedpanda:
So all is Okay for now ^^

I can't wait to test new faster kernel ;)

BTW It is safe to flash repartition file from that topic - CLICK over the repartition file from FTP server?
[Galaxy Ace II Android Development] ace2nutzer:
the one in my ftp is STOCK reparted ... that means it'll change nothing ... this is indeed if u want to have original partition layout in order to be able to flash STOCK ROM's. (if u had changed to custom previously ... ) :)

If u want to use custom ROM's with more space on /data for user apps, then u should flash any repart.zip from that thread u posted ...

profitable one with biggest amount of DA

ie: this one:

http://xdaforums.com/attachment.php?attachmentid=3267854&d=1429301637

that will give u approx 3GB on Data instead original only 1,2GB :)
[Galaxy Ace II Android Development] darktrixx:
does build 04/20 really stable? thanks im on build 03/31 atm

does reparted 3gb data means can install games like 1Gb plus without swaping storage? thanks
[Galaxy Ace II Android Development] ace2nutzer:
yes latest build should be fully stable.

U can install more apps... but if the game-app want to save data on sdcard .. u'll still have to swap storages.
[Galaxy Ace II Android Development] greeceeeee:
Swype is not working on me and this is not the default font of cm11
[Galaxy Ace II Android Development] IAmLucky:
full screen thing is that stock html player and it has a lot of issues, all apps which use stock html player will do the same.
[Galaxy Ace II Android Development] beardedpanda:
First change your system or input language to English if on this set up SWYPE is working then it's a missing dictionary problem so look at below post:

http://xdaforums.com/showthread.php?p=66413007 and flash the dictionary fix from FTP and change language to your native and try again.
[Galaxy Ace II Android Development] ace2nutzer:
added on FTP:

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/misc/
[Galaxy Ace II Android Development] greeceeeee:
Something was messed up with font and nova launcher,I made a clean install and everything is fine very smooth and fast like few versions ago!! ?
[Galaxy Ace II Android Development] ace2nutzer:
Ok Guys, are u ready for turbo-kernel ? :)
[Galaxy Ace II Android Development] Dr360r:
Rock 'n roll!
[Galaxy Ace II Android Development] Culateralligator:
Yes! I'm ready to make a backup and restore it after loosing data... :D:D:D

Now seriously... Wanting to try it! :good:
[Galaxy Ace II Android Development] arroyo:
Bring it on!
[Galaxy Ace II Android Development] IAmLucky:
will it be really turbo kernel or it will be mixed with default for the most stability? thanks ace2nutzer
[Galaxy Ace II Android Development] ace2nutzer:
New Kernel is Up !!

Changelog:

20160421:

Merged turbo-kernel project*

Compiled with SaberMod GCC-5.3

Low Memory Killer improvement

Cleaned up the whole sources (removed badly hard-coded flags)

Improved security: -fstack-protector @ -fstack-protector-strong

Optimized RCU (fastest)

Enabled Link-Time-Optimizations (LTO)

Enabled Graphite Transformations Optimizations

Applied a lot of more aggressively Code Optimizations

Removed all Heuristically / Speculatively Code Optimizations

Applied all Code Optimizations that reduces Code Size

Removed Code Optimizations that can break the Code or -

increases Code Size too much

* = Applied all available Optimizations except those that harms Precision on Math Calculations (-ffast-math)

This Kernel should be fully stable and safe ......

Anyway if somebody still need more power i can compile same kernel but with applied -ffast-math ...

I'll add this kernel in experimental section.

btw: RAM is now 629,57 MB .. due of bigger optimizations.
[Galaxy Ace II Android Development] Tree4ever:
Can I flash last Rom+Kernel over 20160326 without wipe data?
[Galaxy Ace II Android Development] ace2nutzer:
I think Yes.

Wipe Data is in generally only needed if u've problems with stability or some FC Apps.

And of course if u're coming from an non Kit-Kat based ROM.
[Galaxy Ace II Android Development] nikolas1274:
If you compile a kernel with -ffast-math i will give a try
[Galaxy Ace II Android Development] lab34:
Hi,

Can we put this kernel with the 'old' ROM, build the 14th of july ?
[Galaxy Ace II Android Development] shaqman89:
Sure. I couldn't think of any reason why it shouldn't. Though, performance wise, it is still better to combine with both the latest :D
[Galaxy Ace II Android Development] lab34:
Yes, I'm tempted to jump in the last wagon.

But I'm running with stock partition table.

Can we flash the last rom with stock partition table ?
[Galaxy Ace II Android Development] Dr360r:
Installing the new kernel with the old ROM is like filling a space rocket with fuel but no oxidant.
[Galaxy Ace II Android Development] IAmLucky:
why would someone need old rom when we have the new one?
[Galaxy Ace II Android Development] bebolint98:
[MENTION=5840412]ace2nutzer[/MENTION] I install the 04/20 rom. I want to ask that this is not the default font or yes?
[Galaxy Ace II Android Development] Dr360r:
It's the font set you had in 160313 basically.
[Galaxy Ace II Android Development] ace2nutzer:
Yes, this is the proper Font with working emojis :)

btw: new kernel is faster or not ???
[Galaxy Ace II Android Development] Dr360r:
Yes, it is, especially with the latest ROM i've just migrated to.
[Galaxy Ace II Android Development] shaqman89:
Feels like it is :good: :good:
[Galaxy Ace II Android Development] aleste2:
Trying to install 20/04 build in a 8160P (NFC) (clean install from JB MG2) but it stops after wipes/mount system when flashing the ROM (error 7) the device is not a 8160 but a 8160P. Am I missing something?

Following this steps:

1. Wipe cache and dalvik cache

2. Format system

3. Mount system

4. Flash test build

5. Flash Kernel and NT App

6. Reboot

7. Flash gapps

Edit: first of all: install kernel
[Galaxy Ace II Android Development] Culateralligator:
With last kernel not only it's faster... Battery drain is better...

I really thought it was gonna be the opposite.

I have to say until 10% of battery level, I was using Balanced Profile... Then, Powersave.

View attachment 3727593View attachment 3727594
[Galaxy Ace II Android Development] IAmLucky:
flash I8160P support zip from FTP

BTW [MENTION=5840412]ace2nutzer[/MENTION] in the current rom version in your FTP android security patch is from february instead of april, im not sure if u know this but just saying :D.

---------- Post added at 01:02 AM ---------- Previous post was at 12:59 AM ----------

power saving mode? also what is your gpu low and high frequency?
[Galaxy Ace II Android Development] Culateralligator:
Power save from Performance profiles.

I haven't touched anything. It's Ace2Nutzer's defaults.

I have to point out that I'm using a 1700mah battery...

And I'm using that Amplify+Greenify+PowerNap guide from XDA for battery drain.
[Galaxy Ace II Android Development] IAmLucky:
amplify+greenify with donation packages?
[Galaxy Ace II Android Development] Culateralligator:
Yeah.