yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
yes... or simply don't reboot the phone ! After a fresh boot the deep sleep is not working .. due of google play services.

After some hours .. (max 24 hours) the deep sleep works normally .. also there is no FC at all.

yes ... kernel is almost fully optimized ... however i'm trying to optimize the VFPU (vector-floating-point-unit) .. i'm trying to build as much as possible in hard-float instead soft-float .. This will give an big performance boost if it'll be possible at all to change it.

Actually almost 90% of ROM + kernel is running @ soft-float which is a bit painful .. because it has to emulate those float things.

"hard" means it uses the FPU integrated in the CPU .. = fastest. (more speed, less battery drain).

I can't it understand why probably(?) all ROM's are compiled in soft-float mode ... usually soft-float is only useful if the CPU doesn't have an hardware-FPU at all ... but we've it ... :)

Actually if i compile the kernel in full-hard-float .. then it just stuck at SAMSUNG Logo lol ... too bad ...

Actually i'm compiling the CM11 in full-hard-float ... then i'll try to use it with full-hard-floated kernel .. if it'll boot, then we've recovered some big performance gain... if that will work at all .. then the Ace2 will see some performance that it has never seen before .. (yes never :D )

btw: i've spent already countless of weeks... really hard job compiling an ROM .. if i did it now it before, probably i had never started this project .... compiling kernels is far easier and faster. well, but i hope it's worth... when i've my desired result.

In any way even if it's not possible to make it working in full-hard-floating .. it'll anyway perform better than right now.... because of updated sources + all the other optimizations like binary code optimizations + RAM Management on ROM Side.

If somebody find this very interesting... here are some additional facts:

the actual CM11 compiled by Team Canjica is also optimized ... so it's NOT non-optimized at all ... but it has just outdated optimizations ...

For better comparison u need to search in original CM11 Thread by Rox somewhat like JustArchi Optmization Vxx ....

then check this:

http://xdaforums.com/showthread.php?t=2754997

the Version Number ... as u can see.. that guy did some updates ....... actually here on my Laptop running builds are compiling with latest of such optimizations .. but not 1:1 .. because i've reworked .. and mostly based on my own optimizations flags from my kernel ...

btw2: if somebody need it, i've compiled yesterday the kernel with some code + VFPU Optimizations ..... (best possible with actually old CM11) But anyway it'll use full potential with new CM11. If somebody want it, i can release it .. or u guys wait to have it with new CM11 :)
[Galaxy Ace II Android Development] psidco:
@up dont worry,i have many time to wait sir :D ,i think will stay use cm11 until we have stable cm13
[Galaxy Ace II Android Development] Dr360r:
I think i'll never install CM13 on this phone by the way. CM11 is more than enough. Not enough physical RAM.
[Galaxy Ace II Android Development] Sylvinette:
I would like to re-flashing my phone with other CM, but you said your CM11 will be up soon, good job! I'm waiting :)
[Galaxy Ace II Android Development] Dr360r:
I think he's basically saying that he wants the new ROM to squeeze the best out of our phone, that's why it's taking so long, in addition to ROM compilation being an inherently complicated process.
[Galaxy Ace II Android Development] Fabbb2:
hey guys, i have question which is not related to the kernel, where can i find original samsung batteries ? I have bought a no name battery and it lasts shorter than my old battery that i got with the phone. And i know that there are many fake "orignal batteries".

Thank you

Wainting for the cm11 last version, thanks again to acenutzer ;)
[Galaxy Ace II Android Development] Culateralligator:
I bought this battery a month ago. It has 1700 mah and I notice the difference (+ 15% of duration on every charge).http://www.amazon.es/gp/aw/d/B00AHX...AC_SX118_SY170_QL70&keywords=pollarcell+Ace+2

If you want a cheaper option you have this battery. It's not original but it works fine, small differences on Samsung original. https://www.amazon.es/dp/B00B352AO0/ref=cm_sw_r_wa_awd_Gx7Lwb0A3DMVZ

There are other options in other webs, but I haven't tried any of then. For the original battery, maybe you have to go to official store of Samsung.
[Galaxy Ace II Android Development] ace2nutzer:
The second one maybe not original .. just too cheap. (but it doesn't mean it's crappy ... it's just luck ... )

An other important thing is too check the production date on the battery .. but unfortunately u only can see this when u've the battery on your hands... u can't see this on the product foto. Just pay attention that it isn't older than 3 months ....

older batteries will have automatically less duration. (but not much if the battery level is around 50% when u've received the battery.)
[Galaxy Ace II Android Development] Culateralligator:
I've used the cheap one for almost 2 years and it worked ok for me.

I changed that battery for the Polarcell one because it had 1700 mah instead of 1500 mah and, of course, old battery wasn't like the first day, but it was a good one.
[Galaxy Ace II Android Development] ace2nutzer:
New Kernel is Up !!

Changelog:

20160114:

Disabled LTO (wasn't clean enough)

switched from half-precision to single-precision (preciser maths results)

enabled NEON+vfpv3 in kernel as well

Use max possible hard-float FPU

Some Code Optimization

optimized FPU math operations (more precise)

(Download on FTP Server)

Also re-uploaded NT-APP on FTP Server (no changes.. only compiled with proper java version)
[Galaxy Ace II Android Development] Culateralligator:
Vanir + 29/12/2015 kernel was a bit less smooth and scrolling wasn't as good as in previous builds.

But last kernel is quite good for now.

Google Services are trying by all means to slow down our small jalopy and Ace2Nutzer is optimizing to make it faster and compensate it.

Difficult task Ace, but for now your're getting it. :good::p
[Galaxy Ace II Android Development] MrMateczko:
I've just bought a new battery, and am waiting for your CM11.

Will it be ready by March at least?

BTW, your kernel work is awesome!

Though I have a feeling that the latest one is slower than the previous one.

There are still graphical bugs in GTA: SA, on Vanir at least.

Hope everything will be fixed in CM11!
[Galaxy Ace II Android Development] ace2nutzer:
Nobody can say when it's finish .. it's compiling day/night since a few weeks. - Actually the process is working fine.

Everything is performing as aspect-. the only thing is that it takes a hell of time .. because we don't have actually an build-server.

so i'm building with my laptop .. it has only 4GB RAM + 2GB zRam and 2x 2Ghz. One complete compilation needs approx . 8 - 10 hours...

i can't say exactly because sometimes compilation stops due of missing files or bad flags ... also i've never reached to build it to 100% because of too less ram .. or problems with 32-bit system. actually this isn't a big problem .. because since i've implemented my flags it just stops compilation earlier .. so actually it'S running ... but when i'm to the point of OOM .. then i'll try to build it on 64-bit linux in order to complete the build process... but if this also will fail, then we've to wait till someone can provide an build server with at least 6 - 8GB RAM ;)

If we've much luck, maybe at the end on this month it's ready :fingers-crossed:

yeah.. this is possible .. because of disabled LTO and now it's running in single precision (more cleaner) instead half-precision .... previously configuration was more faster .. but of coast of not precise results and may and may lesser stability. Also running it @ single precision needs the double amount of RAM compared to half-precision... This is because NEON uses single precision. If we don't want to use NEON .. (and loosing the benefit of more performance and less battery draining) then we can only use vfpv3 and let it run @ double-precision ... but this is not convenient as it'll hurt performance and battery life like hell.

If somebody need more informations .. just check on wikipedia ...

Half-precision is made for Video / audio things .. but not for accurate/sensitive operations that need to be more precise.

Dunno, i've never used Vanir .. so i can't give support.

Really hope so :highfive:

EDIT: I've attached an screenshot about actually compiling status from CM11 ...

(just for users they've never see this before or never had compiling something.. ;) )
[Galaxy Ace II Android Development] Dr360r:
I hope laptop won't give up. Looks like compilation is really hard on it.

So, basically, the new ROM is ready but you cannot compile it.
[Galaxy Ace II Android Development] shaqman89:
I don't think he meant ready per se, it's just saying that compilation takes a long time, so every trial and error takes quite a while.
[Galaxy Ace II Android Development] ace2nutzer:
Yeah :D Laptop is quite old now .. it's from 2008 - 2009 .. but CPU & RAM are brand new ... (upgraded) .. up to now it's working like a charm ..

it's business laptop from SIEMENS.. so i hope it'll resist :D btw: even if it'll happen something like burned CPU or cracked HDD ... all no problem for me :o I still have here the old CPU ---> Intel Celeron 1,87Ghz single core ... and i'm doing from time to time a full-backup from my HDD to an external HDD .. so almost no risk here ;) The only thing what will give up at first is probably the CPU Fan :D because CPU is running all the time @ 100% load --- the CPU Fan is rotating nearly at full-speed all the time ... and CPU temp is all-the time between 73 - 84° C .. depends on room Temperature. But when i go to sleep i underclock the CPU @ 1200Mhz .. then it's really silent and i can sleep quite.

hmm not completely .. it's complete... but i still need to sort out some bad flags .. .. but this is nearly done .. i can feel it....

Then just remain to fix out of memory + adding patches ... then it should work :)
[Galaxy Ace II Android Development] Fabbb2:
Nice job Ace2nutzer, approximatively how many files do you have to compile for a ROM ?
[Galaxy Ace II Android Development] ace2nutzer:
ohh... i don't know how to count it ... just too much.

But in comparison: a complete flash-able .zip package: Kernel: 10MB ROM: 230MB

I can tell u how many Files the ROM source has.. but this is not helpful, because there are also many files that are not used at all ... because they are for other architectures (x86, mips, windows etc..) and there are also many files for generic stuff that we also not using.

Some interesting stats:

Kernel Sources: 616MB ...and after compilation additionally +1,2GB approx.

ROM Sources: 10,7GB and after compilation additionally + 25 - 30GB approx :D
[Galaxy Ace II Android Development] giginski:
idk why but since i intalled kernel and novathor on BBS have awaken all the time dosent go on deep sleep, so decided to go back to previous kernel and its same, maybe its becouse novathor ?, i will check novathor from dev-host, becouse i intalled from ftp.

Edit 1. After flash novathor its same, im going to uninstall BBS and instal it again. I didnt touch anything since long time, just flash new kernels and novathor. Didnt even intall new app. Only maps from google. I will try uninstall it also.
[Galaxy Ace II Android Development] ace2nutzer:
nope.. latest kernel + NT-APP from FTP is fine.

u've to wait 24 hours ... with working internet connection ... then deep sleep works normally.

Just don't reboot the Phone too often .. otherwise u've to wait again 24 hours for working deep sleep !

I hope it's fixed on new CM11.

EDIT: it's still (like always) Google play services issue ...
[Galaxy Ace II Android Development] shaqman89:
What causes this actually?

For me deep sleep is working well even in the first 24hrs, but during that time I've got more wakelock from WiFi and cell Tower. Do you think it's related?
[Galaxy Ace II Android Development] ace2nutzer:
EDIT: it's still (like always) Google play services issue ...

Strange.. which rom/gapps/kernel are u using ???
[Galaxy Ace II Android Development] shaqman89:
I'm on vanirkk, currently on ChronoMonochrome 's kernel, with and using gapps from your dev host.

Yeah, I guess it is always that play services issue lol.

I have a lot to complain about that lately.
[Galaxy Ace II Android Development] Culateralligator:
Vanir+Ace's kernel and no problem with deep sleep at all. I have HDPI_mini-gapps-kk-20151118-signed.zip.
[Galaxy Ace II Android Development] ace2nutzer:
okay then the problem is completely only on my ROM's ... so that's why i said i hope it's fixed with new CM11 ;)
[Galaxy Ace II Android Development] giginski:
in my case it was Google play services problem, but anyway baterry drain on this kernel is worse then previous, usually when I am at work read New on web, after 8 H i have like 60 to 75 % left, now i have 46, bbs shows awaken only 26 min. i will test it for few days, and stay or go back to previous. thx, hope all goes well with cm11 i also w8 for it. gl mate
[Galaxy Ace II Android Development] ace2nutzer:
i don't think it's kernel related.. i didn't change Voltages or Frequencies for CPU/GPU.

I think it's related to battery or signal quality.

Usually i'm using my phone @ home with w-lan + 2G (good signal) only. and battery life is still good with 3 years old battery (original one)

Now i'm making an experiment by using the phone all the time with 3G (bad signal) only ... the battery draining is much higher ... it drain even much battery when the phone is in deep sleep ! also if i don't use the phone at all.

This is not an issue... bad signal quality is extremely bad thing for battery life.

And even more painfully it's if u guys are using the Phone in 2g/3g auto-modus .. this will drain maximum battery .. due of too often switching between 2g and 3g.
[Galaxy Ace II Android Development] shaqman89:
Yeah, I really understand bad signal effects here in my area. Even 2g is bad here at certain locations and it really does effects battery life. This is even worse when it's constantly connecting and disconnecting from the connection, since some apps have some activities on network state changes.

In my case: 3g always on, with my normal usage, I could only use it for 14-18 hrs per charge.

With 2g only, it's like 24-28hrs per charge.

And without Internet, so just for text, calls and audio books, it could last 3-6 days.

The difference is so visible, but it is using the standard battery.
[Galaxy Ace II Android Development] ace2nutzer:
yeah this is normal ... but anyway not so bad ! In my case it drains more battery ... maybe i'll need to buy soon a new battery .. but then 1700mah one :)
[Galaxy Ace II Android Development] Dr360r:
This is one of the very reasons i don't trust auto-things at all.
[Galaxy Ace II Android Development] giginski:
Anyway i went back to previous kernel, yesterday i charge my battery to full and during all night it goes down to 86 %, when on previous kernel goes down like 3 %. I need keep an eye on it.
[Galaxy Ace II Android Development] shaqman89:
Oot a bit. But I love automation if done right. :)

I love Android for that part. Currently I use Llama for some of those automation.
[Galaxy Ace II Android Development] manthes:
Guys thanks for your kernels and your roms. I am leaving topics about ace 2 because i ordered Lenovo vibe p1m.
[Galaxy Ace II Android Development] xkvegans:
Hey I had some issues, sometimes my device suddenly hot, and flash / blitz camera turns on by itself, then when it's been like that my phone very laggy and very slow response, even when I press the power / home button only back and menu buttons are lit, but not for screen / wake up to the lock screen (it would be wake up, but can't predicted).

[MENTION=5840412]ace2nutzer[/MENTION] or anyone else can give a solution for solving my problem?

Thanks before
[Galaxy Ace II Android Development] ace2nutzer:
i would try completely fresh installation.

flash: (only for i8160 !) (for i8160P u tell me !)

wipe data and format system.. also sdcards (vfat)

3-parted russian Stock GB ROM over ODIN

latest Stock JB ROM

temp.cwm

wipe data and format system.. also sdcards (vfat)

then flash in a row without rebooting:

latest CM11 (ftp)

gapps (dev-host)

NT_APP (ftp)

kernel (ftp)

reboot system
[Galaxy Ace II Android Development] Sylvinette:
This is for what installation?
[Galaxy Ace II Android Development] ace2nutzer:
This is for user xkvegans ...

