[help] no os installed and rom errors - One (M7) Q&A, Help & Troubleshooting

Hey guys ive been having some serious trouble with my HTC ONE m7.
-Rooted - yes
- Unlocked - yes
Okay so i downloaded cyanogenmod Lollipop (Recent one) and i tried to flash it, it failed to mount it kept saying something like mount : failed to mount /dev/block/platform bla bla bla and before this i wiped data and thought it would go all good although i dont have a copy of my backup on my phone but i do on my pc.
I am currently running TWRP v2.6.3.0 and i want to try updating it but is there a way to install the recent one without having OS installed? (Im a beginner sorry )
and whenver i go on "Mount" and check system i go back to install ROM it fails then i go back to "Mount" the system is unchecked
I have been stuck for 3 days now and Im starting to panic please reply i need serious help.
I have also tried to ADB Push from pc and it said the same errors
Help would be appreciated :angel:

josiphgorgis said:
Hey guys ive been having some serious trouble with my HTC ONE m7.
-Rooted - yes
- Unlocked - yes
Okay so i downloaded cyanogenmod Lollipop (Recent one) and i tried to flash it, it failed to mount it kept saying something like mount : failed to mount /dev/block/platform
Click to expand...
Click to collapse
You need a reco very that support "block:by-name" like said on cyanogenmod installation instruction page.
I am currently running TWRP v2.6.3.0 and i want to try updating it but is there a way to install the recent one without having OS installed? (Im a beginner sorry )
Click to expand...
Click to collapse
To flash a recovery all you need is fastboot
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot-bootloader

Related

[Q] htc one no OS twrp cant mount Help

