yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Original Android Development] zozoz13:
Any GearCM 13 builds doesn't include SuperSU. It only have built-in CM root.

Sent from my Galaxy S4
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Enjoy this preview guys: https://www.androidfilehost.com/?fid=24591020540824051

You may notice lower performance, but much higher stability. Everything seems to be working.

Please provide me feedbacks, especially if you still notice some of the known issues specified here: https://github.com/GearCM/android_device_samsung_i9500/blob/cm-13.0/README.md

Changelog:

- Updated CM Sources

- SELinux is now enabled, but on permissive mode.

- TEST: Fixed Wireless Display with HDCP TVs

- TEST: Fixed WiFi issues

- TEST: Fixed Camera Instabilities

- TEST: Fixed Random Reboots

- TEST: Fixed Battery Drain (mostly caused by WiFi)
[Galaxy S 4 i9500 Original Android Development] LironImaN:
Thank you very much for new build!

It seems like battery is better now, but I need to test it more.

But the performance is very bad now, it takes too long to go back to home screen, recent apps and even switch between different pages in settings app, and more frequently actions.

It is really not good... There is any way to improve it?
[Galaxy S 4 i9500 Original Android Development] dngr503:
Confirm. In some places ( like settings pages) latency is too high, but everything is OK in applications.

Camera still unstable :(

Battery not checked yet. I will test it during the day.

IMHO new build is still awesome. Thank you very much [MENTION=2386505]Alberto96[/MENTION]
[Galaxy S 4 i9500 Original Android Development] LironImaN:
For me, it's laggy and slowly also in applications, like WhatsApp, switching between chats, like 5 seconds to get back to chat list and go into another chat...

Animations is also laggy.
[Galaxy S 4 i9500 Original Android Development] Alberto96:
I confirm that there is an huge delay issue. The worst thing is that it doesn't depend on the kernel because also with the older 20160530 kernel installed on 20160707 build I notice it.

There is something wrong with latest CM sources.
[Galaxy S 4 i9500 Original Android Development] LironImaN:
OK, thank you for reply.

I hope it will be fixed soon.

Right now, I feel like TouchWiz is less laggy lol.
[Galaxy S 4 i9500 Original Android Development] MANNSAAB:
Alberto mobile data is not working for me can u plz look it its working for me in gear cm 12.1 and in this rom http://xdaforums.com/galaxy-s4/i9500-develop/rom-turbo-rom-layers-t3404852 but not working in gear cm 13 i tried chnging modem and manually entring apn plz look at this matter
[Galaxy S 4 i9500 Original Android Development] robsonsilva:
Thank you very much. I think it may be the latest source of cm that is in trouble. Or is optimized for most current devices. The rr also has the same slow. Continue your great work. Always we look forward to your updates.
[Galaxy S 4 i9500 Original Android Development] Alberto96:
It seems that the latency issue has been fixed, a new preview build is coming.
[Galaxy S 4 i9500 Original Android Development] robsonsilva:
Thanks. Waiting ...
[Galaxy S 4 i9500 Original Android Development] Alberto96:
2nd Preview: https://www.androidfilehost.com/?fid=24591000424945315

Changelog:

- Same 1st Preview Changes

- Updated CM Sources

- Added new CM Gello Browser

- Optimized WiFi & 3G Performance

- Restored Android M Doze Mode

- SELinux is nearly completely fixed

- Updated Proprietaries from latest INU OK2 rom

- Fixed Latency Issues (feedbacks required)

- DRM Stuff should be completely working

Known Issues:

- Camera is now Stable (using built-in Camera app), it doesn't seem to crash anymore, but it has some issues with the Flashlight

- Graphics Glitches are still there, i don't know yet if this is something that can be fixed on Android M due its changes that might not be compatible with OpenGL 2.0 only devices

- Sound Driver is still WIP, with VOIP issues, unstable HDMI audio, low in-call microphone volume (feedbacks required) and messed up mixer values.

- SIM Toolkit app isn't working properly yet
[Galaxy S 4 i9500 Original Android Development] u7Xz:
Thanks.
[Galaxy S 4 i9500 Original Android Development] :
What do you mean by the built-in Camera app? The snap camera that was used in the first builds or the camera that was used until now?
[Galaxy S 4 i9500 Original Android Development] Sloth.M:
In today's snapshot, I've noticed that the microphone doesn't work in the Google app. The microphone works fine everywhere else.
[Galaxy S 4 i9500 Original Android Development] u7Xz:
Has the Google app granted microphone permission? Which gapps have you flashed?
[Galaxy S 4 i9500 Original Android Development] Sloth.M:
I'm using the OpenGapps nano package, and all permissions have been granted to the Google app. I've found that voice search works fine through a headphone mic, but not through my phone's built in microphone.
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
I can't ear nothing when I call or I receive a call without earphones
[Galaxy S 4 i9500 Original Android Development] braulio_holtz:
First Post -> Known Issues

Please do not report bugs if it is already listen in the list of known issues

While in-call (on second call) using headphones/headset, audio could be routed to the Earpiece. Enable/Disable Speaker or Plug Out/In the Audio Jack to fix it. (Probably linked to #1) -- WIP | High Priority --
[Galaxy S 4 i9500 Original Android Development] LironImaN:
Finally a Android M build for our i9500.

Thank you very much.
[Galaxy S 4 i9500 Original Android Development] kaankkaraman:
How about screen on time?
[Galaxy S 4 i9500 Original Android Development] dogukanka95:
not so good maybe 2hrs
[Galaxy S 4 i9500 Original Android Development] kaankkaraman:
Hmm its just alpha build maybe it will be more better
[Galaxy S 4 i9500 Original Android Development] Blackko:
maybe 3h to 3:20

the battery is nice for normal apps..until you start playing it heats a lot and start draining(normal thing on cm btw)
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
Can anyone share me the link to download xposed please?
[Galaxy S 4 i9500 Original Android Development] :
http://xdaforums.com/showthread.php?t=3034811, choose the "xposed-v79-sdk23-arm.zip" version
[Galaxy S 4 i9500 Original Android Development] StoneRoses:
Looks like ExFAT SD Card is not supported
[Galaxy S 4 i9500 Original Android Development] Dewang rocky:
My wifi worked for first hour and after it wont scan even after several flashes and format

What different was in first flash which made wifi work anot after

---------- Post added at 09:40 PM ---------- Previous post was at 09:38 PM ----------

installation and rom review here:https://m.youtube.com/watch?v=7Fdcq4Gxlg8
[Galaxy S 4 i9500 Original Android Development] rgshah3:
I think you need to change your wifi router channel

Don't keep 11 12 13 14
[Galaxy S 4 i9500 Original Android Development] Anton_Nikitenko:
I do not see my router xiaomi. What to do?
[Galaxy S 4 i9500 Original Android Development] codybank_789:
I having small glitches while listening to music. Im using powerAmp/soundCloud with v4a. Also sometime apps' ui arent rendered correctly.
[Galaxy S 4 i9500 Original Android Development] masterlo3:
It will be more helpful if you list out those apps that aren't rendered correctly to help the dev and other users too... From my experience, poweramp and v4a worked fine. You might want to explain better
[Galaxy S 4 i9500 Original Android Development] codybank_789:
It happens randomly. It only affect the "tab" part of the ui. Sometime it happens sometime it doesnt. So far it happened on Setting, xda, facebook, soundcloud.

About the glitches it only happens when i use heavy apps or the phone have been on for a while. It often happens when i go to recent apps panel or facebook.
[Galaxy S 4 i9500 Original Android Development] braulio_holtz:
You're right, when I install or update the app, the tab gets weird (of another color), I am not using any theme ... maybe just a small correction or update the CM source
[Galaxy S 4 i9500 Original Android Development] _AE_:
This ROM's more stable...then the official CM

It only has few bugs and this is the initial release
[Galaxy S 4 i9500 Original Android Development] ace6446:
Is everything workng in this rom??
[Galaxy S 4 i9500 Original Android Development] Vanek679:
Are you kidding? It's only first alpha version.
[Galaxy S 4 i9500 Original Android Development] u7Xz:
Try installing a beta update to Google App maybe there is a bug with that version. Can you give me the version of the Google App?
[Galaxy S 4 i9500 Original Android Development] braulio_holtz:
I believe it is not the version, the previous build GearCM had the same problem, have at least several versions of Google App and continued not working. I'm using the beta but still have not tested the new build
[Galaxy S 4 i9500 Original Android Development] u7Xz:
Yeah, maybe. I am on 20160502 with Google 6.0.23.21.arm everything here is fine maybe the latest changes which [MENTION=2386505]Alberto96[/MENTION] made causes some problems. Better give him a logcat so he can have a look why its happening.
[Galaxy S 4 i9500 Original Android Development] LironImaN:
Wow! thank you for the quick fix, it is so much better now, i can really enjoy using my device again :laugh:
[Galaxy S 4 i9500 Original Android Development] Alberto96:
SELinux 95% Ready. Unfortunately i am not able to fix that remaining 5% yet. (just two missing rules, damn)

UPDATE: if you are facing Flashlight issues with Camera on latest preview just like me, install "Open Camera" from Play Store. That's the perfect, and open-source, camera app that i will probably implement by default on next build and it doesn't have any issue at all.
[Galaxy S 4 i9500 Original Android Development] u7Xz:
That's the camera which i already use. Would love to see it as default in your ROM. Really great app and thank you for your effort.
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Amazing, thank you for your feedback.

Basically now there are only three bugs left, and the Audio Driver bug is the most important.

- Write last SELinux Rules so that we can switch to Enforcing mode (not a real bug though)

- Fix the Audio HAL in order to solve all bugs (but it seems this is something that will never happen unfortunately)

- Fix Graphics Glitches

- Fix RIL in order to handle SIM Toolkit SMSs

I can't find any other bug now :) It seems that in three days i managed to do miracles haha

Stable Release, coming tomorrow. Starting from tomorrow's build, we can finally talk about Stable CM13 on I9500 (JA3G) device, and i'll also send all changes to CM so that we can also get official nightlies.
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
Guys I need help I just clean install and I can't access in the settings and when I press home button it doesn't work I only can move in the home it happens before with another build and I had to back to previous build help me please I tried reinstall again and it didn't work

Sorry for my bad english
[Galaxy S 4 i9500 Original Android Development] husseinholmes:
That was awesome [MENTION=2386505]Alberto96[/MENTION] . Thanks for the battery fixes ^_^ . I want to ask if it is possible for you to implement official cm13 camera (snap camera) on this rom? Because it has more feature and faster than google camera or built in camera.

---------- Post added at 04:04 AM ---------- Previous post was at 04:01 AM ----------

That's weird, i never face that before . Maybe there is something wrong when you are installing the rom? Could you please tell us how you install your rom?
[Galaxy S 4 i9500 Original Android Development] rajubagwan:
new c apps dialer doesn't work on cm13..[emoji17]
[Galaxy S 4 i9500 Original Android Development] crisis_trustee:
Dear Alberto96,

Sensor touch screen navigaton buttons in my phone don't work on GearCM builds from 07/07/2016 and 08/07/2016.

But they work on GearCM build from 30/06/2016.

How to fix this sensor button issue?
[Galaxy S 4 i9500 Original Android Development] MANNSAAB:
Mobile data Still not working
[Galaxy S 4 i9500 Original Android Development] dngr503:
No problems with modile data so far. Try to change modem.
[MENTION=2386505]Alberto96[/MENTION] , 20160708 build is awesome. You made a fantastic job!!
[Galaxy S 4 i9500 Original Android Development] Toggie:
Mobile data work, GearCM13 07.08, modem - OD4, Ukraine
[Galaxy S 4 i9500 Original Android Development] PR@N!T:
:fingers-crossed::good::):D
[Galaxy S 4 i9500 Original Android Development] MANNSAAB:
for me it not working in cm 13 only turbo rom by nitin data is working

---------- Post added at 12:38 PM ---------- Previous post was at 12:37 PM ----------

try modem india russia no success my network is n videcon india
[Galaxy S 4 i9500 Original Android Development] MANNSAAB:
here is log This is not kernal related problem it linked to device tree i turbo rom device tree is diffrent and mobile data is working plz alberto look at this mobile data is working in every stock and offical cm 12.1 or gear cm 12.1 data is working but not in gear cm13
[Galaxy S 4 i9500 Original Android Development] crizalid8:
I have the same problem
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
I install then factory reset then i install gapps and reboot

I back to the build that I could use and it happens the same it seems that something is wrong with the notification panel like it's no working :( please help me
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
---------- Post added at 09:36 AM ---------- Previous post was at 09:36 AM ----------

[/COLOR]Alberto please help me my notification panel doesn't work it happens with previous build but only 5/3 works and now I back to that build because the latest doesn't work and I have the same problem I can't interact with nothing
[Galaxy S 4 i9500 Original Android Development] LeoYL:
Use Open Gapps mini package, not stock, super or aroma.
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
https://youtu.be/rJ32EpUeou8 i have the same problem

---------- Post added at 10:30 AM ---------- Previous post was at 10:29 AM ----------

I tried mini and micro and nano :/

Micro gapps didnt work
[Galaxy S 4 i9500 Original Android Development] crisis_trustee:
I can have sold this problem. I have flashed a kernel from old GearCM 30/06/2016 build.

All sensor touch screen buttons work now.
[Galaxy S 4 i9500 Original Android Development] LironImaN:
@Alberto96, what about Adoptable storage and Now on Tap?

Will this functions work in the future? ;)
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Thank you for your log.

It is clearly noticeable that you are using an IPv6 APN, try to use an IPv4 APN and let me know.

07-09 12:44:58.566 4362 4421 W System.err: java.net.UnknownHostException: Non-numeric gateway addr=2407:e900:1:1a97:1:1:4e6c:b269/64

07-09 12:44:58.566 4362 4421 W System.err:	at com.android.internal.telephony.dataconnection.DataCallResponse.setLinkProperties(DataCallResponse.java:222)

07-09 12:44:58.566 4362 4421 W System.err:	at com.android.internal.telephony.dataconnection.DataConnection.setLinkProperties(DataConnection.java:1048)

07-09 12:44:58.566 4362 4421 W System.err:	at com.android.internal.telephony.dataconnection.DataConnection.updateLinkProperty(DataConnection.java:369)

07-09 12:44:58.566 4362 4421 W System.err:	at com.android.internal.telephony.dataconnection.DataConnection.onSetupConnectionCompleted(DataConnection.java:816)

07-09 12:44:58.566 4362 4421 W System.err:	at com.android.internal.telephony.dataconnection.DataConnection.-wrap5(DataConnection.java)

07-09 12:44:58.566 4362 4421 W System.err:	at com.android.internal.telephony.dataconnection.DataConnection$DcActivatingState.processMessage(DataConnection.java:1652)

07-09 12:44:58.566 4362 4421 W System.err:	at com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:968)

07-09 12:44:58.566 4362 4421 W System.err:	at com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:791)

07-09 12:44:58.566 4362 4421 W System.err:	at android.os.Handler.dispatchMessage(Handler.java:102)

07-09 12:44:58.566 4362 4421 W System.err:	at android.os.Looper.loop(Looper.java:148)

07-09 12:44:58.566 4362 4421 W System.err:	at android.os.HandlerThread.run(HandlerThread.java:61)

No log, no party.

Only a factory reset seems to solve this rare issue.

What do you mean? Explain better your issue.
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
I did a factory reset 10 times and tried previously build and it didn't work :/

when i wipe cache and turn on my phone i can scroll down the notification bar but only for 3 seconds then i cant do it anymore
[Galaxy S 4 i9500 Original Android Development] MANNSAAB:
thnks bro it start working after changing it to ip4
[Galaxy S 4 i9500 Original Android Development] Alberto96:
I don't know then, there is something that causes this issue, something that isn't related to the ROM though otherwise everyone, including me, would notice it. (third-party apps, etc..)
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
:/ i dont know what to do everything was ok before i clean install last build
[Galaxy S 4 i9500 Original Android Development] haksancan:
I didn't check if they are really different as I'm still downloading the 2nd preview but proprietary files in the latest PF1 build have much newer timestamp (dated 8th of June).
[Galaxy S 4 i9500 Original Android Development] LeoYL:
Actually I faced the same problem as yours before. After a few trials of different combinations of GApps and add-ons, I thought this problem would related to Google setup wizard.

When I flashed aroma or super package of OpenGApps, there was the problem you stated. But when I keep CyanogenMod setup wizard with those packages, or when I flashed mini package, there wasn't any problem.
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
What do you mean add-ons isnt the same of gapps? And about cm setup wizard? Sorry for those questions im dont know much about it :(
[Galaxy S 4 i9500 Original Android Development] LironImaN:
@Alberto96, we posted at the same time, so you missed my post i think.

About Now on Tap, is it Gapps feature? I need a Gapps that includes it?

and Adoptable storage will be fixed?

btw, last night i lost 28% of battery at night within 5 hours (5am to 10am) :(
[Galaxy S 4 i9500 Original Android Development] Alberto96:
I'm using latest reliable NK2 Kernel Sources, so it is better to use corresponding ROM proprietaries.

About "now on tap", i don't know. That's an extra feature, so do not expect that i'll work on it for now.

Adoptable Storage should be already enabled, if it isn't working then i'll look at it.

About battery, i left my device (running latest build, clean install, no google apps) turned on this night, with Mobile Data & WiFi off. No battery drain noticed at all (just 1%). You might need to check your background apps.
[Galaxy S 4 i9500 Original Android Development] LironImaN:
Thanks for reply.

Now on tap: i hope it will be added to this ROM in the future, i mean its very useful feature, this is one of the reasons i so wanted to upgrade to Marshmallow.

About Adoptable Storage, can someone confirm its working or not? i prefer not to format SD card for no reason at this point.

About battery drain, i think its related to the alarms, but im not sure if its because of the Gapps, i tried alot of different packages and different devs, you can see the pics of my alarms problem.

Any suggestions?
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
Well i fix the problem about notification bar and home button doesn't work installing latest build without gapps then I did a factory reset and install gapps and it works
[Galaxy S 4 i9500 Original Android Development] MostaphaHida:
I think now on tap is fully working...
[Galaxy S 4 i9500 Original Android Development] Alberto96:
UPDATE: Adoptable Storage has been fixed, but it crashes the device when you try to format the sdcard as internal storage. I'm working on it. Anyway even if it crashes, it is still working haha

UPDATE 2: Also Graphics Glitches have been fixed. (but further testing is required)
[Galaxy S 4 i9500 Original Android Development] u7Xz:
Wow [MENTION=2386505]Alberto96[/MENTION] your rocking man. In 3 days you made a stable marshmallow rom for our poor exynos based I9500. :laugh:

Edit: Hope to see Android Nougat on our I9500 also. :p
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Thank you :D

Nougat....why not. All depends on the changes that Google made to the source code and to the time that the CyanogenMod team will take to port all Hardware Compatibility patches to it.
[Galaxy S 4 i9500 Original Android Development] rajubagwan:
thank you [MENTION=2386505]Alberto96[/MENTION] I will eagerly await that day. [emoji3]
[Galaxy S 4 i9500 Original Android Development] LironImaN:
How to enable it? I was looking for it all the places, google now settings (in voice and cards), and choose Google app as assist, and nothing, there is no option for me to enable it.

I downloaded Google app from Play Store, it wasn't a part of my gapps.

what gapps r u using?

You ROCK! thank you so much!

Wow, if there will be CM14/Nougat ROM for us, that will be awesome, i cant wait for that! :p
[Galaxy S 4 i9500 Original Android Development] Alberto96:
For those who don't believe, Adoptable Storage is here.

UPDATE: that kernel crash is making me crazy, there is something about encryption that fails (Adoptable Storage encrypts the MicroSD, that's why it is required).
[Galaxy S 4 i9500 Original Android Development] Pesimistadam:
[MENTION=2386505]Alberto96[/MENTION] Is the official CyanogenMod 13 nightly builds will be released for I9500?
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Yes, maybe.
[Galaxy S 4 i9500 Original Android Development] Aakash Kaushal:
wtf!!!! so many fixes in just 2-3 days...this is dope man!...seriously great job dude [MENTION=2386505]Alberto96[/MENTION]:cool:
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Adoptable Storage isn't 100% stable. What does it mean? If you choose to use your MicroSD as Internal Storage (not Portable Storage), the device will crash during the formatting phase. Now, here comes the weirdest part. It may reboot and work perfectly, just like the crash never happened, or it may bootloop unless you remove the MicroSD. If it reboots correctly, then you can use it without issues.

Basically, until i manage to fix it completely, i recommend you to use it at your own risk.
[Galaxy S 4 i9500 Original Android Development] LironImaN:
There is any risk for the SD card? It won't work anymore?
[Galaxy S 4 i9500 Original Android Development] Mark376:
IIRC you can disable sd adoption encryption by adding TARGET_NO_SD_ADOPT_ENCRYPTION := true in boardconfig
[Galaxy S 4 i9500 Original Android Development] Alberto96:
You will have to repartition your MicroSD using your PC.

Unfortunately this option isn't available on CM.
[Galaxy S 4 i9500 Original Android Development] eXd4:
I already had a history of better-than-average battery consumption — however, yesterday was the first day my 2 year old battery did not have to be charged for the entire day at all. :D
[Galaxy S 4 i9500 Original Android Development] MostaphaHida:
Just google app> settings and it should be there like that

Also try holding down ur menu hardware button and see if it works
[Galaxy S 4 i9500 Original Android Development] LironImaN:
I don't have it.
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Due to some issues, i have to delay the release. Coming tomorrow :)
[Galaxy S 4 i9500 Original Android Development] husseinholmes:
I think you need to factory reset first , then flash the rom (using gear cm recovery) , after that flash latest gapps (i prefer micro) , finally reboot . I hope it works.
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
I fixed it flashing the ROM without gapps then when I turn on my device everything was OK so I factory reset and flash gapps nano and it works and think the problem was because the installation setup wasn't of cm it was of Google