yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] Mr.Larynx:
I just can't flash temp cwm,says replacing stock recovery.. and there comes the black screen.I'm trying to flash temp cwm on stock JB.
[Galaxy Ace II Android Development] Yønn:
I have the same issue.

Using:

- latest ROM 20161126

- latest Kernel 20161204

- latest NovaThor 2.0

- cwm_cm11_partitions_layout.zip

I followed dirty installation from Post #3, doing repartition before.

I mean I installed Kernel + NovaThor after restoring cwm backup.

But maybe I should have reboot to system before...
[Galaxy Ace II Android Development] Mr.Larynx:
Is there anyway to disable proximity sensor? Because my proximity sensor is not working well.
[Galaxy Ace II Android Development] ace2nutzer:
Just flash ODIN Kernel (from my dev-host) wiht ODIN ... instead to flash temp cwm !

Check Post 1 -3.

If u had "swap storage" enabled before u installed new NT-APP, then it's normal now... The use of new kernel requires that "swap storage" is not enabled. (that's why i've removed it)

Fix: Wipe data of NT-APP and reboot.
[Galaxy Ace II Android Development] Yønn:
I already tried, but it didn't fix the issue.

Also tried to wipe cache and dalvik, but the issue remains.

Also tried to reinstall Kernel + NT App, but the issue remains.

Do you have another idea?
[Galaxy Ace II Android Development] Culateralligator:
It didn't work for me either.
[Galaxy Ace II Android Development] stefanoscheda:
My sequence has been:

0) started with stock partitions, kernel 20161126, NT 1.9 and CM 20161126

1) taken CWM backup

2) repartitioned with the new partitions_layout

3) restored that backup

4) lost apps moved to SD and unable to (re)install several apps

Now, may I just flash the new kernel&NT and restore again that backup taken at step 1 or should I better repartition to stock before restoring the backup and only after this flash the new kernel&NT and reapply the partitions_layout zip?
[Galaxy Ace II Android Development] Culateralligator:
I've finally succeed.

I've flashed previous kernel/NTApp, and I ensured swap storages was off after rebooting the phone again (checking it out on Settings/Storage).

Then flashed again latest Kernel/NTApp and finally it's working right.
[Galaxy Ace II Android Development] Devel0per95:
what is the best charger currency should i pick? :

900 - 800 - 700 - 600 - 500 - 400 - 300 - 200 or 100 !
[Galaxy Ace II Android Development] MarquesYOLO:
Reboot at 1100 with deep sleep state 3 and 4.
[Galaxy Ace II Android Development] werindam:
I have this same issue :/
[Galaxy Ace II Android Development] MarquesYOLO:
State 5 of Deep sleep is stable in latest build with 1000 mhz?
[Galaxy Ace II Android Development] ChronoMonochrome:
I don't see any relation between these settings. If 5 state stable itself, and if your phone can handle CPU OC upto 1000 MHz (with whatever DS state), then yes.
[Galaxy Ace II Android Development] MarquesYOLO:
Wrong question then. So is deep sleep state 5 stable in latest build? :)
[Galaxy Ace II Android Development] ace2nutzer:
Definitely your bad.. or your battery is going down.. Li-ion batterys don't lives for 10 Yeahrs.. If your battery is older than 2 Years.. u should buy a new one....

depends how fast u like to charge the Phone... bigger Values meaning faster charging...

Check Post #3 for infos about abb-charger !

@ reboots.. it looks like something is bad with this latest build.. i'll try to make new build now and revert the SDI1 (Wifi-card) Thing.. maybe not stable for all... At least it's oc'ed from 50 @ 100Mhz :o

btw: when reboots oncourred your Wifi - wlan was ON ?
[Galaxy Ace II Android Development] Nakedass:
pls help, developer...

If i switch over 1.2Ghz my phone reboots. i have CPA 8.50 and latest 19.12.14 kernel ext4, because f2fs doesnt work for me. How do i run at 1.4Ghz without reboots?

:confused::confused::confused:
[Galaxy Ace II Android Development] ace2nutzer:
open your Phone, put an heatsink on your CPU/GPU-Chip and Modify the Voltage Regulator from 1,3625V @ 1,5000V... that should work ;) :highfive:
[Galaxy Ace II Android Development] ace2nutzer:
New Build is Up !

Changelog:

20141220:

Overall more stability

Cleaned Sources a bit

a bit more powersaving

Reverted: "enabled also 100Mhz instead of 50Mhz for "SDI 1" (testing)"

Please test the stability of this Build.. especially the Users from 19/12 Build with random Reboots on 1,1Ghz ...

Please2: Don't report random reboots if u're OC over 1,1Ghz.
[Galaxy Ace II Android Development] Bilgets:
Hello, I usually use my wifi inside my room, but somehow its not connected now if im in my room.. can we put more power to make it reach longer area?
[Galaxy Ace II Android Development] ace2nutzer:
Yeah.. just disable Wifi_MAX in NT-APP under network .. and check preferences in Wifi itself.. Usually switching from Europa @ USA can reach more Signal .. because it sends with more power.... u need also to change the Region in your Router ... but just for info.. it's illegal lol :D Or in general buy an Wifi extender ... (repeater)
[Galaxy Ace II Android Development] junnickbefore14:
Random reboot still happen in the latest kernel...

I don't know if it is because bad cpu or something, because it just fine in 11/19 build, up to 1150 Mhz
[Galaxy Ace II Android Development] ace2nutzer:
@up

thanks for report... yes it has to do with bad cpu qually... because for some users latest builds is working stable...

But some users with badly cpu, including me, didn't work stable... but it's good to know that build 11/19 is working stable ...

I'll check commits from this Build / date .. i believe it uses higher Voltages for CPU ....

btw: are u all agree that Build 11/19 is till now the most stable Build here ?????

Thanks
[Galaxy Ace II Android Development] seanmalto:
You mean if there is no OC there is no bug or blackscreen?

CPU quality? how to check that?

if it's true, i will use this Kernel with CM 11 :)
[Galaxy Ace II Android Development] junnickbefore14:
Well, in my experience, the latest kernel works stable only IF... If there is no high load on CPU..

I can confirm that when I am not playing game, the latest kernel can hold 1200Mhz with no reboot at all..

But when I open app like ppsspp, it reboot after 2 min playing..
[Galaxy Ace II Android Development] luckystar1107:
Build 11/19 is till now very stable :o:o
[Galaxy Ace II Android Development] ace2nutzer:
Yeahh.. usually no problems.. but every Phone is different.... to check CPU Quality is very simple.. set max. freq step for step a bit higher till the Phone freeze... till 1100Mhz.. u can say bad cpu quality.. and 1150 - 1250 is very good cpu quality.. and from 1300 - 1400 is just an insane cpu quality... ! no joke but one user here.. tried this kernel.. and his CPU was stable @ 1300 Mhz.. !

Well.. thank u very much for detailled report.. next Build should have the best stability of all time.. but it can take around 1 Week.. because i'll run some stability test.. also with different CPU Voltages.. to find out max. stability but without increasing Voltages too much to avoid to much battery draining ....

Cool thanks.. i know what i need to do now :good:
[Galaxy Ace II Android Development] soko3:
[MENTION=5840412]ace2nutzer[/MENTION]

11/19 was the best build till now...

Also, 1200 mhz step isn't for daily usage, because noone need all that speed and processing power during normal use. I'm using it only for hard gaming. So, when i play demanding game, phone is always pluged in, so higher batery drain isn't problem..

All in all, you should set voltages over 1GHz like on Rox's kernel, because it was stable almost for all...

It's better to have more power when needed, than having useless cpu steps...

AND THIS IS THE MOST IMPORTANT THING:

you should revert all cpu steps lower than 400...

Although all steps <400 are using same voltage, they are not using same power!!!

P = c*V^2*f +Ps

where:

- P is power used

- c is sappacitance

- V is voltage

- f is cpu frequency

- Ps is the static power dissipation

As you can see, power consumption is connected with cpu freq and 400 mhz step is using 4x more power than 100 mhz :)

I didn't saw what freqs are enabled in last build because after flashing last, i almost imidiately reflashed 11/19 build..
[Galaxy Ace II Android Development] seanmalto:
I test the CPU quality, at max freq 1100Mhz, there is no freeze, there is no lag.

Then i try to set max freq at 1250Mhz, and min 1150Mhz there is also no freeze, my HH run faster :D

at the last, i set min and max to 1250Mhz and its so smooth, i also open some apps an it's still smooth.

So, is my CPU has a good quality?

I use cm 10.2, max freq is just 1250Mhz.

Thank you :D
[Galaxy Ace II Android Development] ace2nutzer:
if u did what i've wrote, and followed steps for repartitioning on Post #3, and after installing latest kernel + NT-APP + wipe data of NT-APP and finally rebooting and u can't see the content of your sdcard, then it's most likely an issue with the sdcard itself.

Fix: Connect sdcard with any computer and move all files to an new folder in your PC.

Then insert the card into your Ace2 and boot to recovery ... now format it as vfat and reboot to the system.

Check if u can see the sdcard ... try to make an photo ... and see if the photo can be stored in sdcard at all.

If it works, u can power off the phone, remove card, connect with card-reader to your PC and u can copy all the files back to the sdcard. But DO NOT FORMAT sdcard on the PC !.

Then insert back to the Phone, and it should work again, and all your files and maybe apps from sdcard are back !

It must be 100% an issue with the sdcard, because it works fine for me :)
[Galaxy Ace II Android Development] ace2nutzer:
lol !! U're right ! Just now i remember that the Setting "switch storage" is NOT stored in data folder from the NT-APP itself ..... BUT it's stored directly in /data/property !!!

For others, u don't need to flash back old NT-APP ... u can just go to /data/property and scroll at the bottom and open the file: persist.sys.vold.switchexternal and set the Value from "1" to "0" :D
[Galaxy Ace II Android Development] Automat1991:
Hey,

Is this possible to make 2nd kernel without these changes? How this kernel will work if I don't have an external SDCard?
[Galaxy Ace II Android Development] Culateralligator:
Once last kernel is installed, I've moved/linked to SD (real SD card) some apps for the first time, as lastly my data space is getting too small...

I've a Samsung 32 GB 10 Class. Are all apps (Facebook, Dropbox, Maps, Google Translator...) supposed to work less smooth once they're moved?
[Galaxy Ace II Android Development] ace2nutzer:
Nope, at least with Class 10 .. because internal flash is also Class 10 :)

I don't plan to build + upload different kernel versions .. this is somehow too much painful.

I'll try if i can get it to work with and without sdcard. - The best solution is that when sdcard is not inserted, then it should mount internal sdcard... and when sdcard is inserted, it should mount only real sdcard ... so lets see if it's possible .... but if not, it's time to buy an sdcard ... ;) The Ace 2 only has poor 4GB Flash memory .... it's not an Phone with 16 or even 32GB Flash memory that u can use it without sdcard :)
[Galaxy Ace II Android Development] shaqman89:
CMIIW, but isn't class 10 have different speeds? Eg: I know there are 48Mbps, 80Mbps, and 96Mbps ones.

So the speed might be an issue.

In my case, when I use the 48Mbps, apps that are moved to the external are a bit slower, but with 80 or 96 no perceived of performance hit was there.
[Galaxy Ace II Android Development] ace2nutzer:
Never heard about that .. i only know about Classes ...

And here on my 32GB Class 10 .. i've moved 2 Apps on it for testing ... and i can't see any diff.

btw: The most important thing is still the Classification ... 10 means 10 MB/s write speed.

But Read speed is always far way faster .... so starting apps runs generally always fast enough... it only sucks if u've to save big files on an Class 4 sdcard ... then it's only 4MB/s write speed !

And here with this kernel it's even more than Class 10 :D

with stock i had exactly 9 - 10MB/s

with my kernel @ 800Mhz i've 12MB/s and with 1Ghz i've even 14 - 15MB/s !! so it's Class 15 lol :D

So don't worry about that ... as long it's Class 10 .. all right.
[Galaxy Ace II Android Development] Culateralligator:
Nice question. Mine has just 48 Mbps...

EDIT: I've just read your answer, Ace2Nutzer.

So, phone's reading speed of the Sd card isn't higher than 48 Mbps, that's what you mean, don't you?
[Galaxy Ace II Android Development] ace2nutzer:
i've tried a few tricks ... but i can't convince the system to mount any sdcards always as sdcard0 ... so i gave up and i've compiled "nosdcard" Version ... u can find it on usual Kernel Folder on FTP ! :)
[Galaxy Ace II Android Development] shaqman89:
I did make a quick check on this, and you are right about it being 10 MB/s of minimum speed.

But class 10 also have a rated speed, which likely means average maximum speed, at least according to sandisk website here: http://kb.sandisk.com/app/answers/d...eed-class,-uhs-speed-class,-and-speed-ratings
[Galaxy Ace II Android Development] ace2nutzer:
yeah .. and so far all various cards i had .. it was always like that, that the number of the class was always the write speed ... and read speed is always 2 or 3 times faster than write speed.
[Galaxy Ace II Android Development] ace2nutzer:
Updated Changelog !

Changelog:

20161204:

MCDE: LCD's: Stock Freq by default, adjusted all delays - reduces or fixes black screen issue

Natively set ext-sdcard as system sdcard0, no need to swap storages

Moving Apps directly to the real sdcard is now possible without 3rd-party apps (settings --> apps ---> select app, move to sdcard)

only one sdcard visible (real one), but both on recovery

faster rebooting & shutdown

WARNING: This kernel will not mount internal sdcard0, so move first all your files from sdcard0 to real sdcard before u flash this kernel !

INFO: Uploaded "nosdcard" Version, if u don't have an miscro-sdcard, use this Kernel !

Set serialno to 0123456789ABCDEF

updated ODIN Kernel (fixed black screen issue)

EDIT:

Also uploaded new cwm_cm11_partitons_layout_nosdcard.zip

which is only for users that want to use the Ace2 without an micro-sdcard.

This Script gives u 1,5GB on /data and 1,5GB for sdcard0 :)
[Galaxy Ace II Android Development] Yønn:
This fixed the issue! Thanks!
[Galaxy Ace II Android Development] lace_hvc:
I mentioned it before, but I didn't get an answer. It really bothers me though and I can't seem to fix it:

Since updating to ROM 20161122 , the lock screen clock lags when turning on the screen. Its the cyanogenmod cLock which is set to .bak inside the ROM, but I rename it back to .apk before installing the ROM. Did so every time I updated to a new ROM.

I also tried older ROMs (dirty installations) where the lock clock didnt lag, but it doesn't fix the problem.

Reinstalling, deleting cache/data/dalvik-cache also doesn't help.

Any ideas?
[Galaxy Ace II Android Development] Automat1991:
Thank you. Sorry for inconvenience , this question about no sd-card was just theoretical... :) I have card, but probably someboy will use this version.

I was heading to the main question: is it possible to revert this changes, and leave as it was in kernels before 04.12?

i.e. internal and external SD Card is visible and sdcard0 will be mount as "main".
[Galaxy Ace II Android Development] ace2nutzer:
No, but wait for new rom, maybe better. - I don't use this app, so i can't say anything.

Sure, maybe there is somebody without sdcard.

Yes it's possible, but then we've again some issues with apps installation. ... dunno what's wrong here on kitkat .. but sdcard config, especially our "swap storage" patch was never working well. As long there are 2 sdcards mounted, no matter if swapped or not, it's again mess it up with app installation. Because some apps install some data stuff to sdcard0 .. and some to sdcard1. So now only one sdcard is mounted, and i hope this will force apps to install everything to one sdcard. But if not then it was useless change of course.

The main issue is also the space -- having around only 1 - 1,5GB for an sdcard is just too low ... and it'll be full very quickly ... and then problems starts again. Using ext sdcard is much better ... because most of us have 4 - 64GB card ...

Anyway, if it works well now, this actually config is so fuc**ng perfect because if u've 32 - 64GB card, then u'll never ever run out of space ... because u can move apps very easy to this big sdcard .... and u've enough space for multimedia stuff ... so u've around 64GB for Apps + Multimedia ... with that combo installing over 1000 Apps on old Ace2 is possible.

Just for comparison: My sis has new Galaxy S5 and she only installed whatz app and maybe 3 - 5 user apps.. and every time she want to try an new app .. she can't ... installation aborted due of "no enough free space" or smtg like that. So every time i need to wipe apps cache ... then it's possible to install an new app ....

btw apps cache on S5 is everytime i delete it @ around 2GB!!

Also if we'll switch to any newer android version than kitkat, then we need even more space on /system + /data ... because the newer android is bigger ... and because of ART instead Dalvik, also needs more space.

i.e. here on kitkat, i've 122 Apps (user+system) .. and i've switched to ART for testing purposes .. and after ART-Dalvik-cache was created, it adds 500 - 700MB used space on /data.... because ART cache is bigger than Dalvik.
[Galaxy Ace II Android Development] shaqman89:
Wait, does someone actually use a 64 GB card?

I resist to get the 64 GB card since according to gsmarena our device only supports 32 GB.

http://m.gsmarena.com/samsung_galaxy_ace_2_i8160-4559.php

Yeah, I agree that storage is a big issue. The only way I've been using so many apps this time is link2sd and a 5 GB second partition. :)
[Galaxy Ace II Android Development] teosound:
I've a bug on last kernel... If i activate the performance profile's script in ramdisk, my phone become super slow in balanced mode. this is happened even with the test kernel (the one with stock lcd freq).
[Galaxy Ace II Android Development] ace2nutzer:
I think it has nothing to do with the device model itself, it's a matter of ROM/Kernel if an sdcard will work or not.

Probably there is now even no limit, since we're using updated kernel and ROM.

At maybe at that time in the article, only 32GB card was available ... so the just write "up to 32GB" because nobody didn't know if 64GB will ever work.

Also "Rox" stated in 2014 that 64GB is supported on kitkat :)

Yeah thats right, but now with new kernel, link2sd + second partition on sdcard isn't needed anymore :o

hmm strange, can u post this script here ?

also make sure that "set on boot" is not set on settings --> peformance --> processor.
[Galaxy Ace II Android Development] teosound:
no set on boot on setting -> performance -> processor

here the script, i just edit max cpu freq in powersafe and high perfomance profiles, no change in balanced.

# Powersave CPU 150/600Mhz GPU 250Mhz #

on property:sys.perf.profile=0

write /sys/kernel/liveopp/arm_step01 ddropp=25

write /sys/kernel/liveopp/arm_step01 pll=0x0005014E

write /sys/kernel/liveopp/arm_step01 varm=0x1d

write /sys/kernel/mali/mali_boost_high 249600

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 600000

# Balanced CPU 150/800Mhz GPU 250/400Mhz # - Original Freq's - Default at boot

on property:sys.perf.profile=1

write /sys/kernel/liveopp/arm_step01 ddropp=100

write /sys/kernel/liveopp/arm_step01 varm=0x25

write /sys/kernel/liveopp/arm_step01 pll=0x00050168

write /sys/kernel/mali/mali_boost_high 399360

# High performance CPU 150/1000Mhz GPU 250/500Mhz #

on property:sys.perf.profile=2

write /sys/kernel/mali/mali_boost_high 499200

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1200000

#### End CM Performance Profiles ####

## Available Freq's for the Profiles:

# CPU:

# 150000

# 800000

# 1000000

# 1100000

# 1150000

# 1200000

# 1250000

# 1300000

# GPU:

# 798720

# 748800

# 698880

# 652800

# 599040

# 549120

# 499200

# 449280

# 399360

# 349440

# 299520

# 249600
[Galaxy Ace II Android Development] teosound:
doesnt matter... my bad! i just figured out that 600mhz step is not avaible anymore, so if i set max cpu freq for powersafe profile at 600mhz, i don't know why but it's set for balanced profile too. since i set 600mhz (that's not avaible) the phone works at 150mhz, thats why it goes super slow.
[Galaxy Ace II Android Development] Kurajmo:
Yeah i hear.

I try this new kernel.

I been Little away some time. Thats Why i dont See any news in this thread.

But i check this new kernel tommorow

Last question.

It is this new cm11 version stable like cm-11-20160910?

I think about upgrade to newest stable version and try this new kernel.

But i need to know completly.

Is worth or not?

Ehh now i gathering money to finally leave this Old phone. Too lack of ram, and cant play Pokemon GO, because Niantic soft ban all Root players.
[Galaxy Ace II Android Development] ace2nutzer:
latest stable version is always in thread title or in file "latest" on FTP Server.

So actually there is no (unstable) latest build and even if there is one test-build, i never write it to the Thread Title.

Also u can always read the last 3 Pages if latest builds are bugfree or not.

And since i'm done with testing new Binary Code Optimizations, (compiler flags), it's very unlikely that one build gets bugged or unstable. :)

Of course it still can happen that one latest build become unstable or completely bugged, but then it's cm sources bug which is also very unlikely.

The only issue that can appear from update to update is the camera ... and this is related to latest security patches in frameworks/av .. which breaks Camera sometimes.
[Galaxy Ace II Android Development] Krzychu95:
Is there any fix for that? Just notice that after latest kernel update camera is throwing fc when the app is started.

Never mind, I just cleared app data and it's ok again.
[Galaxy Ace II Android Development] ace2nutzer:
Yeah, probably due of sdcard config changes ...

In general: if any APP is FC, then wipe data of that app, wipe dalvik-cache of that app and reboot the phone ...

Yes, wipe dalvik-cache for an single app is possible ... just search it under /data/dalvik-cache ...

after that, reboot is required.
[Galaxy Ace II Android Development] Sakit21:
Lcd

Hallo ace2nutzer I have double layer in my screen when my turn off screen... Fix again until my phone getting hot..where folder to change lcd frequency?
[Galaxy Ace II Android Development] ace2nutzer:
On latest kernel + NT-APP there is Stock LCD Freq by default.

Just make sure that "Tuned Freq" is not set in Novathor settings apk

in Section: Screen or Display.

If that didn't help, let me know.

@ ALL

Somebody maybe is able to convert an app from sources ??

I mean from API 19 @ API 16 :)

This is the Source:

https://github.com/ace2nutzer/android_packages_apps_DeviceSettings

If u can do it, please send me a private message, thanks !
[Galaxy Ace II Android Development] Mr.Larynx:
Can I install only kernel on stock JB without installing custom rom?
[Galaxy Ace II Android Development] shaqman89:
Unfortunately not. This kernel is only for CM11 for the moment.

For JB, you might try Chrono's kernel.
[Galaxy Ace II Android Development] stefanoscheda:
With this kernel/NT all my apps get installed correctly once again. Thank you [MENTION=5840412]ace2nutzer[/MENTION]. :highfive:

One very minor issue: File Manager still sees sdcard1 but trying to access it File Manager says can't find file/folder.