• 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][tb8504f/x] LineageOS 16.0 for Lenovo TAB4 8

Search This thread

hinxnz

Senior Member
Jul 21, 2009
2,852
2,466
Thanks for ROM, seems stable here, nice battery life..
 

Attachments

  • Screenshot_20200810-181354_EX_Kernel_Manager.png
    Screenshot_20200810-181354_EX_Kernel_Manager.png
    72.7 KB · Views: 158

village.guy

New member
Aug 27, 2020
1
0
I have just upgraded from the stock firmware to resolve a power consumption issue. The power issue is now resolved but unfortunately I believe I may have uncovered a bug. I use the tab as a dedicated remote control that runs RTIPanel and for the most part it works great. The anomaly I have found is that when the tab is woken up, although the screen accepts touch commands the screen is still sleeping except for the time in the top left hand corner. Commands are actually sent when the screen is touched but there is no visual feedback until either the home button or the app list button is pressed. After pressing either of these buttons the screen displays the current status.

Is there any chance of a fix for this issue?
 

village.guy

New member
Aug 27, 2020
1
0
I have just upgraded from the stock firmware to resolve a power consumption issue. The power issue is now resolved but unfortunately I believe I may have uncovered a bug. I use the tab as a dedicated remote control that runs RTIPanel and for the most part it works great. The anomaly I have found is that when the tab is woken up, although the screen accepts touch commands the screen is still sleeping except for the time in the top left hand corner. Commands are actually sent when the screen is touched but there is no visual feedback until either the home button or the app list button is pressed. After pressing either of these buttons the screen displays the current status.

Is there any chance of a fix for this issue?

I really would like to resolve this issue and am capable of compiling new code if some kind person can point me in the right direction to find where the code are performs the wake up events.
 

fast9000

Senior Member
Feb 3, 2016
131
41
I can't seem to login into my google account after flashing Rom and GAPPS, it just says something went wrong. Please try again but won't let me no matter how many times I try, what gapps do you guys use, please link them here if at all possible.

Otherwise guess I'll have to go back to stock Rom. :crying:
 

scorpion2782

Member
Jul 23, 2013
49
9
i installed the rom with the pico gapps (but also nano) but i can't add the account. as soon as I select next after entering the email the message is "something went wrong"
 

Barkingmad15

New member
Jun 29, 2017
4
0
Error 7 no script error

:)

Yes my Back Camera is also not working and something lower sound of the speakers than the stock's sound

---------- Post added at 09:05 AM ---------- Previous post was at 08:48 AM ----------



for ERROR: 7 you can unzip the OS and then go to meta inf and try to find update script in any of the folder ,,, open it in notepad and edit the codes and replace tb-8504X with tb_8504X and then save it as it is ,, without having any extension ,, compress it again amd then try

for "Failed to mount '/data' " ,, In the menu of twrp recovery --> wipe -> Advance wipe-> select data -> click on repair and change partition -> click on repair partition and swipe -> come back and click on change partition and change to partition to FAT OR exFat by swiping -> and again change your partition to EXT4 -> come back to main menu ,, -> Reboot ->Recovery

Hi, Can anyone assist please? When I try to flash I first got the above error code 7, so followed the instruction to chage update script. Now I get "script aborted (no error message) updater process ended with error code 7"

Thank-you
 

Barkingmad15

New member
Jun 29, 2017
4
0
Fixed it

Hi, Can anyone assist please? When I try to flash I first got the above error code 7, so followed the instruction to chage update script. Now I get "script aborted (no error message) updater process ended with error code 7"

Thank-you

Fixed it! As mentioned earlier in this thread, somebody suggested updating Twrp image to 3.3.x which I did, still had error 7 so after more Googling I found a page which suggested editing the updater-script as mentioned earlier, but instead of editing the model numbers just delete everything with the code assert & getprop. Official page mentioned here: http://www.lineageosdownloads.com/fix-error-7-lineage-os/ (method 1 worked for me)
 

lccr193

Member
May 15, 2019
26
0
Could you please implement treble somehow if you are working on Android 10 for Lenovo tb-8504x/f, if you could implement it, please do try, no need to have full A-B partition support, just please try.... Bringing treble support would be amazing, thanks in advance.....
 

jfbaudio

Senior Member
Mar 21, 2012
50
6
i installed the rom with the pico gapps (but also nano) but i can't add the account. as soon as I select next after entering the email the message is "something went wrong"

Running into the same problem here. Did you or @fast9000 try older versions of gapps or find another way to get around this problem? (I went back to an August version with no luck.) The only way I can manage to put in a google account is by transferring from another device.
 

lccr193

Member
May 15, 2019
26
0
Running into the same problem here. Did you or @fast9000 try older versions of gapps or find another way to get around this problem? (I went back to an August version with no luck.) The only way I can manage to put in a google account is by transferring from another device.
It needs to be the arm64 version of gapps, this is an arm64 device, download the arm64 version of gapps from opengapps and class it, it worked with the October 8 2020 package...........
 

jfbaudio

Senior Member
Mar 21, 2012
50
6
It needs to be the arm64 version of gapps, this is an arm64 device, download the arm64 version of gapps from opengapps and class it, it worked with the October 8 2020 package...........

That's what I had used, but to no avail. I switched back to 8.1.1 stock + Nova + Magisk for now. I might try switching back when we get a stable Android 11 build on this device
 

lccr193

Member
May 15, 2019
26
0
That's what I had used, but to no avail. I switched back to 8.1.1 stock + Nova + Magisk for now. I might try switching back when we get a stable Android 11 build on this device
Yeah, it would be great if we directly got android 11...... but we need to get the go edition, since the snapdragon 425 cant just keep up with every new version of android........ this would not have been a problem if treble support was added when this tab got updated.........
 

semigod_chu

New member
Jul 25, 2011
3
0
I want to install 0319.zip and always get the message:
E: failed to verify whole-file signature
E: Signature verification failed
E: error: 21

I use twrp-3.3.1 and download 20200319.zip from gdrive & mailru.
How can I fix this problem? Thank you.

---------- Post added 20th October 2020 at 12:06 AM ---------- Previous post was 19th October 2020 at 11:36 PM ----------

I want to install 0319.zip and always get the message:
E: failed to verify whole-file signature
E: Signature verification failed
E: error: 21

I use twrp-3.3.1 and download 20200319.zip from gdrive & mailru.
How can I fix this problem? Thank you.

---
After I reinstall twrp-3.2.3 and then install twrp-3.3.1. Now I can use 'adb sideload' to install 20200319.zip and gapps.
 

farhad0312

New member
Oct 26, 2020
4
0
twrp not install

Hello
My tablet is tab4 8 8504x, the installation of twrp is complete, but the recovery environment does not change.
My Android version 8.1
Please advise what to do?
Thankful
 

