Unable to mount internal storage, change partition files type - Android General

I have a oneplus 7t pro. bootloader is unlocked, orangefox installed, I have tried many methods but none seem to work in regards to installing another rom and getting access to internal storage while on orangefox, I intend to install another rom on the phone, also tried adb method via orangefox and when I usae the command adb side load (filename.rar) it gives me this error: (~0%) * failed to read command:
it is so fustrating because I tried every possible method on the internet, but if anyone has any suggestions or solutions please feel free to inform me.
Do I need root in order to get access?
I also tried the guide from this forum: How to fix unable to mount data internal storage 0mb in twrp permanently : but no method worked, I get errors trying to change the file system type and repairing it, no proccess works, nothing WORKED, SO FUSTRATING!

help

update: tried on twrp and managed to transfer rom zip to it but when I tried installing it, I got these errrors:
system_root invalid arugement
vendor invalid argument

Be sure to check if you are loading the fastboot rom via fastboot or the recovery rom first

ValgarBaldr said:
Be sure to check if you are loading the fastboot rom via fastboot or the recovery rom first
Click to expand...
Click to collapse
What do you mean?

helpUrgently said:
can you explain to me in steps so I can follow?
Click to expand...
Click to collapse
Sorry, I was replying you but I think the best for you is telling me first what rom are you trying to flash and if you are able to log in the device normally

the only working method for me was to create a fastboot rom and install it via cmd with flashall.bat, no recovery os worked, I was almost there but idk how to create a flash all.bat file properly for the rom, im trying to install the pixel experience rom, these are the payload output files(they are in the correct descending order top to bottom)

oh I get it now, VIA FAST BOOT

Yeah you are getting it. Via fastboot you flash the recovery file and the rom so you have all in one. Look the installation guide for arrowos as the Devs usually explain all very closely

Hello, all I need is the correct flash-all.bat file for execution of the files, I couldnt flash the rom normally on fastboot, this is the only working meethod for me

ValgarBaldr said:
Yeah you are getting it. Via fastboot you flash the recovery file and the rom so you have all in one. Look the installation guide for arrowos as the Devs usually explain all very closely
Click to expand...
Click to collapse
I tried but I get errors trying to do it

Related

What did I do to my phone? Please help.

