yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
Yeah ... i just forget to merge an patch for this, btw the patch only changes this date in settings .... but security level is anyway from april/latest cm sources !

If u feel it's strange to see the wrong date, u can it correct by hand by simply editing build-prop :)

Anyway i've applied it now + updating again cm sources + applied a lot of binary code optimizations to the ROM ...

So next build (actually compiling on build-server) has a FULL set of optimizations .... finally :D

I've even managed to apply Graphite Optimizations to the whole ROM.

And there is even partially LTO enabled in the ROM .. ! (target_arm)

And for the rest (target_thumb) it's without LTO ... but it's probably possible to apply it as well .. but it requires some patience since i'll need to disable by hand LTO for some libs that can't handle it (causes compiling error)

So long ..

stay tuned :o:D

PS: Of course i'll need form u Guys a few Reports of latest ROM (in arrive --> 23/04 ... not the 20/04 ! ) so pls not only from [MENTION=6902149]Dr360r[/MENTION] :D

Pls test everything ! Even exFat and ART !!

Because it's highly possible that some extremely code optimizations breaks things !

Usually i've ONLY applied optimizations that are FAIL-SAFE .. like on latest kernel here !

Anyway .... because the ROM is more sensitive .. and we've to build with its old (and probably buggy? lol ) GCC-4.7 that comes from Google, is code breakage possible !

Also it's full optimized at -O2 + ARM-Mode.
[Galaxy Ace II Android Development] ace2nutzer:
1 year ago i had exactly same SOT like u ... but with original 1500mA battery .. now it's too old .. it lasts only 4 - 4,5h.

And all this with NO greenify or other apps that should improve battery draining.

U all can improve battery by your own .... there is really no need to use some guides or some apps like greenify.

If everything works good, the only thing u've to keep attention is only following:

Try to use at home only this set:

Wifi on, mobile data off, ONLY 2G (NOT Automatic 2/3G ! )

of course turn off other thing that u don't need actually like: BT, NFC, Compass ...

GPS, ... (set location to powersave-mode ... this is almost enough)

Make sure Signal Quality of wifi + 2G is GOOD ! - IF 2G is poor, try it with 3G ..

(in all cases choose always MANUALLY the best Signal Source ... (2 or 3G)

Outdoor:

Wifi off, mobile data on, ONLY 3G ! (NOT Automatic ... )

Switch off BT, NFC, Compass GPS, ... (set location to powersave-mode ... this is almost enough)

In all cases: use only as low as possible LCD Brightness .....

Use your Phone with kernel Defaults, use Powersave or Balanced Profile.

High - performance profile is NOT recommended for long battery lifetime (WTH ? :D )

In other words: efficiency with anything above "Balanced" freqs for CPU+GPU is really bad.

(for battery life at least) ;)

If u've understand them all, u'll see that it'll make no difference at all if u've greenify installed or not.

Also keep in mind: The more (useless) Apps u've installed, the less RAM u've for important Apps ;)

So far only bad Apps are Facebook + its "Messenger" ... they are sometimes causing 100% CPU load for NO reason ....

But at least it's only for a few minutes ! :)
[Galaxy Ace II Android Development] IAmLucky:
greenify not only improves battery life but also freezes all apps in background so phone is even faster. Though, noticed that facebook+messenger gets wake up anyways. Though, outside i cant use only 3g network, because it is very rarely work, mostly getting 2g network. Rip.
[Galaxy Ace II Android Development] Dr360r:
Tested 160423. Amazon problem still here. Did 150714 have the same issue?

Switched to ART and used basic apps. Stable. Reverted to 160420 backup.
[Galaxy Ace II Android Development] heml0ck:
can someone help me.. i accidentally flash the file attachment in top then my phones goes wrong.. im in vanir rom when i flash that attachment.. then i switch back to stock rom but my phone stock in samsung galaxy ace 2 logo not in boot animation.. and when i go to recovery mode there are many errors.. i know its my fault for not reading but someone please help me to fix my phone:crying:
[Galaxy Ace II Android Development] lab34:
Hi,

yes, I'm on 20150714 with the last kernel, images are not showing properly on amazon websites (com and fr). With stock browser and naked browser.

but you didn't answer my question ;)

because new kernel + old rom are those on the first page

because installing the new rom appears to be more tricky than installing the kernel

because the facts about the partition table in some previous posts don't appear clear to me

Can we put the new rom over the old rom without repartitionning, without wiping, etc... ?

Thank you.
[Galaxy Ace II Android Development] Dr360r:
Yes, you can flash the ROM with stock partition table, just use Link2SD to link heavy apps to the SD card secondary partition and you'll have no problems with not enough space.

It's not that tricky. You just need to understand how to format a partition and then install something into it, through CWM Recovery. You first need to wipe data and do a factory reset, after doing a major backup of things such as calls, messages, notes, apps (perhaps, do a nandroid backup of the old ROM, so you'll never lose the important data). Then, unmount the /system and /cache partitions (move on "unmount /system" through the volume buttons and then press the power button and, if it has been unmounted, it should say "mount system". The same with /cache). Unmounting allows you to format the /system partition (go down, press "format /system"). Then, mount /system and /cache (move to mount /system and press power button). Mounting allows you to install something in the partition. Go to the main CWM menu, install the new ROM, the new kernel, the NT app and the gapps and reboot to system. Wait because it will take some time, don't start thinking it's some bootloop because if you do what i say it boots up regularly. That's it.

You can't put the new ROM over the old one without wiping and formatting. It will not work properly. But you don't need to repartition, at least for now.
[Galaxy Ace II Android Development] Culateralligator:
I'm currently using Facebook Lite -4Mb- instead of Facebook -290Mb- + Messenger -90Mb-.

It's not a bad app, it has improved a lot for the last months. You have Facebook instant messaging with notifications incorporated on the app.

Phone runs way much better with this.

You save battery+a lot of RAM+a lot of data.
[Galaxy Ace II Android Development] Dr360r:
I have Metal.
[Galaxy Ace II Android Development] Culateralligator:
I'll take a look on that.
[Galaxy Ace II Android Development] heml0ck:
someone please help me..
[Galaxy Ace II Android Development] Culateralligator:
Copy/paste of the message I wrote in AOSP 6.0.1 thread.

This is the way I do it:

1- Flash Ace2Nutzer's kernel. Advanced/ Power off. Reboot manually on recovery again.

2- Flash CWM Reparted zip.

3- Power Off and reboot manually on recovery once again.

4- Now you have a lot of "can't mount" error messages, it's normal. Format System, Data, SDcard0 and Caché.

5- Now,you can flash a ROM or restore Backup.

If this doesn't work, or even you don't want memory repartitions, Ace2Nutzer has a method to get original stock partitions...

Or you can flash a 3 files stock ROM, which leave your phone as a factory device.

---------- Post added at 01:57 PM ---------- Previous post was at 01:10 PM ----------

Thanks for all these advices. :good::D

Actually I always follow all these tricks you detail, it's very efective.

I use Greenify, but modifying alarms. It only works every 30'. I preffer this becouse I don't want apps opening and closing all the time... Finally it drains more battery. And when I'm not using phone, past 30', All apps selected go to sleep. :D

And, of course, I don't greenify apps I use all the time.

Well, I like Greenify because sometimes phone slows down due to my RAM usage and it let me solve it quickly with instant hivernation widget.

I know it's not optimum having a lot of apps installed, but I don't like freezing/defrosting apps with Titanium every time I need them.

As I said, I don't want Greenify closing all the time all the apps, just which I consider usefull for my usage. :good:

That apps are... trash for this phone. I use Facebook Lite. It consumes less battery.

I have more than 30 external apps installed, but I think the main problem are Whatsapp, Hangouts and Facebook Lite -because of its integrated messenger-.

But I use them a lot, so I get more battery drain.

For true battery save, Amplify is the app. But it must be properly set.

When I'm not using this app, SOT with same usage it's no longer than 5 hours with this 1700 mah battery.

And with proper services I don't use blocked, ROM it's even a bit smoother.:D

PS: I'm impressed on how new ROM/Kernel saves battery.

With a lot of customization, it's faster than J-Team AOSP and it drains same battery.
[Galaxy Ace II Android Development] Dr360r:
Bluetooth broken on 160423 (but not 160420).
[Galaxy Ace II Android Development] beardedpanda:
Formatting sdcard0 to exFAT is stable. No crash for now. ART for my device is very sloooow. I can't do anything on the phone.
[Galaxy Ace II Android Development] ace2nutzer:
It's probably i global issue .. not only on this ROM.

But so far, i didn't update that lib.

(i'll try it out after we've fixed Sound Codec + BT issue)

I think this bug is only not present on stock ROMs from Samsung.

Thanks for testing.. but u forgot to test BT .. it's crashing again :D

And also some audio encoder is broken.

Please install this App:

https://play.google.com/store/apps/details?id=com.pgame.nes.emulator&hl=it

and every time u test test-builds .. just open this App and run the Game 07: BROS II

On actually build, then sound is completely cracked ....

So now i'll build some Test-builds ...

there u only need to test Bluetooth and running the Game BROS II in order to check the Sound :)

Other than that everything seems to works properly .. (i'm on 23/04 build)

it should work .. try it ...

honestly i'm running the new ROM over the old stable one .. fro mlast year without wiping data .. and so far there is no problems that i faced. If one or two app will FC .. just wipe data of that FC apps and there u go ! -. No Problem.

ah okay u noticed it later ... ;)

thanks for testing exFat .. this is a good sign that it works ... that shows that the Code is not that much broken :)

I just remember me .. 1 - 2 years ago when compiling the whole ROM with -O2 + ARM Mode .. every time exFat + ART + Camera was broken .. and "needs" specially tricks to make it working. Now the Code is clean enough that it works fine even without patching :)

BTW: Let it run for 1 hour .. then test ART again ...

it just needs some time until every app is fully optimized :)
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION]

I mess up with the ROM so I reinstall it from the stock JB now exFAT isn't working and Camera is crashing. It won't safe screenshots now too so I think that "patch" you mention is needed.

Bluetooth for me isn't working too.

Sorry for inconvenience.

Now I test ROM with Open Gapps pico version. I want to figure out what causes that missing notifications from TapTalks based apps.
[Galaxy Ace II Android Development] ace2nutzer:
@up

test 20/04 too. if there exfat was working.

then test again 23/04 ... if exfat works.

Only use files from my FTP ...

use this gapps:

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GAPPS/
[Galaxy Ace II Android Development] lab34:
Just my two cents for facebook+messenger:

If you're not an addict to facebook, but use it time to time, this two apps will do the job:

Tinfoil for Facebook (450kb) : a sandbox for the mobile website.

Notifications for facebook (100kb) : to be notified about Messenger new messages (you click on the notification, it launches Tinfoil...).

They are light and don't eat battery.

Availables on F-Droid.
[Galaxy Ace II Android Development] ace2nutzer:
hmm sounds not so bad !
[Galaxy Ace II Android Development] ace2nutzer:
There u go ! :o

Right now compiled the "real" turbo-kernel !

The Commit:

https://github.com/ace2nutzer/Samsung_STE_Kernel/commit/2df619614cfffda60f5a754aa6b51e563a41b66a

Also it'll run @ single precision instead of double-precision. (improves speed too)

Download:

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/experimental/

btw: new 23/04 ROM is coming ... [MENTION=6902149]Dr360r[/MENTION] u know what to do :D ... only test BT + NES Emulator for Sound.

Just check from time to time the FTP-Server. - Thank u ! :good:
[Galaxy Ace II Android Development] lab34:
Ok, I did it... :)

First, I flashed the new rom over the old one. No error, but it did nothing...

So, I format /system, install the rom, the kernel, the i8160p converter, novathor, and reboot.

All the app were here, but the baseband was lost !

Fortunately, a long, long, time ago, I did a backup ! so I have restored it and baseband is here now.

You know: nv_backup.zip, nv_restore.zip, don't remember how and where I found that...

And everything seems fine now.

Thanks Ace2nutzer and dr360r.
[Galaxy Ace II Android Development] Dr360r:
Did you also format /modemfs? You lose the baseband only by formatting /modemfs or installing the ROM over a GB stock ROM.
[Galaxy Ace II Android Development] lab34:
no, because I remember to never format modemfs... just /system ! strange...
[Galaxy Ace II Android Development] ace2nutzer:
U really Sure that u've NFC Version at all ? :D
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION]

On 20/04 exFAT works on 23/04 build not.
[Galaxy Ace II Android Development] lab34:
hmmm... NFC is not working... it was working with the old rom.

Not a big problem, I don't use it...

My baseband is I8160PXXMF1
[Galaxy Ace II Android Development] lab34:
the problem with nfc, is that:

- if I flash everything but NFC, restore my baseband: I don't have my baseband

- if I flash everything with NFC, restore my baseband: I have my baseband, but I have a wakelock "nfcService:mEeWakeLock" and zero deep sleep :crying:

I will try to disable the service (I cannot untick the nfc box, it retick itself)
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for this INFO. Maybe [MENTION=6902149]Dr360r[/MENTION] can test exFat too ?

_U just need to repartitioning the external or internal sdcard ... then u've 2 partitions on same card ..

then just make one partition as fat/or vfat .. and the other one as exFat. and test if u can save an file .. and test if it can read the file.

IF u can't do this, then please tell [MENTION=7332124]beardedpanda[/MENTION] if he is willing to test coming test builds for working exFat :)

impossible thing... flash this again:

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/CM11/codinap/

only this now .. don't flash other thing or wipes.

then Baseband + NFC should work.

btw: i've to mention this Tee Folder is coming from Stock MG2 ROM ! So if it'll again not work, u've to Flash first Stock ROM MG2 ... for P-Model of course :)

btw2: after Fixing those 3 Bugs caused by Code Optimizations, then remains:

Trying to fix Broken Pics on Amazon

Updating LCD-Driver (Maybe if better)

Yeah... and that's it ! Then i can Build Full-Package ... ---> Final CM11 :)

EDIT: New Test Build is right now uploading .. so it's in some Minutes up !!!
[Galaxy Ace II Android Development] Dr360r:
Experimenting with the experimental kernel. So far, everything ok.
[Galaxy Ace II Android Development] ace2nutzer:
Great :)

Please Report after some time of use if it's really faster than latest normal kernel... thanks :good: :)

EDIT: More Informations about the used flags for turbo-kernel .. u can find here:

https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gcc/Optimize-Options.html#Optimize-Options

(Some Posts ago i've posted the Commit for the experimental (turbo-kernel) kernel .. there u can see the used flags for that exper. kernel ;)
[Galaxy Ace II Android Development] Dr360r:
I'm sorry, i'm afraid i don't speak Kernelish.
[Galaxy Ace II Android Development] ace2nutzer:
What is kernelish ? haha

btw: did u test new 23/04: ?

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/CM11/codina/
[Galaxy Ace II Android Development] Dr360r:
Yes. Tested. Bluetooth still broken. With NES Emulator and 07 you hear the music, but it sounds like an old TV with low signal (distorted sound).

Less lag with experimental kernel.
[Galaxy Ace II Android Development] beardedpanda:
In new build I format sdcard0 to exFAT and still not working.

In storage manager it shows only app data and apps size on the sdcard. Return to the vFAT.
[Galaxy Ace II Android Development] ace2nutzer:
ok.. thanks :)

Yes this is what i mean .... this is caused by Code Optimizations :)

Anyway in 30 Minutes next build is online .. it' ll just override the one from 20:40h
[Galaxy Ace II Android Development] lab34:
Thank you. I have flashed the file again and it works now.

I have tested with my company coffee tag. I can hear the beep.

No more wakelock.
[Galaxy Ace II Android Development] shaqman89:
I agree. Best ROM I've tried so far. Hopefully it could still be better *grin*
[Galaxy Ace II Android Development] mjnmd54:
bootloop after flashing

i tried flashing this on my current ROM but I got a bootloop. any help pls?
[Galaxy Ace II Android Development] shaqman89:
Have you tried wiping cache and dalvik cache?
[Galaxy Ace II Android Development] Peedy2495:
Hi,

I installed your latest f2fs-image over a virgin XXMG2 (fresh flash).

