Works after unlocking bootloader and flashing recovery by fastboot.
fastboot flash recovery recovery.img
You can use the recovery name instead of
Works:
This device does not have a vbmeta partition so you may have to either replace hexcode of string "verify" in boot.img to 0s or flash the disable_dm_verity_force_decrypt.zip afterwards to disable avb
The kernel (i think but it could also be the modem parts or nvdata as the logcat show errors based on them) does not allow booting into some GSIs (tested, didn't go past boot animation -> lineage-os A14 to A9, arrowos A11, caos-A11, /e/-a10) but it does allow adb logcatting for AOSP A9 (look at the start)...
If you have tried any GSI and it boots, please open an issue
This is an unofficial build of TWRP (Team Win Recovery Project) for the Lenovo Tab M7 (TB-7305X).
Device Info | Specification |
---|---|
Device Name | Lenovo Tab M7 |
Model Number | TB-7305X |
Codename | TB-7305X |
SoC | MediaTek MT8321 (32-bit) or 8765B (64 bit) |
CPU | Quad-core 1.3 GHz Cortex-A7 |
GPU | Mali-400 MP2 |
RAM | 1 GB |
Storage | 8 GB / 16 GB internal storage |
MicroSD | Up to 128 GB microSD card support |
Battery | Non-removable Li-Po 3450 mAh |
Display | 7.0 inches, 600 x 1024 pixels, IPS LCD |
Android OS | Android 9.0 Pie (Go edition) |
Release Date | September 2019 |
Maintainer | [Me] |
Warning: Installing custom recovery and modifying your device can void your warranty and may result in device malfunctions if not done properly. Proceed at your own risk.
Enable Developer Options and USB Debugging on Your Device
Unlocking the Bootloader
Enter the following commands:
adb reboot bootloader
fastboot oem unlock
(or)
fastboot flashing unlock
(or)
fastboot flashing unlock_critical
Flash TWRP Recovery
Place the downloaded twrp.img
file in your ADB/Fastboot directory.
From the bootloader mode, flash TWRP:
fastboot flash recovery twrp.img
(Replace twrp.img
with the actual filename if different.)
After flashing, boot directly into TWRP to prevent the stock recovery from replacing it:
fastboot reboot recovery
Optional Steps in TWRP (Depends per device)
To build TWRP for the Lenovo Tab M7 (TB-7305X), follow these steps.
Install Required Packages
sudo apt-get update
sudo apt-get install git-core repo gnupg flex bison gperf build-essential zip curl zlib1g-dev \
gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev \
lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip python
Initialize the Repo
mkdir twrp-workspace
cd twrp-workspace
repo init -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-9.0
Sync the Source Code
repo sync
Clone the Device Tree
git clone https://github.com/yourusername/android_device_lenovo_TB-7305X.git device/lenovo/TB-7305X
Set Up the Build Environment
source build/envsetup.sh
Select the Device to Build
lunch omni_TB-7305X-eng
Start the Build
mka recoveryimage
Retrieve the Built Recovery Image
After the build completes successfully, find the recovery image at:
out/target/product/TB-7305X/recovery.img
Disclaimer: Installing custom recovery and modifying your device involves risks. Proceed at your own risk. Neither the developers nor anyone else is responsible for any damage that may occur to your device by using this software.