yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] gjc:
Install Better Battery Stats to help diagnose what app is causing your battery drain.

If you find that it is mainly Google Play services (as in my case) you can also try the following:

1. Force Doze which will put your phone into FULL doze mode as soon as the screen is turned off.

2. Supress Google Play Services, this will allow you to enable battery optimization of the service.

NOTE: as this will also cause interruption of the GCM it means some applications may not update as frequently as expected. See notes on link page.

(I have experienced that Facebook is one such app).

My phone now lasts 5+ days in standby mode.
[Galaxy S 4 i9505 Original Android Development] dilidani:
Thank you guys for the replies, really kind of you! _O_ I have a fitband connected via BT and Wifi always on, so I guess I'm kinda near to the max I can get. BUT my SOT is better a bit than used to be with 5.1.1 so definitely an improvement, and will check these tips, I love tweaking tbh :D

Tip

: Dont disable keep awake or wakeup function of Google Play services/framework in appops, because I guess It was the reason of no-doze.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
If you suppress google play services, will this also interfere with receiving whatsapp messages during (deep) sleep?
[Galaxy S 4 i9505 Original Android Development] gjc:
WhatsApp uses GCM so YES it will be affected by suppressing the Google Play Services.

I don't know to what degree as I don't use it.

You could try it and see, it is easy to switch the service in/out of optimisation mode via settings menu once enabled via the modification of the google.xml file.
[Galaxy S 4 i9505 Original Android Development] stylemessiah:
I too have had no issues with the google play services tweak, though i only use gmail, so cant speak as to what other gcm reliant apps do, i get my emails like normal and thats all i care about

Im trying your linked Doze app to see how it goes, i would normally use this one: https://play.google.com/store/apps/details?id=com.yirgalab.dzzz

But im down for change
[Galaxy S 4 i9505 Original Android Development] LimitsX:
Anyone having WiFi disconnection and reconnection issues on latest build?

I did a clean install after wiping out TW 5.0.1 ROM using latest twrp. No mods. I used open pico gapps.

First install. I could not see WiFi Mac address. I wiped cache and art cache. I got that back. But now WiFi is disconnecting even though WiFi signal is working in a another device
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
I know that that doze app is very aggressive. I didn't receive any messages or emails. By the time I used it, it didn't have a whitelist
[Galaxy S 4 i9505 Original Android Development] 3mel:
yes I have this, but it mainly gives up on specific apps, namely YouTube and shadowgun DZ. distance to the router makes a difference for me, closer being more reliable.
[Galaxy S 4 i9505 Original Android Development] Manfrowar:
Since I made the tweak I never had any WhatsApp messages delayed, not even during many hours of (human) sleep.

I searched a bit and found that the phone Dozes after half an hour, and I still get push notifications after this time.

I also use WhatsApp on my computer, leaving the phone alone for more than an hour every day, and it never gets disconnected.

And also, if you have any issues, just un-optimize it. The tweak doesn't forces the optimization it just allows the optimization setting ^^
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Hmm, I mostly have disconnect issues on whatsapp web (whatschrome) when it enters doze/deepsleep after 30+ minutes. Whatsapp optimalization is turned off in doze
[Galaxy S 4 i9505 Original Android Development] vkopzon:
Here is the story: I clean flashed the latest version when released with recommended open gapps pico. All was perfect. No bugs, including BT. No app FC. The Rom is just about perfect. The buttery life was good enough for my needs. Easily get to nightly recharge cycle (with ~20%) - mine average use.

So, I've played with layers and got to bootloop.

As a solution, I've dirty flashed Rom again, but this time with old version of banks gapps (I've used long time ago).

All works without issues. But the battery life is amazing!!!

For second day I am at 50% after a full day!

Yes I am not a heaviest user, but the difference for me is huge!

I even installed Google now. Mostly for Reminders and voice operation. No impact on battery.

P. S. BT works perfect (but it always worked fine for me, even with old Hal (it is probably a matter of paired devices))

(BaNkS_Dynamic_GApps_6.x.x_4-11-16_04_29)
[Galaxy S 4 i9505 Original Android Development] asharad:
I'm getting the best battery life ever on this phone, about 40 hours during my typical usage. Awesome job, thanks for the ROM.
[Galaxy S 4 i9505 Original Android Development] -sandro-:
Screen on time?
[Galaxy S 4 i9505 Original Android Development] -Deco-:
Off-time, the graph shows that there is no real drop in usage through the course of 4-8am.
[Galaxy S 4 i9505 Original Android Development] vkopzon:
I'm getting probably less than 40, but it is amazing!

(only two modifications to defaults: zram disabled and max cpu frequency capped by 1.4)

Thanks to JDC team for a great Rom!
[Galaxy S 4 i9505 Original Android Development] Magnusmarshall:
The recent build running impressively.

Not crashing or reboots and it grabs a signal almost instantly which is far faster then older builds
[Galaxy S 4 i9505 Original Android Development] Gerxp:
Is it possible somehow to get into Samsung Test Mode?

*#0*# is not working.
[Galaxy S 4 i9505 Original Android Development] sjamie:
That is only possible on Touchwiz I believe.
[Galaxy S 4 i9505 Original Android Development] leizem:
Is this lastest build better than February version?
[Galaxy S 4 i9505 Original Android Development] -Deco-:
Very, give it a try.
[Galaxy S 4 i9505 Original Android Development] Hole23:
Is there a mode to block the incoming call from a specific number? In the old original samsung os there were a button in the dialer but here i didn't found it
[Galaxy S 4 i9505 Original Android Development] :
So this ROM is the best. Battery life is very good. I regularly get 3 hours 30 min sot with a decent percent left. On optimized cm13 I struggled to get 3 hours. Too many bugs in cm and optimized cm.. Idle drain is very low. From .3 percent/hour to 1 percent max. I use the attached customized profile.

I use pico gapps with greenify aggressive doze. And few apps hibernated. While its in use the phone drains around 12 to 19 %/hour. On cm it used to be above 20%

System partition is ext4 data and cache are f2fs

So am posting today because after 5 days of uptime all the sensors stopped working. Had to do reboot to fix it. Soft reboot didn't work. Regular reboot did.
[Galaxy S 4 i9505 Original Android Development] navcar:
I've discovered that replacing \system\lib\hw\consumerir.msm8960.so with the one from the latest JDCteam optimized CM13 stable-1 enables IR for the apps that previously worked with stock TW (I tested Camera IR Remote and Peel Smart Remote).

i.e. Download the CM zip and extract consumerir.msm8960.so, then use a root file explorer to replace the problematic copy on the phone (don't forget to chmod 644).

This is great because I prefer AOSP layers theming over CM's since each app can have its own theme.
[Galaxy S 4 i9505 Original Android Development] dilidani:
Guys, how can i properly use quick settings pulldown tiles in system ui tuner? I just cant put wifi and lte into the first row. :D Too messy. Wouldnt like to use gravitybox, in my experience it messes up phone.
[Galaxy S 4 i9505 Original Android Development] mvdi:
I use Remote CT with 2 TVs of different brands, I haven't had to adjust any settings.
[Galaxy S 4 i9505 Original Android Development] navcar:
Just downloaded that app - it looks really good, thanks.

However the canon dslr app that I linked earlier has some unique features.
[Galaxy S 4 i9505 Original Android Development] Gerxp:
Anyone tried installing over February build?
[Galaxy S 4 i9505 Original Android Development] mvdi:
My last clean install was the February build. Have only wiped cache and dalvik before installing each of the later versions. Hope that helps you.
[Galaxy S 4 i9505 Original Android Development] stonebear:
Loving the ROM but I can't connect to my PC by USB cable, when I plug it in I get a toast similar to "android.acore stopped" and I cannot get it to show in "my PC". Connecting to the PC can be flaky with other ROMS too, but none of them give me an error when I connect and I can always get them to show in "my PC" with a bit of fiddling.

I have clean installed twice and used BAnks Gapps as well as Open gapps and each time I get the error message when I try to connect to the PC, which is a shame because the ROM flies.
[Galaxy S 4 i9505 Original Android Development] mmatic10:
Turn off usb debugging when you connect your phone to PC and it will work
[Galaxy S 4 i9505 Original Android Development] stonebear:
Thanks, that worked. :)

I have another problem, I was trying to change the name of a folder on my SD card using Solid Explorer and it said I don't have permission and to go through the process of giving it permission, it always does this with all ROMS and the process is a bit weird, you have to select your SD card from a left hand menu, but with this ROM there is nothing to choose from in that left hand menu, it's just blank. So nothing to select to give permission and therefore restricted access to the SD card.
[Galaxy S 4 i9505 Original Android Development] Gerxp:
Oh darn ... Still SD card access trouble eh. Think I stick to February build
[Galaxy S 4 i9505 Original Android Development] 1Raiders:
hey guys

I noticed on the latest official build that when I put phone on speaker it actually mutes both parties.

