Cannoth boot.img. - HTC One X

When I try to flash a boot.img in fastboot (on mac) it says the title

xi0nic said:
When I try to flash a boot.img in fastboot (on mac) it says the title
Click to expand...
Click to collapse
Make sure the file is actually called "boot.img" and nothing else with no new extensions etc...

eyosen said:
Make sure the file is actually called "boot.img" and nothing else with no new extensions etc...
Click to expand...
Click to collapse
Does it really say "Cannoth"?
Anyway, apart from has been mentioned before (spelling counts!)
You also want to make sure that the boot.img file is located in the SAME directory as fastboot.exe. It's the easiest way to flash the file.
Otherwise when you execute the flash command, you are going to need to specify the path to the boot.img file: flashboot flash boot c:\path\to\file\boot.img or something like that.
I don't use a Mac but the principle explained above still applies.

Related

[Q] How to downgrade my radio?

I updated my radio but not quite happy with the result. I try the PD98IMG.zip method, but the bootloader tells me that the zip is corrupted and no flash process starts.
I am not quote sure what kind of s-off sI have, but the phone was rooted the old way, no htc unlock.
The first line reads
Ace PVT SHIP S-oFF RL
Is it safe to try the Windows fastboot method.
deckoff said:
Ok, I want to replace the radio II have, and I follow this instructions, but the flash process will not strat, fastboot says the img is invalid.
My question is - do I have to rename the zip I downloade, of the extracted img itself. I did it a few weeks ago but I cannot remmeber how I did it ??
I am downgrading!
Click to expand...
Click to collapse
if the zip file you download contains the .img file and and .txt file. then yes, rename it PD98IMG.zip and put that in the root of your sdcard. Make sure that md5sum checks....flashing radios is a delicate thing.
For further help use the guide in my signature...
checksum is OK, I tried, but no txt file ??
I saw it mentioned once, but cant find a link to it, what does it have to contain, encoding, etc?
The txt file was the problem, I had to add it. Here it is for anyone who might need it.
deckoff said:
checksum is OK, I tried, but no txt file ??
I saw it mentioned once, but cant find a link to it, what does it have to contain, encoding, etc?
Click to expand...
Click to collapse
It contains the update script...find in the guide in my signature that there is one PD98IMG.zip empty folder....put the radio .img file in there and do a normal compress....then flash it in the bootloader as mentioned.
glevitan said:
It contains the update script...find in the guide in my signature that there is one PD98IMG.zip empty folder....put the radio .img file in there and do a normal compress....then flash it in the bootloader as mentioned.
Click to expand...
Click to collapse
Yeah, I managed to flash I just added the script for anyone trying to go my route, since all radios come zipped, but do not contain the txt file
PS Zips made on ubuntu will refuse to flash, ??
deckoff said:
Yeah, I managed to flash I just added the script for anyone trying to go my route, since all radios come zipped, but do not contain the txt file
PS Zips made on ubuntu will refuse to flash, ??
Click to expand...
Click to collapse
um...maybe the wrong compression in the zip file...it has to be normal compression.
glevitan said:
um...maybe the wrong compression in the zip file...it has to be normal compression.
Click to expand...
Click to collapse
Most probably, cos just dropping the txt file there will be no problems.

Looking for Android v4.0 ROM

