yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
Because a part of code is proprietary (no sources) and we cannot fix things that we cannot see, only adapt the code. Invisiblek has pushed a patch picking a part of gpe code, hopefully this will helps with our problem. if works, then we will merge in AOSP too.. However, this regards disconnection and crash, not a2dp slow, and i haven't noticed bt disconnection or crash in this rom, only a2dp issue. If you or someone else experience bt crash or disconnection (not during music streaming) please report and send me a log :)

Bt code is AOSP + only needed changes, but a2dp is pretty different, cm changes a lot of things and merged a lot of code from caf bluedroid.. I cannot merge the whole repo, this will make rom impossible to build...! The problem is that the code is clean and minimal now... And doesn't work! :D So there are other things that must be changed...!

You can take a look at bt repos and see what has been changed here:

https://github.com/AOSP-JF/platform_external_bluetooth_bluedroid

https://github.com/AOSP-JF/platform_hardware_broadcom_libbt

As you can see, only fixes needed for our device ;)

However the problem occurs only during music streaming, if you use bt only for calls not problem, it' s working fine :)

Audio/Video part has been optimized in the same way, and we use the same kernel (Alucard) so we have the same performance more or less. Probably aosp is smoother and faster than cm, this is why we don' t have all cm services and customisation, so it' s up to you! My suggestion is to try both roms for some days and then decide what fits better your needs! ;)
[Galaxy S 4 i9505 Original Android Development] misha0209:
thank you for the explanations and the links :)

i wasn't only referring to BT audio in my post, but general audio as well (headphone out)

the GPE rom just sounds incredible over headphones compared to CM. i blame audioFX and the used driver, but then again i do not know much about how droid works.

this being said, when i had GPE on my phone, i always got audio stutters and skips over BT, so the bluetooth stack isn't as solid as CM.

but audio quality wise, CM does something with the soundstage and the highs. i remember the last optimised build, when the boss man's PC died, the audio quality on that was crap. both in lows and highs.

now it's ok~ish, but still not as good as the GPE.

anyhow, THANK YOU for the effort, looking forward to the BT stable release :D
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
Maybe you don' t have to wait so much... a2dp fixed with latest changes in bluedroid, i' ve tested with my pc and works fine, 20 minutes of usage and no lags/stuttering/disconnections.. Hopefully the bug is solved :)

Regarding audio part, we are using the same audio/video driver that cm use, google has removed a part of code in their repos and we miss all qcom flags needed for compiling... so we have the same av sources with caf changes, but all the rest is different, kernel (alucard), audiopolicy, and all other stuffs are from aosp, i barely use headset, but i haven't noticed a poor audio quality..! ;)
[Galaxy S 4 i9505 Original Android Development] misha0209:
well i wouldn't call it poor. it was horrible in the last build before the jdc team was created.

now it's ok.

if you have time, try GPE 0303 release, with headphones. to me it's night and day.

i use neutron for music, and on GPE the neutron driver can do a latency of 96. on CM it can't go lower than 120. not that big of a difference number wise, but audibly there's something there :)

dunno how much kernel influences this stuff, but on the GPE i had back then i used allucards kernel, big fan of his kernel. too bad he did not follow-up with another release for the GPE. i had terrible drain with his kernel. and hulk, while nice, is just not as good. this is the main thing that made me leave GPE and search for alternatives :P

thank you for the explanations, i'll grab the next AOSP when it's out. like i said, i use phone with car BT every single day, so i'll provide feedback :D
[Galaxy S 4 i9505 Original Android Development] bannerbirds:
media server

Yesterday I tried updating to the build from the 19th, unfortunately this build showed massive audio problems on my phone. Short time after system start media server seems to crash, from that on you can no longer play any music or sounds (not even ringtone in the settings menu).

I am aware that such a report without a log is not of much worth, but unfortuneatly I immediately restored my System (to the build from the 6th) given that I need my phone on a trip the next days. If no one else comes up with this error I'll try upgrade again to post a log next weekend. On the build from the 6th I experienced no such problems.

