yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] Concept48:
My S4 i9505 is running optimized LineageOS 19.1 and the experience is very nice thank You so much , just got a new battery , unbelievable project , keep it up and no worry about A13 , we are proudly on 12 , until JDC decides something crazy again ..BIG UP and Love what You have.
[Galaxy S 4 i9505 Original Android Development] RowanDDR:
Mystery solved... drum roll.... the following app was causing all the problems (https://play.google.com/store/apps/details?id=ru.gavrikov.mocklocations&hl=en_GB&gl=US). This app worked fine on previous ROMs, but causing all the problems with this ROM (heat, fast battery drain, wifi disconnects). I switched to a different mock location app (FakeGPS) and all problems are GONE!

How strange that the "Battery Usage" report of Android 12 did not pick up on this.
[Galaxy S 4 i9505 Original Android Development] Concept48:
woooooiiiiiii TOLD YA ..silence is guilty - Good luck there brother Side ,. I know you are !!
[Galaxy S 4 i9505 Original Android Development] stuie1952:
Same here. After consistent and sustained use I can say that it is ready to be your daily driver. Side has really outdone himself this time. I have had this phone since 2014 and it is still great because of side !! 🐯🐯🐯
[Galaxy S 4 i9505 Original Android Development] side:
heyyy boooys <3 thanks for the love. yea i have plans for android13 while also maintaining 12. <3
[Galaxy S 4 i9505 Original Android Development] jmno c:
hello, where to download lineageos 19 because in the first post the button does not work
[Galaxy S 4 i9505 Original Android Development] Concept48:
Right here https://drive.google.com/drive/folders/1y6GasuR5C3f26erWC9KO2oBf2Ci6pkhu
[Galaxy S 4 i9505 Original Android Development] Concept48:
Ok my s4 works really nice , but I,m not using Gapps , I use Aurora Store and have little issues ,Is V8 on the way , was about to make a new video about S4
[Galaxy S 4 i9505 Original Android Development] Retrial:
Hey, I don't see v8 yet. :p (but side may wake up one morning and do it, Idk 🤪)

I love your videos :love:
[Galaxy S 4 i9505 Original Android Development] Concept48:
Thank You and I love JDC TEAM !!!!
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
same!!!
[Galaxy S 4 i9505 Original Android Development] side:
jdcteam? actually me and Retrial ...
[Galaxy S 4 i9505 Original Android Development] side:
since time flies and as you know i work (on ROM dev) alone 4 years now, i think i am a bit tired...i dont know if i can keep doing it alone. if you know any other dev (or at least a github user who can help me with some cherrypicks/merges) please tell him to send me.i need hands and help...
[Galaxy S 4 i9505 Original Android Development] side:
@notnoelchannel joined JDCTeam side..lets see <3 give him some love
[Galaxy S 4 i9505 Original Android Development] HughChen2020:
V7 on i9508 (China mobile variant of i9505) will show error 1 when installing, any idea? Thanks!

Below are the lines related to the error:

Installing zip file '/external_sd/download/Optimized-LineageOS-19.1-V7.0 (1).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 1 second(s).

Error installing zip file '/external_sd/download/Optimized-LineageOS-19.1-V7.0 (1).zip'

Updating partition details...
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
edit the updater-script's first line
[Galaxy S 4 i9505 Original Android Development] HughChen2020:
got it working by deletling all the model names and stuff before the ASCII art

Just curious, why are those text there if they could cause trouble?
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
to check if your device is really compatible with the ROM. if you for example install an I9515 ROM on an I9505 and the assert isn't there, it can lead to a hard brick
[Galaxy S 4 i9505 Original Android Development] HZRL:
Can this rom be installed on a gt9507v device china version...?
[Galaxy S 4 i9505 Original Android Development] stuie1952:
You guyz are the best ... Of the best 👍👍👍
[Galaxy S 4 i9505 Original Android Development] Concept48:
My brothers for long long time !
[Galaxy S 4 i9505 Original Android Development] gazarat:
Not good for me ... no jfvelte (GT-9515) version 😂

Why?
[Galaxy S 4 i9505 Original Android Development] Concept48:
do this look for a 5 euro s4 i9505 with broken or cracked screen , follow my easy swap mainboard video and you have android 12
[Galaxy S 4 i9505 Original Android Development] Ben.gd:
What would happen if I would install this ROM on i9515? Would I brick my device or it would work, but not properly?
[Galaxy S 4 i9505 Original Android Development] Concept48:
It will tell you , Your device is 9515 , this is for JFLTEXX !
[Galaxy S 4 i9505 Original Android Development] Ben.gd:
Is it anyway possible to make it work on i9515?
[Galaxy S 4 i9505 Original Android Development] Concept48:
Everything is possible , but how hard do you really want it?
[Galaxy S 4 i9505 Original Android Development] gnikolson:
Every few hours disconnects from network and needs to put sim card pin.
[Galaxy S 4 i9505 Original Android Development] Ben.gd:
I can't remember where I have read it, but it was something said that if you try to install wrong s4 models custom rom it kinda works, but just sound or touch screen is not working. I do understand it does not work for all models and I do not recall which model was mentioned. So I thought maybe it is something similar with i9515.
[Galaxy S 4 i9505 Original Android Development] Concept48:
Your device has official development by LineageOS.org e.foundation LineageosMicrog , if you really want Android 13 or 12 , you could hire a developer ,but then you have your own Rom.. only it's not so cheap , they must rent a server , code think not sleep etc , but everything almost is possible for the right price,. so depending on your walled :)
[Galaxy S 4 i9505 Original Android Development] Ben.gd:
Unfortunately I don't have that much money hence using s4 and on Official Lineage 18.1 thread I was told "jf lacks BPF due to kernel 3.4, so no 19.1 for jf ever"

p.s. I thought e.foundation and Lineageos microg uses fork of Official Lineage 18.1 so no Official Lineage 19 = no c.foundation and Lineageos microg for S4?.
[Galaxy S 4 i9505 Original Android Development] pocketrule:
But there's the chance to (hard) brick your device...

If you're brave enough and can live with the risk to loose your device, you can try to flash it.

@notnoelchannel has written how to do it just a few posts back.

That's interesting. As the hardware SEEMS to be identical for i9505 and i9515, MAYBE it is possible that the i9515 variant can run this rom, too. LineageOS provides several ROMs for the S4 variants, which is not necessary IIRC.
[Galaxy S 4 i9505 Original Android Development] Concept48:
Yes , I got a supported s4 with cracked screen for 10 bucks and replaced motherboard (Very very easy) with one of the i9505 and boem problem fixed hehe , i think that will be cheapest option,.
[Galaxy S 4 i9505 Original Android Development] slaff2:
I have installed Optimized LineageOS(OLOS) 19.1 v7.0 and I am pretty happy. Awesome work @side and team!

Now would it be possible to install a new minor version of OLOS by installing only the OLOS zip file and not wiping out any files or partitions? I would like to keep the already installed and configured Android applications on the phone.
[Galaxy S 4 i9505 Original Android Development] Concept48:
yes no problem , only if you gonna upgrade to the next upgraded build 13 you will have to do a fomat data
[Galaxy S 4 i9505 Original Android Development] curiousde2002:
Hi everybody,

my I9505 is presently on the latest

Optimized LineageOS19.1 v7.0.​

Upgrade from official 18.1 with clean install.

It's working very well, but there is one issue I found:

After several hours of use phone shows "no sim card - no service" and wants reboot with a valid sim card.

After reboot sim card is found again and it's working for the next few hours.

Anybody can help?

Thank you very much in advance and also big thank you to @side for his great work!
[Galaxy S 4 i9505 Original Android Development] DavidSuter393:
Yes. Format the Data Partition, but Not Media and System Partition. Then do the upgrade. I did it and it works fine.
[Galaxy S 4 i9505 Original Android Development] DavidSuter393:
There is a quicker way. Swipe down from the top of the screen and tap the airplane mode icon on and off four times. Then the mobile data will work and so will the SIM card.
[Galaxy S 4 i9505 Original Android Development] curiousde2002:
Sounds like magic :).

I will try.

Thanks a lot for quick reply !
[Galaxy S 4 i9505 Original Android Development] Sabuai:
I have a Japanese version Galaxy S4 (SC-04E,jfltedcm) with this Rom installed.　This terminal is not officially compatible with this OS and I understand that.

And this device is unable to use the camera. Even if I install other camera apps (for exapmle:OpenCamera) I can't use it, apparently this is a bug that also occurs with other Roms.

So I wanted to use the camera somehow and tried to get the system logs. The log was very long, so I cut out and saved a portion that looked like it. Here is the txt file. Unfortunately, I am not familiar enough with this kind of thing to fully understand the contents. Do you know what is going on? And can I do anything about it?

This text was translated from Japanese by DeepL
[Galaxy S 4 i9505 Original Android Development] harkanoid:
Installed this version but camera playstore etc can't write to internal disk?
[Galaxy S 4 i9505 Original Android Development] pocketrule:
in TWRP -> format data. Make a backup first.
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
TWRP version?
[Galaxy S 4 i9505 Original Android Development] harkanoid:
3.3.3.0
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
it's recommended to upgrade to latest 3.6.2-9.0

you can find it here: https://xdaforums.com/t/recovery-jfltexx-twrp-3-6-2-9-0-touch-recovery-custom-builds.4415263/
[Galaxy S 4 i9505 Original Android Development] tvl1996:
After the first boot WiFi works, when I restart it then the WiFi doesnt work anymore. Anyone has a fix for this?
[Galaxy S 4 i9505 Original Android Development] greatninja:
settings - Network&Internet - Internet - reset network settings (icon at upper right corner)
[Galaxy S 4 i9505 Original Android Development] CAXXXAP:
hi everyone

