[ROM][UNOFFICIAL][9.0] PixelExperience 9.0 for Lenovo Tab 4 8 Plus (TB8704F/X/N)

Search This thread

lancebuks

Senior Member
Mar 29, 2012
338
284
Yokosuka
Hi ChasTech - what Linux distro do you recommend using to build from Source? I've built from AOKP for my Galaxy Nexus (Maguro) years ago and I'd like to see if I can get this working.

Update1:
I'm syncing the source now with Ubuntu 19.10

Update2:
Had some errors during build so I'll try again with Ubuntu 16.04

Update3:
Build with Ubuntu 16.04 was successful - it even comes with the latest December 5 security patch. Thanks for the how-to guide, that's really great of you.
 

Attachments

  • Screenshot_20191226-171130.png
    Screenshot_20191226-171130.png
    65.5 KB · Views: 138
Last edited:
  • Like
Reactions: mac231us

mac231us

Senior Member
Oct 26, 2010
2,421
517
Hi ChasTech - what Linux distro do you recommend using to build from Source? I've built from AOKP for my Galaxy Nexus (Maguro) years ago and I'd like to see if I can get this working.

Update1:
I'm syncing the source now with Ubuntu 19.10

Update2:
Had some errors during build so I'll try again with Ubuntu 16.04

Update3:
Build with Ubuntu 16.04 was successful - it even comes with the latest December 5 security patch. Thanks for the how-to guide, that's really great of you.

heartening to see new devs coming to this device! thanks! (Resurrection Remix has been quite popular but these are great too considering that this is a tablet (phone))
 

AndroidGuy087

Senior Member
Aug 11, 2019
52
28
Hi ChasTech - what Linux distro do you recommend using to build from Source? I've built from AOKP for my Galaxy Nexus (Maguro) years ago and I'd like to see if I can get this working.

Update1:
I'm syncing the source now with Ubuntu 19.10

Update2:
Had some errors during build so I'll try again with Ubuntu 16.04

Update3:
Build with Ubuntu 16.04 was successful - it even comes with the latest December 5 security patch. Thanks for the how-to guide, that's really great of you.

No problem, I'm glad my guide helped you :)
 

AndroidGuy087

Senior Member
Aug 11, 2019
52
28
My laptop hard drive has broken down, I installed Lubuntu to USB stick but sadly 16GB is not enough to build ROMs on. I may buy an external hard drive of 200-300GB to install Ubuntu on so I can built ROMs but at the moment I can't afford that. So sorry that the ROM is still on the November 2019 patch.
 

lancebuks

Senior Member
Mar 29, 2012
338
284
Yokosuka
Nice work, just setting up and installing apps.

One thing though and I'm not sure it's related to the rom or not - but trying to download netflix - it's says this tablet not supported?
I had this issue when also installing stock rom 8.1 - lenovo were next to useless with their support!

So anyone got a workaround?
Open Magisk Manager and check SafetyNet - chances are your ctsProfile is failing if it is then do the following
Install MagiskHide Props Config and Busybox for Android NDK
Open up a terminal and type
Code:
props
Then select
Code:
1 - Edit device fingerprint
Then select
Code:
f - Pick a certified fingerprint
Then select
Code:
6 - Google
Then select
Code:
21 - Google Pixel 3a XL (9 & 10)
Then select
Code:
1 - Android version 9
Then Y and Y for the next to questions and reboot

If you're already logged in to your Google account then remove it and clear Google Play Store storage and cache and log back in.
 

Attachments

  • Magisk_Manager.png
    Magisk_Manager.png
    45.9 KB · Views: 268
  • Google_Play_Store.png
    Google_Play_Store.png
    40.1 KB · Views: 270
Last edited:

lancebuks

Senior Member
Mar 29, 2012
338
284
Yokosuka
No, I'm not sure why because it works on LineageOS 16 which has the same device tree, kernel, and proprietary vendor files as Pixel Experience.
I forked your device tree and updated (what I believe) is the fingerprint files using LineageOS device tree as a reference. I'm compiling it now and hopefully fingerprint will work.

I can only test this on the TB-8704X but this should work on the F and N as well - not sure about the V

Update 1: Fingerprint is working I'll send a download link for those brave enough to try my release.

Update 2: Here's the link to my release: Google Drive

Update 3: The Device Themes aren't working - I try setting it to dark but it's always Light.
 
Last edited:
  • Like
Reactions: Gtxinsane

AndroidGuy087

Senior Member
Aug 11, 2019
52
28
ChasTech - Do you know which files I need to update the security patch to the latest and where I need to put them?

There are build instructions at the start of the thread. You must build the ROM then flash the latest zip over your installation in TWRP, aka dirty flash. This will update it.

EDIT: Your screenshot has the December patch meaning you've built it before as I haven't released updates since the November patch. So you want to resync the repo (just cd to folder of sources, then repo sync) to get the latest files.
 
Last edited:

lancebuks

Senior Member
Mar 29, 2012
338
284
Yokosuka
There are build instructions at the start of the thread. You must build the ROM then flash the latest zip over your installation in TWRP, aka dirty flash. This will update it.

EDIT: Your screenshot has the December patch meaning you've built it before as I haven't released updates since the November patch. So you want to resync the repo (just cd to folder of sources, then repo sync) to get the latest files.
I did a resync yesterday so I'm wondering if the source repo hasn't been updated with the latest patches and that we just have to wait for the maintainers to do so.
 

Sage

Senior Member
Dec 12, 2005
1,741
414
AU
Xiaomi Mi 11
i cant seem to get Moto Assistant working. Seems to just sit on "Download Recovery file to phone" 67%. I assume the tablet should be in Fastboot mode yeah? Not Lenovo recovery?

Though if i follow the instructions the device sits on the very first orange Lenovo logo..
 
Last edited:

Sage

Senior Member
Dec 12, 2005
1,741
414
AU
Xiaomi Mi 11
I have the tb8704v rooted and TWRP 3.3.1-0 installed on my tb8704v, I can do a factory reset from TWRP. This shortens the procedure you outlined and does not require a PC. Or should I go through the recommended procedure using the Lenovo app on my PC? Also, does Magisk need to be installed to run Netflix and other programs that will not work with a rooted device?

Did you try this on the V model mate?
 

AndroidGuy087

Senior Member
Aug 11, 2019
52
28
Hi everyone!

It's me again, sorry I have been inactive for a little while.

You may be asking when a new update is due to come. Sadly, I can't say. I've been quite busy in real life and also my laptop has been having some issues when it comes to storage space. I do hope I'll be able to release something soon but I cannot promise anything.

Will I be doing PixelExperience 10? Possibly. But for now if you want to try out Android 10 on this tablet you can download LineageOS made by another talented developer, as recently they have released LineageOS 17, an android 10 ROM.

Thank you for understanding.
 
  • Like
Reactions: HkQc and suhridkhan

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    https%3A%2F%2Fi.imgur.com%2FGtwTyCR.png

    Pixel Experience for Lenovo Tab 4 8 Plus (TB8704F/X/N)

    What is this?

    Pixel Experience is an AOSP/CAF based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, bootanimation)

    Our mission is to offer the maximum possible stability and security, along with essential features for the proper functioning of the device

    Based on Android 9.0

    What's working?
    Wifi
    Mobile data
    GPS
    Camera (both photo, video, and also flashlight working)
    Bluetooth
    FMRadio
    Sound / vibration
    Facelock

    Known issues
    Fingerprint scanner not detected; no option to set up in Settings

    November 2019 security patch
    Android 9.0 Pie

    ROM download

    Don't flash GAPPS, they are already included


    XDA:DevDB Information
    PixelExperience, ROM for the Lenovo Thinkpad Tablet

    Contributors
    ChasTech
    Source Code: https://github.com/PixelExperience

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

    Version Information
    Status: Stable

    Created 2019-11-21
    Last Updated 2019-11-22
    4
    Installation:

    Make sure you are running stock Lenovo firmware and not another custom ROM like LineageOS. If you aren't running stock Lenovo firmware, restore to it using Lenovo Moto Smart Assistant and allow for the first boot to complete. If you are already running it, factory reset it then allow for the 'first boot' to complete.

    Boot TWRP into RAM through the following command:

    HTML:
    fastboot boot twrpfilename.img
    and backup recovery image to USB OTG or microSD card. Then flash the TWRP image to recovery using TWRP (ADB push it to internal storage them use install image to flash it).

    Install ROM from external storage or ADB sideload then boot into system.

    Quickly set it up, then reboot into TWRP, restore recovery backup from external storage, then reboot into system.

    Factory reset in System Settings. After this you may flash TWRP back again.

    Pixel Experience should now be installed and stable on your device. Enjoy!
    3
    Building from source

    Create working directory, initialise Pixel Experience repo and download sources:

    HTML:
    mkdir WORKING_DIRECTORY
    cd WORKING_DIRECTORY
    repo init -u https://github.com/PixelExperience/manifest -b pie
    repo sync

    Go out and have lunch somewhere or go on a big shopping trip whilst waiting for the sources to download. This will take some time.

    Once they've finished downloading, you cannot just lunch and build as the Tab4 8 Plus is not officially supported with Pixel Experience. You must download the device tree, kernel, and vendor files first. Do so with the following commands:

    HTML:
    git clone https://github.com/ChasTechProjects/android_device_lenovo_TB8704 -b aosp-9.0 device/lenovo/TB8704
    git clone https://github.com/ChasTechProjects/android_device_lenovo_tb-common -b aosp-9.0 device/lenovo/tb-common
    git clone https://github.com/lenovo-devs/android_kernel_lenovo_msm8953 -b lineage-16.0 kernel/lenovo/msm8953
    git clone https://github.com/lenovo-devs/proprietary_vendor_lenovo -b lineage-16.0 vendor/lenovo

    For Pixel Experience, you must add the following line to device/Lenovo/TB8704/aosp_TB8704.mk, or else it will not lunch successfully:

    HTML:
    TARGET_GAPPS_ARCH=arm64

    Now, time to build!

    HTML:
    source build/envsetup.sh
    lunch aosp_TB8704-userdebug
    brunch aosp_TB8704-userdebug

    The ROM installation zip should be in the folder out/target/product/TB8704. Install it by following the instructions in the above reply. Please note that if you already have Pixel Experience installed on your device all you have to do is flash your build on top of the existing build and it should work.
    2
    Hi everyone!

    It's me again, sorry I have been inactive for a little while.

    You may be asking when a new update is due to come. Sadly, I can't say. I've been quite busy in real life and also my laptop has been having some issues when it comes to storage space. I do hope I'll be able to release something soon but I cannot promise anything.

    Will I be doing PixelExperience 10? Possibly. But for now if you want to try out Android 10 on this tablet you can download LineageOS made by another talented developer, as recently they have released LineageOS 17, an android 10 ROM.

    Thank you for understanding.
    1
    Hi can you explain how you boot twrp into ram. Sorry I'm a bit of a noob. Would like to try the rom

    HTML:
    fastboot boot twrpfilename.img

    Replace twrpfilename.img with the TWRP image file name.

    You'll need fastboot installed on your PC and your device booted into the bootloader for this.