yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] Corduroysack:
the first time i flashed this rom i had root then i tried another rom but came back to this and Su forgot my settings every time i rebooted. ended up flashing Su 2.70 and its been ok since. Also my TWRP backups havent taken long to make since then :)
[Galaxy S 4 i9505 Original Android Development] thaidroid:
Does SU app show in the app drawer?

Also you still have to enable it in settings I think.
[Galaxy S 4 i9505 Original Android Development] christoophat:
Have you enabled Developer Setting and enabled root access there?
[Galaxy S 4 i9505 Original Android Development] wpyh:
Bluetooth is a known problem since the days of Optimized CM 12.1 . Sadly, there seems to be no solution yet.

There is a workaround for Optimized CM 12.1, this might help: http://xdaforums.com/showpost.php?p=63217635&postcount=6373
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
My understanding is that this is not a "side effect", but exactly the desired effect of "doze."

An app can declare its messages important enough so they will be delivered even in doze mode, but the developer must have very strong reasons to do so, otherwise Google will block these messages.

--

Sent from my mobile, please excuse my brevity.
[Galaxy S 4 i9505 Original Android Development] kraoc:
I was on first JDC CM13 for s4 before trying to update SU.

I was able to get Su ok with these steps:

- reboot to recovery

- flash rom

- flash gapps

- flash su 2.71

- flash others twrp mods

After a reboot a couple of minutes of "optimizing apps" I got everythings ok...

So I don't understand why just flashing su (and wipe cache/dalvik) didn't work but I finaly got all things working :)

Thanks guys !
[Galaxy S 4 i9505 Original Android Development] sjamie:
Yes, I've learned to use the same process when flashing either JDC Marshmallow ROM (Optimized CM13 or AOSP). Works every time! :good:
[Galaxy S 4 i9505 Original Android Development] r0ckarong:
But what exactly is more important for a messenger app than its messages? And why do some groups/contacts trigger the notification and some don't? I've never had this behavior happen before. My dad is on a stock S4 mini and never updates anything and he has this soo occasionally. Maybe it's a WhatsApp network problem. Who knows.
[Galaxy S 4 i9505 Original Android Development] Jochen K.:
S4 can only send - so, unfortunately it is not possible to train it by pointing a "real" remote control at it.
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Installed Viper4Android and set read-ahead speed on 2048. The audio is still stuttering even if its the only task running..anz ideas? Maybe [MENTION=4695623]FPSUsername[/MENTION]

Could you send me your V4A settings please?
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
You need to see it in the context of the whole OS and all apps that can potentially run. Maybe for a disaster warning app it is appropriate to be put on the whitelist? Or for incoming SMS?

maybe WhatsApp simply doesn't properly handle doze mode yet and is not prepared to use the maintenance window?

Here some more details about Doze:

http://developer.android.com/training/monitoring-device-state/doze-standby.html#understand_doze

--

Sent from my mobile, please excuse my brevity.
[Galaxy S 4 i9505 Original Android Development] Jimbus369:
Try with Darkness governor and Intelliplug Hotplug.

I also use this Viper version (ViPERAtmos 4.8 Sony Beats) and I have no issues
[Galaxy S 4 i9505 Original Android Development] sagittarius091266:
Great tip. Now it works perfect. No stutter and sound i never heard out of my i9505. thank's a lot.
[Galaxy S 4 i9505 Original Android Development] Sma5hley:
Your link doesn't appear to point towards a Bluetooth fix..

In CM12.1 I dirty flashed the ROM again when this issue came up and the problem was solved. Doing that this time leads to all user apps being wiped and GAPPS fc's.

On that topic do we have a gapps recover script on opt CM13, to allow for dirty flashes?

Loving it otherwise!

---------- Post added at 09:00 ---------- Previous post was at 08:54 ----------

Edit: Sorry didn't read back far enough. Do you mind posting the appropriate Bluetooth lib here? Otherwise I'll try extract it this arvo and give it try.

Do you need to set any particular permissions to the lib when it is copied?
[Galaxy S 4 i9505 Original Android Development] sjamie:
Nice! How does Darkness and Intelliplug differ from Alucard?
[Galaxy S 4 i9505 Original Android Development] kekate:
Alucard hotplug=very battery friendly

Intelliplug = balanced between perfomance and battery

Alucard = ondemand but tweaked to battery friendly without any perfomance loss

Darkness = no idea but its more aggressive than alucard but when underclocked to 1.67 it runs good and cold with heavy undervolt

Default profile

Darkness govsrnor

Cpu @ 1.67

Alucard hotplug(HOTPLUG_SAMPLING_RATE reduced to 40ms , maxcoreslimit_sleep : 1)

Dno how many steps I undervolted the cpu because I can't see the default voltage, but the last 3 frequenqies have to be at 873500uV

Gpu first two -1 voltage and last one -2

Tcp westwood

Velis Auto Brightness with AMOLED Dim and custom profile I made

Junk freezed with tb

Google play services drain workaround enabled

+ big role plays with LSpeed

Hitting casually 4h40min SOT with gaming, calls, social media, internet + phone is freezing cold. Dont use Viper4A if you want battery. Its a battery hog even if you select power saving drivers. Its constantly processing the sound u listen to so ur freqs are high all the time and cpu load in the sky
[Galaxy S 4 i9505 Original Android Development] Sma5hley:
[MENTION=5968293]side[/MENTION] [MENTION=3695291]wpyh[/MENTION]

Tried replacing the libbt-vendor.so provided in the CM12.1 thread linked, with no success.

Have you seen any other fixes?

Have also tried "BLE Crash Resolver" from the play store (https://play.google.com/store/apps/details?id=com.radiusnetworks.bluetoothcrashresolver&hl=en).

No luck here either.

Has there been significant changes between CM12.1 and CM13 in how bluetooth is managed? Maybe I will try the libbt-vendor.so from the opt CM12.1 rom, which has been working for me...

Thanks for any help you can provide!
[Galaxy S 4 i9505 Original Android Development] wpyh:
Well, actually there was some discussion on the OCM12.1 thread, but in the end my binary blob was not accepted as a fix. There was another fix, in the name of JDCTeam-BT.zip, but after flashing that zip file I still get one or two Bluetooth crashes per week. With my binary blob however, there was not a single Bluetooth crash for months. I think the JDCTeam-BT.zip file was compiled from sources (not sure), while my binary blob was extracted from the Imperium ROM.

My (admittedly simple) analysis on that thread was, the Bluetooth crash is caused by some NULL pointer value. This is evident in the source code that I saw in github. However, I'm not a developer, so I couldn't build it. And even then, I only managed to suggest a kludge (something like if NULL then skip). It's been some time, let's read that thread again and refresh our memories :p

Oh and could you clarify "with no success"? Do the crashes still happen? Did you replace the libbt-vendor.so file and set the permissions correctly?

I haven't used OCM13 btw, so............................... yeah, maybe I will need to flash this rom some time soon :p
[Galaxy S 4 i9505 Original Android Development] andrecaron:
How can I download just the alucard kernel?
[Galaxy S 4 i9505 Original Android Development] Sma5hley:
After replacing the libbt-vendor.so with the one you had extracted Bluetooth failures go into overdrive (error messages every second).

I set the permissions -rw-r--r-- as it was prior to replacement and rebooted.

I'm not on good WiFi atm so will try download the latest version of Imperium tomorrow (It's like 1.3gb). Might be a newer version of the lib that will work.

It seems like there is some accumulation of errors that eventually lead to the Bluetooth Share failing, since it takes around an hour from boot to begin misbehaving..
[Galaxy S 4 i9505 Original Android Development] dasbooter:
Sorry to bother anybody but I seem to have that problem where if you make a call the screen goes blank and cannot be turned back on. Most likely proximity sensor related I guess. It makes the ROM unusable bc I need the keypad to get my messages. Anybody have a similar problem and were you able to fix. I am coming from the last JDCTeam optimized cyanogemnod 12 build after a complete wipe of everything. Thanks a bunch. Only issue I have had so far.
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Will try this. Set all four governors to darkness?

---------- Post added at 08:08 AM ---------- Previous post was at 07:52 AM ----------

Might be related to sth different but try proximity fix from playstore. You need to grant root.

Had the same issue with the ocm12.1 and this fixed it.
[Galaxy S 4 i9505 Original Android Development] Jimbus369:
Yes, exactly!
[Galaxy S 4 i9505 Original Android Development] side:
LA LA LA LA [emoji445] [emoji445]
[Galaxy S 4 i9505 Original Android Development] demon2112:
can someone alloborate what i should tick and untick. if i untick mpdesisision shiuld i tick hotplug or leave both unticked in kernel auditor?
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
V4A settings won't do much with stuttering, I use almost every option. In Stweaks, I use the default profile and undervolted it. That's it.

The only time I get stutters is when it is in screen off mode and that doesn't happen a lot.

I have to update my stweaks profile on my mega so others can use it too.

I've been tweaking it for better battery life, but almost everything I do result in stuttering. I can not do much about it, just have to live with it or buy a better phone

---------- Post added at 10:44 ---------- Previous post was at 10:43 ----------

Can you share the .profile_backup file?

I think [MENTION=4899086]alucard_24[/MENTION] or [MENTION=5464206]AntaresOne[/MENTION] mentioned before that the "Google play services drain workaround" isn't needed anymore.
[Galaxy S 4 i9505 Original Android Development] laupuy:
Hi,

upload in progress?

@+
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
What do you set IO scheduler to?

Mine is on ZEN. Thanks for the help!
[Galaxy S 4 i9505 Original Android Development] Ledanur:
Regarding CPU/GPU governors, hotplug drivers, and IO schedulers: READ and educate yourselves!

http://androidmodguide.blogspot.co.il/p/blog-page.html?m=1

This has every governor, drive, and scheduler, out there, with performance, battery, and smoothness suggestions.

I'd like to iterate something that has been discussed numerous times: every phone is different! Even those of the same make and model. EXPERIMENT, and you'll find the your phone's sweet spot.
[Galaxy S 4 i9505 Original Android Development] Sma5hley:
I tried this one just recently. No good at the moment. Probably worse than before.

Give it a try yourself, perhaps your particular build will provide different answers.
[Galaxy S 4 i9505 Original Android Development] Jimbus369:
ROW. I think it is the best for my usage
[Galaxy S 4 i9505 Original Android Development] Sma5hley:
What is this autoresetter you speak of?

Definitely only occurs when using BLE devices like health monitors.

Streaming media and voice works perfectly, as long as fitbit isn't paired.
[Galaxy S 4 i9505 Original Android Development] Sma5hley:
Don't give up hope! You are doing a great job!

Only a few of us still experiencing issues. You and the rest of the team have da skillz to work it out.

OMC13 is working perfect except for me, except for Bluetooth share issues...

I wonder if some of us have Frankenstein devices.. Anyway to check exactly what hardware is installed or provide better logs to help?

---------- Post added at 22:31 ---------- Previous post was at 22:28 ----------

The first one you linked doesn't work for me.

The second one stops Bluetooth service after it starts crashing, but will not allow a restart..
[Galaxy S 4 i9505 Original Android Development] Lakajadiwa:
Any plans to implement layers or CMTE?
[Galaxy S 4 i9505 Original Android Development] kekate:
Yes agree and also it all depends on how do you use the phone because everyone uses the phone differently. If you use it for calls only and some internet then youd want to go battery life heavy which reduces perfomance significantly but the battery will be much better. Can't use another persons profile, everyone has everything set up differently according to their use
[Galaxy S 4 i9505 Original Android Development] vkopzon:
Freezing Google account manager will not stop account sync?

Freezing Google backup transport will not stop backups of Google Apps (photos)?
[Galaxy S 4 i9505 Original Android Development] Creeper36:
I wasn't sure but wanted to put that so if people had problems then they would know possibly why.. You tell me why those are there.. I'm not sure 100%.
[Galaxy S 4 i9505 Original Android Development] laupuy:
[MENTION=6529480]vkopzon[/MENTION]

please use hide for long quote

thanks
[Galaxy S 4 i9505 Original Android Development] Plex82:
Is it possible to add the do not disturb options when you press the volume buttons? I really liked that in the cm ROM. For the rest this ROM is awesome!
[Galaxy S 4 i9505 Original Android Development] wpyh:
The file would be /system/vendor/lib/libbt-vendor.so

The permissions I gave are -rw-r--r-- and the owner is 0:0

Maybe it's because my binary was meant for Lollipop (Imperium is based on Lollipop) and this is a Marshmallow ROM?
[Galaxy S 4 i9505 Original Android Development] markiarom:
If you put tour phone on vibration with volume down and then keep button pressed, you'll go on "only alarm " mode
[Galaxy S 4 i9505 Original Android Development] RowanDDR:
How is OTG supposed to work? I've plugged in a microsd card via an OTG cable... it doesnt show up in File Manager, but a prompt appears that says "USB drive for transferring photo and media". I can click on that to view the drive. However, there doesnt seem to be an intuitive way to copy files to or from it. Any help much appreciated.
[Galaxy S 4 i9505 Original Android Development] Pho3nX:
I advise that you use Aroma GAPPS next time ;)