does the camera work on i9505 ?
[Galaxy S 4 i9505 Original Android Development] greatninja:
yes works fine
[Galaxy S 4 i9505 Original Android Development] harkanoid:
Update TWRP now the Gapps are wrong? Camera works fine now but sadly no play store etc
[Galaxy S 4 i9505 Original Android Development] Patrick122:
What should i do when my S4 is bootlooping after updating from V4 to V7?
[Galaxy S 4 i9505 Original Android Development] Retrial:
Download latest build, Download latest compatible GApps, Follow my Dirty Installation Guide.
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
update to twrp 3.7.0, this should solve the issue, the new build is up in my thread
[Galaxy S 4 i9505 Original Android Development] Patrick122:
This rom broke my Wifi because my phone can't find any networks since this rom
[Galaxy S 4 i9505 Original Android Development] greatninja:
​

its rom problem (happens sometimes or after reboot)

for now u can fix it with

settings - Network&Internet - Internet - reset network settings (icon at upper right corner)

maybe add this info in first post
[Galaxy S 4 i9505 Original Android Development] pocketrule:
Next time you could check in the thread, if there is already information about your problem.
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
please next time attach logcats, don't cry like this, PLEASE ATTACH LOGCATS SO WE CAN HELP YOU!!!
[Galaxy S 4 i9505 Original Android Development] alreadytakenusername:
tested v7, last version.

encryption does not work, it corrupts storage. Tried twice and both times the phone bootloops when you reboot it, and TWRP is not able to mount data. Flashing LineageOS again does not fix storage corruption, it simply gets you pass the bootloop.

LineageOS 18 works fine.
[Galaxy S 4 i9505 Original Android Development] alreadytakenusername:
first time 3.2.3, then I realized there is 3.7 and tried that. Same result. It's not TWRP
[Galaxy S 4 i9505 Original Android Development] ebholoria:
greetings am looking for Gapps with Google play store, i tried MindTheGapps, it took a lot of space(up to 8GB) and there is no Google play store in it.
[Galaxy S 4 i9505 Original Android Development] Retrial:
That's impossible. Go to my collection you will find GApps, but that's impossible about MindTheGApps.
[Galaxy S 4 i9505 Original Android Development] ebholoria:
do you mean there is google play store on MindtheGapp?
[Galaxy S 4 i9505 Original Android Development] ebholoria:
there are different Gapp there , could you please tell which one you mean?

is it Open Gapp, MindTheGapp or BitGapp? which one please?
[Galaxy S 4 i9505 Original Android Development] Retrial:
Ofc there is Google Play Store and it doesn't take 8GB space.

MindTheGApps should work, try BiTGApps or NikGApps -Core-.
[Galaxy S 4 i9505 Original Android Development] Senko7699:
I'll just stick with LineageOS 18 then.

Less bugs less problems :)
[Galaxy S 4 i9505 Original Android Development] DavidSuter393:
Your welcome.
[Galaxy S 4 i9505 Original Android Development] Senko7699:
Doesn't work
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
try redownloading the file
[Galaxy S 4 i9505 Original Android Development] Retrial:
Use latest official twrp and redownload the zip.
[Galaxy S 4 i9505 Original Android Development] Senko7699:
Ok, but what does twrp has to do with this?
[Galaxy S 4 i9505 Original Android Development] Retrial:
The jdcteam twrp u are using is outdated and had some issues even back then. Can affect the installation of new ROMs. Use the official, jdcteam twrp is deprecated.
[Galaxy S 4 i9505 Original Android Development] Senko7699:
I'll use twrp-3.6.1_9-0-jflte.img.tar

