yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
I've already merged the patch from cm av repo, should be fixed in the next upcoming release like in our AOSP and in stock cm.

Please wait and try the new release, then let us know if happens again..!

[MENTION=535343]all[/MENTION]: Ok guys, as all of you can see in our Github, we made huge changes in these days, actually we are testing a release with all that changes inside and all commits pushed by Alucard in his kernel. The result is awesome, but please be patient.. It' s summer (and real life comes first) , and actually only [MENTION=3545504]smeroni68[/MENTION] is testing it, I'm working on AOSP and at the moment I do not have time for testing cm as daily. That's why the new build has not yet been released, because i don't want to release something that has not been tested well and could potentially cause trouble to some of you.. All the changes works fine on aosp, but we need more time to see if everything is fine on cm too... I hope you understand :)
[Galaxy S 4 i9505 Original Android Development] walttheboss:
Go to dev settings and enable apps and adb. Then open stweaks app. At top right click on wrenches. Set profile to "battery" or extreme battery.

I can go two days with little data or GPS.
[Galaxy S 4 i9505 Original Android Development] FernBch:
It says all six for me.
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Qualcomm DIAG kernel driver (DIAG_CHAR) for SnoopSnitch

Hi guys.

I'm running OptimizedCM-12.1-20150725 on my old S4 9505. It's running exceptionally well. Thanks very much for your excellent work!

I have one question, though. I would like to run SnoopSnitch on it (something I recommend very much to everyone, since it can give you valuable hints if someone is spying on or locating you!). According to the project website this device should be compatible, still it doesn't work.

Upon starting it up it says: Your device is not compatible. REASON: Device /dev/diag does not exist, no Qualcomm chipset or unsuitable ROM.

Indeed that device node does not exist, and dia does not exist in /proc/devices.

I couldn't (easily) check the kernel config as /proc/config.gz doesn't exist.

Could you please add the device and device node?

Could you please also add the /proc/config.gz facility so that people can easily check what's inside?

Thanks very much for considering the above.

Best,

Ralf
[Galaxy S 4 i9505 Original Android Development] ffchecken:
Incompatible Devices:

The following devices have been found to be incompatible and can*not*be used with SnoopSnitch:

Unsupported.*Devices with custom ROM such as CyanogenMod which lacks the Qualcomm DIAG kernel driver (DIAG_CHAR)
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Why do you recommend not to use F2FS for the uSD card?

---------- Post added at 08:47 ---------- Previous post was at 08:42 ----------

Thanks, but methinks you did not properly read that page (device list) and my post.

The device itself is supported, and CM per se is not unsupported either. (I successfully run SnoopSnitch under CM on a Sony Xperia SP.)

The point is: the Qualcomm DIAG kernel driver is not included in our CM build, and that was exactly my point.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
My experience:

Can only use sdcard indirectly in windows (through phone usb), not a problem for me though.

Data loss, I haven't found any tool that can recover data from corrupted f2fs partitions on windows, however, testdisk should work with ext4 and exfat. I think I recovered a few files with testdisk beta (7.1), but most were corrupted.

I use ext4 for sd as reads are more important (media)
[Galaxy S 4 i9505 Original Android Development] smeroni68:
F2FS on external SD give good performance... but in case you need to read it on a PC, probably you will be not able to do (pc need to support the file system).

About the support you asked on kernel, is Alucard that need to evaluate... but is the first time I see a request for it...

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] yajur1995:
Sorry for asking this noob question, but this rom would not work with i9500 right?

It looks sick btw, gj dev
[Galaxy S 4 i9505 Original Android Development] smeroni68:
There is a complete list in OP... did you see there 9500?

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] Shark5060:
Is there an option to totally disable the notification drawer/quicksettings panel when in lockscreen?
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
This is no doubt correct. You cannot insert the uSD in a card reader and read that in Windoze if the card is formatted with F2FS.

If you want that, you should indeed use exFAT or FAT32, depending on the size of the card.

