yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] Dr360r:
When i decided that i had enough of the stock ROM, the first thing i did was read a lot about how to install a custom ROM, then i checked if the baseband was right (i had XXNA1 ROM, the latest for my region). I then did a backup of everything, put the relevant ROM file in the external SD, then i went to stock recovery and i first did a factory reset/wipe data, all of this with the stock kernel on (so i can't replicate your custom kernel situation). Then, i flashed a temporary CWM and from there i wiped dalvik and then i flashed the ROM, the CM10.2, which had the all the mount/format scripts. I couldn't tether with it so i flashed Rox's CM11. It had a lot of bugs so i learnt of Ace2nutzer's ROM, downloaded it, did the same and started following the project. This late February ace2nutzer started releasing test ROMs without the mount/format scripts and i started formatting /system and the like. That's all.
[Galaxy Ace II Android Development] IAmLucky:
does current latest ace2nutzer rom has setup wizard?
[Galaxy Ace II Android Development] Dr360r:
No setup wizard.
[Galaxy Ace II Android Development] kuba130000:
Hello.

Why ace2nutzer kernel does not work with MIUI 6 by PolishVodka?

The rom is KitKat 4.4.4.
[Galaxy Ace II Android Development] dimon130:
ROM 13/03/16 suitable for everyday use, or need to wait for final assembly?
[Galaxy Ace II Android Development] Dr360r:
Definitely suitable for everyday use, just a little more tricky to properly install.
[Galaxy Ace II Android Development] garak elim:
[MENTION=5840412]ace2nutzer[/MENTION]

Could you build deodexed version too. Please. It's hard to customise install.

Thanks.
[Galaxy Ace II Android Development] IAmLucky:
so for latest ROM version same flashing ?
[Galaxy Ace II Android Development] Dr360r:
Better doing that everytime you flash a ROM, even if it has format/mount scripts.
[Galaxy Ace II Android Development] ace2nutzer:
correct, but if u do wipe data, then wipe cache + dalvik is inclusive ;)

Another thing, it seems that u all can flash gapps in a row now ... no problems anymore so far :)

Now next step is to re-add all my optimizations step by step ... so it's possibly on next builds that there will re-appear some bugs...

Well i think it would be best if [MENTION=6902149]Dr360r[/MENTION] will test next builds since your phone seems to be very sensitive :)

If u're okay to do this and help, u only need to test everytime the following:

CPU-Z , SpiritFM

Maps and Camera

if they FC :)
[Galaxy Ace II Android Development] Dr360r:
What did you exactly change to make Maps no longer close without reason?
[Galaxy Ace II Android Development] IAmLucky:
just updated to latest version. I can't install xposed framework

i was able to do so in old stable version O.o
[Galaxy Ace II Android Development] ace2nutzer:
i've just changed GCC from 4.9 @ 4.7 :)

The problem is acutally i don't know if it was just broken or the 4.9 is basically the problem itself.

So actually it's recompiling with GCC 4.9 just redownloaded from google server again ... just to make sure it's ok now. :)

Other than that, nothing changed... so acutally no hardly optimized :)

But very soon .... then it's final build ;)

I'll try to fix in the overnext build ... because next build is already in compilation :)

but try to wipe the mentioned Cache Foler .. in /data/data ....
[Galaxy Ace II Android Development] brewzip:
I need some help. I have a stock JB rom, with CWM recovery installed. From here, I have wiped cache / data, then selected to install cm-11-20160313-UNOFFICIAL-codina.zip (or the 20160312), but seems like nothing is installed, because the process completes in seconds without showing any text.

If I try to install the opengapps, it return error 20, because the 4.4.x rom is not installed.

What am I doing wrong?
[Galaxy Ace II Android Development] IAmLucky:
wiped /data/data/exposed installer folder/cache and it gives same issue... Maybe it needs root access? cuz it didn't even asked me for root access... Any suggestions how to manually give it root access?
[Galaxy Ace II Android Development] ace2nutzer:
http://xdaforums.com/showpost.php?p=65821478&postcount=3814

just say Yes on cwm recovery .. it'll fix missing root.

Then u've to enable root in developer settings ... if it's enabled .. then just disable and re-enable again .. after this, the phone is fully rooted .. native superuser app will ask nothing .... because su binary from cwm isn't compatible with native super user implementation. But System is fully rooted anyway .. and everything should work ... u even can check this with root checker apps :)

So i think u're right ... sounds like missing root :)

(i never used xposed, because cm11 is already good enough for me :) )
[Galaxy Ace II Android Development] psidco:
Fresh rom +gapps+art is damn smooth ,hope the deodex version will available soon ,and since the kernel is final can i request new kernel with enable debug sir? I debug my app through logcat app ,hope u understand,TIA
[Galaxy Ace II Android Development] ChronoMonochrome:
Thanks for reporting, this is exactly what I was searching right now, lol :)

It should be much easier to find what makes library libandroid_runtime.so binary incompatible with the app_process, thanks to the log provided above. I believe, some people that reported that Xposed is not working on my OmniROM build, because of exactly same problem.

P.s. never was using xposed on omni either, but this is offtopic here.

[MENTION=5840412]ace2nutzer[/MENTION], most likely this is caused by AndroidRuntime changes introduced by October 2015 security bulletin patches, by this change specificallly: https://github.com/CyanogenMod/andr...046#diff-cc8de8214e04b1571d665a8ef7fdc613R810 . Because to function AndroidRuntime::start was added a new parameter bool zygote, Xposed's app_process can not find the old function symbol anymore in libandroid_runtime.so. Can you try reverting this change and see if it helps? I would try it, but as you know, for now I'm not on omni.
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for attention !

Of course, i'll try it out :)
[Galaxy Ace II Android Development] golden-guy:
Chrono is right, I have applied this patch to my KK builds to keep the legacy symbols: https://gerrit.omnirom.org/#/c/15695/
[Galaxy Ace II Android Development] brewzip:
I've followed the process, but my phone doesn't boot in the ROM. A black screen occur and I can only access my recovery manually. I use CWM 6.0.x

Unable to run those last steps. Somehow it didn't asked for root access. Maybe my root is broken?

CWM logs are the following:

PS: Redone the procedure, this time it asked me to fix root access, but same black screen at boot.

PPS: I've restored the stock JB browser I8160XXNA1_I8160ITVNA1_HOME.tar.md5 via odin. Booted into stock recovery, installed only cm-11-20160313-UNOFFICIAL-codina.zip and rebooted, but it goes into stock firmware normally.

Seems like the ROM is not really installed, because the process always end in less than 10 seconds.
[Galaxy Ace II Android Development] Sylvinette:
@up

From stock, try to install temp CWM or ChronoKernel first maybe it helps.

Or try to redownload the ROM.
[Galaxy Ace II Android Development] ace2nutzer:
u've missing steps :)

u've after wipe data also to format /system

then make sure system + cache is mounted ..

that means u should see:

unmount /system

unmount /cache

means they are mounted ...

then install the ROM.

[MENTION=6902149]Dr360r[/MENTION]

there is an first test build to test if u want of course... try build gcc4.9:

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

Thx !
[Galaxy Ace II Android Development] Dr360r:
[MENTION=5840412]ace2nutzer[/MENTION] Tested your GCC 4.9 compiled ROM.

Google Maps closes without reason when looking for streets or dropping pins, , both in Device Only and High Accuracy mode. It does so only if it has acquired the device coordinates.

CPUZ doesn't crash.

TrackID doesn't crash.

Spirit Unlocked doesn't crash.

Looks like you'll have to stick to 4.7 for now.
[Galaxy Ace II Android Development] IAmLucky:
what is GCC for? (dumb question obv)
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for testing ... but there is also 4.8 Version .. which is newer than 4.7 ... never tested this GCC4.8 .. so maybe works properly as well ... ;) I'll start compilation right now ... also added patch for Xposed.

