yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
lol !!!

Thanks for advice !

I wanted to test this method as next... But good to know that it'll work for sure....

So far compiling exfat with -Os -mthumb even didn't worked... so actually 03/05 build is compiled with target thumb with -Os and now the guys says that it works. (finally)

Will recompile with Os for fuse lib ... Of course it's better! Not so bad !
[Galaxy Ace II Android Development] ChronoMonochrome:
Don't get me wrong - I knew about this fix, but didn't test it on KK as I found this commit after I switched to LP. But there's a method that always works - is to determine which blob is failing and try to replace it with a working one. If I'm not wrong, libfuse is a static lib that is only used by mount.exfat, so you can even test this blob from the working build without rebuilding anything .
[Galaxy Ace II Android Development] lotrzyk0:
Is exFAT somehow better, smoother etc. than others?
[Galaxy Ace II Android Development] Dr360r:
Not so much. It essentially allows you to store files bigger than 4GB.
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION]

Guys, I made a complex instruction (guide) how to flash this ROM and Kernel in pdf file. Please read it and maybe it will be worthy enough to be pinned on to very first post in this topic.

You will find it in attachment with this post.

What is included:

- Features - kernel

- Glossary

- From where download the files (Links leading to files on, S.AMU FTP server with Latest builds, dev-host [FTP with old builds only for Odin and temp_CWM], My Google Drive [3 part ROM] and other topics from XDA [SamFirm and CSC])

- Installation methods, minor fixes and inspect process

- How to unbrick from hard and soft brick

- Useful links

- Secrets codes aka factory codes

I looking forward for your opinions.
[Galaxy Ace II Android Development] Sylvinette:
Any news for uploading video to Instagram?
[Galaxy Ace II Android Development] beardedpanda:
Still not working.

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] ace2nutzer:
:good::good::good: Thanks for your work and also for supporting me ! :)

I checked it very quickly .. and it looks not so bad ... i'll read it properly later ..... :)

yeah that's right .. i read it somewhere .. that exfat gets broken if compiled with -O2 .. the main problem is that it can't mount it .. so u're right with lib/fuse and mount.exfat .... ;)

Yeah ...

Maybe there is a chance that it'll work when i'll update the ramdisk.
[Galaxy Ace II Android Development] Dr360r:
Guys, another kernel's up!
[Galaxy Ace II Android Development] ace2nutzer:
Changelog:

20160504:

Updated Network Config

Small Code Optimization

Updated turbo-kernel

Enjoy !!

New ROM is coming too ... with fixed exFat (maybe!) and not compiled the whole ROM with -Os :)

Also updated CM Sources .... (right now!)

Enjoy too :cool:
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION]

New Kernel is up, ROM soon will be so better Installation Manual is up too! :)

1. I added subsection about dealing with external memory card problems. I tested the measures which I described there by myself so it should work on 100 %,

2. Better style and composition (grammar and language) [For this one credits goes to [MENTION=6902149]Dr360r[/MENTION]].

I call [MENTION=5695278]ChronoMonochrome[/MENTION] too because I figuerd out unbricking method for hard brick when I trying unbrick my Ace 2 after bad flashing of Chrono kernel and Vanir.
[Galaxy Ace II Android Development] ace2nutzer:
I'm reading right now the instructions ... i'll edit this Post in the next minutes .. a couples of times .. of course if i found something to correct / bugs etc..:

Here we go !

To Correct:

Page 5: Point 8 & 17: Hard brick is when the Hardware is broken .. that means even an Riff-Box will not revive the phone. - Soft brick = Wrong Bootloader ... the Phone doesn't respond to the Power-button.

Stuck at Samsung/CM Logo = Bootloop etc ...

Page 8 Point 1 e = delete this line.

Page 12 = u need to rework it completely due of Page 5 as mentioned before .... sorry

Done. ;)

