yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] greatninja:
Pico or nano
[Galaxy S 4 i9505 Original Android Development] hluehring1:
Hi everyone, I'm thinking of getting an i9505 (already have the G360, G361, i9195). My question is: How reliable and stable is this optimized Los19 on the S4 lte? Does the camera work? Any random reboots or shutdown? Any slowdown or laggy behaviour after 2 days. The phone will be used basically for Whatsapp only, by a relative who is not tech savvy. Would greatly appreciate any honest feedback. Thanks
[Galaxy S 4 i9505 Original Android Development] Retrial:
For root use the Magisk-v24.1 and then upgrade to latest via the app. For some reason the latest version doesn't work directly in latest TWRP.
[Galaxy S 4 i9505 Original Android Development] musicapincia:
Thank you very much for this update and your work

Mobile vlan still doesn't work and as the partner I can't do the routing
[Galaxy S 4 i9505 Original Android Development] greatninja:
some wierd thing - chrome browser freezes after few seconds after start and shows "app not respond"

happens whenever u do like surfin` sites or browser settings

chrome & chrome beta affected

other browser like via or bromite works fine

happens v3 and v3.1 rom ver
[Galaxy S 4 i9505 Original Android Development] odm67:
Same with Edge, whereas DuckDuckGo works.
[Galaxy S 4 i9505 Original Android Development] Fifaheld:
Here the Same with Chrome and Edge. and Google Speech Problem. First Start

Speech Services by Google keeps stopping
[Galaxy S 4 i9505 Original Android Development] side:
Sadly I know that the problem exists on chromium based browsers, but can't debug it yet. We will see
[Galaxy S 4 i9505 Original Android Development] musicapincia:
Thank you very smooth Opera works very well for my daily use perfect
[Galaxy S 4 i9505 Original Android Development] odm67:
Fix is on its way - thanks, side !!!
[Galaxy S 4 i9505 Original Android Development] side:
v4 is ready <3 thanks you everyone ( will be uploaded in 10mins?)

Upstream merge until 23 April

Fix Chromium-based browsers crashes

Use crdroidandroid launcher

QS: Better clip animation

QS: Stop showing build number

Make the loading "spinner" animation smoother

Smoother Upload and Download Animation

AutofillManager: Turn off logging by default

Add support for app signature spoofing aka microg

ripple: Replace with Fluent Design-inspired ripple animation

Shorten wait time for shutdown time optimization

Disable hwui drawing debugging

SystemUI: Split status bar icon controls for vibrate and mute
[Galaxy S 4 i9505 Original Android Development] Fifaheld:
NO NO. WE THANK YOU
[Galaxy S 4 i9505 Original Android Development] greatninja:
v4

wifi still randomly stop working\can`t see hotspot (can easily fixed by pressing "reset network settings" in system settings)

interface speed is great

battery life seems ok (same as LOS18)
[Galaxy S 4 i9505 Original Android Development] carlos974:
@side

Thanks for all your work. ;)

Awesome rom !!! (y)

FYI:

During a dirty flash addons like magisk are not restored; I looked in the backuptool.sh file

The information taken from build.prop is this:

"ro.lineage.version"

it should be "ro.lineage.build.version" (seen in build.prop file)

I tested... it works fine with "ro.lineage.build.version"
[Galaxy S 4 i9505 Original Android Development] RaidBuII:
I just tested v4-0 and anythings works fine and smoth, anything but phone calls with (my?) TWS Bluetooth Headset. When I'm calling somebody the phone application shows the Bluetooth icon, but the sound comes over the normal speakers. I also tried another phone app: same result. Spotify and other apps work without anykind of issues.

Is anybody else having the same problem?

Edit: I'm loosing my mobile network sometimes after one Phonecall
[Galaxy S 4 i9505 Original Android Development] side:
Already working on bt fixes people. Stay tuned
[Galaxy S 4 i9505 Original Android Development] carlos974:
Thanks!

I installed microg, thanks for the signature spoofing!
[Galaxy S 4 i9505 Original Android Development] t5-driver:
Where do you get a installable microG version for 19.1.

Can i get a link for info or dl - thanks
[Galaxy S 4 i9505 Original Android Development] carlos974:
I installed microg manually!

or install:

Releases · FriendlyNeighborhoodShane/MinMicroG_releases

Prebuilt flashable zip RELEASES for the MinMicroG project. - FriendlyNeighborhoodShane/MinMicroG_releases

github.com
[Galaxy S 4 i9505 Original Android Development] racespace:
In case anyone has problems with WiFi after updating to V4, toggling either Airplane Mode or GPS seems to have fixed it for me.

I also tried reinstalled Modem before, I can't put my finger on what actually helped.
[Galaxy S 4 i9505 Original Android Development] gnikolson:
Wifi sometimes turned off and don't on either again only after reboot, also it has a huge power drain and some times it stalls.
[Galaxy S 4 i9505 Original Android Development] racespace:
I have the same problem with Wi-Fi.
[Galaxy S 4 i9505 Original Android Development] greatninja:
Camera works, no random reboots or shutdowns, slowdown or laggy - its can happen sometimes (minutes or two) but nothing significant here. This device not for "heavy apps" now cuz its old one. I never use whatsapp, cant say anythig about this, but you can use this los19 as daily driver or you always use official los18 too.
[Galaxy S 4 i9505 Original Android Development] vip5912:
In my case, everything works fine except for Whatsapp calls. Outgoing calls connect for a long time, incoming calls do not work at all (an incoming call is missed).

If you turn on BT, Wi-Fi doesn't work and you need to turn it off/on manually.

I sometimes think about downgrade to Official LineageOS 18.1 (maybe).
[Galaxy S 4 i9505 Original Android Development] VALVRAVE:
I think Official LineageOS 18.1 is much stable than this Lineage 19.1 build, official bulid is no problem to daliy use for this 10 years old device.
[Galaxy S 4 i9505 Original Android Development] slaff2:
There is a new test Opt-Los-19.1 ROM for Samsung Galaxy S4 based on latest LineageOS-19.1. I will be very thankful if you can test it on your devices and report if it works for you. To download it go to https://drive.google.com/drive/folders/1y6GasuR5C3f26erWC9KO2oBf2Ci6pkhu and download Opt-Cm-19.1-V8.6-lineage-qcom.zip .
[Galaxy S 4 i9505 Original Android Development] vip5912:
Thank you. I'll test it on weekend.
[Galaxy S 4 i9505 Original Android Development] VALVRAVE:
I just downgraded LOS 19 to official LOS 18 at early last week, and I will wait for your test result and see if this new build was workable and stable. And then I will consieder to flash this build to my device:)

Thank you very much in advance:)
[Galaxy S 4 i9505 Original Android Development] gnikolson:
Until now everything working good, but I thing a little slower, I will see and tell you.
[Galaxy S 4 i9505 Original Android Development] t5-driver:
My daily use S4 is updated.

First test is good.

Thank you very much for your work.
[Galaxy S 4 i9505 Original Android Development] greatninja:
Flashed with full wipe, no gapps, no root.

Wifi turned on and connected, Bluetooth trned on, not connected, no simcard, airplane mode on.

i just make hundred reboots with this config and "after reboot" wifi problem still appears (no networks available), but sometimes it works normally wich never happens before. We have some progress here :)
[Galaxy S 4 i9505 Original Android Development] Trubbs:
Dirty flashed onto your last build, first reboot no wifi connection, no mobile connection. Second reboot turned on wifi and rebooted. Next reboot everything seemed to work okay. Since seems to be okay. Will continue. Thanks for your work
[Galaxy S 4 i9505 Original Android Development] vip5912:
I have tested your new ROM. In general, it works well. Sometimes there is an old bug (if you turn on BT WiFi down and you need to turn it off/on manually).

Thank you slaff2.
[Galaxy S 4 i9505 Original Android Development] VALVRAVE:
Thanks for report:)

And how about SOC heat and battry life? Is it same or batter than official LOS 18?
[Galaxy S 4 i9505 Original Android Development] vip5912:
I did not specifically compare them, but in my opinion, no worse.

The temperature is about 26-34 C.

The battery charge (from 75% to 30%) is enough for me for a day.

I use Advanced Charging Controller (acc).
[Galaxy S 4 i9505 Original Android Development] H0sseiN:
I have tested this rom too and I think battery life is a bit better than v18.
[Galaxy S 4 i9505 Original Android Development] hluehring1:
Hi everyone, thank you for replies to my question about the stability of the Los18-20 roms on the S4 lte. I've got an S3 lte (i9305) which has terrible battery life, heats up with some roms, and modem issues as well. Could anyone who has used the S4 lte (i9505) confirm if it suffers the same problems? Ie. does it have battery drain even when running the stock rom? What is the longest duration that anyone has run the i9505 before battery goes low?
[Galaxy S 4 i9505 Original Android Development] turbo251:
I tested v8.6 it works, but I've got one problem: I have sim card in s4 i9505 and mobile data on, wifi off BT off. After about ~48 h not using the phone the mobile data connection is disconnected automatically (not a battery problem), to turn mobile data back on I have to restart or go to settings/internet. For me this is very annoying because when my mobile data connection is disconnected once, I have slow data connection after reconnecting for the rest of the 30 days period. I have the same problem using official Lineange OS 18.1

Anybody got al solution?

Useing wakelock app, and scriptmanager app by pinging some server every Minute did not solve the problem, data connection is still being cut automatically after ~48 h.

Only solution I have is LineageOS 16 Ver 12.1, but using that I'm back at Andriod 9 by having SMS problems (SMS recieved either to late or in time only when screen is on)
[Galaxy S 4 i9505 Original Android Development] slaff2:
Ok, there is a new UNTESTED version with security + bug fixes for July, 2023. The ROM is for Samsung Galaxy S4 and is based on latest LineageOS-19.1. I will be very thankful if you can test it on your devices and report if it works for you. To download it go to https://drive.google.com/drive/folders/1y6GasuR5C3f26erWC9KO2oBf2Ci6pkhu and download Optimized-LineageOS-19.1-V8.7.zip.
[Galaxy S 4 i9505 Original Android Development] Sebgti42:
hello i test 8.7 and i found we cant change setting in live display to automatique it keep in desactivate
[Galaxy S 4 i9505 Original Android Development] vip5912:
I installed new ROM. At first glance everything works fine.

Thank you slaff2.
[Galaxy S 4 i9505 Original Android Development] vip5912:
Sometimes there is an old bug (if you turn on BT WiFi down and you need to turn it off/on manually).
[Galaxy S 4 i9505 Original Android Development] Ironsteal:
Issue with Twitch stream playback. 1080p source is normal but any lower resolution is black and white. Also blocks and lines. SM-975L S4 fyi. thanks. youtube vanced playback also weird
[Galaxy S 4 i9505 Original Android Development] turbo251:
I tested v8.7 on 5 different devices:

It works, but mobile data connection is cut automatically over night (after~12h), to reconnect I have to restart or go to settings/internet
[Galaxy S 4 i9505 Original Android Development] Ironsteal:
Thank you for keeping this phone going. My battery is not the best condition after all these years. Recommendations?

I really dislike companies not investing in their products after short few years. Money to be made by not supporting older hardware. Companies only care about share holders.

I made the mistake of buying a locked bootloader Galaxy S7 edge. So I used that on Android 8 for four years then it died. S4 still going. Can't kill it.
[Galaxy S 4 i9505 Original Android Development] Ironsteal:
WaveUp - Apps on Google Play

Turn on the display by waving

play.google.com

You need this. Wear on buttons is the worst. How to replace broken buttons? Battery seems to use barely any power with this app. Highly recommend! Try it. Your choice.

In ebay there are batteries for s4 sm975L. The whole used phone is $30 without battery. $50 or so for full phone. Replacement battery are way over priced. Any ideas?
[Galaxy S 4 i9505 Original Android Development] slaff2:
I guess we, the owners of S4, are really lucky to have people like @side that were supporting the project for so many years. And honestly the phone is still great after so many years.
[Galaxy S 4 i9505 Original Android Development] Ironsteal:
Everybody! what's your screen on time until 40% battery? It like less than an hour from full to 40% for me. I am sure you all replaced the stock battery but everyone is quiet..
[Galaxy S 4 i9505 Original Android Development] Trubbs:
There are so many variables to that equation. What software & services are installed, quality of mobile / wifi signals - how hard are the radios working, gapps or no gapps etc?

Less than 1 hour suggests a bad battery or something draining. There is an excellent guide in the OP or thereabouts to help with performance and battery life
[Galaxy S 4 i9505 Original Android Development] vip5912:
I have enough battery for a day (from 75% to 25%, I use ACC). But I don't use the screen much. Mostly calls, sms, instant messengers, and a few not too heavy applications. The battery was changed at the beginning of the year.
[Galaxy S 4 i9505 Original Android Development] turbo251:
You can solder a 18650 liion battery holder to (+)and (-) on the s4 and insert 18650 recharable batteries. I am using 4 of them in one holder (parallel circiut) for almost 9 years now.

I use ducktape to mount the batteryholder to the phone.

I recharge it using a normal 18650 battery charger, but I put wires from charger to battery holder so I don't have to restart the phone.
[Galaxy S 4 i9505 Original Android Development] hluehring1:
Hi turbo251, could you perhaps take a photo of your S4 with the battery holder, and post it here. I think everyone here would like to see it. Maybe I could do the same with my S3lte which has terrible battery drain. Cheers, Heinrich L
[Galaxy S 4 i9505 Original Android Development] gnikolson:
https://www.aliexpress.com/w/wholesale-galaxy-s4-battery.html?catId=0&initiative_id=AS_20230718104230&SearchText=galaxy+s4+battery&spm=a2g0o.home.1000002.0
[Galaxy S 4 i9505 Original Android Development] vip5912:
Yes. Something like that.
[Galaxy S 4 i9505 Original Android Development] turbo251:
Sure:

The s4 on the right has a very weak original battery still inside + a very good 18650. It is charged normally using USB kable. (the best and the cheapest dashcam I ever had, still works fine after ~3 years dayly use) No cover because it is getting very warm by using it as a dashcam

The s4 on left has 4x 18650 batteries only and NO original battery inside.

I charge it using a normal 18650 charger works fine I'm using it for about 9 years now.

View attachment 5957639

View attachment 5957641

View attachment 5957643

View attachment 5957647

View attachment 5957649

View attachment 5957651
[Galaxy S 4 i9505 Original Android Development] Trubbs:
I love seeing stuff like this.

Perhaps add something like this so charging can be done from usb b c or lightening

Lithium Battery Charger Board LED Dual USB 5V 2.4A Micro/Type-C USB Mobile Power Bank 18650 Charging Module

https://a.aliexpress.com/_mNihFD4
[Galaxy S 4 i9505 Original Android Development] Montillos:
Nice! I still remember when I used my S4 with a ZeroLemon battery (10.000mAh)

It last for 3-4 days before reach 20% baterry...good old days
[Galaxy S 4 i9505 Original Android Development] Faze x Tiniest:
I bought a "5990mah" battery for mine from ebay after installing the rom (although its unstable unless background YT playback is not possible on this cpu/phone) and the battery has lasted me a week either the ROM is really nice on battery or airplane mode/no data or apps is a great battery saver. I only powered it back on for the IR blaster but my old battery was losing power by the unlock times x subtracted from percentage from the battery. I'm looking for a more stable rom that can background play YT gonna shop around might even have to rollback.
[Galaxy S 4 i9505 Original Android Development] turbo251:
App-Cloner-v2.13.1-Full from rexdl.com is not working on 19.1 v8.7 Any ideas why?

I switched back to 18.1 and it works just fine.

Used mobile data graph shows for half a second then disapears on 19.1 v8.7
[Galaxy S 4 i9505 Original Android Development] MarchisioH:
First of all: Many thanks to the whole JDC-Team for the unbelievable awesome project keeping our legendary Galaxy S4 alive 🙏🙏🙏🙏🥳

I tested the newest 19.1 v8.7 with mindgapps a little by now and recognized two things so far which are different compared to the latest 18.1 as following:

1. The videos in the YouTube app (newest 18.31.37 version from playstore) are grey, artifacted , like puzzle pieces. If running YouTube via browser, it works how it should be. So, i dont know if its lineage related or not, but i dont know any solution.

2. The battery discharge is clearly faster than on the 18.1 version.
[Galaxy S 4 i9505 Original Android Development] greatninja:
try Newpipe\LibreTube
[Galaxy S 4 i9505 Original Android Development] MarchisioH:
Additional information to topic 1:

The symptom only occurs if the video quality is lower than 720p. So, a workaround is to change the quality permantly to "higher quality" instead of "automatic" in the settings. After that, if you start a video, it takes a few seconds till YouTube levels up the quality like your new settings are.That means 2-3 seconds with the symptom and then it runs like it should be.
[Galaxy S 4 i9505 Original Android Development] MarchisioH:
Thanks for your advise.

Did you test it already regarding the problem or is it only a possibilty which has to be tested?

Where can i get these two apps? Then i will go for it to test.
[Galaxy S 4 i9505 Original Android Development] greatninja:
NewPipe

LibreTube

test newpipe with 8.7 and no problem here
[Galaxy S 4 i9505 Original Android Development] t5-driver:
Hello vip5912, hello side,

please can you help me.

i wanna build my own rom with the steps from vip5912

but after successfull "repo sync" and starting build.sh - i got always an error

-----------------------screen copy ------------------------------

[ x% xx/59673] //bootable/recovery:librecovery_fastboot clang++ fastboot/fas

..................

In file included from bootable/recovery/fastboot/fastboot.cpp:29:

bootable/recovery/bootloader_message/include/bootloader_message/bootloader_message.h:32:54: error: use of undeclared identifier 'BOARD_RECOVERY_BLDRMSG_OFFSET'

constexpr size_t BOOTLOADER_MESSAGE_OFFSET_IN_MISC = BOARD_RECOVERY_BLDRMSG_OFFSET;

^

bootable/recovery/bootloader_message/include/bootloader_message/bootloader_message.h:33:59: error: use of undeclared identifier 'BOARD_RECOVERY_BLDRMSG_OFFSET'

constexpr size_t VENDOR_SPACE_OFFSET_IN_MISC = 2 * 1024 + BOARD_RECOVERY_BLDRMSG_OFFSET;

^

bootable/recovery/bootloader_message/include/bootloader_message/bootloader_message.h:34:60: error: use of undeclared identifier 'BOARD_RECOVERY_BLDRMSG_OFFSET'

constexpr size_t WIPE_PACKAGE_OFFSET_IN_MISC = 16 * 1024 + BOARD_RECOVERY_BLDRMSG_OFFSET;

^

bootable/recovery/bootloader_message/include/bootloader_message/bootloader_message.h:35:60: error: use of undeclared identifier 'BOARD_RECOVERY_BLDRMSG_OFFSET'

constexpr size_t SYSTEM_SPACE_OFFSET_IN_MISC = 32 * 1024 + BOARD_RECOVERY_BLDRMSG_OFFSET;

^

bootable/recovery/bootloader_message/include/bootloader_message/bootloader_message.h:36:58: error: use of undeclared identifier 'BOARD_RECOVERY_BLDRMSG_OFFSET'

constexpr size_t SYSTEM_SPACE_SIZE_IN_MISC = 32 * 1024 + BOARD_RECOVERY_BLDRMSG_OFFSET;

5 errors generated.

07:15:53 ninja failed with: exit status 1

#### failed to build some targets (15 seconds) ####

Build failed

-----------------------screen copy ------------------------------

do you have a solution?

