Can't sideload, can't mount '/data' - OnePlus 8 Questions & Answers

Hello
I'm trying to install crdroid on my oneplus 8.
I was on stock OOS 13, IN2013_11_f.63
What I've done :
1. flash vbmeta.imag
2. unlock bootloader
3. flash twrp twrp_op8_ext4-3.7.0-b3.img from this thread
Now, I try to factory reset, but I can't mount /data (invalid argument), I can't sideload anything.
I'm stuck on recovery cause I can't boot rom.
And I can't see my device on adb, only in fastboot mode.
I've read it was because of usb debbuging, but I can't disable it (can't boot the rom).
Any idea ?
Thanks

oups, just changed usb cable to original one and VOILA !
Sorry

Related

[Q] Bootloop with no Rom installed

Could any one help me please?
I unlocked my bootloader using the One Tool. Installed CWM recovery but I formatted the whole device with no Rom or back up. I then tried to run a RUU (RUU_Ville_U_JB_45_S_HTC_Europe_3.16.401.8_Radio_1.11.50.05.28_10.27.50.08L_release_301814_signed_2_4) to restore it all back to to stock. But it only send me to a black HTC screen. Nothing else.
When I try to install the stock recovery the One Tool can not find the the phone.
Can anyone help at all please?
Does anyone know how I can bring it at least to a working order?
Vivimagic said:
Installed CWM recovery but I formatted the whole device with no Rom or back up.
Does anyone know how I can bring it at least to a working order?
Click to expand...
Click to collapse
At this point you can adb push a custom rom zip to your sdcard (mount it in recovery first) and flash it. Then boot back into bootloader and fastboot flash the boot.img from the rom.
Alternatively, you can adb push a system.img extracted from a RUU to your sdcard and then dd it into /dev/block/mmcblk0p33
touch of jobo said:
At this point you can adb push a custom rom zip to your sdcard (mount it in recovery first) and flash it. Then boot back into bootloader and fastboot flash the boot.img from the rom.
Alternatively, you can adb push a system.img extracted from a RUU to your sdcard and then dd it into /dev/block/mmcblk0p33
Click to expand...
Click to collapse
Well that is the problem I can't mount the SD card via Recovery! Other. I have also tried to sideload a Rom as well.
Vivimagic said:
Well that is the problem I can't mount the SD card via Recovery! Other. I have also tried to sideload a Rom as well.
Click to expand...
Click to collapse
It is normal that you can't mount your sdcard onto your PC over USB in recovery, but you should be able to just mount it onto the root filesystem, so that you can adb push. Do you get an error message when trying to mount the sdcard in recovery? If you do, there is a sticky for that here in the Q&A forum. It comes down to flashing a stock recovery and then clearing storage or performing a factory reset in bootloader.
touch of jobo said:
It is normal that you can't mount your sdcard onto your PC over USB in recovery, but you should be able to just mount it onto the root filesystem, so that you can adb push. Do you get an error message when trying to mount the sdcard in recovery? If you do, there is a sticky for that here in the Q&A forum. It comes down to flashing a stock recovery and then clearing storage or performing a factory reset in bootloader.
Click to expand...
Click to collapse
Ah ok. I do get a problem with Windows install the HTC MTP drivers when I am in Recovery. Basically I can't turn on USB debugging because there is no Rom to tell it to be in that mode, and that is why it thinks it is an MTP device!
Yes the error on CWM is "E: Can't mount <location>
I think I need to sort out the driver before I can start flashing the stock recovery.
I have tried to return the recovery to stock but it just won't send it to my phone. I can however mount it a disk drive via CWM.
Vivimagic said:
Ah ok. I do get a problem with Windows install the HTC MTP drivers when I am in Recovery. Basically I can't turn on USB debugging because there is no Rom to tell it to be in that mode, and that is why it thinks it is an MTP device!
Yes the error on CWM is "E: Can't mount <location>
I think I need to sort out the driver before I can start flashing the stock recovery.
I have tried to return the recovery to stock but it just won't send it to my phone. I can however mount it a disk drive via CWM.
Click to expand...
Click to collapse
You don't need debugging to use adb in recovery, recovery already has adb. Have you tried "adb push rom.zip /sdcard/rom.zip" while in recovery?
I had the same problem and this post helped me immensly
http://www.htconeforum.com/forum/ht...unbrick-restore-htc-one-s-stock-relocked.html
Mine is a US RUU though so you might need to find a European RUU

[Q] Evita with 2.14 hboot rom flashing issues

Hi,
I've been looking for a solution to get a ROM to work on my phone with no success for the last few days, and I wonder if anyone knew if there is anything I can try to make it work again.
Code:
Rogers Evita
S-ON
HBOOT 2.14.0000
RADIO 0.23a.32.09.29
I put the phone in bootloop by flashing a Endeavour boot.img to it (stupid, yes...), and I'm now trying to get any ROM to work on it.
Here are the steps I tried to install a custom ROM :
Unlocked the bootloader with HtcDev
Flashed TWRP (tried 2.5.0.0 and 2.4.1.0)
Pushed a ROM zip with ADB (Tried CyanogenMod for Evita 10.0 and 10.1-20130813, and Calkulin's one xl ROM v 1.2)
Wiped Cache, Dalvik Cache and Facotry Reset from TWRP
Install ROM from TWRP
TWRP consistently says 'E:Unable to mount /sdcard' when wiping cache and then 'error flashing zip <name-of-the-rom>' when installing.
I also tried to install a stock ROM with the following steps
Relock bootloader
Download stock ROM. The closest I found from mine is 'RUU_Evita_Rogers_WWE_1.94.631.3_Radio_0.18as.32.09.28L_10.103.32.24L_release_268972_signed.exe'
Launch it from a windows machine
The installer fails and gives me an error 155.
I also tried to retrieve the rom from this installer via the %TEMP% directory, and to install it with Hasoon's Evita toolkit. The installation also fails and gives me 12 'signature' errors.
Lastly, I also tried without success to downgrade my hboot with JET (jet-evita-0.3.3b). The process loops at 'Failed to flash HBoot!!' despite the fact I tried multiple cable / USB ports combinations. The 'jet -u' command worked to unbrick the phone, and the bootloader now works.
Do you guys know if there is something I can try to get a ROM to work ?
Thanks for your help
Well, it seems your original problem was that you didn't flash boot image. What you're going to want to do now is
1. Unlock through HTC dev.
2. Find rom you want
3. Extract boot image and flash via fastboot
4. S-Off so you won't have to flash boot image again.
Sent from my evita
pigeonagressif said:
Hi,
I've been looking for a solution to get a ROM to work on my phone with no success for the last few days, and I wonder if anyone knew if there is anything I can try to make it work again.
Code:
Rogers Evita
S-ON
HBOOT 2.14.0000
RADIO 0.23a.32.09.29
I put the phone in bootloop by flashing a Endeavour boot.img to it (stupid, yes...), and I'm now trying to get any ROM to work on it.
Here are the steps I tried to install a custom ROM :
Unlocked the bootloader with HtcDev
Flashed TWRP (tried 2.5.0.0 and 2.4.1.0)
Pushed a ROM zip with ADB (Tried CyanogenMod for Evita 10.0 and 10.1-20130813, and Calkulin's one xl ROM v 1.2)
Wiped Cache, Dalvik Cache and Facotry Reset from TWRP
Install ROM from TWRP
TWRP consistently says 'E:Unable to mount /sdcard' when wiping cache and then 'error flashing zip <name-of-the-rom>' when installing.
I also tried to install a stock ROM with the following steps
Relock bootloader
Download stock ROM. The closest I found from mine is 'RUU_Evita_Rogers_WWE_1.94.631.3_Radio_0.18as.32.09.28L_10.103.32.24L_release_268972_signed.exe'
Launch it from a windows machine
The installer fails and gives me an error 155.
I also tried to retrieve the rom from this installer via the %TEMP% directory, and to install it with Hasoon's Evita toolkit. The installation also fails and gives me 12 'signature' errors.
Lastly, I also tried without success to downgrade my hboot with JET (jet-evita-0.3.3b). The process loops at 'Failed to flash HBoot!!' despite the fact I tried multiple cable / USB ports combinations. The 'jet -u' command worked to unbrick the phone, and the bootloader now works.
Do you guys know if there is something I can try to get a ROM to work ?
Thanks for your help
Click to expand...
Click to collapse
TWRP versions 2.4.x and 2.5.x are riddled with bugs so that's why the ROM wouldn't flash.
You'll need to unlock your bootloader, then download TWRP 2.6 from here. Put the TWRP file in your fastboot folder, connect your phone, open command prompt from within fastboot folder, and issue these commands:
fastboot flash recovery "filename.img"
(the exact filename, minus the talking marks)
fastboot erase cache
fastboot reboot-bootloader
Extract the boot.img from the ROM zip and put that in your fastboot folder, we'll come back to that in a minute.
Now you can enter recovery, make a backup, perform a full wipe (cache/dalvik/factory reset/system), install ROM, reboot to bootloader, make sure phone is connected and it says fastboot usb on the screen, issue this command:
fastboot flash boot boot.img
(You have to do this every time you want to change ROMs because you're s-on)
Reboot phone.
Sent from my Evita
Thank you timmaaa and RollTribe for your quick answer !
I unlocked my bootloader, downloaded TWRP 2.6 and issued :
Code:
fastboot flash recovery openrecovery-twrp-2.6.0.0-evita.img
fastboot erase cache
fastboot reboot-bootloader
Then tried to do a full wipe, but it failed :
Code:
Formatting cache using mke2efs...
Done.
Formatting data using mke2fs...
Done.
E:Unable to mount '/sdcard'
Updating partition details...
E:Unable to mount '/sdcard'
E:Unable to mount storage.
Rom installation failed with a similar log :
Code:
E:Unable to mount '/sdcard'
Error flashing zip '/sdcard/cm-10.1-20130813-NIGHTLY-evita.zip'
Updating partition details...
E:Unable to mount '/sdcard'
E:Unable to mount storage.
I've looked for a solution to the possible sdcard corruption problem, but all the posts I see link to a dead thread from team nocturnal of which I can't post the url.
There is an associated youtube video (again, can't post url but it is named 'How to Fix corrupt/unmountable internal storage on the HTC One X'), but it is not of much help without the 'recovery.img' file they use.
Is there another way to solve the sdcard issue ?
Thanks again
Ok, in fact the fix for the sd card was easy!
There is an option to wipe the sd card in TWRP that I had missed. When this was done, everything worked!
I now have a working 10.1 CM!
Thanks again
Glad we could be of help!
Sent from my evita
pigeonagressif said:
Ok, in fact the fix for the sd card was easy!
There is an option to wipe the sd card in TWRP that I had missed. When this was done, everything worked!
I now have a working 10.1 CM!
Thanks again
Click to expand...
Click to collapse
i faced the same problem
its solved by formatting sdcard0
tnx
rasoulcarrera said:
i faced the same problem
its solved by formatting sdcard0
tnx
Click to expand...
Click to collapse
Are you aware that you're replying to a thread that's 18 months old?
Yes!
And keep it in ur mind people's won't get same problems just in same time !
Isn't it?

nexus 5 softbrick

Hey,
Hopefully you guys can give me some help with the problem ive been having,
My nexus 5 is stuck in bootloop, i can get into the bootloader and the lockstate is unlocked but no custom recovery is appearing like it used to. I tried flashing using ADB but my phone doesn't show up as a device on my pc.
i have tried to wipe the cache ect and it comes up with "E:failed to mount /cache (invalid argument)
I only really know the basics of this stuff (only ever used the basic stuff to root and flash my phone)
You must use fastboot commands while being into the bootloader, not adb.
mworley1991 said:
Hey,
Hopefully you guys can give me some help with the problem ive been having,
My nexus 5 is stuck in bootloop, i can get into the bootloader and the lockstate is unlocked but no custom recovery is appearing like it used to. I tried flashing using ADB but my phone doesn't show up as a device on my pc.
i have tried to wipe the cache ect and it comes up with "E:failed to mount /cache (invalid argument)
I only really know the basics of this stuff (only ever used the basic stuff to root and flash my phone)
Click to expand...
Click to collapse
Yeah, exactly what primokorn says...
Primokorn said:
You must use fastboot commands while being into the bootloader, not adb.
Click to expand...
Click to collapse
If you use the command "fastboot devices" and your phone with a code appears in the command prompt then there's no problem with your drivers.
Just reflash the factory image, you can use the automatic process if you run "flash all". You can also flash the images manually but if you go for that option make sure you don't forget to flash the cache image, that will fix your problem with mounting the cache partition.
ADB commands are used when the phone is booted into the ROM.
Flash the latest stock ROM from here to see if it solves the issue: https://developers.google.com/android/nexus/images
If the phone still bootloops, flash the userdata.img in fastboot. After flashing the userdata.img file in fastboot, boot directly into stock recovery using the power/volume buttons, perform a factory wipe, and reboot.

Xperia L stuck on stock recovery - need help

So, with CWM I flashed 7.1.1 taoshan to my Xperia L. The OS works, but when I tried to re-enter recovery mode to install gapps, CWM got replaced with Android stock Recovery. See Image: imgur. com/a/qOSJL
(I cant post links, put the imgur. and the com together)
When I try to Apply update from SD card, I get:
-- Couldn't mount /sdcard
Installation aborted.
E: failed to find /misc partition
I tried to Apply update from ADB, but I just get these errors after opening package:
e: footer is wrong
e: signature verification failed
Installation aborted.
I also tried fastboot, but whenever I enter the bootloader my PC doesn't recognize the phone with fastboot devices , and is stuck on waiting for any device (If it is not in the bootloader adb devices works)
While it is in the bootloader the screen is just black and the LED is blue.
I also tried CWMs and TWRPs app, but neither of them worked.
Can you please help me replace the stock recovery or install gapps without flashing it? Thanks.
You can download the latest TWRP for the official site and flash it with command line in your windows pc
. This is the command for the fast boot if you don't know ( fastboot flash boot ......File name.img ) you can also flash it with flash tool
And if your computer can't find your phone then reinstall the Xperia L drivers

Bricked my Honor, please help

Hi,
When tried to change region bricked my phone, please help me.
Normal boot - phone asks me to enter password to decrypt storage, however it wasn't encrypted.
ATM i have: Honor 8 with TWRP recovery(cannot mount or wipe /data(Invalid argument, tried different filesystems)), dload does not work(just stuck at Honor bootscreen), adb do not see phone.
Tried to install update.zip via TWRP, gives error.
Any ideas?
I was also at this point of ****ness. Try turn off phone, stick vol down and connect usb to pc (it will boot to bootloader), do unlock bootloader. After that boot to twrp, format data, flash l09-c10 oem .img file, than 398 russian firmware via hurupdater and reboot to system. It helped me.
Bootloader already unlocked. Where i can find .img file? Do i need to unpack firmware? Cause i have update.zip, inside is update.app file.
prcek15 said:
I was also at this point of ****ness. Try turn off phone, stick vol down and connect usb to pc (it will boot to bootloader), do unlock bootloader. After that boot to twrp, format data, flash l09-c10 oem .img file, than 398 russian firmware via hurupdater and reboot to system. It helped me.
Click to expand...
Click to collapse
Tried to install l09-c10, it was:
...............
add link type file
write radio image
E:unknown command[errno]
script succeeded: result was[ ]
Updating partition details...
Failed to mount /data (Invalid argument)
prcek15 said:
I was also at this point of ****ness. Try turn off phone, stick vol down and connect usb to pc (it will boot to bootloader), do unlock bootloader. After that boot to twrp, format data, flash l09-c10 oem .img file, than 398 russian firmware via hurupdater and reboot to system. It helped me.
Click to expand...
Click to collapse
Try reboot recovery after formating data, then flash fw.
Thanks you, unbricked!
prcek15 said:
Try reboot recovery after formating data, then flash fw.
Click to expand...
Click to collapse
NP. In same way you can do upgrade to russian oreo.)

Categories

Resources