All in one really good !! Thanks to all who are participating :)
[Galaxy Ace II Android Development] gepel:
Cm11 folder is empty.. I suppose you gonna add the ROM when it will be done..
[Galaxy Ace II Android Development] jcourtei:
Maybe newbie questions: why not to wipe cache and davilk cache? Is it already done by point 1 d?

And why not to delete line on page 9 point 2 d?

On point 1 f, why would it be useful to unmount /cache if we format only /system?

On page 7 point 2: download the supoport file
[Galaxy Ace II Android Development] Dr360r:
160504 ROM is up.
[Galaxy Ace II Android Development] ace2nutzer:
Yes :)

Yeah, it's most probably useless too ... The Kernel has nothing to do with the dalvik-cache .. it's moreover ROM Related ... So it's only useful before to update the ROM.

Thanks for your attention, this is useless too to unmount /cache.

btw: u can even directly format /system without to unmount it .. it works as well !

Just don't forget to mount it again, after formatting.

Ahh got it :D
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION]

On 20160504 ROM exFAT still working.

Later I edit this manual and post it's (Final version?). I wait, because new things to correct may come to the daylight but if you think thats all of them just say a word and I will go to work.
[Galaxy Ace II Android Development] ace2nutzer:
For me the Manual is fine :)

I'll later finally update Post 1 - 3 .... There is too much useless informations ....

Well, this is good that exFat is working .. so Fix found by [MENTION=5695278]ChronoMonochrome[/MENTION] works fine ;)
[Galaxy Ace II Android Development] beardedpanda:
So in few minutes I post final version. I go to work now.

So if exFAT is working now I stay with that file system to test new builds.

BTW: Now I try to test apps for errors, bugs etc.

If you want me to test exact app just write it in post or PM.

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] bebolint98:
[MENTION=5840412]ace2nutzer[/MENTION] I noticed that when I flash test builds rom it's take more time to install than the 0714 or some earlier test builds. Forexample it's take 6 minutes to appear the blue line in cwm in 05/04 earlier it max 1,5-2 minutes. Are you know why? Thanks.
[Galaxy Ace II Android Development] jcourtei:
So [MENTION=7332124]beardedpanda[/MENTION], it could be interesting to add update process, if I'm right:

- wipe cache and davilk cache

- format /system and mount it

- flash rom, codinap support, kernel, nt app, gapps
[Galaxy Ace II Android Development] ace2nutzer:
Well so far i've noticed long installations time if i do dirty install (without to format /system) .. otherwise it's fast.
[Galaxy Ace II Android Development] bebolint98:
I do not mind, just I did't experience earlier. Yes , I only wipe cache. It's a problem if I didn't format system, I didn't faced any app fc or something other?
[Galaxy Ace II Android Development] ace2nutzer:
Yes it's anyway better to format everytime system .. even if it's a bit annoying.

btw: Next Step is to add more LTO Optimizations to the ROM and update the ramdisk.. ... then finally i can create proper repartition.zip and then i'll try to make it even more Smooth (LCD's Drivers) - Then i'm done! Yes Yes!
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION] and rest of you guys!

I present you a FINAL version of the Installation manual for ROM and kernel by ace2nutzer!

Table of contents

Introduction

Features - kernel

Features - ROM

Bugs and issues

ROM

Kernel​

Glossary

Determining the phone model

Getting files

Installation:

GT-I860P incompatibility fix

Installation – kernel only

SWYPE fix

Boot loop and others – missing NT App

How to check if /modemfs has been mistakenly formatted or not?

When external memory card stops working

GPS poor reception fix and Time To First Fix reduction​

Bricking and unbricking

Useful links

Secret codes​

​

Credits:

​

[MENTION=5840412]ace2nutzer[/MENTION] for making this ROM and kernel and poiting things to correct,

[MENTION=6902149]Dr360r[/MENTION] for GPS fix and TTFF reduction, style corrections (grammar, language, typos), glossary additions,

and rest of you guys who contributed!​
[Galaxy Ace II Android Development] Dr360r:
Nice job!
[Galaxy Ace II Android Development] tofueatsbread:
Screen driver(cmiiw)
[Galaxy Ace II Android Development] shaqman89:
I originally thought so too, but after googling around a bit, it seems that it's only related to some multimedia extensions, that was why I wasn't sure in answering it as a screen driver.
[Galaxy Ace II Android Development] shaqman89:
[MENTION=5695278]ChronoMonochrome[/MENTION] [MENTION=5840412]ace2nutzer[/MENTION]

I think you guys hit a spot about the GPU configuration. So far using 400/700 of GPU frequency is working really stable.

I noticed something else though, there seems to be a sound stuttering whenever the screen is about to go off and go on. The stuttering isn't there when the screen is off just when it's going to change states between on and off.

The cpu configuration I am using is Interactive 200/1100.

I am not sure it's 200 though since it sometimes changes itself to 400 (arm_kHz requirements, right?)

Other than that, YouTube works fine, no sounds stuttering with screen off, and the best part, no reboots so far, even when I heavily multi-task like before :)
[Galaxy Ace II Android Development] soko3:
no, you didn't understand me..

charging problem is coming back if battery drops to 0%

and when i finally turned phone on, i need to repeat process from post#3, about setting charging voltage

there is no bih drops, my battery is four months old ;)
[Galaxy Ace II Android Development] MarquesYOLO:
Is the deleted_wake_locks value normal?

Edit : I've tried to charge the device for 30 minutes more or less that I stay at home but it didn't charge, but it lose about 15-20 %. I think it charge because the animation of the percentage works, but it doesn't raise.
[Galaxy Ace II Android Development] ace2nutzer:
Very weird.. i don't have this bug..

Try to wait 15 minutes.. then u must see minimum 1%.. try also in offline Charging...
[Galaxy Ace II Android Development] Peedy2495:
Hi,

I'm not able to update from XXNB1 to your current ext4-image!

Message:

E:signature verification failed

Solved by using a Package fm TeamCanjica, first.

Bye ... Peedy
[Galaxy Ace II Android Development] ace2nutzer:
U need to flash my ROM an temp. CWM... u'll find this on my dev-host ...
[Galaxy Ace II Android Development] artur1131:
Hi there.
[MENTION=5840412]ace2nutzer[/MENTION]

On Ur newest kernel and CM i noticed that battery drain is greater than on older (september) builds.

I still have blackscreen bug but now its less annoying (i dont have to pull out the battery (y)) but it still occurs.

Is there any way to increasy the quality of music on our phone? Can we do some tweaks/tuning up the DAC to get clearer sound?
[Galaxy Ace II Android Development] Peedy2495:
TNX for the reply.

Oh, yeah ... I already saw it ... 1+1 is ... let's think about it ;))

Cheers ... Peedy
[Galaxy Ace II Android Development] matthias1976:
Llama

for me Llama work great.

using Llama since ages.

2.3.6, 4.1.2, cm11 Rox

Now chronokernel/poppmensa cm11 no problems.

Check what is set in Novathor app DeepestSleep State.

For testing set on 3 default to avoid Blackscreen and wakeup problems.

Is she using AlarmDroid !? This program got problems in some version of programm. Alarm wont work. Read on comments in playstore.
[Galaxy Ace II Android Development] nikolas1274:
I have ace cm11 191114 + deep sleep 4 and I am not facing black screen at all.

The only (little) problem is the multitasking instead chrono kernel, when I opening two-three apps and I want to go back to the first one it reload the first.

Nice work anyway
[Galaxy Ace II Android Development] shaqman89:
I am also using that version of cm11, and using deep sleep state 5 with no issues.

Multitasking is fine for me if it's just 2-3 application, even up to 5-6 depending on the application (usually WhatsApp, BBM, Tapatalk, Messaging, and Whisper), but when I start switching back and forth between 8 apps (especially if a game is involved), then it might get slow, but then considering our RAM, I think it is the limits of our phone.

It is quite an achievement especially compared to stock.
[Galaxy Ace II Android Development] BastiZ:
Just install ViPER4Android

go to UI Settings and set Expert

Anybody of you trying Amplify?

...need ExposedFramework.

It can stop wakelocks and alarms. But for this u have to donate 2$

I increase my battery up to 15%

.
[Galaxy Ace II Android Development] Spoonoid:
I do use Amplify, since a little more than 2 months. It does not stop wakelocks and alarms, but allows reducing them, to achieve same functionalities but better battery life.

Really great app (and amazing community on XDA thread), my battery lasted approx. between 15 and 20% more too (depending on my phone usage). And I achieved between 0.2% and 0.8% battery drain by hour (idle time) with Amplify.

Free version of Amplify allows reducing Nlp-related wakelocks, and for me they are the #1 battery drain on my phone (location turned on all the time, by choice). Anybody should try the free version if you keep your location turned on at all times.

I am trying since 4 days Ace2nutzer kernel, F2FS with Art (so: no Xposed, no Amplify). It is believed Art can achieve better battery, don't know yet if true. So far, really smooth (200 / 1000Mhz), no reboot, no black-screen... and sufficient battery life for an entire day.

Sp
[Galaxy Ace II Android Development] shaqman89:
Great work :good: :good:

Since GPS issues comes quite often with our phone, I think a GPS fix should also be good. Maybe in the glossary as a link, or including also a way to improve the antenna would be quite beneficial. I believe [MENTION=6902149]Dr360r[/MENTION] knows more about this.

See here: http://xdaforums.com/galaxy-ace/ace...l-20141027-t2920365/post66203792#post66203792

One more addition that I think would also be good as an additional part with tweaks for certain use cases.

Some things that come into mind are features that could be done from NT-app or init.d scripts using FS interfaces, eg: zram, double tap to wake, etc.

I'm not sure if the last would stretch the installation manual too much, though, but it's something that I always tend to configure after a ROM installation.
[Galaxy Ace II Android Development] Dr360r:
By the way i've never tampered with the GPS antenna. I've only tightened the screws. And by the way i believe that if you buy a new internal back cover you get a new GPS antenna. Anyway i've experienced navigation with the two lines inside the build.prop and i had accuracy issues which ceased once i deleted the two lines.
[Galaxy Ace II Android Development] shaqman89:
Ah yeah. Sorry, bad wording. I did meant tightening the screws so the antenna would work better.
[Galaxy Ace II Android Development] ace2nutzer:
deleted
[Galaxy Ace II Android Development] ace2nutzer:
Okay ... finally i've managed to write an full Changelog for the CM11 !!

I just hope i gave properly Credits to who helped me and who fixed things !

If i've forgot someone ... so pls PM to me ! - Thanks !

Changelog:

20160504 ROM:

Improved Camera Stability [MENTION=5695278]ChronoMonochrome[/MENTION]

Fixed Live-Stream-Video over Stock Browser [MENTION=5371721]Epirex[/MENTION] [MENTION=4400604]Meticulus[/MENTION]

Allow to swap Storages @ Matt Mower

Init.d Fix

STE Multimedia Fix [MENTION=4947931]Rox[/MENTION] @C457 [MENTION=4400604]Meticulus[/MENTION] [MENTION=226169]Nova[/MENTION]Fusion

Fix for Xposed [MENTION=5695278]ChronoMonochrome[/MENTION]

Checked + cleaned Camera Fix

STE-OMX Fix [MENTION=4400604]Meticulus[/MENTION]

Fix for Low-incall-Volume [MENTION=4937224]h3llrais3r[/MENTION]

ExFat Fix [MENTION=5161352]JustArchi[/MENTION]

Removed Buggy Soft-Reboot

Many Build.prop tweaks

Optimized for low-ram devices

Support for FS larger than 2GB on exFat (32 -> 64bit)

0-compression-ratio for .jar files @ ??

Disabled some Debugging

Compiled with latest OpenJDK 1.7.0.x

Compiled with Stock AOSP GCC 4.7 Toolchain

Compiled the whole ROM with -O2 & ARM-Mode & Graphite Optimizations & many more Code Optimizations

Target_arm is built with LTO Optimizations

NEON Optimizations (-ftree-vectorize -mvectorize-with-neon-quad)

Disabled Forced Strict-Aliasing on the whole ROM (even hard-coded)

Cleaned the whole ROM from bad Flags than can harm the Code

Various Code Optimizations Fixes

Enabled TLS Register [MENTION=5695278]ChronoMonochrome[/MENTION]

Removed useless Workaround for Cortex-A8 CPU (We've A9)

Vector Floating Point Optimizations

Reduced Code-Size - Improved Code Efficiency

Individual Optimizations (Register-set) for the ARMv7-a Cortex-A9 CPU

Bluetooth & Audio Fix

Compiled without useless Support for Interworking (-mno-thumb-interwork)

Updated CM Sources

Thanks [MENTION=6902149]Dr360r[/MENTION] for testing every test-build and reporting Bugs !

Thanks [MENTION=5701712]shaqman89[/MENTION] for Providing powerful Build-Server !

Thanks [MENTION=5382590]S.AMU[/MENTION] for Providing very Cool-Freezed FTP-Server

Thanks @ all other users for Reporting Bugs too :)

Installation Method is for now temporary here:

http://xdaforums.com/showpost.php?p=66698354&postcount=4579

Many Thanks @beardedpanda for writing this Manual for the Ace2, this ROM & Kernel !!!

Have Fun !

btw: I'll edit 1. Post + 3. Post tomorrow ;)
[Galaxy Ace II Android Development] dimon130:
Flash CM11 04.05.16 + OpenGapps. It did not get to install PowerAMP.
[Galaxy Ace II Android Development] ace2nutzer:
What ?

Opengapps are buggy, u should use gapps from my ftp.
[Galaxy Ace II Android Development] dimon130:
C OpenGapps set 30 programs and 20 manually. it was not a bugs. But neither PowerAMP from Market or in a manual was not installed. Sew Gapps by Mardon. Also PowerAmp not installed. Rollback on CM11 13/03/16
[Galaxy Ace II Android Development] ace2nutzer:
Oh nooo ... Another issue ....

I'll check the log when i've time.
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION] [MENTION=5701712]shaqman89[/MENTION]

Yep. Installing PowerAMP from Store gives me a Google Store error code -11.

BTW: I attach the FINAL version of manual without any typos (I think) and some new things, in post where old final version was. Please, check it out! :)
[Galaxy Ace II Android Development] ChronoMonochrome:
I don't think I should be credited here as this fix was fairly known months ago before I found it as well.

It was arter97's commit, originally.

Btw, you are enabling LTO for CFLAGS, but not for LDFLAGS. Without this, LTO optimization may not be full or correct. I'd suggest to refer to this commit https://github.com/MWisBest/android_build/commit/1c64d424b31c60bf96617d19d1f4c5932d2409d4 as an example of LTO implementation.
[Galaxy Ace II Android Development] ace2nutzer:
Yes, but u told me this ... so without your hint to the proper commit, i wouldn't find this fix .. so it's thanks to u as well.

Thanks ! I'll edit.

Thanks for the hint, and what about LTO to the kernel ?? It's also needed to add LTO flags to LDFLAGS ??

