• 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][9.0][tbx304f/l/x] LineageOS 16.0 for Lenovo TAB4 10

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-16.0-msm8937
kernel: https://github.com/lenovo-devs/android_kernel_lenovo_msm8953/tree/lineage-16.0-tbx304
vendor: https://github.com/lenovo-devs/proprietary_vendor_lenovo/tree/lineage-16.0-msm8937

2020-12-12
  • Added double tap to wakeup option
  • Added hall sensor
  • Fixed error in sepolicy
mailru: lineage-16.0-20201212-UNOFFICIAL-TBX304.zip
gdrive: lineage-16.0-20201212-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.3.1), 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][9.0][tbx304f/l/x] LineageOS 16.0 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-16.0-tbx304

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

Version Information
Status:
Testing

Created 2020-03-04
Last Updated 2020-03-19
 
Last edited:

Hb20032003

Senior Member
Oct 22, 2015
175
357
Noida
I tried to unlock with https://github.com/bkerler/edl but I get this error:

Code:
[[email protected] edl]$ ./edl.py
Qualcomm Sahara / Firehose Client (c) B.Kerler 2018-2020.
Library.utils - Trying with no loader given ...
Library.utils - Waiting for the device
Library.utils - Device detected :)
Library.utils - Mode detected: sahara
Device is in EDL mode .. continuing.
Library.sahara -
------------------------
HWID:              0x000560e100000000 (MSM_ID:0x000560e1,OEM_ID:0x0000,MODEL_ID:0x0000)
PK_HASH:           0x92242cf8f6fad111a0b0e2aef2fceb6932ac73d2451037cdc6059da3a4f6dd9d
Serial:            0x8546e961
SBL Version:       0x00000000

Library.sahara - Couldn't find a loader for given hwid and pkhash (000560e100000000_92242cf8f6fad111_FHPRG.bin) :(
 

hk96

Senior Member
I tried to unlock with https://github.com/bkerler/edl but I get this error:

So, finally i was able to unlock the bootloader using the firehose file from the stock rom and editing the devinfo.img..
I will make a detailed guide soon, so that others can make use of it.

EDIT: Detailed thread HERE

Thanks....
 
Last edited:
  • Like
Reactions: Hb20032003

Akash23q2

Senior Member
Jan 9, 2020
223
55
QUOTE="Hb20032003, post: 84142017, member: 7023271"]
FlameGapps
[/QUOTE]
My Screenshot
Thx alot for the screenshots buddies, I wanted to try this thing out but once when I reflashed my tab with stock rom after a softbrick it's oem unlocking got greyed out and now I don't know how to fix that thing ☹
 
Last edited:

rustyrust

Member
Dec 22, 2020
9
0
there is issue with touch in the 12-12-2020 file the touch is mal aligned in my tab by two inches. im not complaining, it says you tell me whats broken so writing here. and Thanks a Lot for the ROM man


Edit: I tried the other release and I have the same problem, any help would be appreciated!
 
Last edited:

Hb20032003

Senior Member
Oct 22, 2015
175
357
Noida
there is issue with touch in the 12-12-2020 file the touch is mal aligned in my tab by two inches. im not complaining, it says you tell me whats broken so writing here. and Thanks a Lot for the ROM man


Edit: I tried the other release and I have the same problem, any help would be appreciated!
It is working fine on X304L. Check your model version or it may be a hardware issue.
 

rustyrust

Member
Dec 22, 2020
9
0
the model is x304l and it is also not a hardware issue as the stock rom and twrp recovery work fine. (the recovery and the rom provided here are the only ones where im facing this issue). im currently typing this from my stock rom on my tablet.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    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-16.0-msm8937
    kernel: https://github.com/lenovo-devs/android_kernel_lenovo_msm8953/tree/lineage-16.0-tbx304
    vendor: https://github.com/lenovo-devs/proprietary_vendor_lenovo/tree/lineage-16.0-msm8937

    2020-12-12
    • Added double tap to wakeup option
    • Added hall sensor
    • Fixed error in sepolicy
    mailru: lineage-16.0-20201212-UNOFFICIAL-TBX304.zip
    gdrive: lineage-16.0-20201212-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.3.1), 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][9.0][tbx304f/l/x] LineageOS 16.0 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-16.0-tbx304

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

    Version Information
    Status:
    Testing

    Created 2020-03-04
    Last Updated 2020-03-19
    6
    Updated:
    2020-12-12
    • Added double tap to wakeup option
    • Added hall sensor
    • Fixed error in sepolicy
    3
    Have you got anywhere with this? I have exact same issue you have on X304F and I am very unsure why and if it could possibly be fixed. I'll be very sad if I cannot make this work.... Love LOS....

    Please let me know.

    Regards,

    EDIT1:
    From what I am reading in this thread, it would look like this LOS package would be actually intended for the L version and not working properly on the F version, both of them probably sharing some but not all hardware.
    I am unsure but It would like screen might be different hardware, maybe even resolution.
    I had the same problem using the TWRP version provided without the 'F' at the end (just x304 no letter) and touch was not aligned right.
    Now could this be fixed easily? I dont know of LOS enough to tell that, maybe someone do? @highwaystar_ru ?
    I'd be more than happy to test on my device or provide data which could help fix the ROM for the F device.
    Could you please test this TWRP build https://cloud.mail.ru/public/AU29/uv1CLEfEs

    x304 source code really helps, fixed fast charger and fixed some code in touchscreen driver. Please check if test twrp fixes touchsreen issue. Lineage 17.1 with updated kernel is on the way.
    2
    Twrp works well without touchscreen issue but i, the same touch screen issue is now in rom itself, please tell how to fix ?
    You have to use new rom. Here is Lineage 17.1 (android 10) build https://forum.xda-developers.com/t/...8-rom-for-the-lenovo-thinkpad-tablet.4259205/
    1
    I dont get it, why arent you switching to android Q then? Its higher android version right? Or am i not getting somthing?
    Well moving to latest version available is not always the wisest thing to do. Things that worked for you may end up not working anymore (let's say you use a specific app which does not have an update for Q yet), even more for old devices which were not really designed to support such a new release (some drivers may be missing or not updated and such). New versions of OS usually need more Ram to function, leaving you will less Ram for you to use, and again that can be a problem.
    As goes the famous saying : 'When it works, don't fix it' ;)

    However you are right at some point you have no other choice but to update, even if that comes with a tradeoff. For example once NetFlix (or any of the few other apps I want to keep using) will drop P support, I wont have a choice but to move. But I still have time. But at the moment there is no appealing feature on Q which makes me want to update unconditionally.

    At the time being, I am just happy with applying google security patches every now and then. Probably more often as soon as I can figure out how to build for multiple devices on same LOS version.

    Cheers!