So I just successfully rooted my phone and now trying to unlock NAND. The issue im experiencing is when using adb in CMD to do this step "cat /sdcard/flash_image > /data/flash_image" I get cannot create /data/flash_image: permission denied.
Im not sure what to do now. Could someone please help.
Ive been using unlocker's rooting guide- which is the only one that has worked for me
Thanks in advance
Nevermind! fixed the issue. The tutorial says to put phone in "Charge only" mode, but you have to keep the phone in disk drive.
but now when i try the same command it says "no such file or directory
no u dont keep the phone in disk drive cause i think the phone cant read the sd card cause ur on the drive with the computer. try doing it with out it only on charger but im pretty sure if u check the 2nd post u'll see common error and how to fix them.
AWESOME! thanks so much! I guess I had to put it into disk mode to allow "super user" then put it back into charge only.
onto the next step. Thank you very much!
EDIT: No! run into the same problem as before.. says "main version is older"
wait what software version are u running on right now and if u do a quick search you'll should find that older version problem some where.
EPIC. WIN.
and toast, if you ever had a reason to sticky one of your own threads, I think this one is deserving.
Common Mistakes / Questions
Problem:
I can't download the files / They are corrupted / etc!!!!1!!!!1
How to fix:
Here's a mirror, thanks to lewi3069.
Originally Posted by lewi3069 View Post
http://cybermetricsystems.net/android/PC36IMG.zip
http://cybermetricsystems.net/android/flash_image.zip
http://cybermetricsystems.net/android/mtd-eng.zip
http://cybermetricsystems.net/android/recovery.img
----------------------------------------------------
Error:
Code:
adb shell
# cat /sdcard/flash_image > /data/flash_image
cat /sdcard/flash_image > /data/flash_image
cat: can't open ' /sdcard/flash_image' : No such file or directory
How to fix:
Your sdcard isn't mounted properly. You can use ADB to push the files:
Code:
adb push /path/to/flash_image /sdcard/flash_image
adb push /path/to/mtd-eng.img /sdcard/mtd-eng.img
or try to mount the card: (*note, this command only works from recovery. If you are inside the android OS you have to use adb remount. This is also how you test system r/w access, which is what this whole process gives you
Code:
adb shell mount /sdcard
----------------------------------------------------
Error:
Code:
mtd: erase failure at 0x00000000 (I/O error)
mtd: skipping write block at 0x00000000
mtd: erase failure at 0x00020000 (I/O error)
mtd: erase failure at 0x00020000 (I/O error)
mtd: skipping write block at 0x00020000
mtd: erase failure at 0x00040000 (I/O error)
mtd: erase failure at 0x00040000 (I/O error)
mtd: skipping write block at 0x00040000
mtd: erase failure at 0x00060000 (I/O error)
mtd: erase failure at 0x00060000 (I/O error)
(note: probably a lot longer than that)
How to fix:
You are using the wrong PC36IMG.zip file. Its not the same one from part one. Download the file listed in Toast's post, above.
----------------------------------------------------
Error:
Something about "Main version is older" ...not sure of exact syntax
How to fix:
You need to redo the mtd-eng.img step. Check and make sure you didn't get the sdcard mounting error.
----------------------------------------------------
Question:
Can I delete these files from my sdcard, now that I have finished?
Answer:
Sure. Alternatively, you can just throw them into a folder named whatever you want (example folder name: "files for rooting") and leave them there in case you need the later! Totally up to you, but yes they are safe to remove.
----------------------------------------------------
Question:
Do I have to backup/restore my nandroid? Can't I just flash a new ROM?
Answer:
Yep. The advantage of restoring your nandroid is I believe you get your radio back. Maybe not. It takes like 3 seconds to restore your radio anyway. I just flashed my ROM back over clean and used Titanium Backup which I strongly recommend to restore all my apps.
Okay, ill try that. Ill use those files- that will then eliminate any possibility im using wrong files. Almost done d/ling PC36IMG
okay i need to know more info cause i see u posted on the thread can ur computer communicate with ur phone and sd card. then did u do any other roots like unrevoked or u tried simple root. what is ur software version check on the about phone in setting then software info.
my brother got his phone a week ago and i did the simple root on it and worked fine
Okay its working the listed files above!
Before this latest try, i did a factory default to make sure no attempts before caused issues.
im using 1.47.651.1
SWEET! I was using the wrong files or something.. Its updating now
Im running 1.47.651.1
great so u should b full nand unlocked now
Okay got NAND unlocked! Now my problem is what ROM to flash im deciding between Baked snack and fresh evo..
what do you guys think?
well its all up to u and to each there own but i personally like dc latest 2.1 but im on the newest ava froyo waiting for dc froyo to b released have fun dont forget to do a nand back up before hand
But like whats the pro's cons of those? which would be best for me to flash with my software and running 2.1.. just so confused with all the different ROMS
edit: also, how do i make a NAND backup??
nand back up is in recovery under restore and back up
now with the roms just read up on them and make sure ur up to date with the radios and wimax most of them give u links to the threads and show u how to do it. pretty easy to do install them under the zip install just like u were installing a rom.
Related
Anyone else with this problem? OTA won't install for me. Phone won't flash kernels larger than 2.2MB. How can I get Sprint or HTC to replace this phone?
i'm in the same boat buddy. question, what method(s) did you use to root/unlock?
i first did unrevoked (just for root), then (weeks later) the unrevoked 1.47 ota thing, then the three click method...
how did you find out what size kernel you can flash? Is therr some utility to check for bad blocks
i was flashing a ROM, and i got this (from the log)
"/data/firstboot.sh"
minzip: Extracted file "/data/local/resolv.conf"
calling command set_perm
calling command show_progress
calling command format
Formatting BOOT:...
mtd: not erasing bad block at 0x001e0000
mtd: not erasing bad block at 0x00260000
calling command write_raw_image
Writing BOOT:...
mtd: not writing bad block at 0x001e0000
mtd: not writing bad block at 0x00260000
E:Error finishing BOOT:
mtd: not writing bad block at 0x00260000
E:Failure at line 396:
write_raw_image PACKAGE:boot.img BOOT:
Installation aborted.
Failure at line 6:
install_zip SDCARD:/DamageControl-3.5-final.zip
ra-recovery and clockwork both just said "error writing boot image"
canteenboy said:
Anyone else with this problem? OTA won't install for me. Phone won't flash kernels larger than 2.2MB. How can I get Sprint or HTC to replace this phone?
Click to expand...
Click to collapse
you could accidentally drop it in the toilet or "lose" it
Microwave, 3 or 4 seconds...done. But, good luck getting a phone in under a few weeks.
I cannot root my Incredible. I keep getting the Backup CID Missing in unrEVOked.
So I tried do following this guide to fix it. And resulted in this error.
Code:
# ./flash_image misc misc-inc.img
./flash_image misc misc-inc.img
mtd: read all-zero block at 0x00000000; skipping
mtd: not writing bad block at 0x00000000
error writing misc: No space left on device
After, if I do a "cat /dev/mtd/mtd0". It is totally blank. A good one should show something like this:
Code:
VZW__001..........
..............
DeviceWarmBoot..
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
CE Serial InUse.
Debug Cable Ena.
CE USB InUse.................
ClearAutoImage..
3.26.605.1......
Any ideas how to fix this?
Anyone ...?
I've been searching for a couple of days now - hence this post.
My Desire boots to HTC green on white - nothing more.
I can get to Bootloader / fastboot / recovery, here's some details :
Code:
Revolutionairy
Bravo PVE3 SHIP S-OFF
HBOOT-6.93.1002
MI CROP-051d
TOUCH PANEL-SYNW0101
RADIO-4.05.00.11
Aug 10 2010 12.75.10
Can flash RUU (RUU_Bravo_HTC_WWE_1.15.405.4_Radio_32.30.00.28U_4.05.00.11_release_122704) and it completes with no errors but all I gain (?) is the loss of recovery which I can restore using AndroidFlasher.
I have no access to multiple sdcards (formatted using gparted to fat32) which work in both my Win7 and Linux machines without issue - I don't think the sdcards are at fault.
Have done a full wipe and tried a couple of recoveries and am now on recovery-RA-desire-v2.0.1.img. They all give the same errors, ie :
Code:
E: Can't mount /dev/block/mmclk0p1 (or /dev/block/mmclk0) (No such file or directory)
E:Can't mount /sdcard
Searching for these has suggested that it's a USB brick but all fixes include loading something to the sdcard - which I have no access to.
Other things I've tried with no success :
Code:
fastboot oem enableqxdm 0
...
OKAY [ 0.096s]
finished. total time: 0.096s
fastboot oem eraseconfig
...
(bootloader) Erase config: complete
OKAY [ 0.097s]
finished. total time: 0.097s
Code:
fastboot flash misc mtd0.img
sending 'misc' (640 KB)...
OKAY [ 0.106s]
writing 'misc'...
OKAY [ 0.183s]
finished. total time: 0.289s
Code:
parted /dev/block/mmcblk0
Error: Could not stat device /dev/block/mmcblk0 - No such file or directory.
/dev/block # ls
ls
loop0 loop2 loop4 loop6 mtdblock0 mtdblock2 mtdblock4
loop1 loop3 loop5 loop7 mtdblock1 mtdblock3 mtdblock5
Code:
fastboot getvar cid
cid: HTC__001
finished. total time: -0.000s
Code:
/ # sdparted -es 512M -ss 256M -efs ext4
sdparted -es 512M -ss 256M -efs ext4
checking script requirements...
err: /dev/block/mmcblk0 does not exist!
Code:
/ # /sbin/e2fsck -p /dev/block/mmcblk0p2
/sbin/e2fsck -p /dev/block/mmcblk0p2
/sbin/e2fsck: No such file or directory while trying to open /dev/block/mmcblk0p
2
/dev/block/mmcblk0p2:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
It's like it's a "sdcard brick" but I've failed to find anything on that and that still doesn't explain why it doesn't boot. It used to boot with no sdcard.
This is now driving me mad, please can somebody provide some sanity ?
Have looked at bortak's troubleshooting guide? Ul get more info there. Look in Desire Q&A/ Stickies
Sent from my HTC Desire
Yes.
It seems I have two of the problems.
[1]BOOT PROBLEMS
[IF YOU DO NOT HAVE A BACKUP]
[STEP10b]- go back to the main menu, select "install zip from sdcard"
But I don't have a sdcard so ...
[13]RECOVERY CAN'T MOUNT SD-CARD
In fastboot :
Code:
fastboot oem enableqxdm 0
...
OKAY [ 0.097s]
finished. total time: 0.097s
fastboot oem eraseconfig
...
(bootloader) Erase config: complete
OKAY [ 0.135s]
finished. total time: 0.135s
Which in theory has mounted the sdcard but when I go into recovery for step [1]BOOT PROBLEMS it's no longer mounted.
The commands from [13]RECOVERY CAN'T MOUNT SD-CARD don't work in recovery - I get
Code:
< waiting for device >
Catch 22 and hence my confusion.
How do I mount the sdcard when in recovery - which is what it seems needs doing ?
It cant mount sdcard if u dont have 1. Ul have to buy 1
Sent from my HTC Desire
dik23 said:
I have no access to multiple sdcards (formatted using gparted to fat32) which work in both my Win7 and Linux machines without issue - I don't think the sdcards are at fault.
Click to expand...
Click to collapse
..
"But I don't have a sdcard so ..."
......
Sent from my HTC Desire
Ok ?
Lol what??? U don't have a SD card?
Sent from my SAMSUNG-SGH-I717 using xda premium
dik23 said:
I have no access to multiple sdcards (formatted using gparted to fat32) which work in both my Win7 and Linux machines without issue - I don't think the sdcards are at fault.
Click to expand...
Click to collapse
The "no" there is most likely a typo. The guy is saying that he DOES have multiple SD cards which work properly under W7 and Linux but not with the Desire.
dik23 said:
[1]BOOT PROBLEMS
[IF YOU DO NOT HAVE A BACKUP]
[STEP10b]- go back to the main menu, select "install zip from sdcard"
But I don't have a sdcard so ...
Click to expand...
Click to collapse
Again, he's not saying that he does not have an SD card, he's just saying that the procedure described in the guide requires that the phone "sees" the SD card but his phones does not.
Conclusion: he DOES have MULTIPLE WORKING SD cards, but the phone does NOT recognize them.
What the hell is wrong with you guys?
Theres fk all wrong with us. Ok if "no" was a typo then why does he say " but i dont have a sdcard so.." dont take it the wrong but was just a bit confusing. If they dont work, buy a new 1, like i already said because u need a sdcard
Sent from my HTC Desire
...
Again: he's saying that Bortak's guide requires him, at one point, to run a zip from the SD card, BUT HIS PHONE CANNOT MOUNT ANY SD CARD, thus he "does not have an SD card".
TVTV said:
...
Again: he's saying that Bortak's guide requires him, at one point, to run a zip from the SD card, BUT HIS PHONE CANNOT MOUNT ANY SD CARD, thus he "does not have an SD card".
Click to expand...
Click to collapse
Yes, that is exactly my problem. Sorry, I'd not spotted my typo
http://www.google.ie/url?sa=t&sourc...35n2CA&usg=AFQjCNEPzzSqlgqVMhPWLsFoY_dqWn0Xag
Have a read at that, mite help.
Sent from my HTC Desire
jmcclue said:
http://www.google.ie/url?sa=t&sourc...35n2CA&usg=AFQjCNEPzzSqlgqVMhPWLsFoY_dqWn0Xag
Have a read at that, mite help.
Click to expand...
Click to collapse
That thread ends :
the phone is now with the repair guys for next 2 weeks
Click to expand...
Click to collapse
So I flashed RUU_Bravo_Froyo_HTC_WWE_2.29.405.5_Radio_32.49.00.32U_5.11.05.27_release_159811_signed.exe and now it works - sort of
It now boots but still has no access to the sdcard.
Menu > Settings > SD & phone storage
shows SD card total/available space as "Unavailable" and the options to mount / format greyed out.
Lol sry, there is a link at the end too, i had a quick read at it and theres something saying about unlocking the sdcard so i thought maybe u have the same problem. Have look again and click the other link at the bottom, it explains more.
Sent from my HTC Desire
jmcclue said:
Lol sry, there is a link at the end too, i had a quick read at it and theres something saying about unlocking the sdcard so i thought maybe u have the same problem. Have look again and click the other link at the bottom, it explains more.
Click to expand...
Click to collapse
Sorry - I fail to find anything new there. All I find is the same instructions
Code:
fastboot oem enableqxdm 0
...
OKAY [ 0.096s]
finished. total time: 0.096s
fastboot oem eraseconfig
...
(bootloader) Erase config: complete
OKAY [ 0.097s]
finished. total time: 0.097s
And then your sdcard will be mounted.
It might be mounted right at that second but when I go into recovery / reboot it defiantly isn't.
Anyone got any ideas ?
Have now made a mtd0.img with this site. I am using RUU_Bravo_Froyo_HTC_WWE_2.29.405.5_Radio_32.49.00.32U_5.11.05.27_release_159811_signed so used 2.29.405.5 for the ROM version. Uploaded both it and the file flash_image from this post :
Code:
adb push flash_image /data
adb push mtd0.img /data
adb shell
chmod u+x /data/flash_image
/data/flash_image misc /data/mtd0.img
That all went as planned but I am still left without a mountable sd card.
Is my Desire borked ?
dik23 said:
Is my Desire borked ?
Click to expand...
Click to collapse
Ok guys, thanks for all your help but I think I may have just answered my own question.
I've just noticed that it's not just the sd card it won't recognise. It's the SIM card too. This says to me that I've got a hardware rather than software issue here.
Sorry for wasting anyone's time. I need my phone for work calls and have not thought about inserting the SIM into a phone that doesn't work properly.
Again - thanks for your help here. Anyone know how much I can get for a spares / repairs Desire on the open market ?
I have a droid incredible that I recently found out how to unlock and I would like to flash a ROM but on the offical thread that I followed I unlocked it but when I got to the recovery part when it asked me to list devices it didn't show any And I'm not able to do the rest of the stuff either thanks for the help
Sent from my SGH-T989
Trozzul said:
I have a droid incredible that I recently found out how to unlock and I would like to flash a ROM but on the offical thread that I followed I unlocked it but when I got to the recovery part when it asked me to list devices it didn't show any And I'm not able to do the rest of the stuff either thanks for the help
Sent from my SGH-T989
Click to expand...
Click to collapse
You need to install and setup the adb drivers on your pc. http://unrevoked.com/rootwiki/doku.php/public/windows_hboot_driver_install
cmlusco said:
You need to install and setup the adb drivers on your pc. http://unrevoked.com/rootwiki/doku.php/public/windows_hboot_driver_install
Click to expand...
Click to collapse
are you talking about the sdk usb drivers?
Trozzul said:
are you talking about the sdk usb drivers?
Click to expand...
Click to collapse
Not exactly, the drivers in the link are modified from the ones in the sdk. If installed correctly with the phone plugged in, under device manager there will be an android bootloader interface entry.
i followed your guide up to the downgrading point and didnt work. i tried this thread too http://androidforums.com/incredible...ow-unlock-downgrade-achieve-s-off-htcdev.html and i get this
C:\Android>adb shell
$ su
su
# cd /data/local
chmod 0755 /data/local/flash_imagecd /data/local
#
chmod 0755 /data/local/flash_image
# cd /data/local
./flash_image misc /sdcard/mtd0.imgcd /data/local
#
./flash_image misc /sdcard/mtd0.img
mtd: read all-zero block at 0x00000000; skipping
mtd: not writing bad block at 0x00080000
error writing misc: No space left on device
#
i have plenty of space on here. does it require more than 2gb?
Trozzul said:
i followed your guide up to the downgrading point and didnt work. i tried this thread too http://androidforums.com/incredible...ow-unlock-downgrade-achieve-s-off-htcdev.html and i get this
C:\Android>adb shell
$ su
su
# cd /data/local
chmod 0755 /data/local/flash_imagecd /data/local
#
chmod 0755 /data/local/flash_image
# cd /data/local
./flash_image misc /sdcard/mtd0.imgcd /data/local
#
./flash_image misc /sdcard/mtd0.img
mtd: read all-zero block at 0x00000000; skipping
mtd: not writing bad block at 0x00080000
error writing misc: No space left on device
#
i have plenty of space on here. does it require more than 2gb?
Click to expand...
Click to collapse
I belive what its saying is your misc partition is fubar. This means your partition tables are jacked, and the phone is essentially soft-bricked.
so what do i do? i am still able to use it
Trozzul said:
so what do i do? i am still able to use it
Click to expand...
Click to collapse
It is probably physically broken. You can try to flash an ruu and see if it takes, but im thinking a needed portion of your flash memory has been damaged or corrupted beyond repair.
I saw ruu on how to unlock the bootloader. I have tired looking it up but nothing comes up .
Trozzul said:
I saw ruu on how to unlock the bootloader. I have tired looking it up but nothing comes up .
Click to expand...
Click to collapse
Download and place this file http://dinc.does-it.net/Stock_Images/4.08.605.15/PB31IMG.zip on your sdcard in no folders, do not rename it. Then boot to hboot (vol down + power), it should find the file and prompt you to press vol up to install. If it dosent find the file, you may need to reformat the sdcard fa32 and then try again.
Thanks I'll try this tomorrow hope it works! I just only want to flash a ROM I think the stock is very ugly
Sent from my SGH-T989
alright i have done what you asked do i try the part i was stuck on again? (and btw what did that file do?)
Trozzul said:
alright i have done what you asked do i try the part i was stuck on again? (and btw what did that file do?)
Click to expand...
Click to collapse
That was the latest ruu (rom update utility), it is ment to redo the entire phone and put it like it was fresh out of the box. If it fixed the phone you should be able to boot to the os like norrmal. Did it flash ok, any errors?
No errors worked perfectly
Trozzul said:
No errors worked perfectly
Click to expand...
Click to collapse
So the phone is working?
yes but it looks like no more root do i start over now?
Trozzul said:
yes but it looks like no more root do i start over now?
Click to expand...
Click to collapse
Yes are you s-off? If not you need to unlock the bootloader again.
I lied about it working apps wont open update or install i can open the playstore and i was unlocked befor but didnt have s-off i thought i was getting the that part in the thread
Nevermind about the apps i reset the phone and its fine. Sorry im not that bright...
Trozzul said:
Nevermind about the apps i reset the phone and its fine. Sorry im not that bright...
Click to expand...
Click to collapse
Yeah you need to unlock again by fastboot flashing the unlock_token they sent you before. You can follow this guide http://forum.xda-developers.com/showthread.php?t=1506258.
So i'm a noobie. I mean i have some experience (rooted and installed many ROMS like my Nexus One device, i know, ancient) but i got all that information and knowledge on here! So my mom is using this HTC ONE X that she just received and i want to be nice and root it and remove all the bloatware on it and what not. After so many struggles of unlocking the bootloader and all things that fall under rooting the device i was able to FINALLY gain root permission but for some reason i couldn't permanently delete the apps on there like i have in the past with other phones. So, i decided to try flashing a ROM. So i Google'd, YouTube'd and tried to come across the best one i could find. Found a Lollipop Rom somewhere (probably made a mistake on which phone it was for), followed the instructions but didn't backup anything (i know, i know, noob move #1) but it would get stuck on then HTC Quietly Briliant screen (oh and before that, i had a HUGE amount of trouble with the phone using ADB and it being recognized, flashing recoveries and booting into them, it was just a hassle!). I also flashed Clockworkmod at one poit to try and fix things but i was able to get back on TWRP V2.5.0 (tried a higher version but it did not work) so now my phone connects easily to my pc and i pretty much know how to use adb fastboot commands and get into recovery and sideload ROMs but, after many, many attempts at trying to install different ROMs, none work. It'll either stay on the HTC Quietly Briliant screen or won't install and i'll get a message in ADB Sideload:
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Warning: No file_contexts
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/s
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at
unmountof system failed; no such volume
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/s
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at
unmountof system failed; no such volume
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/s
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at
unmountof system failed; no such volume
script succeeded: result was [0.200000]
Updating partitio details...
E:Unable to mount '/cache'
Formatting Cache using mke2fs...
Done .
Updating partition details...
Wiping Dalvik and Cache Directories....
--Dalvik Cache Directories Wipe Complete!
Also, came across this on a different site:
Here's the solution.
The problem was that I managed to screw up the partitions on my internal storage card, so basically nothing would work properly. I could still get into recovery, though. That's key.
Here's what you'll need:
1 Working recovery, basic knowledge of adb & the shell
2 Parted (download here)
3 stock PB31IMG.zip
Note also that I had run unrevoked forever (so my phone was S-OFF) ... I'm not sure if that's required or not.
So, grab parted from the link above. Now you need to extract the individual binaries from the .zip (the 6 files in the sdparted folder within the zip), ideally to your android-sdk\tools directory. Now push all 6 files (adb push [file] /sbin/). Next, we need to make them useable, so go into the shell (adb shell). Change to your /sbin/ directory, and run: chmod 0755 <file> on each of the 6 files.
Now, we need to fix the partitions. This is assuming that the partitions are there, just the wrong format (which is what happened to me .. I accidentally made them FAT32 instead of ext). So, run the following: parted /dev/block/mmcblk0 mkfs ext2. It will ask if you want to continue, hit yes. When it asks for the partition number, enter 1. Next, when it asks for the format, enter ext2. Let it do its thing. Now, once it's done, run parted again. This time, enter partition 2 (everything else is the same).
Click to expand...
Click to collapse
So i thought this may be my problem but then as i get to the parted /dev/block/mmcblk0 mkfs ext2 part of the steps I get stuck because it says something like i can't overlap partitions?
So here i am, desperate for help, trying to fix my mothers phone. Sorry, if i'm not clear enough, i tried my best to recall everything i did (kind of hard after hours and hours of trying multiple things for multiple problems) and all that i've come across without being too specific on things that may not matter (hopefully?). So can anyone help? Please, guide me!
babymatrix said:
So i'm a noobie. I mean i have some experience (rooted and installed many ROMS like my Nexus One device, i know, ancient) but i got all that information and knowledge on here! So my mom is using this HTC ONE X that she just received and i want to be nice and root it and remove all the bloatware on it and what not. After so many struggles of unlocking the bootloader and all things that fall under rooting the device i was able to FINALLY gain root permission but for some reason i couldn't permanently delete the apps on there like i have in the past with other phones. So, i decided to try flashing a ROM. So i Google'd, YouTube'd and tried to come across the best one i could find. Found a Lollipop Rom somewhere (probably made a mistake on which phone it was for), followed the instructions but didn't backup anything (i know, i know, noob move #1) but it would get stuck on then HTC Quietly Briliant screen (oh and before that, i had a HUGE amount of trouble with the phone using ADB and it being recognized, flashing recoveries and booting into them, it was just a hassle!). I also flashed Clockworkmod at one poit to try and fix things but i was able to get back on TWRP V2.5.0 (tried a higher version but it did not work) so now my phone connects easily to my pc and i pretty much know how to use adb fastboot commands and get into recovery and sideload ROMs but, after many, many attempts at trying to install different ROMs, none work. It'll either stay on the HTC Quietly Briliant screen or won't install and i'll get a message in ADB Sideload:
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Warning: No file_contexts
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/s
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at
unmountof system failed; no such volume
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/s
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at
unmountof system failed; no such volume
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/s
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at
unmountof system failed; no such volume
script succeeded: result was [0.200000]
Updating partitio details...
E:Unable to mount '/cache'
Formatting Cache using mke2fs...
Done .
Updating partition details...
Wiping Dalvik and Cache Directories....
--Dalvik Cache Directories Wipe Complete!
Also, came across this on a different site:
So i thought this may be my problem but then as i get to the parted /dev/block/mmcblk0 mkfs ext2 part of the steps I get stuck because it says something like i can't overlap partitions?
So here i am, desperate for help, trying to fix my mothers phone. Sorry, if i'm not clear enough, i tried my best to recall everything i did (kind of hard after hours and hours of trying multiple things for multiple problems) and all that i've come across without being too specific on things that may not matter (hopefully?). So can anyone help? Please, guide me!
Click to expand...
Click to collapse
When you install some rom are you flash the boot.img with the command fastboot flash boot boot.img where the boot.img is taken from rom archive where you install and puted in your fastboot folder
Thant said:
When you install some rom are you flash the boot.img with the command fastboot flash boot boot.img where the boot.img is taken from rom archive where you install and puted in your fastboot folder
Click to expand...
Click to collapse
Initially on the first rom i remember doing so (still didn't work), but after that i did fail to do it for the other roms.
babymatrix said:
So i'm a noobie. I mean i have some experience (rooted and installed many ROMS like my Nexus One device, i know, ancient) but i got all that information and knowledge on here! So my mom is using this HTC ONE X that she just received and i want to be nice and root it and remove all the bloatware on it and what not. After so many struggles of unlocking the bootloader and all things that fall under rooting the device i was able to FINALLY gain root permission but for some reason i couldn't permanently delete the apps on there like i have in the past with other phones. So, i decided to try flashing a ROM. So i Google'd, YouTube'd and tried to come across the best one i could find. Found a Lollipop Rom somewhere (probably made a mistake on which phone it was for), followed the instructions but didn't backup anything (i know, i know, noob move #1) but it would get stuck on then HTC Quietly Briliant screen (oh and before that, i had a HUGE amount of trouble with the phone using ADB and it being recognized, flashing recoveries and booting into them, it was just a hassle!). I also flashed Clockworkmod at one poit to try and fix things but i was able to get back on TWRP V2.5.0 (tried a higher version but it did not work) so now my phone connects easily to my pc and i pretty much know how to use adb fastboot commands and get into recovery and sideload ROMs but, after many, many attempts at trying to install different ROMs, none work. It'll either stay on the HTC Quietly Briliant screen or won't install and i'll get a message in ADB Sideload:
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Warning: No file_contexts
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/s
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at
unmountof system failed; no such volume
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/s
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at
unmountof system failed; no such volume
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/s
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at
unmountof system failed; no such volume
script succeeded: result was [0.200000]
Updating partitio details...
E:Unable to mount '/cache'
Formatting Cache using mke2fs...
Done .
Updating partition details...
Wiping Dalvik and Cache Directories....
--Dalvik Cache Directories Wipe Complete!
Also, came across this on a different site:
So i thought this may be my problem but then as i get to the parted /dev/block/mmcblk0 mkfs ext2 part of the steps I get stuck because it says something like i can't overlap partitions?
So here i am, desperate for help, trying to fix my mothers phone. Sorry, if i'm not clear enough, i tried my best to recall everything i did (kind of hard after hours and hours of trying multiple things for multiple problems) and all that i've come across without being too specific on things that may not matter (hopefully?). So can anyone help? Please, guide me!
Click to expand...
Click to collapse
hello babymatrix, i'm wondering if you were able to solve or find a solution to your issue. The reason i'm asking is because i'm on the same boat right now and looking for way to fix a similar issue as yours.
basically, i got a phone with a broken partition like yours. I can still go to recovery but you'll see this message and cannot mount system. I also cannot go into fastboot mode (it hangs when i do a power+vol down)
E: failed to mount block devices /dev/block/mmcblk1p1
E: remount block devices /dev/block/mmcblk1
E: failed to mount /sdcard (No such file or directory)
From searching the net, i figured there's something wrong with the partitioning of the phone. I managed to do adb shell and i could see there's a folder sdcard.
nway, if you've managed to find a solution for your issues, i hope if you could share. thanks.