yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] side:
Hello everyone!

We have some news to announce.

Short Story: We set our repositories as PUBLIC. That means that ALL jdcteam roms for Pie will be Open Source and ready for build ( https://github.com/JDCTeam/manifests/commit/f5544e32269f6b8e74d2e41269416ee95ed6cadd )

Long Story: If u remember, i had announced the official pie release of LineageOS before some months. Due to some "obstacles" it was post poned until i said "fck it.i wont do it". Before 2-3 days i had some conversations with 2 lineage core members and as you can see at gerrit ( review.lineageos.org ) official is about to come! As we said back then, sources would be open/public ONLY when official was about to be released....So, as a man would do, we turned our roms to Open Source.

Do you want to build optlos16 ?

Small tutorial for builders:

repo init the manifest

repo sync

run ./build.sh ( its an automatic build script that is provided by vendor/jdc repo )

select 2 or 3 ( Select 2 if you respect us )

Wait for the build to be done

Profit

Of course, any pull request is welcome.

Cheers
[Galaxy S 4 i9505 Original Android Development] BiMax:
Not working for me neither in ver 9.0 nor in 9.1.

Also beta v10 not working :crying:
[Galaxy S 4 i9505 Original Android Development] stomarti:
I did get a Logcat and dmesg:

Dmesg: https://pastebin.com/SQp2gxji

Logcat: https://pastebin.com/ytMkKiq3
[Galaxy S 4 i9505 Original Android Development] rjt2291:
Sweet. Now all we need is a functional TWRP with Pie support on all JFLTE devices. Touchscreen on JFLTETMO with your unified JFLTE 3.2.3 doesn't work unless you restart it enough times that it eventually fails to read the saved config file and boots off default settings. I can't remember if 3.3.0 or .1 even boots to splash screen.
[Galaxy S 4 i9505 Original Android Development] side:
its not about tmo.its about strange LCD firmwares
[Galaxy S 4 i9505 Original Android Development] gvamp:
Great news, that it's open source now !
[Galaxy S 4 i9505 Original Android Development] Retrial:
Yes, I hope ppl now can understand the meaning between open source and the pure copy kang of projects. :fingers-crossed:
[Galaxy S 4 i9505 Original Android Development] pocketrule:
You can connect a pc mouse with an usb otg cable
[Galaxy S 4 i9505 Original Android Development] milanitalia:
With this ROM it seems to me that the cell phone consumes a little more battery (compared to Resurrection Remix 5.8.5 FINAL Rel 40 9 7.1.2_r36) and it overheats much more easily and quickly. For the rest no problem to report, Great work! I look forward to the SElinux switch.

---------- Post added at 04:54 PM ---------- Previous post was at 03:57 PM ----------

Can I flash 9.1 from 9.0 with dirty flash? Or should I do the clean install?
[Galaxy S 4 i9505 Original Android Development] Retrial:
Overheating is under research to find the issue. Actually we know that 1 cpu core is always active at high frequency and that causes the overheating.

You can dirty flash yes, however if you have problems besides overheating then do a clean flash.
[Galaxy S 4 i9505 Original Android Development] reilyn27:
I do not know if it just happens to me but I feel that the instagram and twitter application notifications arrive very late, I have to reboot the cel or turn the wifi on and off so that notifications arrive, I have the galaxy s7 edge and the s4 and in the s7 edge arrive well only happens in the s4 I do not know if it is due to the rom.
[Galaxy S 4 i9505 Original Android Development] side:
It happens on my oneplus 5 though
[Galaxy S 4 i9505 Original Android Development] Mr.Roombag:
My S4 also heats up quickly and battery dumps faster.

Is that already fixed, because the changelog for 9.1 says

MR
[Galaxy S 4 i9505 Original Android Development] Retrial:
Unfortunately it is not fixed yet. Install Buffcore app from the Aroma and check yourself the cpu cores.

Side is looking at it for a fix.
[Galaxy S 4 i9505 Original Android Development] reilyn27:
ohhh:(
[Galaxy S 4 i9505 Original Android Development] raykai:
Where can we get the GO version?
[Galaxy S 4 i9505 Original Android Development] Kippy51:
It's discontinued.
[Galaxy S 4 i9505 Original Android Development] xell75:
Oh, I hope just for Pie Roms and not completely.
[Galaxy S 4 i9505 Original Android Development] Axl_Mas:
After clean install of 12 June build I had heats and battery issues. Reinstalling the same build without gapps I have solved them. Gapps were opengapps pico. Hope this helps
[Galaxy S 4 i9505 Original Android Development] sjamie:
Yep, although performance is better now than it was on my previous RR Nougat ROM, my phone is also drinking battery like a college student! :eek::laugh:
[Galaxy S 4 i9505 Original Android Development] mxre:
I also noticed a significant power train and heating up off the phone after installing 9.1, but only so when WiFi is active (even when not connected). Noticing that BuffCore shows all 4 cores constantly active, and "top" (via adb) shows android.hardware.wifi@1.0-service and logd at about 10% CPU each, I investigated the system logs and found that I was spammed with the following:

06-23 03:24:57.433 3936 4041 D WifiP2pNative: Setup P2P interface
06-23 03:24:57.448 3936 4041 I android_os_HwBinder: HwBinder: Starting thread pool for default::android.hardware.wifi.supplicant@1.0::ISupplicant
06-23 03:24:57.449 3936 4041 D SupplicantP2pIfaceHal: entering addInterface({.type = P2P, .name = p2p-dev-wlan0})
06-23 03:24:57.451 3936 4041 I android_os_HwBinder: HwBinder: Starting thread pool for default::android.hardware.wifi.supplicant@1.0::ISupplicant
06-23 03:24:57.453 11267 11267 E wpa_supplicant: Could not read interface p2p-dev-wlan0 flags: No such device
06-23 03:24:57.454 11267 11267 I wpa_supplicant: nl80211: Driver does not support authentication/association or connect commands
06-23 03:24:57.454 11267 11267 I wpa_supplicant: nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
06-23 03:24:57.454 11267 11267 E wpa_supplicant: Could not read interface p2p-dev-wlan0 flags: No such device
06-23 03:24:57.454 11267 11267 E wpa_supplicant: p2p-dev-wlan0: Failed to initialize driver interface
06-23 03:24:57.455 3936 4041 E SupplicantP2pIfaceHal: Failed to get ISupplicantIface 1
06-23 03:24:57.455 3936 4041 E SupplicantP2pIfaceHal: initSupplicantP2pIface got null iface
06-23 03:24:57.455 3936 4041 E WifiP2pNative: Failed to setup P2p iface in supplicant
06-23 03:24:57.455 3936 4041 D WifiP2pNative: Teardown P2P interface
06-23 03:24:57.463 3936 4041 I WifiP2pNative: P2P interface teardown completed
06-23 03:24:57.463 3936 4041 E WifiP2pService: Failed to setup interface for P2P
06-23 03:24:57.463 3936 4041 D WifiP2pNative: P2P InterfaceAvailableListener false
06-23 03:24:57.463 3936 4041 D WifiP2pService: Wifi enabled=true, P2P Interface availability=false
06-23 03:24:57.464 3936 4041 D WifiP2pNative: P2P InterfaceDestroyedListener p2p-dev-wlan0
06-23 03:24:57.464 3936 4041 D WifiP2pNative: Ignoring stale interface destroyed listener
06-23 03:24:57.464 3936 4041 D WifiP2pNative: P2P InterfaceAvailableListener true
06-23 03:24:57.465 3936 4041 D WifiP2pService: Wifi enabled=true, P2P Interface availability=true, Number of clients=1
06-23 03:24:57.465 3936 4041 D WifiP2pService: Wifi enabled=true, P2P Interface availability=true

So for now I just switch of WiFi, all in all Version 9.1 seems more responsive (for me than 8 and 7), so good job there :good:
[Galaxy S 4 i9505 Original Android Development] sjamie:
Great work! I hope it helps our super friends Buffy and Siderman! :laugh:
[Galaxy S 4 i9505 Original Android Development] thestealthreporter:
I'm having the same issues with 8.0, 9.0 and 9.1. I have an 20$ replacement screen from AliExpress for the GT-i9505 (https :// www . aliexpress . com/item/32837185465.html?spm=a2g0s.12269583.0.0.7508e882UTvgWV).

The stock rom works without any problems. This ROM has a boot loop however:

1) it boots up and shows the Samsung logo

2) backlight turns of for some fraction of a second and then on again

3) the indication LED on the top changes color a few times and stops at a random color

4) after about 10s the device reboots
[Galaxy S 4 i9505 Original Android Development] side:
We need logs (Logcat, dmesg, kmsg) SINCE BOOT/SPLASH SCREEN
[Galaxy S 4 i9505 Original Android Development] Widrir:
Energy issue

Original Lineage works very slowly, this one smooth. I have a big accu in there, but must powered up three times day, without wlan too
[Galaxy S 4 i9505 Original Android Development] stomarti:
i9505-TWRP-3.2.3_working_touchscreen_after_sleep_not_working_anymore-dmesg:

https://pastebin.com/URBC36Mp

i9505-Optimized-LineageOS-16.0-Version7.0-dmesg:

https://pastebin.com/KYf718my

Optimized LineageOS 16.0 Verion9.1

Dmesg: https://pastebin.com/SQp2gxji

Logcat: https://pastebin.com/ytMkKiq3
[Galaxy S 4 i9505 Original Android Development] thestealthreporter:
Here are the logs of LineageOS 16 V9.1 (obtained via last_kmsg from TWRP) for GT-i9505 with a replacement display:

https:// pastebin.com/f3jep1UD [remove the space, it is needed to post links]

This is the kmsg from the same Samsung S4 with stock firmware:

https:// pastebin.com/JxzcbUQq

This is the logcat of the same device with stock firmware:

https:// pastebin.com/v0JJQzAw

Logcat of LineageOS 16 V9.1 cannot be obtained, because the system does not get this far.

It seems to me that indeed the synaptics_rmi4_i2c module is not working correctly. If there are ways to get more logs/debugging info I'm happy to help.

(Extract from the last_kmsg of LineageOS 16 V9.1)
[Galaxy S 4 i9505 Original Android Development] kumpuu:
Here are logs from my device (i9507, v9.1)

dmesg from twrp: pastebin.com/5uDSsf35

logcat: pasted.co/0e607ac0

First time for me, I hope I did everything right.
[Galaxy S 4 i9505 Original Android Development] side:
screen wake/touch issues are fixed. will be included to v10.

although seems like i will have to recompile TWRP for those who have issues with twrp(both official and jdc one)
[Galaxy S 4 i9505 Original Android Development] sjamie:
Woo-hoo! ??
[Galaxy S 4 i9505 Original Android Development] bersem:
V9 performance are great but the phone getting very hot while charging and in the pocket. This results in soft reboots every day.
[Galaxy S 4 i9505 Original Android Development] tanchette:
Hi,

When I receive an incoming call, the screen stays off.

I've search and tryed différents solution, but no success. Proximity sensor works well.

Thanks for the help!
[Galaxy S 4 i9505 Original Android Development] dequadim:
This new release has really many issues. I will wait for the next one.
[Galaxy S 4 i9505 Original Android Development] Buff99:
If you do not detail your problems, if you do not post logs, how can anything improve?

Oh wait , you expect other users to do it for you??

Freeloaders get nothing they wish for.
[Galaxy S 4 i9505 Original Android Development] side:
Perfect said
[Galaxy S 4 i9505 Original Android Development] sjamie:
Tsk... tsk... tsk... you gotta help the devs help you (and the rest of the community).
[Galaxy S 4 i9505 Original Android Development] tanchette:
Followin some forums, I installed an alternative phone app, and now the phone pefectly wakes up on incoming call. Apparently, it's google's phone app that has bug, and last version is fixed, but as this app is installed as system app, I don't know how to update it from store. Anyway, I found a work around.

To me, the only problem I've found on this rom is that it consumes much more battery that JDCTeam LineageOS 14 I was using before. The rest is perfect.

Thanks for the work :D
[Galaxy S 4 i9505 Original Android Development] gennodi:
It is possible to resize the system partition, because i see with an app it has 1.6 gb free, or cause instability?
[Galaxy S 4 i9505 Original Android Development] Buff99:
The fact it has 1.6gb free shows it has been resized upwards from default. There is little you can use it for however.

The best use is with larger gapps packages. Installing every Google app you use into system will save space in your data partition.

So instead of Nano or Pico I used to use the full Super package with a gapps-config file, picking all the Google apps i would install from the playstore. This would save me about 400mb of data space. I haven't tried this with pie however.

https://github.com/opengapps/opengapps/wiki/Advanced-Features-and-Options

And example config file here

https://xdaforums.com/showpost.php?p=73096430&postcount=7

You could also move certain apps to system with an app like Titanium backup, again saving space in your data partition.
[Galaxy S 4 i9505 Original Android Development] BennettY:
Just a heads up, it seems that my SIM card was not functional with the latest 9.1 version, and I reinserted and restarted a few times to be sure. Flashing the 9.0 version of the ROM seems to resolve all SIM card detection issues immediately. I didn't recall seeing anything about SIM cards not working so I'm assuming that this is probably not expected behavior.

I could try supply a log but I'm not familiar with how long they persist. I took a log earlier before re-flashing the 9.0 so I don't know if it is still there.
[Galaxy S 4 i9505 Original Android Development] cawli2:
Opt LOS 16 v9.1 ... Dropped call when going from call to speaker phone back to call. This has happened at least twice. Repeatable. Subsequent calls do not go through. Power recycle required. Then calls work but I notice excessive heat at ear.
[Galaxy S 4 i9505 Original Android Development] Tadeooo:
Hello, gentlemen, thank you for a great fast rom but I have a problem my GT i9505 lose the sim card only helps to restart the phone
[Galaxy S 4 i9505 Original Android Development] Savatage76:
if you install larger gapps package when you update these apps, which space is occupied ?

thanks
[Galaxy S 4 i9505 Original Android Development] Buff99:
If you update an app installed in system from playstore the update goes to data as normal.

If you flash a newer gapps package the apps in system are updated and any previous updates in data are discarded.
[Galaxy S 4 i9505 Original Android Development] tanchette:
Hi,

A little fun story, to change the bug mood :D

Yesterday, I had the famous no sim bug... Panic. I tried to reboot, dirty flash 9 on 9.1, reflashed 9... Nothing to do.

Then I tried something different : and if it was not a bug. I took my car and drove 10min, and the miracle apprears : sim is there.

Finally, it was only a network bug, everything was fine on the phone .

So thanks JDCTEAM
[Galaxy S 4 i9505 Original Android Development] didi71:
Hi, the installation went smoothly but I noticed one small inconvenience. When making a phone call, when I hook up ordinary headphones, you hear a loud noise. In the previous version of Lineageos15 it was not. Maybe it can be somehow improved. Thank you and best regards.
[Galaxy S 4 i9505 Original Android Development] cawli2:
OptLOS 16 v9.1. Gallery review works for a bit then screen flickers and goes black. Hit power button to lock, then unlock and all is good again ... For a while.

Pics being looked at are on external sdcard. I'll try to reproduce on internal memory.
[Galaxy S 4 i9505 Original Android Development] Garry_s:
WiFi and Bluetooth Stopped Working after installation this rom - > Tried going back to stock than clean installation this one - no luck

Infact now wifi and bluetooth doesn't work on previously installed rom ( Lineage nougat office ) ???
[Galaxy S 4 i9505 Original Android Development] ExquisiteArcaneAstralMystic:
Anytime wifi is not working u do this (u can do it now or reinstall newest version and do it after installation or anytime when it happens because I have the same thing and it is easy to fix)

1. Shutdown the phone

2. Vol down + power + home (middle button) all three at the same time

Now you are in the "download mode"

3. Press Vol up to continue

4. Vol down + power + home (middle button) all three at the same time - this will reboot your phone

=

Wifi is working again
[Galaxy S 4 i9505 Original Android Development] side:
The new update will be kinda late, even if the security patch will be out. But trust me... It will be very nice

Also the official pie for jfltexx is true. Going to be released from day to day
[Galaxy S 4 i9505 Original Android Development] Garry_s:
I tried your way few times but still no luck! ?
[Galaxy S 4 i9505 Original Android Development] ExquisiteArcaneAstralMystic:
Uhmm...

What exactly?

You can't get into download mode?

OR

You saw that screen where it says download mode and logo of android but after seeing that it didn't changed the state of wifi after reboot?

If the second then I'm really sorry I don't know how to help you (I'm not an expert, just a user) because in my case it is working everytime I do it, so after the reboot it works with the guarantee 100% (and I've done it hundred times so for me personally this "trick" haven't failed yet)
[Galaxy S 4 i9505 Original Android Development] Retrial:
Have you done Clean Install?

1.Reboot to TWRP Recovery (power button+vol.up+home button), go to Advanced-File Manager-external_sd and delete all folders on ur ext sd card (For example you should delete: Android, .android_secure, LOST.DIR, DCIM, etc) except your personal files/folders and the folder with your custom Rom/Magisk/Gapps you want to flash.

2.Now still on TWRP select Wipe-Format Data and type yes-then go back and press-Advanced Wipe-Select Dalvik / ART Cache, System, Data, Internal Storage, Cache and then Swipe to Wipe.

3.Flash your Custom Rom--->Magisk--->Gapps.

4.Let the Rom boot and Install Magisk Manager manually if it's not preinstalled. Enjoy!

What Modem/Bootloader do you use? PK2 or QK1 (the latest) recommended, so if you don't have any of these try to flash from Odin and check Wifi-BL again. (Make sure that the Modem-Bootloader flashed properly)

Reboot your device to Download Mode and Flash Modem(CP Section)+BL(BL Section) via Odin. (Untick Auto Reboot in options before you flash and when you have flashed it, Reboot to Download Mode and Flash Modem+BL again with Auto Reboot on)
[Galaxy S 4 i9505 Original Android Development] AzE0loX0:
Doze mode settings resets randomly problem

Hi there,

i use a doze settings editor like "naptime by francisco" or "doze setting editor".

OS is Lineage 14 15 or 16 I've tried all and it's all the same problem.

It's a Galaxy S4 9505.

The settings resets ramdomly or after reboot.

What can i do with this issue?

--help please--
[Galaxy S 4 i9505 Original Android Development] Garry_s:
Yes i can get into download mode and tried your trick ,, unfortunately it didn't worked for me , thanks anyway

---------- Post added at 12:30 PM ---------- Previous post was at 11:46 AM ----------

- Yes i did clean install

- i currently have QA3 (I9505XXSHQA3)

I will try Your way tonight - clean install again
[Galaxy S 4 i9505 Original Android Development] bersem:
Thanks for you hard work [MENTION=5968293]side[/MENTION]. Hope the battery drain will be solved with the new updated Version.

Regards !
[Galaxy S 4 i9505 Original Android Development] Godstrump:
Optimized Lineage 16 Samsung S4 I9505 Wifi and Bluetooth error

Regarding the lineage 16, I use a Samsung s4 I9505 jtflexx. The wifi and Bluetooth turns on only once after installing the rom, but after that it gives errors and closes. Help!!!!
[Galaxy S 4 i9505 Original Android Development] rw_on_xda:
ping [MENTION=6753279]Retrial[/MENTION], ${ALL}

I need some clarfication regarding last stock FW or components there in (BL, Modem)

Currently I'm runnning unoffical LOS 16 without any trouble.

Last stock FW before was:

Model GT-I9505

Model name GALAXY S4

Country Germany

Version Android 5.0.1

Changelist 5978264

Build date Wed, 16 Nov 2016 10:12:05 +0000

Security Patch Level 2016-11-01

Product code DBT

PDA I9505XXUHPK2

CSC I9505OXAHPK1

Now I read this:

https://review.lineageos.org/c/Line...samsung_jfltexx/+/250126/2/lineage_jfltexx.mk

mentioning "I9505XXUHQK1", the last stock FW and your above advice to flash PK2 or QK1.

I know there is a ~new~ stock (I9505XXUHQK1) out, but NOT for DBT.

https://www.sammobile.com/samsung/galaxy-s4/firmware/GT-I9505/

What should I do ?:

1. wait, cause with release of Official LOS my phone gets updated with the new stock components (BL, Modem) too without any extra effort.

2. clean flash last stock, even it's not for DBT AND switch somehow to DBT [1], then flash LOS, ...

[1]

I mean to remember that I had done so years ago; maybe with another phone/ROM...

I guest it was via developer option/parts or a menue there in or or or ...

- don't know if it's (still) possible to do so now ! -

===

[MENTION=10017864]Godstrump[/MENTION]

I got a I9505 jtflexx, too.

switching wifi/BT works WITHOUT any errors here - (doesn't tried to pair BT devices though) -

LOS 16 was clean flashed !
[Galaxy S 4 i9505 Original Android Development] Retrial:
Hello,

Do you mind to tell me where did you found the unofficial 16? Who is the dev?

Now to the subject...

Links:

QK1 Modem

QK1 Bootloader

QK1 Firmware Stock Rom - doesn't really matter which country you will choose!

You can change your Modem and BL to latest QK1 by flashing them via Odin in the proper section. NO need to flash stock rom if you don't want.

Steps:

1.Open Odin

2.Reboot your device to Download Mode, connect it to PC and put Modem(CP Section)+BL(BL Section). Untick Auto Reboot in options before you flash and when you have flashed it, Reboot to Download Mode and Flash Modem+BL again with Auto Reboot on.

3.Done! Check what Modem and BL you have, if Modem and BL didn't changed do the same steps again.

Some explanation:

***For Stock Rom to have your WiFi working you need to have the same version of Modem/BL as your Firmware. For example if you have QK1 Stock Rom then you need to have QK1 Modem/BL.

On Custom Roms doesn't matter. You can have any of the latest Modem/BL you want but recommend is the latest QK1.***

For more info you can find my full guides HERE

Peace:fingers-crossed:
[Galaxy S 4 i9505 Original Android Development] rw_on_xda:
maybe I wasn't clear.

I meant "Optimized LineageOS 16.0" from this thread, here !

you mean it's also possible to flash the whole QK1 Firmware Stock Rom AND it will work as stock for my country , even it's NOT for DBT ?

thanks ! :)
[Galaxy S 4 i9505 Original Android Development] Retrial:
Yes it should work.

However keep in mind by flashing whole QK1 Firmware will not change your Modem and Bootloader to QK1. You need to flash them seperate with the steps I told you above to have your wifi working at stock rom.

With few words if you wanna stay in your custom Rom, flash Modem and Bootloader from Odin. No need to flash Stock Rom.
[Galaxy S 4 i9505 Original Android Development] rw_on_xda:
and here laid my misunderstanding, up to now !

I thought modem/BL get changed by flashing (custom) rom's, too.

THX for clarification !!! :)
[Galaxy S 4 i9505 Original Android Development] Garry_s:
I tried all the steps -

Now it's having Modem/Bootloader QK1

But still no WiFi or Bluetooth !!!

It can't be a hardware related issue because it was working fine - i didn't dropped it or caused any damage
[Galaxy S 4 i9505 Original Android Development] rw_on_xda:
Today I flashed [1] Modem/Bootloader from QK1 too.

BT/Wifi (still) working - doesn't tried BT pairing though -

[1] need to try several ODIN versions (3.13 - 3.06; success with 3.10.7).

strange to say all versions reported flash without errors, but BL/Modem were still stock, until it failed and afterwards it suddenly went okay !

strange ... :confused:
[Galaxy S 4 i9505 Original Android Development] steini81:
For me Wifi and BT are working perfect and never had the simcard error with this rom. You can see the infos in attached screenshot.