yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] gundheri:
Hi [MENTION=9489673]mernurisha[/MENTION], will a new 16.0 version come, as well?
[Galaxy S 4 Mini Android Development] mernurisha:
New update for Lineage-16 comes this weekend.
[Galaxy S 4 Mini Android Development] miccca:
oh great! many many thanks
[Galaxy S 4 Mini Android Development] gundheri:
That's great! Thank you in advance!!!:good:
[Galaxy S 4 Mini Android Development] mernurisha:
New Update

Download: lineage-16.0-20200801-UNOFFICIAL-serranovelte

- LiveDisplay support

- Kernel with KCAL support

- Security patch -july 2020
[Galaxy S 4 Mini Android Development] gundheri:
Thanx a million!!!
[Galaxy S 4 Mini Android Development] Nokono:
There is back the problem with sd card on this update. It says "problem with sd card" and proposes to format. Dont see it if format was rejected.

P.S. card is absolutely ok, samsung brand. Works perfect on previous builds
[Galaxy S 4 Mini Android Development] mernurisha:
Thank you for your hint. Maybe I missed something.

I'll look into it.
[Galaxy S 4 Mini Android Development] miccca:
- LiveDisplay support

- Kernel with KCAL support

- Security patch -july 2020[/QUOTE]

[MENTION=9489673]mernurisha[/MENTION] thank you for your time.
[Galaxy S 4 Mini Android Development] mernurisha:
Sorry guys. I need to correct something in the last build. So I deleted the download link.

Will upload again in the next hours.
[Galaxy S 4 Mini Android Development] mernurisha:
Edited update

Here the new update again:

lineage-16.0-20200801-UNOFFICIAL-serranovelte

- LiveDisplay support

- Kernel with KCAL support

- Security patch -july 2020

I hope this one's okay.
[Galaxy S 4 Mini Android Development] miccca:
I hope this one's okay.

it works properly again thank you
[Galaxy S 4 Mini Android Development] ffox.pl:
Using TWRP-3.4.0-0-serranovelte I am trying to install lineage-16.0-20200801-UNOFFICIAL-serranovelte.zip. Unfortunately I get error 7. Is there a solution?
[Galaxy S 4 Mini Android Development] mernurisha:
I guess the following problem:

either a bad download .zip or a transfer from PC to SD-card was not performed properly.

Try again, it works.
[Galaxy S 4 Mini Android Development] ffox.pl:
Before your post I could upgrade system but without any WIPE. After full WIPE there is an error 7. Soon I will try your suggestion, thx.

P.S.

lineage-16.0-20200801-UNOFFICIAL-serranovelte contains open_gapps-arm-9.0-pico and Magisk-v20.4, am I right?
[Galaxy S 4 Mini Android Development] mernurisha:
You can use this https://opengapps.org/ or this https://www.pling.com/p/1364196/.

gapps-arm-9.0 or BiTGApps-arm-9.0.0-R11_signed. It's up to you.

Magisk if you want to get root.
[Galaxy S 4 Mini Android Development] Nokono:
Indeed. No problem with sd card. Thank you!

Is it possible to make the similar correction regarding sd card in your LOS 17.1?
[Galaxy S 4 Mini Android Development] MrGoodtunes:
ColtOS too?

---------- Post added at 02:57 PM ---------- Previous post was at 02:42 PM ----------

Although IDK the cause of your Error 7, your TWRP screen capture may be showing a few clues:

#1: Top line indicates System format as e2fs, maybe should be ext4 ?

#2: Part way down it shows Unmounting System... That does not seem good!

#3: Then "detected filesystem ext4 ... /system" seems to support #1 (above).

Just some possible clues. Maybe somebody here is more knowledgeable and can help. If not, consider using TWRP to format System using ext4 (assuming you have stored a useful backup).

Edit - Apparently #2 is not a problem, as that just now happen'd on successful flash for me. Sorry, I'm a noob always learning.
[Galaxy S 4 Mini Android Development] mernurisha:
I'll try that within the next few days. I have an idea. Probably first with ColtOS.
[Galaxy S 4 Mini Android Development] ffox.pl:
I finally installed lineage-16.0-20200801-UNOFFICIAL-serranovelte. All partitions were ext4 and I didn't change anything. First full WIPE. Next I had to repair every partition in Advanced Wipe (Repair File System). Then REBOOT to Recovery again. Now the files were finally installed without errors.

Thank you for your willingness to help.
[Galaxy S 4 Mini Android Development] yourproblem:
After Wipe you should restart the phone into recovery. The Error 7 is gone.

I had the same problem with latest TWRP.

In older TWRP-Versions I could flash without restart (if I remember correctly).
[Galaxy S 4 Mini Android Development] Nokono:
[MENTION=9489673]mernurisha[/MENTION]

On the last build reboot/boot quite often happens with 1-2 bootloops.

Nothing critical, just several seconds boot delay, but never happened on previous builds.

Besides that no bugs, thank you, cool ROM.
[Galaxy S 4 Mini Android Development] mernurisha:
On the device side, I did not make any major changes compared to the previous build.

Either this is due to the rom source or twrp 3.4.0.

Does this also happen with twrp 3.3.1?
[Galaxy S 4 Mini Android Development] Nokono:
I use 340. So need to try with 331
[Galaxy S 4 Mini Android Development] gundheri:
Ah, good to know I'm not alone with this issue. I wrote about this in the 17.1 thread. I experience these boot-loops with 16 and 17.1 but haven't tried TWRP 331, yet.
[Galaxy S 4 Mini Android Development] mernurisha:
Yeah, you're right. Now everything is back to normal with the last TWRP.

Or you can flash this twrp is new and has been synced with new source.

I have never had problems with boot loops with either 16.0 or 17.1. What adjustments have you made exactly?

You talk about boot loops all the time, why don't you make logcat. What is the original build number of your device?
[Galaxy S 4 Mini Android Development] gundheri:
That's great but won't help me.

Too much to write them all down. Adjustments in all sections of settings. As I wrote in the 17.1 thread the boot-loops began after having made adjustments in settings>display.

Yes, because they are the issue and I experience them all the time!

Would this lead to any changes with my device, TWRP (several versions), your ROMs???

I don't care since it's enough for me and I'm off! See 17.1 thread.
[Galaxy S 4 Mini Android Development] mernurisha:
New update

- security patch August 2020

Download: lineage-16.0-20200814-UNOFFICIAL-serranovelte
[Galaxy S 4 Mini Android Development] miccca:
security patch August 2020

thank you again my friend.
[Galaxy S 4 Mini Android Development] Nokono:
Latest build, latest twrp - till now no bootloops. Thank you a lot!

Haven't tried with 331 - no need.
[Galaxy S 4 Mini Android Development] x53:
little feedback: I did get error 7, too. Tried to install your last ROM (witch includes security patch August 2020) using TWRP 3.4.0. After rebooting TWRP the error was gone. So no big deal if you know this workaround.

---------- Post added at 14:08 ---------- Previous post was at 13:39 ----------

Does root access any longer work using addonsu-16.0-arm-signed.zip? Because I can activate root only for ADB but not for Apps. Or do I have to use magisk because SU is obsolete since latest builds? Besides here I found a solution but this does not work.
[Galaxy S 4 Mini Android Development] mernurisha:
For clarification - the previous TWRP 3.4.0 version had problems installing the rom directly after a complete wiping without restart ( this only happened with LOS16 ).

After syncing the last TWRP source the error is gone. The current TWRP 3.4.0 ( 20200815 ) is now okay.

I don't have much experience with SU or Magisk. I don't use it. I just know SU is obsolete use Magisk.
[Galaxy S 4 Mini Android Development] x53:
Thank you very much for the bug fixing and the clarification. I had downloaded TWRP 3.4.0 earlier...

Another question:

Does anyone have experience in using hardware key leds for notifications? With CM13 I got it to work but not with newer ROMs. When the screen is turned off the following commands show no effect. Maybe someone could give me a hint. I spent many hours on it without any luck.

echo 1 > /sys/devices/soc.0/i2c.71/i2c-7/7-0020/leds/button-backlight/brightness # turn leds on
echo 0 > /sys/devices/soc.0/i2c.71/i2c-7/7-0020/leds/button-backlight/brightness # turn leds on
[Galaxy S 4 Mini Android Development] msbln:
'Hardware key background illlumination leds' for notification as a substitute for the missing dedicated notification led

- wow, never heard about that. I've switched mine off because I've learned where they are by now :) But using them for notification purposes is a brilliant idea for this phone, and could be useful sometimes. Great idea anyway.
[Galaxy S 4 Mini Android Development] x53:
To narrow down the problem a litte deeper I tested almost all ROMs turning on button leds when lcd is off. My findings CM11, CM12.1, CM13 and CM14.1/LOS14.1 does work, with little ROM exceptions. But since LOS15.1, LOS16, LOS17, AospExtended, PixelExperience, whatever, it's

not

anymore possible to utilize hardware buttons backlight for notifications. I don't know why. Only our device seams affected, but not other phones with hardware led buttons. I tested myself a Samsung ACE3 LTE (GT-S7275R) which does work with LineageOS 15.1. I have no clue how to get this to work with LineageOS 16 or LineageOS 17. Maybe someone has a hint ?
[Galaxy S 4 Mini Android Development] misotauros:
I am a bit baffled - got my hands on second GT-I9195I and installed the same lineage (20200814) from [MENTION=9489673]mernurisha[/MENTION] as I did for my first - same way with TWRP-3.4.0-0. My first phone I rooted with the tool offered by xda.

Since I could not make that tool to work on the second - I installed magisk.

What I can not grip my head around is this: on my second phone in developers option I can only give ROOT access to adb or disable it, while in my first phone I have a third option: apps and adb.

I installed magisk on my first phone too - but it still offerst all three option.

Has anybody here an idea about where that third option is coming from?
[Galaxy S 4 Mini Android Development] Nokono:
If you have magisk - do not pay attention what is in developer options. Having adb only there is ok, magisk rules.

To have all options in dev menu you need to flash addonsu for Pie. Available on official lineageos site downloads-extras.

But lineage su + magisk is a bad idea, conflict of 2 root managers. You should flash addonsu-remove, then flash magisk.
[Galaxy S 4 Mini Android Development] cristihan:
If you want old "style" ROOT, flash addones from LOS website. You will have that adb+app under root.
[Galaxy S 4 Mini Android Development] helium314:
[MENTION=9489673]mernurisha[/MENTION]

I want to have some customizations in the ROM, so I built from the sources you linked.

But even if I build without changing anything, there are some differences compared to your ROM (2020-08-14 version): In my build I have some "prevent accidental wake-up" display setting, ambient display does not work, selinux is disabled instead of enforcing, and IR is much darker and thus basically useless (and maybe differences more I didn't notice).

My concerns are mainly the ambient display and the IR which I want to get working... do you know what needs to be done?

Also the other differences are interesting... I presume you use a bit different sources (hardware/vendor?) than what is in the first post. Are they available somewhere? Or did I just do something wrong along the way?
[Galaxy S 4 Mini Android Development] cristihan:
Definitely use other sources. He has never published the source he is actually working on. He was also asked about the source (pag. 9 - misotauros, pag. 20 - jakall) and never answered. If you want to have a start from which to get an idea, look in the forks on Github

https://github.com/Galaxy-MSM8916/android_device_samsung_serranovelte/network/members
[Galaxy S 4 Mini Android Development] helium314:
Thanks for the info! This is quite unfortunate...

At least I was able to get IR working properly by simply replacing the default IR library with mernurisha's. Probably ambient display can be fixed in a similar way.
[Galaxy S 4 Mini Android Development] Nokono:
And tis rom IS also for serranoveltexx
[Galaxy S 4 Mini Android Development] Didgeridoohan:
Thread closed at OP's request.
[Galaxy S 4 Mini Android Development] MrGoodtunes:
Look here:

https://xdaforums.com/galaxy-s4-mini/orig-development/rom-lineageos-16-0-s4-mini-t3833063
[Galaxy S 4 Mini Android Development] ffox.pl:
[ROM][GT-I9190/I9192/I9195][Unofficial Test Builds][9.0.0] LineageOS 16.0 for S4 Mini
[Galaxy S 4 Mini Android Development] ffox.pl:
I confirm, I have the same behavior of our i9195i after installing the sound_fix.zip. The only change is drastically reducing the sensitivity of the microphone. Earspeaker is still very low.
[Galaxy S 4 Mini Android Development] ffox.pl:
I edited mixer_paths.xml. I changed all:

"RX1 Digital Volume" value="89" and "DEC1 Volume" value="89"

to

"RX1 Digital Volume" value="93" and "DEC1 Volume" value="93"

The speakers are louder now.

I suspect the "sidetone" and its "IIR1 INP1 Volume" value="53" is responssible for the terrible reverberation. I am not a developer... ...anybody can help?
[Galaxy S 4 Mini Android Development] mernurisha:
Reader Mode is known to me.

Have you already tested this version because of gps - lineage-16.0-20190721-UNOFFICIAL-serranovelte ?

In the last LOS-16 version gps was taken by caf. This will be better in the next build.
[Galaxy S 4 Mini Android Development] mernurisha:
Reverberation issue fixed.
[Galaxy S 4 Mini Android Development] miccca:
thank you very much mernurischa when is the rom update?
[Galaxy S 4 Mini Android Development] mernurisha:
I have to test some things before. It may take a while.

Maybe at the end of this week.
[Galaxy S 4 Mini Android Development] mp7 s4m+:
Does the kernel have special tweaks, or it's the same of revengeOS?
[Galaxy S 4 Mini Android Development] mernurisha:
The same kernel.
[Galaxy S 4 Mini Android Development] miccca:
mernurisha I am already very satisfied with this ROM so take your time.

thanks again.
[Galaxy S 4 Mini Android Development] hekalejan:
Trying it out

Just switched from the Pixel rom cause it was way too laggy on my phone. Can someone please link me how to download the google apps? Gapp is it? Much appreciated thanks!
[Galaxy S 4 Mini Android Development] mernurisha:
here is the link

https://opengapps.org/

Platform - ARM

Android -9

Variant - micro, nano or pico (is your choice)
[Galaxy S 4 Mini Android Development] hekalejan:
AMAZING

Thank you! Got it all set up and OMG what a night and day difference from my experience with the Pixel rom. THIS one is working flawlessly. Currently checking to see if it will work with my 120GB SD card. Transferring files over a few at a time because if I do all of it at the same time it crashes.
[Galaxy S 4 Mini Android Development] mernurisha:
The new update with new audio, GPS will be released tomorrow.
[Galaxy S 4 Mini Android Development] hekalejan:
My 120 GB card works when I format it and add files through my PC, however when I turn off my phone and turn it back on it makes me format it again =(

Oh well I guess this is just the way it is huh? The weird thing is that in the stock OS it did work, even if it was an SD card of 64gb. Anyways if anyone can find a fix for this that'd be perfect, otherwise I'm super happy with this build. Thanks so much.
[Galaxy S 4 Mini Android Development] MrGoodtunes:
That is what happen'd to me, but only while/after trying to run an old version of Firefox. Upon re-flashing ROM and installing the latest Firefox, no more problem with 64gig portable memory card. So I don't believe it's the ROMs fault, but may be something else in your set up that causes a security issue and results in being told to format your card.

[MENTION=10044924]hekalejan[/MENTION] - Did you try the card in some other device (e.g. desktop PC) to see if everything was still there?
[Galaxy S 4 Mini Android Development] VeganGuy:
Hi and thanks mernurisha for this awesome ROM!

Unfortunately, the Camera is not working (apart from the GPS, which you are about to fix, and the SD card, which I will replace by another one that works, despite being the same brand, size and classification). It showes the classic "Can't connect to the camera" error.

Baseband version:

I9195IXXU1AOD2

Kernel version:

3.10.108

Build number:

linage_serranovelte-userdebug 9 PQ3A.190801.002 eng.sevan.20190816.165843 test-keys

I did not update any firmware, just flashed TWRP, LineageOS, OpenGapps. Am I missing something?
[Galaxy S 4 Mini Android Development] OllyFunkster:
I have only had this once, after trying to take a photo from within Signal. A reboot was required to get it working again, but since then the stock camera app and Telegram work just fine.
[Galaxy S 4 Mini Android Development] VeganGuy:
The Camera works now, after installing OpenCamera. I did not check if it also worked after the last restart, so there might have been some other problem. Now I have the issue with the other SD card that is recognized that the formatting does not work. I have to choose between additional phone storage or mobile storage. The additional storage starts the formatting, and the first time it went above 20% with some null pointer exception as a toast message. Now (also after rebooting), it halts at 20%. The second option skips over the formatting and says it works now. It doesn't. Should I flash the other kernel that you mentioned [MENTION=9489673]mernurisha[/MENTION]?
[Galaxy S 4 Mini Android Development] mernurisha:
New Update

The new update on the first page.

_ New GPS

_ New Audio ( do not install sound_fix.zip )

_ Fixed reverberation during the call when the loudspeaker is on

_ Increased volume in video recording and sound recording
[Galaxy S 4 Mini Android Development] mernurisha:
Problems with the SD card have some users too. The kernel did not help.

Try to format your card on your PC (with a partitioning software). If that does not help, I suspect that the problem lies in the source of LineageOS.

Maybe the SD card works with the new version on the first page.

Good luck
[Galaxy S 4 Mini Android Development] OllyFunkster:
I have just dirty-flashed this over the previous build. It happily checked and accepted the SD card after a bit of a delay, GPS looks good, audio seems to work (haven't tried loudspeaker mode yet as I generally don't use this). Issues with selfie video in Telegram and accessing the Ambient Display options via the display menu are unchanged.

Excellent work, thank you!
[Galaxy S 4 Mini Android Development] miccca:
_ Fixed reverberation during the call when the loudspeaker is on

thanks a lot mernurisha it is solved!!!
[Galaxy S 4 Mini Android Development] roma8:
Problema con Hotspot

Excelente trabajo....

- Problema con Hotspot no comparte Internet

Muchas Gracias...
[Galaxy S 4 Mini Android Development] OllyFunkster:
I've had a few random reboots with both the latest and the previous build. Maybe one every 2-3 days. For all I know it could be a fault with the phone itself or some app that I have installed, but I was just wondering if anyone else has experienced this?
[Galaxy S 4 Mini Android Development] ffox.pl:
Deep bows for your skills, mernurisha. The best ROM since Nougat. Thank you very much.
[Galaxy S 4 Mini Android Development] mernurisha:
Dirty flash is not recommendable. I always try to make improvements on the basis of feedback from users (if I have enough time).

Builds are constantly changing. That's why clean flash is always recommended.
[Galaxy S 4 Mini Android Development] OllyFunkster:
(I hope I've used the right term - I flashed the new build over the previous, keeping data but wiping cache and dalvik)

I'll have to figure out a proper backup & restore procedure for when I want to do a full wipe but still put all my apps and data back. I appreciate the time and effort you put into this!
[Galaxy S 4 Mini Android Development] mernurisha:
GPS works fine here (been so before). With new GPS, the accuracy is even better.

Make full wipe before install new rom.
[Galaxy S 4 Mini Android Development] ffox.pl:
Does your ROM support F2FS, mernurisha? Does system/data/cache change even make sense?
[Galaxy S 4 Mini Android Development] mernurisha:
The roms support F2FS only for data and cache. However, the last TWRP don't support F2FS.

I will upload new twrp with F2FS support.

Whether the benefits I can not say.
[Galaxy S 4 Mini Android Development] ffox.pl:
I have noticed a slight nuance. The difference between min and max Call Volume is very small. The same applies to EarSpeaker and BackSpeaker during a phone call. I have set the very minimum value and the voice is still quite loud.
[Galaxy S 4 Mini Android Development] miccca:
unfortunately also the same problem here.

I just hope mernurisha can also solve this problem
[Galaxy S 4 Mini Android Development] yourproblem:
Hi i've just registered here.

Thank you mernurisha for this ROM.

I tried since 1 week. Everthing i tried works fine except for:

- the call volume is also very loud on my phone(have to keep distance from ear)

- the automatic brightness works very slow (espacially in sun-light, sometimes 5 seconds)

- the camera doesnt work the first time after phone is powered on, second time it works, solved this issue with open camera

I had a ROM from March bevor, without these issues (lineage-16.0-j33-20190301-NIGHTLY-serranovelte)
[Galaxy S 4 Mini Android Development] mernurisha:
Call volume is fixed. Now the volume can be adjusted during the call.

I have to test some things, then I will upload the new update.
[Galaxy S 4 Mini Android Development] mernurisha:
New Update

changes:

_ Security patch level 2019-09

_ The volume can be adjusted during the call.

Download on the first page.
[Galaxy S 4 Mini Android Development] miccca:
solved! this problem is also a thing of the past. thank you very much mernurisha
[Galaxy S 4 Mini Android Development] ffox.pl:
Our device works perfectly. You are the best, mernurisha. Thank you.
[Galaxy S 4 Mini Android Development] nögöl:
- can you recommend this rom for daily usage now?

- Will the S4 Mini with this rom later become a Lineageos officially supported device again?

thanks!
[Galaxy S 4 Mini Android Development] siloz:
THANKS !

thank you soo much mernurisha :victory:

your rom runs suuuper smooth

and the S4 mini is my main device again :good:

i have noticed a little something:

* sadly encryption dosen't work for me. it crashes and leads to a boot loop. tried everything to get it working with your last two releases.

* other than the official lineage os release SELinux is not enforced. if i "setenforce 1" everything works trouble-free except recording videos :confused: "could not start media recorder"

* imo some people's sd card problem has nothing to do with this rom. i had big troubles to fix a similar problem on another device with official lineage os.
[Galaxy S 4 Mini Android Development] yourproblem:
Thank you very much!

-The Volume is perfect now.

-Suddenly the Camera works the first time the phone starts.
[Galaxy S 4 Mini Android Development] yourproblem:
Does this kernel support OTG? (for USB to LAN Adapter)

If so, could anybody recommend a working Cable/Adapter?
[Galaxy S 4 Mini Android Development] don_dolarson:
This is what I get trying to install your ROM m8. What's going on? Never had any problems on my phone's before.
[Galaxy S 4 Mini Android Development] don_dolarson:
Help please, asap. It's my father's phone, a daily driver one. The phone is unusable now and the thing needs to be repaired and working.
[Galaxy S 4 Mini Android Development] miccca:
did you exactly follow the installation of mernurisha on first page?
[Galaxy S 4 Mini Android Development] MrGoodtunes:
Maybe the following will help:

https://officiallineageos.com/updat...gnal-4-while-installing-lineageos-rom-solved/
[Galaxy S 4 Mini Android Development] don_dolarson:
Thank you. I've solved it after a little googling.

This ROM wasn't for my European version of S4 Mini.
[Galaxy S 4 Mini Android Development] xdanoobi:
Thank you for this ROM.

Unfortunately, when I try to encrypt the phone upon installation,

it goes into a bootloop.

Also. Will we ever see a PIE ROM with SELINUX enforced?

:(

I found another older ROM where encryption works.

However, how can I install an updated ROM once it is encrypted?

Thank you all! :cowboy: