yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] RDS5:
having also had this problem myself, and looking at you last_kmsg, i would actually recommend unplugging the softkeys internally and seeing if it then decides to boot. looking at your logs, its very obvious that the main error is that its failing to properly communicate with your touch keys.

the thing is, my phone's touchkeys are physicially disconnected from the phone (because of a crack in the touchkeys motherboard, otherwise the home button does still work), and the kernel recognizes that (because of the "[TouchKey] cypress_touchkey_probe 1477 Device wasn't connected to board" message in my kernel log). im thinking, if your kernel cant even detect there are touchkeys, it will ignore it and move on. if it detects there are touch keys but struggles/fails to communicate, it will crash/loop. so try it and see if it yields any results.

then again, your phone might also have some strange display mismatch (like mine seems to have).

take this all with a grain of salt tho, im not a developer for jflte devices at all. all of this is just my research based on things ive learnt from my very own non-booting galaxy s4.
[Galaxy S 4 i9505 Original Android Development] freonchill:
Thanks for the feedback. I'll have to go look back at tutorials and see if I can easily disconnect the soft keys and not the home key.

There is a missmatch, as the phone is really a sgh-i337 that I "unlocked" (a relative term since you really couldn't unlock the bootloader, but were able to keep it from updating from version _mdl when I first got it, so I could use Loki to patch the twrp to boot for the 5 years it was my daily driver) and after the power button failed for the second time (I had a hole in the wall shop replace the button when I was at Disney once for $40, button and labor), got an unlocked 9505 off eBay for $20 and replaced the mainboard.

I read into the miss-match between the softkey hardware and the sgh-i337 when changing out to the 9505) but since I could boot the then latest version of lineage and use a softkey app, didn't try the potentially bricking (causing the home button to fail as well) to update the firmware for the softkeys to be compatible, that would require delaminating the keys from the glass / screen, requiring at $75 fix...

Update, it looks like the home and softkeys are one connector. Any idea how to separate?

About 5:55
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Logs attached.

Unable to attach logs so relevant part of TWRP recovery log is shown below:

Installing zip file '/external_sd/Optimized-LineageOS-19.1-V5.0.zip'

Unmounting System...

I:Update binary zip

I:Extracting updater binary 'META-INF/com/google/android/update-binary'

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment not used in updater.

No path given to file labeling backend

selinux_android_file_context: Error getting file context handle (No such file or directory)

script aborted: E3004: This package is for device: jflte,jfltexx,i9505,GT-I9505,jgedlte,i9505g,GT-I9505G,9505G,i9505G,GT-9505G,9507,GT-9507,i9507,9508,GT-9508,i9508,jfltevzw,jfltespr,jflterefreshspr,jfltetmo,jfltecri,jfltecsp,jflteatt,jfltecan,jfltetfnatt,jfltetfntmo,jflteusc,jfltezm; this device is .

E3004: This package is for device: jflte,jfltexx,i9505,GT-I9505,jgedlte,i9505g,GT-I9505G,9505G,i9505G,GT-9505G,9507,GT-9507,i9507,9508,GT-9508,i9508,jfltevzw,jfltespr,jflterefreshspr,jfltetmo,jfltecri,jfltecsp,jflteatt,jfltecan,jfltetfnatt,jfltetfntmo,jflteusc,jfltezm; this device is .error: 3004

Updater process ended with ERROR: 1

I:Install took 0 second(s).

Error installing zip file '/external_sd/Optimized-LineageOS-19.1-V5.0.zip'
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
Okay umm did you use unofficial TWRP 3.6.2-9?
[Galaxy S 4 i9505 Original Android Development] stuie1952:
No. I used TWRP 3.6.1_9-0-jflte.img.
[Galaxy S 4 i9505 Original Android Development] RDS5:
oh right, they are.

if you want, you could just completely substitute them for software buttons, but i dont know if you want to do that or not.

hmm, well i would recommend first trying to flash the other firmwares

ive already tried flashing a multitude of different firmwares to my sgh-m919v and it never bricked the phone. i hear that flashing the modem files may brick it, but ive never actually bricked mine, so you may want to try messing around with different firmware versions. flashing i337m and m919 firmware kept the phone perfectly functional (it still wouldnt boot into this rom. im now 200% sure its the display, the one part i really didnt want to replace..)

also, it seems like the home button bypasses most of the circutry (just guessing based on my experiences) because all my softkeys are physically broken (the little softkey control board is crunched) but the home button still works. im pretty sure it goes on a different rail, so if you're experienced in microsoldering, you could figure something out (not that it'd be a very good solution judging by the fact that you might aswell just use software buttons).

anyways, id first recommend just trying to boot it without the buttons connected at all, just to see if it boots like that. if it does, you can then try using the software solutions like flashing different firmwares or using software buttons if you're confterable with them. if it doesnt work AT ALL then you're probably looking at getting some new softbuttons/board or trying to debug further.
[Galaxy S 4 i9505 Original Android Development] side:
v6 released
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Many thanks. That fixed it :)
[Galaxy S 4 i9505 Original Android Development] RDS5:
glad i could help!
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Anyone know how to remove the google search bar from the home screen.
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Found it 😁😁😁
[Galaxy S 4 i9505 Original Android Development] ktm_91:
Isn't night light available on this ROM?
[Galaxy S 4 i9505 Original Android Development] greatninja:
No
[Galaxy S 4 i9505 Original Android Development] gnikolson:
I have a problem does not update , and in clean install does not install gaps/
[Galaxy S 4 i9505 Original Android Development] fred427:
Thank you for this new release.

Is there a way to instal samsung gear on this version. I try many things....magiskhide props and safetynet fix but it doesn't work.

Maybe you have the solution

Sorry for my poor english
[Galaxy S 4 i9505 Original Android Development] pocketrule:
If you've got problems, you should (always) first check op if there are known problems / information about flashing etc. If you would have done it, you could have seen the reference to SAMSUNG GALAXY S4 UNIFIED GUIDES & COLLECTION 👨‍🏫 from @Retrial - a great collection of flashing (and troubleshooting) guides. I advise to check it out.
[Galaxy S 4 i9505 Original Android Development] carlos974:
Thanks also for the crDroid launcher!
[Galaxy S 4 i9505 Original Android Development] ktm_91:
Will it be added in a future release?
[Galaxy S 4 i9505 Original Android Development] Nurullah55:
It's pretty cool. Thank you so much. I am currently using this software.
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Congratulations side on another great achievement !! Yet another masterpiece !!

Dirty update and flawless execution !!

🥳🥳🥳
[Galaxy S 4 i9505 Original Android Development] carlos974:
Thanks:

https://xdaforums.com/t/magisk-modu...pp-with-any-custom-rom.4459715/#post-87050493
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Oops. I found it ... then I lost it again ! Any help with this much appreciated 🙏
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Google pay is not working for me, even with safetynetfix 2.2.1 installed and passing safetynet test.

"Phone doesn't meet security requirements."

Any help much appreciated.

Could be because the system is running in permissive mode ?
[Galaxy S 4 i9505 Original Android Development] Hassan_51:
Can you make this optimized lineage os 19.1 rom for s6edge+?
[Galaxy S 4 i9505 Original Android Development] Hassan_51:
Sir, i am sorry for disturbing you, i just want to know if the team has made the optimized lineage os 19.1 rom for s6 edge plus or will they be making any in future
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
JDCTeam is working for s4 and poco f1 only ... and also, welcome to XDA
[Galaxy S 4 i9505 Original Android Development] Hassan_51:
Thank you for your help and thanks for the welcome❤️
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Some progress. Google pay works if accessed from the task bar, but not if accessed from the app. Maybe that's a feature and not a bug 😉😉😉
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Found it again. Hold home screen for widgets etc. Go to home screen settings. Look for on/off switch for google search bar. Bingo !!!
[Galaxy S 4 i9505 Original Android Development] JohnnyGui:
Is it just me or does the YouTube app show a corrupted videoscreen when playing any video?

How do I fix this?
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Me too, on 9505 😁😁😁
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Doing nothing for a while has fixed my YouTube issues. Wish everything was so simple 🙃🙂🙂🙂
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
Some (probably old) screenshots about the ROM:
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
Anyone that has an other model than GT-I9505 but the model is compatible with this ROM:

Can you test my unofficial TWRP 3.6.2 build?

I would thank you!

Thread link:

https://xdaforums.com/t/recovery-jf...touch-recovery-custom-builds-testing.4415263/
[Galaxy S 4 i9505 Original Android Development] CuriousFox446:
My SM-S975L model can detect the sim card but my SPH-L720 model doesn't detect any.
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Google pay is working now both in app and taskbar. Nothing done by me. Looks like side has developed self repair system !! 🤔🤔🤔
[Galaxy S 4 i9505 Original Android Development] freonchill:
Unplugging the connector that feeds the 3 buttons still wouldn't boot the first time. I left it for 15 minutes, 3 times and just stayed on the boot screen.

Wonder if jdcteam could edit the code based on the error log...
[Galaxy S 4 i9505 Original Android Development] droydr:
hello -

i'm unable to flash those regular arm GApps (NOT arm64) June 5 version you mentioned above on my SGH-M919 (jfltemo)

i didn't have a problem flashing the latest ROM v6 within TWRP 3.6.2-9.0 but the GApps flash is failing

here's what the message says on my screen within TWRP:

MindTheGapps installer

********************

Extracting files

Setting up environment

Mounting partitions

Could not mount/mnt/system! Aborting

Cleaning up files

Unmounting partitions

Updater process ended with ERROR: 1

Error installing zip file '/sdcard/MindTheGapps-12.1.0-arm-20220605_111643.zip'

Updating partition details...

...done

i've tried shutting down and rebooting system several times and then flashing again but it fails each time

any suggestions? thanks for your time and help
[Galaxy S 4 i9505 Original Android Development] droydr:
^^ update on above

i figured i'd keep the above post there just in case anyone else runs into the same problem

anyway, i think i found the issue - the GApps didn't flash with TWRP 3.6.2-9.0 (testing), so i figured i'd try flashing them using the latest official TWRP "3.6.1_9-0-jflte.img" version instead and that worked
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
can you provide me the recovery.log ?

when it failed to flash gapps on twrp 3.6.2?
[Galaxy S 4 i9505 Original Android Development] schitthoch2:
Hi.

I have just updated from v5 to v6 and updated to latest MindTheGapps-12.1.0-arm at the same time.

When i have rebooted the phone it does not connect to known WLANs. I have to manually turn off and again on the WLAN/Internet in order to connect succesfully afterwards .

How can I solve this?

