yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 General] Retrial:
Hey,

Try to clean install Official LineageOS with the latest MindTheGApps or BitGApps. Let me know if crashes still exists.
[Galaxy S 4 General] spaced<->out:
Thanks for the prompt reply. I'll give it a go when I'm able. (Daily driver and all, here!)

You think the issue could be down to the JDCTeam LineageOS, or OpenGApps? Or the combination of both?

Edit: Can I try an in-place upgrade (is that what you call a dirty install?) to the newer [JDCTeam] Optimized LineageOS18.1 v6.0? Or is that likely to be just a waste of time?

Can I change the GApps in my existing install or is that only an option when installing fresh?
[Galaxy S 4 General] Retrial:
Yes, you can dirty flash the new version Optimized according my dirty flash guide.

BTW, Official LineageOS has OTA updater which with one click automatic download the latest update, reboot to twrp and flash the update for you.

The issue with crashes seems to be with Optimized LineageOS, as with Official+MindTheGApps I don't have any crashes.

Try the updated version Optimized LineageOS before you clean install Official LineageOS but I recommend to use Official since it gets regular updates. Optimized is now on very slow development and seems will not get any new update for A11.
[Galaxy S 4 General] Kippy51:
Although I agree with Retrial on Official Lineage being regularly updated, personally I think your troubles lie with Open gapps. A lot of builds lately are rather bad ... I only use Flamegapps at the moment without problems. The ROM I use on my S4 now is crDroid Android and it's wonderful.
[Galaxy S 4 General] Retrial:
Yes FlameGApps are stable and ready out of the box. But it's only for ARM64.

For our S4 we need ARM, so I suggest @spaced<->out to use the latest MindTheGApps or BiTGApps.

But I think it's ROM/Kernel issue. Official LineageOS or crDroid seems to be ok without these crashes.

(Links available in the collection)
[Galaxy S 4 General] spaced<->out:
Thanks for the advice!

One other thing, is it possible to change the GApps package installed, or is that only with a clean ROM installation? I'm guessing yes it can be reinstalled, but don't recall seeing instructions on how to do it.

I've been getting comfortable with my current installation (though not as comfortable as 5+ years on Lollipop!) so I'd prefer to avoid wiping the device if possible. Plus testing out all the possibilities that might be cause of the flaky app experience.

Edit: oh, I just read the dirty install ROM instructions and saw it says to flash GApps with the new ROM so I guess I just do it that way! :)
[Galaxy S 4 General] spaced<->out:
OK! I dirty-flashed Optimized LineageOS 18.1 V6.0 + BiTGApps and first impressions are the experience is much better.

Maps was formerly crashing almost immediately upon opening. It now appears stable, though I haven't stress-tested.

YouTube was also previously bombing immediately. It appears I still have issues as it now tends to freeze up after some time playing a few videos, but that's still miles better than I had before.

I might try re-flashing again with MindTheGApps after I've tested this out for a bit :)
[Galaxy S 4 General] Retrial:
Thanks for testing it out. I still think Official LineageOS or crDroid would be more stable with regular updates but you may lose some speed but to balance it if you switch to one of them, enable developer options and change animations to x0.5. If you switch I will guide you to make some changes on Official Los or crDroid.
[Galaxy S 4 General] Retrial:
New Update: 23/12/2021

Changelog:

Reorded the Recommended ROMs section (moved it up).

Added link to TWRP- 3.6.0_9-0 for GT-I9506 (ks01lte). Other variants get it from Official site.

Added link at Magisk section for Universal SafetyNet Fix by kdrag0n, updated for Zygisk and Riru. Read instractions. Also added a video guide by munchy.

Added a link to some Android FOSS Apps, Lawnchair (Launcher sub-section), SimpleLogin(Email sub-section), SmartPack Kernel Manager (Miscellaneous sub-section), Bitwarden (Password managers sub-section) at Usefull Apps.

Added a section "How to take logs" at Guides.

Added a note at Clean Install Guide about flashing problems and possible solutions.

Added 2 methods for Battery Calibration guide at Battery Tips section.

Cleaned up some tools to disable major tracking features of Windows and let only ShutUp10++ (working on Windows 11 too) and Privacy.Sexy at Privacy and Security.

Added Emojis at titles of Collection, Guides and Changelogs.

At #3 I separated the changelogs to Latest and Archive and hide them to save space in page 1 in thread.

Changed the Emojis on title thread.

⚠️ Note: Some files for some variants in AFH for Official Stock Firmwares(ROM's)/ Modems & Bootloaders are deleted by AFH because of low popularity on downloads. It's not my fault. I don't have these files anymore, if you find empty link for your variant pm me so I can search and re-upload it somewhere else.

Happy Holidays & Merry Xmas to everyone 🎅🎄
[Galaxy S 4 General] R4UD3:
Does anyone know how I can have the cellular bands of the i9505 or global version model since I have the m919 (t-mobile) model and in my country it only have 2g ???

i tried with the modem of the model i9505 and odin it's failed....
[Galaxy S 4 General] Retrial:
I don't think you can make it work like that. Don't flash other variants files, you make brick your device.

Go to my collection and may sure you are on the latest firmware/modem/bootloader for your variant. If that doesn't help I don't know how you could make it work.
[Galaxy S 4 General] R4UD3:
Ok i tried thanks for responding me 👍👍
[Galaxy S 4 General] spaced<->out:
Happy new year.

So I've concluded that BiTGApps hasn't really solved the crashing on my Optimised LOS install. Maps seems to work better, Gmail is okay part of the time, but YouTube is almost unusable.

Now I've been trying to reinstall Optimised LOS with MindTheGApps, but it keeps failing after extracting the zip with a message like the below:

Could not mount /mnt/system
Installation process failed with ERROR: 1

Tried with both

MindTheGapps-11.0.0-arm-20210920_083829.zip and

MindTheGapps-11.0.0-arm-20210412_124103.zip.

MD5s check out (as expected since the installer is extracting the zip) but they just won't install.

Any suggestions?
[Galaxy S 4 General] Retrial:
Hello and Happy New Year!🎉

Did you tried via my Dirty Installation Guide? Because I tested the latest MindTheGApps with Official LineageOS and working perfectly fine. If so try to mount the system and flash after.

Otherwise with clean Installation.

If you still encounter issues with OptLos, please Clean Install with MindTheGApps & Official LineageOS.
[Galaxy S 4 General] spaced<->out:
Yes, following the Dirty Installation instructions.

JDCTeam TWRP 3.5.2_9-0 (tried first the official 3.5.2_9-1 but it did not work)

Wiped Dalvik / ART Cache, Cache and System

Flashed Optimized-LineageOS-18.1-V6.0.zip - success

Flashed MindTheGapps-11.0.0-arm-20210920_083829.zip - error

Flashed MindTheGapps-11.0.0-arm-20210412_124103.zip - error

Flashed BiTGApps-arm-11.0.0-R44_signed.zip - success

Am I missing anything?

Agreed I'm probably heading to a clean install with official LOS.
[Galaxy S 4 General] Retrial:
Use Official TWRP 3.5.2 (or 3.6 from here) instead of JDCTeam. It has some issues.

Generally with Official LineageOS you will have regular OTA updates with latest security patches and updates and more stability.
[Galaxy S 4 General] spaced<->out:
That did the trick.

TWRP 3.6.0_9-0

Optimized LineageOS 18.1 V6.0

MindTheGapps 11.0.0 20210920

It flashed successfully, but upon boot I immediately received a "Android Setup has stopped" message, and it kept popping up until I disabled the service.

And YouTube still crashes pretty much immediately.

So I guess it's the kernel, time to wipe and try official.
[Galaxy S 4 General] spaced<->out:
Well truly this is a gift that keeps on giving :geek:

I took the plunge and clean-installed Official LineageOS 18.1 nightly build 20220106.

Acknowledging that MindTheGapps is the only GApps supported, I nonetheless decided to try it with BiTGApps because I like a 'Google-lite' experience without so many helpers and background processes.

I've had a stable experience since, no more hectic crashing or any other major issues (except I think my battery is wearing out again - easily changed on a S4).

I even found the way to restore swipe typing so Yay.

Oh, during first start when asked if I wanted to install Lineage Recovery, I allowed it thinking it must be a backup option or something. As I found, it's a recovery OS alternative to (and replacing on my device) TWRP. Looks nice but much more limited than TWRP. Hopefully I won't need that additional functionality then...?

ANYWAY, then I got my first OTA update notification for 20220113 nightly build.

I downloaded the update and let it do its thing through Lineage Recovery to install. Coming out the other side, the phone sat on the loading animation for a long while, then returned to Lineage Recovery saying the system could not be started, my data may be corrupt and suggesting to format my device. Damn.

I'm guessing this failed because I installed BiTGApps. I really didn't want to format again, because I have work apps on this device which are a pain to reload every time.

I tried reinstalling through Lineage Recovery using the 20220106 build and BiTGApps archives that I still had on my SD card, but the output seemed to indicate a problem with the GApps and it still couldn't boot.

I was able to get back up and running without losing anything by using Odin to reflash TWRP, and then follow the dirty-flash procedure in TWRP with 20220106+BiTGApps. Great, but I've since found that each time I start up LineageOS it will overwrite TWRP with Lineage Recovery again. o_O

I haven't been able to find a setting to stop it doing this. So how do I make it so I can keep TWRP as my recovery firmware?
[Galaxy S 4 General] Retrial:
Try to go to Settings > System > Advanced > Updates > 3dot menu > Options > Disable Update Recovery if it's enabled.
[Galaxy S 4 General] spaced<->out:
Well then, I thought I'd already done that and still Lineage Recovery reasserted itself over TWRP. But I just checked and it was enabled again/still. Turned it off and now it's stopped overwriting the recovery OS and I can use TWRP.

Then I tried the OTA update again (installing through TWRP), but although the output indicated success it still couldn't boot afterward.

I then inadvertantly wiped my Data when I tried to dirty-flash back to the last version, which meant I lost all my apps and settings anyway.

So I thought why not try the install again with OpenGApps pico like I had back at the start (I had noticed Google Maps wasn't working great prior, so worth trying a different GApps). So I got rolling again with a clean install of the 20220106 build and then attempted the OTA update to 20220113, and this time all worked properly after the update was installed through TWRP. Yay 🥳
[Galaxy S 4 General] Beyond01:
Does anyone happen to have a mirror for the SCH-R970 jflteusc bootloader/modem?
[Galaxy S 4 General] Retrial:
Unfortunately some files for some variants in AFH for Official Stock Firmwares(ROM's)/ Modems & Bootloaders are deleted by AFH because of low popularity on downloads. It's not my fault. I don't have these files anymore, if you find empty link for your variant try to search on google for the latest firmware (which u can still find in my collection which one is the latest) and I will make Bootloader/Modem for you.
[Galaxy S 4 General] Retrial:
New Update: 04/02/2022

Changelog:

Updated links to Magisk-v24.1. (Full changelog here)

Added FoxMagiskModuleManager at Magisk Collection. This app replace the official magisk module repository since no longer available.

Added UIBencher at Usefull Apps (Miscellaneous sub-section). You can check kernel jitters with that app. Also added Squoosh, an image compression web app.

Added Mull and Fennec Browser at Usefull Apps. (Browser sub-section)

Added a link to How You can also Flash Custom ROM using ADB sideload Method at Clean Installation Guide.

Changed some steps at Clean Install Guide.

Added new section Universal Android Debloater.

Added Buffcore Kernel Manager in my AFH. You will find the link in JDCTeam Universe section. This manager only works best for Optimized LineageOS and other JDCTeam ROMs which use as kernel the Buffcore.

Added as Note at Firmware/Modem & Booloader Collection: "If you can't find the Firmware for your device from the link below, then it's not my fault. Android File Host informed me, they delete files with less population on downloads. I don't have these files anymore." I will try to slowly move to sourceforge when I have time.
[Galaxy S 4 General] Retrial:
New Update: 28/02/2022

Changelog:

ROMs:

Changed the Recommended ROM crDroiod for GT-I9506 (ks01lte) variant to new version of crDroid Android 12.

Added in JDCTeam Universe thread the Preview LineageOS Unofficial build based on Android 12.

GApps & microG:

Renamed title from GApps to GApps & microG.

Created 2 sub-sections for GApps and microG and Added microG and its variants links.

Reordered GApps.

Changed the link of BiTGApps.

Added LiteGapps.

Useful Apps:

Added Bromite buildtools Browser which is basically a Bromite with latest security patches and fixes and some additional features like toolbar on bottom, expiry time on history and more. This is created by a regular contributer Uzuao of original Bromite since original Bromite developer doesn't push updates and pull requests fast.

Added RadioDroid (Multimedia sub-section) and MatLog (Miscellaneous sub-section).

Guides:

Added Screen Retention Fix Guide for devices which has this issue.

Added the device Battery Model at Battery Guide.

Some minor changes here and there.

Changelogs:

Created sub-sections to be better categorized and be cleaner for all changelogs, old and new ones.

⚠️

Notes:

XDA now allows Pling.com as file host so any development hosted on that service now will be included in my thread. You can also make a request to add a ROM or something if I miss it.

Read more about it here.
[Galaxy S 4 General] piero-e:
Hi @Retrial,

What an impressive and usefull collection and guides !

are you aware of the privacy oriented /e/OS builds for our lovely i9505 ? https://doc.e.foundation/devices

I use it for more than 2 years without major issues
[Galaxy S 4 General] Retrial:
Hello e-piero,

Yes I am aware of /e/OS however I don't recommend it.

One guy in my other POCO F1 Collection & Guides asked me about it. You can find more by reading the conversation from here and basically here.

Also in some reddit posts here and here.

EDIT: You can take also a look at Official DivestOS if you want, as alternative.
[Galaxy S 4 General] piero-e:
Thanks for the fast and instructive reply

I know DivestOS, I have successfully tested it, and i like the dev,

but I really don't want Gogol in my life ...

and as I remember the mandrake revolution was to attract new linux users,

I want to follow Gael Duval attracting new Custom Android users,

/e/OS is not designed for geeks, the target is clearly Apple users or basic android users.

Theirs user's respectful cloud services and harmonized native forked apps works out of the box.
[Galaxy S 4 General] Retrial:
I don't understand what you mean "Gogol" = Google?

DivestOS seems de-googled tho.

Well if you like outdated versions of Android with automatic builds without a proper dev and forked apps (without giving credits anywhere) combined with their cloud services (which you also have to trust) then I guess /e/os it's fine :p however I cannot unseen that privacy & security is not the main purpose of the ROM and this is how /e/os present themselves.

I don't see anywhere the advantages of /e/os compared to other ROMs, to me it seems even more bloated with their services.

LineageOS microG or DivestOS are better choices for S4 and if you have Pixel phone then GrapheneOS.
[Galaxy S 4 General] Retrial:
New Update: 01/04/2022

Changelog:

ROMs:

Added Official DivestOS in Recommended ROMs for GT-I9505 (jfltexx).

Added LineageOS microG in Recommended ROMs for GT-I9505 (jfltexx) and similar variants.

Added LineageOS microG in Recommended ROMs for GT-I9295 (jactivelte).

Custom Recoveries:

Added the new Official build of twrp-3.6.1_9-0-jflte on my AFH.

GApps:

Added Open GApps Unofficial A12.

Magisk:

Updated Magisk version to v24.3 in my AFH.

Added Shamiko module to Hide Root from apps along with a Guide about it.

Added Momo app so you can use it too check if any modifications related Magisk are detected or not.

Note: to pass everything use Shamiko and Universal Safetynet Fix (If the ROM you are is not passing safetynet by default).

Removed Magisk v23.0 folder from my AFH.

Useful Apps:

Replaced F-Droid with Droid-ify client (also at Privacy Guides). Read here why.

Added a list with Recommended Apps by DivestOS.

Added a Browser Comparison Table by DivestOS to choose your browser in Browsers sub-section.

Added KISS Launcher (Launchers sub-section) and (Repainter by kdrag0n (Miscellaneous sub-section).

Added Youtube Vanced Archive backup (A archive of all published versions of Youtube & Youtube Music Vanced) and Alternatives near Youtube Vanced link.

Since you already may know YouTube Vanced shut down due legal reasons but you can still use it until Google make changes to API (~2years according to Vanced Team). A promised project to replace Vanced is under development and called ReVanced, you can join their discord here. The app will patch Official Youtube locally in your device, so I guess will avoid shut down from Google since everything happens locally. ;)

Created a new Camera sub-section.

Added Secure Camera (Camera sub-section) and Secure PDF Viewer (Office Tools sub-section) by GrapheneOS. The links are for Google Play but you can also find the .apks in GrapheneOS Github. You can check the xda article here.

Changed the link of KeePassDX (Password Manager & (2FA) Two-factor Authenticator sub-section) to XDA thread since it's now openned. Check it out and give some love.

Guides:

Added in Privacy Guide a Spyware Watchdog Article Catalog which determinate under tests and tracking if an app is spyware and what data it collects.

Changelogs:

Added a note about the changes that happens in real time and the date I post the changelogs are just a sum up, so you can always consider the Collection & Guides Up-to-Date.
[Galaxy S 4 General] DiamondJohn:
@Retrial You have added in Droid-ify over F-Droid, however, if I read it right, that one is only for Android 12 and above?
[Galaxy S 4 General] Retrial:
Hey,

No, I think it's working fine on older versions. According to Privacy Guides, you just have some extra +++ on Android 12 and above:

"Unlike the official F-Droid client, Droid-ify supports seamless updates on Android 12 and above without the need for a privileged extension. If your Android distribution is on Android 12 or above and does not include the F-Droid privileged extension, it is highly recommended that you use Droid-ify instead of the official client."

I wanna say that is also much smoother and faster than F-Droid.
[Galaxy S 4 General] Retrial:
Quick update:

Added the new Magisk version 24.3 to my AFH and included in the latest changelog.

Sorry guys, I forgot it. 😝
[Galaxy S 4 General] Retrial:
Warning:

For root use the Magisk-v24.1 and then upgrade to latest via the app. For some reason the latest version of Magisk-v24.3 doesn't work directly in latest TWRP 3.6.1.
[Galaxy S 4 General] piero-e:
Works with TWRP 3.3.1
[Galaxy S 4 General] Retrial:
Indeed it may work with older versions of TWRP but with older versions of TWRP the new GApps based on Android 12L/12.1 doesn't work and need the latest TWRP 3.6.1 :p
[Galaxy S 4 General] Retrial:
New Update: 07/05/2022

Changelog:

ROMs:

Updated link for GT-I9506 (ks01lte) variant, Unofficial LineageOS 19.1.

GApps & microG:

Changed the link of BiTGApps since their website is always down.

Reordered microG packages.

Magisk:

Added a Warning: For Magisk use the Magisk-v24.1 and then upgrade to latest via the app. For some reason the latest version of Magisk-v24.3 doesn't work directly in latest TWRP 3.6.1.

Re-uploaded Magisk-v24.1 folder in my AFH.

Usefull Apps:

Added Scrambled Exif (Office Tools sub-section), Session (Social sub-section), Imagepipe (Camera sub-section) and PCAPdroid (Miscellaneous sub-section).

Changed the name of Droid-ify (Miscellaneous sub-section) to Neo Store.

JDC Thread:

Updated link for Optimized LineageOS 19.1. 🌟

Added all the android versions of preview builds.
[Galaxy S 4 General] dcungoz:
Resolved. Thank you.

https://xdaforums.com/t/note-4-stuck-in-recovery-or-downloading-when-trying-to-update-os.4443185/
[Galaxy S 4 General] gwm121:
Thankyou.. beautifully organized. Caps an error, oh for big alert lite on comp keyboard!

My best fone was note 4 samsung i prefer it to the last recent xiomi I bought which has no message alert led and no permeant message alert

are these pixel roms available fornote 4.. are they likely to have the same twrp eraze,
[Galaxy S 4 General] Retrial:
New Update: 01/07/2022

Changelog:

Recoveries:

Added Unofficial TWRP Recovery by @notnoelchannel

Removed JDCTeam Recovery from Recommended.

GApps:

Reorded some GApps.

Magisk:

Added Magisk-v25.1 in my AFH.

Removed Lygisk.

Removed the Warning:

For root use the Magisk-v24.1 and then upgrade to latest via the app. For some reason the latest version of Magisk-v24.3 doesn't work directly in latest TWRP 3.6.1.

Updated link for Momo app.

Usefull Apps:

Added K-9 Mail (soon Thunderbirds email), OpenBoard (Office Tools sub-section) (Email sub-section) and AppManager (Miscellaneous sub-section).

Guides:

Added link to PrivacyTests: Open-source tests of web browsers privacy in Privacy section.
[Galaxy S 4 General] notnoelchannel:
can I get my unofficial twrp 3.6.2 in to twrp recoveries? :p
[Galaxy S 4 General] Retrial:
Oh sorry, I had it to my mind to add it and I forgot it.

I will add it now sure!
[Galaxy S 4 General] notnoelchannel:
thx!!! :DD
[Galaxy S 4 General] mittfh:
Potentially stupid question: I currently have Lineage 16 (July 2019 vintage) on my S4 (spare phone - hasn't been upgraded recently as it had work's VPN 2FA on it [SafeNet MobilePass - and requesting a new token from ICT was a hassle!], but now they've moved to a different solution, it's free to be upgraded again!)

Reminding myself of the procedure, I notice flashing bootloader + modem, which I don't recall doing before (except perhaps on the very first install, using the Linux equivalent of Odin?)

Is that just a first time thing, or something now recommended for each Lineage upgrade?
[Galaxy S 4 General] Retrial:
It's recommended to use the latest Bootloader+Modem (one time flash, then no need) but you can you can skip if you want.

Btw the latest Official LineageOS is 18.1, you will enjoy it, happy upgrading! (There is also an Optimized LineageOS 19.1 but have some bugs here and there)
[Galaxy S 4 General] DiamondJohn:
You should check which bootloader/modem version is the specifically required one for the ROM. The source code will be built to/using a specific bootloader/modem, using matching manufacturer supplied binaries for a specific boot/modem.

When I was using my S4, one dev was using an old boot/modem while the other was building using another. To switch between the ROMs, you would have to upgrade or downgrade your modem & boot appropriately.