Hello,
I am looking for original ROM Android version 4.0 or something.
I was searching it but I didn't found.
Actually I have 4.1.1 and I need older version because have to check how will be work my dock station (HTC CR S650) with older versions.
http://forum.xda-developers.com/showthread.php?t=1975140
Sent from my HTC One X using xda premium
drali500 said:
http://forum.xda-developers.com/showthread.php?t=1975140
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Thanks mate.
I don't understand step #5. What does it mean "copy the boot.img in the folder that you prefer"?
1- Go into Recover (CWM) and Mount USB
2- Now From your PC create a folder in the root of the storage and call it "clockworkmod"
3- In the "clockworkmod" folder create another folder named "backup"
4- Extract the .zip file in that folder (do not change the name of the folder extracted cause it could give md5sum problems)(also the folder name must not have any space between words)
5- Before continuing on the phone, open that folder from the pc and copy the boot.img in the folder that you prefer
6- Reboot phone into Fastboot mode and flash the boot.img by typing
Code:
fastboot flash boot path/to/boot.img
7- Reboot the phone into Recovery again
8- Go to Backup & Restore> restore> and here choose the folder previously extracted, and that's it
ZaKooN said:
Thanks mate.
I don't understand step #5. What does it mean "copy the boot.img in the folder that you prefer"?
1- Go into Recover (CWM) and Mount USB
2- Now From your PC create a folder in the root of the storage and call it "clockworkmod"
3- In the "clockworkmod" folder create another folder named "backup"
4- Extract the .zip file in that folder (do not change the name of the folder extracted cause it could give md5sum problems)(also the folder name must not have any space between words)
5- Before continuing on the phone, open that folder from the pc and copy the boot.img in the folder that you prefer
6- Reboot phone into Fastboot mode and flash the boot.img by typing
Code:
fastboot flash boot path/to/boot.img
7- Reboot the phone into Recovery again
8- Go to Backup & Restore> restore> and here choose the folder previously extracted, and that's it
Click to expand...
Click to collapse
That means to copy it in a folder from which you will perform step 6. To make your life easier, I usually copy it in the same folder where I keep fastboot and adb files.
In that case you should only type:
fastboot flash boot boot.img
Click to expand...
Click to collapse
Good luck! :good:
[email protected]|-|oR said:
That means to copy it in a folder from which you will perform step 6. To make your life easier, I usually copy it in the same folder where I keep fastboot and adb files.
In that case you should only type:
Good luck! :good:
Click to expand...
Click to collapse
And when I want to back to my original Android (had made nand backup) I just doing the same but with mine files?
ZaKooN said:
And when I want to back to my original Android (had made nand backup) I just doing the same but with mine files?
Click to expand...
Click to collapse
Which nandroid you have?
4.1.1?
If so, then yes, repeat the procedure once again with your bakup to return to Jelly Bean.
One more thing, make sure that the nandroid you download is named with date and time (something like "2013-01-28.08.49.48"), otherwise you will face md5 issue. There is a solution for that, too, but I don't know if you would do it.
---------- Post added at 12:18 PM ---------- Previous post was at 12:10 PM ----------
Here you are, the full explanation is HERE.
In particular check this explanation:
What if i get MD5 Mismatch?
type in teminal:
Code:
adb shell
# cd /sdcard/clockworkmod/backup/Name_of_the_nandbackup_folder
# rm nandroid.md5
# md5sum *img > nandroid.md5
Click to expand...
Click to collapse
[email protected]|-|oR said:
Which nandroid you have?
4.1.1?
If so, then yes, repeat the procedure once again with your bakup to return to Jelly Bean.
One more thing, make sure that the nandroid you download is named with date and time (something like "2013-01-28.08.49.48"), otherwise you will face md5 issue. There is a solution for that, too, but I don't know if you would do it.
---------- Post added at 12:18 PM ---------- Previous post was at 12:10 PM ----------
Here you are, the full explanation is HERE.
In particular check this explanation:
Click to expand...
Click to collapse
Damn I downloaded it but there is MAC OSX folder...
Look on the image, it is correct or I have to find another ROM?
ZaKooN said:
Damn I downloaded it but there is MAC OSX folder...
Look on the image, it is correct or I have to find another ROM?
Click to expand...
Click to collapse
It looks alright. You have your cache, data, and system partitions in it.
And, I was right - you will get MD5 mismatch, for sure! So, you will have to follow the instruction that I indicated before.
If it doesn't work, or you are having problems, keep your current boot.img handy, and give it a try. You can always revert to your previous state.
What is in this Mac OS folder?
[email protected]|-|oR said:
It looks alright. You have your cache, data, and system partitions in it.
And, I was right - you will get MD5 mismatch, for sure! So, you will have to follow the instruction that I indicated before.
If it doesn't work, or you are having problems, keep your current boot.img handy, and give it a try. You can always revert to your previous state.
What is in this Mac OS folder?
Click to expand...
Click to collapse
There is file: nandroid.md5
So I should keep the boot.img file in that folder?
ZaKooN said:
There is file: nandroid.md5
So I should keep the boot.img file in that folder?
Click to expand...
Click to collapse
If you copy boot.img files into your "fastboot" folder, then it's easier to type the command. Instead of:
fastboot flash boot c:/user/somebody/something/.../folder/boot.img
Click to expand...
Click to collapse
all you do is type:
fastboot flash boot boot.img
Click to expand...
Click to collapse
Less possibility for error.
You can place both boot.img files to this folder, only name them in a way you can recognize them in future (boot_my.img and boot_old.img, for example).
I would also check if nandroid.md5 is the same as the one in parent folder. But, anyhow, you will have to adjust your md5, I'm sure of it.
[email protected]|-|oR said:
If you copy boot.img files into your "fastboot" folder, then it's easier to type the command. Instead of:
all you do is type:
Less possibility for error.
You can place both boot.img files to this folder, only name them in a way you can recognize them in future (boot_my.img and boot_old.img, for example).
I would also check if nandroid.md5 is the same as the one in parent folder. But, anyhow, you will have to adjust your md5, I'm sure of it.
Click to expand...
Click to collapse
I am flashed new ROM but in options still have 4.1.1 version, just see the telephone was return to fabric options
ZaKooN said:
I am flashed new ROM but in options still have 4.1.1 version, just see the telephone was return to fabric options
Click to expand...
Click to collapse
Search for "2.17.xxx.xx" nandroid. That is ICS ROM (4.0.3 or 4.0.4).
[email protected]|-|oR said:
Search for "2.17.xxx.xx" nandroid. That is ICS ROM (4.0.3 or 4.0.4).
Click to expand...
Click to collapse
Damn Why you didn't wrote it earlier?
Downloading now and we will see
ZaKooN said:
Damn Why you didn't wrote it earlier?
Downloading now and we will see
Click to expand...
Click to collapse
I thought you knew what you're doing
No worries, just be patient, and keep your battery charged! :good:
AW: Looking for Android v4.0 ROM
Why did you open 2 threads for this?
Sent from my HTC One X using xda app-developers app
psyko93 said:
Why did you open 2 threads for this?
Click to expand...
Click to collapse
I think he ffirst opened one in Original Development forum, where he was advised to ask for help elsewhere. Then he opened this thread, and then mods moved his first thread here.
You are right, one of them should be closed/deleted.
[email protected]|-|oR said:
I think he ffirst opened one in Original Development forum, where he was advised to ask for help elsewhere. Then he opened this thread, and then mods moved his first thread here.
You are right, one of them should be closed/deleted.
Click to expand...
Click to collapse
Okay new ROM is flashed but I can't insert PIN code because of screen didn't react on touch, just power button is working
ZaKooN said:
Okay new ROM is flashed but I can't insert PIN code because of screen didn't react on touch, just power button is working
Click to expand...
Click to collapse
Try going back to fastboot and typing:
fastboot erase cache
Click to expand...
Click to collapse
After that go to recovery, and do wipe dalvik cache. Reboot. See if it works.
[email protected]|-|oR said:
Try going back to fastboot and typing:
After that go to recovery, and do wipe dalvik cache. Reboot. See if it works.
Click to expand...
Click to collapse
Nope, still the same situation
ZaKooN said:
Nope, still the same situation
Click to expand...
Click to collapse
Hmmmm, mate, I don't know about this.
Could you try flashing back your own nandroid and see if that's the ROM, or something else?