On a mac here. I think I got a bit over my head here with the 2.20 root. I did all of the bootloader unlocking successfully, installed TWRP, and then downloaded CM10, and flashed the boot.img.
Now when trying to boot the phone I get stock on the screen with "This Build is for development only."
I can get into recovery, but don't really know what to do from there. I'm trying to mount, but can't get the computer to recognize the device. Tried a factory reset and it failed. I'm not quite bricked, but sort of stuck and don't know what to do. I'd love to get CM10 working, but at least I want to be able to use my phone.
I'm pretty new to Android so sorry for newbishness.
Thanks anyone for your help.
Just to add, I'm getting the message "no OS installed" when trying to reboot in recovery.
ul49 said:
On a mac here. I think I got a bit over my head here with the 2.20 root. I did all of the bootloader unlocking successfully, installed TWRP, and then downloaded CM10, and flashed the boot.img.
Now when trying to boot the phone I get stock on the screen with "This Build is for development only."
I can get into recovery, but don't really know what to do from there. I'm trying to mount, but can't get the computer to recognize the device. Tried a factory reset and it failed. I'm not quite bricked, but sort of stuck and don't know what to do. I'd love to get CM10 working, but at least I want to be able to use my phone.
I'm pretty new to Android so sorry for newbishness.
Thanks anyone for your help.
Click to expand...
Click to collapse
Did you flash the boot.img first, then the ROM?
Can you wipe System?
Sorry, what's the difference betwwen boot.img and the rom itself? I only flashed boot.img. I did wipe the system.
ul49 said:
Sorry, what's the difference betwwen boot.img and the rom itself? I only flashed boot.img. I did wipe the system.
Click to expand...
Click to collapse
The boot.img has the kernel in it. If you didn't flash the CM10.zip you have no operating system.
Wipe System, and Factory Reset
Flash boot.img
Flash the CM10.zip, flash google apps, and you should be good after that
Now flash the rom zip from recovery (twrp)
Sent from a slithery smooth phone!
So to flash the zip file for the ROM and gapps, I just enter fastboot flash boot 'rom.zip' or 'gapps.zip'?
Also, what do I do after I've flashed them?
Thanks so much for your help
ul49 said:
So to flash the zip file for the ROM and gapps, I just enter fastboot flash boot 'rom.zip' or 'gapps.zip'?
Also, what do I do after I've flashed them?
Thanks so much for your help
Click to expand...
Click to collapse
no,you flash the boot.img in fastboot, and then you flash the rom.zip and gapps.zip from recovery (twrp)
ul49 said:
So to flash the zip file for the ROM and gapps, I just enter fastboot flash boot 'rom.zip' or 'gapps.zip'?
Also, what do I do after I've flashed them?
Thanks so much for your help
Click to expand...
Click to collapse
No, do a clean wipe.
boot your phone into fastboot
download the fastboot files http://www.mediafire.com/?4dx982z93w8z7wk and extract them to your desktop
on your computer, open up cmd and type
cd desktop
cd foldername (the folder that has fastboot.exe)
fastboot flash boot boot.img
reboot into recovery
flash CM10, flash gapps, reboot
I see. The problem is that I seem to be unable to mount my phone and sd card through recovery.
Trying to push the zips using adb using './adb push cm10.zip/sdcard' but when I enter this command in terminal it seems to just reload adb, and not push the file.
ul49 said:
Trying to push the zips using adb using './adb push cm10.zip/sdcard' but when I enter this command in terminal it seems to just reload adb, and not push the file.
Click to expand...
Click to collapse
I think you are typing the command wrong
./adb push file /destination
or ./adb push cm10.zip /mnt/sdcard
./adb push cm10.zip /sdcard
whatever the mount point is for the sdcard
Tried that too. It just reloads the opening adb dialogue.
ul49 said:
Tried that too. It just reloads the opening adb dialogue.
Click to expand...
Click to collapse
does ./adb devices return your phone as connected?
Well, now it doesn't. Instead of reloading the adb dialogue now, when I try the push command it says device not found. Just came out of nowhere. How do I make it recognize the phone again?
Thanks for bearing with me here. I think I'm really close.
ul49 said:
Well, now it doesn't. Instead of reloading the adb dialogue now, when I try the push command it says device not found. Just came out of nowhere. How do I make it recognize the phone again?
Thanks for bearing with me here. I think I'm really close.
Click to expand...
Click to collapse
I'm not familiar with OS X and android, are there any specific drivers you may need to install?
Are you in your bootloader or recovery?
All necessary drivers were installed. The device was being recognized before, but for some reason isn't now. I'm stuck on the "This build is for development purposes only" screen now since I can't get into recovery or bootloader using adb now since the device isn't recognized...
Ok, I'm connected again somehow. Now just trying to figure out this pushing issue. Entered this command './adb push /android/cm10.zip /sdcard and it looked like it was working then said "failed to copy to /sdcard"
ul49 said:
Ok, I'm connected again somehow. Now just trying to figure out this pushing issue. Entered this command './adb push /android/cm10.zip /sdcard and it looked like it was working then said "failed to copy to /sdcard"
Click to expand...
Click to collapse
because it is probably at /mnt/sdcard
Successfully pushed the files. Of course, I've hit another problem. Trying to install the ROM through TWRP and it's failing. Same with Gapps. I'm seeing "unable to mount /sdcard" and unable to mount storage. I've already cleared cache, wiped system, factory reset/

[Q] Help - Rooting gone wrong