Second issue is that I cannot make Kiosk mode to run. I can`t choose an app to be used as pinned.
[Galaxy S 4 i9505 Original Android Development] Concept48:
Will be fixed today sir.
[Galaxy S 4 i9505 Original Android Development] droydr:
sorry, i didn't keep it. i wiped everything and did a clean reflash thereafter
[Galaxy S 4 i9505 Original Android Development] greatninja:
wifi Is known rom problem still needs to be fixed by @side

for now you can use "reset network settings" when problem appears

nothing more you can do with this
[Galaxy S 4 i9505 Original Android Development] JohnnyGui:
Hey guys,

The split screen feature is not working for some reason with Lineageos 19.

It worked flawlessly with version 18. How come?
[Galaxy S 4 i9505 Original Android Development] thorti1:
Thanks for the great ROM. I found that there is a problem mirroring the display to a computer using Apowermirror or Airmore or MyPhoneExplorer or Airdroid. When switching between the startup screens, the screen switching is very slow, until disconnecting. Same problem when scrolling the app list.
[Galaxy S 4 i9505 Original Android Development] JohnnyGui:
Waiting only helps when opening YouTube in a browser. But the videos in the YouTube app itself stays corrupted for some reason
[Galaxy S 4 i9505 Original Android Development] pocketrule:
I don't know which technique these apps use. But your description seems very similar to the problems with built-in wireless display / miracast. The developer is aware about this problem. But we can't expect a quick solution. We have to wait, if it can be fixed at all and if he's got time to do it.
[Galaxy S 4 i9505 Original Android Development] Sterillium:
Amazing AMAZING work!

Is there a way to activate navigation gestures?

(Sorry if this question has been answered, I searched but couldn't find anything).
[Galaxy S 4 i9505 Original Android Development] droydr:
hello,

i'm unable to make outgoing phone calls or receive incoming calls either. incoming calls go straight to voice mail and outgoing calls never successfully connect. it just says "Calling xxx number" but eventually the call just ends without it ever having been connected.

WiFi and Mobile Data work fine, but perhaps it doesn't recognize my sim card entirely? there's an exclamation point embedded within the cellular signal icon in the notification bar.

my carrier is H2O Wireless (AT&T mvno)

model SGH-M919 on latest 19.1 v6 with Mind The Gapps

i've taken out the sim several times, wiped it off, blown air into the sim slot, etc. and then put it back in, powered down phone, restart system, nothing's helped

i see the posts early in this thread where some users mentioned unrecognized sim issues, but it's not clear how/if those were resolved? one person mentioned they were going back to 18.1 v9 - not sure if that's something i should try or not.

any help would be appreciated, thank you.
[Galaxy S 4 i9505 Original Android Development] gwm121:
thx downloaded optimised 19

usinng odin is .img.tar for twrp ok to use

at present having laded pixel pye on 19505 twrp dissapeared it only boots to pixel, so far ive been unable to reload twrp even though it shes success withodin, any suggestions
[Galaxy S 4 i9505 Original Android Development] droydr:
follow up to my post #234 above..

i talked to my wireless carrier (H2O Wireless) and they said the S4 is no longer supported on their network (AT&T) since they've shut down their 3G network. they said the S4 "lacks the necessary 4G bands that AT&T requires". also, the S4 is not listed as an approved device on the AT&T website either.

i asked how that could be since the S4 has LTE and i can still text and use mobile data with it, just not make or receive calls. the tech guy basically said that i'm lucky i can still do that much with it, but eventually those features won't work either as long as i'm with H2O/AT&T. he said it's possible the S4 could potentially work with a different carrier, but doesn't know one to refer me to.

couple questions...

1. is this info they told me correct - the S4 lacks certain (or all) 4G bands?

2. for those of you who are still able to use your unlocked GSM S4

in the USA

- which carrier are you on?
[Galaxy S 4 i9505 Original Android Development] pocketrule:
I've never heard of sim cards which only get recognized partly by a mobile phone. If mobile data works fine, your phone should be able to make and receive calls, too. I've read some time ago, that carriers switching from "classic" calls to VoLTE. Maybe that's with your carrier, too. Unfortunately, our old S4 doesn't support it at all.
[Galaxy S 4 i9505 Original Android Development] pocketrule:
IIRC, that's not entirely true. Obviously I was right to assume your carrier switched to VoLTE. Until now I thought, VoLTE works with the existing 4G bands. But - of course - in any case your device has to support it. If you want to know more about it, you can just search for VoLTE. I'm quite sure, the internet is full of information about it.
[Galaxy S 4 i9505 Original Android Development] droydr:
thanks for the info

yes, it must be a VoLTE capable device is what they said

i'm on a cheap pre-paid plan with them so switching carriers isn't a big deal, however i don't know if there are any other carriers in the USA who still support "classic" calls where the S4 could still work

should i assume most current users in this thread live outside the USA and are with carriers using older network technology?
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
important! if you wanna flash gapps on twrp 3.6.2-9, flash BiTGApps from here:

https://xdaforums.com/t/custom-gapps-bitgapps-for-android.4012165/#post-81060599

this is the only compatible gapps that i heard flashing and working so far
[Galaxy S 4 i9505 Original Android Development] Fifaheld:
Open Gapps and V6.0 no Problems here

TWRP = 3.6.1_9-0 Here
[Galaxy S 4 i9505 Original Android Development] CrackyBOI272:
@side

Hello,

I have a request

Can you pls make a android 12 rom for SM-a500F

It would mean a lot to me

Thanks

btw i tried it on my old S4 ... worked perfectly
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
hi, i dont think side takes rom requests, but there is android 10 for your device, why not use that :)
[Galaxy S 4 i9505 Original Android Development] CrackyBOI272:
There is android 11 for my device

My s4 is cracked and is overheating

but my a5 works fine

i just wanted to see how android 12 will work on my a5
[Galaxy S 4 i9505 Original Android Development] drufa:
Just dirty flashed V6.0, Mindthegapps, Magisk 24.1 with TWRP 3.6.1_9-0

Came from inofficial Lineageos 18.1

So far no problems encountered
[Galaxy S 4 i9505 Original Android Development] droydr:
getting camera error "Can't connect to the camera"

how do i get the error report from the phone so i can attach it here?
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
use adb logcat
[Galaxy S 4 i9505 Original Android Development] matberactive:
does gt-i9295 work?
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
check "supported devices"
[Galaxy S 4 i9505 Original Android Development] KollSavy:
I have a problem, every time I try to install an app from the playstore with this version of optimaze lineage tells me not enough space, but I have nothing in the phone, what should I do?
[Galaxy S 4 i9505 Original Android Development] Sabuai:
Hello

I have Japanese version Galaxy S4 (SC-04E,jfltedcm).

My model was not in the list of supported devices, but I installed it and it works!!

I will note here the confirmed glitches, etc.

・Camera is not work

・Japanese-only features such as Felica and TV are not available.(This occurs in other roms as well)

These are translated by DeepL.

Thank you
[Galaxy S 4 i9505 Original Android Development] pocketrule:
Format data in twrp before the installation of the rom (will erase all data)
[Galaxy S 4 i9505 Original Android Development] Retrial:
side has something to tell you... 😝
[Galaxy S 4 i9505 Original Android Development] side:
v7 released

and yes i will work on 20.0
[Galaxy S 4 i9505 Original Android Development] carlos974:
I was thinking about this...Wow you are a magician!
[Galaxy S 4 i9505 Original Android Development] drufa:
On S4 9505 V7 works great for my usage.

No issues found so far.
[Galaxy S 4 i9505 Original Android Development] RowanDDR:
V7 high battery drain, very hot and keeps disconnecting from wifi. Just me? No particular apps seem to be battery hogs according to battery stats page. Clean install of this, gapps pico and magisk.

Settings screens all have a large empty gap at top of screen before the headings. That normal?

Also, as with every version of Android it seems, I got stuck waiting indefinately at the "Just a minute" initial setup screen until I removed the microSD card - just mentioning that again in case anyone else is stuck with that too.
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Congrats on another great release side. :cool::cool::cool:. Excited to hear you will be working on 20.0 ! Looking forward to it. But very happy with v7.
[Galaxy S 4 i9505 Original Android Development] Fifaheld:
Same Here :(
[Galaxy S 4 i9505 Original Android Development] Retrial:
Please take logs next time wifi disconnect happened.

I don't understand what u mean with screen. A12 is like that.

About SDcard make sure you don't have it setup as Internal Storage (Adoptable Storage) and if you did in previous ROMs format it and use it as external storage. If it's still happening take logs.
[Galaxy S 4 i9505 Original Android Development] RowanDDR:
Best way to post logs? logcat.txt is 2.5MB, too big for pastebin.

I never use Adoptable Storage, I always have my microSD as external storage.
[Galaxy S 4 i9505 Original Android Development] pocketrule:
you can zip it and attach it with the button below the text box
[Galaxy S 4 i9505 Original Android Development] RowanDDR:
OK then, logs attached from a few moments after wifi disconnected.
[Galaxy S 4 i9505 Original Android Development] jmno c:
please have an original android camera apk 12
[Galaxy S 4 i9505 Original Android Development] RowanDDR:
After ~3 days, the phone seems to have settled down. No more wifi disconnects and no more overheating. At a guess, I would say on 1st boot(s) that Android12 attempts to silently index the ID3 tags of every song on the microSD card.. with a 128gb microsd card, this perhaps takes a very long time, and uses a lot of CPU & I/O.. even causes RAM to run out which in turn disconnects the wifi? Just a guess.. based on that the phone seemed to be high CPU for ~3 days and now its calmed down totally. Plausible?

EDIT: I spoke too soon, wifi still disconnecting which often requires rebooting to get it working again, or toggling airplane mode off/on. Heat not a problem so much though. Heat still a problem.
[Galaxy S 4 i9505 Original Android Development] Windows 11:
Wow, just tested it on on my galaxy s4, works perfectly! Ran even smoother than android 4
[Galaxy S 4 i9505 Original Android Development] jmno c:
Czy aplikacje działają płynnie, a strony internetowe też?
[Galaxy S 4 i9505 Original Android Development] Windows 11:
Yes
[Galaxy S 4 i9505 Original Android Development] Lordicus21:
Nice ROM, stable and smooth. Better than the OFFICIAL Lineage releases cause now I can watch YouTube videos at 720p60fps at least. But it have one same BUG from OFFICIAL Lineage18, which is about the light sensor, specially on calls. The screen goes off and don't turn on again after putting the phone away from the ear. Have to press power button to turn again.
[Galaxy S 4 i9505 Original Android Development] Lordicus21:
YouTube have some graphical glitches actually.
[Galaxy S 4 i9505 Original Android Development] Lordicus21:
View attachment 5703721
[Galaxy S 4 i9505 Original Android Development] Windows 11:
I fixed it by reloading.
[Galaxy S 4 i9505 Original Android Development] CuriousFox446:
I really liked this v7.0 update, it finally fixed the Light/Dark theme problem.