btw: as for PowerAMP .. it looks like Dalvik-cache is somehow buggy ... probably broken by code optimizations :-/
[Galaxy Ace II Android Development] ChronoMonochrome:
I'm not sure if kernel needs LTO explicitly enabled in LDFLAGS, though some LTO implementations takes care of implementing linking wrapper script for building modules, thus allows proper LTO handling by them.
[Galaxy Ace II Android Development] Dr360r:
What should ROM build 160505 be tested for? I don't think LTO or other optimizations, because FTP shows the same size.
[Galaxy Ace II Android Development] beardedpanda:
160505 build - PowerAMP issue still present.
[Galaxy Ace II Android Development] ace2nutzer:
Yes, only PowerAMP. i've only removed patch for FS bigger than 2GB for FUSE (sdcards) This is now more important than Add more LTO Optimizations :)

Compiling next build without custom code optimizations, just to see if PowerAMP will work.

should be in around 2 hours up ! (pls test it, i can't test builds for now)

If it'll still not work, then it's most likely CM Sources Bug

[MENTION=7332124]beardedpanda[/MENTION]

New Manual looks even better ! - Big Thanks !!

Only a small comment: Reboots are not caused because NT-APP is missing. - The ROM + Kernel is able to run with same stability without NT-APP at all.

The Reboots only happens if there is an old version of NT-APP installed and u use it with new kernel.

Or there is CK-Settings installed :)
[Galaxy Ace II Android Development] Dr360r:
Poweramp not installing on 160506.
[Galaxy Ace II Android Development] ace2nutzer:
U can try to google it.. poweramp can't be installed cm11

And post here the result, if u find something useful
[Galaxy Ace II Android Development] Dr360r:
Sorry, can't find anything.
[Galaxy Ace II Android Development] ace2nutzer:
Ok no Problem, i'll rebuild with removed hard coded code optimizations. Maybe works
[Galaxy Ace II Android Development] Dr360r:
Anyway Poweramp is not the only media player here.
[Galaxy Ace II Android Development] ChronoMonochrome:
Have you tried looking at logcat errors? Btw, the way of entire rebuilds of ROM in a search just one bug is incredibly long... If you have two builds - one, which is working and one, which you think has introduced the bug, you are free to mix binaries from both builds (at least if you don't change code but just change optimizations) - it works probably in 99% cases and is way faster can result in finding a library, which you assume, is bugged.
[Galaxy Ace II Android Development] Dr360r:
Ok [MENTION=5840412]ace2nutzer[/MENTION] Poweramp installs correctly on build 160313. Trying what you suggested. As i told before, i found myself (unfortunately :() on some kind of "forced hiatus". I think i have all the time in the world to do this.
[Galaxy Ace II Android Development] ChronoMonochrome:
You don't necessarily need to replace half libs at the time. According to the backtrace from the log above I would conclude that the faulting lib likely is libdvm.so or dexopt binary, I would check it first.
[Galaxy Ace II Android Development] Dr360r:
[MENTION=5840412]ace2nutzer[/MENTION], [MENTION=5695278]ChronoMonochrome[/MENTION] is right. Replaced libdvm.so of build 160504 with the one from 160313, set 644, rebooted et voilà. Poweramp now installs. Lets put another notch on our debugging gun.
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION]

I think libdvm.so is a problem. On a 160505 build when I change runtime to ART the powerAMP install correctly. Changeing vack to dalvik = instant crash.

BTW: sorry for the time of my react. I am out of time too.

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] ace2nutzer:
Yeah then i was right too, as is said it's probably a problem with the dalvik-cache ... hmm

Can u [MENTION=6902149]Dr360r[/MENTION] test the latest build (original) but with build.prop from 13/03 ?? That would be very interesting.

Don't forget to set permission to: root:root 644 or -rw-r--r--
[Galaxy Ace II Android Development] Dr360r:
What should i look for? You mean i should install 160504 or 160506 only replacing build.prop (and not libdvm.so)? And try to install Poweramp and see if it fails? Or just check if the ROM runs or not?
[Galaxy Ace II Android Development] ace2nutzer:
yes .. use only build.prop from 13/03 ROM .. and put it on 20160504 ROM .. and try to install poweramp.
[Galaxy Ace II Android Development] Dr360r:
Done. Poweramp no longer installs (error -11).