yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] echo_21:
Oh, disabling and re-enabling really doesn't sound like modifying any proximity calibration parameters.

If someone wants to look deeper into this topic please check the contents of the following files:

/sys/devices/virtual/sensors/proximity_sensor/raw_data : "255" if some object is near ; "37" (in my case) if no object is close; the more dirty your proximity sensor is the higher is this value!

/sys/devices/virtual/sensors/proximity_sensor/state : "255" if some object is near ; "37" (in my case) if no object is close; the more dirty your proximity sensor is the higher is this value!

/sys/devices/virtual/sensors/proximity_sensor/prox_cal : "26,86,71" in my case

/sys/devices/virtual/sensors/proximity_sensor/thresh_high : "86,71" in my case

/sys/devices/virtual/sensors/proximity_sensor/thresh_low : "86,71" in my case

In case your proximity sensor is so dirty, that the minimum value is e.g. 100 (instead of 37 in my case), the kernel will always detect a "NEAR" state as the threshold between near and far is 86!

I am almost sure that proximity calibration app simply manipulates the values of prox_cal, thresh_low and thresh_high ... (e.g. setting the threshold between near and far to e.g. 150 )

Resume: everybody can check the dirtyness of his proximity sensor by checking the minimim value of /sys/devices/virtual/sensors/proximity_sensor/raw_data when there is no object close
[Galaxy S 4 i9505 Original Android Development] side:
Thanks mate. I am considering this on next build
[Galaxy S 4 i9505 Original Android Development] echo_21:
Please read this post and report your minimum value of file /sys/devices/virtual/sensors/proximity_sensor/raw_data here.
[Galaxy S 4 i9505 Original Android Development] nwlun:
How do we control the level 1-6 power notification of apps?

Its seem disable.
[Galaxy S 4 i9505 Original Android Development] Mynacol:
You have to click on the "A" for this
[Galaxy S 4 i9505 Original Android Development] measel:
It is the second time I had a bad system corruption so I had to roll back to an old backup.

Circumstances:

- travelling

- a lot of GPS usage

- nearly no WIFI

- charging in car (cooled by the vent)

Whats happening:

- system slows down up to unusability

- device gets hot

- selfinflicted hot reboot

- after that: the device reboots after about 1-2 minutes. I guess after all apps are loaded...

- dirty flashing system didn't help (only tried the first time)

This is a really frustrating exp. No time to take logs in this scenario. I tried.

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] scanferr:
How's the battery life?
[Galaxy S 4 i9505 Original Android Development] side:
damned gps is PITA ....i dont know if it ever fixed.
[Galaxy S 4 i9505 Original Android Development] walttheboss:
If anyone can you can! Anyone one with sense knows its the source that keeps messing things up. Keep up the good work [MENTION=5968293]side[/MENTION]
[Galaxy S 4 i9505 Original Android Development] Buff99:
My findings also...
[Galaxy S 4 i9505 Original Android Development] side:
i missed ur gps reports on gps at slack.i thought u said that u finally fcked it :P no ?
[Galaxy S 4 i9505 Original Android Development] Undefined Origin:
Never has been and never will be a way to unlock the bootloader. MDL and MDB bootloads only it was possible to use the Loki hack ... that was patched in MF3 and on.

SafeStrap became the only way to install a ROM after MF3, but IIRC you are limited to stock kernel. Start here if you want more infohttps://xdaforums.com/galaxy-s4-att

---------- Post added at 11:02 PM ---------- Previous post was at 11:00 PM ----------

So, safe to say I should keep my i337 on Stable4 for the time being?
[Galaxy S 4 i9505 Original Android Development] JorX_AD:
[MENTION=5968293]side[/MENTION] Ok i got it, we cant have HDR in the Camera but why ?

Im a software / hardware engineer so be as specific as possible.

Thank you so much ^^
[Galaxy S 4 i9505 Original Android Development] elv1503:
What is PITA please?
[Galaxy S 4 i9505 Original Android Development] side:
It's software. It's on the camera Wrapper hack
[Galaxy S 4 i9505 Original Android Development] walttheboss:
Pain in the apple. :laugh: or another a word I can't remember but people kick it a bunch!
[Galaxy S 4 i9505 Original Android Development] lucamtb:
use an app such as GPS test in background (it will help)

sometime clean and update AGPS (in the app top right option)
[Galaxy S 4 i9505 Original Android Development] elv1503:
Yip..Pain in The Ass (America)..Pain in The Arse..(UK)...Kick butt. ..Should have known.
[Galaxy S 4 i9505 Original Android Development] osa219:
Does it support Substratum??