I did do a dirty flash like I've done on all the previous ones.

If someone could test on their end to see if they have the issue would b appreciated.

Everything else is smooth and silky.

Thanks again

E
[Galaxy S 4 i9505 Original Android Development] mmatic10:
Don't have that problem on latest build. Mine works fine. Did a clean install with a-gapps

---------- Post added at 07:04 AM ---------- Previous post was at 07:02 AM ----------

I use ES file explorer and it works fine. No SD card issues at all.

When you open that left hand menu you were talking about, tap the three dot menu and tap show SD card and it will work.

---------- Post added at 07:31 AM ---------- Previous post was at 07:04 AM ----------

I have no SD card issues on latest build. BT works flawlessly, got few app fc's and that's it. Running smooth on my phone. I even have xposed and gravitybox installed and didn't face any problems as someone pointed to be facing with gravitybox.
[Galaxy S 4 i9505 Original Android Development] mickdroid94:
What's the difference between A-gapps e Open gapps? In very quickly words..
[Galaxy S 4 i9505 Original Android Development] thaidroid:
A-Gapps WORKS and has optimized Google Play Services and Always works. I have used A-gapps since the start of MM on all AOSP and CM13 (and I've tried a lot;)) and never had a Gapps issue.
[Galaxy S 4 i9505 Original Android Development] mickdroid94:
Thanks i'll try it.. ?
[Galaxy S 4 i9505 Original Android Development] mmatic10:
And your battery will thank you for it[emoji1]
[Galaxy S 4 i9505 Original Android Development] cenonmin:
Photo Live Wallpapers

Hi,

Just trying out this ROM coming from CM13 JDCTeam and am wondering why none of the photo collage wallpapers not working or not compatible with AOSP version?

I tried:

https://play.google.com/store/apps/details?id=com.ruesga.android.wallpapers.photophase

https://play.google.com/store/apps/details?id=com.handyapps.photowallfx

https://play.google.com/store/apps/details?id=com.larvalabs.photowall
[Galaxy S 4 i9505 Original Android Development] mickdroid94:
But.. when Play Services are optimized does Push Notifications (like WhatsApp which uses GCM) still work ?
[Galaxy S 4 i9505 Original Android Development] thaidroid:
No I dont think they do when the phone is in doze, but then again most of the time me and my phone are dozing at the same time;);)
[Galaxy S 4 i9505 Original Android Development] sjamie:
OpenGapps Pico works perfectly on my phone. When I tried A-Gapps, it flashed properly but it rendered some of my apps as "incompatible with device" in the Play Store. Therefore, those apps would not install no matter what method it tried. This a known issue mentioned in the A-Gapps XDA thread and the dev is working on a solution for the future. Titanium Backup also could not restore these "incompatible" apps. Therefore, I went back to OpenGapps Pico and everything works flawlessly again with ALL of my 250+ apps.

If A-Gapps doesn't render any of the apps you use as "incompatible", you will be fine.
[Galaxy S 4 i9505 Original Android Development] thaidroid:
What were those "incompatible" apps? 250 apps? That's a lot.....
[Galaxy S 4 i9505 Original Android Development] sjamie:
One of them was my BBVA Compass banking app and I don't remember the rest. I do know they were apps I am not willing to drop.
[Galaxy S 4 i9505 Original Android Development] cob11341:
So I've posted about this before and still have the same issue. So my issue is on the most current Stable [July 9], when placing a call, me and the other person on the line cannot hear or talk and cannot make a proper phone. I retried a clean boot several times but still fail to make this call feature work. Is anyone else experiencing this? I'm using GT-I9505G.
[Galaxy S 4 i9505 Original Android Development] iPAQ 6515a User:
I was, went back to build 3
[Galaxy S 4 i9505 Original Android Development] mattgyver:
Did you download Google Dialer or install a gapps package that includes the Google Dialer? You need to go to settings> apps> tap on the settings icon in the corner and choose default apps. Set your default phone app to be Dialer.

Sent from my TARDIS
[Galaxy S 4 i9505 Original Android Development] cob11341:
Do you mean set the default dialer that came with the Build itself or the one that came with the GApps?
[Galaxy S 4 i9505 Original Android Development] mattgyver:
That's what I'm asking you - are you using Google Dialer? If you're using the stock AOSP Dialer, you shouldn't have to worry about anything. If, however, the Google Dialer is part of the gapps you flashed, you MUST go in and set the default phone app to Dialer. I know if I clean flash my ROM (JDCTEAM's OptCM13), that's one of the first things that need done.

Sent from my TARDIS
[Galaxy S 4 i9505 Original Android Development] cenonmin:
Anyone care to comment or confirm this?

Some of them install but then I cannot set them as the wallpaper. Seems to me something wrong with this AOSP Rom?
[Galaxy S 4 i9505 Original Android Development] Gerxp:
Using the July version. Some apps having issues with ext. sdcard :

-Tasker can not make a backup to it.

-Locus can not find its folder on extsdcard.

-Camera MX can not write to it.

-Habit browser can not save downloads to it.

Why can't we get this issue fixed?

---------- Post added at 12:40 AM ---------- Previous post was at 12:36 AM ----------

I can not install Yowindow live wallpaper on this july version
[Galaxy S 4 i9505 Original Android Development] cenonmin:
Thank you, good to know not just me.
[Galaxy S 4 i9505 Original Android Development] mickdroid94:
Feedback on last build : simply PERFECT.

Smooth and battery friendly (power save on stweaks). No bug and lag, stable in all.

Thanks JDC, best ROM ever!
[Galaxy S 4 i9505 Original Android Development] dark'em:
Does ir blaster work?
[Galaxy S 4 i9505 Original Android Development] Gerxp:
If I may ask... Which Gapps do you have installed?
[Galaxy S 4 i9505 Original Android Development] fridrik:
They add LiveWallpapers and LiveWallpaperPicker in the new build.

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
What are the current bugs and future updates/fixes?

I know that usb connection issue presist and can't connect to camera happens sometimes (while I was on holiday and took pictures, opening camera apps rapidly from lockscreen and appdrawer made this issue come up)
[Galaxy S 4 i9505 Original Android Development] DonConto:
Great. Installed July ROM together with Juli 9th Release of Gapps and everything works fine. BT is on 24h a day because of my smartwatch and there was not a single bluetooth has stopped error. Very, very nice. Didn't think that this would be possible with MM on the S4. Now I don't need a new mobile. ****, what now? :)
[Galaxy S 4 i9505 Original Android Development] cenonmin:
Open Gapps nano
[Galaxy S 4 i9505 Original Android Development] gjc:
MHL (HDMI Output)

Looking back through the posts, I found the above photo showing MHL HDMI video output working on this ROM.

I purchased one of these from eBay, but cannot seem to get it to work.

Is there any setting I need to change or some method I need to use ?

