Lenovo tb-8504x help! - Thinkpad Tablet General

Hello!
I got this tablet (lenovo tab 4 8 (tb-8504x)) from friend of a friend, who already was trying to install custom rom and recovery to this tablet. So I'm at the situation where I have no idea how bad this tablet has been messed up. At the moment I can open fastboot and twrp recovery. I tried to find stock image to this tablet, but for some reason I can't find any (or can't search good enough). I tried recovery with Lenovo Rescue and Smart Assistant, but recovery always fails for some reason. I also tried to install Lineage OS from this thread, but as a result I'm looking at never ending boot sequence of Lineage OS. I have done exactly as thread said:
- I flashed twrp from this thread and it's working
- I wiped cache, data and system from twrp
- I installed Lineage OS from first thread with adb sideload
- I also tried install Lineage OS with gapps nano
Result is that the Lineage OS wont boot and I has no recovery / stock images to this tablet.
Any help or ideas would be more than welcome!

Here is logs from adb Sideload after installing Lineage OS
--------------
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
Starting ADB sideload feature...
Installing ZIP file '/sideload/package.zip'
Warning: No file_contexts
Target: Lenovo/TB-8504X/TB-8504X:8.1.0/OPM1.171019.019/8504X_S001031_191204_ROW:user/release-keys
detected filesystem ext4 for /dev/block/bootdevice/by-name/system
detected filesystem ext4 for /dev/block/bootdevice/by-name/system
script succeeded: result was [1.000000]
Formatting Cache using make_ext4fs...
Wiping Dalvik Cache directories...
-- Dalvik Cache Directories wipe complete!
---------------
From adb at PC, result code was: Total xfer: 1.01x

Ajeem Ahmad said:
I have stock rom (Nougat) in my google drive.
i can share link if you still haven't fixed the tab.
Click to expand...
Click to collapse
I have device that's modified with LOS but I want to restore the stock rom, could you post th link here or give the download to me?
Is it te same as this one: https://androidfilehost.com/?fid=10763459528675561263

Ajeem Ahmad said:
Which version do you need, i have only "x" (tb-8504x) version of rom ?
Click to expand...
Click to collapse
I need tb-8504f rom.

Related

TWRP can't mount /system

I tried dual boot my redmi note 4g using an chinese software. As I don't know chinese Ijust followed instructions given on source site. I got dual boot on my phone successfully. But after incomplete installation of second rom i wiped cache which cause my phone an bootloop formatting my internal memory.
I tried installing official miui rom through recovery. But TWRP gave me error of unable to mount /system.
After some research I found that
Code:
/dev/block/platform/sdcc.1/by-name/system2
is causing problem.
This file mounts at /system partition. The actual name should be
Code:
/dev/block/platform/sdcc.1/by-name/system
.
I want to rename this file. I tried many ways but it gets renamed back after each reboot. This is also preventing from installing rom through fastboot method. I guess I will have to do changes somewhere else through partition table. I don't know much about this so what exactly I should do to rename
Code:
/dev/block/platform/sdcc.1/by-name/system2
to
Code:
/dev/block/platform/sdcc.1/by-name/system
.
Sorry for bad english.

[ Backup with ADB through Recovery TWRP 3.0.2-r5 or TWRP 3.1.0-0 ]

[ Backup with ADB through Recovery TWRP 3.0.2-r5 or TWRP 3.1.0-0 ]​
I found out how to backup easy through Recovery with ADB and create this software to help you get easy with that, just execute it and follow what is write in there!
​
Download the zip, extract the folder, boot in twrp and plug the usb cable, open the folder and execute the exe file, select the option and follow what is write. The backup files will be stored in Rom_Backup folder!
To restore the partitions you need to do a backup first from the same partitions then do a restore!
ROM_BACKUP.zip
https://mega.nz/#!Mk5kEI6B
Key: !K9o8aIgvB_nozTj386MxEBL7ukBMdmZUs0_1dk1QtiA
Very easy!
Try it and tell me!
@panchovix
Hi!
I found out how to use the ADB backup with recovery!
Try the software i create from above!
:laugh: :silly:
.
Hello.
Forgive my silly question, but I want to be sure I don't create a mess.
In May I was with stock rom rooted with 8+8 GB and I've done a backup with your tool, so now on my pc I have the file Backup_14052017.bak.
Then I've flashed LineageOS 13.0 for Alcatel ONETOUCH IDOL 3 4.7 rom by alecbl.
Now I want to go back to that stock rom.
Can I do it just restoring that backup, right? And then I'll have back the stock rom 8+8, and all the data I had in may, correct?
Thanks.
Luigi.
Stick with Lineage - personna bricked his phone .........
OOps, doesn't suond funny...
Bricked using the restore option???
So, I'm trying to restoring that backup.
I've rebooted the phone in TWRP, plugged it to pc, launched ROM_BACKUP.exe, choosen 1 - Restore Backup and written backup's name.
But I get the error "adb: unable to connect for restore" (see attachment).
I have debug usb enabled and USB Computer Connection set on Camera(PTP).
What am I missing?
Thanks.
Luigi.
solquest3 said:
So, I'm trying to restoring that backup.
I've rebooted the phone in TWRP, plugged it to pc, launched ROM_BACKUP.exe, choosen 1 - Restore Backup and written backup's name.
But I get the error "adb: unable to connect for restore" (see attachment).
I have debug usb enabled and USB Computer Connection set on Camera(PTP).
What am I missing?
Thanks.
Luigi.
Click to expand...
Click to collapse
The latest TWRP from FireLord. You need to be on the recovery for restore to work.
Huskied said:
The latest TWRP from FireLord. You need to be on the recovery for restore to work.
Click to expand...
Click to collapse
Which version is the latest? I have 3.1.0-0.
I've turned off the phone, then pushed power+volume up for booting on TWRP.
I'm in the initial screen, the one with 'Install', 'Wipe', 'Backup', 'Restore', 'Mount', 'Settings', 'Advanced', 'Reboot' when trying to restore.
Mabe is something wrong on my pc with adb.
In my ROM_BACKUP folder I have (don't remember if they were originally there or if I've moved something in that folder)
adb.exe
AdbWinApi.dll
AdbWinApi_build.dll
AdbWinUsbApi.dll
Backup_14052017.bak
ROM_BACKUP.exe
I've tried opening command line from that folder and writing 'adb devices' for seeing if everything was ok.
I've got the message 'List of devices attached' but nothing about the device.
So it seems there's something missing...
Thanks as usual!
solquest3 said:
Which version is the latest? I have 3.1.0-0.
Click to expand...
Click to collapse
Check in Android Development. Again, FireLord's TWRP is the latest.
Huskied said:
Check in Android Development. Again, FireLord's TWRP is the latest.
Click to expand...
Click to collapse
Thanks.
Found it, but in the download page it says
twrp-3.1.1-idol3.img
for the Alcatel Idol 3 5.5, by FireLord
Will it work also on Alcatel Idol 3 4.7?
solquest3 said:
Thanks.
Found it, but in the download page it says
twrp-3.1.1-idol3.img
for the Alcatel Idol 3 5.5, by FireLord
Will it work also on Alcatel Idol 3 4.7?
Click to expand...
Click to collapse
Ehhhh... I don't know. I would suggest hitting someone up to build the latest TWRP for the 4.7 Idol 3.
solquest - I would suggest you use personna's TWRP he made - that is the one he used to check this works on his phone
check his posts
k500zm said:
solquest - I would suggest you use personna's TWRP he made - that is the one he used to check this works on his phone
check his posts
Click to expand...
Click to collapse
Do you mean TWRP 3.0.2-r5 and TWRP 3.1.0-0?
Tried them both but always got this message:
command id: 'adbrestore' and there is no value
E:Unable to find file system (first period).
E:Unable to find file system (first period).
E:Unknown restore method for '/system'
E:ADB Restore failed.
Done processing script file.
Checking online, mine doesn't seem the only case: https://github.com/omnirom/android_bootable_recovery/issues/133
Well the latest TWRP is by alecbl on the lineage thread towards the end - 3.1.1.0 - try that one and see if that works....
k500zm said:
Well the latest TWRP is by alecbl on the lineage thread towards the end - 3.1.1.0 - try that one and see if that works....
Click to expand...
Click to collapse
Found and tried.
Restoring finally worked and it said it restored system and also data (while I thought with ROM_BACKUP I would have restored only system).
The problem now is that phone doesn't boot... I get the ALCATEL ONETOUCHE powered by ANDROID screen, then the Idol 3 screen, then the blue android forming and then it reboot.
Any idea on what to do?
solquest3 said:
Found and tried.
Restoring finally worked and it said it restored system and also data (while I thought with ROM_BACKUP I would have restored only system).
The problem now is that phone doesn't boot... I get the ALCATEL ONETOUCHE powered by ANDROID screen, then the Idol 3 screen, then the blue android forming and then it reboot.
Any idea on what to do?
Click to expand...
Click to collapse
Wipe Data. Sometimes it kills phones.
Huskied said:
Wipe Data. Sometimes it kills phones.
Click to expand...
Click to collapse
I've wiped Data, Cache and Dalvik, but nothing changes.
Sometimes I just get the first screen (ALCATEL onetouch - powered by Android) and then it reboots, sometimes it goes a bit further with the other two screens (Idol 3 and the droid getting blue) but then it reboots again.
Should I try with Repair or Change File System?
On TWRP I've tried to restore data (but don't know if that would have helped) but when I select the Package to restore (2017-05-14-07-37-44_LRX22G_release_keys) I get the error 'No partition selected for restore'.
I've wiped Data, Cache and Dalvik, but nothing changes.
Sometimes I just get the first screen (ALCATEL onetouch - powered by Android) and then it reboots, sometimes it goes a bit further with the other two screens (Idol 3 and the droid getting blue) but then it reboots again.
Should I try with Repair or Change File System?
On TWRP I've tried to restore data (but don't know if that would have helped) but when I select the Package to restore (2017-05-14-07-37-44_LRX22G_release_keys) I get the error 'No partition selected for restore'.[/QUOTE]
Hello.
I've tried restoring that backup again.
Here's the messages I got while restoring:
Wiping System
Formatting System using make_ext4fs...
Restoring System...
[System sone (315 seconds)]
Wiping Data (excl. storage)
Wiping data without wiping /data/media...
Done.
Restoring Data (excl. storage)...
[Data (excl.storage) done (1246 seconds)]
Restoring Recovery...
[Recovery done (6 seconds)]
Restoring Boot...
[Boot done (7 seconds)]
Restoring EFS...
E:Unable to find dile system (first period).
E:Unknown restore method for '/efs2'
E:ADB Restore failed
Done processing script file
Done again 'wipe Data, Cache and Dalvik' before rebooting, but then it keeps rebooting again.
Any chance to get back to 5.0.2 stock rom without restoring that backup?
In case, could I install again LineageOS 13.0 for Alcatel ONETOUCH IDOL 3 4.7 rom by alecbl?
Thanks.
---------- Post added at 12:42 ---------- Previous post was at 12:33 ----------
On TWRP when I try to restore data (hoping that this would make phone booting ok) I am asked 'Select Partition to Restore:' but there's nothing I can select... and if I swipe to resore I get the error 'No partition selected for restore'.
Can't I restore the backup I've done with TWRP?
---------- Post added at 13:30 ---------- Previous post was at 12:42 ----------
trying to flash LineageOS 13.0 for Alcatel ONETOUCH IDOL 3 4.7 rom by alecbl again I get these messages:
Installing zip file '/external_sd/lineage-13.0-20170408-UNOFFICIAL-idol347.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Target: 1491616539
detected filesystem ext4 for /dev/block/mmcblk0p25
unmount of //system failed (-1): Device or resource busy
Patching system image unconditionally...
Verifying the update system image...
system partition has unexpected contents after OTA update
in red: Updater process ended with ERROR: 7
in red: Error installing zip file '/external_sd/lineage-13.0-20170408-UNOFFICIAL-idol347.zip'
Updating partition details...
...done
I've wiped cache/dalvik and tried installing again
I get these messages:
Installing zip file '/external_sd/lineage-13.0-20170408-UNOFFICIAL-idol347.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Target: 1491616539
unmount of //system failed (-1): Device or resource busy
detected filesystem ext4 for /dev/block/mmcblk0p25
mount: failed to mount /dev/block/mmcblk0p25 at /system: Device or resource busy
Patching system image unconditionally...
Verifying the update system image...
Verified the updated image.
detected filesystem ext4 for /dev/block/mmcblk0p25
mount: failed to mount /dev/block/mmcblk0p25 at /system: Device or resource busy
unmount of //system failed (-1): Device or resource busy
script succeded: result was [0.200000]
Updating partition details...
...done
When I've rebooted system nothing changes (keeps rebooting after the first screen)
Booted phone in recovery, wiped dalvik, system, data, internal storage and cache.
Then tried restore via adb and got the message:
command is: 'adbrestore' and there is no value
E:Error opening TW_ABD_BU_CONTROL
Done processing script file
Then wiped again data and cache and flashed again LineageOS 13.0 for Alcatel ONETOUCH IDOL 3 4.7 rom by alecbl (with august security patch).
But still the phone keeps rebooting after the first screen.
So I've wiped data, cache and dalvik again and tried with 'adb restore Backup_14052017.bak' and got these messages:
Here's the messages I got while restoring:
Wiping System
Formatting System using make_ext4fs...
Restoring System...
[System sone (232 seconds)]
Wiping Data (excl. storage)
Wiping data without wiping /data/media...
Done.
Restoring Data (excl. storage)...
[Data (excl.storage) done (996 seconds)]
Restoring Recovery...
[Recovery done (6 seconds)]
Restoring Boot...
[Boot done (5 seconds)]
Restoring EFS...
in red - E:Unable to find file system (first period).
in red - E:Unknown restore method for '/efs2'
in red - E:ADB Restore failed
Done processing script file
Done again 'wipe Data, Cache and Dalvik' before rebooting, but then it keeps rebooting (or after the first screen or when the droid is getting blue)...
Try mobile Q upgrade in DOWNLOAD MODE.
https://forum.xda-developers.com/idol-3/help/mobile-upgrade-q-5-0-0-t3349508

Phone not accessable after trying to install Custom Rom

Hi,
so i've tried to root my phone and then to install a custom rom. the root went without any problem. After the root, i tried to install lineage OS 16.0 and followed this guide:
https://forum.xda-developers.com/redmi-note-7/development/rom-lineageos-16-0-t3923203
i downloaded the rom and gapps, put them on my root directory of my phone and then i wiped System,Cache ,Data, Internal Storage and Format Data. After wiping, the roms were gone, so i rebooted and transfered them again into the root directory. Then, i went onto installing (just like i did with magisk) but an error occurred saying:
E: String resource 'zip_compatible_err' not found. Using default value.
Zip Treble compatibility error!
Invalid zip file format!
Error installing zip file '....'
Updating partition details...
...done
Ok. So then, i tried to install another Custom Rom so i went for Oxygen OS, it actually did install but then i couldn't boot into it because it was telling me there was an 'Android System Error'. Ok, back in TWRP, i wiped everything and then i tried to install the Original ROM but i got the same error as above.
For now i tried to download the miFlasher tool but it only wants to download some driver and it literally takes forever.
Hope you can help me...
Download Fastboot ROM for your device and do this Fastboot Method
marcopast said:
Hi,
so i've tried to root my phone and then to install a custom rom. the root went without any problem. After the root, i tried to install lineage OS 16.0 and followed this guide:
https://forum.xda-developers.com/redmi-note-7/development/rom-lineageos-16-0-t3923203
i downloaded the rom and gapps, put them on my root directory of my phone and then i wiped System,Cache ,Data, Internal Storage and Format Data. After wiping, the roms were gone, so i rebooted and transfered them again into the root directory. Then, i went onto installing (just like i did with magisk) but an error occurred saying:
E: String resource 'zip_compatible_err' not found. Using default value.
Zip Treble compatibility error!
Invalid zip file format!
Error installing zip file '....'
Updating partition details...
...done
Ok. So then, i tried to install another Custom Rom so i went for Oxygen OS, it actually did install but then i couldn't boot into it because it was telling me there was an 'Android System Error'. Ok, back in TWRP, i wiped everything and then i tried to install the Original ROM but i got the same error as above.
For now i tried to download the miFlasher tool but it only wants to download some driver and it literally takes forever.
Hope you can help me...
Click to expand...
Click to collapse
Those recoveries are old.. Use orange fox recovery 10.0-2 it will work and format data then install rom.
title?
@BlackGarnett
Thanks, that help me on a quick one!
@loseyourself
Also thank you for this advice, i'm new to rooting smartphones and install cfw since i was using iPhone for the past few years.
But now i got another new question: if i use orange fox recovery and i run a backup with it (i think there will be an option to do a backup), then i format all data and internal storage, can i still recover from the backup or will it be deleted?
thanks again!
marcopast said:
@BlackGarnett
Thanks, that help me on a quick one!
@loseyourself
Also thank you for this advice, i'm new to rooting smartphones and install cfw since i was using iPhone for the past few years.
But now i got another new question: if i use orange fox recovery and i run a backup with it (i think there will be an option to do a backup), then i format all data and internal storage, can i still recover from the backup or will it be deleted?
thanks again!
Click to expand...
Click to collapse
When u make a backup to internal all is lost after format it. Orangefox put files on the internal sd. After format reboot recovery in the option section and flash again Orangefox.
Help me ,i need efs backup for unbrick my decices please

