yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] seanmalto:
Hello, i've been installed CM 20160510 and 20160507 Kernel about 1 week.

battery drain a little bit faster than my previous rom and kernel.

When keep awake and wake up option in privacy guard>google play service is enabled, there is no deep sleep.

After i denied them, my phone successfully entering deep sleep.

is this safe? or there is another way to turn my phone into deep sleep?

at the better battery stats, there are many sync at partial wakeup for example gmail, people, keep, drive, etc.
[Galaxy Ace II Android Development] IAmLucky:
because lightnening and stock browser uses stock html player which is cr@p on our phones. I already tried watching youtube on stock browser and video started to lagg and audio and video went out of sync. Tried even restart video, but still, if it gets any small interuption video gets out of sync. So i am using puffin browser for watching youtube videos.
[Galaxy Ace II Android Development] Dr360r:
[MENTION=5840412]ace2nutzer[/MENTION] what should i test in ROM 160521?

Amazon pics not showing up by the way, and no FCs so far.
[Galaxy Ace II Android Development] ace2nutzer:
I've already tested.. So far playing YouTube videos over stock browser works fine again.

Also i never had any out of sync.

I only need to know if uploading a video to insta works.
[Galaxy Ace II Android Development] beardedpanda:
Uploading a video to insta - not working.
[Galaxy Ace II Android Development] ChronoMonochrome:
[MENTION=5840412]ace2nutzer[/MENTION], how about making instagram fix opt-in ? So that users can choose whether or not to use this workaround by setting specific property via setprop (or build.prop). There's an example of using properties code on java: https://github.com/golden-guy/andro...b787#diff-7981ef84164268e68eb74deef3a8df6aR23 .If instagram patch also needs checking property from C/C++ code, let me know.
[Galaxy Ace II Android Development] ace2nutzer:
good idea, but for now i'm trying to get both working, Live-video streaming + insta.. if it'll not work i'll use that method :)
[Galaxy Ace II Android Development] ace2nutzer:
can somebody test insta on this fresh compiled rom?

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/CM11/codina/

don't wonder it's again 21/05 .. but new.

i'll test live video stream on stock browser ... + amazon pics
[Galaxy Ace II Android Development] beardedpanda:
Uploading videos to Insta is working again!

Is amazon pics working?

[MENTION=6902149]Dr360r[/MENTION] [MENTION=5701712]shaqman89[/MENTION]

BTW: I uploading my fresh, work for this ROM onto my Google Drive. Expect something (maybe) big ^^
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION] [MENTION=5701712]shaqman89[/MENTION] and rest of you guys!

I present you my project! It's so called ace2nutzer ROM Tweaker!​

It's a flashable zip (AROMA based) for preinstalling needed apps after first phone set up.

Just download it, put it on the memory card, flash it, follow on screen instructions and enjoy!

All apks (except Xposed and NT app) are from Google Play.

NT App apk is from FTP

Xposed is from original thread at xda.

Any feedback is welcome!​

Due to file size I have to upload these files to my Google Drive. For security measures I make a md5 checksum of this zip so you can easily check if it's original or not.

DOWNLOAD:

CLICK
[Galaxy Ace II Android Development] RyxeL:
can you add "remove stock app" feature?
[Galaxy Ace II Android Development] beardedpanda:
I could try but tell me first which stock apps you want to delete.

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] ace2nutzer:
So insta video upload works.

Amazon pics are broken.

Live video stream over stock browser works too but with a bit more worse performance than usual.... But i think i can manage to improve it, it's a lack of missing or bad configured media codecs.
[Galaxy Ace II Android Development] lotrzyk0:
[MENTION=7332124]beardedpanda[/MENTION] Couldnt you make optional "do not install" feature instead of fully deleting chosen apps from install zip?

Could you write here what apps can be chosen to be installed except stock apps?
[Galaxy Ace II Android Development] beardedpanda:
Stock apps are not included in the zip. You flash zip after installing the ROM so stock apps are installed with ROM. I need to do tests about installing it before ROM or right after flashing the ROM.

Apps:

Kernel realted:

NT app

ROM related:

ES File Explorer

Xposed (no need to check unknow sources)

Nova Launcher

Root:

SuperSU

Social media:

Twitter

Instagram

Snapchat

Pintrest

Tumblr

Messenger

Facebook

Facebook Lite

Metal

Reddit

Music and videos:

Youtube

Poweramp

AIMP

VLC

Twitch

Web browsers:

Fiefox

Chrome

Puffin

Office and school:

gmail

inbox

wps office

color note

Forums and blogs:

Taptalk

