yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] Karls0:
Yes this bug occures randomly, in about first week after flash, I didn't experience it - it shown later. I flashed previosue version (20160207) to be sure that the there will not be any battery drain. I had a copy of rom which i didn't removed so i could do this but I don't know if it is on any server to download.
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
Hi guys! New release is out, much more better than the latest release! :)

Here's the changelog:

20160410 - Stable V7

MD5 - 56b28abf29cebd3cb1667d6f80d42785

Kernel:

General code update + fixes

More code ported from 3.10

Updated Toolchains (5.3.0) and Busybox (from official Master branch)

ROM:

Update sources to Android 5.1.1 release 37

Update SuperSU to v2.71

Update LayersManager to v4.4.4

SnapdragonCamera: Small updates/fixes

external/jpeg: use qcom-optimised repo from cm

Switch to Linaro 4.9.4 for rom compiling

And here's the download link: Download AOSP-JF-5.1 - AOSP-5.1.1-20160410-jflte.zip

Happy download!! :)
[Galaxy S 4 i9505 Original Android Development] dilidani:
Thanks mate, will test it soon!_0_ great to see updates on this rom :)
[Galaxy S 4 i9505 Original Android Development] Karls0:
Thanks! I will wait for a review about phone.apk battery drain bug. On V5 all is fine, on V6 it was pretty big and now I am curous how about v7 until I will flash it.
[Galaxy S 4 i9505 Original Android Development] luptatorul:
Does the latest build have any bugs? How does it perform?
[Galaxy S 4 i9505 Original Android Development] LimitsX:
new release is great so far! however since booted into the rom i have the red LED light on. why is that???
[Galaxy S 4 i9505 Original Android Development] dilidani:
I had that issue on almost every build, just disable led on boot in led settings (JDC app).
[Galaxy S 4 i9505 Original Android Development] Karls0:
You may also check another LED patern. For me only on default patern the bug occurs - on another the LED sometimes light few seconds to long but then turn off. BTW, Check for us, if the phone.apk drain is here or is fixed ;)
[Galaxy S 4 i9505 Original Android Development] LimitsX:
Thank you for that. I set nexus led pattern and it fixed it :).

How do i check the phone.apk drain?
[Galaxy S 4 i9505 Original Android Development] Karls0:
You can check in settings -> battery, whether the phone process is high (if any) in statistic. On v6 build for me it sometimes took more energy then screen so it's hard to not notice :). It is the best to check for it after all day of usage, because it doesn't have to occure just after disconnect of charger.
[Galaxy S 4 i9505 Original Android Development] luptatorul:
Hello everybody. I just installed the latest build, it moves so good! I am experiencing only one problem so far: my microSD gets recognized, but the ROM can't read anything from it. The files just don't show up. I tried reinserting the card, both manually and from the settings, but it didn't do any good. Any ideas? Thanks! Awesome ROM!

Update: my phone doesn't get recognized even when i plug it into my PC via USB.

My cache, system and data are F2FS, my micro sd card isn't. Could this be the problem?

Update2: F2FS with this ROM is blazing fast, i don't want to change this. How can i solve the micro sd bug? :(

Update3: F2FS has nothing to do with this. The same happens with EXT4. I just installed CM13, and it recognises my microSD Card. AOSP doesn't :(
[Galaxy S 4 i9505 Original Android Development] smstiv:
Hi mate, can you provide LOG`s, please?
[Galaxy S 4 i9505 Original Android Development] dilidani:
Phone app drain still exists.. What the... ?? :/

Edit : well, I'm having strange calling bugs as well, I'll try to update my modem. Hope it helps because it is my favorite 5.1 rom, and a v7 stable rls just can't have such major bugs... :/ Dev team, any testers, are you fine on this rom? (I know that marshmallow is the main thing recently, but I guess someone uses this rom as a daily driver still :D)
[Galaxy S 4 i9505 Original Android Development] Karls0:
Ok, thank you for the info [MENTION=6118136]dilidani[/MENTION]. So far I stay with rock solid V5 build :).

Maybe we should do mass bugreport, because the bug is here since last two months - it look like devs ignore it.
[Galaxy S 4 i9505 Original Android Development] flash3d:
You advise 20160207 build?
[Galaxy S 4 i9505 Original Android Development] dilidani:
Well it worked for me pretty flawless yeah, but I'll try a new modem later :)
[Galaxy S 4 i9505 Original Android Development] flash3d:
Probably will try latest build as I can't find older version's. Using hoj2 modem btw.
[Galaxy S 4 i9505 Original Android Development] dilidani:
I'm using that too, so don't even bother. Upgrade modem and BL first :)
[Galaxy S 4 i9505 Original Android Development] LimitsX:
I've been using it for two days. I didn't notice any phone drain at all. The only one I see is screen and google play services. V7 is pretty awesome :)

---------- Post added at 09:04 AM ---------- Previous post was at 09:04 AM ----------

No call bugs and no phone drain.

What is your S4 model? I've never seen this happen in any AOSP by JDC team.
[Galaxy S 4 i9505 Original Android Development] holli64:
Could you please provide the V5 build ( 20160207 )?
[Galaxy S 4 i9505 Original Android Development] LimitsX:
This bug doesn't exist here :S. I haven't seen this bug on any release of AOSP by JDC. what is your S4 model?
[Galaxy S 4 i9505 Original Android Development] dilidani:
I9505 on hoj2 baseband. What's your modem version? If you name me a good host site, I'm gonna upload soon.
[Galaxy S 4 i9505 Original Android Development] Karls0:
I9505. I experienced it only on v6, and from the reports I see in v7 it still exist but i didn't checked personally. It occurs randomly, sometimes all is fine, e.q. a week after flash and then it starts.

I had a copy of v5 (February) build but I don't have any links, i could eventually upload it but first I had to create account on a hosting service.
[Galaxy S 4 i9505 Original Android Development] flash3d:
LimitsX,

What model and modem are you using?
[Galaxy S 4 i9505 Original Android Development] Karls0:
Ok... I instaled latest build to test. In few days I will let you know if the phone.apk drain is still here. I had it on v6 so I went back to v5. I doubt it is modem bug - if it would be true, the version of rom will doesn't matter but it practise it does.
[Galaxy S 4 i9505 Original Android Development] holli64:
Could you please upload the V5 build to this folder: h t t p s://w w w.magentacloud.de/share/muu7p14e9i

Remove the spaces between "h t t p s:.//w w w".

I had to insert them otherwise I couldn't have sent you the link as a new user to prevent spam here! :(
[Galaxy S 4 i9505 Original Android Development] dilidani:
Done fella. Clean installed again the rom, flashed newer bootloader and modem.. im getting really tired of this, i just want a proper working 5.1+ aosp rom, nothing else. I hope it will work now and only my firmware was stoneage old. Maybe I should switch to Nexus5x, but the 2GB ram is a boner killer..
[Galaxy S 4 i9505 Original Android Development] Karls0:
I see it is already there, someone was faster then me :).
[Galaxy S 4 i9505 Original Android Development] holli64:
Thanks a lot guys! ?

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] LimitsX:
Definitely not SM-A9000 :)

---------- Post added at 04:50 PM ---------- Previous post was at 04:49 PM ----------

I have I337M and OH1.
[Galaxy S 4 i9505 Original Android Development] flash3d:
I'm using a I9505, the A9000 signature is cause of my TW rom (WizCyan) ;).

So it seems that the problems are with I9505 versions? But a I9505 and the I337M are the same hardware, ain't it?
[Galaxy S 4 i9505 Original Android Development] Karls0:
I'm not sure. Basing on the user reports, on AT&T with i9505 you will not have LTE support but with I337 you will. The I337 would be the same as I337m, just from other distribution. So basing on this we have two possibilities:

1. Different radio in i337 and i9505

2. Different modem (so only software)

Both can have impact on phone.apk drain bug. I flashed v7 yesterday and so far on my i9505 all is fine and I have to say that it is significantly smoother. I hope that this bug will not occure but I am still testing.
[Galaxy S 4 i9505 Original Android Development] dilidani:
Guys, what can be the reason of Pink screen of death? I tweak my phone, thats a fact.
[Galaxy S 4 i9505 Original Android Development] holli64:
Battery drain is unfortunately the same with V5. I did a clean install and there are only 63% Rems in ing after two hours.

I've almost done nothing during that time...

:(

Gesendet von meinem GT-I9505 mit Tapatalk

---------- Post added at 06:53 PM ---------- Previous post was at 06:48 PM ----------

I did a clean installation and there are only 63% remaining after two hours.

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] dilidani:
Can be faulty battery. If you put the battery on a table and it spins, your battery needs to be changed cause it's swollen.
[Galaxy S 4 i9505 Original Android Development] holli64:
Ok, I'm gonna give it a try.

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Karls0:
Anyway if it will be software drain it should be visible in battery statistic. Chceck also if your S4 is in deepsleep when not in use.
[Galaxy S 4 i9505 Original Android Development] holli64:
Deep sleep is 56% after the phone hasn't been used for about one hour. Battery decreased 1% during that time . That's ok, but when I use the phone battery starts dropping fast.

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Karls0:
You may have wakelocks, if phone is not in use DS should be like 80-90%. It is normal that battery go fast when phone is in use. On new battery you will have maybe 4-5 SOT, on old 2-3 is good result.
[Galaxy S 4 i9505 Original Android Development] dilidani:
Well it seems like the new modem did the trick. Yesterday I had data signal loss but reboot fixed it, so I have to just find the best working one. I'm on HPA1
[Galaxy S 4 i9505 Original Android Development] flash3d:
Stupid question: I freshly installed ROM and micro GAPPS, how do I get my Exchange account for Google calendar? I thought by using micro GAPPS (with exchange services) you get the Exchange account in android account settings.
[Galaxy S 4 i9505 Original Android Development] flash3d:
Flashing a newer modem fixed the drain or your pink screen? :D

Just clean flashed 10-4-16 version and I had phone showing up as second under screen usage.

Using HOJ2 modem btw on my I9505.
[Galaxy S 4 i9505 Original Android Development] dilidani:
Pink screen is due to heavy undervolting imo, but it seems phone.apk drain is gone. I flashed new modem and made a clean install again. Dunno if it matters
[Galaxy S 4 i9505 Original Android Development] Karls0:
Just after flash I didn't have phone apk battery drain but now it look like it is back. I will look if it will keep and if yes I again go back to V5 build on which I never experienced this. I doubt it is modem-releated. Maybe some modems can minimize the bug activity but I think he still is there but less noticable.
[Galaxy S 4 i9505 Original Android Development] flash3d:
You are still on hpa1?
[Galaxy S 4 i9505 Original Android Development] Feedmeeeee:
choose default in stweak profiles, froze dev tools and toolbox via titanium backup try this and come again with your battery and wakelock screenshots if still fast battery draining
[Galaxy S 4 i9505 Original Android Development] droidblitz:
My battery spins freely when i do this. But with a TW rom my 4yr old battery still gives me 3-4hrs of screentime. :/
[Galaxy S 4 i9505 Original Android Development] dilidani:
Yeah that's my "new" modem :D I wanted to choose a European baseband version :)
[Galaxy S 4 i9505 Original Android Development] Karls0:
Currently I have about 2%/h drain by this phone.apk bug. On the same modem, on v5 build all was fine so I assume that this is not modem releated. Any idea how to fix it, or i have to flash back february build?
[Galaxy S 4 i9505 Original Android Development] madag94:
Bluetooth issue

This ROM is perfect. I don't know if it's just me, but when I go to quick settings, and tap bluetooth icon to see the device I want to connect, it doesn't connect. The same happens when once it is connected, and I tap the X to stop the connection to that device. And, would it be possible to add something similar to "call recording" as for Cyanogenmod? I have xposed but it doesn't work for this ROM. Thank you guys!
[Galaxy S 4 i9505 Original Android Development] dilidani:
Try flashing newer modem and BL, and possibly make a clean flash. I have no phone.apk drain and telephony bugs since newer modem and reinstall. Hopefully it will stay this way..
[Galaxy S 4 i9505 Original Android Development] flash3d:
Also on HPA1 now, let's see how it goes.
[Galaxy S 4 i9505 Original Android Development] Karls0:
I want to keep modem for my country it is one few months newer but i doubt it will help - on v5 i don't have any drain. BL is possible to flash only via Odin and as far as I know all 5.0 stock roms has the same. In case I decide to flash newer modem, wher can i find instruction? I've read that it has to ble flashed twice, one after another but i don't if it is true.
[Galaxy S 4 i9505 Original Android Development] Kippy51:
Check here: http://xdaforums.com/showthread.php?t=3315987 Read OP
[Galaxy S 4 i9505 Original Android Development] Karls0:
I wanted flash the newest modem for my region but it is HOJ2. I am on HOE3 and also I have phone.apk drain. What can I do to stay with correct modem for my region and fix the drain? The longer I work with, the more i think it is not modem-releated. Just after flash I also didn't have any problems but later (few days) the bug shown. Maybe just after flash you also didn't see drain and therefore you think modem fix it.

Anyway on V5 i never saw this bug so how you will explain it if modem couses it?
[Galaxy S 4 i9505 Original Android Development] flash3d:
I don't know if it's modem related, I had the drain with fresh installed ROM and HOJ2 modem after one day.

From another poster (dilidani) I got the advise to try a new modem, I flashed that one yesterday and now I have to see if the drain keeps away.

On a side note, when installing the new modem with odin I soft bricked my phone for the first time and had to flash a stock Sammy firmware to make it usable again. Stupidly I did not make a nandroid yet and had to freshly install this ROM. Cause of the bad odin flash was probably a defect USB cable.
[Galaxy S 4 i9505 Original Android Development] Karls0:
Ok so I will wait for your review. As I said in my case just after flash the bug is not visible. Therefore I think that modem flash and fresh install can generate placebo effect. Anyway HOJ2 is the newest modem for my region so I can eventually install older which looks to be a bad idea. At least I know that v5 build is safe for my configuration and if I couldn't do anything other I can flash it back.

If anyone (especially dev [MENTION=5576897]-+BB+-[/MENTION]) has a idea how to fix this bug I will read carefully :).
[Galaxy S 4 i9505 Original Android Development] flash3d:
Will post my findings, till now all ok. Love the speed and stability of this ROM. Was selecting a stable ROM for weeks so hopefully the drain keeps away [emoji6].
[Galaxy S 4 i9505 Original Android Development] dilinger1111:
I thought that the new release had fixed the "No SIM card - Emergency calls only" bug, but alas - the bug reappeared today. :(
[Galaxy S 4 i9505 Original Android Development] dilidani:
Same here bro. And some telephony app stopped at the end of a call. Besides that the rom is great.
[Galaxy S 4 i9505 Original Android Development] Karls0:
How about phone.apk drain? Any news?
[Galaxy S 4 i9505 Original Android Development] dilidani:
At my phone it looks like its gone, but my flash is not even a week old.
[Galaxy S 4 i9505 Original Android Development] flash3d:
No drain here also, but I had to restart phone this morning cause Bluetooth was not working anymore. Noticed that my lg watch was disconnected and I was unable to enable Bluetooth.

That was my first bt problem on this ROM. Will see how it goes tomorrow morning. Exciting stuff, almost can't sleep ?.
[Galaxy S 4 i9505 Original Android Development] Karls0:
Strange, I have official modem for my region, why it may couse drain? I'm still not sure if it is modem releated but why it fix the bug for you?
[Galaxy S 4 i9505 Original Android Development] flash3d:
No drain yet but uptime is around 20 hours, Bluetooth is still stable.

Only small issues: Poweramp starts when BT car radio disconnects (had this also with other roms in the past) and with missed call the led is not blinking (using light flow). Other (whatsapp, mail) led notifications work.

Overall a very fast and stable ROM so far, hopefully the drain keeps away.
[Galaxy S 4 i9505 Original Android Development] dilidani:
Still best s4 rom :)
[Galaxy S 4 i9505 Original Android Development] romulotjf:
in my i9505 whenever I get the connection device lock and only about restarting. some way to fix this ???

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Original Android Development] dilidani:
Aim for the latest modem!

Well guys, Im 95% sure that my telephony bugs like battery drain and sudden apk FCs were due to 2 reasons:

- using opengapps PiCO! (use NANO! as I read it has some telephony frameworks.. hell knows, but maybe Pico is way too much on the budget)

- and use latest BL and modem. I have a factory unlocked 9505 so easy for me, every "universal" modem for me works flawless, doesnt matter if released in my home country or even Indonesia.

--> starting with "XXUH"

So, awesome. :laugh:
[Galaxy S 4 i9505 Original Android Development] Campi1995:
What about the roms battery drain?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
On current public release it is written in OP... witch confirmation you need?

Next coming version will have a tons of fixes, so just wait for it.
[Galaxy S 4 i9505 Original Android Development] -Ric-:
Tried the beta release with the stock kernel (yes, i'm one of those guys haha) and i was very impressed, fast, smooth and seriously what we needed, a pure AOSP release. Sure, there are some bugs that need to be dealt with but that's why its called a beta. I'm seriously interested in this, can't wait for it to be updated. :)
[Galaxy S 4 i9505 Original Android Development] skezza:
Just double checking
[Galaxy S 4 i9505 Original Android Development] eddloschi:
First I'd like to say that this ROM is incredible! Great job by the whole JDCTeam

Could you please tell me why is it using CM's dialer and InCallUI forks instead of AOSP?

I ask this because one of the only things that are slow is placing and taking calls.

For example: I just placed a call, it was already ringing but stuck on a blue screen, then it briefly went back to the dialer contacts screen and finally showed the call screen
[Galaxy S 4 i9505 Original Android Development] skezza:
This is a worry. It's this kind of code reuse that does cause problems. The current CM implementation of Bluetooth is ****ed, but for some reason, it's on various AOSP ROM's.
[Galaxy S 4 i9505 Original Android Development] Liam0o:
They don't have a choice for the most part, it's as pure as it can be while still working, if they don't use CM code then certain stuff won't work
[Galaxy S 4 i9505 Original Android Development] skezza:
Or another dev takes a go at it and tries to develop his own implementation?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
General information:

We are developing the pure AOSP mainly for tho reasons:

1) We want the AOSP pure google rom (pure as much as possible, because we will follow google sources updates); current internal build is updated to 5.1.1_r6 ...

2) We need the AOSP base... because will be the base for our own JDC Rom!!

That's the true story... I just anticipate the near future that will come.
[Galaxy S 4 i9505 Original Android Development] leap_ahead:
I use this rom ..only problem for me is the dialer T9 and the black background on some apps
[Galaxy S 4 i9505 Original Android Development] smeroni68:
The new release will be with AOSP Dialer... :D
[Galaxy S 4 i9505 Original Android Development] eddloschi:
Awesome! [emoji1]
[Galaxy S 4 i9505 Original Android Development] leap_ahead:
we wait !!!
[Galaxy S 4 i9505 Original Android Development] smeroni68:
I'm sure you will be satisfied!
[Galaxy S 4 i9505 Original Android Development] leap_ahead:
yes take your time ! summer time !!
[Galaxy S 4 i9505 Original Android Development] leap_ahead:
what gapps u use with this rom ? zero or mini ?
[Galaxy S 4 i9505 Original Android Development] -Ric-:
Can't wait! Just a small request though, if possible, keep providing a "stock" kernel, my phone ran amazing with the beta version and the "stock" kernel package from the 2nd post.

Thanks alot!
[Galaxy S 4 i9505 Original Android Development] leap_ahead:
for me better with alu kernel :p
[Galaxy S 4 i9505 Original Android Development] eddloschi:
Do you use Bluetooth? When I flashed the stock kernel I had the Bluetooth share stopped working FC and nothing fixed it (clearing bt data, wiping caches, reflashing) so I had to restore my nandroid with alucard
[Galaxy S 4 i9505 Original Android Development] skezza:
Can't wait for this :D
[Galaxy S 4 i9505 Original Android Development] smeroni68:
... waiting for Beta2 ... check here the news!!

[MENTION=535343]all[/MENTION]: If someone of you that is waiting the new release and would like to know what's inside... have a look to the ongoing changelog dayly updated:

https://github.com/AOSP-JF/platform_vendor_aosp/blob/aosp-5.1/Changelog.md

Enjoy the waiting time!!
[Galaxy S 4 i9505 Original Android Development] Karls0:
I still doubt that it is modem releated. I didn't experience it on V5 of this rom. Now I upgraded to marshmallow version of this rom (android 6.0) and again I don't have this bug. In my case only v6 and v7 version are affected by the bug. I think, It have to be connected with rom code, but some modems can only limit intensity of this drain. I use opengapps mini, and also used it when I was on 5.1 version of this AOSP. In summary - modem changing can be treat as temporary workaround but for this who still plan to stay on 5.1 version I recommend to find a fix in rom code.
[Galaxy S 4 i9505 Original Android Development] LimitsX:
There is no battery drain for telephone at all :S. I never experienced it, and it's strange that its affecting two people only. Perhaps go to stock TW rom and then format and try again?
[Galaxy S 4 i9505 Original Android Development] razielmkd:
Can someone tell me how far can I undervolt the cpu?
[Galaxy S 4 i9505 Original Android Development] dilidani:
And how can I check, which kind of hardware revision do I have? Cuz it affects undervolting capability as I remember.

Had a strange bug :after a night on airplane mode I can't see wifi networks. Manually I can add networks and it connects well, but I can't see any networks in the wifi menu :/
[Galaxy S 4 i9505 Original Android Development] Karls0:
If I counted correct, 4 people reported here phone.apk drain. I'm not going to flash stock, I updated to JDCTeam 6.0 and the bug is gone. As iI said only 5.1 based v6 and v7 has this bug in my case. Basing on that not ever user has it, and changing modem can help we can say that this bug can be limited in some configurations. Anyway as I said after upgrade to 6.0 rom, it is no longer my problem, I just gave you an advice. It is better to investigate it (if it's real bug) and fix because you never know whats more it can affect in future builds and what can happend if one day you'll decide to update modem to another version.