yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] Shamil Niyas:
**Disclaimer

*I am not be responsible for any bricked devices, data loss or thermonuclear wars.
*You are using this at your own risk.

Introduction

Welcome to TWRP for Lenovo Tab M10 X505X. Make sure you read the entire post carefully before you proceed with installation.

Pre-installation

Install ADB and Fastboot. Refer to this link if you need help installing ADB and Fastboot.

Unlock the bootloader. Refer to this link if you need help unlocking the bootloader.

Installation

Flash the TWRP image from bootloader.

fastboot flash recovery twrp.img

Warning:

Do not reboot the system yet. Remove the connection from the device. Hold the power button until it turns off. Then turn it on again with the recovery combo: Power button + Volume Up + Volume Down.

Once booted into the TWRP recovery mode, if you want to flash it permanently(otherwise it will be replaced with stock recovery after a reboot), install Magisk from recovery.

You can goto advanced option in TWRP and use the "ADB Sideload" option to sideload the Magisk zip file. In case sideload doesnt work, use adb to push the Magisk zip file to /tmp and then install the zip normally.

Warning:

Do not push the zip file to /data. The data partition is encrypted and any damage done messing with the data partition will not be my responsibility. You have been warned.

Downloads

TWRP image for X505X

Magisk

Known Issues

From android 9.0 onwards, the data partition is force encrypted and is not available to the TWRP. This is not much of an issue because update zips and ROM flashes usually dont use the data partition. So the data partition is encrypted.

Changelog

This is the first version

Upcoming Features

Support for decryption of data partition permanently/temporarily.

Upcoming Project

A custom rom for this device if I get enough support.

Donations

I have spent a lot of time on this project. Consider buying me a coffee or donating:D. It will be great support;).

Google Pay

Feel free to ask me if you encounter any problems.

Device Tree

For those who are curious. This is the device tree I ported for X505X.

If this helped you, hit the thanks button:D.

It would mean a lot to me if you could follow me on :-

Github

Instagram

Special Thanks

Yahoo Mike - For his great support

XDA:DevDB Information

Custom Recovery for Lenovo Tab M10 X505X, Tool/Utility for the Lenovo Thinkpad Tablet

Contributors

Shamil Niyas, Yahoo Mike

Version Information

Status: Beta

Current Beta Version: 2.84

Beta Release Date: 2020-11-12

Created 2020-11-13

Last Updated 2020-11-13
[Thinkpad Tablet Android Development] Shamil Niyas:
Reserved
[Thinkpad Tablet Android Development] zubair1836:
Hi, Useful thread here, I flashed this recovery to X505F and it's working fine except MTP and data partition does not unencrypt.

Can it be fixed somehow?

looking for a custom rom for this device as well.

Please help!
[Thinkpad Tablet Android Development] cYBER~VeTeRaN:
Hi, i dont have a pc currently with me, how can i do it using a mobile.
[Thinkpad Tablet Android Development] Shamil Niyas:
I'm still working on the data encryption. I will update as soon as possible.

Look forward to the custom rom..🤩
[Thinkpad Tablet Android Development] Shamil Niyas:
Unfortunately you cannot flash it without pc. Or if you can access fastboot using your mobile and termux you might be able to flash, though I cannot guarantee it.
[Thinkpad Tablet Android Development] cYBER~VeTeRaN:
Pls update twrp to latest verison 3.5 🙂
[Thinkpad Tablet Android Development] Shamil Niyas:
Thanks...I will update asap...
[Thinkpad Tablet Android Development] cYBER~VeTeRaN:
Sir, i would like to know which rom u r planning to port, expecting a gaming rom, also i would like to know the current progress :), thanks in advance
[Thinkpad Tablet Android Development] Ooo_64:
I have a lenovo m10 tablet as well but it's said to be a X306F instead? Will it work you think?
[Thinkpad Tablet Android Development] Shamil Niyas:
Do try booting thr recovery without flashing and post the result.

For booting without flashing run :

fastboot boot recovery.img
[Thinkpad Tablet Android Development] Shamil Niyas:
I'm still working out the device tree for the rom. Will update as soon as possible.
[Thinkpad Tablet Android Development] Wiebenor:
Forgive me for wondering, but I'm looking at buying a tablet, and I wonder a few things, first of which would be, what is everyone's experiences with this tablet??? The next thing I wonder is if you only plan on doing a single rom??? Say for instance, you started out with a CM rom, then did my personal favorite, ressurrection remix... Or maybe do remix first😂😂😂

Either way, I love android, but am missing ressurrection remix since back when I had a phone that supported it... The ressurrection remix rom has so many options it could take a 30$ device and make it feel like a 300$ device, but that's also a problem, because with lots of extra features and settings comes the greater possibility of bugs
[Thinkpad Tablet Android Development] Yahoo Mike:
RR is available on Project Treble as a GSI. You could try that.
[Thinkpad Tablet Android Development] Flipscuba:
So, I flashed recovery, tried rebooting by holding down power button and the volume buttons and now it's stuck in an infinite boot loop. Screen shows lenovo logo, and then it goes blank, vibrates, and then restarts to lenovo logo again. Holding down the power button won't even shut it off. Please help.
[Thinkpad Tablet Android Development] Mohit0033:
TWRP flashed successfully but sadly the data partition didn't work.

so to make it work, I first formatted the data partition and through the adb sideload I flashed disable-dm-verity (attached) and it now works, data-partition is not encrypted anymore.

I also compiled an orange fox recovery for it and the data partition is also working on it.
[Thinkpad Tablet Android Development] Mohit0033:
Is the GSI Booted?
[Thinkpad Tablet Android Development] Mohit0033:
One update guys.

I accidently wiped system of TB-X505X and flashed Android 12 Beta 2 GSI and it worked.

only Bluetooth is dead.

and when plugging aux getting grounds from both system speakers and earphone
[Thinkpad Tablet Android Development] Mohit0033:
https://xdaforums.com/t/unofficial-...top-style-tb-x505x-lenovo-tab-m10-hd.4306713/.

You can go here for RROS for lenovo tab M10 Hd x505x
[Thinkpad Tablet Android Development] Tamil009:
Use Termux in other device
[Thinkpad Tablet Android Development] Akop #1034:
I tried rooting my lenevo tab M10 hd and flashed a incorrect boot img as I am new to rooting and bricked up my device then from some where I got the correct boot img and recovered my device but now I am unable to use its internal storage , its shows some random letters when I open the file manager can you guys help me out resolving this issue.
[Thinkpad Tablet Android Development] eoraptor99:
Hi, I tried the method several times, but TWRP just doesn't work. I tried

fastboot boot twrp.img

but that fails with "remote:dtb not found". Google tells me that my Twrp is "not the right version"... So well I even set about creating my own TWRP image (as per this guide) based off Asus Nexus 7's Twrp 3.7 (as the guide said in step 3), but I got stuck in step 6.10:

(what the fish does "according to" mean?)

Anyways, I gave up for now due to confusion. Also because I noticed this (randomly):

I did NOT do that, I swear. Well it also happens to be that I didn't buy this tab directly from Lenovo. I got it as a part of a tab course (it's over now, and I have full access over the tab now). Maybe those people encrypted it...

I don't even know if encryption is an issue, but since the recovery is working for all of you guys, it might be an issue.

Someone tell me how to decrypt my device (factory reset from settings didn't work) or how to install Twrp as it is. Someone even said they'd compiled orangefox for x505x, if he/she is seeing this, please help me try that as well.

Thanks in advance.
[Thinkpad Tablet Android Development] eoraptor99:
Please reply!!!
[Thinkpad Tablet Android Development] alex.py:
Just a friendly question,

I'm wondering what will you all guys (the people who are replying to this thread and the one who started the thread) do with this recovery while we don't have a single custom rom on the whole internet for this device. I own this tablet and it seems to be useless with the stock rom.

Please someone help find me a custom rom for this device which can revive it to be used.
[Thinkpad Tablet Android Development] shreyanshu3612:
Can I install this on tab x505x build-TB-X505X_S001149_221018_ROW
[Thinkpad Tablet Android Development] hackdev17:
It may be battery problem watch out, because I had the same problem, but to get away with it along, whenever it vibrates, I plugged it to the charger and it try to force boot it.

Luckily it boots up and charges as usual, but after some time it looses charge rapidly that is just shutdowns it self.

I have observed that the battery just loose from 30-40% to 0% and shut itself down. I don't know why this is happening
[Thinkpad Tablet Android Development] Themjbrand:
Somebody please tell I flashed this but it is not booting please help Android 10 Lenovo x505x
[Thinkpad Tablet Android Development] sadnist:
hiii, can u please teach me how to flash twrp and gsi rom on this device?? i only did this once but with samsung and i would like to learn on lenovo too! tysm :) tell me if i can chat with u somewhere else pls!!!
[Thinkpad Tablet Android Development] Themjbrand:
Just flash twrp wipe dalvik cache internal storage data format and flash dm Verity after Flash system image and reboot that's it
[Android] adinechin:
[Guide] Enabling "SIM management" or "The hability to disable one SIM" for dual SIM

As I did not find any documentation on the subject on XDA, I thought it shoud be useful to explain how to enable this feature when building a ROM.

There is nothing complicated as it's totally implemented in Android (starting in Android 8), you just have to configure your build on the device side to use some implementation. It's mainly around the "qti-telephony-common" library that you can find here : https://github.com/LineageOS/android_hardware_lineage_telephony

So here are the main steps :

Edit your device.mk (in device/<brand>/<phone) to specify that you will use this library

To do so you only have to add these lines (be sure to remove all references to qti-telephony-common and telephony-ext)

# Radio
PRODUCT_PACKAGES += \
qti-telephony-common

PRODUCT_BOOT_JARS += \
telephony-ext

If it's not already in the tree of the ROM, you may have to clone the library from github (for example Lineage automatically clones it)

You can clone https://github.com/LineageOS/android_hardware_lineage_telephony in the directory of your choice in the device tree, the Android.mk file will be automatically detected by the build

Build your ROM and "voilà"

Hope it helps ;)
[Android] mlnbb:
Hi adinechin! It seems that you are quite expierienced in adroid so probably you can help me. Can you please tell me if there is any way to enable dual SIM dual standby mode working on pixel 3xl? Ive flashed Android 10 beta 5 on my pixel 3xl and it works fine but starting from beta 6 Google excluded this possibility for pixel 3xl. Changing property persist.vendor.radio.multisim_switch_support equal TRUE doesn't work on newer versions on Android 10/11. Thanks in front!
[Android General] noelmus:
Hi,

I am trying to use Android Auto (AA) through "Headunit Reloaded for android auto" application. My phone is saying that AA is connected to the device but I'm getting these images (below) on my Android head unit version 4.4.4.

When connecting the phone to the device it appears image 1, then after I tick "Use by default for this USB device" and click OK, appear images for Microphone, Location, Phone and Settings.

Any help is appreciated.
[ZenFone 2 Q&A, Help & Troubleshooting] IAmAgainst:
Hi there, I had a Cyanogen rom since some years and now I tried to go back to the stock rom. I followed this tutorial and flashed recovery.img just fine, but when I press Pwr/Down vol nothing happens, it remains in the "Asus in search of incredible" screen.

I tried flashing every recovery img I could find but it's always the same. I can enter fastboot mode, load any recovery image but that's it, I can't boot into it after that.

Any help will be greatly appreciated..
[8125, K-JAM, P4300, MDA Vario General] pardus:
With my I-mate K-Jam I have a strange problem - after inserting the plug of an external antenna (http://www.expansys.com/p.aspx?i=134068) into the external antenna socket on the back of the phone and then removing it my signal has now completely gone... It says "searching..." for ever. With the external antenna plugged in it's the same. How could just inserting and removing the plug affect my signal?

If I do a manual search I only get one provider of the three here but not mine, occasionally if I'm driving around I do get a weak signal near a tower.

Any ideas?
[8125, K-JAM, P4300, MDA Vario General] pardus:
Anyone....?
[8125, K-JAM, P4300, MDA Vario General] jwang926:
BUMP.......I am the same EXACT problem! Help PLZ
[8125, K-JAM, P4300, MDA Vario General] + Que PPC:
It seems...

You have burn your Radio control device... (Hardware I mean) maybe a capacitor or a chip get in flames :p... the only thing you can do is a hard reset and please dont plug f"#k thinks like that even if you need a beeter signal on roaming... you need a acelerator for increment the device signal... Basic electronic men!!!

So try it by push and still the buttons commanager and record then soft reset.. relese the reset button still the two buttons when the display say press send to format, release the two buttons.

Good luck or... maybe you can see inside your wizard and take a look for a burned thing... or internal anthena dirty... BTW everything has it costs and risk... OH and the ports that you used is for Industry TESTS on Fabrication process not external anthena... MEN!!!
[8125, K-JAM, P4300, MDA Vario General] cachon619:
send for repair!

u might have broken the connector soldered to the bottom of the external antenna jack wen u plug it in or jerk it around! it is very fragile! the best way to know is sent it fr repair at www.pocketpctech.com or call 714-839-5300, 115 n ask fr Loyd! he fixed my antenna!
[Huawei P10 Lite Questions & Answers] Ashle:
Please guys, help me, I still can boot into fastboot, but can't boot into twrp(even flashing it via fastboot recovery_ramdisk) or erecovery
[Huawei P10 Lite Questions & Answers] Ashle:
Successfully repaired ...:good:
[Huawei P10 Lite Questions & Answers] 陈旭松:
I also met
[Huawei P10 Lite Questions & Answers] angushev20:
How did you repair your device? I have the same problem, please help!
[Huawei P10 Lite Questions & Answers] Ashle:
Sorry for my English language....

Download https://drive.google.com/file/d/1uMrmObOb78_2dp8I6rVEOJ1s9Dg8QJDs/view

extracted zip

Open -- tools_fw -- FW --remove all files

Open -- update-L09 -- remove all files

Open --update-L29 -- remove all files

Open -- Update APP Unpacker --- copy the folder - UPDATE.APP - service ROM - Huawei P10 Lite [ https://xdaforums.com/p10-lite/help/original-service-rom-huawei-p10-lite-t3688097

]

Click ---- UNPACKER_RUN_ME.bat extract update.app ... Finished .... Open - output -- extracted file copy All to - tools_fw - FW....

open --- / tools_fw / - /update-L09 /

or /update-L29/ copy folder - CUST.img , USERDATA.img , VERSION.img

Connect a fastbootmode phone

CLICK 1. revive flasher ... flashed extract file ... Finished ... restart phone

IGNORED

the Writing FAILED (remote: 'partition length get error')

Everything after this was correctly flashed.

I repaired it successfully

error: FUNC 8 : HIFI Image, Error 1 Security Verify failed

;)

error:FUNC 11

[UNBRICK] P10 VTR-L09/VTR-L29 unbrick XLOADER2 failed downgrades with free tools.

https://xdaforums.com/p10/how-to/unbrick-p10-vtr-l09-vtr-l29-unbrick-t3916694
[Huawei P10 Lite Questions & Answers] angushev20:
It gives many errors like "command not allowed" and many missing files...
[Huawei P10 Lite Questions & Answers] Ashle:
P10 VTR-L09/VTR-L29 unbrick XLOADER2 failed downgrades with free tools.

https://xdaforums.com/p10/how-to/unbrick-p10-vtr-l09-vtr-l29-unbrick-t3916694

IGNORED - hisee,hisiufs,isp file P10 -- NO P10Lite file stock rom ....

IGNORED- Writing 'crc' FAILED (remote: 'partition length get error')

curver,

IGNORED the Writing FAILED (remote: 'partition length get error')

Everything after this was correctly flashed.

flashed extract file ... Finished ... restart phone

fastboot: error: cannot load 'fw\vector.img': No such file or directory
fastboot: error: cannot load 'fw\hisee_fs.img': No such file or directory
fastboot: error: cannot load 'fw\hisee_img.img': No such file or directory
fastboot: error: cannot load 'fw\isp_firmware.img': No such file or directory
fastboot: error: cannot load 'fw\HISIUFS_GPT.img': No such file or directory
Sending 'crc' (233 KB) OKAY [ 0.283s]
Writing 'crc' FAILED (remote: 'partition length get error')
fastboot: error: Command failed
Sending 'curver' (0 KB) OKAY [ 0.273s]
Writing 'curver' FAILED (remote: 'partition length get error')
Sending 'modem_fw' (98304 KB) FAILED (Write to device failed in SendBuffer() (Too many links))
fastboot: error: Command failed
Sending 'package_type' (0 KB) OKAY [ 0.193s]
Writing 'package_type' FAILED (remote: 'partition length get error')
Sending 'sha256rsa' (0 KB) OKAY [ 0.002s]
Writing 'sha256rsa' FAILED (remote: 'partition length get error')
fastboot: error: Command failed
[Galaxy S6 Q&A, Help & Troubleshooting] sd_dracula:
Tried to power on my S6 this morning and it just got stuck at the Samsung logo with black screen and then the blue screen.

- It cannot be turned off

- Tried Power + Menu + Vol Down and it just loops the same thing

- Tried recovery mode Power + Menu + Up but it is not responding/going into this menu

- Also there was no update applied was just turned off normally last night.

Would like to factory reset it but cannot get to any menu that will let me do that, any advice on how I can do that?
[Galaxy S6 Q&A, Help & Troubleshooting] sd_dracula:
So I finally got into recovery mode after letting the battery die but I don't want to do a factory reset just yet, I need to get some data from the phone first. How can I do that? Nothing happens when connected to my PC
[Galaxy S6 Q&A, Help & Troubleshooting] zeedygosta:
I'm having the exact same issue, however after letting battery run out and putting it back on power it just began looping into and then getting stuck in blue screen again. Did you end up finding a fix? Google doesnt seem to know this issue...
[Xiaomi Mi 10 Ultra Questions & Answers] mht.cuteguy:
Hello people

Today I flashed the Xiaomi EU android 11 to check it out and saw some bugs and wanted to downgrade to android 10.

I flashed the stock rom as I was downgrading and installed TWRP, Fully wiped the phone and wanted to restore my backup, but it says " extractTarFork() process ended with ERROR: 255 " when restoring the data. Needless to say, I had to type my password when I booted to recovery and I had Fingerprint and Pincode enabled when I was backing up. now I checked the recovery log and the error is

==> extracting: //data/misc/recovery/ (mode 40770, directory)
tar_extract_file(): failed to extract //data/misc/recovery/ !!!

When I browse that Directory there is some files named Fingerprint so looks like this is making some issues.

Could someone please help me out how I am able to delete this directory and try restoring my Data ?

I have tried any way of wiping and installing stock rom but still I get this error.
[Xiaomi Mi 10 Ultra Questions & Answers] Sathelp:
Looks a recovery error. Is the back up made with different recovery? Looks like it cannot find or extract it from the back up. Can you get back to where you were when you made the back up and restore from there?

If not, looks like a format and start again.
[Xiaomi Mi 10 Ultra Questions & Answers] mht.cuteguy:
Yeah it is from the same recovery.

It is a common error when you google it. but the fix they have mentioned does not work for me. It is like I should somehow delete that folder or files causing the issue from the backup and restore it.
[Xiaomi Mi 10 Ultra Questions & Answers] Sathelp:
You'll need to mount it on a pc, extract the folder and compress it again or delete it from the archive and save. I would make a copy first though.
[Xiaomi Mi 10 Ultra Questions & Answers] mht.cuteguy:
ok I am able to extract it with WinRar. but how should I compress so the TWRP will not face issues? on Winrar I have RAR,RAR4 and ZIP that I think will not work.
[Xiaomi Mi 10 Ultra Questions & Answers] Sathelp:
Use 7 zip.

To create a tar file, you can highlight the files you'd like to archive, right-click, and go to 7-Zip > Add to archive. In the 'Add to Archive' menu, just select 'tar' as your archive format and click OK.
[Xiaomi Mi 10 Ultra Questions & Answers] Sathelp:
Did you get it fixed?
[Xiaomi Mi 10 Ultra Questions & Answers] mht.cuteguy:
No, it didnt work. When i extracted the file using 7zip I got errors for everyfile. I think the issue is with the pincode and the data being encrypted. So next time I should remove the lockscreen and backup my data.

Goos thing I had backed up on Google Account.
[Xiaomi Mi 10 Ultra Questions & Answers] Sathelp:
Thanks for letting us know but good luck my friend
[Xiaomi Mi 10 Ultra Questions & Answers] Kanageshwaran:
im having the same error in my realme xt... I have a twrp backup of system image vendor image data boot recovery persist but im unable to recover because it shows an error extract tar fork process ended up with error 255{i too have locked the phone with pincode during backup} ....i also have a backup of my internal storage in twrp but im not able to restore because of this error.... kindly help me
[Xiaomi Mi 10 Ultra Questions & Answers] sajokj:
Some of the TWRP we use on Mi 10 ultra, dont able to decrypt data using Fingerprint or pin, you need to use pattern, this is a TWRP bug.
[Xiaomi Mi 10 Ultra Questions & Answers] stephendt0:
What a bull**** bug. There should be warnings about this at least when people go to create a backup.
[Galaxy A3, A5, A7, A8, A9 Q&A, Help & Troubleshoot] zorrax:
Hello

I installed few months ago Lineage on my A5

it works perfectly but since few weeks something changed.

When I use google chrome to surf, all urls were open with the jelly browser and not with google Chrome

I would like to use chrome and not Jelly.

how to change it ?

when I downloaded pdf with Jelly, it was impossible to find it on my device.

nothing in documents, download

thank for help
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] wecp17:
if i successfully installed twrp and xiaomi.eu will twrp remain as my recovery or will it return to miui recovery? im just making sure cause if someone accidentally go to my recovery then they might brick or wipe my phone?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] wecp17:
meaning if they press volume up + power button will it be the miui recovery or the twrp recovery?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] Shezen:
TWRP will remain
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] wecp17:
so anyone can access twrp via volume up + power button?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans] NOSS8:
Of course.
[P3600 General] zooster:
After the same fall that messed up the vibration, all the snapshots come with a line in the same position, the same line is visible on the display when enabling the cam, is the cmos broken? Can it be fixed?

Here it is at its full quality.
[P3600 General] zooster:
Help.....?
[Samsung Galaxy S8 Questions and Answers] urbancubb:
Hi,

I'm in the situation described here with my G950F not letting me in: I had Magisk installed, then flashed stock boot.img. Stock boot rejected my pattern to unlock encryption. I then reflashed the patched boot images I used before. Phone accepts my pattern but complains about an integrity issue and calls for a factory reset.

Any chance to go from here without data wipe?

Thank you