But I think for writing speeds and even the lifetime of the card F2FS might be beneficial?
[Galaxy S 4 i9505 Original Android Development] eisenbergw:
OK, I found it. The Contacts database/data is not in com.android.contacts, but com.android.providers.contacts (called "Contacts Storage" in the Apps list). Once I deleted everything in there per your instructions and allowed Google to resync the contacts after the reboot, now it works as expected. We just didn't get the data from the right directory.

Thanks for pointing me in the right direction.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Yes... you are right... i told you wrong...

Now: did you flash CM rom after AOSP without wiping data?

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] eisenbergw:
I am on 0701 and am flashing back to 0725 without wiping the data.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
I explained you how to clean dialer and contact databases... because my idea was that you had AOSP installed before CM... and finally you confirmed that.

Aosp dialer is different from CM... if you do not wipe /data this is the result.

Next time instead of just posting the issue, provide also the conditions you had before... if in OP is written to wipe if you come from another rom... do it!

AOSP IS NOT CM!

Thanks

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] eisenbergw:
First, I believe I did say that I flashed stock to get from 4.4.2 to 5.0.1. Doesn't that say I started with stock firmware?

Second, I followed the instructions of the OP explicitly to the best of my ability, and that included wiping the entire device *as instructed* in the OP. I even formatted /cache and /data as f2fs as recommended.

Third, I have been quite clear about what I have done at each step, and that included saying I stepped back from 0725 to 0701 in order to see if the issue was new to the latest build. Now that I am back to 0725, I see that it was the corruption in the com.android.provider.contacts directory.

Fourth, I did not and am not assigning any blame to you for failures or mistakes. I'm not ranting at you for getting it wrong. We're all human.

Fifth, there is no need to YELL (yeah, I know AOSP is not CM) ! or be in a snit when someone is doing their best to be thorough and descriptive in a field that is not their profession. I clicked 'Thanks' on all your posts so that you get some credit for it and try to be appreciative of your time. I read and I try to educate myself in a field that is not mine. If I didn't describe fully or missed a troubleshooting step, then that is my fault to correct, but I do not believe that warrants this. I think a little respect in return is fair, even if I'm not a professional Android developer.

Thanks.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
What you encounter is exactly what happens if you install CM based rom over AOSP data partition... and if you start from a clean phone it's impossible to reach this situation.

I'm sorry if my last post was a bit "rude", but i believe that the instructions i gave are a bit high as level... That's why is written to wipe /data... because nobody here (except you and few more) will follow a low level erase of Android datas to fix an issue...

Thanks

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] iJo09:
Hi guys!

Why can't I play some videos that I was able to play in touchwiz? Like Xvid, Divx or other formats... The only solution I found for this problem is to use MX Player, but it doesn't use any hardware acceleration, neither for audio or video! If I force the video hw acceleration, MX Player goes mad and skips thru parts of the video, then when he reaches the end it causes an "arithmetic overflow" in the video duration
[Galaxy S 4 i9505 Original Android Development] monsoon78:
Hello,

Thanks to the development team for the ROM. It seems to be fairly stable and fast.

I have been running it for two days so far thus I am still fairly new to this thread. I haven't encountered any major issue except the only one which is a pain for many other ROMs I have seen.

The Bluetooth service crashes after some time ... E.g. 12-24h. I am using BT service to connect phone with Garmin Vivosmart fitness tracker so the BT connection is intensively used in a long term manner in order to transfer notifications, activity data, etc.

Once the crash occurrs, it's impossible to start the service (activate BT) until the phone is rebooted. It throws an error like the settings has stopped or something similar.

I also checked the logs using Catlog app and there are many errors about BluetoothAdapter State Change when trying to bring up Bluetooth prior the reboot which is the only solution eventually. I didn't save the log but I'll do it next time.

Any idea whether this can be fixed or avoided ?

Btw. My modem version is xxuhof2.

Thanks

M.
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Qualcomm DIAG kernel driver (DIAG_CHAR) for SnoopSnitch

What does that mean? Is [MENTION=4899086]alucard_24[/MENTION] a user here on XDA-Dev? If you read this, Alucard, can you please look into the "Qualcomm DIAG kernel driver (DIAG_CHAR)" to make SnoopSnitch work?

I'm not surprised that it's the first time you come across this, [MENTION=3545504]smeroni68[/MENTION]. It is a very special use, but I think more people should be concerned about their privacy and comms security (this is probably why a lot of people use CM?!), also when it comes to their mobile network bearer...
[Galaxy S 4 i9505 Original Android Development] smeroni68:
... sorry... but you are using a JDC rom with ALUCARD kernel built in... and you do not know who is him?... quite funny...

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] ybnrmalatall:
It's actually not that funny dude.
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Yes, it may be funny to a long-time participant in this thread, but I only very recently joined here as I got two new phones and now have two S4 to play with... :)

So apologies for not knowing "ALUCARD", but at least you have indirectly confirmed he's a developer... :)
[Galaxy S 4 i9505 Original Android Development] Spetyo:
Hi.

It does not work in the infrared.

What the problem?
[Galaxy S 4 i9505 Original Android Development] grohsfabian:
Hey,

does anyone found a fix for the bluetooth crashes ?

I can't even turn mine on, it crashes when its starting.
[Galaxy S 4 i9505 Original Android Development] FernBch:
Search this thread. There have been a couple of fixes posted many times.
[Galaxy S 4 i9505 Original Android Development] grohsfabian:
Already searched, the search option is very bad on this forum
[Galaxy S 4 i9505 Original Android Development] Spetyo:
Can I help me please.
[Galaxy S 4 i9505 Original Android Development] Lifu':
That's probably because you dirty flash.

A quick fix is to clear data of "Bluetooth Share" from App info.

A more permanent solution is to clean flash last build wiping data too.

If you use Smart IR Remote, disable "Use Alternate Ir Commands" in Settings.

In other apps, try to search for something similar.
[Galaxy S 4 i9505 Original Android Development] grohsfabian:
Sorry to bother you, could you be a little more specific on what does clean flash mean over "dirty flash" ?
[Galaxy S 4 i9505 Original Android Development] smstiv:
Just try search "IR blaster" - on this thread. Use correct app whit correct setting's.

Send from my GT i9505 with AOSP 5.1.1 by JDCTeam (-+BB+-)
[Galaxy S 4 i9505 Original Android Development] Lifu':
Dirty flash is when you only wipe some partitions like cache and dalvik.

Clean flash is when you wipe cache, dalvik, system, data and you lose all the settings and changes.
[Galaxy S 4 i9505 Original Android Development] Spetyo:
But the led is not blinking. It was good before updating
[Galaxy S 4 i9505 Original Android Development] eTaurus:
Excuse me, can someone who REALLY did a clean flash of the latest build confirm that Bluetooth service crashes really don't occur anymore? Someone with heavy use of Bluetooth when possible.

I dirty flashed and really want to be sure that going through the hassle of a clean flash is really worth it. Purging data of Bluetooth share helps but it is not really comfortable...
[Galaxy S 4 i9505 Original Android Development] monsoon78:
Yes, I confirm I have flashed the last build using clean install and the Bluetooth works quite OK with my Garmin with only sporadic crashes, that required reboot.

Yesterday, I tried to modify phone Bluetooth id to some short string instead of original and now I haven't seen any crash since then. Perhaps it's coincidence so I'll report later.

EDIT: I have just experienced another crash tonight :( I have captured the log, but I'm unable to attach it using mobile app.

M.
[Galaxy S 4 i9505 Original Android Development] Lifu':
Clean flash was worth it for me. Before this I had BT FC even at simple task like sending files to another device.

It isn't perfect and there are still some problems. I wanted to pair it to my friend's car DVD who removed the keys before the pairing was done and I wanted to force stop it so I can try again and I got a BT share has stopped. Except from that I never had BT problems.

I already post a feedback of BT test I done without any issues on this build.
[Galaxy S 4 i9505 Original Android Development] ezinex:
That's weird.

I configured it to block a friends calls and messages. The sms nor the calls are received using the *123* pattern (no dots included)
[Galaxy S 4 i9505 Original Android Development] gkai:
I can confirm...Bluetooth is not unstable if you do a clean flash...not super heavy user, only car and Bluetooth loudspeaker, but with a dirty flash it was not working.

You need to flash rom and gapps in the same recovery session, if you boot the rom and then install gapps, you will have problems...at least I did ;)

Envoyé de mon GT-I9505 en utilisant Tapatalk
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
StageFright vulns NOT completely fixed in OptimizedCM-12.1-20150725

Hi guys.

Those who follow the news know already that Google's patches that supposedly fix the StageFright vulnerabilities did not completely fix them all. Zimperium's StageFright checker app has been updated today to account for that, and it now shows that CVE-2015-3864 is not fixed on our build.

Just to let you know, so please be cautious...

Best,

Ralf
[Galaxy S 4 i9505 Original Android Development] pandorra:
yeah, confirmed. also flashed a new baseband, but anyway, bug is fully fixed.
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
"OTA Updates" 2.5.1 can't be updated to 2.5.3

Just noticed that for some reason the preinstalled "OTA Updates" app was not updated to 2.5.3 which is the current version from Google Play, so I tried to "manually" update by clicking "Update" in Google Play. (The old version crashes when clicking "Add-Ons", which is a known issue.)

The app downloaded fine, but when Android tried to install it I got the following error message after a few seconds:

Unknown error code during application installation: "-505"

Trying to fix the above error I even cleared /cache and /data/cache from within TWRP, and then tried to install the update again, but to no avail.

And no, before you ask, I did not make a dirty install, but a clean one. When installing Optimized-CM-12.1-2015-07-25 I even checked in adb that all filesystems were clean (but noticed that TWRP had put a couple of small config/marker(?) files in some filesystems/folders) before actually flashing CM and GApps...

I did some extensive Google search and found many hints, all which seemed not to apply as the usecase was a different one. Still I tried a couple of things, such as clearing Google Play data etc., but to no avail.

Any idea how to fix this?

Thanks,

Ralf
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Wait next version of the rom... the market app is not compatible with jdc version.

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] smeroni68:
If you really can't live without Ota updates... this is the apk for you :

https://www.dropbox.com/s/wwsds0uslf331d3/OTAUpdates.apk?dl=0

It is from internal build:

Enjoy.

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)

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

Obviously yes... we build from sources... so the signature is different...

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] FernBch:
I have a question for anyone who can answer.

When I use the keyboard I no longer see the icon for the microphone. Sometimes I like to "speak" my input. I have looked in the language and input settings but I can't seem to find where to enable it. I did have it in the previous build I used.

Thanks
[Galaxy S 4 i9505 Original Android Development] kishpatel:
Will this rom work on i9500 ????
[Galaxy S 4 i9505 Original Android Development] stephendt0:
No it won't - don't try, you'll brick it. Read the OP next time.
[Galaxy S 4 i9505 Original Android Development] hiha910919:
I cant use Stweak ==
[Galaxy S 4 i9505 Original Android Development] smstiv:
Do you have root permission? If not, go to development options and give it. App and Adb.

Send from my GT i9505 with AOSP 5.1.1 by JDCTeam (-+BB+-)
[Galaxy S 4 i9505 Original Android Development] danielace:
Question

Will this rom work with the GT-I9507 (aus/HK phone) ?

Thanks.
[Galaxy S 4 i9505 Original Android Development] smstiv:
Pease read the first page. OP. The answer of your question is yes. I repeat, read first page.

All Galaxy S4 variants with Qualcomm Snapdragon 600 are supported (unique ZIP file):

GT-I9505

GT-I9505G

GT-I9507

GT-I9508

SCH-I545

SCH-R970

SGH-I337

SGH-M919

SPH-L720
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Molto grazie!

Unfortunately I have issues installing the new build:

W/PackageManager( 602): Package couldn't be installed in /data/app/com.ota.updates-1
W/PackageManager( 602): com.android.server.pm.PackageManagerException: Cannot install platform packages to user storage!

What am I doing wrong?

I tried it with "adb install -r", but also via downloading it from my web server...
[Galaxy S 4 i9505 Original Android Development] smeroni68:
You can mount r/w the path with original apk, substitute it and change the permission... than reboot.

It is in /system/app-priv/OTAUpdates

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Thanks.