(seen suggestions that you have to power the phone off/on with cable in to get it to be recognised, but that didn't help)
[Galaxy S 4 i9505 Original Android Development] cenonmin:
Shame about the live wallpaper bug. Will come back when fixed I suppose.
[Galaxy S 4 i9505 Original Android Development] mmatic10:
Do you have any other phone you can test that cable on? Maybe the cable is faulted
[Galaxy S 4 i9505 Original Android Development] thaidroid:
The USB II goes into the USB on the TV to power the phone and HDMI goes.....

It works fine for me I think I used it on both AOSP and CM I was watching world Cup Ishockey on the bedroom TV :p

No Special settings as long as you select the right HDMI port on the TV:D

Mind you It looks like a real cheapoo cable....................
[Galaxy S 4 i9505 Original Android Development] centur:
No, just connect HDTV adapter with phone and use: GENUINE Samsung HDTV HDMI MHL Adapter for Galaxy S4
[Galaxy S 4 i9505 Original Android Development] 3mel:
I have two leads, one European and one American. they both worked OK on kitkat but since moving up only the American carried on working. either way you want to spending 6 to 8 times the money that you did there.

I'd say allcast premium and a chromecast dongle is much more reliable overall. MHL adaptors sometimes take a bit of widdling about before the connection works, only for it stop again 4 seconds later.
[Galaxy S 4 i9505 Original Android Development] cob11341:
So after trying what you said I still get the same issue. I have tried a test with two relatives and still has this problem. I guess the issue is not the app but something else is wrong.
[Galaxy S 4 i9505 Original Android Development] sjamie:
Do calls work properly if you uninstall Google Dialer and just use the stock dialer?
[Galaxy S 4 i9505 Original Android Development] cob11341:
I've uninstalled the Google one and used safe mode to see if there are any third party apps interfering but still has the issue. I've even reinstalled this 4 times but get the issue. I've never had this issue on previous builds.

Edit: I'm using GT-I9505G if that matters at all in this situation.
[Galaxy S 4 i9505 Original Android Development] sjamie:
If you have wiped data, system, cache and dalvik before installing this build and you still have the problem, it is time for you to Odin back to stock firmware, root device and reflash this ROM.
[Galaxy S 4 i9505 Original Android Development] thaidroid:
New google phone app out, 4.0.1

It works I've tested it on Optimized CM13.

You can now remove individual contacts from Frequents

Paste into System/priv-app/dialer.(delete the old one)set permissions RW R R

Reboot

Go to Setting apps phone

In app permissions enable all(I pasted over 3.08 and all the app permissions remained enabled after reboot.)
[Galaxy S 4 i9505 Original Android Development] xsycox:
They are here, too: http://www.apkmirror.com/apk/google-inc/google-phone/
[Galaxy S 4 i9505 Original Android Development] vhek:
This rom is great! BUT i have a problem. I cant get my contacts from my google account! Could someone help me?
[Galaxy S 4 i9505 Original Android Development] thaidroid:
Did you install Gapps?
[Galaxy S 4 i9505 Original Android Development] Ultraschorsch:
I had this problem as well on my GFs cell phone. I actually had to enable the contacts sync in Settings -> Accounts -> Google.
[Galaxy S 4 i9505 Original Android Development] vhek:
yes Nano
[Galaxy S 4 i9505 Original Android Development] iPAQ 6515a User:
An OTG problem,. I have been trying to connect an external USB stick to the phone but it is not recognized.

I tried 3 different cables that work perfectly on another phone, but here nothing. Tried different apps to check for problems and all of them state it is either the cable or OTG option is unavailable. The cables do work, so....

Any clues?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
New update is coming... Great news on theming!!

Hi guys,

new update is coming... be carefully... Layer Manager and "old" overlay theming is gone!!

We are releasing a build with SUBSTRATUM THEME ENGINE... google or search around for more details...

I'll leave to [MENTION=5576897]-+BB+-[/MENTION] some words to give you the the news on this new engine for theme roms... it is in beta status, but it's still working very good!!

But from my side, I'm sure you will enjoy it!!

Stay tuned.

PS: no more need to apply overlays after a dirty flash...
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Looks cool, but since it is new, I have not looked into it, it probably won't have many themes to chose from. Will rro layers still be supported, so install the app and install theme or is the only choice the substratum engine?
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
Hi guys, as you can see here http://www.xda-developers.com/layers-manager-is-being-deprecated-in-favor-of-substratum/ Layers Manager has been deprecated in favour of substratum, the new overlay manager app developed by Syko Pompos. I decided to give it at try, and the result is simply fantastic... Substratum team did a great work, and after some days of internal testing i decided to merge all the needed changes in our stable branches and release a public build! :) Please remember that substratum app is still in beta stage, so minor bugs are expected, but works really really fine..! :D

IMPORTANT: this version include huge ramdisk changes and rework, so we are still testing it, actually no one had a single issue, so i think it's 99% safe, and you can compare speed and smoothness with old build...! :)

Changelog

20160726 - Stable 5

MD5 - 76027d5d43225b3adea27741167893ae

Kernel

General code updates

ASoC: msm: small fixes

Ramdisk cleanout/optimisations

ROM

Audio: enable again fluence mode

Updated translations

RRO: move to Substratum

Updated translations

LatinIME: fixed gesture input without gApps installed

init: some small cleaning

Add back Messenger app, fully themeable with Substratum

Substratum: build masquerade

Contacts/ContactsCommon: expose more colors for themers

Settings/Dialer: more changes needed for themes

Settings: Add dashboard tile for Substratum (enable "remove icon" option into Substratum)

More general fixes for Substratum/Themes

Settings - Apps: show/hide Substratum overlays

OMS: disable Zygote preloaded drawables

Adreno blobs: update to version flo-mob30p

Proprietary blobs: remove unused DivX dependencies

Proprietary blobs: remove unused rmt_storage blob

Proprietary blobs: update Widevine from flo (razor-MMB30P)

jflte: do not use legacy mmap

flte: webview: move to beta version v52.0.2743.62

jflte: refactor system properties

jflte: clean out camera vendor hacks

Browser: completely reworked from cm, tons of fixes/enhancements

bt: fixed stuttering audio for Broadcom bt chipsets

GCC: move to generic 4.9 Linaro TC for ROM compiling (stock kernel now is compiled with arm-eabi-4.9 TC)

LiveWallpapers: add LiveWallpapers LiveWallpapersPicker to build

jflte: clean out init

native: general fixes

jf: thermal engine updates

Download link: Download AOSP-JF-6.0 - AOSP-6.0-20160726-jflte.zip

Enjoy :)