[Q] Cannot mount sd card,bootloop and FAILED (remote: not allowed) - HTC One S

Hi,
i was on one of the latest CM nightlies and everything was okay for a few days. I flashed Bubba kernel and got it running perfect since 2 days. Suddenly my phone freezed while WhatsApp and i rebooted. It was stuck in the CyanogenMod boot logo for a few minutes. I deleted Cache but it didnt helped. Then accidentally i deleted my internal sd card by mistake from the bootloader menu (wanted to click on Recovery).
The phone then booted once, but was stuck on initializing all apps. Now its stuck on the logo again. I can not mount my internal sd card. In adb when i type in "adb shell" it says FAILED (remote: not allowed). This also happens when i want to flash recovery.img or bootloader.zip or firmware.zip after fastboot oem rebootRUU.
When i type in fastboot devices it shows HT23KW406878 (somehow its named like this , the car USB also named it like this.
I can get fastboot getvar cid and it shows my 111111 Super CID. My phone is S-Off. I relocked my bootloader some minutes ago. I dont know what to do...
So:
One S S4 Unbranded
Relocked bootloader (i had unlocked one but wanted to flash the OTA RUU)
SuperCID
HBOOT 2.15.0000

Never do clear storage from bootloader when you have custom recovery. Change CID to factory one. Flash stock recovery and run RUU.
Sent from my HTC One S using XDA Premium 4 mobile app

mikronac.ns said:
Never do clear storage from bootloader when you have custom recovery. Change CID to factory one. Flash stock recovery and run RUU.
Sent from my HTC One S using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I know, it was by mistake. I already solved it by flashing a RUU,new recovery and new ROM. S-OFF and superCID was still the same

Related

[Q] something went terribly wrong

I can`t flash any recovery normally, I fear I messed up the cache\recovery seriously .
First I tried to flash ICS OTA – didn’t work, I was revolutionary S-off, after a few times I gave up (rebooting successful by reason: oem).
I re-flashed the RUU, and it went back to Pyrmid S-on. I`ve unlocked the bootloader HTC way.
Then tried to flash CWM, but I got some sort of error. Then I`ve installed "Android Recovery Manager". Tried to flash CWM through it, but ergh – it hangs on "waiting for device"
I tried to fastboot devices & fastboot getvar cid and got corret results, but when i`ve tried to change to superCid – I got this message:
C:\adb>fastboot oem writecid 11111111
... INFOvreg_set: request is duplicated id 14
INFO pyramid_init_sd, SD card power on ok
INFOsdcc_init_memory_device done
INFO[FAT_ERROR] fat_open_file: can not find SMART_IO.CRD
INFO[JAVACARD_ERR] SMART_IO.CRD cann't find
OKAY [ 1.076s]
finished. total time: 1.076s​
so, I realized something went terribly wrong somewhere.
I`m looking for a "fresh start" – is there any complete clone of the recovery file system? Or any other way to flash a complete recovery file system (odin ?!)
Please help.
specs:
sensation xe
Cid htc__001, Mid
recovery: android system recovery <3e> (with error message "can't open /cache/recovery/command)
Hboot: "unloacked", 1.18, S-on (yes, S-on)
yonirapa said:
I can`t flash any recovery normally, I fear I messed up the cache\recovery seriously .
First I tried to flash ICS OTA – didn’t work, I was revolutionary S-off, after a few times I gave up (rebooting successful by reason: oem).
I re-flashed the RUU, and it went back to Pyrmid S-on. I`ve unlocked the bootloader HTC way.
Then tried to flash CWM, but I got some sort of error. Then I`ve installed "Android Recovery Manager". Tried to flash CWM through it, but ergh – it hangs on "waiting for device"
I tried to fastboot devices & fastboot getvar cid and got corret results, but when i`ve tried to change to superCid – I got this message:
C:\adb>fastboot oem writecid 11111111
... INFOvreg_set: request is duplicated id 14
INFO pyramid_init_sd, SD card power on ok
INFOsdcc_init_memory_device done
INFO[FAT_ERROR] fat_open_file: can not find SMART_IO.CRD
INFO[JAVACARD_ERR] SMART_IO.CRD cann't find
OKAY [ 1.076s]
finished. total time: 1.076s​
so, I realized something went terribly wrong somewhere.
I`m looking for a "fresh start" – is there any complete clone of the recovery file system? Or any other way to flash a complete recovery file system (odin ?!)
Please help.
specs:
sensation xe
Cid htc__001, Mid
recovery: android system recovery <3e> (with error message "can't open /cache/recovery/command)
Hboot: "unloacked", 1.18, S-on (yes, S-on)
Click to expand...
Click to collapse
If I am not mistaken, you need S-Off to flash recovery.
tingtan said:
If I am not mistaken, you need S-Off to flash recovery.
Click to expand...
Click to collapse
You are correct sir.
Sent from my HTC Sensation 4G with Beats Audio using xda premium
tingtan said:
If I am not mistaken, you need S-Off to flash recovery.
Click to expand...
Click to collapse
He does have s-off he said he unlocked it the htc way so it might be something else..
Sent from my HTC Sensation Z710e using xda premium
Run ruu and start over
Ruu will not put s on
Sent from my HTC Sensation 4G using xda premium
Catch 22...
Hi thanks for trying.
well revolutionary hangs on waiting for device.
ruu fails on error 155 - unknwon error.
any ideas?
yonirapa said:
Hi thanks for trying.
well revolutionary hangs on waiting for device.
ruu fails on error 155 - unknwon error.
any ideas?
Click to expand...
Click to collapse
Relock bootloader to flash RUU
i`m telling you - this isn`t a normal solution question
well, no.
so much for trying to lock s-on
C:\ADB>fastboot oem lock
... INFOLock successfully...
INFOTZ_HTC_SVC_DISABLE ret = 66977136 (0x3FDFD70)
FAILED (status read failed (Too many links))
finished. total time: 0.936s​
WTF ?
any more ideas?
thanks
Don't apply s on, you need to run the correct ruu.for your cid.
Flashing RUU does not make you s on. If you're s on you had to make it that way.
Bad news is you can't run RUU with s on.
Sent from my HTC Sensation 4G with Beats Audio using xda premium

[Q] one xl stuck

Okay, I tried putting a new rom on my at&t one xl, and it did something horribly wrong. I was able to get to recovery and it told me I had no operating system, the I tried flashing a new rom again. At this point it restarted the phone got stuck at the splash screen and now I cant even get to recovery just the fast boot and boot loader. Any help would greatly appreciated.
You haven't given any of the vital information required to help you. Please provide the following:
hboot/firmware version
S-on or s-off
Recovery version
What ROM(s) you were trying to flash
What you have done to try to recover
Sent from my Evita
timmaaa said:
You haven't given any of the vital information required to help you. Please provide the following:
hboot/firmware version
S-on or s-off
Recovery version
What ROM(s) you were trying to flash
What you have done to try to recover
Sent from my Evita
Click to expand...
Click to collapse
hboot 1.14.002
s is off
cant remember recovery version since I can't access it
I had viper rom and I was going to cyanogen mod 10.1
and I thought I had a titanium backup but my whole sd card go deleted, so I mounted my sd card and got the rom again and flashed it and at that point I couldn't go back to recovery
Did you read the OP for cm10.1? It states in the requirements that you must RUU up to the latest (3.18) to run that ROM. In terms of your recovery, just flash it again from fastboot.
Sent from my Evita
timmaaa said:
Did you read the OP for cm10.1? It states in the requirements that you must RUU up to the latest (3.18) to run that ROM. In terms of your recovery, just flash it again from fastboot.
Sent from my Evita
Click to expand...
Click to collapse
I must of completely overseen that. and sir the only option I have on my boot is fast boot, recovery, factory reset, clear storage, simlock, image crc, and power down. I don't know how to even flash things at this point.
and only options I fast boot are bootloader, reboot, reboot boot loader and powerdown
That's all you need to RUU, it's an exe file that you just run while your phone is connected in fastboot mode. You'll need top flash your recovery again, then you can flash a ROM.
Download the RUU
Run the RUU
Download recovery
Flash recovery
Flash ROM
The fastboot command to flash the recovery is:
fastboot flash recovery "recovery.img"
(The exact recovery filename, without the talking marks)
fastboot erase cache
fastboot reboot-bootloader
Now you can enter recovery on your phone, mount usb storage, copy ROM to phone, flash ROM.
Sent from my Evita
Thanks guys. My kids an idiot and did this today to his phone (my old phone). He got the information from you guys and left it to me to fix when I got home.
timmaaa said:
That's all you need to RUU, it's an exe file that you just run while your phone is connected in fastboot mode. You'll need top flash your recovery again, then you can flash a ROM.
Download the RUU
Run the RUU
Download recovery
Flash recovery
Flash ROM
The fastboot command to flash the recovery is:
fastboot flash recovery "recovery.img"
(The exact recovery filename, without the talking marks)
fastboot erase cache
fastboot reboot-bootloader
Now you can enter recovery on your phone, mount usb storage, copy ROM to phone, flash ROM.
Sent from my Evita
Click to expand...
Click to collapse
Cool glad ur all set
Sent from my HTC One XL using xda premium

[Q] AT&T HTC One X Bricked and need advice

Hi,
I have an AT&T HTC One X with no OS. I wiped it when I was trying to flash a custom ROM.
I only have access to bootloader and TWRP. Fastboot is working fine but TWRP is not. It does
mount properly, and adb sideload fails as well. I am using a Windows 7 PC and used a USB 2.0 port.
I installed some HTC Drivers from here:
http://forum.xda-developers.com/showthread.php?t=2217396
but it still says "device drivers failed to install" when I boot into recovery.
When I try to mount, it does not let me mount the sdcard. I see an E: drive on my
PC but it is inaccessible.
I have S-On, my bootloader is unlocked, and I have hboot version 2.14 if that info helps.
Does anybody have any suggestions as to what I can try next?
First thing you need to do is clear your post up a bit. You said you have access to TWRP but it isn't working, can you elaborate on that please?
You also said that it does mount, but then you said later it doesn't mount, which is it?
Have you performed a factory reset from the bootloader at any point?
Exactly which ROM(s) did you try to install? I need the exact filename(s) please.
Did you remember to flash the boot.img with fastboot after flashing the ROM?
Do you have a TWRP backup on your phone?
Please answer all questions with as much relevant detail as possible, that'll aid me to help you properly.
Sent from my Evita
I helped him over teamviewer so I can clarify the situation. He can't mount in TWRP, it must of been a typo. It seems he cleared everything when he was trying to wipe to flash a rom. I believe it was ViperXL. He has no backup and sideload does not work as well. Hopefully that will clear things up a little bit more. I installed some newer HTC Drivers since the ones he had were old. The only thing that works seems to be fastboot at this point.
Sent from my HTC One X using Tapatalk
timmaaa said:
First thing you need to do is clear your post up a bit. You said you have access to TWRP but it isn't working, can you elaborate on that please?
You also said that it does mount, but then you said later it doesn't mount, which is it?
Have you performed a factory reset from the bootloader at any point?
Exactly which ROM(s) did you try to install? I need the exact filename(s) please.
Did you remember to flash the boot.img with fastboot after flashing the ROM?
Do you have a TWRP backup on your phone?
Please answer all questions with as much relevant detail as possible, that'll aid me to help you properly.
Sent from my Evita
Click to expand...
Click to collapse
Sorry it was a Typo, I was not able to mount at all. The error said "unable to mount /sdcard"
Yes I have tried performing a factory reset from bootloader but the phone restarts and comes back to TWRP and then same thing.
I tried installing the ViperXL ROM but was not successful.
I was not able to flash the ROM and I tried to fix that but meanwhile looks like I wiped all what I had on my Phone, so no but I did try to flash a new boot.img after and it didnt work.
I dont think I have any TWRP backup on my phone, even though I tried flashing new TWRP but all failed.
Ok first thing, don't ever perform a factory reset from the bootloader because it corrupts your sd card. That's why you're experiencing problems now. You need to wipe the sd card/internal storage using TWRP 2.6 to make it usable again. If you don't currently have TWRP 2.6 installed you'll need to do that. Download it from here. Put the file in your fastboot folder. Connect phone in fastboot mode, open command prompt from within fastboot folder, issue the following commands:
Code:
fastboot flash recovery "filename.img"
(the exact filename, minus the talking marks)
Code:
fastboot erase cache
Code:
fastboot reboot-bootloader
Now you should be able to mount your sd card using TWRP and copy a ROM across to flash.
Sent from my Evita
timmaaa said:
Ok first thing, don't ever perform a factory reset from the bootloader because it corrupts your sd card. That's why you're experiencing problems now. You need to wipe the sd card/internal storage using TWRP 2.6 to make it usable again. If you don't currently have TWRP 2.6 installed you'll need to do that. Download it from . Put the file in your fastboot folder. Connect phone in fastboot mode, open command prompt from within fastboot folder, issue the following commands:
Code:
fastboot flash recovery "filename.img"
(the exact filename, minus the talking marks)
Code:
fastboot erase cache
Code:
fastboot reboot-bootloader
Now you should be able to mount your sd card using TWRP and copy a ROM across to flash.
Sent from my Evita
Click to expand...
Click to collapse
So I followed all the above steps as noted; I had TWRP 2.6.3.0 earlier, I flashed the new TWRP 2.6.0.0 from the link you provided.All
successfully done.
-------------------------------------------------------------------------------------------------------
C:\Fastboot>fastboot devices
HT29WW300913 fastboot
C:\Fastboot>fastboot flash recovery "openrecovery-twrp-2.6
.0.0-evita.img"
sending 'recovery' (8000 KB)... OKAY [ 1.530s]
writing 'recovery'... OKAY [ 1.900s]
finished. total time: 3.430s
C:\Fastboot>fastboot erase cache
erasing 'cache'... OKAY [ 0.120s]
finished. total time: 0.120s
C:\Fastboot>fastboot reboot-bootloader
rebooting into bootloader... OKAY [ 0.070s]
finished. total time: 0.070s
---------------------------------------------------------------------------------------------------------
I rebooted into recovery, still came up as TWRP 2.6.3.0, then I went to TWRP reboot and chose Recovery, phone rebooted into TWRP 2.6.0.0
Tried mounting (could not select /sd card and /cache(expected as we erased it)) and ADB sideload, got the same errors as before. Unable to mount /sdcard.
Rebooted again and it displayed TWRP 2.6.3.0
Did you wipe the sd card/internal storage like I said before trying to mount it?
Sent from my Evita
timmaaa said:
Did you wipe the sd card/internal storage like I said before trying to mount it?
Sent from my Evita
Click to expand...
Click to collapse
Yes I did
And which recovery is currently installed?
Sent from my Evita
timmaaa said:
And which recovery is currently installed?
Sent from my Evita
Click to expand...
Click to collapse
Its 2.6.3.0, but in recovery when I go into option TWRP reboot and chose Recovery button, phone reboots into TWRP 2.6.0.0 and when I reboot it again, its 2.6.3.0
That's really screwy. I think you should try installing recovery again. What happens when you boot the phone normally?
Sent from my Evita
timmaaa said:
That's really screwy. I think you should try installing recovery again. What happens when you boot the phone normally?
Sent from my Evita
Click to expand...
Click to collapse
Ok good news, something happened, I tried all the steps again carefully and now I see TWRP 2.6.0.0 on boot and I am able to mount the sdcard and my computer now recognises the phone and I can manually copy files on to it.
Now in order to not mess it up anymore, should I just copy ViperXL ROM or should I use ADB sideload?
tapukakababa said:
Ok good news, something happened, I tried all the steps again carefully and now I see TWRP 2.6.0.0 on boot and I am able to mount the sdcard and my computer now recognises the phone and I can manually copy files on to it.
Now in order to not mess it up anymore, should I just copy ViperXL ROM or should I use ADB sideload?
Click to expand...
Click to collapse
Either one should be fine. If you have S-ON and the phone gets stuck on the HTC screen, you have to flash the boot.img. here's how to do it.
1. On your PC in the ViperXL.zip, take out the boot.img and put it in the directory where you have the adb and fastboot files.
2. Boot into fastboot.
3.Open cmd. Change the directory to the folder where you have those files.
4.type "fastboot flash boot boot.img"
5. Reboot the phone.
The phone should boot.
Sent from my One Xl using Tapatalk
Definitely install through TWRP. You shouldn't need to flash a boot.img because Viper uses an aroma installer which does that for you. But, if for some reason it doesn't work just flash the boot.img via fastboot.
Sent from my Evita
timmaaa said:
Definitely install through TWRP. You shouldn't need to flash a boot.img because Viper uses an aroma installer which does that for you. But, if for some reason it doesn't work just flash the boot.img via fastboot.
Sent from my Evita
Click to expand...
Click to collapse
So I flashed the boot image, then copied ViperXL and installed it through TWRP, it failed.
Exactly which error is it giving you? Did you check the md5 of the downloaded file? Are you still on TWRP 2.6?
Sent from my Evita
timmaaa said:
Exactly which error is it giving you? Did you check the md5 of the downloaded file? Are you still on TWRP 2.6?
Sent from my Evita
Click to expand...
Click to collapse
No I did not check the MD5, yes I'm on TWRP 2.6.0.0 and the errors it gives are as follows:
unable to mount '/cache'
unable to open zip
Error flashing zip
Always check the md5. It's possibly corrupt.
Sent from my Evita
timmaaa said:
Always check the md5. It's possibly corrupt.
Sent from my Evita
Click to expand...
Click to collapse
Yup redownloaded the file, checked/compared MD5, copied it back to the phone, removed the previous bad copy, flashed ROM successfully..., as per the message but system reboots to recovery.. is that expected?
And I still see both the TWRP's 2.6.3.0 and 2.6.0.0 the phone needs couple reboots in order to get to TWRP 2.6.0.0 but automatic reboot is in TWRP 2.6.3.0 whats the deal here?
I have no idea why your recovery is acting like that. Hopefully someone else can chime in on that.
Sent from my Evita

Won't accept flashing RUU

Hello! I have this phone and it had unlocked bootloader so i flashed custom recovery to install stock rom. But it didn't boot even after flashing zip from CM. So i decided to flash stock RUU. I managed to get cid from unbootable phone by using "getvar cid" so i downloaded RUU with proper cid. This RUU flashes fine until it comes to the end- and that is represented as error 152.
When i unplug the cable, phone shows that partition "USERDATA" failed, and when i reboot the phone, i have black screen with HTC shown, with 4 triangles at the corners.
I tried to unlock bootloader to flash recovery again, but it does nothing when i use unlocktoken obtained from HTCDev. I also tried using rom.zip from RUU to flash through fastboot, but it doesn't help.
is there any hope for this phone ? thanks in advance.

[Completed] HTC one m9 restore. Re-unlock command reports success, but phone stays RELOCKED.

I am trying to restore my stock ROM so I can do a carrier reset. (I use ting and my phone was sprint).
I am using ubuntu but have a windows install as well.
I Unlocked the bootloader with htcdev, installed TWRP, and rooted with SuperSU, and flashed the ARHD 20.0 rom because sprintzone makes me angry. It read that it is actually a GSM rom and I have a CDMA sim card so I won't be using that anymore.
Current predicament:
RELOCKED
S-ON
RECOVERY MODE fails with "failed to boot to recovery mode"
phone will not boot to system, just goes straight to bootloader. Download mode works.
I want to fix recovery mode but I can't do it because the bootloader is locked.
MAIN PROBLEM: fastboot flash unlocktoken unlock_code.bin reports success, but the phone immediately reboots bootloader with RELOCKED, so I cannot flash any recovery image. I also cannot turn S-OFF because I cannot boot into system or gain access through recovery mode to install the sunshine app.
I have gathered that I need to flash an RUU image, but I can't do that because my MID and CID are not supported (according to other threads) and S-OFF.
I tried to install the RUU anyway with:
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.zip ##(sprint version)
but it threw: Invalid sparse file format at header magi fastboot: /libsparse/sparse.c:144: write_all_blocks: Assertion 'pad >= 0' failed. so no luck.
Is there another way I can restore manually from fastboot without an RUU? I couldn't find a system.img or bootloader.img or anything like that. Will it work if I go buy an external SD card and but the RUU on that? or maybe someone knows what is wrong with the unlock process.
Johnnyappleseeds said:
I am trying to restore my stock ROM so I can do a carrier reset. (I use ting and my phone was sprint).
I am using ubuntu but have a windows install as well.
I Unlocked the bootloader with htcdev, installed TWRP, and rooted with SuperSU, and flashed the ARHD 20.0 rom because sprintzone makes me angry. It read that it is actually a GSM rom and I have a CDMA sim card so I won't be using that anymore.
Current predicament:
RELOCKED
S-ON
RECOVERY MODE fails with "failed to boot to recovery mode"
phone will not boot to system, just goes straight to bootloader. Download mode works.
I want to fix recovery mode but I can't do it because the bootloader is locked.
MAIN PROBLEM: fastboot flash unlocktoken unlock_code.bin reports success, but the phone immediately reboots bootloader with RELOCKED, so I cannot flash any recovery image. I also cannot turn S-OFF because I cannot boot into system or gain access through recovery mode to install the sunshine app.
I have gathered that I need to flash an RUU image, but I can't do that because my MID and CID are not supported (according to other threads) and S-OFF.
I tried to install the RUU anyway with:
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.zip ##(sprint version)
but it threw: Invalid sparse file format at header magi fastboot: /libsparse/sparse.c:144: write_all_blocks: Assertion 'pad >= 0' failed. so no luck.
Is there another way I can restore manually from fastboot without an RUU? I couldn't find a system.img or bootloader.img or anything like that. Will it work if I go buy an external SD card and but the RUU on that? or maybe someone knows what is wrong with the unlock process.
Click to expand...
Click to collapse
Greetings and welcome to assist. Have you tried using sp flashtools instead to see if that works ? I think you may be better asking in the m9 forums here
https://forum.xda-developers.com/one-m9/help
hopefully one of the experts has come across this before
Good Luck
Sawdoctor

Categories

Resources