Speed bump in Rooting process...

Hey guys, I am in the process of rooting my evo 4g using this method http://htcevohacks.com/htc-evo-hacks/how-to-root-htc-evo-4g-on-hboot-2-18-with-s-off/ since I have 2.18 hboot version. I have unzipped all the files from RootEvo4GNew, and the file recovery-RA-supersonic-v2.3.img does not have the .img extension on it when I unzip it to the correct folder, and when I try to flash that in the cmd prompt it says
unknown partition 'recovery-RA-supersonic-v2.3.img'
error: cannot determine image filename for 'recovery-RA-supersonic-v2.3.img
I am assuming it can't find the file because it doesn't have the extendion .img on it once extracted. Any ideas? The icon next to the file looks like a zip file and can't be opened by 7zip
See it looks like a winzip file instead of a image file
Ok so I uninstalled winzip and now just have 7zip and it now shows the file as an .img file but I am still getting the same error message when in the command prompt. What am I doing wrong? Here's another image to show you what I mean
furrycnorm said:
Ok so I uninstalled winzip and now just have 7zip and it now shows the file as an .img file but I am still getting the same error message when in the command prompt. What am I doing wrong? Here's another image to show you what I mean
Click to expand...
Click to collapse
Download one of these,it has install instructions and a few different custom recoveries to choose from,creds to Smelkus of course..... http://forum.xda-developers.com/showthread.php?t=2171460
Diablo67 said:
Download one of these,it has install instructions and a few different custom recoveries to choose from,creds to Smelkus of course..... http://forum.xda-developers.com/showthread.php?t=2171460
Click to expand...
Click to collapse
I downloaded and followed instructions, isn't working for me. It looks like the phone doesn't see the file when in bootloader, not sure if I renamed it right.
furrycnorm said:
I downloaded and followed instructions, isn't working for me. It looks like the phone doesn't see the file when in bootloader, not sure if I renamed it right.
Click to expand...
Click to collapse
Follow this http://windows.microsoft.com/en-US/windows-vista/show-or-hide-file-name-extensions to make sure the file extensions show correctly, and make sure you didn't dupe the extension.
sent from a jb ROM..... cause I'm likely testing.
Wambo_Bomb said:
Follow this http://windows.microsoft.com/en-US/windows-vista/show-or-hide-file-name-extensions to make sure the file extensions show correctly, and make sure you didn't dupe the extension.
sent from a jb ROM..... cause I'm likely testing.
Click to expand...
Click to collapse
Thanks for the advice, I think this may work as I did have one extension duped. Problem is when I run the recovery it says it's an older version than what I already have installed and asks if I want to restart the device. I also still can't get the phone to flashboot recovery recovery-RA-supersonic-v2.3.img and it still says unrecognized partition in the command prompt. Is there a way to flash this from the sc card or anything else you can think of to try?
furrycnorm said:
Thanks for the advice, I think this may work as I did have one extension duped. Problem is when I run the recovery it says it's an older version than what I already have installed and asks if I want to restart the device. I also still can't get the phone to flashboot recovery recovery-RA-supersonic-v2.3.img and it still says unrecognized partition in the command prompt. Is there a way to flash this from the sc card or anything else you can think of to try?
Click to expand...
Click to collapse
Are you trying to fastboot flash the recovery .img file to your phone? If so you need to use the command "fastboot flash recovery *insert file name here*" (without quotation marks or asterisks). The recovery img file has to be in your ADB tools folder, alstherwise, put the recovery PC36IMG.zip file in the root folder of your SD card, make sure it's named PC36IMG.zip with no extra .zip extension, and reboot your bootloader. Follow the on-screen prompts to update your recovery.
Sent from my EVO using xda premium
FinZ28 said:
Are you trying to fastboot flash the recovery .img file to your phone? If so you need to use the command "fastboot flash recovery *insert file name here*" (without quotation marks or asterisks). The recovery img file has to be in your ADB tools folder, alstherwise, put the recovery PC36IMG.zip file in the root folder of your SD card, make sure it's named PC36IMG.zip with no extra .zip extension, and reboot your bootloader. Follow the on-screen prompts to update your recovery.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
wow I am retarded, my problem the whole time was that I was typing this:
fastboot flash recovery-RA-supersonic-v2.3.img
when I should have typed this:
fastboot flash recovery recovery-RA-supersonic-v2.3.img
Thank you so much for the help, on to the next step and hopefully this works!
Ok, successfully rooted with s-off! I have read through all the guides, and am still a bit confused because most of them are from 2010 and 2011. I need to flash a rom that will work with metro-pcs. Can you guys help me with which steps I need to take? I tried to download metrodroid v4 but the download link isn't working. Will aall of the roms in this thread work with metro pcs or do I need a specific one? http://forum.xda-developers.com/showthread.php?t=2318070
Also, once I have a rom flashed, do I have to go in to a metro pcs store to get it activated (I do not currently have a metro pcs account or other metro phone) or can I get the esn activated online or by calling there 800 number?

