• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][9.0 - PIE][kenzo] LineageOS 16.0 [UNOFFICIAL][Security Patch Level - June 2020]

Search This thread

pxrave

Senior Member
Apr 7, 2010
1,155
487
root
px-coding.org
Google Nexus 4
OnePlus 3
Changelog and Download links:

Build Date: 4th-Apr-2020
Changelog:
  • Synced with the latest sources from LOS
  • Updated ROM to Mar 2020 Security Patch
NOTE:
I came across some errors when compiling the ROM. Since I am not an active android developer hence the best I could do is comment the lines that were throwing error and continue with the build.
Two files that were giving error were:
1. device/xiaomi/msm8956-common/sepolicy/vendor/snap_app.te:2:ERROR 'unknown type snap_app' at token ';' on line 59239:
2. some .te file (don't remember exactly) :Error 'unknown type theme_data_file' at token ';' on line 77125


Download Link: Removed download link as the build had an issue with stock camera.


------------------------------------------------------------[/URL][/SIZE]
Probably Can be easy to fix. You need to remove snap cam. Or try to edit device. Mk

For theme engine you need look the error line in source and fix the path (copy paste from other rom kernel source can help) otherwise rebase the whole kernel from caf and add me to files to kernel tree.


If all not work build ro. Secure 0 pessimissiv build
 
Last edited:

Shrewdy

Senior Member
Probably Can be easy to fix. You need to remove snap cam. Or try to edit device. Mk

For theme engine you need look the error line in source and fix the path (copy paste from other rom kernel source can help) otherwise rebase the whole kernel from caf and add me to files to kernel tree.


If all not work build ro. Secure 0 pessimissiv build

Appreciate your help on this bro ... I am not waiting for the April Security Patch ... once that is added ... i will try compiling a build again ... Thank you
 

DonMaddin

New member
Dec 17, 2019
2
2
Lineageos Again

Hi Shrewdy,

my cellphone is running crdroid pie and i am looking for lineage.
I've been following you for a long time. I had also the same errors when compiling the sources.
I am also not a maintainer and just only want a secure firmware, which I believe I have solved.
unfortunately I cannot test the firmware because my cell phone is used. so i will change to Lineage when it is running well.
I still have no rights to upload the changed files, so you can find the changes in the list below.

a) vendor/xiaomi/msm8956-common/Android.mk
b) device/lineage/sepolicy/common/private/snap_app.te
c) device/xiaomi/msm8956-common/sepolicy/vendor/snap_app.te
d) device/xiaomi/msm8956-common/sepolicy/vendor/webview_zygote.te
e) device/xiaomi/msm8956-common/sepolicy/vendor/qti_init_shell.te


a) comment out:
# include $(CLEAR_VARS)
# LOCAL_MODULE := qti-telephony-common
# LOCAL_MODULE_OWNER := xiaomi
# LOCAL_SRC_FILES := proprietary/framework/qti-telephony-common.jar
# LOCAL_CERTIFICATE := platform
# LOCAL_MODULE_TAGS := optional
# LOCAL_MODULE_CLASS := JAVA_LIBRARIES
# LOCAL_MODULE_SUFFIX := .jar
# include $(BUILD_PREBUILT)

b) added:
allow snap_app default_android_service:service_manager find;

c) comment out
# allow snap_app default_android_service:service_manager find;

d) add in first line
type theme_data_file, file_type, data_file_type;

e) add in first line
type proc_kernel_sched, fs_type, proc_type;



maybe you want to build the firmware again and someone tests it

Martin
 
  • Like
Reactions: Shrewdy

Shrewdy

Senior Member
hi @DonMaddin,

I was making the changes are you suggested but i could not find the following files.
Thing is that in this location, device/xiaomi/msm8956-common/sepolicy/vendor, i could not see any vendor folder.

c) device/xiaomi/msm8956-common/sepolicy/vendor/snap_app.te
d) device/xiaomi/msm8956-common/sepolicy/vendor/webview_zygote.te
e) device/xiaomi/msm8956-common/sepolicy/vendor/qti_init_shell.te

may be we can communicate over telegram for faster communication. my telegram handle is @Shivdev

Hi Shrewdy,

my cellphone is running crdroid pie and i am looking for lineage.
I've been following you for a long time. I had also the same errors when compiling the sources.
I am also not a maintainer and just only want a secure firmware, which I believe I have solved.
unfortunately I cannot test the firmware because my cell phone is used. so i will change to Lineage when it is running well.
I still have no rights to upload the changed files, so you can find the changes in the list below.

a) vendor/xiaomi/msm8956-common/Android.mk
b) device/lineage/sepolicy/common/private/snap_app.te
c) device/xiaomi/msm8956-common/sepolicy/vendor/snap_app.te
d) device/xiaomi/msm8956-common/sepolicy/vendor/webview_zygote.te
e) device/xiaomi/msm8956-common/sepolicy/vendor/qti_init_shell.te


a) comment out:
# include $(CLEAR_VARS)
# LOCAL_MODULE := qti-telephony-common
# LOCAL_MODULE_OWNER := xiaomi
# LOCAL_SRC_FILES := proprietary/framework/qti-telephony-common.jar
# LOCAL_CERTIFICATE := platform
# LOCAL_MODULE_TAGS := optional
# LOCAL_MODULE_CLASS := JAVA_LIBRARIES
# LOCAL_MODULE_SUFFIX := .jar
# include $(BUILD_PREBUILT)

b) added:
allow snap_app default_android_service:service_manager find;

c) comment out
# allow snap_app default_android_service:service_manager find;

d) add in first line
type theme_data_file, file_type, data_file_type;

e) add in first line
type proc_kernel_sched, fs_type, proc_type;



maybe you want to build the firmware again and someone tests it

Martin
 

Attachments

  • err1.png
    err1.png
    38.4 KB · Views: 111
Last edited:

shaquille19

Senior Member
Jan 27, 2017
54
17
Chittagong
How's wifi working? Is it stable?

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

24 April Build Download Link doesn't work. Can you look into it @Shrewdy
 

Shrewdy

Senior Member
How's wifi working? Is it stable?

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

24 April Build Download Link doesn't work. Can you look into it @Shrewdy

Hi, only the January build is working fine. All the other builds i tried after had some issues. So i deleted the file from servers.
I too am on the Jan 16 build and it works just fine.
 

Shrewdy

Senior Member
Thank you. Do I need to flash stock MIUI rom first for latest firmware?

I dont think u need to flash the whole miui rom just to get the latest firmware...
I am using this firmware for myself (fw_kenzo_miui_HMNote3ProGlobal_V10.2.1.0.MHOMIXM_36c0f5ded3_6.0.zip).

You can search with the name and hopefully your will find the zip file here on xda.
 

shaquille19

Senior Member
Jan 27, 2017
54
17
Chittagong
I installed the rom. But when I restart the phone it shows the boot animation of LOS for almost 5 minutes and restart into recovery.
My flash procedure:
First Attempt:
1. Wiped Syetem, Data, Internal Storage, Cache,
2. Flashed Rom
3. Flashed Opengapps pico
2nd Attempt:
1. Flashed Firmware,
2. Flashed Rom
3. Flashed Opengapps pico.

Both times same thing happened.
Any suggestion?
 

Shrewdy

Senior Member
I installed the rom. But when I restart the phone it shows the boot animation of LOS for almost 5 minutes and restart into recovery.
My flash procedure:
First Attempt:
1. Wiped Syetem, Data, Internal Storage, Cache,
2. Flashed Rom
3. Flashed Opengapps pico
2nd Attempt:
1. Flashed Firmware,
2. Flashed Rom
3. Flashed Opengapps pico.

Both times same thing happened.
Any suggestion?

What is your phone running on currently?
I use the following sequence:

1. Backup existing rom (specially boot, if you dont want to backup the whole rom)
2. Wipe Cache, Dalvik Cache, Data and System
3. Flash framework
4. Flash Rom

If the rom does not boot, you could restore the boot partition from older rom
it should boot
 

Top Liked Posts

  • There are no posts matching your filters.
  • 27


    attachment.php


    So, here is yet another thread for Lineage OS 16.0
    I had been compiling this ROM for my personal use, but thought that I can share this with the community.

    Description: This ROM is pure Lineage OS 16.0 as is without any changes done by me. And this simply means that I do know how to compile this ROM, but that's about it. I do not know how to add features to ROM's and hence please don't request me to add any features as such.

    I am not a developer, so if you find any issues with the ROM then you will probably have to live with them (if you want to stay on this ROM) until LOS rectifies it and then I can offer a new build.
    I have been using the ROM all the time and not faced much problems. I think it is stable enough and has been my daily driver for around 3 months now.

    Download link is in the 2nd Post

    Here's what's working:
    • Boots
    • RIL (Calls, SMS, Data)
    • VoLTE
    • Fingerprint
    • Wi-Fi
    • Bluetooth
    • Camera
    • Audio
    • Sensors
    • Flash
    • LED
    • GPS
    • Hotspot

    Selinux status - permissive

    Flashing Instructions :
    If flashing this ROM for the first time:
    • Download the latest build and GApps
    • Reboot to recovery
    • Make a backup of your existing ROM
    • Factory reset (Clean Dalvik, Cache, Data and System partitions)
    • Flash the latest build and then GApps
    • Reboot

    If dirty flashing (over existing LOS 16.0)
    • Download the latest build
    • Reboot to recovery
    • Make a backup of your existing ROM
    • Flash the latest build
    • Reboot


    Credits:
    All the credits go to
    1. @Aadii (who helped me compile this rom and teach me other things as well)
    2. @AmolAmrit for his amazing source
    3. And the wonderful XDA community.

    ROM Version: 9.x Pie
    ROM Kernel: Linux 3.10.x
    Based On: LineageOS
    Status: Stable

    15
    Lineage OS 16.0 - Change Log

    Changelog and Download links:

    Build Date: 10th-Jun-2020
    Changelog:
    • Synced with the latest sources from LOS
    • Updated ROM to June 2020 Security Patch
    Download Link: lineage-16.0-20200610-UNOFFICIAL-kenzo.zip


    ---------------------------------------------------------------

    Build Date: 16th-Jan-2020
    Changelog:
    • Synced with the latest sources from LOS
    • Updated ROM to Jan 2020 Security Patch
    Download Link: lineage-16.0-20200116-UNOFFICIAL-kenzo.zip


    ---------------------------------------------------------------

    Build Date: 12th-Dec-2019
    Changelog:
    • Synced with the latest sources from LOS
    • Updated ROM to Dec 2019 Security Patch
    Download Link: lineage-16.0-20191212-UNOFFICIAL-kenzo.zip


    ---------------------------------------------------------------

    Build Date: 12th-Nov-2019
    Changelog:
    • Synced with the latest sources from LOS
    • Updated ROM to Nov 2019 Security Patch
    Download Link: lineage-16.0-20191112-UNOFFICIAL-kenzo.zip
    7
    Hi friends,

    I am glad we have a June security patch update. The latest build has been uploaded and you can download it from this link.

    lineage-16.0-20200610-UNOFFICIAL-kenzo.zip
    6
    Hey Guys,

    I have updated the ROM to latest security patch (Dec, 2019). But I have not flashed it yet myself.
    Let me know if things went smoothly, If you flash it before I do!

    Thanks :)
    5
    Hey friends,

    I have updated the ROM to latest security patch (Jan, 2020). I have yet to flash it on my device.
    Let me know if things went smoothly, If you flash it before I do!

    Thanks :)