• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[ROM][UNOFFICIAL][10.0][tbx304f/l/x] LineageOS 17.1 for Lenovo TAB4 8, ROM for the Lenovo Thinkpad Tablet

Search This thread

highwaystar_ru

Senior Member
Sep 17, 2016
342
2,352
http%3A%2F%2Ffiles.paulfasola.fr%2FCyanogenMod%2FLineageOS.png


Code:
/*
* 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
Wifi
Bluetooth
GPS
Camera
Audio
FM radio
WLAN and USB tethering
Broken
You tell me

Source code:
device : https://github.com/lenovo-devs/android_device_lenovo_TBX304, 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

2021-04-08
  • Initial release
  • Fixed fast charger and OTG
  • Fixed touchscreen issues
mailru: lineage-17.1-20210408-UNOFFICIAL-TBX304.zip
gdrive: lineage-17.1-20210408-UNOFFICIAL-TBX304.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

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

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

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

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

Version Information
Status:
Testing
 

Manan Santoki

New member
Jun 29, 2018
3
0
I Tried this rom , I would say it is the best rom available because A10 .😍

I would recommend this rom for sure , it is very stable , everything works just fine !!

It has been 4-5 hrs since i flashed and have gone through every setting in the rom and found no bug ! (except double tap to wake does not work)

Love you developer for your work ♥
 

ahecht

Senior Member
Oct 23, 2010
518
308
I can't get it to flash. TWRP has been sitting for hours at:

Unmounting System... Target: Lenovo/LenovoTB-X304:/X304L:8.1.0/0PM1.171019029/S001017_190709_ROW:user/release-keys

EDIT: Fixed by flashing TWRP instead of just booting it. The steps I followed were:

  1. Install the Lenovo Driver from here
  2. Install fastboot and adb on your PC, e.g. from here
  3. Enable developer options and in there select to unlock your bootloader by enabling OEM unlock and enable USB debugging
  4. Connect your PC to your tablet and run
    Code:
    adb reboot bootloader
    using adb on command line. The tablet will reboot into bootloader mode where you will only see the text on the screen. Now you use
    Code:
    fastboot oem unlock-go
    to unlock. This will factory reset your device
  5. Setup the tablet again, enable USB debugging, and reboot again to the bootloader
  6. Download tbx304-twrp-3.4.0-20201207.img (TWRP) from the OP
  7. Then run
    Code:
    fastboot boot tbx304-twrp-3.4.0-20201207.img
    to temporarily boot into TWRP.
  8. Select to keep system read only when TWRP starts to avoid modification which will make OTAs impossible
  9. In TWRP, go to WIPE, click on "Format Data" in the lower right, and follow the instructions.
  10. Go back to the TWRP home screen, choose "Reboot", and click "Recovery"
  11. In TWRP, go to the Backup tab, and backup the boot, recovery, and system image. Keep this backup for OTA updates.
  12. Go back to the TWRP home screen, hit the reboot button in TWRP, and choose "Bootloader".
  13. Then run
    Code:
    fastboot flash recovery tbx304-twrp-3.4.0-20201207.img
    to permanently install TWRP.
  14. Once installed, press the volume button until it says "Recovery Mode" in red letters on the top, then hit the power button to boot back into TWRP.
  15. Load the LineageOS zip file from your computer onto the tabled by using
    Code:
    adb push [NAME_OF_LINEAGE_ZIP_FILE] /sdcard/
    . If you are going to install gapps (Google Play Store, etc.), download it from here and push it to the tablet the same way
  16. From the TWRP home screen, go to Install and install the LineageOS zip file. Once that is completed, repeat the process to install gapps, if you're using them.
  17. Select the option to reboot. If everything worked correctly, it should boot into LineageOS.
 
Last edited:

drpdr

New member
May 12, 2021
1
0
Lenovo Thinkpad Tablet
LG V20
Amazing ROM so far. Thank you very much for working on custom roms for our old tablet.

Has anyone experienced issues with the Dual Shock 4? It doesn't work at all. In the previous ROM (16) there was a known kernel issue which prevented the mapping from working. Now, it is connecting (even tried with an USB cable OTG) but only for charging. Weird. An old Afterglow X1 works like a charm, though---without even using 1Controller addon for Magisk.
Any help is appreciated.
 
Last edited:

alexlist

New member
Feb 28, 2014
1
0
I can't get it to flash. TWRP has been sitting for hours at:

EDIT: Fixed by flashing TWRP instead of just booting it. The steps I followed were:
Wasted lots of time until I found your reply ;) - installed this on a 4 10, works like a charm. Thanks @highwaystar_ru and @ahecht! You rock!
Is there a chance we will see 18.1 on these devices soon, and maybe have them officially supported?

Any way I can help?

I've got decades of Linux experience, but not as a dev, and flashing Android devices is rather new for me...
 

badaboum33

New member
Sep 28, 2015
2
0
Hello
I have installed the 17.1 rom but I am stuck on the first boot at the LOS boot logo (6 hours..)

Any idea why?

I have a X304X (not very commom but very close to X304L or F)

Thanks
 

Rainberry

Member
Jun 9, 2021
22
0
Thank you for this amazing rom. Working perfectly in my Lenovo Tab4 10 TB-X304L and also call and everything is working but call are not that stable....anyway thank you very much.
Hey I have a request. So if you have got the twrp file of the Lenovo Tab 4 10 TB-X304L could you please share it as everything i found on the internet doesnt work..
Thanks and is the rom stable for the tab?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Can you give the link of the Respective Telegram Group
    LOS Builds(Unofficial) [Lenovo Tablets]
  • 10
    http%3A%2F%2Ffiles.paulfasola.fr%2FCyanogenMod%2FLineageOS.png


    Code:
    /*
    * 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
    Wifi
    Bluetooth
    GPS
    Camera
    Audio
    FM radio
    WLAN and USB tethering
    Broken
    You tell me

    Source code:
    device : https://github.com/lenovo-devs/android_device_lenovo_TBX304, 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

    2021-04-08
    • Initial release
    • Fixed fast charger and OTG
    • Fixed touchscreen issues
    mailru: lineage-17.1-20210408-UNOFFICIAL-TBX304.zip
    gdrive: lineage-17.1-20210408-UNOFFICIAL-TBX304.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

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

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

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

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

    Version Information
    Status:
    Testing
    2
    I can't get it to flash. TWRP has been sitting for hours at:

    Unmounting System... Target: Lenovo/LenovoTB-X304:/X304L:8.1.0/0PM1.171019029/S001017_190709_ROW:user/release-keys

    EDIT: Fixed by flashing TWRP instead of just booting it. The steps I followed were:

    1. Install the Lenovo Driver from here
    2. Install fastboot and adb on your PC, e.g. from here
    3. Enable developer options and in there select to unlock your bootloader by enabling OEM unlock and enable USB debugging
    4. Connect your PC to your tablet and run
      Code:
      adb reboot bootloader
      using adb on command line. The tablet will reboot into bootloader mode where you will only see the text on the screen. Now you use
      Code:
      fastboot oem unlock-go
      to unlock. This will factory reset your device
    5. Setup the tablet again, enable USB debugging, and reboot again to the bootloader
    6. Download tbx304-twrp-3.4.0-20201207.img (TWRP) from the OP
    7. Then run
      Code:
      fastboot boot tbx304-twrp-3.4.0-20201207.img
      to temporarily boot into TWRP.
    8. Select to keep system read only when TWRP starts to avoid modification which will make OTAs impossible
    9. In TWRP, go to WIPE, click on "Format Data" in the lower right, and follow the instructions.
    10. Go back to the TWRP home screen, choose "Reboot", and click "Recovery"
    11. In TWRP, go to the Backup tab, and backup the boot, recovery, and system image. Keep this backup for OTA updates.
    12. Go back to the TWRP home screen, hit the reboot button in TWRP, and choose "Bootloader".
    13. Then run
      Code:
      fastboot flash recovery tbx304-twrp-3.4.0-20201207.img
      to permanently install TWRP.
    14. Once installed, press the volume button until it says "Recovery Mode" in red letters on the top, then hit the power button to boot back into TWRP.
    15. Load the LineageOS zip file from your computer onto the tabled by using
      Code:
      adb push [NAME_OF_LINEAGE_ZIP_FILE] /sdcard/
      . If you are going to install gapps (Google Play Store, etc.), download it from here and push it to the tablet the same way
    16. From the TWRP home screen, go to Install and install the LineageOS zip file. Once that is completed, repeat the process to install gapps, if you're using them.
    17. Select the option to reboot. If everything worked correctly, it should boot into LineageOS.
    1
    Does this work on the tab4 10??
    1
    This says tab4 8... Does this work for the tab4 10 model tb-x304f ?
    Maybe it's a typo...
    I am using this on x304f (wifi only) tab. It's smooth and stable
    1
    Thanks for the great ROM! It works well on my Tab 4 10 X304L. The only thing I have trouble with is that I can't get safetynet to pass and Netflix can't be installed. Otherwise, it's running pretty well.
    Solve Safetynet issue:
    1. Enable MagiskHide in the options of the Magisk
    2. Install MagiskHide Props
    3. After install MagiskHide and reboot
    4. Install any terminal emulator from the PlayStore/F-Droid
    5. Open termux and write the following commands

    su > allow su permission

    props > wait for loading

    Select 1

    Select f

    Select Lenovo

    Select Lenovo Tab 4 10 Plus TB-X704L (7.1.1)

    Confirm and reboot