Thanks for your hard work.
[Galaxy S 4 i9505 Original Android Development] vip5912:
I don't know about this errors.

I just used these commands for my last time build:

cd ~/android/lineage
repo init -u https://github.com/JDCTeam/manifests.git -b opt-cm-19.1 --git-lfs
repo sync
TEAM_NAME="JDCTeam"
export LOS_VER=19.1
VERSION_BRANCH=opt-cm-19.1
export ROM_VERSION=8.6.1
export OPTIMIZED_LINEAGEOS_VERSION="$ROM_VERSION"
TARGET=jflte
OUT="out/target/product/jflte"
export ANDROID_HOME=~/Android/Sdk
. build/envsetup.sh
lunch lineage_$TARGET-userdebug
make -j12 otapackage

As far as I know @side left this forum.

You can also try asking @slaff2.
[Galaxy S 4 i9505 Original Android Development] Retrial:
side is doing his military duty which takes ~9 months. He is not at home.

However the development for S4 even when side comes back, is unclear. Don't expect too much unless slaff2 or any other knowledgeable deeply mess with it.
[Galaxy S 4 i9505 Original Android Development] slaff2:
> bootloader_message.h

Yes, since recently a new identifier was introduced `BOARD_RECOVERY_BLDRMSG_OFFSET`. You can edit the bootloader_message.h file and in the beginning of the file after the includes the following should be added to avoid the compilation error:

```

#ifndef BOARD_RECOVERY_BLDRMSG_OFFSET

#define BOARD_RECOVERY_BLDRMSG_OFFSET 0

#endif

```
[Galaxy S 4 i9505 Original Android Development] nikosite87:
camera not functioning on latest rom
[Galaxy S 4 i9505 Original Android Development] t5-driver:
Thank you - that's the solution.

Info for other people for building:

i use ubuntu 22.04 LTS - standard is kernel v6.

for building (i think - cause errors) you need v5. i had downgrade to v5.19.17

now i am build ~ 85%
[Galaxy S 4 i9505 Original Android Development] ebholoria:
Greetings every one, I'm experiencing storage and battery drain, please could someone help..
[Galaxy S 4 i9505 Original Android Development] ebholoria:
greetings everyone, im experiencing Storage and Battery drain, please i need your help , how to fixs it
[Galaxy S 4 i9505 Original Android Development] t5-driver:
My attempt to make my own ROM has not yet been successful.

The gcc error is solved.

Unfortunately, the process stops at 90% with the following error.

-----------------------screen copy ------------------------------

[

90% 5/96708] //packages/services/Telecomm:Telecom javac

FAILED: out/soong/.intermediates/packages/services/Telecomm/Telecom/android_common/javac/Telecom.jar

rm -rf "out/soong/.intermediates/packages/services/Telecomm/Telecom

....................reduced.............

Telecomm/Telecom/android_common/javac/classes && rm -rf "out/soong/.intermediates/packages/services/Telecomm/Telecom/android_common/javac/srcjars"

packages/services/Telecomm/src/com/android/server/telecom/ConnectionServiceWrapper.java:92: error: cannot find symbol

connection.getStatusHints().setIcon(StatusHints.

^

symbol: method validateAccountIconUserBoundary(Icon,UserHandle)

location: class StatusHints

packages/services/Telecomm/ cannot find symbol

intermediates/packages/services/Telecomm/Telecom/android_common/javac/Telecom.jar

.intermediates/lineage-sdk/org.lineageos.platform.internal/android_common/turbine-combined/org.lineageos.platform.internal.jar

#### failed to build some targets (06:04:02 (hh:mm:ss)) ####

-----------------------screen copy ------------------------------

*******packages/services/Telecomm/ cannot find symbol**** ??

The path and the file (link to the original - I did not change anything) exist.

The OS is Ubuntu 18.04 and installed all known Software-Parts like "https___wiki.lineageos.org/devices/jfltexx/build" (OpenJDK 11, Python 3.6.9,,..)

I have attached the part from error log.

do anyone have a solution?

Thanks for your hard work.