XDA Premium 5
[Galaxy Ace II Android Development] ace2nutzer:
SuperSU is not needed .. ROM has natively control for root.
[Galaxy Ace II Android Development] beardedpanda:
I know it but when I use native control sometimes, root operations fails. With updated binary from SuperSU everytime is working perfect.

BTW: All is optional. You have to tap on the app name to check it for installation.
[Galaxy Ace II Android Development] ace2nutzer:
strange, i never had problems with su from ROM.
[Galaxy Ace II Android Development] beardedpanda:
Feature added. Currently uploading the new version.

When you delete the stock Email app just install gmail app. In that way you avoid the Exchange app crashes.

[MENTION=5701712]shaqman89[/MENTION] [MENTION=5840412]ace2nutzer[/MENTION] [MENTION=6902149]Dr360r[/MENTION]

New A2N ROM Tweaker is coming to the daylight!

Feature added: Deleting stock apps.

It's safe AFIK. Even when you delete trebuchet app. You only have to install Nova Launcher (bundled in zip). It's the same way like in above email-gmail case.

When I got more time, I update the "project introduction" post with more info. I'll keep you posted.
[Galaxy Ace II Android Development] ace2nutzer:
@up

maybe deleting exchange app as well is better .. (but i'm not sure ...)

Yes, u can simply delete trebuchet.apk and use NovaLauncher.apk instead ... but u can't boot up without launcher at all, so immediately only replace it before booting.

But hmm ROM tweaker ?? IMHO it's not properly name .. .maybe better to call it ROM Setup ;)

btw: started new compilation ... when it's up, then please test if uploading video to insta will work ... the other things, i'll test by myself ... thanks !

(actually i'm testing some new Media Codecs configs in order to improve the performance a bit ... )
[Galaxy Ace II Android Development] beardedpanda:
@up

I think, that without Exchange it will not work at all. Exchange FC when I add google account so it (maybe) a serious apk.

I will test new build tomorrow. I have to get up early.

Thanks for opinion! :) You're right.

BTW: When I polish the ROM Setup project I try to make a script which install ROM and kernel in a row but frist I try to make a script which installs opengapps and copy that missing lib for swype.

Opengapps just leave stock swype lib if it will find it already installed on the phone.

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[Galaxy Ace II Android Development] ace2nutzer:
If u delete exchange, then how it can fc if itsn't there at all ?

Yeah, but just to mention, stock cm swype lib doesn't work too
[Galaxy Ace II Android Development] beardedpanda:
Yeah. Exchange deleted = FC stops but you not be able te set up a exchange account for eg. Micrsoft account etc.

I have to test if gmail app can handle this type of actions without exchange apk.
[Galaxy Ace II Android Development] Dr360r:
[MENTION=5840412]ace2nutzer[/MENTION], what's to test in 160523?
[Galaxy Ace II Android Development] shaqman89:
[MENTION=7332124]beardedpanda[/MENTION]

Finally got a chance to test the ROM setup project, and I could say it's impressive ;) :good:

Love it, and so far it works good.

I'm wondering if there is something that we could do about size though, I'm kinda hesitant to request for some apps that I would like to be listed since the current size is already quite huge.

One idea that comes into mind is splitting the zip into two parts, first specifically for tweaks and cleanups (eg: zram setup, removal of stock app, su activation, etc), and second part for Addon apps.

I believe this would have the benefit of being easier to use especially for those who just want to do a cleanup and have limited bandwidth and slow download speeds.

Another would be creating in init.d script to install the selected apps from online source after a reboot (I'm not sure if this is possible). But the idea is that the script would do:

- wget the apps

- pm the apps

- delete script after its done

If this is possible, it would certainly reduce the size the zip (currently its twice larger than the ROM).

Update:

Just an idea, since it could be called its own project already, creating a dedicated thread for it would be nice.

Also, I believe S.Amu wouldn't mind to give you FTP account since this is still related to ace2 tweaks.

---------- Post added at 05:11 PM ---------- Previous post was at 04:37 PM ----------

What root operation have you experienced failing?

I agree. So far, I haven't had any issues either on using root native control.

---------- Post added at 05:14 PM ---------- Previous post was at 05:11 PM ----------

Instagram upload and video stream from stock browser, I think.
[Galaxy Ace II Android Development] ace2nutzer:
no need to test latest build ... i've already ... i'll rebuild .... but so far it looks like that it's possible to have both working (insta + live video stream) without to break live stream.

as for FTP: just contact user S.AMU if u want to have FTP access .. i think he'll give u the permission to upload files for the ace2, since he also still have an ace2 as second phone :)

[MENTION=7332124]beardedpanda[/MENTION]

can u pls test latest build ? (right now uploaded) only need to test uploading video to insta ... if it works, then this is our next stable Release ! :)
[Galaxy Ace II Android Development] snyfear:
If u want an example of application not working with stock root, powernap is one of them.

Envoyé de mon GT-I8160 en utilisant Tapatalk
[Galaxy Ace II Android Development] shaqman89:
Yes, I confirm that it doesn't work. (It automatically denies root access).

[MENTION=5840412]ace2nutzer[/MENTION]

Here is the log:

05-24 04:27:16.269 2233-2698/system_process I/ActivityManager: START u0 {flg=0x10000000 cmp=com.android.settings/.vanir.superuser.RequestActivity (has extras)} from pid 12203
05-24 04:27:16.344 12203-12226/? D/jdwp: Got wake-up signal, bailing out of select
05-24 04:27:16.345 12203-12226/? D/dalvikvm: Debugger has detached; object registry had 1 entries
05-24 04:27:16.352 1772-1772/? I/libblt_hw: Library opened (handle = 13, fd = 72)
05-24 04:27:16.357 2233-2244/system_process I/ActivityManager: START u0 {flg=0x10800000 cmp=com.android.settings/.vanir.superuser.MultitaskSuRequestActivity (has extras)} from pid 11705
05-24 04:27:16.640 11705-12238/com.android.settings:superuser E/ContentValues: Cannot parse Byte value for 666 at key to.uid
05-24 04:27:16.646 2233-2244/system_process I/ActivityManager: Process com.oasisfeng.greenify (pid 11325) has died.
05-24 04:27:16.736 11705-12238/com.android.settings:superuser I/Superuser: null
java.lang.NullPointerException
at com.koushikdutta.superuser.MultitaskSuRequestActivity$8.run(MultitaskSuRequestActivity.java:340)
05-24 04:27:16.736 12202-12202/? W/su: SECURITY RISK: Requestor still receives credentials in intent
05-24 04:27:16.736 12202-12202/? E/su: unknown response from Superuser Requestor:
05-24 04:27:16.737 12202-12202/? W/su: request rejected (10055->666 chmod)
05-24 04:27:16.739 12198-12198/? D/su: sending code
05-24 04:27:16.739 12198-12198/? D/su: child exited
05-24 04:27:16.741 12196-12196/? D/su: client exited 1

Update:

I just realised that koush Superuser isn't actively developed anymore, thus is not 100% compatible with current implementation of supersu. There is a fork of it though that might fix this issue.

Just in case someone has time playing around with it, here is the source: https://github.com/phhusson/Superuser
[Galaxy Ace II Android Development] ace2nutzer:
When u Guys post an app name .. then always post an link to the app to Play Store ... there are a lot of different Apps with the same name lol. - just installed powernap from the very top .. and it worked .. i think i've installed the wrong one ... it seems that it doesn't need root at all lol ;)

Anyway i'm still waiting for insta video upload ... work or not on latest build ..... ;)

At least live-video-stream is again fully working ... (it's broken on 18/05)
[Galaxy Ace II Android Development] shaqman89:
It's an xposed module: http://xdaforums.com/xposed/modules/mod-power-nap-xposed-sony-s-stamina-t3077520

Downloading to test :)

[MENTION=5840412]ace2nutzer[/MENTION]

Latest is build 23/05, right?

Instagram video upload doesn't works.
[Galaxy Ace II Android Development] ace2nutzer:
I've recompiled 23/05 :)

The first version probably nothing was working (Live-video + insta) .. that's why i've recompiled ..

i know so far that live-stream is working ... but i don't know if insta is working too :)

btw: u even don't need to download it .. u can take it directly from build-server .... it's already opened the folder if u enter into my desktop. OR if not, there is on file-manager an bookmark with so called: "codina-output" ... there u can always find fresh compiled ROM. ;)
[Galaxy Ace II Android Development] shaqman89:
Unfortunately, upload Instagram video is still not working on latest 23/05 build.
[Galaxy Ace II Android Development] ace2nutzer:
Ok thanks for testing !

I've started new build ... it's in around 1 hour done. - But this time the script will not upload the ROM to the FTP .. since u can it transfer to your phone over your own network... just in order to reduce network overhead :) When it'll finally work, then we can make this as stable release, and i'll upload it to the FTP ... + writing an changelog of course ;)

btw: it's again 23/05 lol ... how to check when it'S done ?? - the build is done when the path i gave u will find the file ... if it finds nothing, then it's still compiling ... or just check with "top" command ;)

Good Night here .... at german time :)
[Galaxy Ace II Android Development] shaqman89:
True. That should shave some time and bandwidth :D
[Galaxy Ace II Android Development] ace2nutzer:
yeah :) .. btw i've edited my previous post ;)
[Galaxy Ace II Android Development] shaqman89:
Unfortunately, latest 23/05 build still have issues with instagram video upload.
[Galaxy Ace II Android Development] ace2nutzer:
recompiling .....
[Galaxy Ace II Android Development] shaqman89:
Yes, now upload video to Instagram works, and streaming from stock browser doesn't have delays :D

:good: :good:

Update: after a while) ~10-15 minutes, the audio gets out of sync with the video when streaming with stock browser
[Galaxy Ace II Android Development] Sylvinette:
Sometimes I've issue with call volume phone, I can't hear anything except I turn on loud speaker. I tried to press down and up volume button, still no sound. Is there anything I can do?

ROM build 18/05.
[Galaxy Ace II Android Development] Dr360r:
Yes, even servers grow beards :laugh::laugh::D
[Galaxy Ace II Android Development] shaqman89:
Damn auto complete lol.
[Galaxy Ace II Android Development] ChronoMonochrome:
So it finally worked with HW decoder and SW encoder? You could've get the same result at once just merging commit and setting ste.use_google_h264_encoder=true, as I suggested in PM initially :p Anyway, thanks for testing :)
[Galaxy Ace II Android Development] aleste2:
It seems like the well known Low-In-Call bug is still present, but Ace2nutzer applied the patch, at least I rembermber to have read it. Maybe he can clarify this point.

I have suffered it with every CM11 I tested, but with this one I am not using sim card, only wifi... so I cannot check it. Anyway it is quite anoying as it only happens sometimes.

My workarround was to use speaker, as you do.
[Galaxy Ace II Android Development] Yønn:
Again, Thanks a lot for your work [MENTION=5840412]ace2nutzer[/MENTION] (and other devs/testers) ! :)

I installed your latest Kernel (20160517) and your latest stable ROM (20160518).

Previously I was still using the same Kernel but the old ace2 ROM 20150714.

To do that, I followed the instructions on the first post PDF (thanks [MENTION=7332124]beardedpanda[/MENTION] and [MENTION=6902149]Dr360r[/MENTION]) except that I did not wipe data because I understood from [MENTION=5840412]ace2nutzer[/MENTION] that it was not mandatory.

It is overall smoother and safer (Stagefright) than before! I did not face any new bug right now. :)

But I want to report a tiny issue, which was already discussed here I think: when playing some music, if the screen locks, there is a noisy disturbing sound occurring during approx 0.1s.

Is there a way to get rid of this noise?

I also have a question about swap storage: I have apps installed on internal storage and on internal SD but I need more space.

If I swap storage in NTsettings app, do I need to reinstall apps (initially on the internal SD) on the external SD ? or is it transferred automatically ?

Will I lose the settings of all these apps ?

I suggest [MENTION=7332124]beardedpanda[/MENTION] and [MENTION=6902149]Dr360r[/MENTION] to add such information about that in their installation manual.
[Galaxy Ace II Android Development] IAmLucky:
there is a different partition for apps. It is already in a phone /data. Swap storages is useful ONLY if you want to make your micro sd card to be as /sdcard0. As in most cases all apps saves photos/videos/downloads in sdcard0. If you want more space for apps, then you would need to repart your device. Currently our phone can have 1gb for apps. But you can repart and it will have 3 gb of space for apps BUT your sdcard0 for photos/videos/downloads will be 1 mb! so you will be able to use your phone ONLY With sd card and only when you swap storages (micro sd card --> /sdcard0)

Someone fix me if i did somewhere mistakes :D
[Galaxy Ace II Android Development] LyrixTheDj:
Try to Repart and this: http://xdaforums.com/showthread.php?p=39178981

PS: I never used swap storage, only FolderMount. Very useful thing especially on GB for games data :)

I believe, you a free to set at any Camera or Voice Recorder apps which storage to use internal or external, It is not problem. Only /downloads must be switch by "FolderMount" or something like that.
[Galaxy Ace II Android Development] Dr360r:
Speaking of downloads, everytime i use the stock browser to download something it ends up in sdext0. How can i make it save files in sdext1?

Build 160524 is up, if anyone with an Instagram account wants to test it.
[Galaxy Ace II Android Development] ace2nutzer:
u need to swap storages on NT-APP ...

No, i was not able to use your patch ... because of some differences in the code ... i guess u write that patch for higher android version than CM11 ? Anyway now it finally works ... this is now the whole insta patch:

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

https://github.com/ace2nutzer/andro...mmit/4861303ad751b5ef4be403b14ffe8ce18ae8d038

Nope, it's fixed ... flash latest 24/05 ROM ... and then wipe data of NT- APP ... that should work ... don't forget to reboot after wiping data for NT- APP. - If it'll not help, and if it's especially only sometimes ... then it's most likely hardware issue :)

Strange .. i never faced that out of sync ..... but u can try to find out with logcat which Codec is used for live-video-stream .. and then try to add some quirks to that proper codec .. .... how ??

Check File:

/system/etc/media_codecs.xml

and try to add quirks like in the example for the live-video-stream codec ...

u can also try at first to remove all quirks to see if it'll improve the performance :)

btw: i'm not sure if an reboot is required after edit that file ... just check by yourself ...

u can also check this in this way: remove that file completely ... and try to use live-video .. if it'll not work, then a reboot is not needed. btw2: make of course an backup of that file first, before u edit ....

Yeah i know ... this issue is present on ALL ROM's ... even Samsung Stock ROM's.

Many Times i've tried to fix it ... but no luck so far ... i think it's maybe caused by too big delay when switching between cpu idle states .... maybe [MENTION=5695278]ChronoMonochrome[/MENTION] some ideas ??

-----------------------------------------------------------------------------------------------------------------------------------------------------

Anyway there u go with the new STABLE ROM Release !

20160524 ROM:

Completely reworked instagram video upload patch

Fixed Live-video-stream issue from previous release

Optimized Build.prop tweaks

CM Source Update

Please test if the following features are still working:

- Live-video-stream

- uploading a video to instagram

- xPosed

Thanks & Enjoy !!
[Galaxy Ace II Android Development] beardedpanda:
[MENTION=5840412]ace2nutzer[/MENTION] [MENTION=5701712]shaqman89[/MENTION] [MENTION=6902149]Dr360r[/MENTION]

Sorry guys for absence and inconvenience but bureaucracy on my university consume me for 2 whole days and there will be more of it in upcoming days (date of my final exam is near).

I provide anserws for all your questions and mentions on thursday or friday (in Poland time) now I'm very short on time.

BTW: I do fast test on Instagram videos on 2405 build and it's working fine.
[Galaxy Ace II Android Development] ChronoMonochrome:
No, MediaCodec class constructor haven't changed since 4.4.4, so it should work as well as on 6.0.1.

This seems to be due high CPU load that caused by kernel threads on wake up (you can check it by enabling showing of CPU load in dev settings). Idk how to eliminate this, especially since changing process priority doesn't seem to work on android.
[Galaxy Ace II Android Development] ace2nutzer:
Hmm good idea ... i'll test what will happen if i use static 1100Mhz for CPU for screen ON & OFF.
[Galaxy Ace II Android Development] Dr360r:
Any development, guys?
[Galaxy Ace II Android Development] Sylvinette:
Currently it always happen, it might be my phone speaker broken or I don't know. I've never been test another ROM.
[Galaxy Ace II Android Development] ace2nutzer:
Can u try to catch the log with ADB what happens when u try to open Stock Browser and try to watch amazon pics and post here?

Also u can try to find out which lib is used when amazon pics are loaded ... some posts ago Chrono..... mentioned a way how to find this out with ADB .... I think this is an good exercise for u with ADB ;)

In the meantime i'm trying to compile CM11 with Device tree from CM10.2 branch .. since Amazon pics are working fine on CM10.2 (according to your test) :)

btw: use latest stable ROM 24/05 .... not the 18/05 ... it was buggy.

@ all

is xPosed working fine on 24/05 ROM ???
[Galaxy Ace II Android Development] Dr360r:
Amazon pics should show up on CM11 M7 and older.

Here comes the log.
[Galaxy Ace II Android Development] ace2nutzer:
how do u know that ? that it works till M7 ??

anyway u was searching for this pic ?

https://www.amazon.it/gp/aw/d/B00GJ...inkCode=df0&pc_redir=T1&tag=googshopit-21:126

;)
[Galaxy Ace II Android Development] Dr360r:
Yes, i was. 1984 uh? Just kidding :D
[Galaxy Ace II Android Development] ace2nutzer:
haha :D Nope, the link is just in the log ;)

anyway it looks like this is the main problem:

E/browser (32057): Console: The key "shrink-to-fit" is not recognized and ignored

It's java source code bug.

I'll try later to search on source code ...
[Galaxy Ace II Android Development] Dr360r:
About the M7 stuff, look here http://www.cyanogenmod-forum.de/Thread-CM-11-S3-Amazon-Bilder-Problem?page=3