• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][UNOFFICIAL][9.0][tb8504f/x] LineageOS 16.0 for Lenovo TAB4 8

Search This thread

vamsikr

Member
Jun 15, 2020
10
2
Hi, I am a bit of new flashing lineage OS to my Tablet. I have tried flashing TWRP and when I open TWRP I get the following message "Failed to Mount /system (Invalid Argument)".

I have tried wiping the ext4 and ext2 and even using f2fs.

The statement Formatting System using mkfs.f2fs takes forever and does not complete.

Please let me know if there is anything I'm missing or doing wrong here.
 

vamsikr

Member
Jun 15, 2020
10
2
Hi, I am a bit of new flashing lineage OS to my Tablet. I have tried flashing TWRP and when I open TWRP I get the following message "Failed to Mount /system (Invalid Argument)".

I have tried wiping the ext4 and ext2 and even using f2fs.

The statement Formatting System using mkfs.f2fs takes forever and does not complete.

Please let me know if there is anything I'm missing or doing wrong here.
An Update on this I have finally installed Lineage OS and can boot into it.

Now when I try installing GApps, it says Mounting Partitions and takes forever.

Any leads here are appreciated. Thanks in Advance.
 

vamsikr

Member
Jun 15, 2020
10
2
Ah, alright, I think I also got that problem once, the way I did it was mount the /system partition first in Mount option in TWRP, after that I install Gapps.

I have wiped everything and re-started the process from scratch. Now everything installed correctly both the Lineage OS and GApps. Looks like taking one at a time now.

Trying to install Magisk and I get the following error:

Updater Process ended with ERROR:1
 
  • Haha
Reactions: XAedgeS

XAedgeS

Member
Jan 19, 2017
26
0
I have wiped everything and re-started the process from scratch. Now everything installed correctly both the Lineage OS and GApps. Looks like taking one at a time now.

Trying to install Magisk and I get the following error:

Updater Process ended with ERROR:1
Well, I didn't even try Magisk yet, so I cannot help you with that, also do you mind telling me how do you go back to stock ROM? Qfil?
 

vamsikr

Member
Jun 15, 2020
10
2
Well, I didn't even try Magisk yet, so I cannot help you with that, also do you mind telling me how do you go back to stock ROM? Qfil?

I am a newbie in this area. I have used the advance wipe option to wipe out my system and reinstalled the custom ROM. May be a similar kind of process.

Just an update, Magisk is also now successfully installed!! Thank you!!
 
  • Love
Reactions: XAedgeS

real_v007

New member
Sep 14, 2021
2
0
Hii bro first of all thank you very much for this
This ROM is working so smooth and battery 🔋 life is also so I tested every thing and it's all over 8/10 But some functionality is not working
1. Auto rotate is not rotating I don't know why
2. Notification light is also not working I tried everything it says notification light is enabled but dot is not blinking except while charging
If anyone knows the fix please let me know it will be much appreciated 💗
 

Robb Flynn

New member
Jan 7, 2013
4
0
Worked great on my TB-8504F until a few days ago. Now the wifi is very spotty. It never drops connection to the router but web pages, videos etc. just time out. The progress bar on my browser will get to about 50% and just hang. Oddly enough, this is a known issue with the stock rom -

Wifi Issues with Lenovo Tab 4 8

It mentions 5Ghz with Tab 4 Plus but there are also issues with the Tab 4 connecting to 2.4Ghz bands too. This was thought to be a software issue but maybe it's hardware? Any ideas? I'm just about ready to throw this tablet in the trash. No wifi = useless.

Router config is 2.4GHz WPA/WPA2. Tested 2.4GHz using my phone and it works fine so I think the tablet is the problem.
 

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.
    1
    Update:
    2020-03-19
    • Fixed USB flash drives mounting connected by OTG
    1
    Hey guys , try crdroid rom by dev. @adazem009 , super smooth rom with many customization
    Thread '[ROM][UNOFFICIAL][10.0][tb8504f/x] crDroid 6.x for Lenovo TAB4 8' https://forum.xda-developers.com/t/...504f-x-crdroid-6-x-for-lenovo-tab4-8.4313297/