yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ChronoMonochrome:
New build

After a long time, new build is up!

In fact I had tried to build it 13th of July, but I probably was so unlucky that camera and video playback weren't working at all, even with all applied fixes, so I had to forget about it for some time.

Changelog: 18.07.2015:

ROM

Updated to final CM11 snapshot

Fixed camera FC (thanks [MENTION=5371721]Epirex[/MENTION] for help)

Fixed google play(GPS location) FC bug

Fix for GPS blob [Meticulus]

Software mediacodecs fixes and improvements [Meticulus]

EGL time fixup [Rox]

Reverted JustArchi optimizations (since they broke some things)

Kernel

Updated to r3.1 (read changelog in chrono kernel topic)

Will upload an update.zip for codinap soon (after some thoughts I came to conclusion it's an easier variant for me to support it).

UPD. uploaded - pm me if you want test it.

Enjoy! :good:
[Galaxy Ace II Android Development] Epirex:
you're welcome, we're here to help! :)
[Galaxy Ace II Android Development] matthias1976:
Love to try.

How does it work.

Flash build, after it codinap.zip !?
[Galaxy Ace II Android Development] andon0v:
how to increase Internal storage on this rom?
[Galaxy Ace II Android Development] ChronoMonochrome:
Yes, but, beware: I haven't even tested flashing. All need files are taken from cm12.1(cause I don't currently have any codinap cm11 builds), and I'm not 100% sure if it'll work.
[Galaxy Ace II Android Development] manthes:
Can somebody tell me if we can change quick settings of this rom with customs from gravity box? Probably it isn't working for our roms but maybe i am doing something wrong.
[Galaxy Ace II Android Development] matthias1976:
Cant flash nonP build on my codinaP.

nstalling '/external_sd/Download/cm-11-20150718-UNOFFICIAL-codina.zip'...

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts

I:Legacy property environment initialized.

script aborted: This package is for device: codina,i8160,GT-I8160; this device is codinap.

This package is for device: codina,i8160,GT-I8160; this device is codinap.

I:Legacy property environment disabled.

E:Error executing updater binary in zip '/external_sd/Download/cm-11-20150718-UNOFFICIAL-codina.zip'

Error flashing zip
[Galaxy Ace II Android Development] ChronoMonochrome:
Oops, it was obvious mistake. Remove assert line from updater_script until it's fixed.
[Galaxy Ace II Android Development] fluffi444:
Thx for the build!

Some things to mention regarding codinap and F2FS:

- codinap.zip works only for EXT4 - For F2FS it's better to use busybox to mount SYSTEM (run_program("/sbin/busybox", "mount", "/system"))

- codinap phone is recognized as codina in recovery (script will solve this http://xdaforums.com/showpost.php?p=58839849&postcount=2448) - but maybe a not so handy solution...

- the nfc files themselfs out of your codinap.zip are also not working! I took the corresponding files out of 05.05.2015 codinap rom but they also refused to work... Will take a deeper look into it - usually older nfc files (from older roms) are also working...

Noticed that the option in menu (settigns) in not available... This doesn't happens usually. If nfc did not work in the past the setting were availble but i did not start... But (as I said) this time the menu option is away completly.
[Galaxy Ace II Android Development] ChronoMonochrome:
One more mistake in installer - probably AROMA(with explicit device type selection) is only variant, since device type can't be fetch neither from /system/build.prop nor /defaullt.prop.

Maybe because of wrong init.samsungcodina.rc(it should have probably been installed from codina folder).

P.s. notice about F2FS - upgrading from /system formatted to F2FS anyway won't work on kernels R3.0-R3.1, because of missing selinux contexts reading support for this FS(I should have forgot enable it). Honestly, I didn't expect an uploaded zip to work - but good to know, where to start fixing found bugs :)
[Galaxy Ace II Android Development] bebolint98:
Thanks for the update so the codina with ext4 it's working?
[Galaxy Ace II Android Development] fluffi444:
Make a backup, try and report. This is want I do. Chrono has vanir and he build CM11 only because of our requests.

I assume he need assistance in testing this ROM.
[Galaxy Ace II Android Development] bebolint98:
Ok, tested and everything works fine!?
[Galaxy Ace II Android Development] monstro78:
Dirty flashing. Everything is OK. Just you must reinstall kernel app.

Thanks chrono.
[Galaxy Ace II Android Development] andon0v:
best rom so far
[Galaxy Ace II Android Development] ChronoMonochrome:
Uploaded universal codina(p) package, needed test from codinap users. AROMA installer is taken from cm12.1 build by [MENTION=4881398]PolishVodka[/MENTION], I hope he don't mind :) http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/CM11/cm-11-20150718-UNOFFICIAL-codina(p).zip
[Galaxy Ace II Android Development] matthias1976:
seems to work.

installation process got me an error. saved log but didnt find now. something about tmp directory didnt found or something.

nfc appears in preferences and can be enabled. no chance to test it right now.

thx chrono for still supporting nfc device !!

edit:

Android preferences "about telephone"

still says 5.5.2015 build !?

can that be !?

how can i check got new version !?

edit 2

found log

see attachment
[Galaxy Ace II Android Development] ChronoMonochrome:
Maybe it's because of outdated files in META-INF folder. However, I checked system/build.prop - build date is correct here. Just ignore it, anyway it's just a number, real 18.07.2015 build is there.

It seems that release_key file was accidentally removed when I added aroma installer files. So far I haven't found if it may lead to any issues - only error during installation(somehow I haven't even got this error during testing, though), otherwise everything else should work properly.
[Galaxy Ace II Android Development] fifo171:
The problem is that the error appears right at the beginning of the installation and the instalation is aborted. It doesn't install at all. (At least for me.)
[Galaxy Ace II Android Development] ChronoMonochrome:
Ok, will fix it soon.
[Galaxy Ace II Android Development] SolGarlic:
Thanks!! :D

Is there any reason why init.d/90userinit is present in this initial 20150718 version and missing in the last 20150718-UNOFFICIAL-codina(p) version? (It is also missing on 20150505). :confused:

Also, I can't get the camera to record movies using H264 (MPEG seems fine). Camera FCs just after pressing record. This happens with the default camera app, but also with:

- Google Camera

- Cyanogenmod Next Camera

- Using any of the CameraFix.zip in this or TC thread (and with any of the 3 camera apps)

I tried clearing cache/dalvik and also clearing camera data. As people reported it should be working, I'm wondering what else could I check or if I should just go for a factory reset...

This is the only "bug" I noticed in this build. It is otherwise just perfect! :good:
[Galaxy Ace II Android Development] ChronoMonochrome:
Because i forgot to remove it from an initial 20150718 build - there's no need in such useless pre-installed scripts :p Btw, did anyone tested 20150718-UNOFFICIAL-codina(p) version, is there any issues with installation?

Sorry, have no clue. I have only tested camera defaults and since I haven't encountered issue with FC after 2nd video, I thought it was fixed.

UPD. found a fix. Removing line

<MediaCodec name="OMX.google.h264.encoder" type="video/avc" />

from the end of file system/etc/media_codecs.xml seem to work. This line was added by me, as it was suggested in patch https://github.com/Meticulus/androi...c-use-software-decoder-encoder-h264.patch#L45 but apparently this breaks video recording using h264 codec.
[Galaxy Ace II Android Development] fluffi444:
This is what I did:

- Convert it to F2FS (with script)

- (Dirty) install over existing 05.05.2015 build - Install process works nice! Without any error! Was detected as "codinap" during script posts.

- But: NFC is not woking - no NFC Menu in Settings

- Version 17.07.2015 (in "about phone")
[Galaxy Ace II Android Development] ChronoMonochrome:
I guess replacing files that is needed for NFC using ones, e.g. from 5.05.2015 build is also not working? Will try compile these from sources, but no any promises, though.
[Galaxy Ace II Android Development] fluffi444:
Will try it and report then...
[Galaxy Ace II Android Development] bebolint98:
Hi!

Somebody have a huge battery drain with the latest rom?I charge my phone to 100% and after little more than 2 hours I have only 44% but the phone in idle at this time:(.The better battery stats show that the phone only 8% awake.It's better to reflash the rom maybe the problem is gone?Here is the bbs log:
[Galaxy Ace II Android Development] fluffi444:
Sometimes its easier then expected :p

Nfc.apk was missing... so simple...

I put this in new folder "system/app" in codinap folder of ROM.zip and it works! Need to do one reboot more... But it works.

I also took the other files also from 05.05.2015 build.

With yours I got constant NFC FC after boot.

EDIT2

Phone is faster then ever! Don't know what happend but apps are starting quite immediately! Noticible faster than 05.05.2015 build.

No problems with stock camera - all is working: video rec (with h264) and photo also.

FC of play services is (of course) also away.

NFC is fully working - tested this with NFC tags (I have)

EDIT3

autoload folder is missing - But its in the ROM.zip - but empty - maybe the reason why its not installed?!
[Galaxy Ace II Android Development] matthias1976:
Level lost [%]: Bat.: -56%(100% to 44%) [25,0%/h]

Voltage lost [mV]: (3727-3752) [-11,2%/h]

you lost 56% battery,

but you didnt lost mV !?

+25 mV !?

BBS failure or Battery indicator problem !?
[Galaxy Ace II Android Development] ChronoMonochrome:
What ROM/kernel have you used before? Moving from ace2nutzer's kernel to one, included in this ROM might be a reason for this "misterious" discharge with no voltage loss, due to different charger settings in both kernels. Although ace2nutzer PMed me that aforemenetioned behaviour is possible, I can't accept and merge those changes introduced in latest ace's kernel without enough reason to that(or at least without proper knowledge about each changed parameter).
[Galaxy Ace II Android Development] bebolint98:
Before I use your 05/05 cm11 with your R3.1 kernel.After I wipe cache/dalvik cache and install your 07/17 rom.But today I install your R3.1 kernel to 07/17 rom, I know it's include in this rom.Maybe this is cause the problem? And I also recalibrate my battery in chrono kernel setting app.
[Galaxy Ace II Android Development] ChronoMonochrome:
So, I was wrong then. Because there wasn't kernel change (standalone r3.1 == included in ROM one), it might be software or hardware issue. Try do full discharge/charge - in most cases this helps.
[Galaxy Ace II Android Development] SolGarlic:
Thank you!

Everything seems to be just perfect now. I can't find any more problems/bugs in this ROM. :D
[Galaxy Ace II Android Development] fluffi444:
I just compared codina and condiap build 05.05.2015 once more

Following files are in codinap build, but not in codina. Note also tag.apk in priv-app.
[Galaxy Ace II Android Development] ChronoMonochrome:
Already updated zip with these files.
[Galaxy Ace II Android Development] fluffi444:
"/tmp/releasekey" reading error just after aroma start... "No such file or directory"... sorry :(

EDIT

There are two folders in codinap

frameworks and framework - only framework is correct

and (above mentioned) this is missing

folder META\inf\cyanogenmod is missing with file releasekey
[Galaxy Ace II Android Development] ChronoMonochrome:
Had to repack zip on build-server due to my slow internet connection. It's done from command line, so no need to wonder if some files missing etc. :silly: Will upload once again, hopefully last time :laugh:
[Galaxy Ace II Android Development] borkins:
I'm still getting google play services FC. But maybe, because I didn't wipe the "/data". :/
[Galaxy Ace II Android Development] ace2nutzer:
Same here, even with older ROM from last Year ... G.P.S. Version: latest. So i think this time it's really Google Bug and not ROM Bug ;)
[Galaxy Ace II Android Development] ChronoMonochrome:
Have you tried previous fix with replacing libjavacore/libjavacrypto? Actually this fix is still here, but wholly ROM was compiled using an old GCC 4.7 and with default optimizations(I was too tired having issues with newest GCC or/and "heavy" -O3 optimization and so on). I don't know if this fix is still needed, I applied it just in hope it won't hurt.
[Galaxy Ace II Android Development] borkins:
No, where I can find this fix, or there is a way to do it manually?
[Galaxy Ace II Android Development] ChronoMonochrome:
http://xdaforums.com/showpost.php?p=61448886&postcount=14
[Galaxy Ace II Android Development] fluffi444:
Yeb - that was the last time :) Fully working! Well done!

Outstanding work, Chrono! :good:

100% Universal ROM for codina and codinap (with working NFC).

Latest and last CM11 Snapshot.

All of our "famous" bugs (FC GPServ., FC Camera, Not working WebVideo, etc) are away.

Simply Perfect ROM!
[Galaxy Ace II Android Development] borkins:
Hmmm, I flashed the Fix, but still got FC.
[Galaxy Ace II Android Development] fluffi444:
I would try this:

Do Backup of System

Clear DATA/CACHE of GPS

Uninstall every GPS update via apps settings

Reboot to Recovery

Format SYSTEM

Install this ROM

Install the same Gapps you used before - do not use other or newer gapps

And let phone reboot...

GPS will update itself after some time on WLAN

I did the installation this way (without clearing GPS data) but also with SYSTEM format to be sure that no remainders from old ROM are there.
[Galaxy Ace II Android Development] xo.en:
..what you, guys, are talking about?

Is it too hard to erase /data/gps + reboot to reinitialize gps when proper /etc setting is present (while even 2g net is turned ON for few secs)?

OR, as usual, that cm sucks with gps, as any cm?
[Galaxy Ace II Android Development] borkins:
When switched to this ROM, I wiped system, cache, dalvik, but I used the provided in the OP GAPPS. They are from May (2015), if I'm not wrong.

So, I'll wipe data of google play services. But I must find some very old gapps, and can I update them?
[Galaxy Ace II Android Development] ace2nutzer:
@ up

yes, even if u use 1 year old gapps it'll automatic update the G.P.S. + "Play" .. but the sources of the gapps is old ....

To update also the sources, it's needed to install latest gapps package .. (u can find in my dev-host .. (root-folder))

But i don't now what's better now to fix finally that damn FC issue... I'll also try to clean everything ... at least it's now very rare ... but it still sucks :D
[Galaxy Ace II Android Development] bebolint98:
Also have this fc issue with google play service 7.8.92 http://www.apkmirror.com/apk/google...ices-7-8-92-2098262-034-android-apk-download/ ?
[Galaxy Ace II Android Development] ace2nutzer:
I've 7.5.74 with gapps: HDPI_mini-gapps-kk-20150617-signed.zip - 34.06 MB

Also one newbie from german forum have flashed for the first time CM11 org. from ROX .. Build 20140706 without installing newer kernel and gapps: 20150308 .. and he had also this G.P.S. FC issue .. so i think it's now really G.P.S. Issue itself. But later he reported that after wipe data the problem is now "fixed" by using same Rom like before.. but i think the FC will come back .. after some apps with location service will use it.. or simply Maps + Gmail...

So temp. maybe an old version of G.P.S. is helpful till Google will fix this finally :)
[Galaxy Ace II Android Development] fluffi444:
Sry - I can only say what I did and I have absolutely no FC of GPS.

I use (everytime) this gapps: https://www.androidfilehost.com/?fid=95916177934553396

But will this make a difference? Don't know!

Could be that somewhere in the google stuff on data is the problem.
[Galaxy Ace II Android Development] monstro78:
I also don't have fc.
[Galaxy Ace II Android Development] RyxeL:
I've got camera fc when trying to use video recorder.

I use cm11-20150717 by chrono. here is my logcat https://drive.google.com/file/d/0B7QtDr6GHeXfU3ExVXNmd0d3MjA/view?usp=docslist_api
[Galaxy Ace II Android Development] bebolint98:
[MENTION=5695278]ChronoMonochrome[/MENTION] I do that you suggest but It's strange because the most common is that the phone stay in 100% for more than hours after plug out my charger but now I have 74% after 1 hours till plug out from charger the phone in idle I also see what the wakelock detector write but It's write the phone In deep sleep at full time.So now I don't know what I do wrong or what is the problem and I hope you have another idea.

---------- Post added at 01:27 PM ---------- Previous post was at 01:24 PM ----------

Change the video codec from H.264 to mpeg-4.
[Galaxy Ace II Android Development] ChronoMonochrome:
Sorry, I don't actually have any ideas, some information is still needed since this isn't seem to be a common issue. Right after full recharge measure battery voltage:

cat /sys/devices/platform/ab8500-i2c.0/ab8500-fg.0/power_supply/ab8500_fg/voltage_now

And repeat this when charge will drop to 74%. Whilst this might be an issue with battery voltage calibration in r3.1, so far nobody complained about this.
[Galaxy Ace II Android Development] ChronoMonochrome:
Is this issue still persist after last ROM reupload? Try removing mentioned some posts earlier line from media_codecs.xml.
[Galaxy Ace II Android Development] bebolint98:
It's write:4224000 but as I see it's every time change this is while the phone in charger and show 100%.

Or I watch if unplugged and show 100%: show:4146000?

I will repeat this only if battery dropped to 74% or while have huge percentage drop becasuse not all the time drop to 74%?Just a little bit strange because It's not happen on r3.0 or earlier kernel.

EDIT:

I went to ride the bike the phone in 1:46 hours in idle and stay at 100%.Strange,not??
[Galaxy Ace II Android Development] ChronoMonochrome:
This is normal behavior - with charger plugged it will show higher voltage, whilst the "real" battery voltage is only 4.146V. Recent changes in battery voltage table causes gauge an earlier reaches 100% - to charge battery fully wait till the real end of charge is reached (you can check /sys/kernel/abb-chargalg/eoc_real ).
[Galaxy Ace II Android Development] bebolint98:
In this file write "1".It is the real end of charge?
[Galaxy Ace II Android Development] ace2nutzer:
Chrono updated most of Charger Settings to mine .. so i can say:

When the Phone shows 100% with plugged charger cable.. then FIRST END OF CHARGE is reached ... and this is already enough ...(battery is real 100%)

U don't need to wait for REAL END OF CHARGE ! because we changed algorithm .... so that state will probably reach nobody .... since termination current for this is 0mA .. so nearly impossible thing ... or if yes.. u need to let it charging after 100% for additional 2- 3 Hours or even more ... but as i said.. not needed.. it's just to keep the phone fully charged even after reached the 100% mark :)

Cause in the past.. when the phone had reached the 100% and then real end of charge... the charger stopped charging till the battery discharged at 95% .. so @ 95% (but u still see 100%) the charger started charging again ... so the problem was if u unplug the charger @ 95% real ... after unplug the charger it showed anyway 100% .. but after 1 - 2 hours it showed immediately 95% .. even if the Phone was all the time in deep sleep :)

So that's fixed ;) And many many more other more important things ... that's just a small percent of fixed issues ;)
[Galaxy Ace II Android Development] RyxeL:
which is the latest package have fixed camera fc, "cm-11-20150718-UNOFFICIAL-codina(p).zip" or "cm-11-20150718-UNOFFICIAL-codina.zip" ?
[Galaxy Ace II Android Development] ChronoMonochrome:
Some stuff in my kernel isn't released yet. So, advice with waiting till full charge wasn't an empty sound - default termination current is 150 mA.

Both of packages should have fixed video recording - at least some users have reported that second one works for sure.
[Galaxy Ace II Android Development] SolGarlic:
The second one ("cm-11-20150718-UNOFFICIAL-codina.zip") does work perfectly but only AFTER editing the system/etc/media_codecs.xml file and removing the following line:

<MediaCodec name="OMX.google.h264.encoder" type="video/avc" />

The first one (the one with the "(p)") already has an updated media_codecs.xml file and it should be fine.
[Galaxy Ace II Android Development] ChronoMonochrome:
Sorry, wrongly wrote "second"(build with "(p)" was meant). Not working build is removed to not confuse users anymore, since an universal one now does install without problems and non-universal one is no longer needed.
[Galaxy Ace II Android Development] matthias1976:
is universal build working now for codinaP !?

gave me error, wrote some posts ago.

http://xdaforums.com/showpost.php?p=61935048&postcount=308

really think its intalled right !?
[Galaxy Ace II Android Development] ChronoMonochrome:
Should be fixed now, according to later posts.
[Galaxy Ace II Android Development] RyxeL:
I've remove this line

<MediaCodec name="OMX.google.h264.encoder" type="video/avc" />

and still can't record a video. but in this case camera fc isn't present. here is my logcat https://drive.google.com/file/d/0B7QtDr6GHeXfN2RjUEphc3lqamM/view?usp=docslist_api
[Galaxy Ace II Android Development] matthias1976:
Just tested it.

Works now.

thx
[Galaxy Ace II Android Development] clonypl:
after installing cm-11-20150718-UNOFFICIAL-codina-universal.zip phone goes into infinite reboot loop, and it is stuck on samsung logo. Cant go to recovery mode.
[Galaxy Ace II Android Development] bebolint98:
Now I again have huge battery percentage drop aprox. 1 hour 32% drop? wakelock detector show phone 97% in deepsleep 4 minutes screen on time.At 74% write: 3835000.From 84% about to 75-73% drop atleast 5 minutes.

This very bad now I don't know what to do I have no idea?.With this after 2 hours the batter fully drain.
[Galaxy Ace II Android Development] ace2nutzer:
Try my latest kernel and charge completely to 100% and check ... it should stay around 10hours at 100% if your phone is all the time in deep-sleep ... if not, buy a new battery ! :)

Now it's the time for dying batteries ... ;) Most of Batteries of Ace2 are now over 2,5 Years old .. and they simply die ....

That's why i've updated the charger driver in order to prolong battery life .... because IMHO 2,5 Years for an lithium battery is not really much .... it should living longer !! - So in theory: Buy a new ORIGINAL Battery (not for 8€ ... fake!), use all the time latest Ace2nutzer kernel.. or Chronokernel if Chrono will merge the changes soon, and it should live for at least 5 Years :highfive:
[Galaxy Ace II Android Development] bebolint98:
Now I have 7% so I recharge my battery and after try your kernel.I always use the latest kernel of Chrono kernel.Before I install your kernel I only need to remove init.d script?Now I have this two:00autoload and 00zram and wipe cache?

But It strange because not all the time have this huge drop in deep sleep , sometimes stay for 2-3 hours at 100%.Why??

I also thinking that I buy a new battery but I didn't found that 100% original not a fake.If I want to buy new what I need to see that is an original or fake?
[Galaxy Ace II Android Development] ace2nutzer:
Delete all init.d scripts, freeze chronokernelsettings, flash my kernel and charge to 100% ..

btw: just don't wonder if it takes long time from 99-100% ..(up to 40 minutes) .. this is normal,

but i'll try to reduce this "time" in next build.

good luck !
[Galaxy Ace II Android Development] bebolint98:
Ok thanks!I also have this with chrono kernel 99 to 100% take long time.And what do you think about I ask about with new battery buying?
[Galaxy Ace II Android Development] ace2nutzer:
sorry i forgot to write ....

hmm i would say, a simple trick is the price ;)

It should cost at least 15€ new, incl. shipment :)

But 100% safe is, if it cost 20€ ;)