yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] :
Try to install it on Play Store. Apk file seems to be damaged or not compatible.
[Galaxy Ace II Android Development] hemal12341:
dead???

my phone was dead, no recovery , no download mod, no charging icon!!!
[Galaxy Ace II Android Development] AkosPaha:
The my kmsg.txt
[Galaxy Ace II Android Development] :
Hard brick?
[Galaxy Ace II Android Development] :
[MENTION=5840412]ace2nutzer[/MENTION] please test for me my repart zip file:
[Galaxy Ace II Android Development] AkosPaha:
Hello [MENTION=5840412]ace2nutzer[/MENTION]!

Will kmsg.txt file be good as i sent it?
[Galaxy Ace II Android Development] lace_hvc:
On latest rom and kernel, the bln doesn't turn on when battery is fully charged. I cleared cache of a2n app and deleted data, turned bln setting off and on.

Btw. Any progress on the camera app and the sorting issue or is it better to ignore it?
[Galaxy Ace II Android Development] ace2nutzer:
Yes, alright :)

I'm maybe able to fix it ... right now i'm testing the stability of my current changes.

Need to test approx for 2 days, then if it's ok, i'll upload new kernel with fixed force close.

Yes i know it ... because i also use it ;)

I've already fixed it for next Release.

Workaround for now: enable "bln blink"

As it turned out, it's ROM bug .. and actually i'm not working on ROM .. but on kernel ....

kernel is always more important, (takes precedence over the rom for me) also it's for me faster for fixing kernel bugs and improving things in kernel.

While if i want to patch something on the ROM it needs a lot of time .. which i actually don't have.

So once there's nothing to fix on kernel, i'll start to debug the ROM.

i've only checked reparted.sh script and it should work :good:

Also uploaded new repartitions scripts with moved 70MB from /system to /data.
[Galaxy Ace II Android Development] :
Mine is working properly :confused:

Thank you, I will wait for the next release then I will install it :)

But I have a question: after repartitioning, can I use nandroid backup to restore phone?

And more: When I charged my phone to 100%, if I let it to deep sleep then it will drain super fastly, like stats jumping - if I use my phone, then I will drain very slow - if I plug in my phone to charger, it jumps to real battery percentage :confused:

BetterBatteryStats logs will not help because there is no wakelock or alarms during deep sleep. My phone is deep sleeping very well :)

I see in your changelog, you have said: stop charging to 95% and jump to 100% to maintain battery. Is it right? Which app do you know to detect real battery capacity?
[Galaxy Ace II Android Development] ace2nutzer:
Yes.

If according to BBS the phone is NOT awake during screen OFF ... then it's very likely related to your battery.

Try with a new genuine battery ... (it's fake if the price is only around 10€ )

In some older releases, yes.

But now it charges to real 100% and hold the 100% all the time the charger is plugged in.

No one so far ... but it seems that there are such apps that can calculate this.

Maybe someone already did such a test ?
[Galaxy Ace II Android Development] :
Yes there is no awake during screen off... but this problem only happen if I keep my mobile data on when deep sleep... if I turn off mobile data and all apps then it doesn't drain :confused:

But after a night without network, if I turn on data on wifi (connected only) then my phone will very slowly and freeze some time, I must wait for it for 5 minutes to give up. (Maybe during night I keep it using powersave profile in kernel control app)

And then, it works smoothly, like nothing happened :)

Camera problem: I found that my picture have wrong date, but instead of in 1970, it returns to my last reboot time :confused: UMS and remove sdcard properly (I am using sdcard only version) don't have this problem. Newer captured pictures don't have this problem too.

It changes for only one time, then nothing happens ??
[Galaxy Ace II Android Development] :
This is a screenshot of the wrong timestamp:

As you can see, this is my facebook official picture. But even captured on other phone (my mother's), and I put it in DCIM folder, it changed time. My mother captured it in 05/03/2017 (DD-MM-YYYY), but after a restart in 2 months later I have wrong date: 14/05/2017!!!

P/S: It is my XDA Account picture :)
[Galaxy Ace II Android Development] ace2nutzer:
yes, it's normal .. especially with a bad battery ... because it consumes a lot of power if:

- u're using 3G

- the Signal is bad.

Yeah that's strange ... but the important thing is that record time doesn't change and it's even correct on the ASUS Cam. - But why it changes the other timestamps ? - Really don't know!

Edit:

Added new Informations about how-to report bugs and posting logs on Post #3:
[Galaxy Ace II Android Development] :
It affects all of my pics in DCIM folder. In other folders there isn't this problem.
[Galaxy Ace II Android Development] :
I have a strange problem: if I charge my phone in AC, it will drain faster and charge faster; but if I charge it in USB, it will drain slower and charge slower :confused:

How can I change the charge currency during offline charging?

Is there any locked CWM for our ROM? (I mean password protected) or do our kernel support Philz recovery?
[Galaxy Ace II Android Development] ace2nutzer:
U should check post #3.

Anyway it's not specific described how to change charge current on LPM or cwm ... so i'll show u..:

add following lines at the bottom of the file /user_lpm.rc:

# adjust charge current
echo 500 > sys/kernel/abb-charger/charger_curr
echo on > sys/kernel/abb-charger/charger_curr

500 = 500mA.

Allowed currency steps: 100mA steps.

AC = 100 - 1500mA

USB = 100 - 500mA

Default:

USB = 500mA

AC = 700mA

U can also apply this to user_recovery.rc ..

then it's also active for cwm.

as for locked cwm: as i already told u, nope.
[Galaxy Ace II Android Development] AkosPaha:
Hello [MENTION=5840412]ace2nutzer[/MENTION]!

I flash a new kernel (20170701) is very fast and smooth, but please update the A2N kernel control in the Google Play Store.

Edit: The reparted is pretty good just think there is little the free space in the /system
[Galaxy Ace II Android Development] ace2nutzer:
:D Yeah it is :) Updated and fixed a lot of things ...

Changelog is coming.

Yes it'll be in the next 2 hours ...

Is it "locked" now for you ??

Yep :highfive:
[Galaxy Ace II Android Development] ace2nutzer:
Update

Kernel Release 20170701

Changelog:

Updated zRam script - multicore optimization

Better Memory Management - more smooth, responsive and faster

Fixed BLN Driver

Replaced sioplus scheduler with CFQ - for best multitasking performance

Updated kernel defconfig

Enabled support for XBox Gamepad

Optimized for Real-Time Workloads

Wifi: disabled pm_fast by default - saves battery

Reverted an very old commit that caused Apps to FC and maybe even File System errors

More efficient zRam Driver - Maximum power - Lowest power consumption

Removed obsolete CONFIG_ZRAM_FOR_ANDROID patch - Recent zRam Backport from Android Kernel 3.10 doesn't need it

Updated Binder and LMK Driver (and some other Source for memory management) - just a sync with original Google Source Code

Fixed occasionally Apps FC - I hope so :D - So far after 2 Days of testing = Zero App FC !

Better Performance and Battery Lifetime

Cleaned Source Code

Inkl. latest A2N Kernel Control [GT-I8160] V2.4

A2N Kernel Control [GT-I8160] V2.4

Renamed menu entry "Settings" to "Free Options"

Moved "LCD Type", "Logcat" and "SELinux" switches to "Free Options"

Added ability to export debugging Logs to sdcard0 with a single Tap - logcat, dmesg and last_kmsg - available in "Free Options"

ENJOY :good:

Please test and report if Apps FC are completely fixed now!
[Galaxy Ace II Android Development] :
REALLY REALLY SMOOTH... Thank you [MENTION=5840412]ace2nutzer[/MENTION]!

Better RAM management now...
[Galaxy Ace II Android Development] AkosPaha:
Yes it'll be in the next 2 hours ...

Is it "locked" now for you ??

Thanks the app is working again.
[Galaxy Ace II Android Development] AkosPaha:
Hello [MENTION=5840412]ace2nutzer[/MENTION]!

I've tested the Apps force close, everything works again no apps are down, Minecraft PE works normally again, but the extreme landings pro does not work yet. I open the game, it starts to load and quit the game.
[Galaxy Ace II Android Development] :
:good:

But not force close?

---------- Post added at 11:17 AM ---------- Previous post was at 11:04 AM ----------

I have some reviews with this new kernel:

- Better RAM management. I can now open FB Messenger with other apps without any slow down or reloads. (No zRAM):good:

- Boot time shorter about 15 - 30 seconds. (With Performance profile).;)

- Less lags, no more force close with systemui.

- CPU seems to be quicker, less time opening apps. (Last kernel with settings app: 3 seconds, with this kernel: 2 seconds)

- Less heating due to low CPU usage. (About 5 - 10%)

- No more app FCs, with last kernel I have FC with XDA Labs sometimes, but now no more.:victory:

This kernel may be the most stable kernel in the world for our Ace 2 !!
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=6973536]bien2004[/MENTION]

But not force close?

Not force close, only smoothly to launch and exit the game, up from also download always it is.
[Galaxy Ace II Android Development] :
Post logs, or I can't help you.
[Galaxy Ace II Android Development] AkosPaha:
I creat a logcat like last time (disable xposed tweaks, remove overclocking, etc.)?
[Galaxy Ace II Android Development] :
Yes, or check #3 post to know what to do to post logcat.
[Galaxy Ace II Android Development] lace_hvc:
After installing newest kernel, some apps are missing (around 20). On home screen the apps are greyed out and not available. I had this problem in the past but after 1-2 reboots and/or wiping dalvik, the apps appeared again. Not so this time.

Edit: Stupid me installed sdcard_only kernel :D Should have noticed the file name.
[Galaxy Ace II Android Development] AkosPaha:
Here's my logs, will it be okay?
[Galaxy Ace II Android Development] :
Ok, wait for me eating dinner then I will check :)
[Galaxy Ace II Android Development] AkosPaha:
Thanks:)
[Galaxy Ace II Android Development] ace2nutzer:
Hello Guys !

Sounds great your Reviews !! Thanks !!!

In latest A2N Kernel Control Version, creating Logs like logcat, dmesg or even last_kmsg is very simple ...

just open the app and press menu-soft-key ... ---> Free Options ---> scroll at the bottom and tap on "Logcat and dmesg"

this will save logcat + dmesg to your sdcard0 !!

Of course AFTER an Force close happened !!

Then just post the logs here ... (both logcat + dmesg for FC)
[Galaxy Ace II Android Development] AkosPaha:
Hello [MENTION=5840412]ace2nutzer[/MENTION]!

Extreme landings pro not working
[Galaxy Ace II Android Development] ace2nutzer:
How did u the logs?

I suspect the FC is still not tracked.

Again:

1. make sure "logcat" is enabled.

2. start the problematic app ..

3. create logs with A2N Kernel Control app.
[Galaxy Ace II Android Development] :
Yeah, the problem is still not found...

I checked logs and see nothing...

Twice times problem...
[Galaxy Ace II Android Development] AkosPaha:
But I did this and try again.
[Galaxy Ace II Android Development] :
I will see.

Edit: I have seen your logcat. When you open your app, many of your process (include launcher and acore died)

But I am not sure about that. Maybe [MENTION=5840412]ace2nutzer[/MENTION] can help.
[Galaxy Ace II Android Development] AkosPaha:
Oh,Thanks:)
[Galaxy Ace II Android Development] lace_hvc:
I've been having a wakelock 'sva' on latest kernel from this month and latest ROM from last month. Happened also after rebooting and in the first hour right after charging the phone to 100%. I dont use sweep2wake or anything similar.

The only thing I could find about sva was your changelog:

Kernel 20170426:

Fixed "sva" deep sleep issue

2 instances attached (bbs dump and screenshots):

#1:
[Galaxy Ace II Android Development] lace_hvc:
#2:
[Galaxy Ace II Android Development] ace2nutzer:
It seems that's Java Fault.

It's maybe App itself issue, or even the Java from the ROM.

Anyway, for just in case i'll rework and rebuild the ROM.

btw: can u pls flash latest Chrono kernel and test that app ? - just to make sure, it's not kernel fault.

(remove first A2N Kernel App.)

Thanks for your report.

It seems to be buggy the sva wakelock.

Maybe i'll fix or if it's not possible to fix it up i'll just remove it completely.

Usually it's only needed to keep the phone awake if u want to hear the Audio Stream from an Video clip with screen OFF .. which is actually possible with OG-YouTube app.
[Galaxy Ace II Android Development] lace_hvc:
Now that you mention it...I do use OGYoutube. But haven't opened the app in days. I also installed VLC today (after I experienced the wakelocks) cause it allows to play video in popup, background and with screen off, so this doesnt cause it.

I try hibernating/disabling OGYoutube to check if that fixes the wakelock.
[Galaxy Ace II Android Development] ace2nutzer:
I've checked sources, it seems to be everything ok .... .. there was a bug that really caused sometimes the sva wakelock without reason.

But i had fixed this.

sva stands for "Smart Video Accelerator Media Processor" and is needed to improve performance for video playback.

So it's useful.

Since i've fixed it, i never had again this sva wakelock ... unless i use OGYouTube with screen OFF.
[Galaxy Ace II Android Development] lace_hvc:
And nobody else reported it, so maybe its just me.

As I said, I hibernate or then disable it and check if the wakelock is gone.
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=5840412]ace2nutzer[/MENTION]

It seems that's Java Fault.

It's maybe App itself issue, or even the Java from the ROM.

Anyway, for just in case i'll rework and rebuild the ROM.

btw: can u pls flash latest Chrono kernel and test that app ? - just to make sure, it's not kernel fault.

(remove first A2N Kernel App.)

Hello [MENTION=5840412]ace2nutzer[/MENTION]!

Yes, I charge the phone now and tested the chrono kernel tomorrow that this app works. Is there anything else to delete from A2N kernel control?

Chrono kernel supporting CWM recovery?
[Galaxy Ace II Android Development] ace2nutzer:
@up

no, only control apk.

Just flash CK ...

and later if u want back to A2N, then simply flash latest A2N kernel in the recovery ... but it'll be probably TWRP.

But it shouldn't be a problem ... after u flash A2N Kernel it's again cwm :)

ok :)
[Galaxy Ace II Android Development] AkosPaha:
Hello [MENTION=5840412]ace2nutzer[/MENTION]!

I'm sorry that if I bother you, I just remembered that I had long ago asked Chronomonochrome how to install the kernel and mentioned something init.d that you might want to delete it, will you delete it?

Sorry , my very bad english!:(

This:
[Galaxy Ace II Android Development] ace2nutzer:
No, don't worry !

Only delete my app ... then flash latest CK.

After that, test the game and u can flash the A2N kernel again if u want it.

A2N Kernel don't have any init.d scripts.

But CK installer will install some init.d scripts i think, but this isn't a problem ... because A2N Kernel installer will remove all init.d scripts and kernel modules automatically before installing the kernel.

So don't worry .. all automatic :)
[Galaxy Ace II Android Development] AkosPaha:
Will not let you install the game! Post your application not installed!with CK.
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=5840412]ace2nutzer[/MENTION]

This:
[Galaxy Ace II Android Development] ace2nutzer:
ok, allright! - Then it's ROM issue, or this game isn't compatible with CM11.