So I got the HTC One s and try to root it with the following instruction: http://forum.xda-developers.com/showthread.php?t=1583427&__utma=248941774.997411949.1390324490.1394471756.1396118873.6&__utmb=248941774.2.10.1396118873&__utmc=248941774&__utmx=-&__utmz=248941774.1394471756.5.2.utmcsr=feedburner|utmccn=Feed:%20xda-developers/ShsH%20(xda-developers)|utmcmd=feed&__utmv=-&__utmk=25799614
As I thought that Step 3 was only there to install the Superuser.apk i just skipped it (mistake no. 1) and wiped the whole thing (without making a backup --> mistake no. 2) and tried to install the Maximus HD Rom which as I am still S-On of course didnt work. So I wiped again but really careless and made mistake no. 3: wiping the whole thing instead of just a few partitions like system, cache,....
So now I have my device S-On, theres really nothing on it exept TWRP but there (and in other recoverys I tried) the USB mout doesnt work so I cant get a new rom on it So I tried to push it through fastboot but I cant find a fitting command.
Any advice what I can do to either get the USB work in the recoverys or push it through fastboot and which rom works without S-Off?
If you need further infos Id like to give those!
Akkordinator said:
So I got the HTC One s and try to root it with the following instruction: http://forum.xda-developers.com/showthread.php?t=1583427&__utma=248941774.997411949.1390324490.1394471756.1396118873.6&__utmb=248941774.2.10.1396118873&__utmc=248941774&__utmx=-&__utmz=248941774.1394471756.5.2.utmcsr=feedburner|utmccn=Feed:%20xda-developers/ShsH%20(xda-developers)|utmcmd=feed&__utmv=-&__utmk=25799614
As I thought that Step 3 was only there to install the Superuser.apk i just skipped it (mistake no. 1) and wiped the whole thing (without making a backup --> mistake no. 2) and tried to install the Maximus HD Rom which as I am still S-On of course didnt work. So I wiped again but really careless and made mistake no. 3: wiping the whole thing instead of just a few partitions like system, cache,....
So now I have my device S-On, theres really nothing on it exept TWRP but there (and in other recoverys I tried) the USB mout doesnt work so I cant get a new rom on it So I tried to push it through fastboot but I cant find a fitting command.
Any advice what I can do to either get the USB work in the recoverys or push it through fastboot and which rom works without S-Off?
If you need further infos Id like to give those!
Click to expand...
Click to collapse
TWRP has ADB Sideload feature. Means you can flash zips using adb. Of course you can flash a roms this but keep in mind you have to flash the kernel (boot.img) manually immediately after flashing the rom.zip. When flashed Rom.zip by using ADB sideload method make SURE that you direct go into fastboot mode and flash the kernel (fastboot flash boot boot.img) (you can extract the boot.img from your rom.zip)
May be a compatible rom this time? But you're lucky -> Infact you already deleted everything you won't have to perform a wipe before flashing lol
LS.xD said:
Of course you can flash a roms
Click to expand...
Click to collapse
Ok, but I dont know with which command (fastboot flash what? or adb?)
You can use adb sideload as followed:
Start TWRP -> advanced -> ADB sideload + swipe to activate it. Connect your phone to the computer. Open "CMD Commandline" and type "adb sideload ROMNAME.zip"
Of course "ROMNAME" has to match the zip you want to flash. Thats it
In twrp go to "REBOOT" -> "fastboot"
When fastboot usb is ready use CMD commandline again and type "fastboot flash boot boot.img"
Then you can boot android
I whished I could. As I start ADB sideload it keeps doing nothing at all until I abort it. What I think is important to know is that it is then:
"E:Unable to mout '/internal_sd'
E:Unable to mount storage.", which I think is the problem.
Flash Stock recovery And perform "factory Reset + clear storage" that will fix your storage. Then flash twrp Version 2.7 again and do what I suggested to flash the Rom
Sent from my beloved HTC One S using (most time buggy) Tapatalk
Did the exact thing which removes the mounting error, but this has no effect on the sideload (or usb mount). Still not working.
Akkordinator said:
Did the exact thing which removes the mounting error, but this has no effect on the sideload (or usb mount). Still not working.
Click to expand...
Click to collapse
Can you acces your sdcard by twrp? Lot of poeple here has sd card bug yet and it was fixed everytime.
You're facing sdcard bug.
This is how to solve:
1. Flash stock recovery
2. reboot to bootloader and perform "factory reset + clear storage" (While in bootloader NOT in recovery)
3. Flash custom recovery again
4. Reboot recovery - mount usb storage - copy ROM.zip to sdcard // adb sideload rom
7. NOW boot android (Not at any time before! Even there is no system installed)
Please just repeat it.
LS.xD said:
Can you acces your sdcard by twrp? Lot of poeple here has sd card bug yet and it was fixed everytime.
Click to expand...
Click to collapse
I can acces it in TWRP (of course only a TWRP folder in it). Tried the repeating progress over and over but nothing changes. And USB-OTG isnt able to mount.
Thanks for your patient help!
Akkordinator said:
I can acces it in TWRP (of course only a TWRP folder in it). Tried the repeating progress over and over but nothing changes. And USB-OTG isnt able to mount.
Thanks for your patient help!
Click to expand...
Click to collapse
In case you can acces the storage in twrp its related to windows or drivers. What windows version you are running?
LS.xD said:
In case you can acces the storage in twrp its related to windows or drivers. What windows version you are running?
Click to expand...
Click to collapse
It was windows! Tried it on the other computer with win7 instead of 8.1 and I finally got a connection!
Thanks so much!!!

