yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Active Android Development] Jim__boy:
i found a bug where the apps (including system apps such as Trebuchet and Settings) will crash after 5-10 secs, a restart will fix the problem, however it is annoying as it happens randomly and at any time.
[Galaxy S 4 Active Android Development] wilsonhlacerda:
1- when you installed this new ROM have you wiped SYSTEM + DATA + INTERNAL STORAGE (intermal emulated sdcard) + CACHE + DALVIK + EXTERNAL SDCARD (physical SD, at least the android folder in it), all that under TWRP?

If not, you may have problems. This always should be done when moving from one ROM to a new different one.

2- after ROM installed have you restored data for system apps (with Titanium Backup, TWRP, ADB or similar)? If so, you may have problems. This should never be done when moving from one ROM to a new different one.

3- which TWRP / version have you used to install ROM?

4- have you installed any GAPPs? None, MicroG, MindTheGapps, OpenGapps Pico, Nano, other? (for ARM and Android 9.0, right?)

5- are you Root? From own ROM under development options, SuperSu (version?) or Magisk (version?)?

6- are you running Xposed, EdXposed, Tai Chi? Which version?

7- Have you changed anything on system? Directly with tools or systemless with the help of any Magisk or Xposed module?

Always that we have problems is important to write about all above to help other users and - more important - the developer try to reproduce the bug and help us fixing it. Logs (can use app Matlog) is a plus.

---------- Post added at 04:21 AM ---------- Previous post was at 04:03 AM ----------

Thanks for replying and effort on ROM / TWRP!

Nice. I myself keeping TWRP updated (from official website) since always and have not experienced any problems till Android N at least, using daily. I'll check with your new Pie ROM.

Anyway just in case you haven't seen the user [MENTION=5672995]jcadduono[/MENTION] used to support TWRP for I9295 and even now his / her name is the responsible one on official TWRP website. He / she have also contributed to TWRP project in general some times.

This is a thread from him / her for our device:

https://xdaforums.com/galaxy-s4-active/orig-development/recovery-official-twrp-jactivelte-t3331202

Maybe it's interesting to let him / her know about your observations, fixes and even have his /her help on bringing that to official v3.3.x

Thanks!
[Galaxy S 4 Active Android Development] arco68:
New build:

http://www.mediafire.com/file/nxgfl6b9z545ql2/lineage-16.0-20190723-UNOFFICIAL-jactivelte.zip/file

Fixed handset/speaker switching in calls

Fixed voice call recording

Fixed notification LED in messaging app

Fixed Wi-Fi Direct

+ small fixes here and there
[Galaxy S 4 Active Android Development] lamed:
Well, this is amazing, especially for a guy that just came from android 4.4.1 8)

Thank you arco68 for your work, just donated to you!

I am trying to select a default home screen; I understand that pinching out on the desktop is no longer a thing(...) according to this long clicking on the desktop should display a home icon, in order to select the default home screen. But there's nothing like that for me.

(I also disabled google app (on the left hand side) because that's what it says on that link I gave)

*also I can't find a way to sort out the home screens order...

thanks :)
[Galaxy S 4 Active Android Development] Evgen_17:
The loud speaker works awesomely and microphones works just fine, i think even better then on official one.

The LED notification in messaging app still doesn't work. However, if i change the messaging app to another one - the notifications works as it has to be. But there's also a small bug: if the app has it's own led notification settings and even if you set there (in the app) "use the default system like" it anyways uses the default app LED notification settings but not the one from the system. I do not think that it's so critical.

With the last update the firmware start working much more stable, even photo and video works better almost like the stok one from Samsung. Thank you once more!
[Galaxy S 4 Active Android Development] arco68:
If you clear the data of the messaging app in lineage, then the LED notifications should start working. This will trigger a recreate of the notification channels with support for LED.
[Galaxy S 4 Active Android Development] Evgen_17:
Thanks for your advise, I did what you write and now everything is working fine. Thank you once more.
[Galaxy S 4 Active Android Development] MugTw:
I have installed LOS 16.0 on my S4 active and it works fine. My thanks and compliments for the good work. I have also rooted the phone according to instructions in the first post. It works and I can change the screenfont with iFont.

However, I get an error message from Titanium Backup. It says the phone is not rooted and the app wants SuperSu. What can I do about this?
[Galaxy S 4 Active Android Development] wilsonhlacerda:
As far as I can remember, TB shows a warning first time running when it does not find SuperSu, but you can accept that and it works fine with LOS Su.

Any way, I do suggest you to disable LOS Su and use Magisk. It is a much better approach (systemless) and almost a standard now. You can use it "core only" mode or even better with some of its good modules. For more information check the Magisk section here in XDA.

By the way, TB shows the warning also when under Magisk, but works fine. I also suggest on its settings to not use own busybox.....and install the Busybox Magisk module by osm0sis.

Besides that, the Magisk modules Debloater and Systemizer may be better than TB for their purpose.
[Galaxy S 4 Active Android Development] MugTw:
Thank you for your support answer. I have flashed Magisk 19.3 through TWRP and now it works fine.
[Galaxy S 4 Active Android Development] Farbenrausch:
I had to update TWRP from 3.1.0 to 3.2.3 to install.
[Galaxy S 4 Active Android Development] Evgen_17:
Can someone explain me is it bug or normal behavior of 9 android.

I've got the follow situation: when I copy files to SD-card (do not flounder with internal memory) they often become unreadable for me till I reboot the phone. It happens not so often with media-files, but almost all the time with apk-files.

I shall explain it with the screens, for test I chose some comfortable (for me) file-managers.

For examle FM "X-plore". When I copied apk-file from internal memory to SD it said, that he cannot read the data from it, but if I try to install the apk it will let me do it normally.

The FM "Total Commander" can't read the information from the file he moved to SD, all the strings in "apk-info window" are empty, but we can install it anyway, the system see the file there.

The same situation happens with the build-in FM "Documents". I tried to share this file to "APK-Checker" through this FM and the program said that the file lies in: /storage/emulated/0/Android/data/com.by_syk.apkchecker/cache/A406-D0BE:NakedBrowser.v.1.0.b.98.apk.

What does it mean?
[Galaxy S 4 Active Android Development] Evgen_17:
Looking for the file managers, which can work on Android 9 normally I found the "Ghost Commander" - an open-source application. On normal mode this app has the same troubles with SD-card as I posted before, but it has so called "root mode" which can be turned on and, as I understand, it ignore the system SAF and use busybox and su commands to operate with files. In such mode everything works like on the 5 android, almostly.
[Galaxy S 4 Active Android Development] zagi988:
My phone sometimes just randomly freezes while the screen is off.

Also, sometimes I click on something and the thing just fast reboots (so doesn't go for a full reboot, like restart).

Any ideas what I should look up to? What kind of log would help to see what's happening?
[Galaxy S 4 Active Android Development] wilsonhlacerda:
Hi, to better understand your scenario:

1- when you installed this new ROM have you wiped SYSTEM + DATA + INTERNAL STORAGE (intermal emulated sdcard) + CACHE + DALVIK + EXTERNAL SDCARD (physical SD, at least the android folder in it), all that under TWRP?

If not, you may have problems. This always should be done when moving from one ROM to a new different one.

2- after ROM installed have you restored data for system apps (with Titanium Backup, TWRP, ADB or similar)? If so, you may have problems. This should never be done when moving from one ROM to a new different one.

3- which TWRP / version have you used to install ROM?

4- have you installed any GAPPs? None, MicroG, MindTheGapps, OpenGapps Pico, Nano, other? (for ARM and Android 9.0, right?)

5- are you Root? From own ROM under development options, SuperSu (version?) or Magisk (version?)?

6- are you running Xposed, EdXposed, Tai Chi? Which version?

7- Have you changed anything on system? Directly with tools or systemless with the help of any Magisk or Xposed module?
[Galaxy S 4 Active Android Development] zagi988:
1. No, wiped system + data + cache, internal storage left the same.

2. No, I did not.

3. TWRP 3.0.2-0

4. OpenGapps Pico

5. Yes, root that is default with ROM.

6. Nope, nothing of that.

7. Nope, just deleted the stock browser and music app.

My camera is also not working properly... Pictures are working, video is not.
[Galaxy S 4 Active Android Development] wilsonhlacerda:
1. Usually this is enough, but I have already seen random bugs (on other ROMs) when not wiping internal storage (and external sdcard): the remaining stuff on the Android folder and some hidden ones (the ones started with periods "." ) may be a problem when switching Android version or stock/custom.

If possible, I suggest you to backup your data and wipe everything and try again from this clean install.

2. nice

3. newest TWRP for our device is 3.3.1-1. Check official website. BUT arco68, the developer of this ROM here, have also built his own unofficial TWRP, based on version 3.2.3. Read OP for links to download. Why? There are previous posts here in this thread explaining.

As the developer himself is using his own TWRP, I'd suggest to also use it, just in case. At least while trying this ROM, flashing it.

Another reason to you clean install.....

4. I myself always use Opengapps Pico. But arco68 uses and is suggesting to use MindTheGapps instead. Read OP. And this is also officially suggested by LOS developers themselves for LOS15 and LOS16.

Another reason to you clean install.....

5. Ok. If you are not using any root app now, disable it for a while, just to do some tests, to be sure that no app is messing with system.

6. Ok

7. Ok. But you have not deleted webview, right? Just the browser. If so this should not be a problem.

I myself have just tried very quickly this ROM, clean, just to check it and the great job by arco68 (thanks!). Then restored my backup of LOS14.1 by _JaSoN_ (thanks!) as I'm using it daily. I intend to do a full migration to LOS16 in a few days, but I need to carefully do some backups prior to that. So I myself cannot help you more than above now.
[Galaxy S 4 Active Android Development] ephemunch:
Very nice ROM. Thank you.

I have one small question. If I make a picture/video with the camera the camera saves it in /android/data/org.lineageos.snap and not in DCIM/Camera.

I have LineageOS 16 ROM on another Smartphone too and there it saves in DCIM/Camera.

How can I change it to DCIM/Camera?

Changing to external SD-Card is working. But even there it saves in (externel SD-Card)/android/data/org.lineageos.snap.

Otherwise it works perfectly so far.

1- Before installation everything wiped and cleaned.

2- Nothing old restored.

3- twrp-3.2.3-0-jactivelte.img.tar

4- MindTheGapps-9.0.0-arm64-20190615_031441

5- Root with Magisk-v19.3 & MagiskManager-v7.3.2

6- Never heard of it.

7- Only installed Youtube Vanced through MagiskManager like on another Smartphone with LineageOS 16 ROM+Magisk+MindTheGapps+TWRP 3.x
[Galaxy S 4 Active Android Development] wilsonhlacerda:
Are you sure? Cause S4 Active is ARM, not arm64. You should use the ARM variant.
[Galaxy S 4 Active Android Development] ephemunch:
Oh damn, you are right. Do I need to wipe everything now?

I mean it's working.
[Galaxy S 4 Active Android Development] wilsonhlacerda:
Weird it is working! As far as I know this would not be possible. Are you sure that you have flashed Arm64? Take a look on files you had copied or so.

Anyway, I do suggest you to flash it again. If it is wrong, you'll fix it; if not, then will not be a problem. What I suggest is:

- do a complete TWRP backup just in case

- wipe System, Cache, Dalvik. Do NOT wipe Data.

- flash ROM, flash MindTheGapps ARM

- reboot

- flash Magisk

- reboot

This way you'll have everything as should be, but the data from previous Gapps will continue. Who knows if this may be a problem?!

If you want to not have this doubt, then do it the completely right way:

- do a complete TWRP backup just in case

- use a tool to backup USER (only) apps + data**

- wipe System, Cache, Dalvik and Data.

- flash ROM, flash MindTheGapps ARM

- reboot

- flash Magisk

- reboot

- restore the USER apps + data

** a classic tool for that is Titanium Backup (be sure on its settings is set to backup whole app data, no matter its size; prefer to use system Busybox and install osm0sis's Busybox Magisk module).

But there is the new and very good app Migrate (Play Store and XDA thread) as an alternative.

There is also VR25's Migrator Magisk module (read thread under XDA Magisk section).

And also you can do manually with adb.
[Galaxy S 4 Active Android Development] ephemunch:
I wiped and installed everything new + arm Version of MindTheGapps-9.0.0.

Few minutes my WLAN worked but now I cannot deactivate it anymore. Damn...

Don't know what to do.

I would rather have done nothing

Edit: Now after shut it off for 30min and restart it worked again. Is it possible that it is not working if the temperature is too high? I was downloading many updates/apps.
[Galaxy S 4 Active Android Development] Jim__boy:
hi its me again, the sms (for me) is still not functioning, the smsc can't be changed on this rom however with my original 5.0.1 nandroid backup and RR 5.8.4 i can change the smsc and send sms.

and i tried switching sims with my other TB3-850M and the other sim also doesnt work with this rom.

but i can send and change the smsc with my other tablet with the sim used in my active. the sim appears to be "not setup". i'll try to send logcat and screenshots.
[Galaxy S 4 Active Android Development] wilsonhlacerda:
I've never seen wifi stop due to temperature. Probably was a connection problem, due to mobile and / or router, that endup freezing wifi state. But may be a bug, who knows. Keep an eye on that.

Something related is modem / bootloader: which one do you have currently flashed on your S4 Active? I do suggest to be the newest ones available for your country, and they both from same stock ROM.

If you are in doubt, you can download the newest stock ROM for your country (will be a Lollipop one), extract all the appropriate modem / bootloader files from it, pack them as modem / bootloader only and flash with Odin / Heimdall. You will not loose data or anything from your current LOS16 (but have backup just in case!)

---------- Post added at 03:48 PM ---------- Previous post was at 03:31 PM ----------

When posting logcat/screenshot, also let us know:

when you dial *#06# you get your IMEI without problems?

can you put/receive calls without problems with this same SIM?

can you connect data (2G/3G/4G) without problems with this same SIM?

can you receive SMS with the default ROM settings?

when using an alternative SMS app (download some from Play Store) can you send/receive SMS?

That may help better understand the problem.

By the way, there's a LONG time I don't see people changing SMS center number, more than a decade. Things just work as plug and play, I even can't remember to see settings for that on ROMs ?. Are you sure you have to change that for your carrier?
[Galaxy S 4 Active Android Development] MugTw:
Would there be a possibility to get ANT+ running on this ROM?
[Galaxy S 4 Active Android Development] lbls55:
Hi friends, is it possible to use Micro G instead of gapps???
[Galaxy S 4 Active Android Development] lamed:
I also flashed arm64, believing it was the right choice.

everything seems to be working fine for me.

here it says that it should be alright: "These CPUs support backward app installation only. Here is what you can exactly do.

ARM will support ARM or ARM-v7a apps only.

The ARM64 will support ARM, ARM-v7a, and ARM-v8a apps.

ARM will not support ARM-v8a or ARM64 apps."

-sounds to me that it should be alright.

edit: arco68 says I'm probably wrong, so don't listen to me!

I have two slight issues with this rom:

1. I had to reset my connections settings (system > reset options > reset wifi, mobile & bluetooth) because I get a bug, where when I turn wifi on, it turns on for roughly 10 seconds, and then turns itself off without actually connecting to anything or displaying a list of scanned wifi networks. Obviously this isn't the best as I then have to reconfigure my network settings.

2. youtube defaults to 144P, and loads videos very slowly, stops to buffer a lot. It does work better since I cleared youtube's caches.

(I do wonder if the 'MindTheGapps-9.0.0-arm64' I used may be a part of the problem, but I think it isn't.
[Galaxy S 4 Active Android Development] ephemunch:
Have the same issue

I found another bug/issue: Factory-Reset through LineageOS does not work. Only through TWRP Recovery.
[Galaxy S 4 Active Android Development] arco68:
It very well may be. 64 bit stuff should never be run on a 32 bit device.

| The ARM64 will support ARM, ARM-v7a, and ARM-v8a apps.

This is true, if ran on a 64 bit device, as 64 bit can run 32 bit. But 32 bit can not run 64 bit. It's the same as you can run 32 bit Windows on a 64 bit CPU, but not 64 bit Windows on a 32 bit CPU.
[Galaxy S 4 Active Android Development] mwwea:
I want to thank the OP and developer for its efforts to keep the OS up to date for this old device.

While I was pondering how to change from unofficial Android 8 to unofficial 9 I read this article:

https://www.xda-developers.com/lineageos-16-official-samsung-galaxy-s4-s4-active/

There we are told that now an OFFICIAL build of Lineageos 16 is available for our beloved device. Though I have not installed and tested it yet I am pondering now to "update" (clean install) to this version.

Has anyone read about or even tested this official release?
[Galaxy S 4 Active Android Development] wilsonhlacerda:
This is a common problem for lots of devices. I believe typically it is a recovery/twrp bug, not ROM itself.

For our devices we can not factory reset on LOS14.1 also for instance (and I think also CM13).
[Galaxy S 4 Active Android Development] macgherl:
Email app notifications

Hi all!

First of all, thanks for your amazing job. The ROM has revived my phone, litterally.

That said, I have two small (but annoynig for me) questions.

1. The Email app from Mindthe Gapps package doesn't behave like LineageOS 14.1

When receiving a new mail I always got a notification with led (green led blinking).

Now, Iget the notification only if I access the phone, but never a led is blinking.

I've tried to set the led color in App&Notification, but to no avail.

My question is what is the correct way to handle led notifications in this OS?

I've also seen a previous post here, and Arco68 had corrected led problems.

2. The PhotoCamera app saves the pictures in strange location (Android/data/org.lineage.snap/files

which doesn't always get discovered by the Gallery app.

How could we set the destination of the pictures?

Thank you in advance for your attention,

MacG.
[Galaxy S 4 Active Android Development] arco68:
There's now official builds.

https://xdaforums.com/galaxy-s4/unified-development/official-lineageos-16-0-t3954912
[Galaxy S 4 Active Android Development] wilsonhlacerda:
Hey ALL just an important reminder (and BUG!):

if you are using some Official TWRP and are going to flash (maybe downgrade) to some unofficial TWRP, be sure to have previously complete nandroid backup just in case!

I had Official TWRP v3.3.1-0 on my I9295 and flashed unofficial TWRP v3.2.3 by [MENTION=3044346]arco68[/MENTION]....then when rebooting to TWRP it automatically triggered Data wipe. Without any interaction nor warning, just did it with no time for me to avoid it. Somehow the flash triggered a factory reset :/ Probably a bug/incompatibility due to downgrade or something.

[MENTION=3044346]arco68[/MENTION] maybe you want to better check that. Please don't take that as a complain, but as a warning to all and bug report only. Thanks.
[Galaxy S 4 Active Android Development] MugTw:
I'm not sure if this is the right thread to post the question. But anyway. There is now a series of nightlies. The file says "signed" for each nightly jactivelte LOS 16 zip. However, when I check the 'signed' box in the TWRP I get an error message. So I don't check that box and then every installation goes OK. But then, why do the files have the word 'signed' in their names?
[Galaxy S 4 Active Android Development] arco68:
I've been going to/from different TWRP versions many times, and this has never happened for me.

Keep it disabled. It's useless anyway since it is checking against the test key, and Lineage is signed with a private key. For it to work, both recovery and rom has to be signed with the same key. It's basically only stock roms which makes use of it to prevent flashing custom roms with their recovery.
[Galaxy S 4 Active Android Development] crenga:
02:00:00... Wi-Fi MAC address in About Phone after installing LineageOS 16.0 on I9295

Hello big guys! I have this strange problem with Wi-Fi and Bluetooth not working after installing LineageOS 16.0 on Samsung S4 Active I9295. The device is rooted as per LineageOS installing guide.

I am using adb and heimdall on linux, I am an advanced user but not a developer. I have tried to go back to stock rom I9295XXUDOB4_I9295BTUDOB1_BTU.zip, in the stock rom the Wi-Fi MAC address is displayed correctly in About Phone but can not be enabled.

I have flashed NON-HLOS.bin twice in a row without reboot in order for the file to "stick", I have the correct baseband and bootloader match, I have upgraded bootloader and baseband to the last update available which is I9295XXUDPF1 from the official I9295XXUDPF1_I9295OJKDPE2_ILO.zip rom but still no Wi-Fi and no Bluetooth.

I went back to LineageOS 16.0 from official stock/bootloader etc., no Wi-Fi MAC address, no Bluetooth.

In the /efs partition I have the correct Wi-Fi MAC address and the correct Bluetooth MAC address but it seems that LineageOS kernel 3.4.112-gb6ef1a5 has some bugs reading /efs partition, even I have IMEI and LTE is working or maybe something is wrong with some files permission but I do not have a clue how to fix it.

Wi-Fi started to work after a request from Google Play to use Wi-Fi for downloading a large app but after a reboot did not worked any more, so I assume that the problem is software related.

In /system/vendor/firmware/wlan/prima there is a symbolic link for the file WCNSS_qcom_cfg.ini -> /vendor/etc/wifi/WCNSS_qcom_cfg.ini but the target file is missing.

Any ideas from a skilled developer to help me fix Wi-Fi and Bluetooth not working? Thank you.

P.S. Maybe the developer @jcadduno can give me the solution if he has time for a newbie.
[Galaxy S 4 Active Android Development] lamed:
In order to fix issues that I had before

(the youtube issues resolved itself, but all network settings had to be reset once in a while, when wifi would turn itself off right after turning it on, plus I couldn't play all audio files (most .ogg and .wma won't play) - I thought this had to do with me installing gapps arm64 by mistake)

So I downloaded the nightly 26.9.2016, wiped my phone and installed it (along the correct mindTheGapps), but I ended up with the same issue crenga described: wifi cannot be turned on (even after resetting network settings) and the wifi mac address is 02:00:00...

-I did not check the bluetooth.

(currently going back to how my phone previously was...)