So u can try again with the next ROM update ... maybe it'll work :)
[Galaxy Ace II Android Development] :
[MENTION=5840412]ace2nutzer[/MENTION] I have a strange problem. I have activated 'home button wake phone' but after I lock my phone, it does nothing when I press home button :confused:
[Galaxy Ace II Android Development] ace2nutzer:
button is OK ??

Can't say why it's not working.

It's for sure not my faut, because it works here.
[Galaxy Ace II Android Development] :
Yes it is working very well.

But it happens very rarely (often after long time deep sleep)
[Galaxy Ace II Android Development] ace2nutzer:
ok, but that's another problem..

It depends on your configuration. ... i.e. such issues can happen if u guys change some kernel defaults like: Overclocking or Undervolting and maybe also some more things like a LCD Config. - It depends also on the temperature.... especially if it's too cold.
[Galaxy Ace II Android Development] :
Ok, but there is an another problem... I can't undervolt neither my cpu nor gpu. I changed settings but nothing happens...
[Galaxy Ace II Android Development] AkosPaha:
Hello [MENTION=5840412]ace2nutzer[/MENTION]!

I went back to the A2N kernel and installed the game, let me install it on the A2N kernel, and then I clicked on Chrono Kernel again to try the application and if I open the application, my phone will reboot in "Soft reboot".
[Galaxy Ace II Android Development] lace_hvc:
I think I was able to isolate the problem. Using ogyoutube or vlc and then closing the app, turning off the screen, doesn't cause sva wakelock. But every time after playing a video with the default gallery app/video player and then turning off the screen, I get this sva wakelock. It's fine to view images in the gallery app and to only view video thumbnails, but actually playing a video....and the sva wakelock is there.

Can anyone replicate this?
[Galaxy Ace II Android Development] ace2nutzer:
how did u check that "nothing happens" ??

So is it working with A2N Kernel yes or no ?

i did what u wrote, but i don't have sva wakelock at all. ... even not 1 second.
[Galaxy Ace II Android Development] lace_hvc:
Thats weird. It seems like something happened on my phone to camera and/or gallery app. I have this sorting issue - it even happens when i dont unplug the sd card now. I have this new wakelock issue.

I reinstall ROM and kernel.
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=5840412]ace2nutzer[/MENTION]

I can install the application but it does not start with the A2N kernel, with the Chrono kernel, if I start the game and then reboot the phone to "soft reboot".
[Galaxy Ace II Android Development] ace2nutzer:
ok, wait for next build.
[Galaxy Ace II Android Development] AkosPaha:
[MENTION=5840412]ace2nutzer[/MENTION]

Screen Recorder working in this CM11?
[Galaxy Ace II Android Development] ace2nutzer:
it should work.... try it.
[Galaxy Ace II Android Development] AkosPaha:
I tried , not work, it only takes green video.
[Galaxy Ace II Android Development] ace2nutzer:
U can post logs.
[Galaxy Ace II Android Development] AkosPaha:
I remove overcloking and xposed?
[Galaxy Ace II Android Development] lace_hvc:
Immediately after rebooting from dirty installation -> wakelock sva
[Galaxy Ace II Android Development] ace2nutzer:
@up

post logcat and dmesg from a2n app.

not needed.

just issue the green video and then immediately create logs over my control app.

Edit:

Probably i've found out the commit that messes up with the foto sorting ...

https://github.com/ace2nutzer/andro...mmit/81ef9f13d4226c5cda44dbce5a87d2bf8fe91764

It's a merge commit from 21.10.2016 ... is it possible ??

And at the same time maybe i've finally found the right source that manages our exif entries in the pictures taken with the stock camera app:

https://github.com/ace2nutzer/andro...a/java/android/media/ExifInterface.java#L1503

But i suspect there's nothing wrong !

Probably the main issue with wrong "record time" comes from bad applied or missing headers:

https://github.com/ace2nutzer/android_hardware_u8500/commit/cd29cb088b7bb7bc85cfa68ef6c38ee74070a742

Take a look a the commit message:

[MENTION=5695278]ChronoMonochrome[/MENTION] what do u think ??
[Galaxy Ace II Android Development] :
Yeah, I set it to underclock to minimum voltage, but no reboots or anything.

Mine will crash full system when I use video recording... File created with 0 bytes..
[Galaxy Ace II Android Development] lace_hvc:
Had to force the wakelock with gallery app playing a video after booting this time. Logcat and dmesg attached.

On a Rom in November I had no sorting problems, so in case the commit was already included in that release, it shouldn't be the issue.
[Galaxy Ace II Android Development] AkosPaha:
If the mobizen screen recorder is doing a screen video then you get a 0 second, a few hundred kilobytes of green video files. If you use something else when you start the video, the whole phone hangs.

Mobizen screen Recorder:

https://play.google.com/store/apps/...zen&pcampaignid=APPU_1_CoxcWeX9A8XE6ASajKzgCw

[MENTION=5840412]ace2nutzer[/MENTION]

I tried to do logs, not sure it was good.
[Galaxy Ace II Android Development] :
I use stock one... But I will try...
[Galaxy Ace II Android Development] ace2nutzer:
Thanks for your Report! - It's OMX (BellagioCore) Bug.

Wait for the next ROM+kernel update.

I can't find anything useful. - Try a clean installation or wait for the next ROM+kernel update.
[Galaxy Ace II Android Development] ChronoMonochrome:
Dunno - if you have a known ROM where it works properly (e.g. builds before that merge or even earlier), it's a good place to start from.

Looks very close to an issue with Exif timestamp, but I'm afraid this library has nothing to do with the Exif handling itself - it looks more like just a library that does trace (e.g. does debugging) everything about OMX in STE codecs.
[Galaxy Ace II Android Development] lace_hvc:
That's ok. Clean installation takes too much time to install and configure everything again. I'll wait till next update. Disabling the gallery app helped to prevent any new sva wakelock.

Btw. is mass storage (UMS) supposed to work? Every time I turn it on and connect to the laptop (Windows 7 64bit), the phone reboots immediately. I installed the samsung drivers from your links on page 1.

Might upload logs next time it happens.
[Galaxy Ace II Android Development] ace2nutzer:
Yeah u're right ... but that's the only way to solve strange bugs.

Anyway, the next build is compiled with a different java version .. so probably wipe data is mandatory then.

So u can wait with clean install, but u can still try to dirty install it ... maybe works as well.

Have u maybe corrupted video files ?? - That can be the reason for holding sva wakelock.

Try to move for testing of course, all video files to your computer ... then check if the sva wakelock is away.

U can also try to wipe data fo the camera + gallery app ... maybe helps.

Yes, UMS, MTP and ADB works.

i use linux, and UMS + ADB works perfectly.

MTP doesn't work here on linux.

I'll check the 3 modes on windows too ...

(right now i can'T test, because i'm compiling the ROM.)

Strange ... i never had a reboot for this purpose.

Yeah :)
[Galaxy Ace II Android Development] lace_hvc:
That's a good idea. I moved some video files to the phone a few days before the wakelock appeared.

But how can I check if the wakelock still exists when I dont have any video files to play? :D

Since all my videos are on the external sd card, I already removed it completely. No video to play, no sva wakelock. At the moment I keep some on internal sd card only, micro sd unplugged, to see if the wakelock appears. No wakelock so far. I need a tool to scan video files for corrupt parts. I will google it.

I did the wiping several times.
[Galaxy Ace II Android Development] :
I don't have the wakelock even using gallery app.

Yeah, UMS works. I can confirm that it works.

But log is better if you have any errors.

Use BetterBatteryStats. If it still happens, workaround it using Amplify. (But require Xposed)

My phone crashes when I record my screen using stock way (hold power + volume up). I will upload logs soon.