yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=5840412]ace2nutzer[/MENTION]! I'm update an A2N kernel control to 2.9 version , I use a CPU of 1200Mhz frequency, it's worth turning on PLL DDR OC on or when should I use it?:confused:
[Galaxy Ace II Android Development] ace2nutzer:
lol u can use it when u need more Power :D

But be carefully ... test it first without to OC CPU/GPU ! (in order to see if it works at all for your phone)

According to [MENTION=5695278]ChronoMonochrome[/MENTION] it's possible that u can't OC GPU too much when using PLLDDR OC @ 1Ghz !

So check first only PLLDDR ... then later OC CPU .. and see if it's still stable (play some minutes a game every time) then u can start to OC also GPU ... of course always in small steps !! not directly from 400Mhz @ 700Mhz :)

Other than that, i'll make an efficiency test what's more efficient ... (in terms of speed & battery draining)

performance profile without PLLDDR OC

or

balanced profile with PLLDDR OC !
[Galaxy Ace II Android Development] AkosPaha:
Thank you very much

Please post new changelog!
[Galaxy Ace II Android Development] ace2nutzer:
New Builds are Up !!

Changelog:

Kernel 20171005:

Updated Kernel Config

Moved L2TP Support to Modules

Fixed "low space" error for some Apps

Ram Management: adjusted Minfree Values - as previous one was too aggressive

Updated Ramdisk

Recovery: added "nano" gnu text editor - thanks [MENTION=5695278]ChronoMonochrome[/MENTION]

Recovery: optimized fstab - clean ups and added ability to mount/unmount /ramdisk

Inkl. A2N Kernel Control [GT-I8160] Demo V2.9

A2N Kernel Control [GT-I8160] V2.9

Storage: Fixed unmount micro sd

Added PLLDDR OC Button

A2N Kernel Control [GT-I8160] V2.8

Misc: zRam: updated Text

CM11 ROM 20171005:

incl. A2N Kernel 20171005 - normal version

Inkl. A2N Kernel Control [GT-I8160] Demo V2.9

AUTO wipes, except factory reset

Now everything should work like a charm !! :good:
[Galaxy Ace II Android Development] Sidebandit:
[MENTION=5840412]ace2nutzer[/MENTION] all working & smoother. Extra fps on Epic Citadel Benchmark over previous.

Galaxy S3 mini 5.1 Omni @1GHZ 35.1 fps

vs

Galaxy Ace2 4.4cm PLLDDR oc @1GHZ 36.3 fps

Both Nova Thor.

Apps2sd works great. Many thanks!
[Galaxy Ace II Android Development] Fabbb2:
The previous version did not work for me (no network). This one is workling perfectly !
[Galaxy Ace II Android Development] AkosPaha:
The installer error has completely disappeared:victory:, performance is very fast and smoother!
[Galaxy Ace II Android Development] ace2nutzer:
Kernel Update !

Changelog:

Kernel 20171007:

Updated Kernel Config

Memory Management: updated minfree Values (again more aggressively, but best performance!)

Inkl. A2N Kernel Control [GT-I8160] Demo V2.9

Uploaded also new ODIN Kernel (Version 20171005)

Enjoy ! :good:
[Galaxy Ace II Android Development] AkosPaha:
Performance is getting better and better than previous Rom + kernels! I would like to ask you that I noticed that there are no zram files in the /data/data/com.ace2nutzer.settings.device folder in the ROM + Kernel update in October or have you moved them somewhere else?

Here:
[Galaxy Ace II Android Development] ace2nutzer:
Scripts are moved to /data/app-lib/
[Galaxy Ace II Android Development] Sidebandit:
tested Kernel 20171007: Managed to run Gunship 3 navy air combat at 10-15 fps. Plesently supprised it ran at all! @1ghz PLLDDR oc, GPU 450mhz.

Note: GPU [MENTION=467413]500[/MENTION]mz and PLLDDR oc resulted in Black screen on reboot. NP as i don't normally push this that hard as its not used for games. Epic Citidel - Gunship 3 used for bench.

Excellent work [MENTION=5840412]ace2nutzer[/MENTION]
[Galaxy Ace II Android Development] AkosPaha:
Can you add a notification LED blinking delay button to set the delay? The Notification LED button is down!:confused:
[Galaxy Ace II Android Development] ace2nutzer:
That's great !!

This is normal @ blank screen on reboot for PLLDDR OC ! - U've to wait till the Backlight gets OFF, then wait some seconds and wake up the Phone by pressing Home Button. Usually the Screen should work then.

If not, then try with GPU 550Mhz + PLLDDR OC enabled because 550Mhz Step uses highest Voltage ... so there's a higher chance that it'll run stable. If it works stable, u can even try higher GPU Freqs !

At which max CPU Freq did u run the Bench ??

Yes it'll be in next Update.
[Galaxy Ace II Android Development] vbracer:
Hi all. I have just installed this ROM as specified in first post and it is far better than stock - thanks ace2nutzer!

I have installed:

a2n_kernel_gt-i8160_4.4.4_sdcard_only_20171007

cm-11-20171005-UNOFFICIAL-FULL-codina

cwm_cm11_partitions_layout_sdcard_only

HDPI_mini-gapps-kk-20170507-signed

One fault:

When someone rings via mobile network, I get one audible ring (Ring=digital phone) only, then silence. But the incoming call is still flashing waiting for me to pick up. It's as though the ringer only plays once, but does not repeat/loop.

Is this a bug that can be fixed??
[Galaxy Ace II Android Development] ace2nutzer:
Digital phone doesn't have a loop.

Can't say if it's intent or it's a bug.

Just choose a different one with loop.
[Galaxy Ace II Android Development] RetZi4:
Hello. I installed Rom and kernel but I cannot connect to 3g.. What should I do? Thanks..
[Galaxy Ace II Android Development] Yønn:
Thanks for latest updates! Performance and battery life are amazing! :)

Anyway, with latest ROM and kernel dirty install, my GPS problem is still there. 2 main issues:

1. GPS gets broken after some time of usage (Waze or GPSstatus apps).

2. Waze gets black after some time of usage. Notification/status bar is still diplayed.

I had the impression it worked better with kernel 20171001 but some other issues were fixed since.

What can I do to help identifying what is wrong?
[Galaxy Ace II Android Development] ace2nutzer:
According to the Waze Description ... after some time it'll disable GPS to save battery, especially when u're not driving anymore. Maybe u mean this??

After how many minutes this happens ? Also make sure to keep the App in foreground .... if u press Home Button, it's possible that it'll be killed by Low-memory-killer.

For now check above things, if it's still having problems, u maybe really need to check your GPS Antenna.

Looks like this an known issue with the Ace 2.

In my case GPS worked very well even indoor ! - But after it was needed to disassemble the Device now GPS Status App can't find a GPS Position ... I've only one bar on the left gps symbol.

So for now i can't help much, i need to fix my GPS Antenna first.
[Galaxy Ace II Android Development] AkosPaha:
I also tested the GPS, it works well outdoors and indoors too !!!:victory: On the outside in 10-15 seconds you will find the GPS. Can find my GPS in the indoor, just a little longer!
[Galaxy Ace II Android Development] lace_hvc:
You guys can get GPS signal indoors with location settings 'gps/device only'? This has never worked for me. I need to be outside.

Outside the phone needs up to 30 seconds to connect to the GPS satellites, but then it's stable. In offline and airplane mode it can take longer. Has to do with agps update I assume?!
[Galaxy Ace II Android Development] AkosPaha:
I always use the "high accuracy" GPS! It is recommended that you use it sooner you will find the GPS and more accurate!
[Galaxy Ace II Android Development] Yønn:
Sometimes, this happens while driving with Waze (even if kept in foreground!).

