Help! I think I have deleted the partition my Oneplus 3T's internal storage. - Android Q&A, Help & Troubleshooting

I was flashing custom roms and was trying to fix my the dm-verity and forced encryption problem for Oneplus 3T as TWRP used to ask for my pattern. I came across this video and it said to use the command:
fastboot format userdata
Me being me noticed that it didn't work..... so
I went on the internet and found a command called:
fastboot erase userdata......worst mistake of my life!
I need help to repartition my ext4 partition for Oneplus 3T. I have included the cmd adb text:
C:\Program Files (x86)\Minimal ADB and Fastboot>
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
4863ecc8 device
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot format userdata
CreateProcess failed: The system cannot find the file specified. (2)
error: Cannot generate image for userdata
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata
******** Did you mean to fastboot format this ext4 partition?
erasing 'userdata'...
OKAY [ 12.435s]
finished. total time: 12.435s
C:\Program Files (x86)\Minimal ADB and Fastboot>
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot recovery
fastboot: usage: unknown command recovery
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery
error: cannot load 'recovery': No such file or directory
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot
fastboot: usage: expected argument
C:\Program Files (x86)\Minimal ADB and Fastboot>boot
'boot' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files (x86)\Minimal ADB and Fastboot>
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot
fastboot: usage: no command
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot format userdata
CreateProcess failed: The system cannot find the file specified. (2)
error: Cannot generate image for userdata
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot format
fastboot: usage: expected argument
C:\Program Files (x86)\Minimal ADB and Fastboot>

Related

[Q] lollypop updating problem

C:\Program Files\Minimal ADB and Fastboot>adb sideload Blur_Version.21.12.40.con
dor_retaildsds.retaildsdsall.en.03.zip
loading: 'Blur_Version.21.12.40.condor_retaildsds.retaildsd sall.en.03.zip'
error: device not found.
Even If My Device Is Connected To pc :/ then too

Someone please help me!! Recovery Flash