If not, can anyone help how can I make it work?

Thanks in advance

And sorry if this question have been asked before:)
[Galaxy S 4 i9505 Original Android Development] DroidSaroj:
Yes it does support Substratum.
[Galaxy S 4 i9505 Original Android Development] prettyMel:
hi everyone! I'm really really new to this rooting+custom recovery+custom rom thing. i bought this i9505 years ago and i just decided to root it now to enjoy it for another more yrs maybe or months as long as it is alive. i was lucky to root it just by watching vids and reading comments/threads. lucky to flash it with cwm but later change it to twrp because almost all tutorials and custom roms requires twrp. i've searched for custom roms and now im here. this is my first time to flash a custom rom. i just need to confirm if do i need to download gApps for this stable 5? alll i saw in the first page was the stable5 zip and the twrp to use. is it already included that's why there are only 2 download files? or it wasnt included in the post because everyone knows it is automatic to download gapps. hehe. so sorry for not knowing it. :( i appreciate any reply from you sir/mam. thank u very much!
[Galaxy S 4 i9505 Original Android Development] ngocanh3996:
Welcome to this forum. I suppose that [MENTION=5968293]side[/MENTION] just forgot about that, you must download the Gapps zip file that is suitable for this android 7.1.2 rom. In addition, remember reading the

INSTALLATION

part carefully. Good luck! :D
[Galaxy S 4 i9505 Original Android Development] osa219:
Hi there,

I just want say to you that Gapps is optional

So it's not required to flash, but trust me it's very useful

because it gives you Google apps that is almost important to everyone like : YouTube, Gmail, Google maps, etc...

So that's the reason they didn't include it into download files:)

You can download Gapps package from here :

opengapps.org

Regards,

osa219
[Galaxy S 4 i9505 Original Android Development] Leone/kyleproxx:
Oh and if you want to download and flash gapps I recommended nano gapps
[Galaxy S 4 i9505 Original Android Development] grot84:
Hey i need help i have a huge battery drain.

I have done full wipe format etc

Pls see attached

What i cannot explain is how is that possible that percentage is growing for some time.

Pls help

View attachment 4222168View attachment 4222170View attachment 4222173

Wysłane z mojego GT-I9505 przy użyciu Tapatalka
[Galaxy S 4 i9505 Original Android Development] osa219:
---------- Post added at 07:28 PM ---------- Previous post was at 07:25 PM ----------

[/COLOR]

Can you please tell me HOW:o

---------- Post added at 07:42 PM ---------- Previous post was at 07:28 PM ----------

Can you please tell me HOW:o
[Galaxy S 4 i9505 Original Android Development] side:
download substratum app from playstore

download your favourite theme from playstore

run substratum and config your theme

enable it

[optional] reboot

profit :D
[Galaxy S 4 i9505 Original Android Development] isaac.caudillo:
Hello everyone,

Before anything, thank you so much Side for all the effort you're putting into this rom, it's just fascinating.

I 've been having a problem since January (aprox) with random bootloops, when i unlock my s4, sometimes the launcher appears to be positioning on the screen, but suddently it goes invisible, and then when i try to lock and unlock the phone again it doesn't acts as supposed, then after a minute or two it goes into a bootloop, making me restart the phone, this happens very often a day, so because of that i've stopped using the phone for now.

I've made some logcats using Catlog, but as it's my first post i can't find the option to attach the logs, so any help would trully be apreciated.

Thanks.
[Galaxy S 4 i9505 Original Android Development] -Deco-:
It's just an estimation, there's nothing to worry about.

If your filesystem is running on the F2FS format then this could be the issue - if not then either the CPU is being jammed at 100% forcing a reboot or there is some other issue, try a clean flash of the ROM to fix the issue.
[Galaxy S 4 i9505 Original Android Development] isaac.caudillo:
Then i will start by changing the partitions to EXT4 but just before doing so, which partitions should i change?, right now i have all the partitions in F2FS format (because of speed and other improvements over EXT4).
[Galaxy S 4 i9505 Original Android Development] side:
well thats strange...any log please ?
[Galaxy S 4 i9505 Original Android Development] ewilley2008:
I will wipe/flash again and if it does the same ill get one...
[Galaxy S 4 i9505 Original Android Development] HectorAguirre:
I had the same problem with dirty flash. I did a clean flash and reinstall all my apps and phone is working fine.
[Galaxy S 4 i9505 Original Android Development] hammer7t:
On AT&T. Very smooth indeed with most everything working great. Camera seems to work well in the few tests I did going back and forth between still pictures and video using the rear and front cameras. I did not stress test the camera though...

