Hi again Viva. Just checking back on this thread to see how you are doing.Greetings. Okay I seem to have broken my first rule of thumb when staring on this project: NEVER ASSUME ANYTHING. So I assumed that the LOS 14.1 ROM was integrated with a LOS boot image. Had I read the threads a little more thoroughly, I could have saved myself a ton of trouble. As you guys probably already knew, this is a dirty port hybrid boot image, with a LOS ramdisk and a stock Lenovo kernel. My trouble with SELinux enforcing, merged changes and force closing crashes have now come to light. (I do have to assume that either (1) Lenovo never released the kernel source code for the Tab3 8, or (2) nobody has sat down and actually compiled a kernel from source.) I had to go back to the drawing board on a large sum of my work. I just wanted to give an update and apologize for my huge oversight. Now that I have a full perspective of everything, I feel confident that things will go a little smoother. Plus, this will give me a base template for porting other custom builds. Our present kernel, 3.18.19, supports Android 6.0 all the way up to Android 10.
Anyway I'm elbows deep once again. Wish me luck....
I expect you already found a copy of the source code for this device that Lenovo posts here: https://pcsupport.lenovo.com/cr/en/products/tablets/a-series/tab3-8/downloads/ds112711
You may have noticed that much earlier in this thread, I was trying to get that code to build a kernel alone, not as part of an LOS rom. I was never successful, despite much mangling of the official source code in an attempt to remove or alter code that caused errors that borked the build process. IIRC, somewhere back in the mists of this thread, I actually mangled it enough to complete a kernel build, but flashing that kernel to the device soft bricked it.
Subsequently I have learned a bunch more about the build process, and was able to successfully build LOS for my Mi Pad 4: https://forum.xda-developers.com/t/...ad4-mipad4-plus.3989187/page-52#post-85504115
In all the trial & error for the Mi Pad 4 LOS, I discovered that a lot of build errors were created by incorrect configurations of my Linux VM, and the final piece of the puzzle was to install and enable ZRAM. When I ran the build after that, it got to the end, although still throwing a few error messages and warnings along the way.
All this to say, maybe if I had configured my Linux VM better when I was playing with the kernel source code for the TB3-850F, then maybe it would have built correctly while still throwing a few error messages along the way.
If there is anything I can do to help, shoot me a PM, and I'll see what I can do. I still am pretty inexperienced, but having got a successful LOS 17.1 build to compile and then flashing it successfully to my Mi Pad 4, I am at least a "build bot" status now.