Obviously the rom Optimized-LineageOS-19.1-V7.0.zip

And MindTheGapps-10.0.0-arm-20220224_161620.zip

Hope all these are supported
[Galaxy S 4 i9505 Original Android Development] Retrial:
You are flashing the wrong version of GApps. Scroll down in Android File Host! You will find the 12.1 version. That version you posted is for Android 10.

You need to choose GApps version same with the android version of the ROM you are flashing. Same for Official LineageOS if you want to use official use A11 MindTheGApps not 10.
[Galaxy S 4 i9505 Original Android Development] Senko7699:
Thanks, ig 13th Mind The GApps is for future rom?
[Galaxy S 4 i9505 Original Android Development] Retrial:
13 is for Android 13. Yes if S4 get Android 13 ROM then you will use that.
[Galaxy S 4 i9505 Original Android Development] schitthoch2:
Does someone have a solution to automate this workaround on each reboot ?

I would be really happy not to have to go through the menu on each reboot.
[Galaxy S 4 i9505 Original Android Development] Senko7699:
Still the same problem on twrp 3.6.1_9-0
[Galaxy S 4 i9505 Original Android Development] Retrial:
You installing it via usb-otg?
[Galaxy S 4 i9505 Original Android Development] Senko7699:
Yea, thru my thumbdrive
[Galaxy S 4 i9505 Original Android Development] Retrial:
Try via internal storage or sdcard if you have, according my guide and make sure the zip is not corrupted. Download it via different browser etc.
[Galaxy S 4 i9505 Original Android Development] Senko7699:
I'll try one last time.

I'm already tired of this
[Galaxy S 4 i9505 Original Android Development] Retrial:
Well none else have this issue, so it's not ROM issue.
[Galaxy S 4 i9505 Original Android Development] Senko7699:
I have no idea, but i already reinstalled the whole twrp. ..
[Galaxy S 4 i9505 Original Android Development] Retrial:
Installing the "whole" twrp takes max 1min. It's not such a big deal :p

Just follow my guides and do not flash via OTG-USB. As I said download the zip from different browser or even from different device/pc and make sure it's not corrupted.
[Galaxy S 4 i9505 Original Android Development] Senko7699:
"Make sure it isn't corrupted" HOW

It literally downloaded the whole file, not a single KB was gone
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
can you record me how you flash it? can you try it using TWRP v3.7?
[Galaxy S 4 i9505 Original Android Development] Senko7699:
Tomorrow, it's late here
[Galaxy S 4 i9505 Original Android Development] DavidSuter393:
Try toggling Airplane mode on and off four times. That should fix that.
[Galaxy S 4 i9505 Original Android Development] Retrial:
I asked people in our server at Discord. None have this issue and confirmed flashing the .zip working fine from external Sdcard or Internal Storage. So choose that way.
[Galaxy S 4 i9505 Original Android Development] pocketrule:
Check the checksum. MD5 should read like

60d196d4f0af6a370cd0ab032aa3a6e6

for Optimized-LineageOS-19.1-V7.0.zip

Of course, you should check the file on the storage from which you want to flash the rom.
[Galaxy S 4 i9505 Original Android Development] greatninja:
i used OTG every time when i flashed rom (at least ver5, 6 and 7) - no problem with it and works well

but it can be some trouble with device usb port (it can be "half dead" and work unstable even when you copy file on device via usb cable) or otg adapter some way
[Galaxy S 4 i9505 Original Android Development] DaniE46:
Hello!

I have installed Optimized-LineageOS-19.1-V7.0, everything works perfectly. In the Youtube app there are some graphical glitches. In browser works well.

How to fix this bug?
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
side will check it out, drop a logcat here please
[Galaxy S 4 i9505 Original Android Development] DaniE46:
Okay, where can I find that? I am new to this topic :)
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
You can logcat using ADB: https://xdaforums.com/t/tutorial-how-to-logcat.1726238/ here's a tutorial
[Galaxy S 4 i9505 Original Android Development] DaniE46:
I hope I sent you a good one

https://mega.nz/file/m9oTUZSQ#ewABBB_wOJkaH44oWh6hKGitW6rl29SI1HjOChZrRrU
[Galaxy S 4 i9505 Original Android Development] slaff2:
> In the Youtube app there are some graphical glitches.

I have the same issues. I am attaching here excerpt from the logcat output.

In the log I can see error messages like:

- Frame time is 0.025459 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase.

-

StrictMode policy violation: android.os.strictmode.UnbufferedIoViolation