The only minor issue I have found in 2 hours of using this ROM is that the auto timezone does not yet work. I'll provide updates after some more time on it.

Excellent beta release!

Thanks!
[Galaxy S 4 i9505 Original Android Development] reubenbrown13:
I am using a Domestic unlocked L720 on the ATT network currently on ResurectionRemix MM and I want to come back to JDCTeam, but since the 5.1.1 ROMS I cannot get my ATT sim to be detected. I have modified the build script to try and force it over to the GSM setting, but when I boot, it shows No SIM and all the APNs are for the Sprint network. Is there something that I can do to force the phone over to the GSM mode?
[Galaxy S 4 i9505 Original Android Development] vishudha98:
Battery is the same as the alpha build isnt it. AOSP 7.1 got the battery figured out hope [MENTION=5968293]side[/MENTION] can learn from it too.
[Galaxy S 4 i9505 Original Android Development] koyo:
Is the SCH-R970 supported yet or no?
[Galaxy S 4 i9505 Original Android Development] fraydz:
Reading = :victory:
[Galaxy S 4 i9505 Original Android Development] Giuliana Zoey:
Good work you guys!! Is it safe to say that this is now stable? Im currently using optimized cm 13 and hardly thinking to flash this rom :) what do you think? ;)
[Galaxy S 4 i9505 Original Android Development] masterlo3:
Bug

Network mode switching doesn't work. network mode doesn't change when you select 3g as preferred or LTE. and when you try to force it using *#*#4636#*#* it still doesn't change... this change is important to me because am in an area of weak coverage so i really need forced 3g or LTE... [MENTION=5968293]side[/MENTION] i hope it's fixed soon. good work on this rom, it's smooth.
[Galaxy S 4 i9505 Original Android Development] abuhisham:
[JDCTeam][7.1][21 Nov]Optimized CyanogenMod 14.1-Beta1[Dev by Poll][Unified]

Beautiful release..have just problem with the battery..i did clean install and battery was 100% I went to sleep and when I waked up Telefon was closed and battery was 4%. I didn't use the Telefon at all ..I just made clean install and tried to test doze during the night. With last aosp rom i lost usually 2% with same apps during the night .

and all other things are fine.i like this release .thanks
[Galaxy S 4 i9505 Original Android Development] Zaybatzu:
http://www53.zippyshare.com/v/PuCqjeWJ/file.html
[Galaxy S 4 i9505 Original Android Development] mubshr:
i am having a issue . trying to open sd card

this operation requires elevated permission. try changing to root access mode

:confused::confused::confused:

[IMG="image"]https://i.imgsafe.org/41477d2a7f.png[/IMG]
[Galaxy S 4 i9505 Original Android Development] Zaybatzu:
Use other file explorer - > es files explorer? solid explorer
[Galaxy S 4 i9505 Original Android Development] mubshr:
thank you:good:
[Galaxy S 4 i9505 Original Android Development] kxymm:
Last build have a problem with proximity sensor? I'm in AOSP 7.1(jdc team) and when I call or listing audio in WhatsApp, screen turn off and I need to wait the call/audio finishing for use screen.
[Galaxy S 4 i9505 Original Android Development] xell75:
That looks strange, look at my battery stats over night and I gone to sleep with 33% rest and slept 10 hours. (only using greenify)
[Galaxy S 4 i9505 Original Android Development] gab011596:
Can the next build include google messenger as default messenger app? Looks clean af. Just a suggestion.
[Galaxy S 4 i9505 Original Android Development] ebfortin:
It is not possible to includes apps from Google in a build. Need to be either in Gapps or downloaded by the user.

---------- Post added at 06:18 AM ---------- Previous post was at 06:16 AM ----------

Had the same problem. Clean install worked perfectly. Beside having "Music" crash in the initial setup process. I didn't know about this app, apparently from CM.

---------- Post added at 06:23 AM ---------- Previous post was at 06:21 AM ----------

I have a freeze problem where I need to remove the battery and reboot. Now I must say I played with the CPU voltage. However before anyone says "Duh!", I used the exact same voltages in the previous build without any freeze at all. So maybe some instability in kernel?
[Galaxy S 4 i9505 Original Android Development] elv1503:
"Duh".

---------- Post added at 11:34 AM ---------- Previous post was at 11:31 AM ----------