After proceeding all your decribed steps (Post #3) my ace2 hangs on boot.

So, I went back to recovery and it told me some lines like can't mount or open /cache/recovery/...

after restoring my backup again, I'm able to boot.

Displaying the mounted devices via terminal told me, that system,data and cache are mounted as ext4.

Any Idea?

My gouvernor-report:

I monitored my CPU-States and found out, that if my AC-Adapter is plugged in, in idle the CPU works [MENTION=1989751]400[/MENTION]MHz, without any supply the CPU goes into deepsleep.

200MHz is unused, max. 800MHz and all steps will be used on demand.

Greets ... Peedy
[Galaxy Ace II Android Development] BastiZ:
Why do u installed an old image?

There are some newer one. Check sammobile
[Galaxy Ace II Android Development] Peedy2495:
First, I had TeamCanjicas 08/07 on board, same issue there ... but by bricking my phone on a next step by a failed restore after repartitioning I flashed via adb an already downloaded stock-rom.

Today, I tried it again first with the actual ext4-version, and then with the f2fs-version ... also the same prob.

So, now u got the hole story ...

Greets ... Peedy
[Galaxy Ace II Android Development] shaqman89:
The issue when you can't mount is usually coz it's not formatted yet. Try to format Cwm after you partition via adb
[Galaxy Ace II Android Development] Peedy2495:
I don't think so, because the right cwm was present with the f2fs<->ext4 migration option whitch I have had everytime selected followed by formatting all three partitions with f2fs.

Additionally the errormsgs where related to /cache and not to cwm.

Nevertheless ... tnx for your answer

Cheers ... Peedy
[Galaxy Ace II Android Development] nikolas1274:
[MENTION=5840412]ace2nutzer[/MENTION]

Hello i try to change at art but i had FC to many apps, i have reparted with chrono method and i have:

system 612M (13.5M free at dalvik)

data 2.7G (379M free at dalvik)

cache 305M (295M free at dalvik

internal Sd 48K

i am using your kernel (ext4) + CM11 + PA mini gapps what do you think that is the problem?

thanks
[Galaxy Ace II Android Development] Matteo90:
ART needs quite a bit of more space than Dalvik. I suggest you try uninstalling some apps from data and flash a smaller gapps package.
[Galaxy Ace II Android Development] denisq:
The rom runs quite smoothly do far (except sometimes slow reaction with taking and ending a call). However, I have observed network issues (preventing some incoming calls to ring and delaying SMS reception) and I am wondering whether it could be related to the ROM or if it is simply some operator/coverage problem recently.
[Galaxy Ace II Android Development] tbronco75:
Hi Shaqman, what is the s6d driver? Sorry for this question...

---------- Post added at 10:09 PM ---------- Previous post was at 10:02 PM ----------

do you think, you can resolve with your next update mightly the black screen bug?

do you know when the update will come?
[Galaxy Ace II Android Development] tofueatsbread:
No diff -.-
[Galaxy Ace II Android Development] MrBlackCore:
Ace2Nutzer, does your rom and kernel support USB OTG ?
[Galaxy Ace II Android Development] tofueatsbread:
Afaik smth isnt connected in our motherboard and we cant use otg :/
[Galaxy Ace II Android Development] Hummer951:
+1 I`m using Rox`s 07082014 CM11 and [MENTION=5840412]ace2nutzer[/MENTION] kernel 20141119. When i turn off wifi and turn on mobile data I get a pop up notification saying "Unfortunately, the process com.android.phone has stopped". When i click ok, i lose mobile data and also my network connection. Also i notice that in Settings>Mobile networks>Preferred network type keeps changing from 3G to 2G. When i switch back on my wifi, my network connection returns again. Never had this happen before. Any ideas?
[Galaxy Ace II Android Development] soko3:
wipe data/factory reset

format system

flash newest ROM

flash gapps

it works perfectly

i had same problem, and after this procedure everything works perfectly

[MENTION=5840412]ace2nutzer[/MENTION]

battery dropped to 0%, and phone turned off

after turning on, charging isn't working again and i had to repeat procces from post #3

is there any chance to fix charging soon?
[Galaxy Ace II Android Development] shaqman89:
If I am not mistaken, it's a driver that helps on display. If you have it you might need a specific version or fix so it could work.
[Galaxy Ace II Android Development] Dr360r:
Sorry [MENTION=7332124]beardedpanda[/MENTION], i can't test exFAT. Could you keep testing it, please?
[Galaxy Ace II Android Development] ace2nutzer:
ok the build is up .. let's go :)
[Galaxy Ace II Android Development] beardedpanda:
Yes :)
[Galaxy Ace II Android Development] shaqman89:
Writing this with experimental kernel. Will see if it really improves speed :)

So if I am understanding this correctly, kernel is compiled with a modified ofast, right?
[Galaxy Ace II Android Development] Dr360r:
[MENTION=7332124]beardedpanda[/MENTION] thank you!

[MENTION=5840412]ace2nutzer[/MENTION] The latest build still has the bluetooth issue. About the mario one, do you hear only static/heavily distorted sound or a music with an 8 bit like feeling to it? I hear the latter. Could it be meant to be that way? I find that the cracking like noise is the drum beat.
[Galaxy Ace II Android Development] Culateralligator:
Testing experimental kernel for a pair of hours. Early to have any conclusion, but for now it's stable and a bit smoother/faster.

Battery drain seems to be quite good.
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION]

Bluetooth still crashing, sound in videos (tested in snapchat and messenger) sounds normal but "bips" sounds etc. sound like be "blurred" or was fast-forwarder x3.

exFAT still not working.
[Galaxy Ace II Android Development] Dr360r:
Effectively, in 160420 the mario "melody" sounds less blurred than in 160423. Tomorrow i'll check better.