• 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


Senior Member
Dec 2, 2020
@adazem009 built resurrection remix for these devices

This is resasurection remix for tb-8504x and,
This is resurrection remix for tb-8504f, check them out and report any bugs of you find them...


New member
Apr 12, 2021

time: 1620554257613
msg: Native crash: Aborted
stacktrace: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
RROS Version: 'RROS-Q-8.6.8-20210508-TB8504-Unofficial'
Build fingerprint: 'Lenovo/TB-8504X/TB-8504X:8.1.0/OPM1.171019.019/8504X_S001031_191204_ROW:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2021-05-09 11:57:36+0200
pid: 16358, tid: 16397, name: HwBinder:16358_ >>> com.android.bluetooth <<<
uid: 1002
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '[0509/115736.799703:FATAL:hci_layer_android.cc(88)] Check failed: status == Status::SUCCESS.
#00 0x0000007af6afea0b /system/lib64/libchrome.so+0x00000000000b8a0b
#01 0x0000007af6622217 /system/lib64/libbluetooth.so+0x000000000026c217
#02 0x0000007af61f2dcb /system/lib64/[email protected]+0x000000000001bdcb
#03 0x0000007af61f3bb7 /system/lib64/[email protected]+0x000000000001cbb7
#04 0x0000007bdd69b5ef /system/lib64/libhidlbase.so+0x00000000000965ef
#05 0x0000007bdd69ef77 /system/lib64/libhidlbase.so+0x0000000000099f77
#06 0x0000007bdd6a0613 /system/lib64/libhidlbase.so+0x000000000009b613
#07 0x0000007bdd6af7bb /system/lib64/libhidlbase.so+0x00000000000aa7bb
#08 0x0000007bdf676807 /system/lib64/libutils.so+0x0000000000013807
#09 0x0000007be0205bd7 /system/lib64/libandroid_runtime.so+0x00000000000c2bd7
#10 0x0000007bdf0f157f /apex/com.android.runtime/lib64/bionic/libc.so+0x00000000000e357f
#11 0x0000007bdf091d1b /apex/com.android.runtime/lib64/bionic/libc.so+0x0000000000083d1b
#12 0xffffffffffffffff <unknown>

x0 0000000000000000 x1 000000000000400d x2 0000000000000006 x3 0000007ae5043fe0
x4 fefefefefefefeff x5 fefefefefefefeff x6 fefefefefefefeff x7 7f7f7f7f7f7f7f7f
x8 00000000000000f0 x9 0000007bdf0324a0 x10 0000000000000000 x11 0000000000000001
x12 0000000000000018 x13 ffffffffffffffff x14 0000000000000004 x15 ffffffffffffffff
x16 0000007bdf0ff8c0 x17 0000007bdf0dd290 x18 0000007ae3fa6008 x19 00000000000000ac
x20 0000000000003fe6 x21 00000000000000b2 x22 000000000000400d x23 00000000ffffffff
x24 0000007af6b71000 x25 0000007ae50440d8 x26 0000007ae5045020 x27 0000007ae50440d8
x28 0000000000000009 x29 0000007ae5044090
sp 0000007ae5043fc0 lr 0000007bdf0900f0 pc 0000007bdf090120

