yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] Retrial:
*For people who have problem with Rom, take a look here*

1.Be sure that u are on lollipop modem/bootloader.

2.Flash latest TWRP.

3.Go to TWRP Advanced--->File Manager--->delete from ur external sdcard the folder ".Android"

4.Go to Wipe and secelect everything except your SD.

5.Flash the Rom---->Magisk--->Pico or Nano Gapps.

6.Restart, setup ur phone, install manualy the magisk manager.apk and enjoy!

If you have any problem bugs etc:

1.Install Syslog from Playstore.

2.Reproduce the problem/bug.

3.Open Syslog app and press "Take a log"

4.Send the log to Side with description of the problem.
[Galaxy S 4 i9505 Original Android Development] Sceletor:
Can not Bluetooth activated.

I am on V2.

I pull the notificationbar down and Bluetooth gos out.

I will connect to my Bluetooth box. But not activated now.

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
YOU MADE MY DAY! :good::good::good:

This hidden WiFi thingy had long been driving me nuts.:silly: Never noticed that when adding a network there's "Advanced Options" at the bottom and a selection list if it's a hidden network or not!

Thanks man, finally I can connect to my home network while it's hidden. :laugh::good::good::good::good::good:
[Galaxy S 4 i9505 Original Android Development] Xenotrumpet:
Device encryption seems broken. Re-installed with a clean flash and it just hangs up on a black screen before soft rebooting. Let me know if you need logs.
[Galaxy S 4 i9505 Original Android Development] FiveM:
i cant update TWRP past 3.1.0-0 or it gets stuck trying to load it and stays on the boot page

SCH-R970

never mind

apparently the offical twrp flash DOESNT work

u have to use the one that says HERE then it works
[Galaxy S 4 i9505 Original Android Development] hcdaniel:
Tried as well, the log hasn't changed:

11-06 09:32:15.989 240 16238 E Cryptfs : Bad magic for real block device /dev/block/platform/msm_sdcc.1/by-name/userdata

11-06 09:32:15.990 240 16238 E Cryptfs : Orig filesystem overlaps crypto footer region. Cannot encrypt in place.

Did some googling and read something about shrinking the filesystem and the partition manually. Maybe I'll check it out, but it seems like a dangerous operation.
[Galaxy S 4 i9505 Original Android Development] Lupfer74:
moin moin from Osnabrück. I have a quick question. But do not think I'm crazy. Has anything changed in the resolution or sharpness on the display in Oreo unlike nougat? I've had problems with my left eye for a while now. Crooked cornea. Wearing glasses. That's why I'm stuck on the S4. I can not use all new mobile phones. My left eye has to work so hard on the high-resolution displays that I get a headache. With the S4 I had no problems until Oreo and

Pie. :(

Sorry for the long text. :)
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
You can edit the screen resolution in the developer settings.

Set "Minimum Width" to something in the area of 360-380 px, and you should be fine.
[Galaxy S 4 i9505 Original Android Development] Lupfer74:
I tried it that way. But it didnt feel better for me. Thank you :)
[Galaxy S 4 i9505 Original Android Development] ikwerner:
You should always be able to get into recovery.

Some versions you have to release the buttons soooner.

:silly:
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
This is strange, because where else would be a difference? A lower screen resolution results in a bigger display of images and fonts. Why wouldn't that help?`:confused:

---------- Post added at 12:47 PM ---------- Previous post was at 12:09 PM ----------

Could it be that WiFi disconnects when the phone goes into sleep mode? I noticed that I am missing a lot of notifications and e-mails if I don't use the phone for a while. It seems to disconnect from the network, most likely to save battery. However, I can't seem to find a setting to prevent it from doing that.

Any pointers anybody? :(
[Galaxy S 4 i9505 Original Android Development] mp1806:
I have this on oreo, but with me it depends on network also, right now I'm on public WiFi and it doesn't do that

Update: Actually it does. So same here on oreo
[Galaxy S 4 i9505 Original Android Development] BeastMode6:
A few things I've noticed about version 2:

1. Usb otg with an Xbox 360 controller doesn't work. You plug it in, it flashes for about a second, then goes dead. None of the buttons do anything.

2. Bluetooth media controls don't work or are incredibly sluggish. Also song metadata (Name, artist, album) doesn't update over Bluetooth.

3. YouTube background is always killed whenever you try to open another app. Possibly a RAM management issue?

4. Sometimes Bluetooth will stop working altogether. This usually happens after a few hours, but if you go to turn Bluetooth on it refuses to work. You flip the switch to turn it on, back out of the menu and come back, and it's still off.

Other than these things, I really like Pie. Thanks for the continued development!
[Galaxy S 4 i9505 Original Android Development] BiMax:
Currently I'm in ver. 8.

Just downloaded ver. 9 and going to install.

I will test soon..
[Galaxy S 4 i9505 Original Android Development] Solway:
gonna test v9 (dirty first)

please say GPS and "no sim card" issues are fixed...
[Galaxy S 4 i9505 Original Android Development] BiMax:
Dirty flashed ver. 9

Camera app working correctly if the internal memory storage is set.

Still not working on ExternalSD storage.

SD card is correctly recognized and the app takes the photos: the miniature on the bottom-left shows the photo taken but if I tap on the miniature it shows a grey screen even if the photo details report correct data.

No way to find the photos anywhere, neither on internal memory nor on SD card.

Both GooglePhoto and Gallery apps show a gray thumbnail for the photos taken and stored on SD card; they work perfectly with other photos on previously stored on SD.

In ver. 8 at least photos were stored on SD (into a wrong position) but now I must set only internal memory storage in order to have my photos back.
[Galaxy S 4 i9505 Original Android Development] rw_on_xda:
Thanks !!! :o

dirty flashed.

seems I lost ability to sync calendars/tasks with radicale (thunderbird - sogo - radicale - DAVx⁵).

seems a right problem

investigating ...

ToDo:

- re-install DAVx⁵

- clean flash

- ... :confused:

Later this night !

Edit

second dirty flash works after checking but NOT changing rights for DAVx⁵ - more confused -

anyhow clean flashing, course it isn't mentioned on the first page anymore.
[Galaxy S 4 i9505 Original Android Development] bartsam:
I've done the clean flash ..and what can I say? In my opinion this ROM looks nearly perfect! :)

There is just one thing can be fixed - this is about:

System-Status bar-Rows and Cols.value - as it seems it cannot be changed because when changing the "LineageOS Settings keeps stopping".

Can it be easily fixed by a patch, somehow?

Thanks a lot,

Best regards,

Keep it up! :)
[Galaxy S 4 i9505 Original Android Development] side:
Yea that's my mistake after battery icons fix. Damned... That's what happens when u do many things simultaneously
[Galaxy S 4 i9505 Original Android Development] side:
can u please try the latest Oreo kernel on the v9 optlos ?

Simply extract the boot.img and flash it over v9
[Galaxy S 4 i9505 Original Android Development] side:
Changelog:

Date:12-June-2019

Version 9.1

md5:acbe643a90105a4c898e2e77325841fd

DOWNLOAD LINK: HERE since AFH is DOWN.

StatusBar: Fix the bug where user couldnt select QS col/row

jflte init: Use Pixel3 fingerprint to bypass safetynet - Need magisk to be flashed

CPU Stability ( There were a bug where CPU0 couldnt set low freq)

Really sorry about that guys
[Galaxy S 4 i9505 Original Android Development] xtil:
I used to have a lot of problems with my s4. I opened it up and cleaned the proximity sensor, reseated all the connectors, and replaced the sim/sd card. Since then I have had one sim notification in a month. It used to be every day. No other problems. Only use pico and a few apps from the play store. m919. clean flash release 8. BT auto is even working. :) One other thing, gps test, not working. Next time I go inside, I will try cleaning this up. I don't use it anyways. Its a great little phone and we are lucky to have [MENTION=5968293]side[/MENTION] .
[Galaxy S 4 i9505 Original Android Development] graeffrocker:
Testing v9, but having error of some apps from gapps like photos, or someone else aleatory. Tried desactivate reinstall apk, clear cache and storage data, downgrade the app and actualize It, finally i was tried reflash gapps without wipes and still continue closing error, can't open It. What can i do plz? The simcard seems like solved, testing hard here. Thx for the great work
[Galaxy S 4 i9505 Original Android Development] a_trigom:
Just clean install the version 9.1 and it's amazing :svetius:

Still when I select sdcard in the snap app it save the photos in org.snap folder but that is with the snap app of aroma v2.. The stock doesn't let me select the sd card!

And.. What happend to the notification led? :confused: in previous versions it let me select the color and now only blue red and green :( i can live with that but it's cool to change colors :laugh:

Really a nice rom! Used it for daily use!
[Galaxy S 4 i9505 Original Android Development] side:
Settings -> Apps & Notifications -> Notifications -> Notification Light

LEDs are FULLY customizable
[Galaxy S 4 i9505 Original Android Development] bartsam:
Side,

please, don't be sorry for nonsignificant little issue.

Everyone can make a mistake.

Wow, this is nearly unbelieveable - just only two hours after reported issue you have provided fixed newly baked ROM!

It's worth to say - you are enthusiast but you provide the best high end support we can imagine :)

Excellent job! - thank you for being so involved!

Best regards,

Bartosz.
[Galaxy S 4 i9505 Original Android Development] a_trigom:
Yes, when i go there i try to change the value to purple let's say, the LED is Blue and try to put it in yellow and it;s only red, but! When the phone turns on the led light change in all colors.... I mean it's not a real problem :) but since V8 i can't change it

Thanks for all the efford in this great rom, is smooth AF
[Galaxy S 4 i9505 Original Android Development] graeffrocker:
V9 Very smooth and fast. Feel more stable than 8 and 7. Solved crash error of apps installing nano gapps and manually install anothers that i need. When i was forced playing mobile legends and simcard error come back blocking the screen by him self. If you need i can send u the logs. Testing snap camera app and the comunicate between sdcard and the Photo apps. Great Job man, i like to help If i know, but i know test If helps! Thx?
[Galaxy S 4 i9505 Original Android Development] sjamie:
No dev supports a ROM quite like our Super Side-rman! :victory:

Is Snap saving pics to the external SD card on your device?
[Galaxy S 4 i9505 Original Android Development] graeffrocker:
No, include snap can't access the sd card when select sd storage
[Galaxy S 4 i9505 Original Android Development] joyrk:
Is this a rooted rom??
[Galaxy S 4 i9505 Original Android Development] Retrial:
The Rom is not rooted by default but you can enable root if you want.
[Galaxy S 4 i9505 Original Android Development] Solway:
tested the v9. dirty flashing over v8 caused lots of gapps to crash out.

so decided to clean flash v9

really nice.

however, the only issues still left for me are:

GPS not obtaining a fix.

and the awful "no sim card" error is still present. feels like its even more present than before.

Really could do with a solution. doesnt seem to be present on stock rom.

Will update to 9.1
[Galaxy S 4 i9505 Original Android Development] side:
i have some ideas about the gps.

i dont know wtf with sim.i THINK i know the solution but seems so hard to be implemented. ..we will see at v10
[Galaxy S 4 i9505 Original Android Development] sjamie:
Go Side, Go! :victory:
[Galaxy S 4 i9505 Original Android Development] dvhttn:
Clean installed 9.1 with Opengapps nano. Installed FasterGPS (not sure if it actually works on Pie but ....) and GPSTest. With no SIM card and 'phone only' location (i.e. just gps) I got a fix inside my house first time in less than 30 seconds. I guess some phones may have some contacts issue internally?

Mine is a I9505.
[Galaxy S 4 i9505 Original Android Development] graeffrocker:
Will try 9.1 now. I have the same experience than him. Hope the battery drainning is better in this version. Great work man, i wish i could help with development...thx ✊
[Galaxy S 4 i9505 Original Android Development] vip5912:
FYI: Feedback

v9.1 dirty flashing over v8:

- wipe system, dalvik & cache

- install Rom, Magisk, GAPPS (nano), Aroma

First day: All are working very well including Gapps, GPS, GSM, WiFi :good:
[Galaxy S 4 i9505 Original Android Development] dvhttn:
Quick question regarding Google Assistant. I'd like to be able to turn off the 'always listening for the Hey Google otwords' and only have it do anything if I push the microphone option. Before Pie this was reasonablt straightforward but now I'm stumped ..... I'm sure I did find a way a few weeks ago for another phone but I'll be beggered if I can find the instructions now.

Anyone help?

Ta
[Galaxy S 4 i9505 Original Android Development] dj3d:
•GPS not obtaining a fix

gps does not run synonymous with me .. for example, in navigon he finds no gps Signal

b Version 9.1
[Galaxy S 4 i9505 Original Android Development] damilari:
Hi Guys,

Many thanks for the job, that's great to have a recent Android rom on my old S4.

I just installed the rom and I got this popup message : Pixel Setup keeps stopping

It always pops up. My screen is black, I can do nothing.

Do you have an idea to fix this?

Thanks for your help
[Galaxy S 4 i9505 Original Android Development] Retrial:
Hey, I guess you did something wrong during the installation process, Redownload the Rom and recent Gapps Pico or Nano(Choose Platform ARM, 9.0 Android version)and follow these steps:

1. 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.

2. Flash your Custom Rom--->Magisk--->Gapps. Enjoy!

You can find full guide [URL="https://xdaforums.com/galaxy-s4/general/guide-i9505-how-to-clean-install-custom-t3864377"]HERE[/URL]
[Galaxy S 4 i9505 Original Android Development] BiMax:
Dirty flashed also ver. 9.1 but no luck.

Done some test:

- Snap app works perfectly if the storage is set to Phone memory (see pic below, photo 1, blue);

- If the storage is set to External SD, Snap seems working but the photo is not saved (see pic below, photo 2, red);

- GooglePhoto shows a grayed square instead of photo 2 (see pic below).

The two paths seem correct (see photos details below).

It seems Snap has not the right to write on external SD so it doesn't save the photo.

Tested also OpenCamera: same problem.

Do I need to give to Snap some root permissions?
[Galaxy S 4 i9505 Original Android Development] gvamp:
I have 4 S4s. 3x GT9505 and one GT9506. I have used all of these as daily drivers with the same and different sim cards, the 9506 with other roms. Just one 9505 has "no sim card" issues, I don't know the difference, couldn't say what I did different with the others. But I get the errors only with this rom, weird.
[Galaxy S 4 i9505 Original Android Development] rjt2291:
Welp, I gave this ROM some time to stabilize before I try it on my daily. I finally decided to try it out on my SGH-M919 and after having to restart TWRP 3.2.3 a dozen times to get the touchscreen to work, I get release 9.1 and Gapps installed and everything seems to be cool. I then hit the lock button and of course the touchscreen no longer responds. I had the same lock screen issue when trying out the Optimized LOS 14.1 ROM by JDCTeam back in 2017 as well before I went ahead and tried a different 3rd party ROM ( AOKP ) before later switching to the official LOS 14.1. The only difference I know between Side's 14.1 ROM and the AOKP 14.1 ROM I temporarily ran for a while is the AOKP was specifically tested on jfltetmo but could run on jfltexx.

I'm also getting an SELinux is not enforcing error.

I installed with TWRP 3.2.3-jflte and didn't include a root solution when installing ROM/Gapps. Saw somewhere root was optional for this ROM cause it comes preinstalled with SU.
[Galaxy S 4 i9505 Original Android Development] Solway:
im paranoid that the gps/sim issue is hardware related. google searches say about the tray failing.

Think there was 2 hardware versions of the sim tray if im not mistaken.

however, the issues dont seem present in stock rom.

anyway, do you recon it is kernel related? any tests we can do for you?
[Galaxy S 4 i9505 Original Android Development] side:
it must be related to sim slot + new blobs...because some people are not affected
[Galaxy S 4 i9505 Original Android Development] Solway:
but it doesn't happen in the stock rom :eek:

do you test with any modem versions?

im on latest UK one.

Model	GT-I9505
Model name	GALAXY S4
Country	United Kingdom
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	BTU
PDA	I9505XXUHPK2
CSC	I9505BTUHPK1

.
[Galaxy S 4 i9505 Original Android Development] side:
thats why i said "BLOBS" . whatever.give me a second chance on v10 :P
[Galaxy S 4 i9505 Original Android Development] damilari:
Many thanks for your help! I did something wrong for sure. I will give it a new try this weekend. In the meanwhile I moved to LOS 15.1 - Oreo.
[Galaxy S 4 i9505 Original Android Development] sjamie:
Is it not possible to access the external sdcard through Titanium Backup?
[Galaxy S 4 i9505 Original Android Development] cawli2:
It works for me -I've been doing so for every OptLOS16. I used it to backup everything onto my external scdard before moving from v8 to v9.1. In earlier versions I did have to tweak it some to get it to recognize the card, but in v9.1 it sees it right away without any fiddling.
[Galaxy S 4 i9505 Original Android Development] sjamie:
I'm on v8 right now and preparing to move up to 9.1. How did you make the sdcard accessible to TiBu on v8?
[Galaxy S 4 i9505 Original Android Development] liammc83:
As long as you have a directory of Android>data>com.keramidas.TitaniumBackup on your external SD, And root of course TB will recognize and be able to write to the above dir.

If you don't have the folder structure just make them using any file manage.
[Galaxy S 4 i9505 Original Android Development] cawli2:
v8 was okay (meaning it remembered my previous settings!) , but in earlier versions I had to:

1) click on the bottom left menu icon

2) preferences

3) backup settings - backup folder location

4) storage provider ... and fiddle until I got it right

It was a while ago that I had to do this so I can't remember the details after this point.
[Galaxy S 4 i9505 Original Android Development] sjamie:
Thanks guys, I figured it out! :D

Here's what I did in case it helps someone else:

- Open TiBu

- Go to Menu > Preferences

- Tap Backup Folder Location

- Tap above the Detect! button to change the Storage Provider

- Tap DocumentProvider storage

- Select root of external sdcard

- Tap OK

- Select your Titanium Backup folder

- Tap OK
[Galaxy S 4 i9505 Original Android Development] stomarti:
Touchscreen not working after lock

Tried v 9.1 today. Unfortunatly there's no change for my device. The touchscreen doesn't respond after lock.
[Galaxy S 4 i9505 Original Android Development] side:
Can u get a log from both Logcat and dmsg
[Galaxy S 4 i9505 Original Android Development] cawli2:
Playlist Empty after Reboot

I've tried many music player apps and found that songs added to a playlist disappear after a reboot. This is true also for the latest optLOS16 v9.1

However, I finally found an app whose playlist contents survive a reboot. Musicolet.
[Galaxy S 4 i9505 Original Android Development] vip5912:
It is very strange :confused:. I use AIMP and the playlist is always in place after reboot :).
[Galaxy S 4 i9505 Original Android Development] :
btw, I had a little issue with my display and thought it was because of the broken glas.

however with the v9 I think it is almost gone :eek:

only if I go to low with the brightness it start to make a green/yellow overlay at the bottom. (outside) inside it seems to be gone.

so, the proxy sensor is still on even if I deactivate the auto brightness?

conclusion; it wasn´t the broken glas, someone did bad work at programming.

other thing with blutooth,

once it lost connection with no reason.

often I can not reconnect or activate bluetooth, it says on for some seconds but then deactivate by itself.

have to reboot the system, anoying!

next thing with music player,

often after pause, home, screen off, screen on, music app can not repeat where it stoped.

have to force close and reopen, anoying!

OPTIMIZED? what the hell, it is still beta, should be numbered v0.9.1 ;p

BTW2: I also realized deactivating auto rotation is a good battery saver, lol.

maybe possible to lower the scan frequency or hysterisis?

yeah what else,

sry dude I´m also rude and lazy for the logs, but I maybe do someday if it really helps and the problems exists only on my phone.....

SUNNY DAY EVERYBODY and don´t forget:

[IMG=":)"]https://allhands.coastguard.dodlive.mil/files/2018/06/lobster.jpg[/IMG]
[Galaxy S 4 i9505 Original Android Development] Retrial:
Almost laughed with your post.

At least you know that you are rude and lazy. :cool:
[Galaxy S 4 i9505 Original Android Development] slovaky22:
Hi guys..

I have a question for people who use the rom.

This room work as normal?

Is suitable for daily use? GPS front and back camera? Wifi?
[Galaxy S 4 i9505 Original Android Development] side:
sadly its still beta.

u can use stock touchwiz until it gets stable
[Galaxy S 4 i9505 Original Android Development] cawli2:
I installed the best rated music player apps from google play store one at a time and stopped testing once I found one that preserved playlist contents after reboot. So there may indeed be other ones that do as well. Musicolet also had playlist backup ... just in case!

---------- Post added at 03:36 PM ---------- Previous post was at 03:32 PM ----------

I am very pleased with this ROM. Upgraded to v9.1 last week and use my S4 in all aspects of daily service.
[Galaxy S 4 i9505 Original Android Development] side:
Some changes to upload hosters:

Optimized-LineageOS-16.0 OLD VERSIONS rom at AndroidFileHost: HERE

Optimized-LineageOS-16.0 CURRENT BUILDS at HERE

Keep in mind that AFH will ALWAYS have ALL the versions but Google drive will have only the current and (current-1) version.

also, join our slack team for access to test builds before releases

thanks!
[Galaxy S 4 i9505 Original Android Development] rjt2291:
How, if the screen is locked? It would need to be recording and automatically save the log on it's own before a forced reboot.
[Galaxy S 4 i9505 Original Android Development] Buff99:
You can connect a pc via USB in this state and pull them remotely with ADB.

Last_kmsg is the kernel log from the previous session, so after a reboot this can be useful

Logs are always recorded. You don't start them.

It's just a case of pulling them at the right time with the right tools.
[Galaxy S 4 i9505 Original Android Development] kuddeldaddeldu:
Camera save to SD

Hi, in several posts was mentioned that camera wont save to SD. Is that problem to be fixed in further builds or do I have to use a permanent workaround (Mount SD as internel storage or using ohter App etc) for that issue. Thanks !
[Galaxy S 4 i9505 Original Android Development] Buff99:
It should have worked in 9/9.1. it's fixed in my beta ROMs.
[Galaxy S 4 i9505 Original Android Development] Retrial:
I can confirm in Optlos is not fixed yet. In beta roms of Buff it's fixed tho.