yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] eisenbergw:
OK, but do I need to re-flash the ROM as well? Or can I just 'upgrade' gapps by wiping the dalvik/cache and then installing the newer gapps (same edition - pico), leaving the ROM, /data, and all the rest alone?

(so glad there are nandroid backups)
[Galaxy S 4 i9505 Original Android Development] zorastro:
You only have to update the gapps

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 i9505 Original Android Development] Th3_uN1Qu3:
I am already using it. It is a great app but it does other things compared to what editing snd_soc_msm did - that allowed you to increase the level in hardware, plain and simple.
[Galaxy S 4 i9505 Original Android Development] afwolfpacked:
Just changed from Feb build due to a black screen and have to use exposed due to proximity sensor and to tell the truth it does run much better on my phone. I installed latest open gapps nano package and restored all apps with TB no data and besides having to reconfigure to how I like it it was fast and painless.

Great job JDC team
[Galaxy S 4 i9505 Original Android Development] xk0niR:
Is there any good way to backup rom settings like doze and permissions?

Always re configure takes a long time.
[Galaxy S 4 i9505 Original Android Development] Rhoban:
I think there was an app.

But you could probably use Titanium Backup too.
[Galaxy S 4 i9505 Original Android Development] :
ya thats what i thought and switched to optimized cm

---------- Post added at 08:35 AM ---------- Previous post was at 08:34 AM ----------

so thats why its not avialable.

as he wishes
[Galaxy S 4 i9505 Original Android Development] abzjji:
Is there a way to fix audio playback issue? I'm having little skips a couple of times every song which is very annoying. Doesn't matter which player I use. Is this an issue on optimized CM too?
[Galaxy S 4 i9505 Original Android Development] Rhoban:
No such problems here. My CPU is also underclocked to 1.2 GHz and I use viper4android, and even on these conditions music plays smoothly.

Using BlackPlayer.

Did you clean flash?
[Galaxy S 4 i9505 Original Android Development] sjamie:
I am currently using OptCM13 and I only have skipping when I stream music via BT to my 2012 car. If I am just playing music through the phone's speaker or streaming via BT to a different device, I experience no skipping. I think the problem may just be with my car. My car is probably using an older BT technology which is slightly incompatible. Just guessing.
[Galaxy S 4 i9505 Original Android Development] Firefly__:
Does this work with i337m? It isn't directly listed but you never know.
[Galaxy S 4 i9505 Original Android Development] Red89GT:
Yes it will work.
[Galaxy S 4 i9505 Original Android Development] grot84:
is it possible to add only newest gapps?
[Galaxy S 4 i9505 Original Android Development] xk0niR:
I found the App, I had it installed before its "Rom Settings Backup"

You need pro version to backup privacy Settings.

I might buy it.
[Galaxy S 4 i9505 Original Android Development] Kippy51:
Don't wanna rain on your parade, but RSB sometimes works, sometimes not. It does on my S4 with OwnROM , it doesn't on my S3 with Ressurection Remix (same dev/maintainer). In the S3 Temasek-thread, user baltics found this from the maker of RSB. I made a screenshot, hope it's readible.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
I get this issue a lot of times. When I connect my phone to my pc, I get the error that media stopped working. Some times it works fine, other times it does not show up on my pc and I get that error (a lot of times). When I connect it in recovery, everything works fine.
[Galaxy S 4 i9505 Original Android Development] rothmark:
Same here!

I second that!
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
I thought my cable was starting to break (however it looks all normal), but I even tried it with my sleeved cable and got the same issue (that thing is almost new and superb).

I also tried my cable on my brothers lenovo k3 note and it works perfectly fine.
[Galaxy S 4 i9505 Original Android Development] thaidroid:
I had what I thought was a good cable but experienced problems when flashing modems with ODIN(lots of fails), I finally went and bought a Samsung Cable and my problems were solved.

Also if you are using a Desktop ALWAYS use rear USB port.
[Galaxy S 4 i9505 Original Android Development] Th3_uN1Qu3:
The media error when connecting to PC is a software bug with this ROM in the past few builds, it used to work fine until 3 months ago or so. It doesn't have to do with cables.
[Galaxy S 4 i9505 Original Android Development] asharad:
I have this bug too. I'm using a factory Samsung cable that I've used repeatedly for MTP transfers almost daily. I've never experienced the bug until this ROM. Let me know how I can help debug this. My last successful file transfer was a few day ago, when I copied this ROM from my PC to phone.

---------- Post added at 10:53 AM ---------- Previous post was at 10:46 AM ----------

Same here. But when I'm booted to AOSP, the best I can do is access my externalSD, and that is only 1 out of 5 tries. Internal memory will not connect. This worked fine while on CM13.

EDIT... I'm on snapshot 2. I'll flash stable 3 and report back.

EDIT^2... the upgrade to stable 3 failed. I'm getting all kinds of google errors. I'm trying to reinstall for the 3rd time. Joy....
[Galaxy S 4 i9505 Original Android Development] Rhoban:
Dirty flashes tend to cause that.

If it was a clean flash, then change gapps packages, as it is most probably caused by that.
[Galaxy S 4 i9505 Original Android Development] asharad:
Yeah, I'm in the middle of a clean flash now. I didn't expect to have a problem with dirty flash between 6/18 and 6/19 builds. 6/18 was a clean flash, so shouldn't this have worked?

---------- Post added at 12:39 PM ---------- Previous post was at 12:29 PM ----------

OK, I'm on stable 3 now. I still get media crashes when connecting USB to PC in PTP or MTP modes.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Yeah, and a lot of times the sync isn't good. Pc sometimes doesn't see new files/folders which were made on the device.
[Galaxy S 4 i9505 Original Android Development] asharad:
I've attached a logcat of the MTP crash.
[Galaxy S 4 i9505 Original Android Development] mitchellex:
no service on my sph l720

I had no problem flashing the ROM.. but after which I keep getting no service on my device
[Galaxy S 4 i9505 Original Android Development] alesu69:
I found a bug with the camera: changing the picture resolution freezes the camera app.
[Galaxy S 4 i9505 Original Android Development] asharad:
Found another bug. When I try to encrypt my phone, the phone reboots and doesn't encrypt.
[Galaxy S 4 i9505 Original Android Development] -Deco-:
This is an issue which has haunted the S4 since the dawn of time. Not sure why you would want to encrypt your phone anyways, it is a meaningless feature which just impacts the phone's performance, from which the security it provides isn't worth it.
[Galaxy S 4 i9505 Original Android Development] asharad:
I've had a phone stolen before.
[Galaxy S 4 i9505 Original Android Development] JoshDaWhite:
I suggest you use Tasker or AutomateIt to create stolen profile.Or just use Google device manager.
[Galaxy S 4 i9505 Original Android Development] alesu69:
It seems there's a bug with alucard's kernel. I use interactive governor with my custom tweaks via kernel adiutor, but it seems like these tweaks aren't working. I disabled load all on boot in stweaks but didn't help. Gonna try stock one.

LE: Yep, stock kernel works like a charm.
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Why? I always use one of the front USB ports, no probs...

I don't think you can make generic statements, because no PC is like another... Some have different chipsets for front and rear ports, some don't... Some have even rear ports driven by different chipsets...
[Galaxy S 4 i9505 Original Android Development] asharad:
Google couldn't locate the phone for two weeks.
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Can you explain why you think so?
[Galaxy S 4 i9505 Original Android Development] -Deco-:
It's not that i "think" so, it's that i know so. Encrypting your device essentially means that you are locking your phone behind a private key. There are far too many ways in order to bypass this mechanism that encrypting your device is not worth it. Worse yet, encrypting your device means that TWRP will not be able to access your device, since it does not have the decrypting function built into it. Also, encrypting your device means that the phone is rendered incompatible with the SD card, as it is unable to "find" the required key which is stored at the root level; and changes upon each boot.
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
No, you don't.

You don't understand even the basics of encryption. You cannot "bypass" encryption.

Wrong. Latest versions can do so. See TWRP release notes.

This doesn't make any sense. The symmetric key used for encryption cannot change, or else you could no longer decrypt the filesystem.

Edit: I should have written "key used for symmetric encryption"
[Galaxy S 4 i9505 Original Android Development] -Deco-:
I wasn't stating that you can "bypass" encryption, i was stating that the performance which is lost is not worth the statured security which it provides. Information can all too easily be obtained these days that encrypting a device is simply a waste of time and a loss of performance. See the likes of http://www.theregister.co.uk/2016/0...ldisk_encryption_is_easy_with_the_right_code/
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Yes, you were. Quote: "There are far too many ways in order to bypass this mechanism"

Of course there will be a slight performance penalty, as encryption is not done in hardware, but everyone needs to decide themselves whether security or speed is more important for them.

This is the most foolish statement I've heard about encryption in a very long time.

Yes, it's all about brute force attacks. This is not bypassing encryption. Brute Force attacks are always possible, but the question is are they feasible with respect to computing power and length of the password or passphrase. So the longer you make your password or passphrase, the harder it gets to brute-force "guess" it.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Is stock kernel fixed with the max 702mhz speed bug?
[Galaxy S 4 i9505 Original Android Development] -Deco-:
*External* methods of gaining said information, after all, who would spend the time to decrypt said device when they can simply use public information which is freely available on any specific individual.

You need to think about this in the form of the average person, and not us power users. The average individual will not choose a secure PIN/passphrase because they will see it as a waste of time, and they would rather have something easy to remember. (Age, DOB, Pet's name etc)

In retrospect, one may simply boot into our custom recovery if they so wish, mount said partitions and copy all the available data onto a PC/SD card. (Due to this being in the decrypted form).
[Galaxy S 4 i9505 Original Android Development] alesu69:
Nope, it's not fixed. Although for me max speed is bugged at 918 mhz.
[Galaxy S 4 i9505 Original Android Development] asharad:
Lol guys, I'm sorry I brought up encryption. I do hope someone looks at the MTP crash log that I posted.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
It seems to work for me, I got 1134mhz while rapidly tapping on the screen in the cpuz app
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
It seems to be kernel related. I switched to stock kernel as stweaks doesn't work (unrooted and then did systemless root) a few builds back and always flashed dirty (system + caches wipe).

I think I need to wipe data to get stweaks working again. But stock kernel removes all stweak stuff, so maybe after a rom flash it will work again.

Anyway, using stock kernel, mtp doesn't crash and works fine.

Edit: nvm, problem is still there, it seems to be more stable though
[Galaxy S 4 i9505 Original Android Development] thaidroid:
Stweaks is a part of or very closely tied to allucard kernel. also if you install busybox from another source Stweaks will stop working.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
I did not touch busybox, it is still v1.25.0 dorimanx.

PS: I updated my True Stereo mod, it sounds amazing with the new audio HAL, very balanced on every sound step.
[Galaxy S 4 i9505 Original Android Development] leizem:
Any link for February version?
[Galaxy S 4 i9505 Original Android Development] CrazyKarl12:
Link for stock kernel?
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
It's at the download from the latest rom build
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Don't forget that you need the passphrase also in TWRP to decrypt the partition - so attackers can't simply boot into recovery and have everything readily available...

Anyway, I guess we're pretty off-topic. Let's close our discussion at this point. Hope I didn't annoy anyone...
[Galaxy S 4 i9505 Original Android Development] alesu69:
Here you go dude: https://romhut.com/addons/stock_kernel-183fa1da-4086-4188-b97a-10e74b38cff2
[Galaxy S 4 i9505 Original Android Development] thaidroid:
Pardon my ignorance(I'm not a techie) how can the be a stock kernel for MM when there is no stock MM for SG4 ? Can it run on the 5.X kernel?
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
This is the "stock" kernel that comes with aosp. What jdc team does is replace the stock kernel with alucard's kernel.

This stock kernel does not come from sammy, but if I recall correctly, from google (just like the aosp sources)

The only thing needed to make it work on a device is to get these sources and modify them.
[Galaxy S 4 i9505 Original Android Development] CrazyKarl12:
Thanks mate! Working flawless ?
[Galaxy S 4 i9505 Original Android Development] Karls0:
I experience random screen freeze - everything stop for 2-3min and then again starts to work well. It occurs mainly in apps which need high performance like google cardboard, or car navigation. It is quite dissapointing when you have to wait few minuts to do something or you have to pull out the battery/restart phone. Any idea how to fix it? On April build all works fine.
[Galaxy S 4 i9505 Original Android Development] thaidroid:
What about stock kernel and BT? any joy there?
[Galaxy S 4 i9505 Original Android Development] CrazyKarl12:
I don't know what's wrong but everytime i play clash royale my phone freezes. So i reverted back to my old rom.

---------- Post added at 01:18 PM ---------- Previous post was at 01:17 PM ----------

I can confirm this while playing clash royale.
[Galaxy S 4 i9505 Original Android Development] Karls0:
So is the only way to go back to previous build? Camera works much better on June build so I would rather preffer to find a fix than just downgrade.
[Galaxy S 4 i9505 Original Android Development] rothmark:
It looks like "sessionEnded" can not be dynamically resolved. (This function should be defined in a library that is dynamically called at run time).

In the code of this ROM (https://github.com/AOSP-JF-MM/platf...est-caf/media/jni/android_mtp_MtpDatabase.cpp), there is something to catch any failure but it looks like either "mDatabase" has already been deleted/shutdown OR the call fails and is not catchable.

So, just replace these functions:

- void MyMtpDatabase::sessionStarted()

- void MyMtpDatabase::sessionEnded()

by:

void MyMtpDatabase::sessionStarted() {

// Not implemented

/* JNIEnv* env = AndroidRuntime::getJNIEnv();

env->CallVoidMethod(mDatabase, method_sessionStarted);

checkAndClearExceptionFromCallback(env, __FUNCTION__);*/

return;

}

void MyMtpDatabase::sessionEnded() {

// Not implemented

/* JNIEnv* env = AndroidRuntime::getJNIEnv();

env->CallVoidMethod(mDatabase, method_sessionEnded);

checkAndClearExceptionFromCallback(env, __FUNCTION__);*/

return;

}

It works for me this way, no more crashes.

Still wondering why it does not crash at "sessionStarted()"...
[Galaxy S 4 i9505 Original Android Development] side:
since u got ''return'' on sessionStarted() with no other code,that actually does nothing.thats why it doesnt crashes
[Galaxy S 4 i9505 Original Android Development] JoshDaWhite:
Hey.I was wondering-is Flashfire as effective as Odin?I want to flash stock,then reroot.Call volume is bad on every ROM.I just downloaded Odin and stock firmware. You are a experienced Dev.What do you think?
[Galaxy S 4 i9505 Original Android Development] side:
volumes can be edited if u are root

the file that contains volumes is /system/etc/snd_soc_msm_2x_Fusion3 :)

Dont forget it give permissions from file manager .

reboot and test ur calls again
[Galaxy S 4 i9505 Original Android Development] JoshDaWhite:
I knowww.Many other little things that bother me so: stock-cf autoroot-twrp-optcm13 or s6 port.So is Odin better than Flashfire?
[Galaxy S 4 i9505 Original Android Development] side:
i always use odin : )
[Galaxy S 4 i9505 Original Android Development] JoshDaWhite:
Ok so Odin it is.Thanks for your input :)
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Not with the new audio hal, you need to edit mixer_paths.xml
[Galaxy S 4 i9505 Original Android Development] side:
he was talking about stock rom mate

or at least i guess so :P
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
I think he was talking in general. All roms use that file, but since the new audio hal, things have changed. This rom already uses it, not sure about optimized cm
[Galaxy S 4 i9505 Original Android Development] side:
new hal requires many edits and its not stable yet.i dont think any custom rom uses new hal except jdc roms
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Doesn't really need many edits, the mixer paths file is slimmer and the way of writing stuff is a bit different compared to the old way. I enabled the front speaker within 5 minutes
[Galaxy S 4 i9505 Original Android Development] side:
well...its not that easy but ok :)
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
[MENTION=5576897]-+BB+-[/MENTION] I think that there is a problem with the phone not recognizing special characters like ø and ă, etc.

I've tested it with multiple music players and I get the same result, but when I edit the tag, it all looks normal.
[Galaxy S 4 i9505 Original Android Development] Rhoban:
I see you are using layers. Did you also change the fonts?
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
No I don't. I use grounge layers theme.
[Galaxy S 4 i9505 Original Android Development] rothmark:
Before putting that (only the return) the code tried to call "sessionStarted()" from the library. So it should have crashed the same way as for "sessionEnding()", unless "sessionStarted()" is implemented.

That was my "wondering".
[Galaxy S 4 i9505 Original Android Development] side:
If there is a try... Catch expression, maybe there is a logcat message but no FC. I don't know didn't test myself
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
I did not look into the code and stuff, but why would it crash in first place? What is the reason?
[Galaxy S 4 i9505 Original Android Development] asharad:
I'm still getting the occasional BLUETOOTH HAS STOPPED messages when I'm not using BT. It's not a big deal, but it's still a bug.
[Galaxy S 4 i9505 Original Android Development] vkopzon:
Log of XDA FC. Hope it helps. Apps FC is rear and the only issue with latest version for me. Other than that it is a best 9505 Rom!

https://drive.google.com/file/d/0BxyxCfTKhEDRVWxZbmdDU2N6QjA/view?usp=drivesdk

JDC-ASOP6 on I9505

---------- Post added at 06:57 AM ---------- Previous post was at 06:51 AM ----------

@-+BB+- let me know if the log is ok. I can provide more for other apps if needed.

JDC-ASOP6 on I9505
[Galaxy S 4 i9505 Original Android Development] DonConto:
Nice. So this ROM is still no option for me.

I believe this freaky bug first found his way to the custom roms somewhere in version 5.1.x. And from there on the bug moves from ROM to ROM and no dev has a clue what is causing these bluetooth stop errors. This means: Only by pure chance someone will fix this if he is lucky enough. Pity!
[Galaxy S 4 i9505 Original Android Development] SolGarlic:
try disabling BT for location services
[Galaxy S 4 i9505 Original Android Development] rothmark:
It crashes when calling "sessionEnded()" using JNI.

But "sessionStarted()" should have been called the same way (using JNI) before.

And I suppose that if there a "sessionStarted()" in the library, then there is an associated "sessionEnded()". So, if calling "sessionStarted()" works, then "sessionEnded()" should work too.
[Galaxy S 4 i9505 Original Android Development] 3mel:
not that anyone should care, but I got bored of not having full SDcard access and went back to Feb build. I don't use Bluetooth and being back on ext4 again gotta say it's solid, no crashes, FC's or pink screens battery life is amazing again with amplify and greenify.
[Galaxy S 4 i9505 Original Android Development] angelcalibur:
Hi! and you use xposed? because i saw the center clock! :eek:
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Yes I do.

These are my current enabled modules
[Galaxy S 4 i9505 Original Android Development] GiRaFa-SAMA:
SDCard is working fine for my in June Build. You aways can use Apps2SD in google play to create symlinks if you have problems with this.

WiFi doesnt work so well in FEB build..
[Galaxy S 4 i9505 Original Android Development] 3mel:
all the builds since February have had some difference in how the card works for me. copying a file from one folder to another (both on the SDcard) would usually be instant, but since March it's only ever copied the file byte by byte. that coupled with my browser of choice not being able to save files there is a pain. apps2SD still wouldn't give me what I want.

Wi-Fi does show "no internet" but it's been working good since deleting wpa.supplicant.conf and clearing the DHCP lease. I used an app called Wi-Fi repair that I saw in the labs app.
[Galaxy S 4 i9505 Original Android Development] angelcalibur:
Thx!

I will try another module because with gravitybox, impossible to center the clock... :rolleyes:
[Galaxy S 4 i9505 Original Android Development] Plitskin5:
Help! I updated from an older version from April. I lost root. SuperSU told me no binary was installed. I tried to flash SuperSU in twrp and it told me that it could not decompress the boot image. I am on Verizon s4 on mdk.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Gravitybox mm 6.1.4 works fine here
[Galaxy S 4 i9505 Original Android Development] Corduroysack:
+1 here
[Galaxy S 4 i9505 Original Android Development] SolGarlic:
I am using xInternalSD to have full access to SDcard with Google Photos (otherwise it wouldnt delete photos on external SD).

(I'm not sure if this is what you meant...)
[Galaxy S 4 i9505 Original Android Development] thaidroid:
New Modem Bootloader out. UHPF3

Here It is http://xdaforums.com/galaxy-s4/general/ref-galaxy-s4-i9505-modems-bootloaders-t3315987/page24

Post 240

Just installed everything seems fine.
[Galaxy S 4 i9505 Original Android Development] Corduroysack:
link is broken for me
[Galaxy S 4 i9505 Original Android Development] thaidroid:
Try again dont know whats happened.

http://xdaforums.com/galaxy-s4/general/ref-galaxy-s4-i9505-modems-bootloaders-t3315987/page24

Post 240

Fixed in the original post also ;)
[Galaxy S 4 i9505 Original Android Development] Corduroysack:
Working cheers mate :)
[Galaxy S 4 i9505 Original Android Development] 3mel:
that module does sound interesting and I might test it out with the next release but it's only a partial fix. I'd rather try and gather info for why it works for some and not for others. it doesn't appear to even be model related as other i9505 users have stated having no issues and xposed seems to make no difference too. maybe it's a card format thing ? I'll have to check what I'm on.

EDIT: TWRP say my SDcard is formatted in vfat