This is needed when we've sometimes really weird issues with the Phone.

With this installation method everything is fresh installed .. also if there are maybe some infects like viruses then this will kill them all ;)
[Galaxy Ace II Android Development] [-GuTi-]:
No need to flash 3 parted GB, we have 3 parted JB(Polish version)

Tnx to mobilekilleer from 4pda

Download:)
[Galaxy Ace II Android Development] ace2nutzer:
@up

thx for providing the link, but this shouldn't make any difference, because after any 3-parted u'll need to flash latest JB ROM .. in order to have latest Baseband.
[Galaxy Ace II Android Development] xkvegans:
Thanks for the instructions,

But, for a while I have tried to UV cpu -25mV and using zRam setting = 100 and now showed slightly better results.

If the issues appear again, then I will do the fresh installation.
[Galaxy Ace II Android Development] ace2nutzer:
okay this is fine.. maybe a problem with too low RAM.. so increasing zRam of course can help.

Otherwise by problems with FC/reboots/freezes maybe OV CPU can help, i just remember u guys that the CPU is UV by default. (25 - 50mV)
[Galaxy Ace II Android Development] psidco:
Does anyone know how to disable new playstore wake up service without fc ,its really eat my juice :confused:
[Galaxy Ace II Android Development] shaqman89:
Rather than disabling, make it less frequent using Amplify.
[Galaxy Ace II Android Development] Culateralligator:
I'm using Amplify for 6 months and I can say it improved a lot battery life and smoothness of my phone. I'm also using Greenify and PowerNap.

There are 2 good guides on XDA to use amplify properly.
[Galaxy Ace II Android Development] shaqman89:
It doesn't take too much ram, so it's okay.

As for battery drain, it actually helps on improving it.

Just like what @up says.
[Galaxy Ace II Android Development] psidco:
I just think if we can just use script / what our phone have to do that without 3rd party app ,but thanks bro
[Galaxy Ace II Android Development] [-GuTi-]:
ace2nutzer, will your future ROM support f2fs?
[Galaxy Ace II Android Development] ace2nutzer:
no, because it needs also kernel support. But maybe will work with Chrono-kernel if somebody need f2fs.

I'm also compiling ART ... if it'll work properly - u'll have it, otherwise i'll delete it ;)

btw: actually i'm still compiling the ROM on my laptop .. user arroyo have working VM machine for me, but there is a problem with SSH Server configuration.

If somebody has an powerful Laptop or PC with at least 4 x 2Ghz - 6GB RAM - 6M internet-connection - min. 60GB free on HDD - VM with lubuntu 64-bit 12.04 or higher, so pls PM to me.
[Galaxy Ace II Android Development] nikolas1274:
Free version of amplify?

Link for powernap

Thanks

Στάλθηκε από το GT-I8160 μου χρησιμοποιώντας Tapatalk
[Galaxy Ace II Android Development] Culateralligator:
You'll need donation version (2€). Free version is useless.

