[ROM][9.0][UNOFFICIAL] [G800F/M/Y] LineageOS 16.0 [Beta] [16-12-2020]

rodman01

Recognized Themer / Contributor
Apr 25, 2012
5,746
9,538
263
Allgäu
I tried the following ones from androidfilehost:
6006931924117892070
1395089523397964346
6006931924117906864

The label under the battery:
Model: SM-G800F
FCC ID: A3LSMG800F
SSN: -G800FGSMH
mmh everything looks fine and is matching each other from my point of view. I am afraid I am lost too...only thing I would think about is flashing a previous version of cm or leos first. Not sure whether there is a kittkat or m version, but maybe its worth a try. Before, make factory reset, format cache, dalvick, data and systems and flash from internal storage, not external maybe your sd card is corrupted or something else. And don't format to f2fs and no encryption...keep my fingers crossed :fingers-crossed: :)
 
  • Like
Reactions: spookcity138

Panzerknakker

Senior Member
Jan 17, 2017
116
262
83
I tried the following ones from androidfilehost:
6006931924117892070
1395089523397964346
6006931924117906864

The label under the battery:
Model: SM-G800F
FCC ID: A3LSMG800F
SSN: -G800FGSMH
Copy the .md5sum file that comes with the .zip file into the same directory.
TWRP will then check the digest file.
Then you can be sure that download and storage are ok.
 
  • Like
Reactions: spookcity138

spookcity138

Senior Member
Nov 9, 2015
1,828
2,452
153
Eindhoven
Updated

Small changelog this month as I didn't have any time to really look into the remaining issues. Also, due to circumstances I was unable to perform a clean install for the first time. So I only dirty flashed it and it seems OK to me.

Changelog
Code:
* Synced LOS sources
* Latest security patches (July 2019)
* Few kernel commits related to network (thanks to @rodman01)
* Update GMSCore prebuilt to latest for the microG build
Enjoy!
 

ben smith

New member
May 15, 2019
4
3
0
Updated

Small changelog this month as I didn't have any time to really look into the remaining issues. Also, due to circumstances I was unable to perform a clean install for the first time. So I only dirty flashed it and it seems OK to me.

Changelog
Code:
* Synced LOS sources
* Latest security patches (July 2019)
* Few kernel commits related to network (thanks to @rodman01)
* Update GMSCore prebuilt to latest for the microG build
Enjoy!
This is great. Thank you for all the hard work spookcity138!! :victory: ;)
 
  • Like
Reactions: spookcity138

spookcity138

Senior Member
Nov 9, 2015
1,828
2,452
153
Eindhoven
I use the version from June and observed a strange behavior. If I try to configure call forwarding the phone goes offline and I do need to reboot. Is that a known behavior or should I create logs (how too?)
You are right. I just tried this and for me it just disables mobile data and I must restart to get it back on. I suppose that's what you mean as well. I have no idea why this is or if it's lineage related or what.
No need to worry about getting a log though as I can reproduce it and will connect to adb shell at some point and try to see if I can tell what's happening exactly. Thanks for pointing it out.

Sent from my SM-G800F using Tapatalk
 

rodman01

Recognized Themer / Contributor
Apr 25, 2012
5,746
9,538
263
Allgäu
You are right. I just tried this and for me it just disables mobile data and I must restart to get it back on. I suppose that's what you mean as well. I have no idea why this is or if it's lineage related or what.
No need to worry about getting a log though as I can reproduce it and will connect to adb shell at some point and try to see if I can tell what's happening exactly. Thanks for pointing it out.

Sent from my SM-G800F using Tapatalk
Hi Spooky I found this commit on review, cherry picked and made a new build. And it seems that this helps. After clicking on call forwarding the followup screen appears and the settings for call forwarding are there. Whether it is finally fixed with the commit I am not sure, because haven't tested much and have less knowledge how it should work proper ;)
 

spookcity138

Senior Member
Nov 9, 2015
1,828
2,452
153
Eindhoven
Hi Spooky I found this commit on review, cherry picked and made a new build. And it seems that this helps. After clicking on call forwarding the followup screen appears and the settings for call forwarding are there. Whether it is finally fixed with the commit I am not sure, because haven't tested much and have less knowledge how it should work proper ;)
As always, BIG thanks for your help. It is super appreciated!

