No Os/Softbricked - General Questions and Answers

Hi Guys,
I have bricked my phone. It is an HTC one X + from Telus. I flashed the rom and boot.img for telus from here http://forum.xda-developers.com/showthread.php?t=2235248 and i somehow ended up with no OS. I don't know what exactly is going on with storage sometimes the device shows up on my laptop in bootloader and shows 199 mb storage i have 64Gb device. During adb side load in TWRP it says failed to mount cache and system. Fastboot devices recognizes my phone but when i boot into recovery to try and side load adb it can not detect my device. I am on windows 7 Hboot 1.400. Any Suggestions?
Thank you,

Somewhat updated. I have the same version ruu zip 1.20.661.1 but when i try to flash update ruu zip it gives a signature fail in the conditions mentioned above can i do something? Is there a way to reach S-off in this state?

gss93 said:
Somewhat updated. I have the same version ruu zip 1.20.661.1 but when i try to flash update ruu zip it gives a signature fail in the conditions mentioned above can i do something? Is there a way to reach S-off in this state?
Click to expand...
Click to collapse
Try booting to TWRP and connect to PC. See if your device's storage shows up on your PC. If it does, download a ROM to your PC, and drag and drop it in your device's storage. Then flash it via TWRP.

Evolution_Tech said:
Try booting to TWRP and connect to PC. See if your device's storage shows up on your PC. If it does, download a ROM to your PC, and drag and drop it in your device's storage. Then flash it via TWRP.
Click to expand...
Click to collapse
Storage sometimes shows up but only internal (199 mb) cache and system wont mount and i can't see sd. Do you know if it would recognize usb via OTG cable?

gss93 said:
Storage sometimes shows up but only internal (199 mb) cache and system wont mount and i can't see sd. Do you know if it would recognize usb via OTG cable?
Click to expand...
Click to collapse
If you can issue fastboot commands, try this:
fastboot format cache
fastboot format userdata
Then try to mount TWRP to PC again.

Evolution_Tech said:
If you can issue fastboot commands, try this:
fastboot format cache
fastboot format userdata
Then try to mount TWRP to PC again.
Click to expand...
Click to collapse
Fastboot commands do work, but those commands failed. see below:
C:\Users\Gurveer\Desktop\android-sdk-windows\platform-tools>fastboot format cach
e
formatting 'cache' partition...
FAILED (remote: unknown command)
FAILED (remote: unknown command)
finished. total time: 0.141s
C:\Users\Gurveer\Desktop\android-sdk-windows\platform-tools>fastboot format user
data
formatting 'userdata' partition...
FAILED (remote: unknown command)
FAILED (remote: unknown command)
finished. total time: 0.141s

Related

[Q] Help! TWRP Won't Mount /sdcard for flashing!

I ran a recovery in TWRP to get my phone back to the phones original rom after being on AOKP JB Build 4 on my AT&T One X, but now it stays on the HTC boot screen with the red legal warning on it and TWRP can't mount /sdcard to flash back to another rom. I really hope that this isn't a brick but can someone shine some light on this issue and a possible fix? Help would be greatly appreciated!
Update: Was able to get AOKP flashed back by mounting /data as /sdcard, phone boots into it and I can use it, but the internal storage (/sdcard) is nonexistent and won't mount.
format sdcard in your computers os. make sure not to factory reset or clear storage in bootloader or it will corrupt sdcard.
DvineLord said:
format sdcard in your computers os. make sure not to factory reset or clear storage in bootloader or it will corrupt sdcard.
Click to expand...
Click to collapse
I can't get the phone to mount as a removable drive because of the problem with /sdcard, so I can't format it from my computer.
c_h0use said:
I can't get the phone to mount as a removable drive because of the problem with /sdcard, so I can't format it from my computer.
Click to expand...
Click to collapse
Don't worry about the red text. We all have that. And it is not bricked.
Can you turn the phone on with the stock ROM you flashed? If so, can you mount the SD card while it is on, booted up in phone mode? If, mount it there, then move your new rom to your phone.
Hello,
I have a similar issue, i can get into TWRP recovery, but i am not able to mount sdcard. My mistake was that i did fastboot flash boot boot.img but i neglected to actually flash the room and i didn't put the rom in the sdcard, so now i need to mount the sdcard to load the rom to flash it, but that is where i am stuck, is there a way to copy files into the sdcard via adb or any other way?
Any help will be greatly appreciated it.
Thank you.
XRACER said:
Hello,
I have a similar issue, i can get into TWRP recovery, but i am not able to mount sdcard. My mistake was that i did fastboot flash boot boot.img but i neglected to actually flash the room and i didn't put the rom in the sdcard, so now i need to mount the sdcard to load the rom to flash it, but that is where i am stuck, is there a way to copy files into the sdcard via adb or any other way?
Any help will be greatly appreciated it.
Thank you.
Click to expand...
Click to collapse
I think what you need to do then is flash the ROM from your bootloader. I found this guide with directions explaining how to flash from the bootloader by googling How To Flash Rom from Bootloader in the XDA Wiki. Here are the steps
ROM Flashing
Obtain a ROM of your choice, and note the location on your computer.
reboot your device into fastboot mode via one of the following options.
adb reboot bootloader (requires USB debugging to be turned on).
power off the device then back on with 'vol up' + power button.
Wipe your device.
fastboot -w
Update your ROM.
fastboot update </path/to/your/RomFile.zip>
Your phone will update and automatically reboot into the new ROM.
ROM update without SDcard
If you don't have an sd card, or your slot is broken you can try this trick, but you will need a custom recovery like Clockwork.
Boot up your phone to recovery. And move your rom file to the adb directory, and start a command line ( cmd )
adb shell
mount data
adb push D:\custom_rom.zip /data/
Wait until the push finised, and restart your device to recovery again with "adb reboot-bootloader"
mount data
mount /data /sdcard ( mount the data folder into your sdcard folder, so your recovery will think that you have an sdcard installed )
Locate the ROM .Zip file you wish to flash.
Confirm the flash by following the on-screen instructions (ie: pressing the trackball, pressing the call button, etc.)
If no errors arise during the flashing process then the ROM flash was successful, Reboot the device.
With some root file explorer, remove the rom file if you don't need it anymore, to free up space.
Or use adb to remove the custom recovery
adb shell rm data/custom_rom.zip
thanks for the reply but the procedure is not working,
when in fastboot through cmd i get
fatsboot -w
erasing 'userdata'...
FAILED (remote: not allowed)
finished. total time: 0.003s
I made sure i am in fastboot USB
elphiz
XRACER said:
thanks for the reply but the procedure is not working,
when in fastboot through cmd i get
fatsboot -w
erasing 'userdata'...
FAILED (remote: not allowed)
finished. total time: 0.003s
I made sure i am in fastboot USB
Click to expand...
Click to collapse
Lol this just happen toe last night what u need to do is boot into bootloader then plug it USB cable to ur phone and format your sdcard it make sure u download a Rom to your computer before this it can be any tom you like after you format you can put the Rom on ur sdcard and flash and u will be golden
loading into bootloader doesn't allow the computer to read/access the sdcard keep in mind this is the HOX so the sdcard is the internal memory, i could get into the recovery and then try to mount it that way and format from there but for some reason i can't select the option mount sdcard.
This works:
How to Fix corrupt/unmountable internal storage on the HTC One X/XL
http://forums.team-nocturnal.com/sh...storage-on-the-HTC-One-X-XL?p=13552#post13552
perfect thanks that did the job. now time to install the ROM!!!!
thanks a lot
hmmmm.... one more question would i need to flash the boot image as well before installing the ROM???
EDIT: i went ahead and just flashed the ROM, and everything is working fine.
Thank you to everyone
XRACER said:
perfect thanks that did the job. now time to install the ROM!!!!
thanks a lot
hmmmm.... one more question would i need to flash the boot image as well before installing the ROM???
EDIT: i went ahead and just flashed the ROM, and everything is working fine.
Thank you to everyone
Click to expand...
Click to collapse
If you're not on Hboot 1.14 then you don't have to flashboot flash boot.img. just flash the .zip from your sd card
Sent from my HTC One XL cellular device over clocked to 1.9Ghz
thank you sir!
king200 said:
This works:
How to Fix corrupt/unmountable internal storage on the HTC One X/XL
Click to expand...
Click to collapse
ok this did work and i appreciate the link. ive bookmarked it for future use. what sux is i assumed i bricked and have already had a new phone shipped. oh well guess i got a back up
will this work because my microsims card unable to mount /sdcard which i assume is the internal one will it work even if its blank/empty via computer because i have no working os on my phone i have incredible 4g so i hope you can help me
XRACER said:
loading into bootloader doesn't allow the computer to read/access the sdcard keep in mind this is the HOX so the sdcard is the internal memory, i could get into the recovery and then try to mount it that way and format from there but for some reason i can't select the option mount sdcard.
Click to expand...
Click to collapse
I did it. Apparently you can install a zip ROM from SD card once you repartition it from the recovery. There is an option to partition the SD card in the Recovery.
After that, restart the phone, go into recovery again, connect to the PC using a USB cable, and use the USB mount option if you want to copy the ROM without removing the microSD card from the phone. Copy the zip ROM to the sdcard and try installing the ROM again. It worked for me !
I was installing the Pico ROM from this tutorial:
www (dot) rootlord.com/2013/08/revert-htc-explorer-back-to-stock-rom (dot) html
I
TWRP Mounting SD card
DvineLord said:
format sdcard in your computers os. make sure not to factory reset or clear storage in bootloader or it will corrupt sdcard.
Click to expand...
Click to collapse
So I think I may have currupted my sdcard. I'm running CM-12 4/21/15 nightly. I'm a nubie at this stuff and have read everywhere I can think of on the forums. When I try to reboot to bootloader from TWRP recovery if goes immediately to the do no remove USB connection FIRMWARE Update. I am worried that this will un-root me with AT&T being jerks and fixing the bumped bootloader. So, I have always just pulled the battery, plus it never has any progress on the %downloaded bar.
To try to fix the issue I may have just made it worse and created too many partitions or corrupted the SD by doing exactly what you said not to do above. Before I did a TWRP wipe (not the advanced version) the SD card was mounted, but some apps like google play music kept saying external storage removed. I did the wipe and saw the factory reset screen and said ok. I had to download all my apps again and then switched to Google Now launcher I orginally rooted and bootloader unlocked with bump on a different smaller external SD card. I wasn't sure if that had anything to do with it.
I'm almost unsure what to ask you or other more experienced users what to do.
eee. how about on my samsung galaxy j5 sm j500h? i wanted to mount my phone to pc but i cant. was planning to fix my phone cause im stucked on bootlogo due to flashing xposed-v72-sdk22-arm.zip. Hoping that you guys can help me out.

flash recovery by fastboot

I got twrp recovery installed, but i accidently flash over system now it whot boot . i tryeed writing another one but i got this error .img
sending 'system' (262144 KB)... OKAY [ 27.641s]
writing 'system'... FAILED (remote: (00120000)).. i can still get into twrp. but no sdcard. so i can put rom on sdcard to install. anyone got the system i need to write
Try putting a ROM on the external SD card and flash a ROM from there.
Could try flashing another recovery, try CWM maybe?
No worries, try flashing the recovery again and delete your system partition with this:
Code:
fastboot erase system
Then try flashing the system another time, if not work try doing what @matt4321 recommended :thumbup:
XxLordxX said:
No worries, try flashing the recovery again and delete your system partition with this:
Code:
fastboot erase system
Then try flashing the system another time, if not work try doing what @matt4321 recommended :thumbup:
Click to expand...
Click to collapse
I don't have a externail sd card. thats the problem. i have cwm on it now. but it not letting flash the system i kept getting errors.
james89beggs said:
I don't have a externail sd card. thats the problem. i have cwm on it now. but it not letting flash the system i kept getting errors.
Click to expand...
Click to collapse
grab the sdcard from your phone (if you have an sdcard in your phone, if not borrow one out of a buddies phone)

[Q] Nexus S flash rom bricked?

Hi all.
My Nexus S hangs on boot, boot normally only to fastboot and recovery.
In recovery I tried to format /data, /system, but process has no success, in log I see errors:
Code:
Formatting /data...
E:format_volume: make_extf4fs failed on /dev/block/platform/s3c-sdhci.0/by-name/userdata
Error formatting /data!
Formatting /systen...
E:format_volume: make_extf4fs failed on /dev/block/platform/s3c-sdhci.0/by-name/system
Error formatting /system!
Only Cache and Boot partitions formatted successfully.
If I trying "install zip from sd card"->choose zip from sdcard:
Code:
E:Can't mount /sdcard/
On my Mac/Linux system Nexus doesn't recognized by system, on Windows PC in Device Manager it's shown like "Unknown device" without any IDs, so adb/fastboot tools can't help.
R.I.P. my Nexus?
use heidmall and then flash back to stock or wipe the emmc . To do that thake device to bootloader and open your dir where u have kept fastboot files n open cmd there n type fastboot oem lock hit enter then unlock again by fastboot oem unlock, now try to flash a rom.
Raakib Zargar said:
use heidmall and then flash back to stock or wipe the emmc . To do that thake device to bootloader and open your dir where u have kept fastboot files n open cmd there n type fastboot oem lock hit enter then unlock again by fastboot oem unlock, now try to flash a rom.
Click to expand...
Click to collapse
Zadig (Heimdall driver installation tool) doesn't see my phone.
memtew said:
Zadig (Heimdall driver installation tool) doesn't see my phone.
Click to expand...
Click to collapse
hlww
well maybe some problem with drivees.
just make your very own usb jigg for your Nexus S to boot it to download mode. here is the link.
https://m.youtube.com/watch?v=smNikt7Rut4
--Ifu are able to access the Recovery then flash a twrp and use it to clear emmc rather take your device to bootloader mode by VolUp+Power and connect to pc n type command fastboot oem lock in fastboot

Can't access internal Storage in TWRP

@lost101 I need help with my XT1034. I can't push any files to my phone! When I push a file (like a 250 MB file) It says it finished in 5 seconds, which is a bit unusual. I checked in the file manager in TWRP, and it says the file is only 10 MB. Later inspecting I found out my /data /cache and /sdcard were corrupted! I think I was able to fix /data and /cache, but I can't format /sdcard :crying: I used the mkfs.f2fs command in TWRP Terminal and I was able to fix /data and /cache (I think). But I can't format /sdcard! And If you are wondering how they got corrupted, I believe I had a bad TWRP and when formatting, I think TWRP corrupted them. Looks like Dalvik Cache wasn't affected. Recovery and Bootloader working, ADB and Fastboot is also working. But when I try to check the file system in internal storage, it says "invalid partition," every other partition I checked worked. BTW I'm using TWRP 2.8.7.0 NO-THEME.
/sdcard is emulated by using files in /data/media. You can't format it.
I tried flashing gpt.bin to see if that would do anything but it looks like it didn't have any effect
@lost101 should be tagged now
TWRP > Wipe > Format Data > Yes
@lost101 It says E:Unknown MTP message type: 1
RedKill3r said:
@lost101 It says E:Unknown MTP message type: 1
Click to expand...
Click to collapse
Ignore that, everyone gets it. It means nothing.
@lost101 I still can't push files. The file pushes, but then it gets cut off and says it finished. This is where the problem is. and ADB Sideload isn't working either. I have Motorola Drivers installed.
RedKill3r said:
@lost101 I still can't push files. The file pushes, but then it gets cut off and says it finished. This is where the problem is. and ADB Sideload isn't working either. I have Motorola Drivers installed.
Click to expand...
Click to collapse
Try a different USB cable.
@lost101 FIXED IT!!!!!! My Drivers got corrupted, installing new drivers fixed it. I'm very sorry for wasting your time lost, I am truly sorry. Thank you for replying though.

Phone is Extremely Weirdly Bricked

So first, I transferred a file to my phone. I was quite low on storage (about 3 gb left) before the transfer, but the file was around 2.4gb, so it fit. I wanted to transfer that file to another computer, so when I plugged it in the other computer, a local disk drive shows up as opposed to mtp. I figure that it was probably a glitch. When I restart the phone, it boots, but instead of having 600 mb of free space left, it has 1134mb left. Somehow the available space just increased, so I decide to reboot again. The bootloader shows up, but then it simply goes to a black screen with no boot logo. When I plug my phone back into the computer, it opens 4 disk drive prompts saying I need to format the drive so that it can be used, and one that shows something. When I go in the "drive", there is one folder called image, and in the folder there is a bunch of files like modem.b00 as shown in the image attached..
It seems that instead of mounting the internal storage, it is mounting the firmware.
I am able to boot into recovery however, but nothing I have done seems to help. I have tried flashing several firmwares again with different recoveries (2.8.7.0.5 and 3.0.0) and restoring the efs partition again. I cannot delete any files off my phone through recovery as it yields an ERROR=1 and through MTP when I delete a file, it appears the file is deleted, but when I unplug and plug the phone back in, the file is back. I can however transfer files from my phone to the computer, but not vice versa.
It is also able to read but not write, meaning that my internal storage may be faulty, or that the file caused a corruption on my phone. If anyone has any ideas on how to fix it or has any experience with this, please let me know.
Can you access fastboot?
Sounds like it may be an issue with the userimage data try a reflash using the link below but edit the bat file (or .sh file) to only include the following line:
Code:
fastboot flash userdata userdata_64G.img (or userdata.img if you have a 16GB model)
you can grab a zip with the entire OS here and you will need to setup fastboot drivers properly (which sounds like you would have already done)
Return OPO to 100% Stock
itechy said:
Can you access fastboot?
Sounds like it may be an issue with the userimage data try a reflash using the link below but edit the bat file (or .sh file) to only include the following line:
Code:
fastboot flash userdata userdata_64G.img (or userdata.img if you have a 16GB model)
you can grab a zip with the entire OS here and you will need to setup fastboot drivers properly (which sounds like you would have already done)
Return OPO to 100% Stock
Click to expand...
Click to collapse
Yep, fastboot works and I already have the drivers set up. Do I only need to restore the userdata?
f41lbl0g said:
Yep, fastboot works and I already have the drivers set up. Do I only need to restore the userdata?
Click to expand...
Click to collapse
Flashing the userdata partition via fastboot will wipe all data so I hope you have your stuff backed up. Best solution now is to fastboot flash COS12.1.1 and see if it turns on
Sent from my A0001 using Tapatalk
Renosh said:
Flashing the userdata partition via fastboot will wipe all data so I hope you have your stuff backed up. Best solution now is to fastboot flash COS12.1.1 and see if it turns on
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
I'm currently in the process of backing everything up, but can't I just format /data through recovery since TWRP works?
Tried flashing the userdata_64G.img, here is what I get:
C:\adb>fastboot flash userdata userdata_64G.img
target reported max download size of 1073741824 bytes
erasing 'userdata'...
OKAY [ 3.829s]
sending 'userdata' (56 KB)...
OKAY [ 0.016s]
writing 'userdata'...
FAILED (remote: Bogus size sparse and chunk header)
finished. total time: 3.860s
f41lbl0g said:
I'm currently in the process of backing everything up, but can't I just format /data through recovery since TWRP works?
Click to expand...
Click to collapse
You can try that but no guarantees it will work.
You can either wipe everything (/system /data /internal storage /cache and /dalvik) with advanced wipe for TWRP 2.8.6.0 (recommended version) then transfer the flashable version of COS12.1.1 from link below and flash
http://forum.xda-developers.com/showthread.php?t=2906746
Or you can fastboot flash the entire COS12.1.1 fastboot using commands manually from the previous link the other poster gave you. You will run into some problems if you decide you wanna try some AOSP ROMs after flashing the userdata from COS12.1.1 but if you stick to CM you'll be fine
Sent from my A0001 using Tapatalk
Renosh said:
You can try that but no guarantees it will work.
You can either wipe everything (/system /data /internal storage /cache and /dalvik) with advanced wipe for TWRP 2.8.6.0 (recommended version) then transfer the flashable version of COS12.1.1 from link below and flash
http://forum.xda-developers.com/showthread.php?t=2906746
Or you can fastboot flash the entire COS12.1.1 fastboot using commands manually from the previous link the other poster gave you. You will run into some problems if you decide you wanna try some AOSP ROMs after flashing the userdata from COS12.1.1 but if you stick to CM you'll be fine
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Ok I had to fastboot flash the entire COS2.1.1, and it is working well now. Why is there an issue with AOSP roms after flashing the userdata?
f41lbl0g said:
Ok I had to fastboot flash the entire COS2.1.1, and it is working well now. Why is there an issue with AOSP roms after flashing the userdata?
Click to expand...
Click to collapse
I don't know what is up with the userdata image for COS12.1.1 but its corrupted in some way and you cannot flash ROMs like Omni and OxygenOS. It acts as if you've encrypted the OS when you haven't, solution is to wipe using an older userdata partition like the one from COS12.1 or earlier.
Sent from my A0001 using Tapatalk
Renosh said:
I don't know what is up with the userdata image for COS12.1.1 but its corrupted in some way and you cannot flash ROMs like Omni and OxygenOS. It acts as if you've encrypted the OS when you haven't, solution is to wipe using an older userdata partition like the one from COS12.1 or earlier.
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Do you have a link to an old userdata partition?
f41lbl0g said:
Do you have a link to an old userdata partition?
Click to expand...
Click to collapse
Sorry I don't you'll have to download from the link I shared earlier an entire fastboot zip to be able to do it
Sent from my A0001 using Tapatalk

Categories

Resources