[TUTORIAL] Install ROM via sideload

I know most of you already know this, but it may help others because this is very usefull for installing kitkat.
It's a pain to copy an 1,2 GB ROM to internal storage, so sideloading (installing from PC) it's lot easier and faster.
So here's the trick.
Copy the zip you want to install in "adb" folder (archiev attached)
Reboot phone in recovery mode
Optional - do your wipes
If you have CMW
Go to install zip -> install zip from sideload
If you have TWRP
Go to advanced -> ADB sideload
connect the USB cable and run START.cmd
type "adb devices" to check if your phone is recognized and connected (skip if you know everything it's ok)
type "adb sideload kitkat.zip" (replace kitkat with zip's name)
Notes:
Ofc you need USB drivers
Ive tried that a couple times but always i get a "cannot read kitkat.zip" thing, any idea why?
Sent from my LG-E975 using XDA Premium 4 mobile app
mastor10 said:
Ive tried that a couple times but always i get a "cannot read kitkat.zip" thing, any idea why?
Click to expand...
Click to collapse
Umm... Did you replace "kitkat.zip" with the actual name of your zip file (or rename your zip to "kitkat.zip")? I know it might be a very stupid question, but I can only read your post, not your mind...
kt-Froggy said:
Umm... Did you replace "kitkat.zip" with the actual name of your zip file (or rename your zip to "kitkat.zip")? I know it might be a very stupid question, but I can only read your post, not your mind...
Click to expand...
Click to collapse
Of course man, all of the roms ive flashed was through sideload
mastor10 said:
Of course man, all of the roms ive flashed was through sideload
Click to expand...
Click to collapse
Make a screenshot of what you're doing and error you get, this way will be easier for both.
roscatel said:
Make a screenshot of what you're doing and error you get, this way will be easier for both.
Click to expand...
Click to collapse
there you go
i changed the name to zip but norhing happens
mastor10 said:
there you go
i changed the name to zip but norhing happens
Click to expand...
Click to collapse
First, there is no way for a rom to use ".rar" extension. After, error means that the file couldn't be read (missing or corrupted). Also you may try my method which doesn't need android SDK, so there is no complications with wrong paths or such.
roscatel said:
First, there is no way for a rom to use ".rar" extension. After, error means that the file couldn't be read (missing or corrupted). Also you may try my method which doesn't need android SDK, so there is no complications with wrong paths or such.
Click to expand...
Click to collapse
yes i know, but in there the rom is in rar http://forum.xda-developers.com/showthread.php?t=2762171
so i changed the rar to zip, also i downloaded the file 3 times and the same happens, ill try with your adb and see
also the others zips i flash through sideload from sdk works just fine, only in this rom i get the error
edit, nope the same happens
mastor10 said:
yes i know, but in there the rom is in rar http://forum.xda-developers.com/showthread.php?t=2762171
so i changed the rar to zip, also i downloaded the file 3 times and the same happens, ill try with your adb and see
also the others zips i flash through sideload from sdk works just fine, only in this rom i get the error
edit, nope the same happens
Click to expand...
Click to collapse
Look at the screen I've attached. Are you sure your zip it's not the same have you checked it? I've highlighted the rom itself.
roscatel said:
Look at the screen I've attached. Are you sure your zip it's not the same have you checked it? I've highlighted the rom itself.
Click to expand...
Click to collapse
this is what i download
https://drive.google.com/uc?id=0BxtwB2oE42pDNFJsaGJ3ODNkWGM&export=download
from the topic i mention above, its the same, i rename it to a smaller name though
mastor10 said:
this is what i download
https://drive.google.com/uc?id=0BxtwB2oE42pDNFJsaGJ3ODNkWGM&export=download
from the topic i mention above, its the same, i rename it to a smaller name though
Click to expand...
Click to collapse
Ok then simply extract "VDT-V20..." from that archieve. That's the zip you have to install via sideload!
roscatel said:
Ok then simply extract "VDT-V20..." from that archieve. That's the zip you have to install via sideload!
Click to expand...
Click to collapse
this is whats inside the zip i download
mastor10 said:
this is whats inside the zip i download
Click to expand...
Click to collapse
It looks to me that your screenshot is showing contents of a ZIP inside a RAR. What @roscatel means, you should extract the ZIP from the RAR that you downloaded -- it's actually an archive packed inside another archive. After that, flash the ZIP you just extracted using any method (sideload, or from recovery as usual). Do NOT rename RAR to ZIP -- it doesn't make sense, and will most definitely NOT work.
kt-Froggy said:
It looks to me that your screenshot is showing contents of a ZIP inside a RAR. What @roscatel means, you should extract the ZIP from the RAR that you downloaded -- it's actually an archive packed inside another archive. After that, flash the ZIP you just extracted using any method (sideload, or from recovery as usual). Do NOT rename RAR to ZIP -- it doesn't make sense, and will most definitely NOT work.
Click to expand...
Click to collapse
hi my pc known my device but when i write adb sideload ...zip foul (stand) 0% and i watting 15 minuts for process but nothing happening . plz help me . my device is xperia tx.. plzzzzzzzzzzzzz
install the last TWRP (flash it via bootloader), same process by opening commande window in the folder (shift+right click: then open command) and tiping command: fastboot flash recovery (name of the file).img (like that: exemple: fastboot flash recovery lastTWRP.img)
it autorize MTP transfer, so you cas access your internal storage and copy the zip file
or retrieve backups from your phone
I'm using and side load on my lge
LM-x210MA an I keep getting these different errors do I need to flash more than a twrp.imf what about sys.img root.img root-boot.img this is all a lot to take in as a first timer go easy I'm not trolling just trying to learn

Request for all fastboot commands needed to flash Anfroid P manually.

When trying to run flash-all bat file, am getting error regarding some missing sig files which are already there. Could anyone help with all the fastboot commands needed to flash all img files individually?
Just look in the bat file?
Sent from my Pixel XL using Tapatalk
The bat file only has the command to flash the whole zip file. I was looking for the one that does individual files in that one manually.
harihacker said:
When trying to run flash-all bat file, am getting error regarding some missing sig files which are already there. Could anyone help with all the fastboot commands needed to flash all img files individually?
Click to expand...
Click to collapse
Are you getting errors or file not present?
You can flash them with separate commands like fastboot flash system system.img, etc. Just make sure to flash everything correctly with correct commands. The flash all is just to make it easier on you and save time. Here's a link to a helpful site.
https://android.gadgethacks.com/how...actory-images-android-using-fastboot-0175277/

Categories

Resources