You can remove all bloatware\add all Google Apps for replace CM without freezz any apps in Titanium ^^

---------- Post added at 11:18 PM ---------- Previous post was at 11:12 PM ----------

This little message for say thank to you and all the team for the best S4 ROM CM13... And Logon & Alucard Kernel are so great :D

Battery life and performance are awesome... And any bugs WiFi deep sleep or GAPPS crash anymore ! :fingers-crossed::highfive:

I wait the next release with pleasure ;)
[Galaxy S 4 i9505 Original Android Development] Creeper36:
I used Nano which is a very basic install + google search + off-line speech. Your Aroma idea really wouldn't benefit me much unless I wanted to ADD certain items. The idea of my post was to show what else could be frozen below the very basic install to improve battery life and reduce heat.

In case anyone wants to know which GApps packages have which Apps here is an Image:

*Note: Full and Stock are Not included.. they are too big for our phones and will not install.

Aroma is a self-executing GApps installer which is ran inside TWRP Recovery.. You select which individual features you want installed. Example: I don't like Google Now Launcher so I de-select it and it skips over it in the GApps Installation. (GApps PICO is the very basic version and you must install it in order to get Play Store. So you really cannot go lower than PICO except to freeze system apps that the ROM creator included in his install.) GApps Aroma uncompresses the necessary files and installs them into the system. You only have to install what you want.. It gives you every App thats appropriate for a system partition. It was 4 pages of Apps and System features. After you install PICO or any other package you can still ADD any of these Apps via the Play Store manually, Aroma just automates it for you and places them in the system partition.
[Galaxy S 4 i9505 Original Android Development] andr01d3:
Is call recording option enabled in this ROM? Or it's possible to enable it?
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
It is already enabled by default.

When you are connected to the participant press the 3 dots on the right and choose record call :good:
[Galaxy S 4 i9505 Original Android Development] pleclair:
Overclocking kernel?

Any chances to see either a separate kernel with extra underclocking and overclocking steps, or more options added to the default kernel?
[Galaxy S 4 i9505 Original Android Development] gkai:
Why do you think full and stock are too big? I uses stock, used it on 12.1 and it fits...would have been very surprised if it did not given the amount of mem reserved for the system partition...

Envoyé de mon GT-I9505 en utilisant Tapatalk
[Galaxy S 4 i9505 Original Android Development] Creeper36:
I havent tried in a while.. I will try again and check. ;)
[Galaxy S 4 i9505 Original Android Development] andrecaron:
I tried to install stock and gave error..saying there's no space on system.
[Galaxy S 4 i9505 Original Android Development] gkai:
That's more than strange: on my s4, system partition size is 2.7GB, of which about 1.4GB is used...as I said, I could have installed gapps bigger than stock...

I think system is still the size it has on TW original rom...which contains full gapps and more ...

Envoyé de mon GT-I9505 en utilisant Tapatalk
[Galaxy S 4 i9505 Original Android Development] Creeper36:
I was wrong before.. I have fully installed BOTH the Full and Stock GApps Packages. They both do install now.

I have a feeling since Optimized CM13 doesn't include alot of bloatware that you can install the Stock Package.. but thats a lot of Apps to fill up your nice Optimized CM system with. Stick with one of the smaller packages and just install what you want manually via the Play Store.. or use GApps AROMA!

Here's the Full, Unedited Image:
[Galaxy S 4 i9505 Original Android Development] foxa88:
I have flashed the full open gapps and its work great for me.

9505
[Galaxy S 4 i9505 Original Android Development] andrecaron:
There's something wrong with then...

I have only 1.07gb. See attached.
[Galaxy S 4 i9505 Original Android Development] gkai:
On the positive size, you seem to have larger data partition than i do, I have about 8GB of data...

Maybe all S4 do not have the same partitioning....which would be one reason why rom behavior differ among different users ...

Could be useful to add the output of the df command line when reporting a problem...

Envoyé de mon GT-I9505 en utilisant Tapatalk
[Galaxy S 4 i9505 Original Android Development] Sma5hley:
Highly likely. Good ol' Samsung Devices and their use of any component that will fit. Nothing quite like consistency...
[Galaxy S 4 i9505 Original Android Development] Rhoban:
You already can underclock this kernel.

And overclocking won't offer much in terms of performance gains.

My phone was able to run stable at 2.1 GHz (on a different kernel) but the gains were negligible.
[Galaxy S 4 i9505 Original Android Development] gadget!:
Use a root browser (I use Root Explorer), navigate to:

/mnt/media_rw/

You should see your USB drive there.

I'm running JDC AOSP but it should work the same way.

sent from a Galaxy far far away.
[Galaxy S 4 i9505 Original Android Development] Kippy51:
You mean the stock filemanager? If you go into the settings of filemanager and change the access mode to 'rootaccess' and you go to 'main' (symbol /) and 'storage', you'll see your usb-storage. If you use something like ES File Explorer your OTG storage will be visible on the main screen.
[Galaxy S 4 i9505 Original Android Development] laupuy:
Ok, I did not understand.

For me, the rom is so good that I made a translation for french users (everyone doesn't speak English)

thank you for the great work, continue like that!

:highfive:

@ +

http://www.phonandroid.com/forum/optimized-cm-13-by-jdcteam-t146063.html
[Galaxy S 4 i9505 Original Android Development] pleclair:
I guess you are right :) I'm new with Android devices, my father gave me his "old" s4, and I've been experimenting with it since, and even tho I first tried LiquidSmooth with ktoonsez kernel, I did not overclock, as I was aiming for a better battery life at first.

I tried various roms, and ended up trying JDCT Optimized CM12.1, then 13 to see what battery life I could get, and still not sure which is best. Seems that both CM12.1 and 13 is better than KitKat at battery life.

Then I thought about creating a custom profile for when the phone is hooked on power, and wanted to see what sort of results I could get by overclocking in such scenario. So I flashed Liquidsmooth again with kt kernel, and the gains are nothing to write home about. I could also get a stable 2.1... I guess that I would be seeing a difference with mame emulation, and emulators in general, but since I would rather use a OTG with a controller hooked up... it sort of make this useless, as that kind of profile would likely drain the battery too fast anyway (hence why I wanted to make it for when hooked on power...)

Oh well...

As for underclocking, I know it already supports it, but wouldn't it worth it to add steps down to 81mhz?
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Power button issue

Sometimes when I tip the power button to turn off the screen the reboot menue shows up and no matter what I do (do nothing or navigate to somewhere else triggering actions etc.)

The phone turns off after 5 seconds. The funny part is that the phone isn't abled to boot up after that for a while and turns off after Samsung logo shows up. Then after a while it reboots normally.

This happens just a few times but it happens.

Some of you will say it is because I've got xposed installed (therefore no logs) but I know for sure it isn't related because this issue occurred since first time I used jdc ocm12.1 without using xposed.

My question is: Are some of you experiencing the same issue and is it software related or could it be a hardware problem (jammed power button or sth?)
[Galaxy S 4 i9505 Original Android Development] Feedmeeeee:
can i add UPSM to this rom ?
[Galaxy S 4 i9505 Original Android Development] Rhoban:
With KT kernel I had the frequencies set at 81 MHz with no real battery improvements.

Do note that KT kernel is also available for CM12 if you want to see if 81 MHz makes any difference to 378 MHz.

It's most probably the power button.

It appears to sometimes get stuck when you press it.
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Yeah...Will try to clean it with alcohol.
[Galaxy S 4 i9505 Original Android Development] MLDamazigh:
Can you please tell me if it works fine after cleanning it with alcohol because i have the same problem ?

Yettwacgeɛ seg GT-I9505 swebrid n Tapatalk
[Galaxy S 4 i9505 Original Android Development] sjamie:
Had the same power button with my S3. I tried to clean and tighten it but nothing helped so I just upgraded to the S4. I still have my S3 so I may attempt to replace the power button at some point if I get bored (highly unlikely).

---------- Post added at 08:31 AM ---------- Previous post was at 08:24 AM ----------

CMTE has been implemented on this ROM.
[Galaxy S 4 i9505 Original Android Development] gadget!:
Here is an XDA thread with several different things you can try.

http://xdaforums.com/showthread.php?t=1931310

Good luck.
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
Will do so!

You can use a workaround or two as long as you're waiting.

1. Try using nova launcher where you can set a swiping action on an app at your homescreen to turn of your screen. (That's what I do atm.)

2. Download "button savior" (preferably the root version) from playstore and you can use an on-screen button instead of the power button.
[Galaxy S 4 i9505 Original Android Development] gomangoman:
I had a similar problem months ago. I found it was a software problem. I can't remember what app caused it, but it was fixed when I removed the troublesome app. You might look at apps you've installed recently.