Unfortunately I can't remount r/w:

root@jfltexx:/ # mount|grep system
/dev/block/platform/msm_sdcc.1/by-name/system on /system type ext4 (ro,seclabel,noatime,nodiratime,errors=panic,data=ordered)
root@jfltexx:/ # mount -o remount,rw /system
mount: mounting /dev/block/platform/msm_sdcc.1/by-name/system on /system failed: Invalid argument
255|root@jfltexx:/ # grep system /fstab.qcom
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1,errors=panic wait
/dev/block/platform/msm_sdcc.1/by-name/system /system f2fs ro,nosuid,nodev,noatime,nodiratime,background_gc=on,user_xattr,acl wait

Any idea why this is? I've never seen this before, did it a lot on other devices...
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Root explorer?

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] MasterBrush:
I am really sorry for reposting this, but I feel really helpless and do not know anything what to do

anyone?

I consider installing Samsung Stock software to get rid of this annoying issue
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Amazing... I used stock CM "File Manager", and indeed it was able to replace the file.

Do you know what kind of magic it uses? Why can it remount /system read/write while I can't manually do so?

After replacing the app was gone... I almost gave up when I finally checked owner/group and permissions, and this was completey f*ck*d up...

Just for the record, owner/group should be root:root, and permissions should be 644.

-rw-r--r-- 1 root root 1725191 Aug 15 13:50 OTAUpdates.apk

It's working now, thanks a lot for your help and patience.

Do you know why on this ROM it seems not to be possible to manually remount /system read/write?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
You can do as you prefer... we are in vacation.

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] Nidjo16:
Stock "Camera" app?

How can I return the default stock camera app, that I accidentally replaced with Google Camera during installation of gapps with aroma installer? Thank you.
[Galaxy S 4 i9505 Original Android Development] smstiv:
Hello, try to reflash the ROM.

Send from my GT i9505 with AOSP 5.1.1 by JDCTeam (-+BB+-)
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
And again I'm talking to myself... ;)

This is pretty embarassing... I forgot to become root in "adb shell"... *uhm*

Reason is I have another device where I will be root in "adb shell" automatically, and I worked a lot with it recently... So I became so used to it that I forgot to explicitly request "root" on the S4... :(
[Galaxy S 4 i9505 Original Android Development] christoophat:
Hmm..I seem to be having a similar issue, but I still have the mic icon showing w/ default text app, however clicking on it doesn't bring it up. I had it working fine with 0602 build. Used same TK Nano GAPPs both times also. I am using Google keyboard, and speech to txt is enabled.
[Galaxy S 4 i9505 Original Android Development] jestrella04:
SPH-L720 Radio issues on GSM

I am loving this ROM so far, however, there is something that is bugging me ever since I installed it. I have not been able to get incoming calls and outcoming calls working at the same time. With stock ROM from Sprint I am able to get everything working with no issues I just have to manually add APN settings. In the good old days of CM 11 setting ro.telephony.ril.v3=newDriverCallU in /system/build.prop will do the trick. When using this ROM, by default (after setting phone to use Global network) I can only make calls, I don't have to manually set APN settings and data connection works fine out of the box as well, but NO INCOMING CALLS at all. I found out that if edit build.prop and set ro.telephoy.ril_class to be blank, after a reboot I can receive incoming calls but then I can't make calls anymore. I have tried setting lteOnCdmaDevice to 0 and adding lteOnGsmDevice to 1 with no luck.

I am of course outside of the states on a GSM network (Orange). Have anyone else have this issue and knows how to fix it? or can someone shed some light onto what might be actually happening here?

Thanks in advance!
[Galaxy S 4 i9505 Original Android Development] :
Have you tried setting up the apn manually with settings obtained from vodafone?
[Galaxy S 4 i9505 Original Android Development] inetquestion:
Touchwiz - email app from S6

What would it take to add the touchwiz email app from the S6 to this rom? I'm on sch-i545 with MDK.

Would adding SecEmail* and SystemUI be all that is required, or is there more? There were some nice features I liked

in the default TW email client, so thats what took me down this path...

TIA,

-Inet