Can I still install any recovery(CWM or TWRP) after I have forgotten my password?

My question is: Is there any way that i can install any custom recovery now, when I am locked out of my phone, so I can try Method 7 from this post . I have enabled USB debugging, but for some reason, my device is unauthorized from executing adb commands.
I have Xiaomi Redmi Note 3, and have forgotten its password. I have tried Method 2, 5 and 6 from this post, but to no avail.
I tried method 2 and 5 which requires ADB to be installed, but I was not able to access my phone. I have USB debugging enabled and my phone is not rooted. When I tried to run the following code:
Code:
adb devices
adb shell
it showed that my phone is unauthorized and error: device unauthorized This adb server's $ADB_VENDOR_KEYS is not set
Here's the screenshot:
When trying method 6, I had to change the path of ADB driver because the file I downloaded from the post, had its own ADB driver which clashed with my already installed ADB driver, but even after that, it again showed the above error. Here' the screenshot:
Finally I want to try method 7 from the above post, which requires custom recovery to be installed on the phone, is there any way now?
Though it seems now that the I have only one option left and that is to factory reset my phone, but if , there is any other way by which I can bypass my lock screen, please please please inform me.
Of course you can. Just boot your phone into fastboot and do "fastboot flash recovery <recovery image name>.IMG" and you'll flash it. And you can't access the adb because your screen is locked... This is how companies prevent phone hacking
So flash custom recovery, backup the /data , factory reset and after resetting restore the /data backup. And you're good to go. I suggest you using TWRP, because I use it and it never left me hanging Keep me updated.
Sent from Lenovo a6000 1GB version.
Install TWRP or CWM with fastboot and then flash the Unlock me! zip that I've created and you won't lose your data.
Sent by my iPad using Tapatalk
joe2k01 said:
Install TWRP or CWM with fastboot and then flash the Unlock me! zip that I've created and you won't lose your data.
Sent by my iPad using Tapatalk
Click to expand...
Click to collapse
Didn't know that such package existed... I'd still do it my way if your phone was laggy/corrupted,... Else do the package flash. Keep me updated!
Sent from Lenovo a6000 1GB version.
Thanks! a lot, could you please guide me a little bit, how should I proceed?
MGlolenstine said:
Of course you can. Just boot your phone into fastboot and do "fastboot flash recovery <recovery image name>.IMG" and you'll flash it. And you can't access the adb because your screen is locked... This is how companies prevent phone hacking
So flash custom recovery, backup the /data , factory reset and after resetting restore the /data backup. And you're good to go. I suggest you using TWRP, because I use it and it never left me hanging Keep me updated.
Sent from Lenovo a6000 1GB version.
Click to expand...
Click to collapse
Thanks! a lot for reply, As I am still a newbie and trying to learn few things. Could you please guide me how should I proceed?
Like What files I need to download and from where? Also how should I use these files to install recovery?
dost25 said:
Thanks! a lot for reply, As I am still a newbie and trying to learn few things. Could you please guide me how should I proceed?
Like What files I need to download and from where? Also how should I use these files to install recovery?
Click to expand...
Click to collapse
OK... So first boot into fastboot. When you've done that, connect It to your pc with usb, download fastboot package from somewhere on xda(you'll find it).
Open command prompt "CD" to the directory where your fastboot is located in, put recovery image in the folder where fastboot.exe is and type "fastboot flash recovery <recovery file name>.IMG". I'm gonna update this answer in 2 days, when I get to my pc, so try to do it by these instructions, if something isn't working, comment and we'll resolve the problem. If something isn't clear, just ask. Keep me updated.
Sent from Lenovo a6000 1GB version.
Ok i will try
MGlolenstine said:
OK... So first boot into fastboot. When you've done that, connect It to your pc with usb, download fastboot package from somewhere on xda(you'll find it).
Open command prompt "CD" to the directory where your fastboot is located in, put recovery image in the folder where fastboot.exe is and type "fastboot flash recovery <recovery file name>.IMG". I'm gonna update this answer in 2 days, when I get to my pc, so try to do it by these instructions, if something isn't working, comment and we'll resolve the problem. If something isn't clear, just ask. Keep me updated.
Sent from Lenovo a6000 1GB version.
Click to expand...
Click to collapse
Can unlocking my bootloader somehow brick my phone?
Everything can brick your phone. Updating my lenovo phone with official update hardbricked mine... But yeah, it can.

