yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] brewzip:
Avast reports 20161122 build as a Trojan. Should be a false positive, but I'm a little worried. I currently installed my last used build, of 5 months ago.

So, 20160718+Latest Kernel. The Kernel Control App starts, but when editing the power profiles, selecting one of these, crashes the app and it restarts.

I really need more control over the CPU frequency, because I want to underclock my phone to preserve more battery.

The setup is the classic Balanced profile 150/800, but I would like to set a Powersave profile like 150/400, that optionally boots at startup. Is this possible in some way, without set it manually every time?
[Galaxy Ace II Android Development] ace2nutzer:
@up

no need to post 2 times the same question.

I'll upload new CM11 Build when i'm done with fixing Performance Profiles on my new App. :)

U can't fix it by yourself, unless u've an Riff-Box ... then u'll be able to write proper Bootloader to your Soft-bricked phone.

All my uploaded Software is 100% clean. I use same Software i uploaded also for my Phone.

So it's 100% wrong warning from the Avast Crap ;)

It's highly recommended to flash always latest version for the best Performance, Battery lifetime, Security Patches and improvements.

Actually powersave profile only works over Quick settings. And it results to 150/600Mhz and GPU 250Mhz static.

But it also reduces DDR OPP from 100% to 25% ... that's enough for powersave.

Maybe i'll reduce it from 600 to 500Mhz .. but lower Freqs probably will not save more battery because the longer the phone is on max freq with DDR APE 100% and at the same time the screen is ON, the more is the battery drain ..

u know what i mean ? - On the other hand, faster CPU = u're faster done with your work, the System can go faster to IDLE = APE DDR 25% ... and u can turn OFF the screen earlier = less power consumption.

The Voltage for 150Mhz Step is 1,00V .. and for 800Mhz Step is 1,1625V ..

And when it's running on powersave profile, the 800Mhz step is manipulated to be 600Mhz and the Voltage is set to: 1,0625V. As u can see it's already very low. If i set 500MHz .. then i can decrease Voltage maybe to 1,05V ... so in the end the difference is very minimal, but having lower performance.

Performance Profile selection over the App and also on boot, will work on next CM11 Update ;)
[Galaxy Ace II Android Development] Dr360r:
https://cyngn.com/blog/cyanogen-services-shutting-down

http://arstechnica.com/information-...huts-down-cyanogenmod-in-christmas-bloodbath/

Well, mm, what'd you say?
[Galaxy Ace II Android Development] PolishVodka:
Source code for CM will stay open for everyone. So all other custom Roms should be continued (or the biggest ones like Resurrection Remix), but progress for Roms based on CM may be slowest, we know how many devs were working on Cyanogenmod and his work was forked by other teams.

Anyway, AOSP code is always available.
[Galaxy Ace II Android Development] ace2nutzer:
I believe next ROM will be latest AOSP ..... ;)
[Galaxy Ace II Android Development] Dr360r:
So, another clean install then ;)
[Galaxy Ace II Android Development] ace2nutzer:
Yeah, but i didn't mean next update is latest AOSP .....

I just mean, the next "ROM project" is something else .. so most probably latest AOSP.

But first i want to finish my App :)
[Galaxy Ace II Android Development] jordirpz:
[MENTION=5840412]ace2nutzer[/MENTION]

How i can purchase your app please?

When i havent wifi/mobile data, the app doent open, but when i use wifi/mobile data, the app works. Thank you
[Galaxy Ace II Android Development] AkosPaha:
Hello Guys!

What you need to turn on the keyboard blink when i get a notice?
[Galaxy Ace II Android Development] stefanoscheda:
Enable BLN and Enable BLN blink.
[Galaxy Ace II Android Development] AkosPaha:
Thanks
[Galaxy Ace II Android Development] ace2nutzer:
please be patient, it'll be possible on next Build. :good:
[Galaxy Ace II Android Development] stefanoscheda:
SD card troubles

I'm having troubles with my SD card (it's used as sdcard0 as for the latest repart and 20161204 kernel). :(

The problem started while executing a backup from recovery. It was oddly taking a lot of time and after >20 mins it was still stuck on saving data so I rebooted the phone. Now there's some problem with the file system, likely due to some of the backup files in /clockworkmod/backup/<this-backup>; in fact I can't delete them and if I try to save some new file to the FS it's not saved and then the FS becomes read-only (as stated by File Manager)

How may I fix it? I tried moving the card to another phone but it doesn't get mounted. Mounting it to my PC via USB from the original phone and running a chkdsk some errors are found (on 2 backup files) but repair fails (or better, repair reports ok but actually the repairs aren't committed to the disk and the errors are detected again trying a new chkdsk).

May the FS be repaired from Terminal emulator? or adb?

I have a recent enough full copy of the card (got thru adb pull), could I try to reformat the card from the phone and reload the content thru adb push (but I'm not sure the phone would boot/run after wiping its sdcard0)?

Thanks in advance for any help.
[Galaxy Ace II Android Development] ace2nutzer:
Yes, choose format sdcard1 in cwm, this will fix the filesystem.

Then copy your files back.

U can also boot without sdcard, no Problem.

Btw happy new year guys !
[Galaxy Ace II Android Development] shaqman89:
Happy new years. [emoji1] [emoji1]
[Galaxy Ace II Android Development] franta8512:
Which kernel should I put my cell phone and had a sd card? ace2nutzer.kernel.4.4.x_20161224_nosdcard_codina.p.l.zip, or ace2nutzer.kernel.4.4.x_20161224_codina.p.l.zip
[Galaxy Ace II Android Development] gepel:
Second one.
[Galaxy Ace II Android Development] stefanoscheda:
No way, all the formatting options fail. I tried formatting from CWM, from the ROM itself, from a PC; I even tried repairing the FS with fsck_msdos. All these commands completed with no errors but actually none changed anything on the SD (and all the existing files are still available on it).

My only guess now is that the SD had suddenly broken down, since all the reading operations work correctly but any write attempt fails silently. I'll try with a new one.

Anyway, thank you for your suggestion and have a great new year... and a great new (CM14?) project. :D
[Galaxy Ace II Android Development] ace2nutzer:
Yeah, thanks ! - Then it's broken now. I'll first fix LCD Driver, that really sucks ... then i'll start to build latest stable AOSP ROM :)

But honestly, just for fun ! I don't expect that it'll work faster than this CM11 here.

Anyway, ART is way faster than Dalvik Runtime, so who knows ! ;)
[Galaxy Ace II Android Development] Emubert:
You can make some noise here

https://xdaforums.com/xposed/v87-patch-reach-xposed-android-4-x-t3509584

and hope that Xposed for 4.x gets an update (I need it for microG).
[Galaxy Ace II Android Development] Dr360r:
What has changed in the latest reparted?
[Galaxy Ace II Android Development] ace2nutzer:
100MB+ on System .. (needed for the next Build)

also on nosdcard version, and reduced sd0 to 1GB .. so /data has then more space for apps.
[Galaxy Ace II Android Development] shaqman89:
Curious. Is there something big coming here?
[Galaxy Ace II Android Development] ace2nutzer:
Nope, just compiled with DEX_PREOPTIMIZATION .. this needs more space on /system.

On the other hand, it'll save space on /data, because of less dalvik-cache on /data.

This allow to install the ROM faster, and maybe Apps also starts faster.
[Galaxy Ace II Android Development] AkosPaha:
Hello Guys!

How to install a new reparted ?
[Galaxy Ace II Android Development] ace2nutzer:
Check Post #3.
[Galaxy Ace II Android Development] ace2nutzer:
Hello Guys !

I've uploaded a few new Builds:

ROM

4.4.x kernel

4.4.x kernel nosdcard

4.1.2 kernel

4.1.2 kernel pre-rooted

codinap_support

new reparted packages ...

and finally the first official release (V1.0) of Ace2Nutzer Kernel Control APP is out now !! :D

Just a quick (incomplete) changelog:

The Kernel Control App works now for Android 4.1.2 - 4.4.4 ..

and has now fixed Performance Profile ... also it can hold the Profile on boot. ! :)

Added Full SELinux Support in 4.4.x kernels ... and added an switch in the App for switching from "permissive" to "enforcing" mode !!

U can Toogle SELinux Mode without to reboot the Phone !

Fixed App FC ... also on 4.1.2 ... and fixed also Superuser.apk issues.

The latest App is already included in all

latest

kernels + ROM Packages .... and u can check it also directly from Google Play Store:

https://play.google.com/store/apps/details?id=com.ace2nutzer.settings.device

Future APP Updates will perform automatically over the Store, or simply with every kernel Update from here :)

And for the last good info: Purchasing the App is finally working now !

Some INFO about new APP:

How to buy it?

- simply flash latest kernel or ROM (rom has already latest normal kernel), then connect to the internet, open the app and it'll show an dialog Box with an Button "buy app" .. once u click it, it'll go to the App Store and there u can Buy it like other Apps.

After u purchased, the App should work as well without internet connection .... if not, please report here in the Forum ...

Thank u Guys !

btw: i'm low on time, so usual

full

Changelog is coming soon !!
[Galaxy Ace II Android Development] jordirpz:
[MENTION=5840412]ace2nutzer[/MENTION]

Hi, i purchased you app.

But first i needed uninstall it and after buy the app, because in play store appears installed.

I change performance profile to powersave and reboot, but when i check in rom settings/performance, the profile appears balanced, and processor appears 800mhz Max.and current frequency Up to 800 if i touch screen.

In you app, appears powersave enabled.

Can you fix it please? Thank you very much
[Galaxy Ace II Android Development] ace2nutzer:
Yeah u're right, it's needed to uninstall first, and then buy the app. Not a big issue. ;)

As for powersave profile:

The app doesn't touch rom perf. Profile...

The app sets his own settings (same like rom profile). If u use perf. Profile from my app, then that's valid what the app shows.

It overrides cpu and gpu freq.

Also there is no bug, powersave is real 500mhz ... Even if u see 800mhz...

That's only the name of the step. Not the real freq.

i.e. real freq for every step u can check here:

sys/kernel/liveopp/arm_step01

That's the step for real 800 or 500mhz, depends on which profile is currently active.

The whole thing is to optimize the performance / responsiveness.
[Galaxy Ace II Android Development] stefanoscheda:
Do you recommend switching to ART with this ROM?
[Galaxy Ace II Android Development] AkosPaha:
Hello ace2nutzer!

I would like to ask that you are new app why pay? The kernel of the application does not work! if the WiFi is turned on it says that the application there is no license, but if you is turned off the WiFi you can writes that may not be validate license. what to do to work in the kernel of the application?:(:crying:

Wifi off , Wifi on
[Galaxy Ace II Android Development] ace2nutzer:
I can't say if it's working 100% properly or not, in my case with 123 apps and very old installation of more than 2 Years, it didn't work well with ART.

Of course not all Apps are support on kitkat with ART ...

So u can try fresh installation with the set of your apps if it works at all.

So how u can see if it works or not ?

- If after an reboot the Runtime is sets back to Dalvik or every time u reboot the system and u see that "android is updating" again and again .., then it's NOT working for u.

So every user should try by yourself.

In my case i didn't have much luck, but soon i'll test again with fresh install ... since now the system seems to be slower with time.

Just sometimes when i test something with wipe data ... i'm just facing that everything works almost 10x times faster. So in General it can't hurt to do a fresh install 1x per Year.

Hello !

I don't know if i got u right, so i guess u don't know how to make the App working ??

If so, u need to tap on "buy app" .. then continue with "Play Store" ... then "Uninstall" the app and then u can Download / purchase it directly from Play Store.
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for the report, noted!

If this App works just fine with Stock ROM 4.1.2, then it's CM11 Bug here.

It would be good to know how it works with the Stock ROM.
[Galaxy Ace II Android Development] FSopyan21:
What is new changelog?

[MENTION=5840412]ace2nutzer[/MENTION] : Hey , What is Changelog " Ace2Nutzer Kernel 20170101 STABLE | CM11 20161227 STABLE " ? Please , I don't know this new Changelog .
[Galaxy Ace II Android Development] kptB:
Thanks for Your quick reply :)