Top Liked Posts

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

    2020-03-19
    • Fixed USB flash mounting when using OTG
    mailru: lineage-16.0-20200319-UNOFFICIAL-TB8504.zip
    gdrive: lineage-16.0-20200319-UNOFFICIAL-TB8504.zip

    Previous versions:

    2020-03-13
    • Fixed graphical issues
    • Fixed USB modem mode
    • Selinux now enforcing
    mailru: lineage-16.0-20200313-UNOFFICIAL-TB8504.zip
    gdrive: lineage-16.0-20200313-UNOFFICIAL-TB8504.zip

    2020-03-04
    • first release
    mailru: lineage-16.0-20200304-UNOFFICIAL-TB8504.zip
    gdrive: lineage-16.0-20200304-UNOFFICIAL-TB8504.zip


    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: twrp-3.3.1-1-TB8504.img
    gdrive: twrp-3.3.1-1-TB8504.img

    XDA:DevDB Information
    [ROM][UNOFFICIAL][9.0][tb8504f/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-tb8504

    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
    3
    Can this be installed on my 8704v?

    No, it is only for 8504, it has different SOC.

    Update here
    • Fixed graphical issues
    • Fixed USB modem mode
    • Selinux now enforcing
    3
    Managed to install Lineage on my TB-8504F, but it doesnt get past the Lineage boot animation, no matter how long I leave it.

    Pushed TWRP to Recovery, formatted as required. Had to amend the Lineage image to remove the device checks, as although I definately have TB-8504F, it didnt like that TWRP reported it as TB_8504f - ?

    Installed and installed GAPPS, cant get past load screen.

    I do have a backup, so not concerned, but frustrated!

    Any help appreciated

    Same issue here. Did you manage to resolve it?

    Hey, just spent all day resolving this issue. I remembered seeing you two running into it as well, and wanted to make sure I came back here and follow up.

    First, the solution: (I think these steps should work for both TB-8504f and TB-8504x variants, and honestly could be used with just about for any Lenovo device)
    - Download and install Lenovo's "Rescue and Smart Assistant" software (Looks like it's Windows only, PM me if you're on Linux or MacOS and I'll try and share the stock image when I get time) https://support.lenovo.com/us/en/downloads/ds101291
    - The program is pretty straightforward, but select "Rescue" -> "Lenovo Tablet" -> "Lenovo Tab4 8" -> etc. and select your device as precisely as you can.
    - Download the stock image (mine was about 2gb) and when it finishes click "Rescue Now"
    - Follow the instructions exactly - I tried to ignore parts about unplugging, turning it off, plugging it back in, etc because I thought they were walking me through booting into recovery. It seems like there really is some proprietary thing that kicks the restoration off when you plug the usb cable in with the device off while holding the "Volume Up" button.
    - Once it finishes, you should boot back into the stock OS. It does take a while - I thought it was stuck in another bootloop, so I restarted my device once, but it eventually got past the boot screen.

    From there, following the instructions in the OP should work.
    - If you're reading this then you've probably already unlocked your bootloader, but just in case reboot into the bootloader and run "fastboot oem unlock-go"
    - Then flash the version of TWRP linked in this post (v3.3.x, NOT the one linked in the large TWRP post for this device, which I believe is v3.2.x)
    - Reboot into recovery (I had to physically do this, as the fastboot command kept rebooting me into the OS for some reason)
    - Wipe Data -> Swipe for Factory Reset -> Advanced Settings -> Change "System", "Data", and "Cache" to use "F2FS" for the filesystem (this file system is a little faster than Ext4, but not at all necessary)
    - From the home menu go to Advanced -> ADB Sideload and load the ROM, then load Gapps (I used Nano)
    - That's it! It does take a little time to boot, so don't get scared and think you're in another boot loop. Eventually you'll see the setup wizard.

    What I think happened is that somewhere earlier in the thread someone uploaded an ADB backup file for the TB-8504x with instructions on restoring it via ADB, and that messed something up in the vendor file for my TB-8504f.

    Or, whatever firmware the tablet originally had was not fully compatible with this ROM or TWRP version, and whatever stock firmware Lenovo pushes through that recovery app is. Either way, I'm finally up and running. Wasted a whole day on it.
    2
    @Plant

    Thank you so much :) I haven't got similar problems on rest devices with lineageos16 so that's why I lost.

    You mentioned magisk module, but is it prepared only for stock system or lineage I have currently on tab 4 8?

    Magisk is global, meaning it will work on almost every android device as long as it is Android KitKat or higher. Same with (some of) its modules.

    If you still didn't get it, it means it's basically available on LineageOS, and any other ROM, be it stock or custom.
    2
    Probably a stupid question... But is there any way to port this to x304l? any guide that maybe I could use... Any help will be appreciated!

    Well... it's not totally stupid, it's more of a "Are there the necessary files?" kind of question.
    These should help as a start:

    You will need a beefy computer, we're talking about 8GB of RAM or more and maybe at least a I5 Intel processor to even think about this.

    Also note that this can get from hard to something beyond IMPOSSIBLE.


    The process is mostly getting the blobs and fixing or bodging building errors.
    The building will also need to be done on Linux, preferably on the main machine for maximum performance.

    You can try to adapt the device tree, but there is no guide and I personally don't know how you can manage it.

    I hope this helps.