help with rooting a oneplus 6 using linux terminal (not windows)

This is my first time rooting a phone but Im defiantly in over my head and think i almost broke the oneplus 6 when i was trying to enter commands in the linux terminal. So far I have unlocked bootloader and am currently stuck trying to figure out a) what exactly the twrp recovery really does, b) which is the right files to download, c) the proper commands to flash custom recovery in a linux terminal. Thanks in advance to anyone who can help me.
Command you need is fastboot boot (recovery name). Replace recovery name with whatever you called the download of the twrp image file.
Twrp is necessary to flash custom ROMs, kernels and magisk.
After flashing rom you need to flash twrp zip of your choice to maintain recovery otherwise it is overwritten by stock recovery.
There is a helpful guide I will post the link to
Here
https://r.tapatalk.com/shareLink?ur...share_tid=3792643&share_fid=3793&share_type=t
Sent from my ONEPLUS A6003 using Tapatalk
The commands for Linux and Windows are nearly identical. You just need to use the Linux version of adb instead of adb.exe.
TWRP is a custom recovery. It's similar to the GRUB bootloader for Linux, but more touch interface friendly. It allows you to make edits to the system, backup the system, and install custom zip's for the system.
keep getting error
when i run command to flash recovery (sudo fastboot flash twrp-3.2.1-0-enchilada.img) i keep getting this error:
unknown partition 'twrp-3.2.1-0-enchilada.img'
error: cannot determine image filename for 'twrp-3.2.1-0-enchilada.img'
Instead of trying to flash twrp from fastboot do a sudo fastboot boot <image name> then flash the zip while in twrp...
Sent from my ONEPLUS A6003 using Tapatalk
Thanks bkeaver for the advice and im glad to say I finally got that phone rooted. One more obstical I experienced was the phone not booting into twrp instead it was locking up on a screen that said Qualcomm crash dump mode. I unplugged and rebooted by holding the power button. From what I could read online it had to do with compatibility issues with Android pie. The Blu_Spark TWRP img and zip files seemed to do the trick. Anyone else who is experiencing the same issues I suggest you read this page: google.com/amp/s/amp.reddit.com/r/oneplus/comments/9iid4e/unable_to_flash_recovery
Linux_fart_18.3 said:
when i run command to flash recovery (sudo fastboot flash twrp-3.2.1-0-enchilada.img) i keep getting this error:
unknown partition 'twrp-3.2.1-0-enchilada.img'
error: cannot determine image filename for 'twrp-3.2.1-0-enchilada.img'
Click to expand...
Click to collapse
Did you even try to read man page? Just use right syntax, which is identical in Windows BTW.
fastboot flash partition [filename]
http://manpages.ubuntu.com/manpages/xenial/man1/fastboot.1.html
Linux_fart_18.3 said:
From what I could read online it had to do with compatibility issues with Android pie.
The Blu_Spark TWRP img and zip files seemed to do the trick.
Anyone else who is experiencing the same issues I suggest you read this page: google.com/amp/s/amp.reddit.com/r/oneplus/comments/9iid4e/unable_to_flash_recovery
Click to expand...
Click to collapse
In oxygen OS ver.9, you must download "twrp-3.2.3-x_blu_spark_v9.86_op6.img" and "twrp-3.2.3-x_blu_spark_v9.86_op6.zip" from https://forum.xda-developers.com/devdb/project/?id=27466#downloads ,
and launch twrp from this command "fastboot boot twrp-3.2.3-x_blu_spark_v9.86_op6.img".
After your device boot trwp, you can install "twrp-3.2.3-x_blu_spark_v9.86_op6.zip" from your device's internal storage (if you copy into it) or adb side-load mechanizm.
Once zip installed, you don't need to run fastboot to boot twrp recovery (only you reboot the device to fastboot mode and select recovery, trwp boot up).
What's a syntax?
davfiala said:
Did you even try to read man page? Just use right syntax, which is identical in Windows BTW.
fastboot flash partition [filename]
http://manpages.ubuntu.com/manpages/xenial/man1/fastboot.1.html
Click to expand...
Click to collapse
rhetorical question in the title and fyi I will never claim to be very tech savvy thanks for the info though