#00 pc 0000000000082120 /apex/com.android.runtime/lib64/bionic/libc.so (abort+176) (BuildId: ec1a54aa20e1543c38467684c6b06dbf)
#01 pc 000000000009f85c /system/lib64/libchrome.so (base::debug::BreakDebugger()+20) (BuildId: 8bc43eabd9a84d80efe7a3d2f5ee931a)
#02 pc 00000000000b8e5c /system/lib64/libchrome.so (logging::LogMessage::~LogMessage()+1252) (BuildId: 8bc43eabd9a84d80efe7a3d2f5ee931a)
#03 pc 000000000026c214 /system/lib64/libbluetooth.so (BluetoothHciCallbacks::initializationComplete(android::hardware::bluetooth::V1_0::Status)+76) (BuildId: 05297a574269b52a061f26175c459cef)
#04 pc 000000000001bdc8 /system/lib64/[email protected] (android::hardware::bluetooth::V1_0::BnHwBluetoothHciCallbacks::_hidl_initializationComplete(android::hidl::base::V1_0::BnHwBase*, android::hardware::parcel const&, android::hardware::parcel*, std::__1::function<void (android::hardware::parcel&)>)+192) (BuildId: c25c297ab68994467e98cec9b6bbd97f)
#05 pc 000000000001cbb4 /system/lib64/[email protected] (android::hardware::bluetooth::V1_0::BnHwBluetoothHciCallbacks::eek:nTransact(unsigned int, android::hardware::parcel const&, android::hardware::parcel*, unsigned int, std::__1::function<void (android::hardware::parcel&)>)+484) (BuildId: c25c297ab68994467e98cec9b6bbd97f)
#06 pc 00000000000965ec /system/lib64/libhidlbase.so (android::hardware::BHwBinder::transact(unsigned int, android::hardware::parcel const&, android::hardware::parcel*, unsigned int, std::__1::function<void (android::hardware::parcel&)>)+68) (BuildId: 66d22f07f8e5f5210b6d145f43eb600c)
#07 pc 0000000000099f74 /system/lib64/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+1036) (BuildId: 66d22f07f8e5f5210b6d145f43eb600c)
#08 pc 000000000009b610 /system/lib64/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+152) (BuildId: 66d22f07f8e5f5210b6d145f43eb600c)
#09 pc 00000000000aa7b8 /system/lib64/libhidlbase.so (android::hardware::poolThread::threadLoop()+24) (BuildId: 66d22f07f8e5f5210b6d145f43eb600c)
#10 pc 0000000000013804 /system/lib64/libutils.so (android:🧵:_threadLoop(void*)+284) (BuildId: bf10942e606b22d5222386f77b541c67)
#11 pc 00000000000c2bd4 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140) (BuildId: a28a7240999ab039363efab438417ca0)
#12 pc 00000000000e357c /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: ec1a54aa20e1543c38467684c6b06dbf)
#13 pc 0000000000083d18 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: ec1a54aa20e1543c38467684c6b06dbf)
Last edited:


Dec 25, 2017
Hello, all!

I cannot flash TWRP with fastboot flash recovery ...; I can only boot the image directly with fastboot boot .... Once booted like that, I cannot alter any partitions beside /sdcard (which appears to be in RAM, as any files written there with adb push do not persist across reboots). The other partitions, like /data, simply will not mount.

It seems that, because of this, I cannot flash the LineageOS image. Also, I had to alter the build.prop checks contained within the image in order to allow tb_8504x, which is what my device reports.

Any assistance greatly appreciated!

Saarthak Saran

New member
May 29, 2021

* 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
Bluetooth works for me, no issues, you must have contacts provider package installed for it to run properly...
I tried to flash this rom on 8504x using twrp . I performed an advanced wipe and then installed this rom . It was stuck in


Senior Member
Dec 2, 2020
The rom just keeps trying to boot and is stuck on the Bootanimation on x304L any fix? The Lineage OS 16 rom was booting to recovery but this one just gets stuck at the bootanimation (Been atleast 15minutes since it has been stuck at this screen)
The rom in this thread is only for the lenovo tb-8504x/f , not x304L, please go to the respective thread for your device...


Senior Member
Aug 3, 2012
I thought I would chime in regarding the booting/bootloop issues. After spending hours rescuing, wiping and remounting /system, the unit just would NOT boot (either in 16.x or 17.x), I finally got it to boot doing the following:

1. Download and use the LATEST TWRP 3.3.1-1 as directed from this thread! The kernel and coding within this version did the trick, as I was still using an older version of TWRP (3.2.3-x) that I found for this device from another thread.
2. Power on the device into Fastboot (Hold VolUp + Power)
3. Flash TWRP (fastboot flash recovery twrp-3.3.1-1-TB8504.img)
4. Boot into TWRP--the touch screen may not be responsive--I simply pressed Power to turn off the screen, then pressed Power again--this allowed me to swipe and unlock the screen as well. If this doesn't work, try this a few more times--or use the mouse option as others mentioned.
5. MOUNT /system, /data, /cache
6. WIPE /data and format as needed
7. Reboot back into TWRP so that you can see your newly-formatted /data partition.
8. MOUNT /system, /data. and /cache again (do not mount as Read-Only)
9. Now go ahead and flash your ROM, GApps, etc--then Wipe Dalvik/Cache.
10. Reboot and you should now be able to boot. The process should take no more than 2-5 minutes tops.

*NOTE* For users inquiring about the TB8704v (Tab 4 PLUS), the same applies, PLUS you must also patch your boot image after flashing the ROM (boot-los17.1-tb8704v-xxx.img).

Good Luck!

Top Liked Posts