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

[ROM][UNOFFICIAL][10.0][tb8504f/x] LineageOS 17.1 for Lenovo TAB4 8

Search This thread
Oh i thought you were using edl.
are you trying to flash stock rom from twrp ?

Try wiping the system partition and then reboot to twrp from twrp.
Or change the filesystem to ext2 then back to ext4.

if you have pc i would suggest you to use qfil to flash stock rom (It works every time).
I'm gonna restore the stock firmware first then I'm gonna figure out how to fix the E1001 error I'm getting when flashing this custom rom


Senior Member
good day ! TB-8504x bluetooth los 17.1 does not work. los 16.0 works. 🙏🏻

For everyone having WiFi/Bluetooth/etc... issues:

Here are some logs, @highwaystar_ru should take a look at them. In some cases there are SELinux denials, which cause WiFi and Bluetooth to break.
[  366.522395] ueventd: firmware: loading 'wlan/prima/WCNSS_qcom_wlan_nv.bin' for '/devices/soc/a000000.qcom,wcnss-wlan/firmware/wlan!prima!WCNSS_qcom_wlan_nv.bin'
[  366.523355] type=1400 audit(1617875532.503:256): avc: denied { getattr } for comm="sensors.qti" path="/mnt/vendor/persist" dev="mmcblk0p27" ino=2 scontext=u:r:sensors:s0 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=0
[  366.523398] type=1400 audit(1617875548.739:257): avc: denied { search } for comm="ueventd" name="/" dev="mmcblk0p27" ino=2 scontext=u:r:ueventd:s0 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=0

As a temporary fix, flash this ZIP file in TWRP: https://androidfilehost.com/?fid=6006931924117886495
It'll disable SELinux enforcing and fix the denials.

@highwaystar_ru Take a look at sepolicy, it needs a few fixes.

Top Liked Posts

  • There are no posts matching your filters.
  • 3

     * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
     * Please do some research if you have any concerns about features included in the products you find here before flashing it! 
     * YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you. 
     * Your warranty will be void if you tamper with any part of your device / software.
     * Same statement for XDA.

    LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (pie), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

    What works:
    Calls/SMS/Mobile data
    FM radio
    WLAN and USB tethering
    You tell me

    Source code:
    device : https://github.com/lenovo-devs/android_device_lenovo_TB8504, https://github.com/lenovo-devs/android_device_lenovo_tb-common/tree/lineage-17.1-msm8937
    kernel: https://github.com/lenovo-devs/android_kernel_lenovo_msm8953/tree/lineage-17.1-tbx304
    vendor: https://github.com/lenovo-devs/proprietary_vendor_lenovo/tree/lineage-17.1-msm8937

    • Initial release
    mailru: lineage-17.1-20210408-UNOFFICIAL-TB8504.zip
    gdrive: lineage-17.1-20210408-UNOFFICIAL-TB8504.zip

    Previous versions:

    How to install
    You have to had TWRP installed from this thread TWRP and ROOT for Tab 4 8/10 (Plus) (TB-8704X/F/V,TB-X704L/F, TB-8504X/F, TB-X304L/F or one from link below

    In TWRP clean Data if you coming from stock ROM and do Install of this ROM. If you have android 8 stock rom installed you have to format Data with data loss, because used encryption is incompatible with android 7.1

    Built from omnirom android 9.0 source (twrp 3.3.1), includes same kernel as Lineage build, with support for pstore (kernel logs after crash), exfat, ntfs, reboot to EDL mode.
    mailru: twrp-3.3.1-1-TB8504.img
    gdrive: twrp-3.3.1-1-TB8504.img

    XDA:DevDB Information
    [ROM][UNOFFICIAL][10.0][tb8504f/x] LineageOS 17.1 for Lenovo TAB4 8, ROM for the Lenovo Thinkpad Tablet

    Source Code: https://github.com/lenovo-devs/android_kernel_lenovo_msm8953/tree/lineage-17.1-tbx304

    ROM OS Version: 10.x Pie
    ROM Kernel: Linux 3.10.x
    Based On: LineageOs

    Version Information
    Status: Testing
    good day ! TB-8504x bluetooth los 17.1 does not work. los 16.0 works. 🙏🏻
    Same here... I think it depends on the firmware because it works for some people. I think I had Bluetooth working in this ROM a few weeks ago, but then I reflashed Oreo firmware and it stopped working.