Unfortunately I have no possibility to check it on stock (I change rom only when something forces me to ;))

I can definitely say that the app worked on my previous cm11 rom - I think it was that one: https://xdaforums.com/galaxy-ace/ace-2-develop/cyanogenmod-11-28-04-2015-t3095047

I have null experience with rom development ;), but could it be something wrong the ffmpeg installation? I've decompiled the movescount app and I can see that it iterates over all video/avc codecs and reads their "profileLevels". It works fine for the "OMX.ST.VFM.H264Enc" codec which is declared before ffmpeg in media_codecs.xml, and then comes the ffmpeg and the exception.

Maybe I'll try to disable this codec in media_codecs.xml - I need to make a script in .zip to be flashed in recovery, right?
[Galaxy Ace II Android Development] FSopyan21:
[MENTION=5840412]ace2nutzer[/MENTION] why this Rom Cm 11 20161227 " odex "? Please port To deodex Rom ???
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for such infos!

Nope, u only need to edit file in /system/etc/media_codecs.xml and then reboot and test.

Anyway it's possible that there is something wrong with an applied OMX Patch.

Maybe it's only needed to edit that file in /system ... if so, if it'll work, then recompiling the ROM is not needed for that.

I've checked a bit, and i've an idea what u can try ... try to do this:

File: media_codecs.xml

find:

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

and replace with:

<MediaCodec name="OMX.ffmpeg.h264.encoder" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Quirk name="requires-store-metadata-before-idle" />
</MediaCodec>

save, reboot and test, if it works, please report here ... thanks !

Because it's faster !

Do u need deodexed version for theming ? - IF so, somebody else too ??

Maybe i'll build deodexed version, but not only for 3 users ;)

Changelog:

20170101:

Added Full SELinux Support

Kernel boots up in "permissive"* mode and can be changed to "enforcing"* mode with the included A2NK Control APP

CM Performance Profile: Updated "powersave" Profile for lower power consumption

(reduced CPU Freq from 600 to 500Mhz and also reduced CPU Voltage for this Freq)

Incl. latest Ace2Nutzer Kernel Control App

*= permissive: log everything, deny nothing

enforcing: full selinux protection

Ace2Nutzer Kernel Control V1.0 (Reloaded - First official Release)

Added CPU OC Control

SELinux: Ability to enable "enforcing" mode without to reboot

Added Performance Profile - works also on boot

Supports Android 4.1.x - 4.4.x with ace2nutzer kernel

First official Release V1.0

20161227 ROM:

cm sources update

odexed for fast boot and fast Apps launch time

Added SELinux Support

incl. A2N Kernel 20170101

incl. A2N Kernel Control APP - Official Release V1.0

AUTO wipes, except factory reset

btw: Also added initial SELinux support for 4.1.2 Kernel.
[Galaxy Ace II Android Development] FSopyan21:
# Because it's faster !

Do u need deodexed version for theming ? - IF so, somebody else too ??

Maybe i'll build deodexed version, but not only for 3 users #

