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

yes, more or less modified -Ofast ....

honestly the whole kernel (both normal + exper.) are based on -O2 ... but heavily modified ...

that means a few -O2 flags are disabled... also there is manually added some -O3 flags (not all ! ) + added manually all flags from -Os (optimize for size) and some flags that are not enabled at any optimizations level :)

All in one it's a custom optimizations level :D So far this is the best result i ever seen on Code-Size & Performance :)

But lol ... i'm still not satisfied .. i suspect i'll have to re-enable one option in defconfig:

https://github.com/ace2nutzer/Samsu...f6#diff-0ed5901410fa069825ae12b307563d67R2619

i suspect all the time that since i've disabled this option, (in order to use more graphite optimizations) that on 2D Games it lags now ... strange .. because it was really fluid :) I'll test it later to revert this change if it'll be smooth again :)

btw: as u can see it's even not pure -ffast-math ..

there are 3 Options disabled

... in order to don't mess it up with NaNs & +-Infs

Thanks [MENTION=5695278]ChronoMonochrome[/MENTION] for finding this

set of flag

on the web :)

That means the math results are more or less correct ... anyway it has less precision.

And according to the GCC Manual -ffast-math is only profitable for programs that doesn't require the full-precision ....

On the other hand if u've apps that requires strict perfect double precision .. but the kernel provides only single-precision, the it'll run even SLOWER .. simply because of completely wrong intermediates .. and resulting completely wrong end-result.

That's why i've marked it "experimental".

as for test-build: Well, then next test. But yes, this is right .. it sounds really bad ...

btw: one more strange thing !! ---> all the time i'm managing things here in my apartment and i'm hearing music with latest build ... i'm listening music over the ext. speaker with screen OFF ... all MP3's .. and what is strange ?? Sometimes .. so let say every 60 minutes there is one song that it can't play correctly ... extremely distortions like hell ... even more what u're hearing on Mario Game. !

I'm pretty sure it's not broken mp3 files ... because yesterday i was able to hear them all without problems with build 20/04 :)

Therefore, update: it'S not only the bad sound on the NES Emulator .. but like it seems to be .. it's a overall broken sound problem.

Anyway it's not completely broken... because the most sounds works properly ... but don't worry we will find this bad flag.

Or better say: this bad-ass flag that disturb our great ROM here ;)
[Galaxy Ace II Android Development] Culateralligator:
Anybody having this issue?

I have four horizontal stripes on the bottom of the screen. I've also had this sometimes just before flashing CM11 when I had Vanir with ChronoKernel.

I've tried 20160415 ROM with 15th, 21st and 23rd of April's kernel and they don't disappear.

On the other hand, I can't set last NovaThor's charger currency to 800mA as battery doesn't charge at all. I have to set it to default's 700mA.

About Turbo Kernel. I have given a few hours of intensive use the phone and I've just had one web browser FC.
[Galaxy Ace II Android Development] IAmLucky:
i had horizontal stripes when i messed up with LCD refresh rates. Changing back to srock fixed it. Maybe thats your screen issue?
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION]

On 24/04 build:

- Bluetooth working

- Sound problem is still there

- exFAT still not working
[Galaxy Ace II Android Development] Culateralligator:
Thanks for answering. But I made a clean install starting from flashing 3 files Russian GB with Odin...

I haven't done anything the phone but installing CM11 and kernels.

Edit: After clean install and before CM11 I had for a couple of days AOSP with Ace2Nutzer's kernel.
[Galaxy Ace II Android Development] nikolas1274:
[MENTION=5840412]ace2nutzer[/MENTION]

I am using the experimental kernel now, I have no problem with fc and it looks like more smooth with game live heroes charge

Also I don't know if it is kernel relate but after 15/4 kernel I am receiving all notifications from tapatalk

Sent from GT-I8160 using tapatalk
[Galaxy Ace II Android Development] rewolt90:
Is this really good think to compile kernel without double precision mode? I never looked at sound libs code but I'm pretty sure that in encoding/decoding sounds process double precission is needed. Much more, double precission is required when you emulate 64 bit long values (sound sample from game emulator?) on 32 bit processor. This QA will explain more

http://stackoverflow.com/questions/...gle-precision-and-double-precision-floating-p
[Galaxy Ace II Android Development] Dr360r:
I tried mario with 160421 kernel and 160424 ROM. Definitely, the melody is distorted. ROM 160420 with the experimental kernel has a clear melody, instead. So it's just the ROM. By the way BT works on 160424.
[Galaxy Ace II Android Development] ace2nutzer:
Have u those Stripes even with Stock ROM's ?? - If yes, its hardware fault. - If not, it's half-broken .. and can be fixed maybe by changing LCD Freq and/or video.modes for the LCD.

U can even charge with 1500mA ... u'll only need an proper USB/AC Charger with at least 1500mA output current.

Note: there are some really cheap USB adapter with printed 1A .. but they even can't provide 600mA stable.

Thanks at all guys for reporting your experiences with the turbo-kernel .... but there is nothing to fix ... it's just faster, experimental kernel with no support at all, because it's normal side-effects when using a kernel with less precision.

Starting new ROM Build.

btw: this Flag was causing BT to FC:

-fira-loop-pressure (comes from -O3 ;) )

maybe this is good to know for u too [MENTION=5695278]ChronoMonochrome[/MENTION]
[Galaxy Ace II Android Development] beardedpanda:
I will test new ROM build in the morning.

On 20/04:

The google pdf app FC when trying to send someone pdf file.

In Instagram app videos can't been send.
[Galaxy Ace II Android Development] jcourtei:
I tried to install the ROM 20160420 on my phone, it says :

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

(Status 7)

So how can I install this ROM for codinap?
[Galaxy Ace II Android Development] aleste2:
Install kernel, reboot and repeat instalation with all the steps.
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION]

On new 24/04 build:

- Sound bug still there. When default alarm sound is playing (Hassium) it's effect like it was fast-forwarded with 16 multiplier (same with Messengers sounds),

- Weird bug in Messenger app. The videos recorindg in app ca be send only when they have a proper lenght. When You stop recording at 0:02 and 0:04 (near 5 sec of the video) it won't be send through,

- exFAT still not works.

On 20/04:

- I get notifications from original taptalk app but not for original XDA app. Same settings in both apps.

It could be a app problem only?

For now I stay with original taptalk app to be up to date with this ROM and Kernel stuff.
[Galaxy Ace II Android Development] jcourtei:
If the ROM is not for codinap, what does it change if I install kernel first?

I see on FTP server there is a file I8160P_Support_v1.0.zip, should I use this? How?
[Galaxy Ace II Android Development] beardedpanda:
Which ROM you using right now?

If any 4.4 kitkat ROM flash the kernel before wipe cache and dalivk cache then try install a2n ROM again.

You flash codinap support file after flashing a ROM.

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] ChronoMonochrome:
Good to know. That's why I never liked to use flags with such unpredictable behaviour. There are a lot flags enabled by -O3 level that are causing much more problems than real improvement, that's why I prefer to stick with -O2 rather than -O3. Btw, mixing -Os and -O2 flags seems interesting but I'm aftaid it's not that easy to find out which flags from -Os you can enable without loosing in performance. Not sure if enforcing -O2 for the whole ROM is good idea too, this is where optimization in a per-modular base might be useful.
[Galaxy Ace II Android Development] Dr360r:
Build 160425: distorted noise on the emulator, working Bluetooth.
[Galaxy Ace II Android Development] beardedpanda:
Build 160415:

- Sound bug still there

- Still can't send videos on Instagram

- Messenger videos bug still there

- Bluetooth working

- exFAT not working
[Galaxy Ace II Android Development] jcourtei:
I was using Vanir with chrono kernel.

I installed CWM recovery and it's working now thanks :)
[Galaxy Ace II Android Development] aleste2:
Install I8160P_Support_v1.0.zip after all the other steps with CWM. The ROM is for both 8160P and 8160, but you need I8160P_Support_v1.0.zip file to make it work in 8160P and get NFC and mobile data.
[Galaxy Ace II Android Development] Nargacuga-XDA:
So, i was playing SimCity BuiltIT using 20150714 ROM n the latest 20160421 kernel, it was laggy, i can't play it.. But when i was in the 20150714 ROM and 20160415 kernel, it was fine without lag..

Any advice?? Rather than flashing back the 20160415 kernel??
[Galaxy Ace II Android Development] jcourtei:
Actually I'm pretty sure I have I8160 device, not I8160P,I don't know why I had this message "this device is codinap", maybe because I lost my baseband. I've always installed ROMs for I8160 device.

I installed everything without I8160P_Support_v1.0.zip and it's working fine now.
[Galaxy Ace II Android Development] IAmLucky:
lol how can u not know if ur phone is with p? lol, if you have nfc = p, if no nfc then no letter
[Galaxy Ace II Android Development] jcourtei:
I know the p means it's nfc.

On the website they said it's phone with NFC, but when I remove the battery I see model number is I8160, I think i's written I8160P on real nfc phones :D
[Galaxy Ace II Android Development] Dr360r:
The thing is that the NFC antenna is usually on the battery, the "no P" model would simply come without the module on the board, i don't know if it's possible to run the i8160P with the i8160 battery.

[MENTION=5840412]ace2nutzer[/MENTION] Build 160426: distorted emulator audio still there.
[Galaxy Ace II Android Development] aleste2:
The NFC antenna for the 8160P is on the plastic back cover of the phone (if you got the original). If you remove it you can see two pressure conectors and the antenna.
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION]

On 26/04 build all bugs presist.
[Galaxy Ace II Android Development] ace2nutzer:
ok starting new test .. it's again 26/04.
[Galaxy Ace II Android Development] IAmLucky:
[MENTION=5840412]ace2nutzer[/MENTION] maybe you know why some apps cannot be installed on my device? i have reparted it so i have that 1 mb storage for photos and videos and im using 8gb sd card, it has a lot of space but it still gives error to install app, it happens only with some apps, maybe you know where the problem is?
[Galaxy Ace II Android Development] ace2nutzer:
New Kernel is Up !!

Changelog:

20160426:

Compiled with latest AOSP GCC 4.8 Toolchain

More Smooth

More Binary Code Optimizations

Reverted some RCU Changes

Better Performance

Merged all changes to turbo-kernel too*

* = also removed Flag -fsingle-precision-constant for turbo-kernel

This is an known issue, (Not my fault) .. to workaround this u just need to switch storages in NT-APP , reboot, install the Game, then switch storages again, reboot .. and the game works.

please test if this build works smooth again .... at least in my case i can feel it's smoother now when playing "the impossible jump"
[Galaxy Ace II Android Development] Culateralligator:
Thanks for the answers.

In not using stock firmware since more than a year any more... Stripes just happens with few ROMs/kernels and not always, they appear and disappear. Now I'm two days without stripes.

Strangely I had that problem only with new CM11 and with a NOKIA 1,5A original charger.

Now I'm using a 1A Huawei and it charges perfectly at 800ma.

Just for people interest. Turbo Kernel runs perfect for now. Just one FC since installed 3 days ago.
[Galaxy Ace II Android Development] Dr360r:
[MENTION=5840412]ace2nutzer[/MENTION] On ROM 160420 the latest non experimental 160426 kernel is even smoother and faster than the 160423 experimental one!
[Galaxy Ace II Android Development] ace2nutzer:
Ok, but note that the phone do not accept every 3rd-party Charger ... with some of them u can't charge with more than 500 or max. 600mA !

Well, then install now latest turbo-kernel and u'll switch in to the next gear ! :D
[Galaxy Ace II Android Development] Dr360r:
Already done!
[Galaxy Ace II Android Development] Culateralligator:
Installed last turbo kernel.

The improvement is noticeable from the first time.
[Galaxy Ace II Android Development] IAmLucky:
does it have any problems or what can happen the worst if I will use turbo kernel? any recommendations what NOT TO DO while using this turbo kernel? thanks [MENTION=5840412]ace2nutzer[/MENTION]

P.S. is there any big noticable difference between latest experimental and latest stable kernel?

---------- Post added at 12:54 AM ---------- Previous post was at 12:32 AM ----------

[MENTION=5840412]ace2nutzer[/MENTION] 3 parted GB stock ROM is missing from your old ftp :/ maybe u still have it???
[Galaxy Ace II Android Development] Culateralligator:
You can download here:

https://www.dropbox.com/s/3okawqmw8gbazns/I8160XXLK6.rar?dl=0
[Galaxy Ace II Android Development] ace2nutzer:
U can use turbo-kernel like default ace2nutzer kernel.

It only can happen that u'll face some FC or even random reboots.

Only "can happen" so not "will immediately happen"

Anyway it's experimental kernel, so not fail-safe, also that turbo kernel will NEVER be fail-safe, simply because

it has less precision on math operations, so it breaks some ISO Rules for programs (apps) that require it.

here from original GCC Manual about -ffast-math:

Turbo-kernel is always faster than the default ace2nutzer kernel.

check here on XDA user [fluffi444] (old user of ace2 phone) .. he has in his signature some links to all 3-parted stock ROM's ;)
[Galaxy Ace II Android Development] shaqman89:
I guess turbo kernel should be used depending on your own usage, since not all apps might need precision on math operations.

In my case, so far I haven't have had any FC's or random reboots at all, and the performance is better.

[MENTION=5840412]ace2nutzer[/MENTION]

I seem to forgot about the negative effects on zram. According to previous discussion, bigger zram value should increase battery drain/performance hit, am I right?

Somehow I don't feel any difference between using 75, 150 and 200 values. In fact it only makes it better when multitasking. :good:

I'm not complaining, but just makes me wonder.
[Galaxy Ace II Android Development] ace2nutzer:
Yeah, but actually the problem is that i really don't know how to check if an app requires such high precision for math functions or not :o

Personally i don't use turbo-kernel, because i prefer to have an fail-safe Kernel. :o

Yes, this is still Valid :) the more zRam - the more battery draining. - But actually the kernel is that much extremely efficient that it just somehow compensate even the higher cpu load coming from LZ4 Compressor.

But anyway the difference is there even if it's now probably very small. - Don't forget that using zram means compress and decompress data in RAM almost all the time .. and this causes more CPU load = more battery draining. - I suggest to use the Phone without zram at all ... only use it if u really need it ... and as small as possible ;)
[Galaxy Ace II Android Development] nikolas1274:
[MENTION=5840412]ace2nutzer[/MENTION]

i am using the turbo-kernel for about 3 day without problems at all and looks like faster and smoother

But this is the end for me because my wife 's brother give me his old S3 (I9300), so i will move to the other thread.

Thanks all developers here that keep the ace2 alive after 4 years
[Galaxy Ace II Android Development] CodeInjector:
wifi Problem

hi

today i flash latest Ace2nutzer kernel and Rom on my ace 2 i8160

before this rom, i have cm 12.1 (android 5.1.1 by sergeyL)

after flash new kernel and rom my phone stuck on samsung boot logo

i flash cwm_stock_reparted.zip and kernel; boot logo problem has been solved but i have new problem :

WiFi dosen't start.

can anyone help me ?

(sorry for my bad English :( )
[Galaxy Ace II Android Development] beardedpanda:
Back up your data before doing anything then flash again ROM, kernel, NT App, gapps. All files must come from ace2nutzer FTP server.

For flashing use steps from attached picture but first of all do a factory reset/wipe data before any reflashing.

Stock reparted is for installing stock ROMs over custom ROMs . Of course you can used it with this ROM. It's no problem.

P.S pico gapps is now hdpi gapps. ;)

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] CodeInjector:
thanks

what is NT App ??

all thing i get from ace2nutzer ftp.
[Galaxy Ace II Android Development] beardedpanda:
NovaThor app. If you don't flash this your phone will hang on boot logo.

You will find it on FTP.

For this kernel you should flash 1.7.2 version

You must flash it after flashing the kernel.

If it doesn't help wait for [MENTION=5840412]ace2nutzer[/MENTION] response but Personally if I were you in that case I will try from the beginnig (flashing 3 parted GB, JB and then this ROM) but I recommend to wait for ace2nutzer advice.

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] CodeInjector:
thank you so mush man

my problem solved ;)
[Galaxy Ace II Android Development] EL-HEFE:
Hello [MENTION=5840412]ace2nutzer[/MENTION]

How to do a clean install for this rom+kernel?

at the first page, there is no tutorial for this.

I already have 3 GB and JB ROM.

Then what file should i download from FTP server at the first page?

Also i want to do reparted my storage too.

I want to use this stable rom so much :)

thanks.
[Galaxy Ace II Android Development] beardedpanda:
Download files from FTP server provided by S.AMU not dev-host.

You should download ROM, Gapps, kernel and Novathor App 1.7.2

For phone with NFC you should download NFC supoport too

If you on stock JB ROM you should root it first then flash temporary CWM and in CWM:

1. Wipe data/factory reset

2. Wipe cache and dalvik cache

3. Format /system (don't forget to unmount /system and /cache before formatting)

4. Flash ROM, NFC fix (only when your phone is NFC version), Kernel, NT App and Gapps

5. Reboot

6. Yes for fixing root (if question is present. If not it is OK too)

If you on custom ROM you can do only wipe cache and dalvik cache then rest steps from above and it should be OK.

When SWYPE won't work for your phone system language flash the JB AOSP dictionary fix from misc folder placed in FTP.

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] ace2nutzer:
sorry, i'm busy guys.

right now uploading 27/04 .. there i only need to know Audio Bug on NES Emulator + exFat if possible. - Thanks Guys.

The other Bugs i'll try to fix after fixing first those 2 bugs.
[Galaxy Ace II Android Development] Dr360r:
Take the time you need.

[MENTION=5840412]ace2nutzer[/MENTION] Sound still not fixed on 160427. Using non experimental kernel.
[Galaxy Ace II Android Development] ace2nutzer:
ok thank u ... new try - new luck.

PS: The kernel it doesn't matter .. it's ROM Bug.
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION]

I will test builds later for exFAT problems.

My ISP has a some sort of down time or whatever and I'm using mobile internet for now with low bandwith limit.
[Galaxy Ace II Android Development] ace2nutzer:
@up

thank u, but as long sound isn't fixed, i assume that exFat is broken too.

Probably the same Flag breaks both things.

So it's more efficient if u start to test exFat on an fixed sound latest ROM.

Next test-build is in 30 - 45 Min online.
[Galaxy Ace II Android Development] beardedpanda:
@up roger that

Still no "normal" Internet :<

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] shadow252:
I just want to say goodbye to every Galaxy Ace II user on these forums. I bought a new phone(also budget type :P) so I will be moving to the forums of Moto E 2nd Gen. Thank you Chrono and ace2nutzer for your work on making our Ace II a better phone, I also want to thank everyone who contributed to the work of the developers! :)
[Galaxy Ace II Android Development] Dr360r:
Audio is still corrupted on emulator.
[Galaxy Ace II Android Development] Vitouu:
No simcard nor network

Hello,

Here is my installation process :

- Flash with Odin to get on Jellybean

- Flash temporary cwm, wipe data/factory reset, wipe cache partition, wipe dalvik cache, unmount /system, unmount /cache, format /system

- Install the kernel

- Reboot recovery

- Install ROM, I8160p support zip, Gapps, NovaThorSettings

- Reboot

And my phone won't receive network nor detect my SIM card.

I'll be grateful for any kind of help !
[Galaxy Ace II Android Development] ace2nutzer:
is your phone GT-I8160P ??

If yes, then flashing the File i8160p.support.zip is right..

IF so, just flash again that i8160P support.zip + kernel.
[Galaxy Ace II Android Development] EL-HEFE:
Hey thankyou very much for this answer :)

my question, is i have to root my JB first before doing the first step?

Is this ROM doesn't automatically rooted after flashed?
[Galaxy Ace II Android Development] shaqman89:
No, you don't need to root first, but you do need a custom recovery.

Either flash temporary cwm from stock recovery, or flash ace2nutzer Odin kernel using Odin.

The ROM already have root but you need to activate it first in developer option.
[Galaxy Ace II Android Development] Vitouu:
Yes, my phone is a GT-I8160P, alright I'm trying it

EDIT : Still not working ): but I'm sure it must be me or my phone as it seems to work with the others i8160p
[Galaxy Ace II Android Development] [-GuTi-]:
Probably you wiped modemfs, check it in "About Phone"
[Galaxy Ace II Android Development] greeceeeee:
For me 15/04 kernel is running much faster and smoother than the 2 latest
[Galaxy Ace II Android Development] Dr360r:
For me, it's the opposite.
[Galaxy Ace II Android Development] ace2nutzer:
Same here.. right now compared 15/04 vs. latest kernel.. and there is a big difference.

latest one ist fast and smooth.
[Galaxy Ace II Android Development] greeceeeee:
Very weird....On my phone has lags on every app especially on facebook letters are disappearing,also multitasking is worse ? Have I done something wrong?
[Galaxy Ace II Android Development] gepel:
No problems at all with latest kernel for me..
[Galaxy Ace II Android Development] lab34:
Hi,

for me, the last kernel and the last rom are fastest then the old ones. Very smooth and better multitasking.

I've noticed something new: If I charge the phone, and if I reboot during the charging process, the charge is not resuming. I have to unplug and plug the usb cable to resume the charge. Strange... I think it's since one or two kernel (before upgrading the rom).

And it seems to me that the last rom drain more battery than the old one (the july one).

I don't have wakelock (I hunt them), and I have a lot of deep sleep, but when I'm using the phone (surfing essentialy) the battery decrease fast.
[Galaxy Ace II Android Development] ace2nutzer:
Try again .... it's simply best kernel ever :)
[Galaxy Ace II Android Development] ace2nutzer:
Right now tested, (with laptop) works fine :)

So check in NT-APP if u've enabled "Charger OFF" - if this will not help, then wipe data of NT-APP.

Well, 1 year ago i had also better battery lifetime .. the battery looses his capacity with time ... this is normal chemical process, if u want again 100% power, by new original battery.. or similar as well polarcell 1700mA .. probably even better than only 1500mA.