i have tried evrythin possible i can... i keep getting some command
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices
94975f80 fastboot
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery
.img
target reported max download size of 536870912 bytes
sending 'recovery' (31748 KB)...
OKAY [ 0.935s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.954s
C:\Program Files (x86)\Minimal ADB and Fastboot>
KedKaeDee said:
i have tried evrythin possible i can... i keep getting some command
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices
94975f80 fastboot
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery
.img
target reported max download size of 536870912 bytes
sending 'recovery' (31748 KB)...
OKAY [ 0.935s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.954s
C:\Program Files (x86)\Minimal ADB and Fastboot>
Click to expand...
Click to collapse
Are you in LP or MM? Judging by the error it looks like on MM if so follow this thread to root and flash twrp http://forum.xda-developers.com/tmobile-lg-v10/general/root-android-6-0-h901-t3382819
Edit: This is the wrong section to post this in btw
Sorry i will delete the post. Thank yu for yur help
Ummm how do i delete the post? From the app? Or do i need to go into the browser to do so
KedKaeDee said:
Ummm how do i delete the post? From the app? Or do i need to go into the browser to do so
Click to expand...
Click to collapse
I don't think you can. Just ask a mod to delete it or leave it up since someone posted a link to the guide in case someone else has the same question.
Sent from my VK815 using XDA-Developers mobile app
^^
What he said.
Moved to Q/A section and leaving it open in case someone else has same question.
-karandpr

LG G5 [T-Mobile Variant] Cannot access recovery

I have a problem which through thorough google searches, I haven't been able to find an answer to. I'm trying to flash a custom recovery onto an LG G5, as probably presumed in the topic name, utilizing fastboot and it never seems to flash so I tried to go into the stock recovery and found that there wasn't a recovery at all. It simply shows the android bot with an open stomach and says no command. How would I go about getting a recovery on it, if at all possible?
Command Prompt Log:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery
.img
target reported max download size of 536870912 bytes
sending 'recovery' (19100 KB)...
OKAY [ 0.721s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.744s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase recovery
erasing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.024s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.759s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.795s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot format recovery
Formatting is not supported for file system with type ''.

P20 lite bricked, only green - blue - red flag & fastboot

Hello, i have a p20 lite that bricked after a night of charging, and I whould like to have some ideas to have informations to understand the problem.
If I press the vol - button and I connect the USB i have the phone into fastboot (Phone locked)
I downloaded the USB driver from here https://forum.xda-developers.com/t/...sb-driver-installer-tool-for-windows.3999445/
and Minimal_ADB_Fastboot_v1.4.3 but I can't have any useful information...
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem get-product-model
...
FAILED (remote: FAIL)
finished. total time: 0.006s
Click to expand...
Click to collapse
fastboot oem get-build-number
...
FAILED (unknown status code)
finished. total time: 0.136s
Click to expand...
Click to collapse
brazoayeye said:
Hello, i have a p20 lite that bricked after a night of charging, and I whould like to have some ideas to have informations to understand the problem.
If I press the vol - button and I connect the USB i have the phone into fastboot (Phone locked)
I downloaded the USB driver from here https://forum.xda-developers.com/t/...sb-driver-installer-tool-for-windows.3999445/
and Minimal_ADB_Fastboot_v1.4.3 but I can't have any useful information...
Click to expand...
Click to collapse
Look here:
https://forum.xda-developers.com/t/...squares-only-able-to-access-fastboot.4226271/
https://forum.xda-developers.com/t/huawei-p20-lite-bricked.4331729/
https://forum.xda-developers.com/t/p20-lite-bootloop.4230037/post-84447333
brazoayeye said:
I downloaded the USB driver from here
Click to expand...
Click to collapse
install Hisuite on a computer and try again with Minimal ADB.
From https://forum.xda-developers.com/t/...squares-only-able-to-access-fastboot.4226271/
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem get-build-number
...
FAILED (unknown status code)
finished. total time: 0.136s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem get-product-model
...
FAILED (remote: FAIL)
finished. total time: 0.136s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar vendorcountry
getvar:vendorcountry FAILED (remote: cannot get vendorcountry in oeminfo)
finished. total time: 0.144s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem oeminforead-CUSTOM_VERSION
...
FAILED (remote: Read oeminfo failed!)
finished. total time: 0.148s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem oeminforead-SYSTEM_VERSION
...
FAILED (remote: Read oeminfo failed!)
finished. total time: 0.145s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem battery_present_check
...
(bootloader) 3326mv
OKAY [ 0.015s]
finished. total time: 0.019s
Click to expand...
Click to collapse
I cannot enter in the recovery
Is there a way to extract data from the phone before trying with erase user data?
Thanks
brazoayeye said:
Is there a way to extract data from the phone before trying with erase user data?
Click to expand...
Click to collapse
Nope bro.
I cannot even erase userdata
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata
erasing 'userdata'...
FAILED (remote: Command not allowed)
finished. total time: 0.016s
Click to expand...
Click to collapse
What should I do to try to unbrick it?
brazoayeye said:
I cannot even erase userdata
What should I do to try to unbrick it?
Click to expand...
Click to collapse
I gave you a link, you didn't read, did you?
IMO it's hardware problem, so board FW won't help you...

Huawei P20 Lite demo unit - how to make normal phone?

Hello,
My old Huawei P20 Lite were brick...Then I bought from second hand same Huawei P20 Lite, but it is demo unit. Is it possible reset phone, or flash this phone, uninstall demo app?
Thank you for helping me.
c:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase data
erasing 'data'...
FAILED (remote: Command not allowed)
finished. total time: 0.012s
c:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache
erasing 'cache'...
FAILED (remote: Command not allowed)
finished. total time: 0.013s
erik.aragorn said:
Hello,
My old Huawei P20 Lite were brick...Then I bought from second hand same Huawei P20 Lite, but it is demo unit. Is it possible reset phone, or flash this phone, uninstall demo app?
Thank you for helping me.
c:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase data
erasing 'data'...
FAILED (remote: Command not allowed)
finished. total time: 0.012s
c:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache
erasing 'cache'...
FAILED (remote: Command not allowed)
finished. total time: 0.013s
Click to expand...
Click to collapse
https://forum.xda-developers.com/t/huawei-p20-lite-exhibition-mode-flash-to-normal-android.4376807/
https://forum.xda-developers.com/t/p20-lite-uninstall-demo-mode.4461987/
No comment...
-Alf- said:
https://forum.xda-developers.com/t/huawei-p20-lite-exhibition-mode-flash-to-normal-android.4376807/
https://forum.xda-developers.com/t/p20-lite-uninstall-demo-mode.4461987/
No comment...
Click to expand...
Click to collapse
Sorry, my fault, pls delete
erik.aragorn said:
bootloader) :ANE-LX1 9.1.0.397(C432E7R1P7)
OKAY [ 0.015s]
finished. total time: 0.016s
c:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem get-product-model
...
(bootloader) ANE-LX1
OKAY [ 0.014s]
finished. total time: 0.015s
c:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar vendorcountry
vendorcountry: hw/eu
finished. total time: 0.013s
c:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem oeminforead-CUSTOM_VERSION
...
(bootloader) :ANE-LX1-CUST 9.1.0.7(C432)
OKAY [ 0.015s]
finished. total time: 0.016s
c:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem oeminforead-SYSTEM_VERSION
...
(bootloader) :ANE-LX1 9.1.0.132(C432E5R1P7)
Click to expand...
Click to collapse
Single SIM/dual SIM?
-Alf- said:
Single SIM/dual SIM?
Click to expand...
Click to collapse
dual sim
Strange, according to the data from fastboot you have the normal global version, not the Demo. Are you sure?
Yes I´m sure. Phone have installed app Retail Demo.
erik.aragorn said:
Yes I´m sure. Phone have installed app Retail Demo.
Click to expand...
Click to collapse
A) If your phone is fully functional, it should be enough to disable the Demo application:
Go to Settings -> Device administrators and disable administrator for demo apps (Retail mode and HwRetailAssistant).
- dial *#*#2846579#*#*, then "Background Setting", "USB Port Setting" and select "Manufacture Mode".
On the computer:
- Install ADB and connect your phone to your computer.
- Run the following commands:
adb devices
adb shell
pm uninstall -k --user 0 com.huawei.retaildemo
pm uninstall -k --user 0 com.huawei.retail.assistant
pm clear com.android.providers.contacts
Reboot.
Note: The package names of the demo apps may vary (for example, com.huawei.experience.mar.can). You can check the exact name using the "Package Inspector" application.
B) If the phone is not fully functional, try installing a service ROM
Downlad
Unpack downloaded package, find dload folder in "Software" , copy it to the SD card ( copy the folder as is, without unpacking it ! ). Turn off the phone and use 3-buttons to flas FW.
Warning: this process will erase all your personal data, so make a backup.
-Alf- said:
A) If your phone is fully functional, it should be enough to disable the Demo application:
Go to Settings -> Device administrators and disable administrator for demo apps (Retail mode and HwRetailAssistant).
- dial *#*#2846579#*#*, then "Background Setting", "USB Port Setting" and select "Manufacture Mode".
On the computer:
- Install ADB and connect your phone to your computer.
- Run the following commands:
adb devices
adb shell
pm uninstall -k --user 0 com.huawei.retaildemo
pm uninstall -k --user 0 com.huawei.retail.assistant
pm clear com.android.providers.contacts
Reboot.
Note: The package names of the demo apps may vary (for example, com.huawei.experience.mar.can). You can check the exact name using the "Package Inspector" application.
B) If the phone is not fully functional, try installing a service ROM
Downlad
Unpack downloaded package, find dload folder in "Software" , copy it to the SD card ( copy the folder as is, without unpacking it ! ). Turn off the phone and use 3-buttons to flas FW.
Warning: this process will erase all your personal data, so make a backup.
Click to expand...
Click to collapse
Device administrators and disable administrator for demo apps (Retail mode and HwRetailAssistant) it is not possible deactivate in this setting
c:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
9WV7N18A26005126 device
c:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
HWANE:/ $ pm uninstall -k --user 0 com.huawei.retaildemo
Failure [DELETE_FAILED_DEVICE_POLICY_MANAGER]
1|HWANE:/ $ pm uninstall -k --user 0 com.huawei.retail.assistant
Failure [not installed for 0]
1|HWANE:/ $ pm clear com.android.providers.contacts
Success
HWANE:/ $

Categories

Resources