[ROM][UNOFFICIAL][9.0][TB-X704F/L] LineageOS 16.0 for Lenovo Tab4 10 Plus

Search This thread

Muad.Dib

Senior Member
  • Dear members, Hope you are all fine. I am new to install this firmware to my lenovo tab4 10 701LV softbank Japense device but i failed to install TWRP and run it on my device. I think the problem is i dont know how to root this device.

    Is root is must to do before install this twrp in my deivce?
    I am able to successfully upload twrp on my device adb but my device just restart to normal. It didnot went to TWRP bootload.

    Is there anyone help me to install this firmware to my device.


    Thanks very much.,
    Zayad Mohsin
    Hey there,

    No you do not need to root your device to boot/flash TWRP on it. All you need to do is to unlock bootloader. The matter then is to find the correct version of TWRP which works for your device.

    To test TWRP version best is to boot them before eventually flash them. A few things might not work in boot mode from my own experience but you can already test if touchscreen is working ok or make initial devices FULL backups before you start messing up things ;)

    So once bootloader unlocked reboot bootloader

    fastboot boot c:\twrp-x701l.img

    Please note you are on a x704_ device thread, that's not what you seem to own since you said you had 701lv. You need to get the right version for your device trying other versions devices will likely result into failing or worse brick your device.

    Hope this helps.
    Good luck!

    Regards
     
    Last edited:

    zayad_mohsin

    Member
    Nov 4, 2010
    17
    0
    Hey there,

    No you do not need to root your device to boot/flash TWRP on it. All you need to do is to unlock bootloader. The matter then is to find the correct version of TWRP which works for your device.

    To test TWRP version best is to boot them before eventually flash them. A few things might not work in boot mode from my own experience but you can already test if touchscreen is working ok or make initial devices FULL backups before you start messing up things ;)

    So once bootloader unlocked reboot bootloader
    fastboot boot c:\twrp-x701l.img

    Please note you are on a x704_ device thread, that's not what you seem to own since you said you had 701lv. You need to get the right version for your device trying other versions devices will likely result into failing or worse brick your device.

    Hope this helps.
    Good luck!

    Regards[/ICODE]
    Thank you very much for your reply but I didn't find twrp of 701LV device. But i read a thread in this forum that someone tries this on the same device which I have. I contact him but he didn't reply yet to me.
     

    zayad_mohsin

    Member
    Nov 4, 2010
    17
    0
    Can you let me know how to unlock the bootloader and second how to backup me whole firmware if i dont any mistake or it would not work then i would able to go back to stock firmware. I did not have any data on that tab i only have concern about stock firmware right now.
     

    zayad_mohsin

    Member
    Nov 4, 2010
    17
    0
    its gets this error while i try boot trwp image
    1618143894061.png
     

    zayad_mohsin

    Member
    Nov 4, 2010
    17
    0
    I update the fastboot driver update i didnot wheater it update or not but not work.

    Then i follow the command on trwp official website it write the file but did not reboot it on trwp platform. Just restart to normal when i give the command of fastboot reboot.


    1618145330641.png



    Now device is unlock boot loader
    1618145537487.png
     

    Muad.Dib

    Senior Member
  • I update the fastboot driver update i didnot wheater it update or not but not work.

    Then i follow the command on trwp official website it write the file but did not reboot it on trwp platform. Just restart to normal when i give the command of fastboot reboot.


    View attachment 5276159


    Now device is unlock boot loader
    View attachment 5276161

    Right after flashing recovery to device and rebooting to bootloader (the screen above) just use the vol+/vol- button to select recovery, press power when on it, and that should do the trick. It does for me.

    Hope this helps.

    Regards.
     

    Muad.Dib

    Senior Member
  • Screenshot_20210420-224812_Settings.png


    First built for the tablet done. It installed so I guess it can't be that bad ;)

    I have not touched anything, just repo sync and built.

    Now I am going to test a bit further, I have everything to install since I came from fresh stock and let you know if things work properly.

    Would any of you interested in the update or you all moved to Q already?

    Personally I want to stay on P a bit longer so I'll keep building for msyelf to apply security patches.

    Cheers!
     

    m0lek

    Member
    Oct 26, 2014
    25
    4
    Congratulations!

    I had moved to Android 10 due to lack of security updates.

    Android 10 is pretty stable, but my tablet can not use a SIM card to access 3G/4G as with LOS 16.0 (Pie).

    Please share your build after you test it throughly

    Thanks in advance.
     

    Muad.Dib

    Senior Member
  • lineage-16.0-20210420-UNOFFICIAL-TBX704

    latest build available with the April 2021 security patch.

    The sources used were the one provided on page 1 based on Lenovo-devs work which includes @highwaystar_ru (who allowed me to share my LOS16 builds) so thanks to them/him. Obviously also huge thanks to LineageOS team for their continuous work and support making incredible things still possible with our aging, yet still fully functional hardware!

    All I did was sync the repo and build - the latest patch was added by the LOS team.

    For me everything is working fine on my F flavor of the tablet, but I see no reasons why things which were working before would not be working anymore since all what was added was lastest security patch.

    If you are coming back from any other version of A or LOS I strongly recommend a fresh install.

    Enjoy ;)

    LOS16 Downloads for TB : X704
    md5sum : 269f07113459f2cd1ab756bbabcc3245
    [GDrive] : https://drive.google.com/file/d/1NlzK7BaFiSwaQY6E1Rrmw4zq5Vk82DYQ/view?usp=sharing
    [MEGA] : https://mega.nz/file/yM9khQTD#wPXdYJwxQKz6ifzdDBN4FSTAHzrRwM2mczXm67SJtYY
    [Yandex] : https://disk.yandex.com/d/SkL7te1MRpPY_g
     
    Last edited:
    • Like
    Reactions: m0lek

    Muad.Dib

    Senior Member
  • Congratulations!

    I had moved to Android 10 due to lack of security updates.

    Android 10 is pretty stable, but my tablet can not use a SIM card to access 3G/4G as with LOS 16.0 (Pie).

    Please share your build after you test it throughly

    Thanks in advance.

    Hey @m0lek out of curiosity have you tried my updated version and does your SIM works in there? I only have the F (wifi) version of it so Idk. Please let me know.
    If interested and working I might be sharing my updated builds once a month.

    Cheers!
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 1
      lineage-16.0-20210420-UNOFFICIAL-TBX704

      latest build available with the April 2021 security patch.

      The sources used were the one provided on page 1 based on Lenovo-devs work which includes @highwaystar_ru (who allowed me to share my LOS16 builds) so thanks to them/him. Obviously also huge thanks to LineageOS team for their continuous work and support making incredible things still possible with our aging, yet still fully functional hardware!

      All I did was sync the repo and build - the latest patch was added by the LOS team.

      For me everything is working fine on my F flavor of the tablet, but I see no reasons why things which were working before would not be working anymore since all what was added was lastest security patch.

      If you are coming back from any other version of A or LOS I strongly recommend a fresh install.

      Enjoy ;)

      LOS16 Downloads for TB : X704
      md5sum : 269f07113459f2cd1ab756bbabcc3245
      [GDrive] : https://drive.google.com/file/d/1NlzK7BaFiSwaQY6E1Rrmw4zq5Vk82DYQ/view?usp=sharing
      [MEGA] : https://mega.nz/file/yM9khQTD#wPXdYJwxQKz6ifzdDBN4FSTAHzrRwM2mczXm67SJtYY
      [Yandex] : https://disk.yandex.com/d/SkL7te1MRpPY_g
    • 44
      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:
      Wifi
      Bluetooth
      Audio
      LED
      USB
      RIL
      Encryption
      Fingerprint
      Camera
      Hall sensor
      DT2W
      Selinux Enforcing

      Broken
      nothing

      Source code:
      device: https://github.com/lenovo-devs/android_device_lenovo_TBX704
      device-common: https://github.com/lenovo-devs/android_device_lenovo_tb-common
      kernel: https://github.com/lenovo-devs/android_kernel_lenovo_msm8953
      vendor: https://github.com/lenovo-devs/proprietary_vendor_lenovo

      Important
      If you are using this ROM first time, wipe data. Wipe data completely. I mean the option where you need to enter "yes". Use this option and then flash the rom.
      This ROM only works with the TWRP I added.

      If you want to use GAPPS, flash it directly after flashing ROM. Don't let the ROM boot. Otherwise your device will not get certification, so you will not have Google Access.


      Instructions (thx @matshias, just changed few lines to get ROM flashing working)

      1. Put your ROM (and GApps) onto your sdcard (sdcard must be exfat or fat32, NTFS not supported)
      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 Lenovo logo. Now you use
        Code:
        fastboot oem unlock-go
        to unlock. This will factory reset your device
      5. Don't setup, cause you will need to format your tablet later again. Shutdown tablet. Hold volume up and power button to start to bootloader
      6. Then run
        Code:
        fastboot flash recovery twrp-3.2.3-0-<your-filename>.img
        to flash TWRP
      7. Select with volume buttons "Recovery Mode" and press power button
      8. Select to write to system, otherwise you can't flash ROM
      9. Backup at least system and boot partitions to your sdcard cause you will wipe data in next step. Choose "System Image" for the system partition backup.
      10. Format data using this tutorial
      11. Flash ROM
      12. Optionally flash SuperSU or Magisk in TWRP which should install system less. Keep OEM unlock enabled if you flash or modify anything
      13. Restart


      Download
      2019-08-12 (hotfix)
      • hotfix: fix camera
      • security patch level: 2019-08-01
      ROM
      TWRP (Use this for TB704L too; you guys don't need 4g in recovery :p)

      You can also get the latest ROM updates from codeworkx here:
      https://sourceforge.net/projects/lineageos-on-lenovo/files/16.0/TBX704/
      Bulids are same, just update.

      Older downloads

      2019-07-14
      • security patch level: 2019-07-05
      ROM
      TWRP

      2019-06-22 (thx @codeworkx)
      • bugfixes and performance improvements
      • fix camera detection for ov8856 sensor
      ROM

      2019-06-09 (thx @codeworkx)
      • bugfixes and performance improvements
      • set_permissive.zip patch no more required
      • TWRP 3.3.0 support
      • security patch level: 2019-06-05
      ROM

      2019-05-14
      • fixed sim issue for x704l caused in last update
      • fixed a little issue on x704l (should improve battery life)
      • added double tap to wake
      • latest changes of LineageOS
      ROM

      2019-05-10
      • fixed wifi after fresh installation
      • changed scheduler to bfq
      • added wireless display broadcast
      • improved performance
      • removed ril elements from X704F variant
      • security patch level: 2019-05-05
      ROM
      SIM fix for X704L

      2019-04-30
      • fixed fingerprint bug caused by SELinux
      • removed PS3/PS4 controller hid, as it doesn't work
      • optimized performance
      ROM

      2019-04-28
      • fixed notifcation led (light was only red for notifications)
      • fixed ril values
      • added support for PS3/PS4 controller
      • SELinux is enforced after boot
      ROM

      2019-04-24
      • fixed hall sensor
      • fixed camera
      • fixed long time to wake up screen
      ROM

      2019-04-22
      • fixed fingerprint removement after reboot/user switch
      • fixed partially camera (same like in 15.1)
      • fixed reboot to recovery and bootloader for advanced reboot menu
      • fixed long time to wake up screen
      • fixed deep sleep
      ROM

      2019-04-21
      • intital release
      • TB-X704L is now integrated, no more additional zip required
      • You can update from previous version
      ROM


      Optional downloads
      Dolby Digital Plus (use the TWRP one)
      GAPPS (use 9.0 arm64; I suggest using pico variant)

      Mounting system rw
      This is impossible on our tablet. The bootloader enforces verity check, which causes this issue.
      The only possibility is to modify bootloader, what is dangerous and requires good knowledge.
      there is a workaround using magisk with a mod. which mounts your system rw on mount:
      https://forum.xda-developers.com/showpost.php?p=79681018&postcount=259

      Thanks
      @highwaystar_ru (he gave me the important hint, also used his sources and his thread :eek:)
      @LumenReaper (for his work with CM14.1, where I took big part of his device tree :fingers-crossed:)
      @Flowah123 for the TB-X704L files :fingers-crossed:

      Donations
      Thanks to @rorzer, @Preyer11, @Tschumi, @MrMagic, @max_work, @vicenza & 5 x anonymous :D

      Please don't support Lenovo and buy their tablets
      Code:
      [I]Updates vary depending on the model where our tablets receive Android and security updates after the introduction. 
      We announced Tab 4 10 Plus in February 2017 and since then it has received seven OTA updates. 
      However, this model has reached the end of its update cycle and will not receive any more updates in the future.
      - Lenovo (2018-05-11)[/I]
      Just seven updates and not even one major upgrade, please don't support them.

      Reporting bugs
      Please tell what mods you are using and what tablet variant (TB-X704F or L or ABCDEFGH..)
      If your tablet doesnt start:
      go to TWRP. use file manager, go to sys/fs/pstore, copy the files and upload it here.
      if your tablet starts and bug appears later:
      go to TWRP. use file manager, go to sys/fs/pstore, copy the files
      start your tablet normal, let the bug appear, enter adb root
      use adb logcat and adb shell dmesg, copy the content to a text file and upload here

      XDA:DevDB Information
      [ROM][UNOFFICIAL][9.0][TB-X704F/L] LineageOS 16.0 for Lenovo Tab4 10 Plus, ROM for the Lenovo Thinkpad Tablet

      Contributors
      yener90, codeworkx
      ROM OS Version: 9.x Pie

      Version Information
      Status: Testing

      Created 2019-04-21
      Last Updated 2019-06-11
      12
      Update
      2019-07-14
      • security patch level: 2019-07-05
      ROM
      11
      Update
      2019-04-28
      • fixed notifcation led (light was only red for notifications)
      • fixed ril values
      • added support for PS3/PS4 controller
      • SELinux is enforced after boot
      ROM
      11
      @yener90

      Interested on making this official?

      Sent from my OnePlus 6 using XDA Labs

      Sure, why not?
      This would be really nice.
      10
      Time to make some music here :p

      Update
      2019-05-10
      • fixed wifi after fresh installation
      • changed scheduler to bfq
      • added wireless display broadcast
      • improved performance
      • removed ril elements from X704F variant
      • security patch level: 2019-05-05
      ROM
      SIM fix for X704L
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone