yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
@up

yes, if the internal card is formatted as vfat .. at it'll have at least 50MB free space.

(otherwise camera will FC)

Again, Java is fine :) I didn't change nothing on Java ... Java is used to compile all Apps .. it's compiling with openJDK 1.7.0_95 without any modifications. (it's just a compiler)

U Guys should know, CM 11 (and up) is NOT official .. that means there is Zero Support from CyanogenMod, ST-Ericsson, Samsung, Google etc ... ..

It's unofficial ... just experimentals builds .. they can work properly or may not.

TeamCanjica + other devs .. just did ported some Drivers from old ROM to the newer one ..... that means:

Drivers for:

Camera, Audio, Video, switch storages, Live-Video stream ... and maybe some more...

Sounds really easy ? - Nope it isn't :)

An Nope, i didn't implemented anything ... just downloaded CM Sources, applying my Code Optimizations (Set of C-language Flags) and now i'm trying to apply proper patches to make A/V Camera + live-stream working ...

this is all .. nothing more :) Sound maybe poor or easy ... but it's really difficult .... for every test an powerful Server need to build at full-speed for 2 hours .. then upload + download rom to Phone .. .and then finally install and test .... and if doesn't work ... again .. re-building for 2 hours and so on.

This is my first real ROM compiling ... before i never had compiled an ROM .... also i didn't learned at all to program smthg.. all how know is just by learning by doing + try and error ... Google ... much reading ... + much helps from [MENTION=5695278]ChronoMonochrome[/MENTION] and of course a lot of patience :)

Before i just compiled successful kernels for Codina + my own Laptop ---> Linux Kernel 4.x.x. and also for our build-server. This is much more easier ... just adding Code optimizations ... adjust some options .. and making better RAM Managements .. this is more fun ... and it doesn't require a hell of time like on ROM here ;)

Honestly i don't like it much to compile ROM's as it's just too much ... it takes too much time... anyway my Game is already done ... i mean that what i like more is Binary Code Optimizations ...

I'm just compiling it, because u Guys did a request .. and i promised to do it :)

Anyways from my Side, even if it'll never work, i'm already happy with it since my code optimizations seems to work fine and the Performance is increased a lot :)

So once again, don't expect too much from me, i was never an developer, also i'm not a programmer.

I'm more interested on optimizing kernels ..... (for this, my how know is enough) ;)
[Galaxy Ace II Android Development] ChronoMonochrome:
Just out of curiosity and just because it's already became some king of a toilsome: were these java errors occuring on your initial builds with google defaullt optimizations? And if so, was you trying to compile ROM without any changes (beside of STE specific fixes), e.g. without touching android_build repo?
[Galaxy Ace II Android Development] ace2nutzer:
can't say 100% .. i need to search here to my own posts .. waht i've writed when i was announcing the first new builds ... because i did always commented if it's compiled with openJDK 1. etc .... But i believe yes ... .. i've tried to remove all my Flags ... also tried it with following Java Versions:

Oracle Java: 1.6 and 1.7

Open JDK 1.6 and 1.7

an one time with Google Default flags ...

And all the time i'm using stock Compilers ...

And yes .. there was nothing differnt ... except of worse performance if it was compiled with Google Flags :)

That's why i'm nearly out of ideas.

But actually i can't remember if i tested with OMX + Multimedia patches applied or not !

Also already tested with your repos .. + Team Canjica .. no one Combo was working (almost same issues)

But your lastes PM sounds great .. maybe this will finally work :)
[Galaxy Ace II Android Development] ChronoMonochrome:
Then they shouldn't be cause of that hassle. But was you trying to build userdebug ROM variant instead of user, without touching anything related to a build variant code?
[Galaxy Ace II Android Development] ace2nutzer:
:D Yes ! I'm compiling that dammy ROM since months .. already treid every combination :)

Every time no difference.. but i'm pretty sure it's a matter of missing or wrong patches !

So far the best result i ever had it was with your repos + applied some patches ... not all ... otherwise almost nothing was working ... FC like hell.

So what was working? Almost everything except of Maps FC if u search for an street... some FC on stock browser .. and sometimes when switching from Camera to video rec. then it just FC. (the camera app) ... and twitch.tv doesn'T shows Videos at all ...

TrackID , SpiritFM-Free, Titanium backup, and CPU-Z is working.

I know all those bugs was already fixed ... but we should keep in mind that i'm compiling with latest Sources .. as for example: Repo frameworks_av + android_build was updated since Epirex, Rox, Meticulus etc.. did his working patches ... so maybe we just need now new patches for new sources u know ??

It's now long time ago that somebody tried to build fully working CM 11 :)
[Galaxy Ace II Android Development] Dr360r:
On /storage/sdcard1/Android/data by the way i can't find traces related to the crashing apps.
[Galaxy Ace II Android Development] ChronoMonochrome:
I'm not sure if CM has made enough much changes in CM11 branch so that our fixes doesn't work. But just to be sure you can reset AV framework to already known working state, despite of that it will make some new security fixes out of the tree(this is exactly what I suggested in PM).
[Galaxy Ace II Android Development] ace2nutzer:
okay ... it depends also i f swapped storages or not ... but even with defaults ... some apps uses internal ... and some uses external .. this is not our issue .. it just depends how it's programmed the app... that's why i always say to format better both storages :)

Yes... now it's more clear ... yes .. there are some commits:

https://github.com/EpirexDevProjects/android_frameworks_av/tree/cm-11.0

72 Commits behind CyanogenMod CM 11

btw as i can see epirex was using GCC 4.8 saberMod ... so maybe GCC 4.9 is also an possible reason for the issues ... ?
[Galaxy Ace II Android Development] ChronoMonochrome:
And some apps store *.asec files in folder .android_secure (this folder isn't accessible from phone even with root enabled).

I never had any problems with GCC 4.9 apart of some compilation errors which are related to optimizations I've implemented in OmniROM (using GCC 5.2 magically solves some problems).
[Galaxy Ace II Android Development] ace2nutzer:
Ok .. but still using buggy GCC 5.2 ? :D Still too lazy to build GCC 5.3 ? - U can build it on Server in approx. 10 Minutes ...
[Galaxy Ace II Android Development] Dr360r:
The .asec for each storage appears cleaned through factory reset (the Philz touch cwm clearly shows the process...).
[Galaxy Ace II Android Development] ace2nutzer:
[MENTION=5695278]ChronoMonochrome[/MENTION]

so again .. i've reset everything to defaults ...

So i just need this repo:

https://github.com/EpirexDevProjects/android_frameworks_av/commits/cm-11.0

and in addition this Commit:

https://github.com/ChronoMonochrome...mmit/0bff01bc80958527b983565e78cf1996298110fa

and everything should work ?!

And what i should apply at first ???
[Galaxy Ace II Android Development] ChronoMonochrome:
It didn't seem to be buggy, anyway patching bionic seemed to help to reduce noize generated by linker. Since Linaro still haven't released GCC 5.3, I'm still using GCC 5.2. Why I want only use Linaro? Because I cannot rely on another toolchains since I can't be sure if they don't enforce some unintended optimizations I wouldn't want to enable just at least because they can interfere with my optimizations. If you are talking about kernel toolchain - then yes, I'm still too lazy to build my own GCC 5.3, since 5.2 seems to work pretty stable too.

Just try out this framework as is. I suggested this repo because mine one is based on Epirex's one. If this causes compilation errors for you, you probably want to update camera headers(include/camera/...) as well.
[Galaxy Ace II Android Development] darktrixx:
trouble flashing kk gapps

i managed to install cm11 using fresh jb firmware. but failed to install gapps in build 03/08. it says gapps not supported for the rom. need 4.4.x rom. please help me. thanks.
[Galaxy Ace II Android Development] ace2nutzer:
@up

use gapps from my FTP Server. it should work.

[MENTION=5695278]ChronoMonochrome[/MENTION]

Right now it's compiling with fresh CM sources, team canjica repos, default flags .... only changes:

Oracle Java 1.6 @ OpenJDK 1.7 (100% safe)

GCC 4.7 @ GCC 4.9 (maybe problematic)

frameworks_av = Cyanogenmod @ Epirex see:

https://github.com/EpirexDevProjects/android_frameworks_av/commits/cm-11.0

Added some needed STE Multimedia patches original from Rox ..

(i'm only adding those if compilation stops due of missing things in other OMX Files... )

So let us see if at least Maps will work properly in the coming build ;)
[Galaxy Ace II Android Development] IAmLucky:
cross fingers :D let's hope it finally works!
[Galaxy Ace II Android Development] Dr360r:
So you tested 160308 and CPUZ, TrackID and Spirit Light didn't work right? Then i'm not the only one and someone else can replicate my experience.
[Galaxy Ace II Android Development] ace2nutzer:
btw: the coming build is odex version .. also there is native root already there.

Just defaults .. google optimizations .. no extreme optimizations at all.

other than that, everything default ... also the updater-script doesn't mount system .. and it'll not format system ...

only real final build will be perfect.

btw: if somebody notice that the build is up, so u can announce it as well :)
[Galaxy Ace II Android Development] bebolint98:
Only enaught to flash this rom,after flash the kernel+ nt setting.And wipe cache, dalvik cache?

Edit: I didn't found on ftp server.
[Galaxy Ace II Android Development] Dr360r:
Something is up guys... but it looks smaller than usual...

[MENTION=5840412]ace2nutzer[/MENTION] Here's the report regarding 160309 ROM

CPU Z Works

TrackID Works

Maps Closes without reason (but i haven't installed Gapps yet)

Spirit Light WORKS!

You and ChronoMonochrome made it!!! :highfive:
[Galaxy Ace II Android Development] gepel:
Great news. I'm waiting for the final version. The scrolling is it any better on our lcd now ?
[Galaxy Ace II Android Development] Dr360r:
By the way there's no camera app in the latest build...

Google Maps keeps closing without reason when looking for streets even with latest pico gapps installed.

Anyway no more need for video: i install the ROM correctly. Why nothing crashed for ace2nutzer still remains a mistery, but now the crashes issue is solved.
[Galaxy Ace II Android Development] IAmLucky:
this is how previous test builds were flashing
[Galaxy Ace II Android Development] ace2nutzer:
[MENTION=6518260]gepel[/MENTION]

actually new software vsync isn't implemented yet.

[MENTION=6902149]Dr360r[/MENTION]

This is great .. but there is still some work to do .. because i still don't know what is the reason that now apps aren't crashing anymore ...

Also this is somehow really strange that maps is still not working properly ... as for camera: yeah that was clear that it'll not work .. camera is one of the biggest problem on this Phone. (at least with custom roms)

Well, i'll install new build too .. and make my tests .. live-video-stream etc ...

Anyway.. can u please test if the GPS is working better now ? - If it's too late now, of course tomorrow then ;)

Because i didn't applied an patch for fake/virtual missing sensors on ace2 .. like gravity sensor etc ...
[Galaxy Ace II Android Development] Dr360r:
GPS acquired my position nearly istantly as soon as i put my phone out the window, otherwise i couldn't do the Maps test.

For anything else, it's never too late. I've reverted to the old backup but i'll install the new ROM again, right here right now. In the name of a better phone for everyone.
[Galaxy Ace II Android Development] ace2nutzer:
:laugh::laugh: :good::good::good: :cool:

What a great Fan .. :highfive:
[Galaxy Ace II Android Development] ChronoMonochrome:
So looks like something is causing camera to disappear?

I was hunting on this bug for a several weeks, and it was fixed only in some of the newest Vanir builds. Unfortunately, I'm still haven't figured out what was causing that, but looks like it's a matter of a wrongly applied patches or wrong headers. I'm afraid, you have to tinker with these, but basically you can try to switch the device tree and see if it solves this problem.
[Galaxy Ace II Android Development] Dr360r:
GPS, location, gravity, accelerometers, compass work, but WiFi triangulation doesn't work even if i enabled high accuracy and i can't seem to download apps through google play.

OK now after restoring backup Google Play lets me download apps again. So it's definitely something with the ROM (it said CRC error, even if it recognized the apps i bought).
[Galaxy Ace II Android Development] ace2nutzer:
For me Camera is still there !

But it just FC ... but this is usually normal when i didn't switched storages ... but lol actually i can't switch due of forgotten to apply patch for swap storages .. damn it ! But yes .. Maps is still FC for the streets ... but there is the last chance to make it working .. i'll add one patch from Chrono .. in order to remove forced alignment code... this should also fix randomly FC for Google Play Services... if this will not help ... then there is no problem with the rom itself .. it's more an issue with gapps or google play services brand new bug .... but let us see if the patch will fix the main problem :)

btw: funny thing: live-video-stream isn't working at all .. and there are now a lot of stagefright leaks ... lol

but don't worry .. i think i'm able to fix them all ... this was caused by using old repo from epirex ....

Usually all in all no problem .. we'll Fix almost all issues i think ... just some little bit more patience..

i promise it's worth it to wait.. ;)

Ok i've deleted all CM11 builds from FTP Server ..

right now started new compilation ...

it's again 09/03 .... ;)
[Galaxy Ace II Android Development] Dr360r:
By the way the issues i had with Google Play and positioning weren't caused by the latest gapps package because i installed it on the nandroid backup of the 160304 i'm currently using and everything is working fine.
[Galaxy Ace II Android Development] darktrixx:
yeah. your gapps in ftp server cant install in build 03/08.

can u please teach me the right installing process sir?

this is how i do. lately im from cm12.1 by sergyl, its not good in gaming thats why i decided to flash your rom, flashing stock rom first. format data in recovery, root the device, flash cm11 success, flash your gapps failed (tried using cwm & twrp) both failed to install gapps.

-

EDIT: from stock rom, should i flash your kernel 1st or not? before flashing cm/gapps? sorry for many question and thanks for all your effort and support for our device. also sorry for my english. lol
[Galaxy Ace II Android Development] IAmLucky:
I would suggest flashing Chrono kernel on stock ROM so it will have recovery, then flash cm11 ROM and kernel
[Galaxy Ace II Android Development] Dr360r:
Tested the latest build. Google Play and Google play services works perfectly now, WiFi triangulation works too, no Java errors, but Maps keeps closing without reason and camera app vanished away as soon as system fully loaded (it was there but it keeped saying app not installed and then it vanished away).

By the way i want to say one thing to [MENTION=5840412]ace2nutzer[/MENTION]: i'm unemployed, i can't find a job, i'm a student but lately i've been feeling burnt out from studying too much (a science minor) so testing new software feels like a job for me. Of course i'm not doing it for money; i'm doing it so everyone can have a better phone.
[Galaxy Ace II Android Development] bebolint98:
I also test the latest test build. At the first time it stuck on samsung galaxy ace 2 logo but I reflash it and now works. Stock browser now didn't crash but the adobe photoshop touch for phone, still yes, which didn't crash in build 0714.

When I open the camera it's write 'camera error' can't connect to camera.Only for me?

[MENTION=5840412]ace2nutzer[/MENTION] how can I disable this full battery indicator that when the battery full the two button light?
[Galaxy Ace II Android Development] psidco:
Sorry if its not related to rom dev,its kernel thing,on latest one still give me random reboot when i use wifi tathering , but its not always but sometimes ,or is this only me? Im use old final rom,but i think its not the problem
[Galaxy Ace II Android Development] Dr360r:
Bebolint, i have camera problem too on latest build.

I guess you can't disable full battery BLN (by the way it's a reminder to unplug charger or usb cable; remember the battery wears more if you keep the charger plugged), you can only wake screen up one time and it will turn off. If you still don't like it, try ChronoMonochrome's latest kernel.
[Galaxy Ace II Android Development] ace2nutzer:
I think it's ROM Bug .. not kernel ... but try latest chrono kernel and report here if it has solved the reboot :)

as for Full battery indicator:

as i many times already explained .. there is really no one reason to disable it... because it disables automatically once u:

a: unplug the cable .

or

b: screen ON (double tap ;) ) and screen OFF = BLN OFF.

U can let the BLN on for years ... nothing will happen.. except that the battery will simply die ... that's all ! :)
[Galaxy Ace II Android Development] bebolint98:
Yes I know this. But most of the time I charge my phone at night so the button light till morning.
[Galaxy Ace II Android Development] Dr360r:
It's a LED by the way, not an incandescence bulb. And by the way never charge phones or anything overnight.
[Galaxy Ace II Android Development] IAmLucky:
novathor settings -> advanced

---------- Post added at 07:49 PM ---------- Previous post was at 07:46 PM ----------

I'm always charging phones overnight, cuz every other time I'm using phone lol. And I would suggest just to rotate phone to leave it face down so you will not get blind at night by LEDs.
[Galaxy Ace II Android Development] ace2nutzer:
yeb, simply as that :)
[Galaxy Ace II Android Development] Culateralligator:
Led lights at night are not annoying at all for me, but maybe for those who listen to the radio, music or podcasts to fall asleep it's an inconvenient, as phone turns when you're moving.

As I said, I don't mind it. I live in a place wich is called the "Sun Coast" and I never use persian blinds even on Summer. :D
[Galaxy Ace II Android Development] bebolint98:
Yes this why I also charge my phone at overnight. For me didn't annoy the light of the LED because I charge in another room than I sleep. Just I thought the is not too good for LED that light 6-7 hours.
[Galaxy Ace II Android Development] Culateralligator:
I have a 1W led light at home stairs always on.

It's been working for a lot of years and continues.
[Galaxy Ace II Android Development] IAmLucky:
maybe that's why phone LEDs does not blind you - you don't sleep in complete dark if you have 1W led light lol. I hate waking up in the morning and forget to lower brightness of the phone (its most of the times 100%) I must wake phone so back lights will go off and surely I get blind really quick by that bright screen. How about if Ace2Nutzer implements "2claps2turnoffBLN" and maybe lower brightness?
[Galaxy Ace II Android Development] aralum:
You could try Twilight app, it has a custom mode where you can set a time frame, so when you wake up it would be dark.

I turn the phone over in case I have to charge it overnight too. There are several studies that claim that even TV standby led can affect sleeping quality, but it varies from one person to another. And there is also the blue light affecting circadian cycle, that app lets you turn the screen reddish. There is a desktop app as well, f.lux.
[Galaxy Ace II Android Development] lotrzyk0:
Google services FC in newest version of ROM. "Score hero app has stopped working" also. iGo navigation works ok
[Galaxy Ace II Android Development] Dr360r:
Build up. Downloading.

[MENTION=5840412]ace2nutzer[/MENTION] Ok camera now works.

Google Maps still crashes without reason when looking for streets and dropping pins.

Spirit Light, Spirit Unlocked, CPUZ and Java based apps working right as usual.

No Stagefright vulnerabilities detected by Stagefright Detector app.

Every day, we're making one step towards a Final build, thanks to the help of ChronoMonochrome.
[Galaxy Ace II Android Development] bebolint98:
[MENTION=5840412]ace2nutzer[/MENTION]

I also flash the 0311 build. Camera works here too, but adobe photoshop touch for android still crash immediately and I can't watch youtube video on stock browser or lightning browser only see black also on fullscreen and video didn't start.
[Galaxy Ace II Android Development] IAmLucky:
check if twich works as I remember it didn't work for me before.
[Galaxy Ace II Android Development] bebolint98:
I downloaded it and if I click a live video I only see black. This happen to you?
[Galaxy Ace II Android Development] IAmLucky:
yes, it must show live video, had this kitkat issue like 1 year ago in kitkat era. Seems like current stable 2015-07 kitkat rom in ace2nutzer FTP lets me watch videos in twitch, but not in test builds so i think it needs a fix still.
[Galaxy Ace II Android Development] ace2nutzer:
I added all fixes.. Also for live stream..

But there are some more... Thats why i said it is a big messed up with patches .. lol
[Galaxy Ace II Android Development] Tree4ever:
With latest build WLAN does not work.Any idea?
[Galaxy Ace II Android Development] ace2nutzer:
@up

check this installation method for test builds:

wipe cache

wipe dalvik cache

format system

mount system

flash:

ROM

(i8160P Support.zip) < ---- if u've NFC

NT-APP

Ace2nutzer kernel

pico-gapps

reboot system

(say yes if root is missing) <-- sometimes
[Galaxy Ace II Android Development] Dr360r:
WiFi doesn't turn on? You forgot to flash the kernel.

[MENTION=5840412]ace2nutzer[/MENTION] New ROM doesn't ask me to root in CWM. Anyway, as a curiosity, what keeps you from updating the CWM with, say, a touch enhanced one?
[Galaxy Ace II Android Development] Tree4ever:
Thanks buddys,kernel was missing.
[Galaxy Ace II Android Development] ace2nutzer:
latest build is compiled as "userdebug" = with term.pak + su binary.

But it was just for testing purposes ... next build is again as "user" .. then it'll ask again for fixing root.

I do this, because it's faster to build without debugging :)

But anyway, final build will have everything of course ... so no painfully half working root solutions xD

as for Philz ... long time ago i was trying to implement TWRP recovery which it's not so bad ... bad somehow i was not able to make it properly working ...

LPM was not working at all ... .also there was some issues with mount / unmount system partition .. by default ... that's why i gave it up with it.

But Philz i didn't try.. maybe one day ... but for now Zero Time for such cosmetics ... i'm really happy if i'm finally able to have fully working ROM + fully optimized ... then i'm satisfied ;) Kernel + NT-APP is perfect now .. only ROM sucks :)

Edit:

the coming build ... u really don't need to test it .. it's almost same like previous .. there is only one small change .... because i want to see if it can fix Maps FC at least for only GPS location ...

because i've faced in some builds it works ... and in some not ...

another issue: Camera works now... but video rec not .. it gives FC ... damn Camera ;)
[Galaxy Ace II Android Development] Dr360r:
Now i can listen to radio but no longer rec videos. I guess i just can't have everything. I'm trying other apps for camera.

Tried Open Camera. It crashes too.
[Galaxy Ace II Android Development] greeceeeee:
Is it possible to fix the video resolution on latest facebook and youtube apps or the resolution seems to be like that on all the devices?