On initial install reboot into recovery shut down my phone. I had wiped data/system/cache/dalvik. On second flash also wiped internal SD. Reboot into recovery now works. Everything seems to be working well. Thanks [MENTION=5968293]side[/MENTION].
[Galaxy S 4 i9505 Original Android Development] JerwinSayat:
Seems normal to me. You got wifi running all that time. Hardwarely inspect your battery for damage or bulkyness. :)
[Galaxy S 4 i9505 Original Android Development] Ranniel:
Still drain the battery in this modified version of nougat
[Galaxy S 4 i9505 Original Android Development] grot84:
I have bought new battery. Still same issue. Seems like driver that monitors voltage issue.

And i got shout downs when e.g. 13% battery is still there.

Wysłane z mojego GT-I9505 przy użyciu Tapatalka
[Galaxy S 4 i9505 Original Android Development] Rhoban:
All of them.

Also, these "improvements" aren't really noticeable outside of benchmarks.

PS: F2FS improves only write speeds. The system partition is read-only. So by converting it to F2FS you're simply making things slower.
[Galaxy S 4 i9505 Original Android Development] osa219:
but when I try to open the substratum app it refuse to open, what should I do :crying:

Thanks !!
[Galaxy S 4 i9505 Original Android Development] Poochini:
Hello

I`ve been test this rom. One interesting thing - when I`ll click on battery saving. Battery is working amazing, but performance is also good, no lags. How Can I use is as default.

Could you add system profile access (to easy switch them) from power menu or to QS?
[Galaxy S 4 i9505 Original Android Development] JerwinSayat:
Shutting down at 13% seems ah bad battery? A fake one? Coz i got no drains in battery with this rom with default kernel setup.
[Galaxy S 4 i9505 Original Android Development] grot84:
I have two original bat. When the phone cools down it can can be turn on and then works for somw time

Wysłane z mojego GT-I9505 przy użyciu Tapatalka
[Galaxy S 4 i9505 Original Android Development] Hayabusa_XDA:
bad performance

Hello, some bad news you maybe do not want to hear.

I wanted to put my old i9505 into occasionally use again which was running latest Stock 5.0 2016-12-12 ROM I9505XXUHPK2 so I did a clean install of "Optimized-LineageOS-14.1-20170711-Stable5" and micro OpenGApps - real clean, everything wiped / formatted etc., strictly following installation instructions. And yes, I'm flashing since about 6 years now.

First impression of this ROM was it's running very smooth and fast e.g. in Android-Settings, much better than stock rom.

But when putting system under some (even for an old S4) minor but permanent load, i.e. doing DLNA-streaming of good quality full-hd H264-MP4s, its performance got - sorry to say this - really horrible, the opposite of anything smooth. With stock rom the same task using the same phone and apps is hardly noticeable! Battery drain was huge too.

I can only imagine some serious kernel problem or wrong governor. Doesn't anybody else noticed this behavior? Any ideas?

I really appeciate the work of JDCTeam to keep this phone alive, but I'm glad I'd done a full backup before.
[Galaxy S 4 i9505 Original Android Development] side:
can you please try the official one and test again :) ? thanks
[Galaxy S 4 i9505 Original Android Development] isaac.caudillo:
Oh, then it's really not worth it changing the partitions to F2FS?

I've been using F2FS partitions since almost 2 and a half years, and this is the first time i read something like that :crying:.

I'm changing the partitions right now to EXT4, i'll give it a try to see how it turns out.

Thanks so much guys for the help :).
[Galaxy S 4 i9505 Original Android Development] side:
Donators has got access to test team's beta build folder.

Donators, PLEASE check your access and if i missed you send me PM immediately!
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
I am not quite sure which kernel I use..

It says pwr-core-aosp but is it standard kernel or alucard or sidecore? Got confused there...

When I change kernels is a clean flash necessary or can I just flash different kernel (with aroma installer)?
[Galaxy S 4 i9505 Original Android Development] side:
there are 4 kernels around which 2 of them are pretty same.

1-alucard for this rom is built by me , mostly maintained by B--B (NOT flashable-only inside the ROM)

2-alucard for AOSP rom which is used at AOSP rom (NOT flashable-only inside the ROM)

3-lineageos kernel which is at nightly which is ALSO added as option to aroma (YES.aroma uses PURE LINEAGE OS KERNEL AS OPTION)

4-sidecore which doesnt exist in ANY rom...(flashable)

if you flash kernels you dont have to clean something.simply flash it.
[Galaxy S 4 i9505 Original Android Development] Hayabusa_XDA:
bad performance - retest

OK, just flashed "lineage-14.1-20170719-nightly-jfltexx-signed.zip", everything else installed was exactly the same.

=>

Scrolling through Android-Settings nightly didn't feel as smooth as JDC rom, but while streaming via DLNA the same movies (my fav app is LocalCast Pro) again , the official jfltexx behaved well! Phone wasn't getting warm and run smoothly - although judging from memory stock might still be a little bit smoother under medium background load.

So I installed "Optimized-LineageOS-14.1-20170711-Stable5" again and again (!) while streaming is was lagging like hell and phone got really warm.

Frustrated I was ready to restore stock again but had to reload battery anyway. After 1,5 hours I neverthless somehow did some last test and big surprise, your ROM run flawlessly! :cool: Absolutely great for this old phone.

So maybe my mistake. Maybe media server or something else run amok twice after installing JDC ROM and accessing 128GB external sd the first time. I only wonder why the trouble maker doesn't behave this way after installing original jfltexx or stock.

Whatever - sorry for confusion. Now it seems to run and I will give it a try. I hope Bluetooth will work without problems in my car.

Thx for your great work.
[Galaxy S 4 i9505 Original Android Development] side:
about the buggy LTE 720 variants

those who dont have LTE please try this:

open system/build.prop and check if you have

telephony.lteOnGsmDevice=1

or

telephony.lteOnCdmaDevice=1

if you have LTE problems which the one command with the other one(and reboot) and tell me the results
[Galaxy S 4 i9505 Original Android Development] PePeMoke:
OK will try..but from Aroma installer i cannot simply flash kernels without reflash ROM right?

Where do I find the stock kernel "solo"?

In XDA forums I did not manage to find the right one....and don't want to flash something false...

Thanks in advance!
[Galaxy S 4 i9505 Original Android Development] side:
Stock kernel can be found at

Settings/Optimized LineageOS settings/Stock kernel

it will download stock kernel as flashable - check your Downloads folder at internal
[Galaxy S 4 i9505 Original Android Development] bmachina:
Second Micro SD as internal storage corrupted!

Heya! Just to let you guys know that I have a second Micro SD card corrupted, using it as adoptable storage, and this time I don't have changed the ROM or make any flash after I convert the Micro SD to internal storage.

I simply formatted the MSD as Internal storage and it was working for a day without any problems. I have installed a few apps and everything's looks ok. Next day, when I wake up I saw the small card icon notification exactly as the first time I have reported here a few pages ago.

The Micro SD is also dead but this time it's not even detected on any OS, not even on Linux.

To be honest, I'm a little frustrated not because the 2 dead Micro SD, they are still under warranty, but because I come to this ROM (which I'm loving it so far) because of this feature, use a micro sd as internal. I was always struggling with no space available for running apps on my SGS4.
[Galaxy S 4 i9505 Original Android Development] Mynacol:
Please say from which OEMs these Micro SD cards come from. I feel with you as already 2 of mine from SanDisk stopped working too. So if these broken cards are from SanDisk, I think it is not entirely, if any, the ROMs fault for the broken cards.

Note: this is only my experience with Micro SD cards, especially those with SanDisk...
[Galaxy S 4 i9505 Original Android Development] timenewroman:
Which file system to you recommend to use? F2fs or ext4? Which one works better on the current build?
[Galaxy S 4 i9505 Original Android Development] isaac.caudillo:
So I've been trying to use the phone as i usually do, now with all the partitions as EXT4 but it keeps softlocking when i unlock the phone and then after a minute goes to a bootloop as usual.

Could someone please tell me how can i attach logcats here?
[Galaxy S 4 i9505 Original Android Development] sjamie:
I am 99.5% sure your problems will disappear with a full wipe (system, data, dalivik, and cache) and clean flash.
[Galaxy S 4 i9505 Original Android Development] Mynacol:
Both are supported, but:

1. EXT4 is solid-stable. Use it if you want to have a stable system and avoid problems based on the file system

2. F2FS is faster, but maybe not so stable. In the past, F2FS support was somehow broken, but since some time it seems stable. Use it if you want maximum Performance and you are OK with problems that could occur and you are able to do a clean flash.
[Galaxy S 4 i9505 Original Android Development] guest4711:
Because the bettter performance of F2FS is only seen on writing, there is no need to use it on system which is mounted r/o. So I use F2FS on /data but EXT4 on /system (but I did not feel my phone is much faster/snappier after switching to F2FS).
[Galaxy S 4 i9505 Original Android Development] An68:
Hi , I installed the last version, 14.1-20170719-NIGHTLY-jfltexx, after full wipe. I can't download file from more browser, as whatsapp. Can someone help me please?
[Galaxy S 4 i9505 Original Android Development] Oto_Shan:
The phone is turn off before battery is fully drained. After that i need to charge the phone if i want to use OS. I upload logs, because i can't read it.