BTW: I really appreciate your work, the aosp rom is awesome so far.
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
Mmmmmh... Probably there's some issue with gpe, running alucard in aosp and battery life is awesome, especially in deep sleep! That's why we ship with alucard as builtin kernel for aosp and provide a separate zip file for stock aosp kernel (based on cm sources)..! Take a look at the screenshot! ;) And there's the possibility that kernel is the culprit of all issue experienced in cm, bt sleep is handled by kernel, a patch has been submitted in cm gerrit in these days and should solve bt disconnection issue, i' ve already included in our stock aosp sources, in this way when next release will be out even stock kernel should work without problem! Alucard works fine as is, so no need to change things! Same thing for audio latency, kernel handles the whole system, to be honest i never checked audio latency in different roms/kernel but with alu kernel i never experienced poor audio quality! ;)
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
This happens sometimes only the first time that you flash the update at first boot, just reboot the system, wait for mediaserver for finish the update of your media library and everything works fine! ;)

PS: Btw i thought it was fixed with latest merge from cm... Obviously not... I haven' t experienced this bug recently, if happens again, please pick a log with stweaks before rebooting! :) Luckily this happens only the first boot when mediaserver is indexing media files, once it finish and a reboot is perfomed no more issue!
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Testing internal build with music over bt... really fine...
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
Very good! :D If everything is fine soon we'll release a new build with camera bug fixed too! ;) I would like to include even ffmpeg 2.7, but breaks the build atm.. this happens even on cm12 build for our device so it' a cm issue, if they fix it soon we' ll drop 2.5 and include latest 2.7! ;)
[Galaxy S 4 i9505 Original Android Development] _DrizeX_:
This is not listed as an issue but always happened with me

When an pop-up appears like "Open with", the background stay dark:

https://dl.pushbulletusercontent.co...1MHExoor1N/Screenshot_2015-06-20-09-54-30.png
[Galaxy S 4 i9505 Original Android Development] bannerbirds:
Thx for your reply, it seems like you are absolutely right, after your post I gave it another chance, the indexing took longer than anticipated ... but after some minutes everything settled.

Here is a part of a log I grabbed after first boot, hope it contains some valid information (I removed some pages that only listet tons of my music)

https://www.dropbox.com/s/qhb5rbmyvnjxcsv/logcat_mod_s4.txt?dl=0

EDIT: In Addition i noticed that certain mp3 files that could be played with the old version now cause some issues (with vanilla music from fdroid, it says file corrupt or not existent), can this be due to changes made in the latest version? VLC plays all the files flawlessly (but afaik vlc brings its own codecs, at least on pc, not shure about android)
[Galaxy S 4 i9505 Original Android Development] VanGolfer:
Hi there: work in progress, great one! Just wondering if you can add save to external SD card on Google camera. Thanks
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
Same error that i get days ago, i made some changes on mediaprovider, this time should be fixed, tested now and ringtones and sounds works even at first boot during indexing! ;)

About unplayable mp3 i never had this issue with google play music, and i have listened a lot of music in these days for testing bt connection, try clearing your music app data/cache and see if helps! :)
[Galaxy S 4 i9505 Original Android Development] Guihardrock:
what are the diferences between this rom and the google play edition one?
[Galaxy S 4 i9505 Original Android Development] kapitanbasa:
After flashing the latest twrp, and the new baseband and modem (H0E4), my old kitkat rom worked well and was able to maintain a strong data and cellular signal, however, whenever I flash any lollipop custom rom, including this, my signal seems to behave intermittently. is the modem really affected by rom change? because it seems dat way in my case, but im willing to tinker more to find the root of the problem.
[Galaxy S 4 i9505 Original Android Development] Gallstafff01:
Install Failed, SPH-L720

--

formatting /system...

mounting /system...

installing...

symlink: some symlinks failed

E:error executing updater binary in zip "/external_sd/ROMS/AOSP-5.1.1-20150619-jflte.zip"

Error flashing zip "/external_sd/ROMS/AOSP-5.1.1-20150619-jflte.zip"

updating partition details...

...done

--

I updated to the recommended TWRP version and followed the steps as well.

I was hoping that this would be the one. With any Lollipop rom I try I can never get LTE to work and mobile data seems to bug out frequently, I've heard that it is a radio/modem problem, but I can't seem to find the modem I need.
[Galaxy S 4 i9505 Original Android Development] casimir99:
My first install also failed but after I converted my file system to F2FS it worked perfectly. I had one issue with very low speaker volume, but then I flashed SuperSU, toggled with the Speaker volume slider and everything is in order now.