Also added patch for GPS + Wifi instabilities by [Meticulus] :)

Should fix wifi not working after an Soft reboot. :)
[Galaxy Ace II Android Development] shaqman89:
It's for the source compilation.

https://en.wikipedia.org/wiki/GNU_Compiler_Collection
[Galaxy Ace II Android Development] IAmLucky:
wait, this cm 16/03/13 ROM version supports ART? O.o

thank you, understood something :D
[Galaxy Ace II Android Development] psidco:
I dont know if its suported by ace2nutzer / not,i just try switch dalvik to art and its work,but i dont test many app(cant say whats 3rd party app that dont work with art on this build) ,i just test on fresh rom with gapps,its more smooth than m in my opinion n in my phone,but no offense for sure.
[Galaxy Ace II Android Development] ace2nutzer:
ART should work on latest CM11 build. But not tested actually by me.

Also i even didn't applied an patch for this... but maybe it's unneeded.

PS: Of course like always ART is experimental and completely not supported by CM Team :)

[MENTION=6902149]Dr360r[/MENTION]

new test build is up in a few minutes:

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

compiled with gcc4.8 ;)
[Galaxy Ace II Android Development] Dr360r:
With 160313, if you have WiFi on and you soft-reboot WiFi effectively stops turning on until you do a full reboot.
[Galaxy Ace II Android Development] ace2nutzer:
yes i know that ... that's why i added one patch in order to fix this .. it's included on uploading gcc4.8 Build :)

Please test this too, thx !

[MENTION=5818374]IAmLucky[/MENTION]

please test in gcc4.8 build if Xposed works now :) Thx !
[Galaxy Ace II Android Development] Dr360r:
There's a 121 KB file on the FTP at the moment.
[Galaxy Ace II Android Development] ace2nutzer:
yes, wait for full size .... we've at the moment network problems .... :)
[Galaxy Ace II Android Development] IAmLucky:
its fully uploaded now, downloading
[Galaxy Ace II Android Development] Sylvinette:
242.7 mb on FTP, 231.4 mb while downloading?
[Galaxy Ace II Android Development] IAmLucky:
installed new ROM, installed xposed (works!) after installing framework immediately got 2 Google play FC. So I rebooted phone and got 1 more Google play FC. opened Google play and it immediately shuts down without giving FC.
[Galaxy Ace II Android Development] Dr360r:
GCC 4.8 compiled build:

Google Maps works, no longer crashes when looking for streets or dropping pins (Device Only, High Accuracy, Low Power)

CPUZ doesn't crash

TrackID doesn't crash

Spirit doesn't crash

WiFi still disables when you soft reboot the phone with it enabled until you full reboot.
[Galaxy Ace II Android Development] ace2nutzer:
This is normal :)

Great ! - But u need to test with wipe data .. no other way ... or u'll need to wipe data manually for ALL Google Apks ...

That means every APK that starts with "google"

like:

Google Play

Google Play Services

Google Partner Setup

and so on .....

okay thx ! - Looks like one or two patches are useless then ... i'll just remove it (soft reboot) since it's almost same with normal reboot ... it only saves around 6 seconds :D

So we can continue Optimizations with GCC 4.8 ? :D

(if there are no additionally issues compared with GCC 4.7)
[Galaxy Ace II Android Development] IAmLucky:
okay, reinstalled GAPPs and it fixed my problem. Spirit works, CPU z works, maps works
[Galaxy Ace II Android Development] Dr360r:
Why not? I still haven't reverted, so if you need more tests i'm here (for you ♪ ♫ ;) ).
[Galaxy Ace II Android Development] Andrex_2015:
Hello guys,

I tried to install the latest CM but as so many had the error during installation of gapps.

the correct procedure is to then I saw:

Wipe data cache +

Wipe Dalvik

Format / system

Mount system + cache

Flash ROM

Flash Kernel

Flash NT-APP

Reboot to system

Yes for root

After first boot, going to recovery again

Flash gapps

Reboot to system

But I have a problem, I do not know how to do the steps "Format / system Mount system + cache ", just go into recovery mode I always goes into temporary cwm and I lose them because I do not know how to do those steps ....

I used jb stock and temporary cwm 6028 but I can not do so during the recovery operation mode is disabled.

I also tried to remove the battery but it always comes out cwm.

How can I do?

thank you
[Galaxy Ace II Android Development] Sylvinette:
@up

In CWM, there's menu with "mounts and storage", format /system on there, and make sure it's "unmount /system" and "unmount /cache" after you format the system.
[Galaxy Ace II Android Development] IAmLucky:
This is only if you are coming from older kitkat build, if you are coming from different ROM then you must do data factory reset too!

---------- Post added at 10:23 PM ---------- Previous post was at 10:13 PM ----------

well, on current 16/03/14 cm11 build ART does not work for me. I switch to art from dev settings, it asks me to reboot phone, I click yes, phone reboots normally without any change and I go in settings and it is still in dalvik.

Also in current cm build build.prop there are some empty values, in example:

ro.build.version.base_os=

ro.wifi.channels=

Are those not necessary?
[Galaxy Ace II Android Development] ace2nutzer:
i think no .. at least here on old CM11 they are also empty and wifi works properly :)

btw: are u really sure ART is not working with GCC 4.8 ?! - Please test once again ... thank u.

[MENTION=6902149]Dr360r[/MENTION]

actually i've started new compilation ... it'll upload build automatically once it's compiled successfully :)

it's 14/03. Can u pls also check if Google Play Services will work properly without FC ? because i've removed an patch that it's maybe not needed now since we're compiling with GCC 4.7.

that patch is i think only needed for GCC > 4.8. Don't forget to test with "allowed" and "disallowed" settings over Google Play Services privacy settings .. u know ... this was needed in order to don't have FC on old CM11 .. but now it should be no more needed ;)

In order to prevent fake FC for G.P.Services ... make sure u've wiped all Google apps + installed opengapps-pico from my ftp server or any newer version :)

btw: u can install gapps in a row ... it works now... not needed anymore to boot up first completely and then install gapps ;)
[Galaxy Ace II Android Development] IAmLucky:
[MENTION=5840412]ace2nutzer[/MENTION] tried once more changing dalvik to art, after reboot same result. Art is not working at least on my device. I think it had to optimize apps again after reboot, but it didn't even optmize.

Also is current cm11 16/03/14 version is latest in your FTP? Is it newier than cm-11-20160314-gcc4.8-codina.zip ?
[Galaxy Ace II Android Development] lotrzyk0:
[MENTION=5818374]IAmLucky[/MENTION] Art is working on my phone, Sir. But I cant feel any difference...

[MENTION=5840412]ace2nutzer[/MENTION] One question. Are wipe cache/factory, format system etc. without format sdcard0 enough for 100% using newest ROM? Beacuse I am not sure if there should exist Nova Launcher and Trebuchet at the same time.
[Galaxy Ace II Android Development] IAmLucky:
Are you using latest test build? also you dont need format sdcard if you want flash custom ROM.
[Galaxy Ace II Android Development] Dr360r:
[MENTION=5840412]ace2nutzer[/MENTION] Tested 160314. Both on 160313 and 160314 if you deny keep awake to Google Play Services, it starts FCing, otherwise it's fine. On the new build TrackID, Maps, Spirit, CPUZ are ok. WiFI still keeps disabling if you soft reboot while it's on.
[Galaxy Ace II Android Development] shaqman89:
I remember this happening on every ROM if using latest Play Services. It was the reason I started using amplify.

So, I don't think it's related to CM11.
[Galaxy Ace II Android Development] psidco:
This is true,latest playstore is annoying,i post this long time ago ,and i think that u answer me same like this lol
[Galaxy Ace II Android Development] brewzip:
Latest ROM is compatible with Xposed, fantastic!

I would like to flash it without losing my apps and data. My current rom is the previous build, 13 march 2016.

Installing it is enough or should I follow some other steps?
[Galaxy Ace II Android Development] ace2nutzer:
Try 14/03 if Art is working for u...

It is compiled with gcc 4.7

[MENTION=6902149]Dr360r[/MENTION] on latest build there should be no soft reboot at all ... But i'll check sources ....
[Galaxy Ace II Android Development] Dr360r:
Soft reboot was there, otherwise i couldn't have done the test.
[Galaxy Ace II Android Development] ace2nutzer:
@up

u're right, it was accidentally re-added ... removed now for ever ;)

So now it's compiling 15/03 with gcc 4.8 once again + removed patch for Google play services FC issue.

This time i'll test by myself if Google play Services works properly.. and if ART works with gcc 4.8..

It's really not helpful if one user say: it works, and the other user say: art is not working at all for me.

ART must be tested only with system apps.. so not with custom downloaded apps... (for debugging for now)
[Galaxy Ace II Android Development] IAmLucky:
Yes, but the thing is after changing into ART in developer settings it must say 'Select runtime: use art' but it still says 'Select runtime: use dalvik' after reboot. I will test new version.

[MENTION=5840412]ace2nutzer[/MENTION] sorry about confuse... I've been using cm-11-20160314-gcc4.8-codina.zip , and in that build ART was not working. Now i installed cm-11-20160314-UNOFFICIAL-codina.zip and it seems that ART will work on this build, as i booted up phone, set ART, rebooted phone (took about 5 mins) and now it is optimizing all my apps (will take about 20-30 mins), so i bet, art works in this build.

Confirming in cm-11-20160314-UNOFFICIAL-codina.zip ART works.
[Galaxy Ace II Android Development] Mlody7455:
But what with other things?
[Galaxy Ace II Android Development] IAmLucky:
what do you mean? other things seems to be working. Also I can't see any difference between ART and DALVIK.
[Galaxy Ace II Android Development] [-GuTi-]:
I don't know, why are you trying to use ART? Development was not ended on KK(it was like beta option for developers), first release of ART on 5.0.
[Galaxy Ace II Android Development] ace2nutzer:
btw: build 15/03 seems to be buggy ... Camera sometimes FC when switching between Foto ---> Video

And ART seems to be also broken ... it stuck on CM logo .. for around 20 minutes ... (no user apps)

It was compiled with GCC 4.8 ... so i'll switch once again to original Version 4.7 :)

If everything will work fine, i can add the rest of optimizations ... (Binary Code Optimizations + less compression)
[Galaxy Ace II Android Development] ace2nutzer:
u're right ... but actually i'm not 100% sure if ART will never work properly on KK.

Maybe there is a chance to have it properly working ... :)
[Galaxy Ace II Android Development] IAmLucky:
seems like ART does not work with GCC 4.8
[Galaxy Ace II Android Development] [-GuTi-]:
Would be good, but i can't believe that CM team improved ART, when Google release it by themselve. But who knows, mb beta ART on some cases can win vs Dalvik:)
[Galaxy Ace II Android Development] ace2nutzer:
of course ART is better than Dalvik ... but if we've buggy ART ... then it's better to use Dalvik (faster)

We'll see soon :)
[Galaxy Ace II Android Development] IAmLucky:
the main issue with art is that every time rebooting phone, it starts optimizing apps again and again, well, at least I rebooted second time and it started optimizing apps again.
[Galaxy Ace II Android Development] ace2nutzer:
usually not .. it works or not ... and when it work .. it'll only optimize apps if u do wipe dalvik cache ... (mean same like wipe art cache)
[Galaxy Ace II Android Development] IAmLucky:
I didn't do wipe art/dalvik cache. I remember in old kitkat builds doing same thing with art that it was optimizing apps every time after reboot. But I am not sure, but it optimizes only non systems apps as first time it optimized 130 apps and in second reboot it optimized about 60-70 apps.
[Galaxy Ace II Android Development] ace2nutzer:
Nope .. this bug simply doesn't exists ... but if u install gapps .. then it's correct that it'll optimize 60 Apps .. (all goggle apps)
[Galaxy Ace II Android Development] IAmLucky:
oh right, so this will be forever?
[Galaxy Ace II Android Development] ace2nutzer:
nope, only every time u'll flash gapps ....

then if u reboot again it shouldn't optimize anything.
[Galaxy Ace II Android Development] IAmLucky:
okay, it seems I had only 1 optimizing issue in second boot, but now rebooted again and it didn't optimize anything again, so it seems art works with no issues for now.
[Galaxy Ace II Android Development] ace2nutzer:
But only on builds compiled with GCC4.7, i'm right ??
[Galaxy Ace II Android Development] DevisG79:
Hi! [MENTION=5840412]ace2nutzer[/MENTION]

First of all thank you for your great work and all others who helped.

I repartitioned my girlfriends ace2 and now I am flashing latest build 20160313. Do I have to Flash patch1 for 20150714?
[Galaxy Ace II Android Development] Dr360r:
Absolutely no. It was meant to fix some (not even all) Stagefright vulnerabilities with 150714 build but newer builds no longer need it.
[Galaxy Ace II Android Development] IAmLucky:
yes. In GCC 4.8 build art was not working for me at all, after setting, it rebooted normally like it is on dalvik.
[Galaxy Ace II Android Development] DevisG79:
Is latest kernel 20160307 from ace2nutzer included in Rom build 20160313?

Supersu app says I have to install su binary. What did I do wrong?
[Galaxy Ace II Android Development] Dr360r:
No, the kernel is not included. You have to install it (and also install Novathor Settings).

You didn't do anything wrong. Say yes, and the phone will be rooted. Say no, and until you don't say yes you don't have root access. Anyways, even if you root, you have to tap seven times the build number in Settings->About phone, go into Developer section and enable root acess.
[Galaxy Ace II Android Development] aleste2:
It could be a good idea to include usage and link of the contents of reparted folder in the misc section, and indications on the final partition table, issues, possible problems going back to stock...
[Galaxy Ace II Android Development] ace2nutzer:
@up

actually there is only repartition for Stock .. (so go back to stock) ... usage is easy:

flash cwm_stock_reparted.zip over cwm and then flash fota.tar.md5 with ODIN. (don't tick re-partition)

Then u can flash any Stock JB ROM's ... NOT for Stock GB ROM's !

And an final Repart.zip for this CM11 is currently not available because i only can do this after i'm done with CM11 development :)
[Galaxy Ace II Android Development] DevisG79:
Sorry, my mistake. Phone booted now and root works. All is good. I flashed the root.zip by mistake.

---------- Post added at 10:55 PM ---------- Previous post was at 10:52 PM ----------

I repartitioned with the adb method from the first side. Thank you again
[Galaxy Ace II Android Development] ace2nutzer:
@up

no problem, it works as well... but honestly repartitioning over ADB is a bit dangerous method.

over cwm is much safer. But usually using copy & paste, nothing can happen :)

Anyway maximum efficiency u'll have with properly adapted final reapart.zip to the final CM11 ROM.
[Galaxy Ace II Android Development] bebolint98:
[MENTION=5840412]ace2nutzer[/MENTION] I use the 0313 test build and I saw that in settings/battery it only write that android os drain the battery and cpu total is 49 day. Is this normal? ?
[Galaxy Ace II Android Development] Dr360r:
Doesn't happen to me, same test build, the best ace2nutzer compiled so far.