yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] WnG88:
Nope, I don't poke mon lol. Thought there was battery drain with WiFi battery saving location. Its draining semi fast now with location on battery saving
[Galaxy S 4 i9505 Original Android Development] Fulcrum11:
sudden death?

Hi guys,

I am using CM13 on my i9505 for 2 months now. After reading about the potential problems here, I installed an older snapshot (cm-13.0-20160608-NIGHTLY-jfltexx) back then and it was fine for me. I have Philz recovery installed. I didn't install the newer nightlies after, as I didn't have any issues with that version. But lately I started to get frequent app crashes, and sometimes reboots, but it was not too bad (3-4 times a week). But just now, my phone suddenly rebooted and hung at the Samsung boot logo. I removed the battery to restart and now the phone doesn't turn on and not even responding to charging or USB! It's really scary! Do you have any ideas? Is it maybe a hardware issue?

Thanks!
[Galaxy S 4 i9505 Original Android Development] Flouque:
Can you boot in recovery or download mode?

Does it responds when plugged in? (Led charging and/or battery animation when phone is turned off)

If it doesn't respond at all maybe the battery is dead, try to use/buy a new one, and if this doesn't solve the issue, maybe a hardware failure.

Edit : After thought, might also be a problem I myself encountered with mine. Basically, the power button gets stucked in "pushed" position. You can try hitting on it a bit (without destroying the side like I did - brutal), If this solved the issue, be aware that it's only temporary (mine got dead stuck after about 2 months after this issue first arrived), then your alternative is to open your phone and use a screw to remove the physical push-button under the power button. Main downside is you can't power on your phone without outside energy (wall charger or portable battery) and booting in download boot to use the reboot function

Hope this helps
[Galaxy S 4 i9505 Original Android Development] Fulcrum11:
Thanks for the quick tips :good: , the problem is that it doesn't boot at all. No response/LED on charging, no DL mode, no recovery, not recognized by PC. I didn't do any software changes (it would be understandable it if it would be a new ROM etc.). Battery was at about 30%, and it's a few months old replacement battery (from Anker). I'll leave it on charger for the night and see what happens. The power button doesn't look stuck, but I'll look into it. Either the battery or something hardware apparently.

Edit:

1st: While on charger, it started up and stuck at Samsung logo again. Battery out, after waiting some minutes, I could turn it on again and stuck at the logo again.

2nd: Took out the battery then restarted into recovery. It didn't make it past the samsung logo, it just rebooted to the samsung logo again. The logo disappeared and the phone went dark. The weirdest thing so far: then it suddenly started vibrating continuously and only stopped when I took out the battery. :confused::confused::confused::confused: Is my phone possessed?? :eek: In short, recovery mode is not working.

Edit 2:

I successfully got into DL mode this time. I guess I'll have to flash the original ROM then....
[Galaxy S 4 i9505 Original Android Development] Hoikaiden:
Hej there,

I have another Problem with the Builds since 20160716 - everything works fine, but Wifi and BT Signal isn't strong enough anymore. I have to stay near the Router, Smartwatch etc (under 50cm) to get a Connection. Wifi at 5Ghz is good, 2,4Ghz not.

Try to reset etc, but nothing helps since then. Any thoughts?

(sry for the bad english)
[Galaxy S 4 i9505 Original Android Development] side:
definately a baseband issue mate
[Galaxy S 4 i9505 Original Android Development] Hoikaiden:
Yeah I think so, but what can I do? For Wifi I need a newer Kernel, right?
[Galaxy S 4 i9505 Original Android Development] side:
Baseband affects wifi too
[Galaxy S 4 i9505 Original Android Development] Hoikaiden:
Yeah but why since a specific time/update? - before it works fine.
[Galaxy S 4 i9505 Original Android Development] Hoikaiden:
naaah... when I get back to the last working state, everything is fine ;)

maybe I will perform a complete new install?

EDIT: or something like this ? https://ohthehugemanatee.org/blog/2...m-slash-baseband-firmware-on-a-samsung-phone/
[Galaxy S 4 i9505 Original Android Development] Black Manta:
I've an issue with wifi / WLan too. If I deactivate wifi battery stats even shows that wifi is enabled and needs energy.

Nightly from 2016.08.30
[Galaxy S 4 i9505 Original Android Development] Vin95:
It is possible to add virtual button on my S4 ??
[Galaxy S 4 i9505 Original Android Development] ThomasBrouwer:
Yes, you can. Simply go to Settings > Buttons > Enable on-screen navigation bar and you're all set!
[Galaxy S 4 i9505 Original Android Development] Hoikaiden:
yes, go to settings and buttons, it should be the first point on the list - you become virtual buttons on the screen (at the german version)

---------- Post added at 05:53 PM ---------- Previous post was at 05:50 PM ----------

Dalvik Cache wiped after the upgrade?

---------- Post added at 05:54 PM ---------- Previous post was at 05:53 PM ----------

How can I get the latested Modem Version for my S4? Cant find the right one here.
[Galaxy S 4 i9505 Original Android Development] ThomasBrouwer:
Go to this thread and follow the instructions on the first post! Read carefully, and it'll all be explained.

http://xdaforums.com/galaxy-s4/gene...ootloaders-t3315987/post65350237#post65350237
[Galaxy S 4 i9505 Original Android Development] Hoikaiden:
ok thx so far, one little question.... can I take the XXUHPG1 for my ..OJ2?
[Galaxy S 4 i9505 Original Android Development] mikeydima:
i have a problem. my phone overheats with this rom. have someone this problem?
[Galaxy S 4 i9505 Original Android Development] Hoikaiden:
yeah sometimes - try greenify (playstore) and also a new modem version. ;)
[Galaxy S 4 i9505 Original Android Development] LinkinParkBoy:
I have the same doubt :p I have the same version OJ2

Edit: I updated my modem and works, now i have XXUHPG1 ;)
[Galaxy S 4 i9505 Original Android Development] mikeydima:
and how can i find the modem version to my phone. works on cm13?
[Galaxy S 4 i9505 Original Android Development] LinkinParkBoy:
http://xdaforums.com/galaxy-s4/gene...ootloaders-t3315987/post65350237#post65350237
[Galaxy S 4 i9505 Original Android Development] Pr3z3s:
Here you go: http://xdaforums.com/galaxy-s4/general/ref-galaxy-s4-i9505-modems-bootloaders-t3315987
[Galaxy S 4 i9505 Original Android Development] Catscratch:
Hey guys.

I noticed a bug. I put My phone in airplane mode over night. Every morning when I leave airplane mode I have to reenter my sim pin. But then the phone can't connect to any cellular network anymore. So I have to reboot and everything is working fine.

Is there anything I can do? The problem persists in every nightly since I started using this rom. Was some weeks ago.

Thanks!
[Galaxy S 4 i9505 Original Android Development] pxrave:
how can i enable faster charging?
[Galaxy S 4 i9505 Original Android Development] corolev:
Hi,

Try with the last Nightly version, I solve the problem too...
[Galaxy S 4 i9505 Original Android Development] Hoikaiden:
you Need Special charging Equipment and a Mobilephone which supports "fast Charge"
[Galaxy S 4 i9505 Original Android Development] measel:
[MENTION=5604178]zwliew[/MENTION] Is it possible to hack away the "Slow Charging" message or change the ampere levels to USB (500mA = Slow Charging) and Wall Charger (1900 mA = Max speed)?

It sounds cosmetic, but it would help to have less confusion about that here in the thread.
[Galaxy S 4 i9505 Original Android Development] zwliew:
Yeah, have been having the same irk but never felt like fixing it. Now that you mention that as well, I'm probably gonna fix it this weekend.
[Galaxy S 4 i9505 Original Android Development] pxrave:
i only mean from 1000ma to 1500 or 2000 ;) not qualcomm qick charge
[Galaxy S 4 i9505 Original Android Development] Hoikaiden:
Look at Post #2912 :D
[Galaxy S 4 i9505 Original Android Development] Braccoz:
on a side note, the phone does not actually draw the full 1900 Mah... previously, on stock 4.3 rom it was drawing up to 1.84 Ah (measured with external usb current meter) and would vary it depending on screen on/off, temperature etc.

now, on CM13, the phone settles for a fixed value when it's plugged in, and keeps it until almost full, then gradually lowers it, without being affected by screen, temperature etc. problem is, the max i've seen it draw is 1.44 Ah, but it's completely random so if i want it to charge "fast" i have to plug-unplug until i get a value close enough to 1.44 Ah. Often i just settle for like 1.10-1.20 because it's a hassle.