at android.os.StrictMode$AndroidBlockGuardPolicy.onUnbufferedIO(StrictMode.java:1648)

...

at com.google.android.apps.youtube.embeddedplayer.service.jar.client.s.run(PG:15)
[Galaxy S 4 i9505 Original Android Development] Senko7699:
I had no problem installing other roms thru usb port or micro sd
[Galaxy S 4 i9505 Original Android Development] Senko7699:
I basically wipe the whole system, and try to install ir afterwards.

Tried many configs with zip signature verification and without etc.

(EDIT) After many attempts it finally worked, just kept on doing the same thing. And umm it somehow installed lol.

Thanks for all the help guys.
[Galaxy S 4 i9505 Original Android Development] slaff2:
@side is there a documentation how we can build ourselves a new installable package of your Optimized Lineage OS buy using the publicly available source at https://github.com/JDCTeam ?
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
You can't build los 20.0 right now if you meant that
[Galaxy S 4 i9505 Original Android Development] slaff2:
No, I am interested in LOS 19.1 for the moment. I know how to build LOS 19.1 using this document: https://wiki.lineageos.org/devices/jfltexx/build but I wondering if there is something similar for the Optimized LineageOS19.1 ? Basically I would like to build a new "bleeding-edge" package and not wait for the JDCTeam maintainers to do it.
[Galaxy S 4 i9505 Original Android Development] notnoelchannel:
you can use the guide to build optlos 19.1 BUT. clone the JDCTEAM'S DEVICE TREE, kernel source, etc. don't do the lineage one.
[Galaxy S 4 i9505 Original Android Development] Retrial:
Hello,

If you can join our discord (link at OP). Seems you are interesting to contribute on the Optlos, we need members like you.

Thanks.
[Galaxy S 4 i9505 Original Android Development] side:
@slaff2 as retrial said join our discord...otherwise u can simply do the following:

get my manifest from jdc manifests repo

init it and sync

check out optlos.xml for my custom packages so u can update them (cherrypick/merge) from lineage guys

build it using my build script (./build.sh)

PS

if u have zero skills on github and linux terminal stuff, u wont go much further...
[Galaxy S 4 i9505 Original Android Development] side:
keep in mind, i posted a poll at OP
[Galaxy S 4 i9505 Original Android Development] Fifaheld:
Never Stop :) You make every Time Great Work with this Rom

Sim Card Work now.

Mobile Internet doesn't work :(

No Problems with Wlan

After First Run (Setup, First Installation, Clean Installation) Wlan Works not more. Restart dont help

Test Rom
[Galaxy S 4 i9505 Original Android Development] amiro13:
testril zip/mobile internet works unstable for me

rom without gapps
[Galaxy S 4 i9505 Original Android Development] Fifaheld:
Not Here. Only Rom Install or with Google Apps?

Ok. Wlan Works Now after 3 Restarts. Only Mobile Internet with German Provider dont work

Please Take Wlan off and Test Mobile Internet.....

After One Call, Phone say Mobile Network not available....
[Galaxy S 4 i9505 Original Android Development] t5-driver:
Thanks for your hard work!

Ril is ok - simpin input and calling, wlan is ok.

I've got the config for apn and mms from my provider but no internetconnect ( vodafone germany).

Apn-data is in the settings.

Do you need some logfiles?
[Galaxy S 4 i9505 Original Android Development] t5-driver:
After one good call the mobile is no more funktion. Only after reboot.

Also without wlan.

Also no www without wlan.
[Galaxy S 4 i9505 Original Android Development] t5-driver:
Lte mobile data is working.

What i have done:

The quick toggle "mobile data" shows disabled. I activated- some disfunktion.

It also disabled.

After reboot the togggle/button is working. I activate. Www is good.
[Galaxy S 4 i9505 Original Android Development] t5-driver:
Lte mobile data is working.

What i have done:

The quick toggle "mobile data" shows disabled. I activated- some disfunktion.

It also disabled.

After reboot the togggle/button is working. I activate. Www is good.

After short time - no more www ;-(
[Galaxy S 4 i9505 Original Android Development] side:
Radio(calls) and wifi are connected together. So Yea. If I fix calls, wifi will be also fixed.
[Galaxy S 4 i9505 Original Android Development] Fifaheld:
With Wifi no Problems here. Mobile Internet is the Problem :(
[Galaxy S 4 i9505 Original Android Development] Concept48:
Side i,m getting the horses ready for a nice afternoon ride !!!