[SOLVED] Not able to flash Any ROM via TWRP

I have the MIUI v12.0.3, that's is full working, installed by Fastboot and XiaomiFlash. Then I flash the recovery TWRP mauronofrio and if I try to install any ROM what I get is a reboot into the recovery....
If I browse with the recovery into my files they are gone, in the root there are just a lot of folders with strange names like "7fdhuyfdsgu8fdhdH8fdhHBJN", inside those folder other strange folders.
The strange behaviour is that if I try to upload anything with a PC while the recovery in mounting a partition the file just won't upload, it sticks on 0%.
The only way to have a functioning OS is then use the XiaomiFlash again a flash the original latest MIUI.
This is SO WEIRD . I don't know how to do.
By now I have tried this ROMs:
- Havoc OS
- Resurrection Remix
Do you have any helps? I think is something with encryption, because when I try to save the log on the SD card with TWRP I get
E:Unable to decrypt FBE device
UPDATE:
I found this topic: https://forum.xda-developers.com/showpost.php?p=80209338&postcount=2
Following what the comment says, I figured out to Boot the ROM Havoc-OS... BUT all my data are still crypted I guess...
I installed a simple file manager from the play store and what I see are all the strange folders in the root of the phone...
SOLUTION:
After following that thread, what I had to do is just use TWRP mauronofrio and Format Data (not wipe). This will erase everything and solve the crypto problem. :good:

[SOLVED] Unable to wipe System

Hi all!
This is my first attempt to flash a custom rom in my life!
I have a POCO M3 as cavy and I am trying to flash crDroid.
Intalled TWRP 3.5.2, now I am trying to wipe System but here the first problem: console says:
Code:
Updating partition details...
...done
Updating partition details...
...done
MTP Enabled
Formatting System using mke2fs...
mke2fs -t ext4 -b 4096 /dev/block/mapper/system
690300 process ended with ERROR: 1
Unable to wipe System.
Unable to wipe /System_root.
Trying to install crdroid console says:
Code:
assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list"))
Update process ended with ERROR: 1
What can I do? Please help me, the phone boots ever in TWRP and now is unusable
To install TWRP I executed those instructions:
fastboot flash recovery twrp.img
fastboot reboot
fastboot --disable-verity --disable-verification flash vbmeta vbmeta-citrus.img
fastboot flash recovery twrp.img
fastboot reboot
noone can help me?
please help me...
PerezDeQueya80 said:
please help me...
Click to expand...
Click to collapse
Before installing rom in twrp, the system entry is never deleted, the Dalvik / Art Cache cache, Data, Cache is cleared, rom is installed and Data is formatted.
I am not understanding... just wiped Dalvik/ART Cache, Data, Cache withoud problems, but System still can not be wiped... I format Data too without problem... what I should do now?
PerezDeQueya80 said:
I am not understanding... just wiped Dalvik/ART Cache, Data, Cache withoud problems, but System still can not be wiped... I format Data too without problem... what I should do now?
Click to expand...
Click to collapse
Never lubricate the system!
It is clear that then there are problems.
rotoko said:
Never lubricate the system!
It is clear that then there are problems.
Click to expand...
Click to collapse
You must first install firmware 11, preferably the latest version, for example POCO M3 EEA Stable Recovery V12.5.5.0.RJFEUXM. Move it to sdkard, go to TWRP and delete: 1.Dalvik / ART Cache 2. Data 3. Internal storage 4.Cache DO NOT DELETE OTHER! 5. Start the A11 firmware installation 6. FORMATTING after installation. 7. Restart I recommend installing the firmware for a better system installation.
rotoko said:
You must first install firmware 11, preferably the latest version, for example POCO M3 EEA Stable Recovery V12.5.5.0.RJFEUXM. Move it to sdkard, go to TWRP and delete: 1.Dalvik / ART Cache 2. Data 3. Internal storage 4.Cache DO NOT DELETE OTHER! 5. Start the A11 firmware installation 6. FORMATTING after installation. 7. Restart I recommend installing the firmware for a better system installation.
Click to expand...
Click to collapse
Just installed "miui_CITRUSGlobal_V12.5.7.0.RJFMIXM_fa891a2765_11.0.zip" and it works again! Thank You!
But now I am afraid to install custom roms... My fear is that I lock it...
PerezDeQueya80 said:
Just installed "miui_CITRUSGlobal_V12.5.7.0.RJFMIXM_fa891a2765_11.0.zip" and it works again! Thank You!
But now I am afraid to install custom roms... My fear is that I lock it...
Click to expand...
Click to collapse
Excellent.
Remember, don't delete anything extra.
Ok, I tested a while and it seems that call recording does not work... this is why I would like to try some custom roms. My target is to have a working call recording without "audible announcing of record start". What should I do now to successfully install, for example, cdDroid?
PerezDeQueya80 said:
Ok, I tested a while and it seems that call recording does not work... this is why I would like to try some custom roms. My target is to have a working call recording without "audible announcing of record start". What should I do now to successfully install, for example, cdDroid?
Click to expand...
Click to collapse
Custom rom installation is done in the same way as firmware,
Clean Dalvik / Art Cache, Data Cache, Install Rom and Format Data.
ok, crDroid installed but it goes in boot loop... i think because juice version is not proper for citrus...
I will try other roms.... thank you very very much rotoko!!
PerezDeQueya80 said:
ok, crDroid installed but it goes in boot loop... i think because juice version is not proper for citrus...
I will try other roms.... thank you very very much rotoko!!
Click to expand...
Click to collapse
I tried a lot of cust rom, but none of them suited me, I use xiaomi eu, the best ones e.g. https://drive.google.com/file/d/1MeP3ZpFps05Mlz9DxBGPI5QNFVj8cNUB/view?usp=sharing
Wow, that rom seems really cool... and call recording works as I want! Thank you very very very much!!

Categories

Resources