isn't there a way to make it behave like on stock JB rom and draw the full 1.84 Ah?
[Galaxy S 4 i9505 Original Android Development] Nananahx:
After an update a couple of days ago I started having this issue when I unlock my phone and I'm stuck on wallpaper. I cannot do anything and have to restart my phone by either removing the battery or holding the power button, which actually brings the small menu with shut down/ restart phone options. I tried wiping catch/ dalvic from recovery menu and installing the update again but it does not fix the issue.
[Galaxy S 4 i9505 Original Android Development] echo_21:
My S4 I9505 runs still on cm13 20160319 nightly and it charges with up to 1900mA measured with Galaxy Charging Current APP from the play store.

I have 6 different travel chargers AT home. 2 samsung (s4 and tab s2), 2 LG, 1 kindle, and 1 asus t100ta. I tried many combinations of charger and cable to find the s4 charging current. All combinations with 1 samsung cable only yield 650 mA. Believe it or not, this cable is clearly defect! One of the LG cables brought current up to only 1200 mA with all chargers. The behaviour then is random as that you described (sometimes 820 mA minimum or other random values up to 1200 mA). So also this cable is defect somehow.

The remainig 4 cables reliably charge my s4 with 1900mA on the 2 samsung and the asus charger. The kindle and the 2 LG chargers are limited to 1500 mA even with the 4 good cables (as written on their lables these chargers cannot charge with higher currents)

I bet your cable or your charger is degraded. I bet the cm13 Rom has nothing to do with reduced charging currents. I bet that your former 4.3 Rom would also charge with less than 1900 mA with that cable/charger Combi. I bet that your s4 with cm13 will charge with more than 1800 mA once you use a good cable and charger.

Please give it a try and report results here
[Galaxy S 4 i9505 Original Android Development] Braccoz:
sorry but your assumptions are wrong. charger is not degraded, and in fact, the behaviour is the same with both my current charger and the original samsung one. also, those 2 chargers will pump nearly 2A just fine on my tablet (using the same original samsung cable)

also, i don't doubt some app is reporting the charge @ 1900 MAh, i think that's the issue instead: phone thinks it's drawing 1900 but is instead drawing <1400.

you should try with a meter not with an app
[Galaxy S 4 i9505 Original Android Development] echo_21:
Sorry, but as a physicist I like to ask you to don't mix physical units as it might confuse readers: the electrical current is measured in A (or amps or mA = 1/1000 Amps). So your meter does not show 1900 MAh but 1900mA or 1.9A .

The amount of elecrical charge stored in a battery or its capacity is measured in Ah (Ampere hours; be careful, this is Ampere times hours and not Ampere per hour). My S4 battery shows an initial capacity of about 2600mAh ( = 9.88 Wh / 3.8 V). When charging with 1900mA it takes 1 hour an 23 minutes (= 2600mAh / 1900mA) to charge from 0% to 100%. Over time the battery capacity decreases by aging. The charge time then will decrease, assuming a constant charge current of 1900 mA .

Also be careful with the comparing the current through the USB cable and the battery charging current. They are not identical: the output voltage of the charger is 5V (or up to 9V) but the battery must not be charged with voltages above 4.2 V. In the S4 is a high efficiency converter that converts the external voltage into the charging voltage. The battery charging current is then higher than the external USB current.

As far as i know there's a built-in Meter inside the s4. All that the APP just does is to read this Meter. Its very easy to precisely measure the charging current: just amplififythe voltage drop over a low ohm resistor in the charging current path with adc. And this is what the SOC in our S4 does. It is as easy as measuring e.g. accelleration, gravity, humidity, air pressure, magnetic field, ambient, battery, cpu, GPU, etc temperature.

Would you please install that APP and report the values both from your external and the infernal Meter? I bet they will be in some good correlation (the internal current reading will be higher than the external; s. above).
[Galaxy S 4 i9505 Original Android Development] Braccoz:
as much as you are right about the MAh misuse, you're wrong about the charge current. the phone charging port is designed to take up to 2A (or rather, 1900 mA) of current, not the charging circuitry and/or battery. The current that is pumped into the battery here is irrelevant (altough dependent on it) i9505 with stock rom draws up to 1.84 A measured with my meter, and it constantly adjust the power drawn according to numerous factors, whereas CM13 just sticks with a random value (<=1400mA)( that is determined upon pluggin the charger and sticks with it, eventually decreasing as the battery refills.