Thanks a lot for your hard work Antares.
[Galaxy S 4 i9505 Original Android Development] bannerbirds:
Maybe I wasn't precise enough in my previous post, it doesn't seem to me to be app related. The stock player also throws errors when trying to play severeal of the files. Clearing cache or reinstalling doesn't affect the problem.

Maybe you can have a look at the corresponding log, trying to play one of these music files with stock player.

https://www.dropbox.com/s/k3p3ql7kzmcj8wi/after_mp3_2.txt?dl=0

The exact same file plays without issues on my pc, on my tablet (omni 5.1.1 with vanilla music and/or stock player) and even on the s4 with vlc (as mentioned earlier vlc brings a lot of its own audio stuff, vanilla music and stock music player use the system codecs and so on). This leads me to the expectation that it's not an app-related problem.

So for the moment I'll stick to VLC player, even though it's pretty performance hungry compared to other apps.
[Galaxy S 4 i9505 Original Android Development] Yousvel:
You need jfltexx recovery to solve your problem.
[Galaxy S 4 i9505 Original Android Development] FernBch:
V2 is gonna be nice!
[Galaxy S 4 i9505 Original Android Development] Duck4Cover:
Does this ROM work well with android wear?
[Galaxy S 4 i9505 Original Android Development] FernBch:
Not sure (don't use any AW devices) but there are issues with ANT+ services I believe.
[Galaxy S 4 i9505 Original Android Development] FernBch:
Pure AOSP awesomeness. I'm am so lovin this ROM, should have flashed it sooner. It is so smooth and crisp. Every app I have used so far works so flawlessly. Screen updates are quick, webpage and forums update extremely fast. This one ROCKS!
[Galaxy S 4 i9505 Original Android Development] bigmacthe2nd:
Android wear works flawlessly for me with Gear Live. Rock stable rom!
[Galaxy S 4 i9505 Original Android Development] udaan:
Is this ROM working for I9515?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
NO... just read OP.

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] p3pp3mt:
Can I have some improvements to convert to F2FS cache, system, SD card... ?

I usually don't do it because i don't really understand changes.. but if could be improvements in tha daily use....
[Galaxy S 4 i9505 Original Android Development] udaan:
Can I ask which ROM you are using?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
I have two 9505... read my signature.

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] LimitsX:
i hope v2 is ready by now :D
[Galaxy S 4 i9505 Original Android Development] FernBch:
Not quite. When the release is published it will be announced here.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
First we will release OptCM... than AOSP... there is a new Toolbox in common with all Team roms...

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] Duck4Cover:
I have installed this rom today and my phone crashes when I try to rearrange my favorite contacts order in the phone app. The screen becomes unresponsive. It moves one fine then on the second the touch screen stops and I have to force the phone to power down. Is this known issues and is there any fix? Thanks.
[Galaxy S 4 i9505 Original Android Development] Dior DNA:
First of all : thanks for great ROM

Second: this post is not a complaint, only an observation...

I have 24h battery life (which is good). When I sleep I turn of

wifi,4g,gps,nfc and when I am awake I turn them on.

The kernel wakelock detector however mentiones:

--

last ~14u: awake 95%

wlan_rx_wake ~1u30m

wlan_wd_wake ~20m

wlan_ctrl_wake ~20m

wlan_wake ~5m

--

the 1u30m catches my eye and I see count of wakelocks (thousands)

constantly increase

In logcat I see every so many errors:

E/WifiStateMachine(14614): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=3.28 rxSuccessRate=8.28 targetRoamBSSID=b0:b2:dc:6a:a7:07 RSSI=-46

and also

D/WifiService(14614): acquireWifiLockLocked: WifiLock{NlpWifiLock type=2 binder=android.os.BinderProxy@313974ab}

D/WifiService(14614): releaseWifiLockLocked: WifiLock{NlpWifiLock type=2 binder=android.os.BinderProxy@313974ab}

I suspect those locks may correlate to 95% awakeness.

Is this ringing a bell? Are there some ways to reduce them?
[Galaxy S 4 i9505 Original Android Development] pclov3r:
You already have working 6.0 M build w/ the GPU issues solved. That is pretty fast to get that working.

I suspect you have at-least two weeks more work to iron out bugs and such to get v2 somewhat stable and I suspect some time for a stable 6.0 build?
[Galaxy S 4 i9505 Original Android Development] udaan:
Ok tough guy, can you please post the link for the rom of I9515?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Seem you do not understand that I9515 is not supported, so there is no rom version for it. Is it clear now?

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] udaan:
So I made a mistake buying this phone. I just threw it away in the river.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
I'm sorry if my post seemed a bit rude, but OP is clear... I'm also sorry for you and 9515 you bought... try sell it instead of river solution! [emoji1]

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
Hi to everyone guys, finally new build is out!

Download link here: https://romhut.com/versions/aosp-5-1-1-20151020-jflte-zip

IMPORTANT: Due to huge changes in Alucard kernel stweaks profiles will be resetted, set again your custom values after the flash

Changelog

20151020 - Stable V2

MD5 - 1c4f045e456b3d1d858f0e4d4504339a

Kernel:

Governors tuning/code cleaning

General code update from 3.10 and fixes

Fixed sporadic system freeze

Updated and enabled zram (512 Mb on default profile)

Changes and fixes on LMK

Fixed MultiROM

ROM:

Gallery2: Added support for drm content + small fixes

jemalloc: update to version 4.0.0 (big thanks to arter97)

Art/libcore: reverted some things that could cause potential issues/instability

IMS: merged all updates from codeaurora/cm

ART: fixed segmentation fault when xposed is installed

libhardware: completely reworked, fixed some small bugs, added missing code and merged code for cpu boosting interface

base: fixes, speed/stability enhancements and merged cpu boosting interface code

Added LibSwitcher to build, an easy way to have an always working IR LED

native: merged some missing code from cm

Update apns

Updated WebView

libpng: small fixes from M

Updates on sepolicy

av: another integer overflow fix

base: fix sporadic SystemUI crash when user long press home button

Fixed vibration when receiving a call

Updates/Fixes on init for various devices

Bionic: reworked the entire branch

Removed not used/old optimisations

Implemeted pty.h

Lots of cleaning

Layers Manager: updated to 4.3 final version

libcore: more fixes/enhancements

Updated sources to r24

Build with JDK 8

LatinIME: fixed gesture typing + other small fixes

Reverted cm changes for BFQIO and cgroups

Improved battery stats

Icons: fixes on battery stats and bluetooth icons

Include security patch level in Settings

Updated FFmpeg to 2.7.2 release

AudioService: allow volume control on analog dock

Base: small fixes

Enabled FFMPEG codecs

Updated Layers Manager (v4.3.1) and SuperSu (2.51)

Keymaster: small changes

Fixed some warns during build

New Bootanimation!! BIG BIG THANKS TO [MENTION=5464206]AntaresOne[/MENTION] and [MENTION=6863783]ovaxivanov[/MENTION] (XDA)

No issue for all of us, much more smoother and faster than previous stable version!

Twitch now works fine for me, but i haven't tested it a lot, unfortunately i don't have spare time in these days, and i'm focused on MM at the moment, that' s why i haven't included the fix in the changelog, because it's much more better that before, but can crash on some videos..!

Download and enjoy! ;)
[Galaxy S 4 i9505 Original Android Development] Sebastiaanlabr:
Thank u!! Xposed is working now? =)
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Yes... use v75 official by Rovo89
[Galaxy S 4 i9505 Original Android Development] smstiv:
You have Xposed, MultiRom and ZRAM support now. Enjoy.:D
[Galaxy S 4 i9505 Original Android Development] LimitsX:
What is twitch though? :\
[Galaxy S 4 i9505 Original Android Development] luiwii:
Thank you very much, was waiting anxiously, gapps certainly do better in this rom
[Galaxy S 4 i9505 Original Android Development] smstiv:
Open Micro Gapps from OP - the last one.
[Galaxy S 4 i9505 Original Android Development] luiwii:
ok ,I will charge the battery and clean installation of my favorite rom, thank you very much for developers to keep updated our device and with such clean rom
[Galaxy S 4 i9505 Original Android Development] smeroni68:
OTA: General Info...

Regarding OTA app, the Addon section give as result a blank page... this is probably related to romhut management... in case of need, procede with a PC to download addon files...

https://romhut.com/roms/aosp-jf

Thanks for attention.
[Galaxy S 4 i9505 Original Android Development] LimitsX:
Can i install following gapps open_gapps-arm-5.1-pico-20151020.zip on stable v2?

or I have to install micro one?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Yes... I do... but micro...

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] LimitsX:
Lol, so yes for pico open gapps?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Yes... but what the saving from pico to micro?

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] Sebastiaanlabr:
I want to say, thank u for this update! It runs to fast! its like i have a new phone. Its so fast! Can't wait for the M builds..:)
[Galaxy S 4 i9505 Original Android Development] LimitsX:
Well, I don't like Google Now Launcher, I don't use face detection at all, don't use Google Text-to-Speech, Google Search, and google calendar

I only use gmail, youtube, and play store services. So I can install pico and those two apps lol.

Does the rom come with AOSP exchange services or no? I don't really use that either =\. Is it safe to delete that ?
[Galaxy S 4 i9505 Original Android Development] luiwii:
and I have set the moment I go running all I'll report tomorrow proves bt in the car, of course I love the fresh start start at first LED notifications Red stayed and not turned off like I was carrying, but after restarting the phone and they're left normal open recent applications now very fast and we have more options in AOSP, good job this ROM is phenomenal
[Galaxy S 4 i9505 Original Android Development] neptune_:
I don't see Ota app in add-ons from that link. There's only twrp, gapps, boot animation and something called wrp-kt. Is that the Ota file?

Thanks
[Galaxy S 4 i9505 Original Android Development] ** A - R **:
[MENTION=5576897]-+BB+-[/MENTION], Why haven't You updated SuperSU to v2.52 ?
[Galaxy S 4 i9505 Original Android Development] neptune_:
Probably because its still beta
[Galaxy S 4 i9505 Original Android Development] krGemini:
So the AOSP Team couldn't hold longer and released an update before Optimized :D
[Galaxy S 4 i9505 Original Android Development] FernBch:
Sure did.

Just flashed it a short while ago. Did it clean as it is strongly suggested to do so. There have been a few kernel changes and some other items, too.

Lovin the new boot animation.
[Galaxy S 4 i9505 Original Android Development] Xenotrumpet:
[MENTION=5576897]-+BB+-[/MENTION]

The build date says 20151015, but there is another one (20151020) that shows up after installing. Are they identical?
[Galaxy S 4 i9505 Original Android Development] smstiv:
Good morning, based on the new compilation is from day 15.10.2015. For 5 days we were testing its operation. Before making the official compilation they have made some changes (including the kernel). You have now very tested, clean, rock stable and fast ROM, just enjoy.[emoji3]

Send from my GT i9505 with AOSP 5.1.1 by JDCTeam
[Galaxy S 4 i9505 Original Android Development] pclov3r:
So I guess development now shifts to getting a stable 6.0 M build or is this still being worked on?
[Galaxy S 4 i9505 Original Android Development] kab89:
Currently running the new ROM v2 :D, seems a lot smoother, thumbs up so far :). I was just wondering if anyone has gesture typing on android keyboard working? As I've seen it should work according to the op. I have flashed dirty so could be my fault. Thanks

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] michelino.chionchio:
WHat about dirty update?...I can't find the "fresh install" advice
[Galaxy S 4 i9505 Original Android Development] tomurbanowicz:
How can I remove shorts in lockscreen?
[Galaxy S 4 i9505 Original Android Development] bongster:
1+

And i did a fresh install.

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] mankvl:
Wich gapps I should use if I only want google play nothing more? pico? or it's not recommended?
[Galaxy S 4 i9505 Original Android Development] smstiv:
If you want do that: wipe dalvik cache, cache and system, and flash the new build firsth and GAPPS second. This is dirty "clean" flash what i use every time. Don't have any issues.

---------- Post added at 12:31 ---------- Previous post was at 12:30 ----------

In this ROM you haven't options to do that, sorry.

---------- Post added at 12:34 ---------- Previous post was at 12:31 ----------

You can use the GAPPS what you want, OPEN MICRO GAPPS are recommended, because the team is using them all the time and can give certain guarantees, which work well.