[ROM][I9190/I9192/I9195/L520/R890][Unofficial][9.0.0] LineageOS 16.0 for S4 Mini

BeeJ1109

Senior Member
Sep 26, 2015
109
29
48
Adelaide
Sources are here: https://github.com/arco/android_bootable_recovery

Build it in Oreo (Lineeage 15.1) after cloning to bootable/recovery-twrp
Then build with "WITH_TWRP=true mka recoveryimage" after lunch target.
Hi arco,

Thanks for info.
Did you not mean Launch, not Lunch. Does not make sense!!!!!!

Do you know anything about offline charging and what commands or repository are used for this function.
Instead of only charging, whilst device is online or switched on.

Cheers

Sent from my SM-T835 using XDA Labs
 

arco68

Recognized Developer
Oct 11, 2010
2,820
24,313
203
Hi arco,

Thanks for info.
Did you not mean Launch, not Lunch. Does not make sense!!!!!!

Do you know anything about offline charging and what commands or repository are used for this function.
Instead of only charging, whilst device is online or switched on.

Cheers

Sent from my SM-T835 using XDA Labs
I mean like this:
Code:
. build/envsetup.sh
lunch lineage_serranoltexx-userdebug
WITH_TWRP=true mka recoveryimage
What about offline charging? When you boot into that mode, a charger service is started:
Code:
service charger /system/bin/charger
    class charger
    critical
    group system
    seclabel u:r:charger:s0
The sources are here: https://github.com/LineageOS/android_system_core/tree/lineage-17.1/healthd
 

mtrantalainen

Member
Mar 29, 2019
24
17
0
Did you not mean Launch, not Lunch. Does not make sense!!!!!!
Android build machinery uses some weird nerd humour and "lunch" is the command required to do full build that took historically so long that it's time to go for a lunch while waiting it to complete. Alternative interpretation is to select "what to have for lunch" and then cook the selected variant.

For details, see https://source.android.com/setup/build/building
 

BeeJ1109

Senior Member
Sep 26, 2015
109
29
48
Adelaide
Yeah, as soon as I have the time I'll make builds.
Not sure what that modem speed patch is though.
Hi Arco,
Modem is very slow on D/L anyway between 5 & 15Mbps not 50+Mbps on Stock.
Got same result on 17.1 Oct build, where you indicated was fixed.

My Suspicions are Lineage repos that are available for several devices Samsung phones and Tablets all exhibit same slow performance on either Modems using emmc or vfat format. But still using the Stock modem untouched work very fast and stable.
Whereas LOS fluctuate either at start or as download transfer speed goes up or down or both during the speed test. I repeat several times over day every few days, to eliminate NBN congestion. IE more users slower the speed. I also use same carrier for comparison to reduce the anomolies.
I have provided you results of my testing 3 of GT-i9305T being Stock 4.4.2, LOS 16 & 17.1.
Same problem with my Tab SM-T330. Stock emmc vs LOS 16 emmc or vfat, build by Matteo or 17.1 by DJAB.

Cheers

Sent from my SM-T330 using XDA Labs
 

arco68

Recognized Developer
Oct 11, 2010
2,820
24,313
203
Hi Arco,
Modem is very slow on D/L anyway between 5 & 15Mbps not 50+Mbps on Stock.
Got same result on 17.1 Oct build, where you indicated was fixed.

My Suspicions are Lineage repos that are available for several devices Samsung phones and Tablets all exhibit same slow performance on either Modems using emmc or vfat format. But still using the Stock modem untouched work very fast and stable.
Whereas LOS fluctuate either at start or as download transfer speed goes up or down or both during the speed test. I repeat several times over day every few days, to eliminate NBN congestion. IE more users slower the speed. I also use same carrier for comparison to reduce the anomolies.
I have provided you results of my testing 3 of GT-i9305T being Stock 4.4.2, LOS 16 & 17.1.
Same problem with my Tab SM-T330. Stock emmc vs LOS 16 emmc or vfat, build by Matteo or 17.1 by DJAB.
I never said it was fixed. I just reported the speeds I was getting, when testing different Lineage roms as they were.
And emmc or vfat has no relation to network speeds.
 

BeeJ1109

Senior Member
Sep 26, 2015
109
29
48
Adelaide
I never said it was fixed. I just reported the speeds I was getting, when testing different Lineage roms as they were.
And emmc or vfat has no relation to network speeds.
Hi arco,
Sorry about misunderstanding about fix. I think you meant Chrome lock up fixed.

Further about emmc or vfat, I am looking for a reason for slow download results.

I have experimenting with TWRP versions on Tab 4 SM-T330 builds by Matteo0026.
Further searching I found, using ROM LOS 16 built in August, both emmc or vfat, provided +50 Mbps D/L results, so updating to later ROM builds, he may have, (whilst compiling) got sometime wrong, causing my slow network results.

It is a matter of eliminating any causes, to arrive at the solution. Then move on to next problem.
But I see a lot, Devs are trying to fix multiple issues, all at once, then get confused with what was fixed, only to use the wrong template in future builds.

My main issue has always been, was the ability to wipe modem partition, before reflash, knowing that reflash is clean, instead of dirty. This happens with "vfat is being wiped before reflash". Whereas "emmc is not wiped before reflash". So any issue is left, behind from previous build, is still there, and only been overwritten with update. Result ending with failure, and lots of effort to fix.

Only way I have found is to totally wipe and reflash STOCK ROM. Then Backup with TWRP FULL NANDROID ALL partitions. Then you have a fresh clean backup to restore any partition, as required, when a fault causes boot loops, boot failures etc. Then flash the new Custom ROM.

No one has really explained why emmc modem CANNOT include WIPE, whereas vfat can be wiped.

It is only a option in flags, that should be included in TWRP v3.4.0-x Template repos created for each device TeamWin's TWRP RESPOSITORY in Github,

Some Samsung devices use emmc format in Stock ROM Modem partition, whereas others use vfat format in Stock ROM.

Therefore why the difference, I am asking.

I just wish I had the knowledge to build a TWRP and include my change to add wipe flag into a emmc build.

Regardless of ALL that info, There is still a great difference in performance between STOCK and your Custom LOS 16 and LOS 17.1 builds on my GT-I9195T phones.

Cheers
BeeJ1109



Sent from my SM-T835 using XDA Labs
 

BeeJ1109

Senior Member
Sep 26, 2015
109
29
48
Adelaide
New builds with November security patches available in first post.
Hi arco,
Download file from page 1 links for i9195. Why extension being .jar instead Of normal. zip as listed.
I just removed .jar extension. Zip is installable in TWRP. as is. But just curious why the .jar is added by mediafire servers.
Any fixes, included except security patch.
Cheers



Sent from my SM-T835 using XDA Labs
 

Whitest

Senior Member
Oct 6, 2011
143
60
0
Hi @arco68 - thank you for all your support, time and effort put into LineageOS on the S4 Mini.

I’d like to try building Lineage 16 myself, could you maybe help me with some quickstart setup instructions to start my first build? I saw your references to the sources used for this, but couldn’t figure out yet how to combine the multiple repos for building Lineage 16 for the S4 Mini
 

arco68

Recognized Developer
Oct 11, 2010
2,820
24,313
203
Hi arco,
Download file from page 1 links for i9195. Why extension being .jar instead Of normal. zip as listed.
I just removed .jar extension. Zip is installable in TWRP. as is. But just curious why the .jar is added by mediafire servers.
Any fixes, included except security patch.

I have no idea about the jar thing. I tried downloading a build using Firefox, and it was correctly saved with zip extension.
About fixes, the branch isn't actively maintained anymore, so I guess it's mostly just security fixes.
 

arco68

Recognized Developer
Oct 11, 2010
2,820
24,313
203
Hi @arco68 - thank you for all your support, time and effort put into LineageOS on the S4 Mini.

I’d like to try building Lineage 16 myself, could you maybe help me with some quickstart setup instructions to start my first build? I saw your references to the sources used for this, but couldn’t figure out yet how to combine the multiple repos for building Lineage 16 for the S4 Mini
https://wiki.lineageos.org/devices/serranoltexx/build
 

BeeJ1109

Senior Member
Sep 26, 2015
109
29
48
Adelaide
Hi ARCO,
I am trying to resolve camera issues on my Samsung Tab4 .
I wish to try your camera apk. from your latest November build.
Under settings/apps/camera is displayed the correct version. But when I tried backup of the app it is saved as a previous version. See attached screenshots.
I also use Titanium Backup to backup and restore apps, but for some reason normally get apk file as well 2 config files. Not sure why apk file is hidden.

I could use the older apk version from app backup & restore to install on the Tab4.
or install your latest version from Nov build.

Can you please supply me the camera app. or explain how I can extract it from the ROM file I have downloaded.
Cheers

Update I installed your camera app on my T330. Still and Video work on rear camera only. Checked HD and SD resolutions. Saved to SD card OK. Colour tinting works on only a few options. Zoom in or out no change. Front camera causes issues, and closed app down. Reports "Media Server died, Camera Closing"
But app reports same version now as Nov. release.
Front camera works as per normal on Stock ROM, so firmware issue not hardware.
Going to try LOS 17.1 camera app now.

Updated on 14112020.
Tried that app from new Nov. Build.
Gives me a parsing error on both T330 & i9195, both LOS 16, so I assume the 17.1 Camera apk is only for LOS 17.1 ROMs. Being part of the internal build, I cannot delete or uninstall, as it only returns app back to factory version, removing updates.

On my 2 of i9195 everything works perfectly. on either phone LOS 16 Nov or LOS 17.1 Oct release.


Sent from my Galaxy Tab4 8.0 using XDA Labs
 
Last edited:

Skyty

Senior Member
Mar 5, 2012
90
5
8
Has anyone received a "status 7" issue when trying to install? Does anyone else have a GT-I9195 model? Does it require a certain bootloader version?
 

Snabelaffe

New member
Nov 21, 2020
1
0
0
Same problem here

I get the same frustrating status 7 error while migrating from the prevoius LOS 16 July build on my GT-I9195.
TWRP is the current 3.4.0-0.
Even with the usual Factory Wipe and Advanced Wipe, it simply won't install.

None of the LOS17 versions work either, so I'm stuck with LOS 16 July build, which I reinstalled without any problems.
It appears that the November build definitely has a problem with the GT-I9195.