so, something is definitely missing from the code that controls the charging circuitry
[Galaxy S 4 i9505 Original Android Development] echo_21:
May I kindly ask you to install the Galaxy Charging Current app and report the correlation between the 2 readings anyway? I think it is woth it as it would bring some light on this topic. I don't have a USB meter so I can't do this comparison.
[Galaxy S 4 i9505 Original Android Development] Braccoz:
will do tomorrow as i just finished charging
[Galaxy S 4 i9505 Original Android Development] chelon575:
When I make a call , is recorded as an unknown number , can someone tell me how to fix that?
[Galaxy S 4 i9505 Original Android Development] Herklinn:
Flash

Flash with odin or TWRP?
[Galaxy S 4 i9505 Original Android Development] A838:
Have you tried clearing data, system and cache, then installing ROM then gapps? Make sure you use the recommended flashing method and gapps in the OP.

If you come up as an unknown number on somebody elses phone, I think you may need to enter a few numbers at the start of the number you dial. Search Google for an answer.

A later post recommends not flashing it.

One of my earlier posts was deleted I think. I wasn't told why but it was concerning one of my earlier bug reports, are others unable to call whilst using wired headset with mic?
[Galaxy S 4 i9505 Original Android Development] zwliew:
for the curious and the brave

cm 14 initial download link:

https://drive.google.com/file/d/0B9qb8cB5djMoQm9PR1NsVHZDWVU/view?usp=sharing

installation notes:

i recommend doing a clean flash with android 7.0 opengapps. (hence, curious and the brave)

as the database upgrade path from 6.0 -> 7.0 isn't established yet, many apps will crash if you do a dirty flash.

release notes:

most hardware functions should work, but there may have been some things i missed out.

i'll upload a new cm 14 thread when the source is actually cm-esque, not merely aosp + caf + some cm additions.

that said, we are almost as caf as we can get atm, with several key repos being merged with those from caf.

we only needed minimal hacks to bring this up to cm 14.

usage notes:

don't panic when you see red borders flashing, it is expected since strict mode is enabled in this eng build.

now, time to get back to working on issues in cm 13. peace :]

Edit: I got CM file manager and Snap camera working. Several apps like Calendar and DeskClock are also now updated with CAF + CM patches from cm 13.0.
[Galaxy S 4 i9505 Original Android Development] jolusia:
Hello, a link to the sites of the CM 14 ??
[Galaxy S 4 i9505 Original Android Development] sjamie:
^^ You can find it in the post right above yours. ^^
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Deleted by author.
[Galaxy S 4 i9505 Original Android Development] wurstherpes:
It`s good...it`s worked
[Galaxy S 4 i9505 Original Android Development] KelvinM21:
How do I disable strict mode because the red flashing is really annoying to me.
[Galaxy S 4 i9505 Original Android Development] ts_firehawk:
This was literally the first search result for "disable stict mode android": http://www.igitblog.com/how-to-disable-strict-mode-on-android-devices/ At least try looking for the answer on your own before asking next time!
[Galaxy S 4 i9505 Original Android Development] Flouque:
Hi all, I'm currently on CM13, baseband XXUHOF2, which is the latest from my carrier. I wondered if I could update with whichever baseband I want (likely the latest), or should I stick with the one I have?

Second question : are basebands carrier optimized or are they universal and it's just that some carriers drop updating basebands as new devices come out?
[Galaxy S 4 i9505 Original Android Development] HJSC:
Is anyone else having trouble activating the wifi at 2016.09.03 release?

it's all right now :)
[Galaxy S 4 i9505 Original Android Development] A838:
Doesn't work. I already looked at that website :) Anyway the build is for the "curious and brave",so, yeah...

I'm not sure for both, but unless you have problems with your signals there isn't a need to update.
[Galaxy S 4 i9505 Original Android Development] Apad121:
Great to see CM14 out already!

How would you say this compares to JDC team AOSP 7.0 ROM here http://xdaforums.com/galaxy-s4/i9505-orig-develop/jdcteam-android-source-project-nrd90m-t3453084

Which is more stable???