[MENTION=5840412]ace2nutzer[/MENTION] : yes I need help deodex. ODEX rom can not be used because it will make Dolby Digital which I ported himself into FC, cause using framework And need deodex Rom, I may not consider this a problem if there Soundmod Dolby atmos work and not FC. :(

---------- Post added at 06:51 PM ---------- Previous post was at 06:45 PM ----------

# Because it's faster !

Do u need deodexed version for theming ? - IF so, somebody else too ??

Maybe i'll build deodexed version, but not only for 3 users #

[MENTION=5840412]ace2nutzer[/MENTION] : yes I need help deodex. ODEX rom can not be used because it will make Dolby Digital which I ported himself into FC, cause using framework And need deodex Rom, I may not consider this a problem if there Soundmod Dolby atmos work and not FC. :( . I hope u find solution my problem... I like this Rom And always believed To developer ace2nutzer , #bestDeveloper
[Galaxy Ace II Android Development] `NX:
Hello [MENTION=5840412]ace2nutzer[/MENTION],

I have just flashed the latest ROM (20161227) on my codina but the ROM seems to be for codinap somehow.

As from now on i can see my device in settings tab as i8160P and cm version is 11-20161227-UNOFFICIAL-codinap. I have compared the build.prop of the previous and latest ROM and they do differ.

What should I do now?
[Galaxy Ace II Android Development] AkosPaha:
Hello Guys!

I would like to use XPosed. I'm using the CM11,Ace2nutzer latest ROM+latest Kernel. Somebody knows something XPosed used in Android 4.4?
[Galaxy Ace II Android Development] ace2nutzer:
@up

check a few posts ago ... already mentioned ...

Nothing ! :)

If u don't like to see P Letters, then just remove it from build.prop ;)

Other than that, it's a pure codina ROM. No NFC Drivers.

NFC Drivers will be added "back" after flashing the codinap_support.zip...

anf if u do it on codina Phone, u'll see that your SIM card will not work anymore ...

So because of the fact that actually your SIM Card is working fine, u've codina ROM installed :)
[Galaxy Ace II Android Development] kptB:
It didn't help. I've commented out the ffmpeg entry and that silenced the exception.

But my happiness didn't last long, because next error has come :).

The movescount app tries to play some mp4 movies on login screen and now that failed - this app seems to be super-buggy... :rolleyes:

Standard media player has no problems with these files, so apart from this ffmpeg encoder it must be a problem in the app and not the rom.

I ended copying app data from my backup and could skip login screen and can use it as usual as it does not play any mp4s :P

thanks for help,

wd
[Galaxy Ace II Android Development] `NX:
Alright! I was worried if there was something wrong with the ROM or I have made a mistake.

Anyway, thanks for the answer.

Just one more question, I cannot get the brightness auto-adjustment to work.

Every time I click the auto button it goes back to manual. Is it not available for this device?
[Galaxy Ace II Android Development] shaqman89:
Yes. Auto brightness have never worked on out device since it lacks the sensor for it to working properly.
[Galaxy Ace II Android Development] `NX:
Alright, thats what i thought

Sorry to bother again, but I have just found out that the SIM Card is actually not working properly.

I have read somewhere that JB and higher is not able to read SIM contacts and it can only be done through some importing app, but i have installed few apps right now and they were unable to find any contacts.

I have checked on another phone and they are still there.

But somehow, I am still able to register in my network and make a call without problems.
[Galaxy Ace II Android Development] ace2nutzer:
yep, that's what i mean ... u can enter the PIN = ROM is OK.

And yes, it's CM Bug that we can't read sim contacts ... so u've, when u're on stock rom ... to export contacts to your sdcard ... and then later u can import it when u're on CM11 !

[MENTION=7976577]kptB[/MENTION] i'm so sorry that it isn't working. I'm actually too busy to check it more deeper.

Try to play a bit with media_codecs.xml

other than that, i can show u which patch i've applied and on what they are based ...

the fix was and it's still for uploading a video to instagram:

https://github.com/ace2nutzer/andro...mmit/de1acc1a5e35dc1dd053f4885caa69d1e0a3f991

and:

https://github.com/ace2nutzer/andro...mmit/a552ac8f75f9ecc2cfd01039077656091e47a1d7

they are applied to the latest ROM ...

About the original Patch, u can find in the commit message an link to the Author:

Meticulus

And here some more patches related to the problem u've maybe:

https://github.com/ace2nutzer/android_frameworks_av/commits/cm-11.0-patch

Maybe u can find something useful what we can change or fix.
[Galaxy Ace II Android Development] FSopyan21:
I waiting deodex version [MENTION=5840412]ace2nutzer[/MENTION]
[Galaxy Ace II Android Development] kptB:
It's not a problem, thanks a lot for Your work in this ROM! :)

I'll take a deeper look when I find some free time.
[Galaxy Ace II Android Development] MrBlackCore:
with 11/19 at 1100mhz my phone rebooted like 10 times in 10 min. And I wanst doing anything with it at the time. Its very stable at 1000 but thats it. Also with 11/19 there was insane battery drain - like from 90% to 20 % in 30min.

I will test 11/20 now with 1100mhz to see if any reboots appear
[Galaxy Ace II Android Development] doctormord:
I would guess, more (in between) steps are more stable while scaling the clock
[Galaxy Ace II Android Development] miryn:
Could somebooody please compile a 4.3 kernel on ace2nutzer sources (and ramdisk from cm10.2 i guess) ?
[Galaxy Ace II Android Development] ace2nutzer:
[MENTION=5737671]soko3[/MENTION]

I never said 1200Mhz is good for daily usage.. kernel default is max. 800Mhz (org. ace2)

Nope, 400Mhz is not using 4x more power than 100Mhz.. this is also wrong when u did current measurement on Full load .. 200/400Mhz.. there is of course an difference.. but definitely not 4x more :)

But this is useless, because the Phone when it's in IDLE is using MIN Freq.. ---> 400Mhz.. and when u did current measurements in IDLE .. one time @ 50Mhz and one Time @ 400Mhz.. also with SAME Voltage.. and same DDR / APE OPP states.. u'll see the difference is not much.. max. 4mA. But also with lower varm on 50Mhz and higher Voltage on 400Mhz.. there is really no difference.. when Vbbx is same ---> oxdb ---> 300mV

Make sure that i've did many tests and measurements.. also i'm in contact with engineers and they did also such current measurements.. and the Values match with mine.

But anyway.. next build will have as i already said lower voltages for: 1Ghz, 800Mhz and 600Mhz... because on these steps is full load.

[MENTION=6061986]seanmalto[/MENTION]

Yeah 1250Mhz is very. great ! U all should don't forget that org. freq is 800Mhz :cowboy:

[MENTION=1130928]doctormord[/MENTION]

nope.. it has nothing to do with it :)
[Galaxy Ace II Android Development] monstro78:
Kernel default is 800 but CPU default is 1000
[Galaxy Ace II Android Development] ace2nutzer:
@up

yeah that's right.. but org. on Ace 2 is 800Mhz... and there is sure an reason.. on S Advance is the same CPU .. but with better Quality.. and due to this fact.. it's running by default @ 1Ghz...

That means on Ace 2 is a badly CPU .. and it's just luck when it can run @ 1Ghz .. btw on the Ace 2 1Ghz needs more Voltage than on an S Advance.. because of CPU Quality.. so pls don't mix up different things.....

And this is not all... We thing Ace 2 is cheaper and badly than an S Advance.. BUT the eMMC Speed on Ace 2 is running with the double speed.. namely: S Advance: 50Mhz and Ace2: 100Mhz !!!! :good: :highfive:
[Galaxy Ace II Android Development] ChronoMonochrome:
I believe it won't be doubled by simply increasing emmc freq. Actually there're many factors that affects on emmc speed.
[Galaxy Ace II Android Development] ace2nutzer:
Yeah u're right, i mean double speed for the eMMC Controller.. so now it's correct esprimed. :p