Question Bricked?

In an attempt to unlock my bootloader and start using my X3 Pro I think I might have partly bricked my phone... I hope anyone can help me bring it back to life...!
I'm on a linux computer and after a wait of around a week I managed to unlock the bootloader! I still can boot into the flashed TWRP recovery
But I think I have done something wrong, I can't flash a rom or .zip, I can't sideload a file, I can't select to mount system partition (because it's not listed)
When I use ADB sideload, the error message is 'can't find partition for path ' /system_root', when I try to flash a zip in TWRP the error message is 'Failed unmounting System'
I think I made a mess of the partitition table or something like that.
So I can:
- use TWRP or Fox recovery
- use fastboot command when in fastboot mode
but I can't
flash a rom nor a fastboot rom
mount the internal storage to transport a .zip file or something
How did you attempt unlocking bootloader under Linux if the official Mi Unlock tool is only available for Windows?
I found this XiaoMiTool V2 project and then this XMT2_Linux_20.7.28.run
and was able to (after the 168 hour wait) unlock my bootloader.
With no official tools available for Linux (especially since the XiaoMiTool V2 is abandoned and not really supported by the creator), I would recommend avoiding such attempts and instead I would attempt to unlock the device on Windows as intended
Have you tried flashing the fastboot image you downloaded using the flash_all.sh script?
I did and I did get error after error, but now I'm trying again to look for the error messages so I could report back...
and now it looks like there is some progression... so I'm hoping
I'm so sorry and a little ashamed, but now it is working and the rom is installed.
Thanks for your time!
And is there a way to archive this thread?
-Fedde- said:
I'm so sorry and a little ashamed, but now it is working and the rom is installed.
Thanks for your time!
And is there a way to archive this thread?
Click to expand...
Click to collapse
Great to hear!
You could probably ask a forum moderator about that, or self-report this thread, but perhaps it may be a good idea to leave this thread here so if anyone else experiences the same problem, this thread may save them some time? Your call though.
Hey, you know why are you getting those errors?
Because the recovery isnt working fully yet!
However, the new ofox (accessible on the official chat on telegram, i dont care putting it here, if you want it directly, pm me) works somehow, i mean, it has wipeable partitions, and flashes eu properly.

Categories

Resources