It takes about 5 minutes, sometimes more. But I had already set "Keep Waze in foreground", so it is not related to LMK, I guess.

I will check again my GPS Antenna. When I am using GPS status, I can reach 4 bars outdoor, but it does not last very long due to my problem...
[Galaxy Ace II Android Development] Sharkykounet:
I also get the same issue with the gps.

i use Runkeeper as my sport tracker. The gps work perfectly (with +/- 20 secondes to get GPS position in "high accuracy mode"), then gps is lost and gets broken.... A reboot is needed. Sometimes the gps works perfectly for 5 minutes, sometimes for 45 minutes, or 1h30...
[Galaxy Ace II Android Development] Yønn:
If you are using GPS Status, can you see the radar icon slowly "blinking" in the status bar?

I mean it alternatively shows the radar icon with cross (no signal) then disappears and reappears 5 seconds later.
[Galaxy Ace II Android Development] vbracer:
Tried another sound which loops and it now repeats.

Must be a bug because I always use Digital Phone on GalaxyS2 CustomROM and it repeats correctly???
[Galaxy Ace II Android Development] Sharkykounet:
Exactly. And with zero satellite available, instead of +/-20 before...

Any idea ? ROM, kernel, Hardware ?
[Galaxy Ace II Android Development] Yønn:
Did you perform dirty or clean install?

I did dirty install so that might be related.
[Galaxy Ace II Android Development] Sharkykounet:
I think it's a clean install (2017-08 version ROM + Kernel).

I still don't have installed the latest kernel (I always wait 6-7 days before install new kernel).
[Galaxy Ace II Android Development] Yønn:
I think ace2nutzer will only consider your issue if you are using latest Kernel and ROM.

2017-08 is too old to be used as reference.

I recommend to check if you encounter the same issue (as me) with latest builds.
[Galaxy Ace II Android Development] Sharkykounet:
Yeah, You're right ;)

I'll install latest builds (probably dirty install) and check during the next days.
[Galaxy Ace II Android Development] RetZi4:
Any help??? :confused:
[Galaxy Ace II Android Development] ace2nutzer:
Quick GPS Fix !

(using latest ROM and Kernel)

Use Location mode: High Accuracy.

Delete the Content of /data/gps/

and Voilá ... GPS Fix is there in 3 Seconds !

Now u can even switch to "device only"

It'll still find GPS Fix in 3 Seconds once it's lost.

Be aware:

The Phone MUST stay all the time in Portrait mode like a Candle ! Otherwise the GPS Signal is lowest or won't work at all !!

Tested with GPS Status App for 2h, works perfectly now !

I've tested it indoor on the Window and i was having all the time FULL Signal with 11 - 15 Satellites !
[Galaxy Ace II Android Development] AkosPaha:
I have a bug on MTP with latest ROM+latest Kernel , not working on Windows 7!

Can you fix this problem on next update?;)

Edit:Kernel or ROM supported the KCAL?
[Galaxy Ace II Android Development] ace2nutzer:
I don't have Win 7, so i can't test it.

I've Win Xp here and it works fine.

Can u provide more info ?

Is it not working at all ?

USB Driver installed ?

Samsung Mobile Driver installed ?

Did u enable MTP in Settings --> Storage ---> PC Connection ?
[Galaxy Ace II Android Development] AkosPaha:
The Usb driver sometimes does not install, but if you install all the drivers, it does not appear in the Windows File Manager, then if I plug in again the phone in MTP does not even appear, I need to switch to USM!
[Galaxy Ace II Android Development] ace2nutzer:
I only can suggest to properly install Mainbord Chipset Drivers ...

then perform Win Update and check in Device Manager that everything is installed properly.

Don't use legacy (standard) Drivers from Windows, use always latest Drivers from yor PC Vendor.

U may also want or need to perform a BIOS Update.

Then Finally Install Samsung Mobile Drivers ...

That should work!

It's basically impossible that it works on Win XP, but not on Win 7 ;)
[Galaxy Ace II Android Development] AkosPaha:
All right, I deleted all the device drivers and I installed it again now it works properly! Thank you!;)

Edit: And I would like to ask if the kernel supported the KCAL?:confused:
[Galaxy Ace II Android Development] ace2nutzer:
We don't have a KCAL implementation.
[Galaxy Ace II Android Development] AkosPaha:
Why,don't have?

You could add it to the kernel?or no?
[Galaxy Ace II Android Development] ace2nutzer:
Hmm the thing is that i'm not interested in that feature, also i don't have the time for this.
[Galaxy Ace II Android Development] Yønn:
Thank you for the hint. Here's a screenshot of GPS status. It seems the antenna is working ok.

Unfortunately, last drive with Waze the GPS got broken after 5 minutes. There should be some CM bug because Sharkkyounet get same issue with Runkeeper.
[Galaxy Ace II Android Development] ace2nutzer:
I'll drive today with waze and test this.
[Galaxy Ace II Android Development] ace2nutzer:
I don't think it's ROM or Kernel Bug.

It's just a matter how u configure and use Your Phone.

In my case it's only working with the following Config:

3G Network

zRam

I was driving 20 minutes, worked all the time, also the showed Speed in Km/h is very accurate... (just 1 km/h diff.)
[Galaxy Ace II Android Development] Yønn:
Thank you for feedback.

Usually, I let Wifi On. So maybe I should disable it when using Waze. I will test again.
[Galaxy Ace II Android Development] ace2nutzer:
No problem :)

Waze needs internet connection (don't know why) and GPS ("device only" or "high accuracy").

And zRam.

Anyway a few minutes ago i even found out that zRam wasn't enabled at all (because i'm running a test kernel flashed with ADB, then permissions for the script --> zram and so on, are wrong) but the App worked after the second attempt !

On first attempt it worked only for a few seconds ... then the app was freezed .... so i killed the app and enabled zRam (but in reality it wasn't enabled lol) and as i said on second attempt (without to reboot) the app worked normally.

So that's just a sign of low ram problem. Once such a big app is launched and you kill it, then there's a lot of free RAM ... that's why it worked on second attempt.

Anyway for properly functionality i reccommend to enable zRam.

Waze falls into the Category "Big Apps" like Real Racing 3, Pokemon Go and so on ... they are just "too big" for the Ace2, but they work almost perfectly with zRam enabled.
[Galaxy Ace II Android Development] Yønn:
I forgot to mention that zram is always enabled on my phone (due to such big app).

I'll continue to investigate.
[Galaxy Ace II Android Development] ace2nutzer:
U can also enable logcat and when the gps gets broken u can generate logcat & dmesg, then post it here, maybe i can see what's wrong.
[Galaxy Ace II Android Development] Sharkykounet:
I tested yesterday with Runkeeper for a 20 minutes session. And I got no problem, with and without 3G network. The tracking was OK, no GPS lost.

Zram enabled. GPS fix from previous post done few days ago.

I need to test a longer time.
[Galaxy Ace II Android Development] Yønn:
I made some tests.

1. Usually first use of Waze after reboot semms to work OK.

2. Later use of Waze leads to broken GPS (I will upload logcat and dmesg from my computer, cannot do this from XDA App).

I'll continue testing.

By the way, is it normal that ace2 Control app and demo one are running in the mean time?
[Galaxy Ace II Android Development] ace2nutzer:
Yes, is normal and should cause no problems since it uses its own place for storing settings.

The Only button that can cause interferences is "enable logcat" because it's same with normal app.

So in basically only "debug" menu is same and fully working, all other menus does nothing ... just fake, so it can't mess it up with the settings from real app. :)
[Galaxy Ace II Android Development] Yønn:
Here are the dmesg and logcat from one of my last "GPS broken" issues.

If not useful enough to identify what's wrong, I can provide some more.

Thanks for your help.
[Galaxy Ace II Android Development] Yønn:
Hi all.

Is there anyone using XDA app on ace 2 and being able to upload attached files to his/her posts?

I couldn't upload logcat and dmesg without sending them to my laptop and uploading from it.
[Galaxy Ace II Android Development] AkosPaha:
I have not working, because the logcat and dmesg has no ordinary file type of what the XDA labs application for you can upload file
[Galaxy Ace II Android Development] Yønn:
I have renamed them with a ".log" extension but this did not work better.
[Galaxy Ace II Android Development] AkosPaha:
I would recommend writing behind the file name ".txt" or bundling it into a ".zip" file. This way the upload will work.

Look at the my screenshot:
[Galaxy Ace II Android Development] Yønn:
Here is an additional log from my last GPS broken issue (yesterday).

[MENTION=590189]PahaÃ kos[/MENTION] : your trick made it but had to pick the files through File Explorer when entering File chooser interface.
[Galaxy Ace II Android Development] AkosPaha:
I use a different file manager and I choose it through it! I know it's hard to quote me because of my name (there was a problem with XDA registration), but please quote another time exactly! And not [MENTION=590189]paha[/MENTION]Ãkos , but correct [MENTION=590189]PahaÃ kos[/MENTION].:)

Edit: I noticed you can not quote me exactly, XDA quote issues, sorry.;)
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=5840412]ace2nutzer[/MENTION]!

can you increase performance in the next Kernel update?;):angel:

Besides zRAM, how can I increase RAM, can I add virtual memory to my phone as RAM? Can you increase RAM somewhat or add more RAM to your phone?:confused:
[Galaxy Ace II Android Development] ace2nutzer:
U can create a swap file in your sdcard ...

I Suggest to create it on micro-sd ... because with time it'll destroy the card due of too much writes to the card.

So later if it gets broken u can easy replace the card, but if u'll use internal flash-disk, then u can buy a new Phone.

btw, are u really sure ram is still not enough ? latest Kernel is using the whole ram for zram.

I recommend to use a old class 10 card. But be aware that it's much slower than zram.

As for the additional maximum swap Size: it's limited .. i need to calculate it first.

What happened here ? Only GPS broken ?

Or waze was FC ?

Random reboot (kernel panic) after the issue ?

Waze was kicked by a security feature "Buffer overflow protection"

I can reduce that level of security or even disable it completely ..

from rom and kernel .. then that "error" will probably disappear.

But probably not a good idea to reduce the security.

<4>com.waze: page allocation failure: order:6, mode:0xd1
<4>Backtrace: frame pointer underflow

Is the Waze App u're using original (from play store, not cracked) ?
[Galaxy Ace II Android Development] AkosPaha:
ok, I do not need it because I do not want to ruin my phone and Sd card either !!!!;)
[Galaxy Ace II Android Development] Yønn:
Only "GPS broken" issue (in both cases of logs I uploaded). Especially in the second case, I generated the logcat and dmesg just after the GPS failed.

I use Waze from PlayStore, I already tried to wipe Waze data (also GPS status data).

I agree it's not a good idea to lower security. Maybe I am facing the drawbacks of Dirty install and so I should try to wipe all data.
[Galaxy Ace II Android Development] ace2nutzer:
Wait, no need to perform a full-wipe, i think there's something wrong with the ROM (not Kernel).

I''ve read again your last logcat.

I'll let you know.
[Galaxy Ace II Android Development] Yønn:
OK I'm waiting for your feedback.

Let me know if you need more logs.
[Galaxy Ace II Android Development] galac44:
Today I tried to enable zram for the first time. I don't have licensed kernel control app. I tried to run enable_zram.sh and get the following error :

modprobe: can't change directory to '/lib/modules': No such file or directory

Is there an issue with kernel modules ?

I'm on latest kernel and rom.
[Galaxy Ace II Android Development] Sidebandit:
Swap file only useful for running a must have app you can't do without and have no other phone. Experimented with a Galaxy y 2.3gb device back in the day. Gain more ram by freezing or deleting apps running in the background you are sure you will never need.
[Galaxy Ace II Android Development] ace2nutzer:
open terminal emulator or ADB and type

for ADB:

sudo adb shell

for term. emu.:

su

then for both variants:

enable zram

./data/app-lib/A2NKernelControl[GT-I8160]/enable_zram.sh

disable zram

./data/app-lib/A2NKernelControl[GT-I8160]/disable_zram.sh
[Galaxy Ace II Android Development] galac44:
I tried this one and get the same error :

modprobe: can't change directory to '/lib/modules': No such file or directory

modprobe: can't change directory to '/lib/modules': No such file or directory

I'm using SSHDroid (root).

If I type the following command I get the same error :

1|root@codinap:/data/app-lib/A2NKernelControl[GT-I8160] # modprobe zsmalloc

modprobe: can't change directory to '/lib/modules': No such file or directory
[Galaxy Ace II Android Development] ace2nutzer:
Flash latest kernel again and use only scripts inside the package. I update them from time to time.

Also be aware that scripts from and on 4.1.2 stock, are actually not working, but it'll work on next update.
[Galaxy Ace II Android Development] AkosPaha:
The lastest ROM + Kernel call does not work if someone calls or someone calls me the phone freezes and restarts!
[Galaxy Ace II Android Development] ace2nutzer:
It works for me, are you using undervolting or overclocking (PLLDDR OC is also overclocking)?
[Galaxy Ace II Android Development] AkosPaha:
I use GPU OC 750mhz, CPU OC 1200mhz +zram
[Galaxy Ace II Android Development] ace2nutzer:
Try with default CPU/GPU Freq (Balanced profile), if it's ok, then u've to find out a stable max CPU/GPU Freq for your Phone.

Logs are not needed for now.

I've a Q.: GPS problem also with "Balanced" Profile ?
[Galaxy Ace II Android Development] Yønn:
I almost never changed profile, so this problem always happens with "Balanced" Profile.

Do you want me to try with "Performance" et "Powersave"?
[Galaxy Ace II Android Development] ace2nutzer:
Ah OK Merci !

No, not needed.

Later i'll upload new Kernel & App.

Stay tuned Guys !
[Galaxy Ace II Android Development] galac44:
I tried to flash again latest kernel ant it's the same.

I made zram work by loading the modules with : insmod <fullpath>.

modprobe is probably looking for modules in /lib/modules/<kernel_version>
[Galaxy Ace II Android Development] ace2nutzer:
Yes it's possible, but for sure u've modified the BusyBox Version :o
[Galaxy Ace II Android Development] galac44:
I didn't modify this sort of things. The only things I touch are the 99_user script and apks. For the rest I flashed 20171005 rom, 20171007 kernel sdcard only, nfc file, gapps, as written in the first post.
[Galaxy Ace II Android Development] Yønn:
Hi [MENTION=5840412]ace2nutzer[/MENTION], did you manage to find what was the origin of the issue?

Bécasse you told something was wrong in the ROM but you plan to upload new Kernel & app?

Have a nice day
[Galaxy Ace II Android Development] ace2nutzer:
No, i'm still searching and as it turned out it's not GPS lib itself issue, but it's a global issue because i'm facing exactly the same error in kmesg when i try to play Real Racing 3.

In short: memory allocation failure even if there's enough free ram.

When i'll fix this Bug then everything will work much better.

Also next Update will have increased userspace (virtual)RAM, (912@2960MB)

which means effectively approx additional 300MB of usable zram.

EDIT: Temp Fix:

Flash 20170323 ROM then latest Kernel.
[Galaxy Ace II Android Development] Yønn:
As suggested by [MENTION=5840412]ace2nutzer[/MENTION], I tested 20170323 ROM with 20171010 Kernel. GPS is working fine with Waze. Performances are not too bad. Thank you.
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=5840412]ace2nutzer[/MENTION]

Can you post the new changelog??