hello
im new so thank you all in advance!!
my htc one has no os but i can go to fastboot and install recovery the problem is
that twrp recovery cant mount sdcard ,cache, cwm recovery also cant mount sdcard.
so i cant install any rom , and my htc one is just a brick.
hope someone can solve my problem
thanks
filipealm said:
hello
im new so thank you all in advance!!
my htc one has no os but i can go to fastboot and install recovery the problem is
that twrp recovery cant mount sdcard ,cache, cwm recovery also cant mount sdcard.
so i cant install any rom , and my htc one is just a brick.
hope someone can solve my problem
thanks
Click to expand...
Click to collapse
Since you have TWRP, just side load the rom
Sideload places the file to be flashed in the root of the /sdcard so if his recovery won't mount it then I doubt sideload will work.
Sideload guide:
http://forum.xda-developers.com/showthread.php?t=2318497
What did you do to get your recovery to stop mounting? Did your installed recovery ever work properly?
Rex2369 said:
Since you have TWRP, just side load the rom
Click to expand...
Click to collapse
just tried
C:\root>adb sideload C:\root\rom.zip
error: closed
not working, i think is because of sdcard not mounting.
theres no fix for sdcard not mounting (format it)
thanks
Try booting into recovery from fastboot and see if it still doesn't mount:
Put your twrp.img file in your adb/fastboot folder
Then:
Code:
fastboot boot twrp.img
I would use the latest version BTW but I assume you are trying that.
crushalot said:
Sideload places the file to be flashed in the root of the /sdcard so if his recovery won't mount it then I doubt sideload will work.
Sideload guide:
http://forum.xda-developers.com/showthread.php?t=2318497
What did you do to get your recovery to stop mounting? Did your installed recovery ever work properly?
Click to expand...
Click to collapse
i accidentaly wipe my phone then i tried to serche for a original ruu and tried to flash it with no luck.
i relocked and unlocked bootloader several times,if i can mount i should be ok burt it wont mount:crying:
i have twrp recovery stock rom backup but no idea what to do with it.
thanks
crushalot said:
Try booting into recovery from fastboot and see if it still doesn't mount:
Put your twrp.img file in your adb/fastboot folder
Then:
Code:
fastboot boot twrp.img
I would use the latest version BTW but I assume you are trying that.
Click to expand...
Click to collapse
just tried it freezed in fastboot !now?
Do you have S-off?
crushalot said:
Do you have S-off?
Click to expand...
Click to collapse
hello
no, if i erase everything ?
and start from begining?
thanks
filipealm said:
hello
no, if i erase everything ?
and start from begining?
thanks
Click to expand...
Click to collapse
Not sure what you mean.
If you had s-off you could run a RUU to get back working and then redo everything (flash recovery, root, install rom of choice.
Got it
filipealm said:
hello
im new so thank you all in advance!!
my htc one has no os but i can go to fastboot and install recovery the problem is
that twrp recovery cant mount sdcard ,cache, cwm recovery also cant mount sdcard.
so i cant install any rom , and my htc one is just a brick.
hope someone can solve my problem
thanks
Click to expand...
Click to collapse
I made it :laugh::good:
Formatted the sdcard on twrp recovery ( fixed the mounting issue)
Pushed rom with adb and installed it
Thanks now i just want to go stock
Need to find the wright ruu
filipealm said:
I made it :laugh::good:
Formatted the sdcard on twrp recovery ( fixed the mounting issue)
Pushed rom with adb and installed it
Thanks now i just want to go stock
Need to find the wright ruu
Click to expand...
Click to collapse
Glad you got it.
Cheers

[Q] Soft bricked my htc one

So yesterday, I tried installing a custom rom and what happened was that the MD5 sum was incorrect and i wasn't able to boot into system and had no backups so was stuck thinking that it was the end of the world.
What happened next was utter follishness in which I used this command in bootloader -fastboot flash zip rom.zip- what happened then was that the rom was transferred but it tried to install it and failed and a consequence now I cant even reboot into recovery now. It,s like when I start recovery it skips that and progresses to the htc logo.
I relocked the device and unlocked it via the Unlock token I had and again tried to install the recovery and it did but didn't reload into it and skipped to the htc logo screen.
Can anyone please help me with recovering my phone since I just bought it today.
One possible thing that comes to my mind is using the flash command in the fastboot, will it help or any other ways? THANK YOU in advance...
You can adb sideload still. Use adb to reboot into recovery via USB and sideload a known good ROM with a correct MD5 sig. No need to remind you that checking the MD5 is of utmost importance
Sent from my HTC One using Tapatalk 4
bbinder said:
You can adb sideload still. Use adb to reboot into recovery via USB and sideload a known good ROM with a correct MD5 sig. No need to remind you that checking the MD5 is of utmost importance
Sent from my HTC One using Tapatalk 4
Click to expand...
Click to collapse
Bro, problem is that recovery doesnt work at all n where will i use adb command? In hboot?
Reflash the recovery and after this, do an erase cache:
Code:
fastboot erase cache
.
After you can boot into recovery and use the adb sideload function...
Guich said:
Reflash the recovery and after this, do an erase cache:
Code:
fastboot erase cache
.
After you can boot into recovery and use the adb sideload function...
Click to expand...
Click to collapse
I'm gonna try this and will report back! Thanks
I was able to enter the recovery but I try to install the rom.zip it says that cannot mount data and internal storage
What should be done about this?
With an error like: E:/ enable to mount internal storage?
Guich said:
With an error like: E:/ enable to mount internal storage?
Click to expand...
Click to collapse
yup with both internal storage and data, its not able to mount either of them
So:
- Flash the stock recovery
- Boot into bootloader
- Do a factory reset
- Reflash a custom recovery
- Teoritecally, this will work
Man, it's finally working. Feeling like hitting the thanks button a thousand times. Thank you so much!
:good:
No prob mate
Sent from One with Tapa4

[Q] soft bricked HTC One with no OS installed

Hi ALL!
First off I'd like to say thanks for such a forum! Its the first go to place for me for anything android.
Yesterday I did something terrible and very careless from my side. I un-intentionally deleted the /system partition on my HTC One while playing with it and now I am paying for my careless mistake. I have been looking for possible solutions here on this forum and elsewhere on the internet. I did manage to do an *adb sideload push* of a custom ROM and tried to install that but for some reason I cant mount some partitions from my sdcard for example /cache.
I tried exchanging between TWRP (latest) and CWM (touch latest) but no solution so far with the adb sideload method. So I have no OS installed on my phone and the phone sometimes hangs in the HTC Quietly Brilliant display page or sometimes it wouldnt even go in to the Recovery mode but keeps rebooting.
I am clueless at this point, please shade some light on my situation.
In the attached pic you'd find the output from the *fastboot getvar all* command and the phone is S-ON and Unlocked just to mention.
I really appreciate it...
What is the exact error when installing the ROM?
What ROM?
sent from my mobile device
SaHiLzZ said:
What is the exact error when installing the ROM?
What ROM?
sent from my mobile device
Click to expand...
Click to collapse
I tried installing Android_Revolution_HD-One_51.0 and One_4.18.401.8_odexed ROMS. I tried installing the Android_Revolution_HD ROM by adb sideload method both for the CWM and TWRP recoveries and it would actually start the AROMA installer and goes on to install but its premature installation. It just finishes fast (sometimes with a success flag but mostly with an error message saying META_INF error -- sorry i havent logged that error, so I am not putting the right wordings).
But now I am downloading the RUU for the 2.24.401.8 OS and I will give it a try. And I will get back to you.
tnx
are u s-off? make sure ur using twrp 2.6.3.3 and not 2.6.3.4, also do a full wipe/factory reset before you try flashing the rom
xnknown said:
are u s-off? make sure ur using twrp 2.6.3.3 and not 2.6.3.4, also do a full wipe/factory reset before you try flashing the rom
Click to expand...
Click to collapse
Hi,
No, I am not S-OFF at the moment. ( I have attached a snippet of my status on the phone from the fastboot getvar all command on my first thread)
So currently I have no OS installed and I am not sure if there is any tool that can do S-OFF without installed OS. I tried rumrunner tool but it didnt help either ( I read that its the option to go for if one has hboot version 1.54, which I happen to have)
So the error messages I am getting are as follows.... ( this is in CWM recovery)
E: Can't open /cache/recovery/last_install
E: Can't open /cache/recovery/log
mount: mounting /dev/block/mmcblk0p36 on /cache failed: Invalid argument
W: failed to mount /dev/block/mmcblk0p36 /File exists)
W: Can't unlink /cache/recovery/command​
I appreciate your helps!
If you flash 2.6.3.4 TWRP recovery, and click install, is your SD card size 0?
sent from my mobile device
SaHiLzZ said:
If you flash 2.6.3.4 TWRP recovery, and click install, is your SD card size 0?
sent from my mobile device
Click to expand...
Click to collapse
TWRP 2.6.3.4 recovery is not working correct. It hangs saying "Entering Recovery...". It is something strange.
Fastboot erase cache in fastboot mode
Install the latest twrp by using the fastboot command.
Sideload through adb or store the ROM in your USB, mount USB drive using the usb-otg cable and then flash it from there.
Both methods should work
Sent from my One using XDA Premium HD app
EnIXmA said:
Fastboot erase cache in fastboot mode
Install the latest twrp by using the fastboot command.
Sideload through adb or store the ROM in your USB, mount USB drive using the usb-otg cable and then flash it from there.
Both methods should work
Sent from my One using XDA Premium HD app
Click to expand...
Click to collapse
I have tried Sideload having both latest recoveries of TWRP and CWM. Had problem to mount the cache partition (look earlier post). I will have to resort to the USB-OTG cable.
But I got myself in to a big and real problem now. I locked the oem from the fastboot command line thinking to run RUU.exe but it was a BAD BAD choice! Is there any hope for me now? Now my phone says
*****TAMPERED*****
*****RELOCKED*****
*****Security Warning*******
Oh boy! I am in real trouble. Please help!
SOLVED!
vvolverin said:
I have tried Sideload having both latest recoveries of TWRP and CWM. Had problem to mount the cache partition (look earlier post). I will have to resort to the USB-OTG cable.
But I got myself in to a big and real problem now. I locked the oem from the fastboot command line thinking to run RUU.exe but it was a BAD BAD choice! Is there any hope for me now? Now my phone says
*****TAMPERED*****
*****RELOCKED*****
*****Security Warning*******
Oh boy! I am in real trouble. Please help!
Click to expand...
Click to collapse
HI,
I finally managed to get the phone up and running. Thanks all for your prompt support.
So, what I did was, first I had to unlock using HTCdev unlock and then installed the latest TWRP recovery for the HTC One ( I think its 2.6.3.3 for HTC One and 2.6.3.4 might be for the HTC One X, because I couldn't manage to install it properly and I couldnt find the 2.6.3.4 version in a download list for the HTC One)....anyway after installing the custom recovery I tried installing stock ROM ( latest from Android Revolution HD --- One_4.19.401.8 OS version.
Oh I am so relieved...its been a good learning process anyway but not so nice if one has just one phone to play with. I probably have missed some important phone calls during the time my phone was down
Once again Thumbs up, Kudos for all those who answered to my desperate questions and Mike1986 for the nice work you are doing!

[SOLVED] [Q] HTC One only bootloader and recovery works

Last night tried installing SkyDragon v.9. It installed, the phone booted into rom and then started rebooting. Now i cant flash any rom because the phone reboots on the stage of wiping something. I installed newer twrp 2.8.0.2. Now i have these erros: unable to mount data and unable to mount internal storage. I'm S-ON unlocked. Tried ADB Sideload but it says device not found. Have no idea what to do. Saw somewhere that you can relock, unlock and install RUU to unbrick, but im not sure if i should do that. Help please.
OK. So... Try this:
From recovery go into Advanced Wipe, select all and wipe 2 or 3 times.
Reboot into bootloader.
In fastboot mode, make fastboot erase cache.
Then boot into recovery, and try ADB Sideload again or install rom via USB OTG (if you have)
If it also doesn't work try sth like this - it worked for me some time ago.
I saw that my PC recognizes my phone as normal storage when it's booted into TWRP and I don't need ADB Sideload. Try copy ROM like this and install.
If it won't work, you'll have to install RUU
Bruce666 said:
OK. So... Try this:
From recovery go into Advanced Wipe, select all and wipe 2 or 3 times.
Reboot into bootloader.
In fastboot mode, make fastboot erase cache.
Then boot into recovery, and try ADB Sideload again or install rom via USB OTG (if you have)
If it also doesn't work try sth like this - it worked for me some time ago.
I saw that my PC recognizes my phone as normal storage when it's booted into TWRP and I don't need ADB Sideload. Try copy ROM like this and install.
If it won't work, you'll have to install RUU
Click to expand...
Click to collapse
It didn't work Which RUU should i choose? M7-UL, hboot-1.55.0000, radio-4a.21.3263.04. I live in russia so i suppose i need one with "europe" in it's name? And how should i re-lock? Just by using fastboot command?
Give me CID ill try to find ruu 4u
Bruce666 said:
Give me CID ill try to find ruu 4u
Click to expand...
Click to collapse
HTC_A07
http://www.htc1guru.com/2014/03/android-ruu-europe/
Bruce666 said:
http://www.htc1guru.com/2014/03/android-ruu-europe/
Click to expand...
Click to collapse
Thank you very much! Really hope this works.
It must work. If you need help writr here
[email protected] said:
Last night tried installing SkyDragon v.9. It installed, the phone booted into rom and then started rebooting. Now i cant flash any rom because the phone reboots on the stage of wiping something. I installed newer twrp 2.8.0.2. Now i have these erros: unable to mount data and unable to mount internal storage. I'm S-ON unlocked. Tried ADB Sideload but it says device not found. Have no idea what to do. Saw somewhere that you can relock, unlock and install RUU to unbrick, but im not sure if i should do that. Help please.
Click to expand...
Click to collapse
If it reboots immediately when you try to wipe or flash something (i.e instant black screen then reboot)
You can probably fix it with e2fsck.
Boot to recovery select Mount then unmount all partitions return to twrp home screen and connect usb and check adb is working with
Code:
adb devices
You should get an output of your serial no.
Then do this
Code:
adb shell
e2fsck -fvy /dev/block/mmcblk0p35
e2fsck -fvy /dev/block/mmcblk0p36
e2fsck -fvy /dev/block/mmcblk0p37
exit
Now try to flash the Rom again
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
After i installed twrp 2.8.0.2 i can wipe. Well, sometimes it does wipe but sometimes it just writes error: unable to mount data and unable to mount internal storage. When i try flashing rom, for example viperone 7.0.1, it writes "set_perm some changes failed" right at the 0%. I tried installing cyanogenmod 11s and it installed without errors. But when i boot into rom, it says something like "the process android ui crashed".
[email protected] said:
After i installed twrp 2.8.0.2 i can wipe. Well, sometimes it does wipe but sometimes it just writes error: unable to mount data and unable to mount internal storage. When i try flashing rom, for example viperone 7.0.1, it writes "set_perm some changes failed" right at the 0%. I tried installing cyanogenmod 11s and it installed without errors. But when i boot into rom, it says something like "the process android ui crashed".
Click to expand...
Click to collapse
check the Frequently Asked Question sticky page 3
Point D, relates to unable to mount
Point C, relates to permission errors for certain ROMs, 2.6.3.3 should work or 2.8.0.1;
2.8.0.2 is known to have problems with certain ROMs
nkk71 said:
check the Frequently Asked Question sticky page 3
Point D, relates to unable to mount
Point C, relates to permission errors for certain ROMs, 2.6.3.3 should work or 2.8.0.1;
2.8.0.2 is known to have problems with certain ROMs
Click to expand...
Click to collapse
Dude, you are a wizard! Installed 2.6.3.3 and flashed viper without any problems. Yay it's working :laugh: . Couldn't think that recovery can cause these errors. I've been using 2.7.1.1 for quite a long time so i thought it'll work like it always did, but it just kept rebooting on wiping stage. So now it's working prefectly fine :good: Spent 5 hours today looking for sloutions and i have no idea how i missed your post on the faq thread. Thank you very much for your help! And thanks to everyone who responded!
[email protected] said:
Dude, you are a wizard! Installed 2.6.3.3 and flashed viper without any problems. Yay it's working :laugh: . Couldn't think that recovery can cause these errors. I've been using 2.7.1.1 for quite a long time so i thought it'll work like it always did, but it just kept rebooting on wiping stage. So now it's working prefectly fine :good: Spent 5 hours today looking for sloutions and i have no idea how i missed your post on the faq thread. Thank you very much for your help! And thanks to everyone who responded!
Click to expand...
Click to collapse
no problem,
2.6.3.3 is best for most ROMs, unless they require a recovery with "by-name" support (such as CM11), then you need 2.7.0.8 or higher
i've also successfully flashed using 2.8.0.1, but .2 seems to have issues again.
and if all is good now, can you also edit main thread title to include [SOLVED], thanks
edit the first post -> at the bottom of the edit window, click Go Advanced, and then you can edit main title

[Q] NoOS,tried to flashrom through adb but after clicking reboot it still says no rom

i tried to root my phone and install roms but then when i flashed the viper rom something went wrong and my phone would only go on recovery (twrp) i panicked... and cleared ALL the data, even my backup and including the os. I looked for guides and saw this one that shows how to install rom through adb, tried it and successfully installed android revolution, but when i try to reboot it says no os installed. please help
Firstly, which version of twrp are you using?
If it is the old ones, 6.* versions, please upgrade to the latest, then you can try side loading arhd or viper ROM once again. Should word. You can use HTC one toolkits available for m7, or use adb itself if you are familiar with it in a good level.
Install TWRP 2.8.5.0
Mount mtp copy zip to sd card
Unmount flash zip
yatindroid said:
Install TWRP 2.8.5.0
Mount mtp copy zip to sd card
Unmount flash zip
Click to expand...
Click to collapse
Update, i already managed to install android revolution, but then every time i power it on it just goes straight to recovery like last time. Also every time i install ROM twrp says i dont have supersu.
aviranzerioniac said:
Firstly, which version of twrp are you using?
If it is the old ones, 6.* versions, please upgrade to the latest, then you can try side loading arhd or viper ROM once again. Should word. You can use HTC one toolkits available for m7, or use adb itself if you are familiar with it in a good level.
Click to expand...
Click to collapse
Managed to install android revolution, but it always just goes to the recovery mode when i try to open the phone. Also every time i install ROM twrp says i dont have supersu.
I Nid 2P said:
Update, i already managed to install android revolution, but then every time i power it on it just goes straight to recovery like last time. Also every time i install ROM twrp says i dont have supersu.
Click to expand...
Click to collapse
format or correct system partition
Install supersu along
yatindroid said:
format or correct system partition
Install supersu along
Click to expand...
Click to collapse
sorry i really lack information, how do you correct system partition? and when you say format its the storage right?
so i would have to go to twrp then wipe and then format right? then install supersu and then android revolution?
Edit: i did whats above but when i flashed android revolution and clicked reboot it says no os nor supersu installed.. even after seeing the "you are now running android revolution" screen.
I Nid 2P said:
sorry i really lack information, how do you correct system partition? and when you say format its the storage right?
Click to expand...
Click to collapse
Flash ARHD with TWRP 2.6.3.3
I Nid 2P said:
sorry i really lack information, how do you correct system partition? and when you say format its the storage right?
Click to expand...
Click to collapse
2.8.5.0 have that option in wipe options
2.6.3.3 is best for flashing
yatindroid said:
2.8.5.0 have that option in wipe options
2.6.3.3 is best for flashing
Click to expand...
Click to collapse
does that mean i would have to install 2 different versions through the process?
clsA said:
Flash ARHD with TWRP 2.6.3.3
Click to expand...
Click to collapse
im running v2.6.3.0 how do i update it?.. please bare with me
I Nid 2P said:
im running v2.6.3.0 how do i update it?.. please bare with me
Click to expand...
Click to collapse
I you have an M7_UL
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
clsA said:
I you have an M7_UL
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Click to expand...
Click to collapse
finally able to update my twrp, now what do i do?
Edit: cant seem to click cache on mount
I Nid 2P said:
finally able to update my twrp, now what do i do?
Edit: cant seem to click cache on mount
Click to expand...
Click to collapse
I already replied in your other thread
Edit: why are you trying to mount things ? and clearing cache and delvik again and again ?
the step are really simple just join in where you need too
unlock bootloader at htcdev
flash TWRP 2.6.3.3 with fastboot in terminal to your phone
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Click to expand...
Click to collapse
from the bootloader choose recovery / TWRP loads now
choose install / choose ARHD / or ViperOne that you downloaded
Swipe to install / when install is done / reboot
clsA said:
I already replied in your other thread
Edit: why are you trying to mount things ? and clearing cache and delvik again and again ?
the step are really simple just join in where you need too
unlock bootloader at htcdev
flash TWRP 2.6.3.3 with fastboot in terminal to your phone
Update: IT STARTED!! I think the problem was my twrp version, thank you for helping me and sorry
from the bootloader choose recovery / TWRP loads now
choose install / choose ARHD / or ViperOne that you downloaded
Swipe to install / when install is done / reboot
Click to expand...
Click to collapse
I dont know if i didnt mention or you didnt see but i formatted my data so i dont have any rom zip files in my storage
I Nid 2P said:
I dont know if i didnt mention or you didnt see but i formatted my data so i dont have any rom zip files in my storage
Click to expand...
Click to collapse
Put the phone in the first screen of TWRP
put your rom in the same folder as fastboot /adb
then in terminal adb push name-of-Rom.zip /sdcard
let it copy to the phone it takes a few min the command prompt will change when it's done
now install the rom with TWRP

Categories

Resources