Thanks in advance :)
[Galaxy S 4 i9505 Original Android Development] ts_firehawk:
Then I owe you an apology for being too harsh on you. My bad! (And sorry that I couldn't help, too).
[Galaxy S 4 i9505 Original Android Development] zwliew:
The initial build is an eng build, which has strict mode enabled. Subsequent builds will be userdebug builds and thus, will not have the strict mode enabled. I'll release one more build soon enough, so hold on :)

As long as you have a 5.x.x baseband, you should be fine.

I can't speak for stability. regarding features though, this initial build is a little barebones. currently, it is kind of AOSP + CAF + some CM back-end modifications. (We do have Ambient display though.) The next build that I'll release soon will have more features.

Tentatively, the features in the next build are:

Root access

Privacy Guard

CM file manager

CM 13 improvements in AOSP apps (Calendar, DeskClock, etc.)

Battery and notification lights settings

The entire LA.UM CAF stack (the CAF release for MSM8937, MSM8953, MSM8996 and MSM8998)

SDcard FS for lower CPU consumption during IO operations

SIM card and telephony fixes

Better IO priority management through the usage of BFQ cgroups (feature was already there, but I fixed the breakage by Nougat)
[Galaxy S 4 i9505 Original Android Development] masterlo3:
Delete
[Galaxy S 4 i9505 Original Android Development] Catscratch:
He. In latest nightlies I got the issue back, that no connection to cellular network could established after leaving airplane mode after some hours.

Can anyone confirm?
[Galaxy S 4 i9505 Original Android Development] moonsoo:
No HD in Amazon video app.

Hey,

everything works fine including Youtube in 1440 resolution.

but no HD in Amazon instant video app.

Does any one have an idea?
[Galaxy S 4 i9505 Original Android Development] echo_21:
Hi [MENTION=4365919]Braccoz[/MENTION], today I read only 1460 mA "internal" battery charging current (measured with the Galaxy charging current app) even with my "perfect" combination of samung charger and cable. As written before the reading was 1900 mA multiple times. So i have to revise my earlier statement that I get always 1900mA under CM13 20160319. I will monitor the internal current more often to find systematic behaviour behind it.

Would you please report your comparison of internal and external current measured with your USB Meter?

To write 100% clear: Up to now I don't have any indication that the reading of the internal Meter with the help of that APP is not precise.

Instead my todays observations support your statement that the charging current under cm13 Rom sometimes is really not at its maximum.

I am looking forward for your news about the app's reading on your S4. If you confirm that internal and external current are in good correlation every reader of this thread can help us by also measuring and reporting their charging current even in the lack of an external USB amp Meter. We, the community, then can much more easy compare the charging behaviour of different roms ( custom and stock)
[Galaxy S 4 i9505 Original Android Development] Braccoz:
still not discharged (lol im not using the phone basically, it's lasting so long idling all the time), however, a quick test revealed that:

- galaxy charger app states 1900 mA but actual current drawn can be anything lower, however, it's pretty accurate when it reports another value

- charging current is controlled by something else than the rom/kernel, which can just limit the maximum draw

- my issue with not getting the full 1900 mA when switching from touchwiz 4.3 to CM13 has probably to do with proprietary firmwares (bootloader, baseband, whatever) that i had to upgrade to be compatible with lollipop/marshmallow roms. (basically, it seems that i can get 1900 mA max limit (ie: reported by the app) with charger+cable but not with charger+meter+cable, however, i can with a very very short cable+charger+meter)

- current limiting behaviour is inverse in CM13 rather than in Touchwiz: stock limits the charging current when the screen is ON (heat constraints...) and lifts the limit when screen is OFF, CM13 seems to do the opposite, or rather just not limit when screen on so the additional power for screen+cpu is drawn from the charger thus increasing the current)
[Galaxy S 4 i9505 Original Android Development] kenetix:
Great Rom

Thanks to all the people that put this together. It runs good and smooth. I appreciate your hard work. Just thought you would like to know.:good:
[Galaxy S 4 i9505 Original Android Development] zwliew:
Could you provide a log and kmsg of you attempting to watch HD in the app? Also, what app is that, any link or info on it?
[Galaxy S 4 i9505 Original Android Development] Apad121:
Hi there

Just installed your ROM. It is nice and fluid.

As you stated above, we can't easily get arid of the red flashing due to the strict mode.

I like how the default button layout for this ROM has the menu button for recent apps too.

The ROM was fluid and fast. :)

Bluetooth worked- I sent a file. Wifi works and so does Mobile Data. AOSP Camera was fine too along with the gallery.

The only problem I had was with the strange Yellow Color Tint that I couldn't get arid of.... This was the deal breaker for me so I won't be using it as a daily driver at the moment.

I am using I9505 and the HPG1 latest modem.

Also when installing the ROM I got a two small errors in red in TWRP it was something about invalid logs i think but the process went on fine after that.

Can't wait for the next build :D:D:D Please start up a new thread so we can easily access the next version of this ROM instead of digging around in this thread.

Thanks :)
[Galaxy S 4 i9505 Original Android Development] ts_firehawk:
The yellow tint could be LiveDisplay, I think you can turn it off on settings :)