I think you can find cracked version on Aptoide.

For PowerNap you have to join Google+ community, opt to be a tester and you'll be able to download it from Google play store. It's quick. Also you can get it from Aptoide if you don't want to join Google+. Just search PowerNap 0.7 version. I think it works only with SuperSU.

If you finally install them, I can tell you a good and easy guide for Amplify and how to configure PowerNap.
[Galaxy Ace II Android Development] shaqman89:
Just a friendly thought, xda rules prohibit us from talking about Warez.
[Galaxy Ace II Android Development] Culateralligator:
Thanks. Well, I paid for Amplify donation version.

I think this app is worth more than 2€ it costs.

So, don't crack it, buy the app! :D
[Galaxy Ace II Android Development] nikolas1274:
I donate for amplify, can you tell me about the guide?

Thanks

Στάλθηκε από το GT-I8160 μου χρησιμοποιώντας Tapatalk
[Galaxy Ace II Android Development] shaqman89:
One that I found quite useful is this: http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884
[Galaxy Ace II Android Development] Culateralligator:
That's the guide I followed.

When you finally have setup Amplify, if you want you can add blocking all Services which contains any of the words "ads, analytics, reporting, wearable or fitness".

I don't use running apps or smartwatch that may malfunction when blocking this services.
[Galaxy Ace II Android Development] hanker_de:
Hello!

A friend of my wife is currently on build 20150422 and we would like to update the phone.

Which build would you recommend for maximum *stability* and battery life (I'm always reading about bugs and battery drainage in the newer builds)?

Thanks in advance

René
[Galaxy Ace II Android Development] shaqman89:
Unless stated otherwise by developer, I would always go with the latest build.

Between speed, stability, and battery life, there is always a compromise. So, the so-called battery drainage (I) wouldn't call as a bug if it increases speed & stability by much and still sustains a whole day usage.

In this case, most a2 kernels seems to offer that on typical usage.

That being said, try out the last version and feel it yourself.
[Galaxy Ace II Android Development] ace2nutzer:
Good News !

Since 2 Days we've an good Server thanks [MENTION=5701712]shaqman89[/MENTION] .. so this should make things much faster ...

we''re compiling with 4x 3,3Ghz & 12GB RAM :D

Yesterday i was able to test the first successfully build .. and it looks not so bad ..... however there are some bugs that i hope we can fix it.

Also we'll need to make repartition... because new ROM is bigger (less compression)

I'll provide adapted cwm-repart.zip for this ROM... and maybe wipe data will be also needed.

Can somebody please already search for the latest GAPPS ?? then i can test this as well..... be sure to find PICO gapps, or if hard to find then just MINI.

Also i'll include some useful Apps (no warez) ;)

THX !
[Galaxy Ace II Android Development] [-GuTi-]:
Nice!

Old repartion for ext4 is not good for this?

Here you will find latest Gaaps:)
[Galaxy Ace II Android Development] bebolint98:
Maybe this is the latest gapps: http://opengapps.org/?download=true&arch=arm&api=4.4&variant=pico, I found it here: http://xdaforums.com/android/software/pa-gapps-continuation-t3098071 . As I see [MENTION=5701787][-GuTi-][/MENTION] overtake me.:)
[Galaxy Ace II Android Development] Dr360r:
[MENTION=5701712]shaqman89[/MENTION] Our Saviour!

Hope repartitioning is a painless-brick risk less thing. If there's no need to, and i just can move any heavy app to sd via Link2Sd, even better.
[Galaxy Ace II Android Development] shaqman89:
Don't worry about it. Just happy to help :)

Anyway, I don't think re partitioning would be a big issue, I've done it plenty of times and thanks to backups, without losing any data. Main question is, are we so far behind the actual final snapshot of CM11 that we might not be able to use our old data?

Hopefully, it's just a matter of wipe cache/dalvik but retaining all data :D
[Galaxy Ace II Android Development] Dr360r:
If i'm not wrong you could wipe /data also, and then restore only /data (together with /sdext) from the last backup, through "advanced restore", after flashing the ROM and doing everything else. Anyways i still think Link2SD is safer, but if new ROM won't even install if i don't repartition then i guess i'll repartition...
[Galaxy Ace II Android Development] shaqman89:
True. But in some cases, it would give issues due to difference in database structure or other stuff.

Usually it doesn't happen to all apps though.
[Galaxy Ace II Android Development] Dr360r:
Another thing: why Pico and not Full or Aroma? Due to the aforementioned compression issue, right?