Sent from my SM-G800F using Tapatalk
 
  • Like
Reactions: rodman01

mongo0

Senior Member
Nov 7, 2013
173
102
63

spookcity138

Senior Member
Nov 9, 2015
1,828
2,452
153
Eindhoven

AbRaCH

Senior Member
Apr 20, 2019
55
13
0
Schaffhausen
I have a pretty weird issue here - my S5 mini has the blue light filter activated, but it cant turn it off. If i turn on the blue light filter in settings, the screen gets even more yellow than before. It's not a hardware issue because the colours look normal in TWRP. Even after two full wipes it's still present. Can somebody help me?
 

Tureilu

Member
May 19, 2019
34
27
18
I have a pretty weird issue here - my S5 mini has the blue light filter activated, but it cant turn it off. If i turn on the blue light filter in settings, the screen gets even more yellow than before. It's not a hardware issue because the colours look normal in TWRP. Even after two full wipes it's still present. Can somebody help me?
Did you check the Live Display settings? f.e. color temperature, ...
 

Marteng69

Senior Member
Sep 13, 2014
60
16
0
Thanks for this new version!
Did you manage to solve the encryption problem I mentioned in this post?
Once again I tried to encrypt the phone. Some seconds after the start of the encryption the screen turns off for some seconds. Then the screen turns on again but the encryption is stopped.
Any hints?
 

mongo0

Senior Member
Nov 7, 2013
173
102
63
Yes,as @Panzerknakker said if you revert the optimization flags it will build. This is what I expected. I have used This repo. Branch "arm-linaro-7.x" for my build up until now. I have built several toolchains,but it wont build for me with mine due to static lib issues. I plan to use crosstool-ng to build another toolchain whenever I have some time and use that.
May I ask, how do you include such a kernel in the rom (zip)?
From android.com:
Code:
Copy the Image.lz4-dtb to the respective kernel binary location within the AOSP tree and rebuild the boot image.
But when I build it separately and run make afterwards, the scripts is complaining that kernel dir isn't empty. and I should do mrproper ... (So where / what is the correct kernel binary location; what files do I need to copy?)

Code:
export TARGET_PREBUILT_KERNEL=DIST_DIR/Image.lz4-dtb
I get this errors : (problem with linux headers??)
Code:
FAILED: [...]out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/.dummy_dep
[...]out/soong/host/linux-x86/bin/sbox --sandbox-path [...]out/soong/.temp --output-root [...]out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen --copy-all-output -c 'make  -j CFLAGS_MODULE="-fno-pic" -C  O=__SBOX_OUT_DIR__ ARCH=arm CROSS_COMPILE="/usr/bin/ccache arm-linux-androidkernel-" headers_install' && touch [...]out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/.dummy_dep
make: *** O=[...]out/soong/.temp/sbox602528744: No such file or directory.  Stop.
sbox command (make  -j CFLAGS_MODULE="-fno-pic" -C  O=[...]out/soong/.temp/sbox602528744 ARCH=arm CROSS_COMPILE="/usr/bin/ccache arm-linux-androidkernel-" headers_install) failed with err "exit status 2"

[ 74% 55599/74493] //frameworks/base:gen-platform-proto-constants generate
ninja: build stopped: subcommand failed.
11:42:35 ninja failed with: exit status 1
 
Last edited:

spookcity138

Senior Member
Nov 9, 2015
1,828
2,452
153
Eindhoven
Thanks for this new version!
Did you manage to solve the encryption problem I mentioned in this post?
Once again I tried to encrypt the phone. Some seconds after the start of the encryption the screen turns off for some seconds. Then the screen turns on again but the encryption is stopped.
Any hints?
I remember looking into this a little when you posted about it originally. I only found things related to Qualcomm when I was looking at Lineages code review. I am away from home until the end of the week,but I will try to look into this again when I am back and see if I can find anything out about it.
May I ask, how do you include such a kernel in the rom (zip)?
From android.com:
Code:
Copy the Image.lz4-dtb to the respective kernel binary location within the AOSP tree and rebuild the boot image.
But when I build it separately and run make afterwards, the scripts is complaining that kernel dir isn't empty. and I should do mrproper ... (So where / what is the correct kernel binary location; what files do I need to copy?)

Code:
export TARGET_PREBUILT_KERNEL=DIST_DIR/Image.lz4-dtb
I get this errors : (problem with linux headers??)
Code:
FAILED: [...]out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/.dummy_dep
[...]out/soong/host/linux-x86/bin/sbox --sandbox-path [...]out/soong/.temp --output-root [...]out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen --copy-all-output -c 'make  -j CFLAGS_MODULE="-fno-pic" -C  O=__SBOX_OUT_DIR__ ARCH=arm CROSS_COMPILE="/usr/bin/ccache arm-linux-androidkernel-" headers_install' && touch [...]out/soong/.intermediates/vendor/lineage/build/soong/generated_kernel_includes/gen/.dummy_dep
make: *** O=[...]out/soong/.temp/sbox602528744: No such file or directory.  Stop.
sbox command (make  -j CFLAGS_MODULE="-fno-pic" -C  O=[...]out/soong/.temp/sbox602528744 ARCH=arm CROSS_COMPILE="/usr/bin/ccache arm-linux-androidkernel-" headers_install) failed with err "exit status 2"

[ 74% 55599/74493] //frameworks/base:gen-platform-proto-constants generate
ninja: build stopped: subcommand failed.
11:42:35 ninja failed with: exit status 1
Well,if you have and are building with the full Lineage sources it is rather easy. First you need to revert my commit where I enabled the optimization flags as this wont build with the stock google toolchain. Then just run "source ./build/envsetup.sh" followed by "lunch lineage_kminilte-userdebug" and then just mka bootimage. This will build a flashable boot.img that you can just flash in TWRP.
I have had some issues before doing this whcih I have always solved by either changing into the samsung/kminilte kernel directory and running "make mrproper". If this doesn't work just re-clone the kernel and then it should be fine (I've needed to do this once or twice in the past. Not real sure why off hand.

If you want to build without using the Lineage sources and just build the kernel alone you need to download a toolchain (I linked the one I use in the post you quoted) Then you can use the optimization flags,but you will need to use anykernel or create the ramdisk with bootimg tools or similar for it to work. You would via terminal:
* cd into kernel source directory
* export ARCH=arm
* export CROSS_COMPILE= "path to toolchain"/bin/arm-linaro-linux-androideabi- (this is assuming you use the one I linked)
* make kminilte_00_defconfig
* make -jx (where x is the number of cores of you cpu)
Then you would need to use anykernel or something.
Hope this helps some.
 

mongo0

Senior Member
Nov 7, 2013
173
102
63
Well,if you have and are building with the full Lineage sources it is rather easy. First you need to revert my commit where I enabled the optimization flags as this wont build with the stock google toolchain. Then just run "source ./build/envsetup.sh" followed by "lunch lineage_kminilte-userdebug" and then just mka bootimage. This will build a flashable boot.img that you can just flash in TWRP.
I have had some issues before doing this whcih I have always solved by either changing into the samsung/kminilte kernel directory and running "make mrproper". If this doesn't work just re-clone the kernel and then it should be fine (I've needed to do this once or twice in the past. Not real sure why off hand.

If you want to build without using the Lineage sources and just build the kernel alone you need to download a toolchain (I linked the one I use in the post you quoted) Then you can use the optimization flags,but you will need to use anykernel or create the ramdisk with bootimg tools or similar for it to work. You would via terminal:
* cd into kernel source directory
* export ARCH=arm
* export CROSS_COMPILE= "path to toolchain"/bin/arm-linaro-linux-androideabi- (this is assuming you use the one I linked)
* make kminilte_00_defconfig
* make -jx (where x is the number of cores of you cpu)
Then you would need to use anykernel or something.
Hope this helps some.
Thanks for your reply.
Id like to include/repack the P_custom kernel in the zip. I will look into anykernel then..

I have built it successfully with all commits and the toolchain you suggested and I got the Image and zImage (no modules here I guess)
(With my own toolchain it always failed at kernel/fork.o: ~"Assembler error: .err encountered")
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone