hey all trying to install the new firmware and im getting the following message when going into download mode:
file /mnt/media_rw/ext_sd/opjaimg.zip file not found
any idea?
thedoctorp said:
hey all trying to install the new firmware and im getting the following message when going into download mode:
file /mnt/media_rw/ext_sd/opjaimg.zip file not found
any idea?
Click to expand...
Click to collapse
It's normal. Download mode is looking for an RUU file. With the M9 RUU are flashed from the SD-card.
You have to rename the ruu.zip to opjaimg.zip then when you boot to download mode it detects the zip and you can flash it from the phone without fastboot. I don't know if the same can be done with just a firmware.zip. though.
Sent from my HTC One M9 using Tapatalk
Danny201281 said:
It's normal. Download mode is looking for an RUU file. With the M9 RUU are flashed from the SD-card.
You have to rename the ruu.zip to opjaimg.zip then when you boot to download mode it detects the zip and you can flash it from the phone without fastboot. I don't know if the same can be done with just a firmware.zip. though.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
where I want to edit this file?
thedoctorp said:
where I want to edit this file?
Click to expand...
Click to collapse
What file are you trying to flash? Is it firmware or a complete RUU?
Sent from my HTC One M9 using Tapatalk
Danny201281 said:
What file are you trying to flash? Is it firmware or a complete RUU?
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
firmware da fastboot
thedoctorp said:
firmware da fastboot
Click to expand...
Click to collapse
It seems you can flash it from the SD card. Copy the firmware to your an SD card. Then rename it OPJAIMG.zip.
Put the sd-card in your phone and reboot to download mode. It should detect the zip. Then press Volume up to start the flash
Sent from my HTC One M9 using Tapatalk
Danny201281 said:
It seems you can flash it from the SD card. Copy the firmware to your an SD card. Then rename it OPJAIMG.zip.
Put the sd-card in your phone and reboot to download mode. It should detect the zip. Then press Volume up to start the flash
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
great!!! thx
it work!!!
another question,
You know how to flash a .img files taken from inside the firmware file
thedoctorp said:
great!!! thx
it work!!!
another question,
You know how to flash a .img files taken from inside the firmware file
Click to expand...
Click to collapse
You mean like boot.img and recovery.img right?
You need to use fastboot for that.
Put the .img file I your fastboot folder on your PC. And put phone to Download mode.
Code:
fastboot flash recovery recovery.img
Code:
fastboot flash boot boot.img
Although any .img from the firmware will have been flashed when you flashed the firmware.zip
Sent from my HTC One M9 using Tapatalk
Danny201281 said:
You mean like boot.img and recovery.img right?
You need to use fastboot for that.
Put the .img file I your fastboot folder on your PC. And put phone to Download mode.
Code:
fastboot flash recovery recovery.img
Code:
fastboot flash boot boot.img
Although any .img from the firmware will have been flashed when you flashed the firmware.zip
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
I have to flash tp_MXM11876.img that is flashed whit firmware
thedoctorp said:
I have to flash tp_MXM11876.img that is flashed whit firmware
Click to expand...
Click to collapse
If it was in the firmware.zip you flashed then yes it should be.
Related
hello so am trying to flash ARHD 6.0.0 to my one x, i did unlock the bootloader and flashew CMW touch into my handset.
the only thing i dont know how is how do i flash the boot.img?
everybody saying dont flash it using CMW then how the hell can i flash it?
pls super noob here and i dont know what to do
Fastboot flash boot boot.img
Instructions are provided in most rom and kernel threads.
You need to use fastboot commands from your pc, for example:
fastboot flash boot what_ever_your_file_is_named.img
Sent from my HTC One X using Tapatalk 2
sorry but still i dont understand!?
i have this boot.img file sitting on my desktop. what should i do with it?
"fastboot commands from your pc"
exactly, how should i do this?
sorry for my ignorance but i dont have any experience in these matters.
cant i just flash the boot.img through CMW?
Hamoor said:
"fastboot commands from your pc"
exactly, how should i do this?
sorry for my ignorance but i dont have any experience in these matters.
Click to expand...
Click to collapse
put the boot.img in the same folder your fastboot files are on your pc, then boot into your bootloader on your phone.
pick fastboot, connect your usb so it becomes fastboot usb
in the cmd prompt on your pc type fastboot flash boot boot.img
or download this program http://forum.xda-developers.com/showthread.php?t=1634786 (courtesy of team hex)
put your boot.img in the boot.img folder
put your phone into fastboot usb
then run the program and pick flash boot.img
If you don't get it then you shouldn't have unlocked the phone in the first plce until you read up on adb/fastboot
EddyOS said:
If you don't get it then you shouldn't have unlocked the phone in the first plce until you read up on adb/fastboot
Click to expand...
Click to collapse
This exactly.
Sent from my Xoom using XDA Premium HD app
EddyOS said:
If you don't get it then you shouldn't have unlocked the phone in the first plce until you read up on adb/fastboot
Click to expand...
Click to collapse
This.
I wish more people would actually read and understand what they're doing before they start doing it. If you unlock/root your phone you NEED to know how to restore any changes you make, this usually means you need to know how to use ADB, the Recovery console and the Bootloader (the bare minimum of things you need to know).
If you don't know how to use any of these things stop whatever it is you're doing. It most likely wont end well.
You should really read up on things. Until we get soff you won't be able to flash kernels etc through cwm. Regarding adb and fastboot try reading this http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/.
Sent from my HTC One X using Tapatalk 2
after flashing the boot.img... after i do that then wat should i do? boot directly into recovery n flash the rom or reboot and then enter recovery n then flash rom?
I have special files for flashing boot.img into the phone. Later I will attach the .zip with instructions.
Sent from my HTC One X using XDA
vaderx10minipro said:
I have special files for flashing boot.img into the phone. Later I will attach the .zip with instructions.
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
Using batch files to make flashing IMG faster is all well and good but learning to do it yourself is the only way to really be safe with what you're doing.
Sent from my HTC One X using XDA Premium HD app
EddyOS said:
If you don't get it then you shouldn't have unlocked the phone in the first plce until you read up on adb/fastboot
Click to expand...
Click to collapse
In order to unlock via HTCDev you need to flash the .bin file via fastboot so he must have some idea of how to use it!
treebill said:
Using batch files to make flashing IMG faster is all well and good but learning to do it yourself is the only way to really be safe with what you're doing.
Sent from my HTC One X using XDA Premium HD app
Click to expand...
Click to collapse
I've tried this batch file many times, it rescued me from bootloops and softbricks.
Instructions:
Download the .rar file
Open it and extract to desktop
Place the boot.img in the folder ( boot.img flasher.rar > boot.img flasher )
Reboot ur phone in fastboot mode ( adb reboot bootloader )
Run the batch/sh file for ur OS
Flash the ROM
Enjoy!
http://forum.xda-developers.com/showpost.php?p=27941920&postcount=10
VaderSKN said:
I've tried this batch file many times, it rescued me from bootloops and softbricks.
Instructions:
Download the .rar file
Open it and extract to desktop
Place the boot.img in the folder ( boot.img flasher.rar > boot.img flasher )
Reboot ur phone in fastboot mode ( adb reboot bootloader )
Run the batch/sh file for ur OS
Flash the ROM
Enjoy!
Click to expand...
Click to collapse
You're a life saver. Thanks a lot
phoenix15976 said:
You're a life saver. Thanks a lot
Click to expand...
Click to collapse
No problem
Hamoor said:
hello so am trying to flash ARHD 6.0.0 to my one x, i did unlock the bootloader and flashew CMW touch into my handset.
the only thing i dont know how is how do i flash the boot.img?
everybody saying dont flash it using CMW then how the hell can i flash it?
pls super noob here and i dont know what to do
Click to expand...
Click to collapse
hi
when u download the boot.img given it comes with a tool and u can use it and it is very easy to flash the boot.img with this infact i use this always im not all that good with comands:good::laugh:
Hello!
I am on Stock ROM, and i received an OTA update (3.14.707.24). But when i tried installing it, it boots in CWM and gives me an error.
Will it work if i chose the update file with the CWM option: "Install from a zip file" ?
If it´s not possible, do i have to relock bootloader only? or i have to remove CWM as well?
Thanks!
You must be on stock recovery
Sent from my HTC One X using xda app-developers app
Thanks! Do you know where do i get the original recovery? I have an unbranded phone.
The list of rom are available at :
http://www.filefactory.com/f/7cc7b2fbdd03c031/
credits goes to Football for uploading these files
Flame0n said:
The list of rom are available at :
http://www.filefactory.com/f/7cc7b2fbdd03c031/
credits goes to Football for uploading these files
Click to expand...
Click to collapse
Sorry, but im a bit confused.
I understand that the link you provided is for ROM´s, but what i need is the original recovery. Is it the only way to get the official recovery?
My phone Cid, is HTC_044 unbranded, so i narrowed the list to these.. wich suits me best?
RUU_ENDEAVOR_U_ICS_40_S_hTC_Asia_WWE_2.17.707.3_Radio_2.1204.135.20_release_278245_signed.exe
RUU_ENDEAVOR_U_ICS_40_S_hTC_Asia_WWE_2.14.707.3_Radio_2.1204.123.18_release_270370_signed.exe
RUU_ENDEAVOR_U_ICS_40_hTC_Asia_WWE_1.29.707.11_Radio_1.1204.105.14_release_260743_signed.exe
RUU_ENDEAVOR_U_ICS_40_hTC_Asia_WWE_1.28.707.10_Radio_1.1204.103.14_release_257076_signed.exe
RUU_ENDEAVOR_U_ICS_40_hTC_Asia_WWE_1.26.707.2_Radio_1.1204.90.13_release_251281_signed.exe
RUU_ENDEAVOR_U_ICS_40_hTC_Asia_SEA_WWE_1.29.728.12_Radio_1.1204.105.14_release_261350_signed.exe
RUU_ENDEAVOR_U_ICS_40_hTC_Asia_SEA_WWE_1.28.728.9_Radio_1.1204.103.14_release_256493_signed.exe
RUU_ENDEAVOR_U_JB_45_S_hTC_Asia_WWE_3.14.707.24_Radio_5.1204.162.29_release_296434_signed.exe
Anybody?
Here!
malakoid said:
Anybody?
Click to expand...
Click to collapse
Those are RUU's u dont need that .
U need the stock recovery
Download from here
http://forum.xda-developers.com/showpost.php?p=30863908&postcount=1
I think im getting closer to a solution and understanding the process.
I dont have a backup of the recovery, so i must download the original firmware like Flameon said.
The problem is that the links are for premium filefactory users, so im stuck there. =(
Assuming you have a fasboot folder on your computer with adb tools just download the stock recovery.img file from above and put it into the same folder, right click the folder icon and open the command prompt, then type:
Fasboot flash recovery recovery.img
Fastboot erase cache
Fastboot reboot
Sent from my HTC One X using xda app-developers app
My sister has bought a one x with a custom rom already installed (LeeDroid) and it is quite an old version. With the one x do you need to Flash something before the rom itself? And what would happen if I only install the rom? Thanks
dav08094194 said:
My sister has bought a one x with a custom rom already installed (LeeDroid) and it is quite an old version. With the one x do you need to Flash something before the rom itself? And what would happen if I only install the rom? Thanks
Click to expand...
Click to collapse
Yes with HOX till we get s-off, v must flash the boot.img of that rom...without it the rom wont boot..!!
Hope that helps..!!
:good:
kskendsup said:
Yes with HOX till we get s-off, v must flash the boot.img of that rom...without it the rom wont boot..!!
Hope that helps..!!
:good:
Click to expand...
Click to collapse
Ok. Would that be a .md5 file or would it be located in the rom.zip ?
dav08094194 said:
Ok. Would that be a .md5 file or would it be located in the rom.zip ?
Click to expand...
Click to collapse
No no no...thats not a md5 file...its called
boot.img
Click to expand...
Click to collapse
thats all...just extract that to fastboot folder and flash it with the below command
Code:
fastboot flash boot boot.img
:good:
It would be located in the downloaded file (ROM)
kskendsup said:
No no no...thats not a md5 file...its called thats all...just extract that to fastboot folder and flash it with the below command
Code:
fastboot flash boot boot.img
:good:
It would be located in the downloaded file (ROM)
Click to expand...
Click to collapse
Ok so it involves the use of fastboot? Always hated it lol. No other way?
dav08094194 said:
Ok so it involves the use of fastboot? Always hated it lol. No other way?
Click to expand...
Click to collapse
Take a look here..download this tool and it will help automate the process...just follow the steps...!!
http://forum.xda-developers.com/showthread.php?t=1924003
Hope it helps..!!:good:
Can I remove the twrp recovery?
Because I can't update my phone using twrp recovery I want to get back from stock recovery. Thanks
Sent from my HTC_M8x
up
Flash the stock recovery. And "up" it within 10 minutes of posting ? Its not a paid helpdesk you know ! Have some patience please
blackjack1942 said:
Can I remove the twrp recovery?
Because I can't update my phone using twrp recovery I want to get back from stock recovery. Thanks
Sent from my HTC_M8x
Click to expand...
Click to collapse
You have the OTA downloaded, but can't flash it I presume?
Transfer the OTA download to your PC and open it with 7zip (it's free).
Find the firmware.zip and unzip it. Extract the recovery.img from that, put it into your fastboot folder and hook up your phone. fastboot flash recovery recovery.img
xunholyx said:
You have the OTA downloaded, but can't flash it I presume?
Transfer the OTA download to your PC and open it with 7zip (it's free).
Find the firmware.zip and unzip it. Extract the recovery.img from that, put it into your fastboot folder and hook up your phone. fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Where's the location of ota? Thanks anyway
Sent from my HTC_M8x
blackjack1942 said:
Where's the location of ota? Thanks anyway
Sent from my HTC_M8x
Click to expand...
Click to collapse
Downloads folder on the internal storage
xunholyx said:
You have the OTA downloaded, but can't flash it I presume?
Transfer the OTA download to your PC and open it with 7zip (it's free).
Find the firmware.zip and unzip it. Extract the recovery.img from that, put it into your fastboot folder and hook up your phone. fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Hello,
Sorry to but in; If you flash the OTA recovery img onto a phone that has not been updated to that OTA will there be any issues with the phone booting up?
In other words if my phone is on v 1.19 with TWRP and I flash the recovery img from the OTA for v1.19 --> 1.20 will there be a problem?
What happens if you flash the entire firmware.zip for OTA v1.19 --> 1.20?
Does S-ON, S-Off play a role here?
Thank you
Hi all
Really stuck at the moment
My CID is HTC_001 and I'm on version 2.41.401.3? (S-ON)
I'm trying to flash the latest oreo firmware however I can't either find the correct RUU to do it, on top of that I'm trying the flash (I think the right file?_) via SD card however I don't have one and people are mentioned using a command prompt which confused me more.
Please help ! If you can provide links to the RUU or the correct file I'm meant to flash I'd appreciate it
Edit:
Solved - Answer on page two!
Rammen44 said:
Hi all
Really stuck at the moment
My CID is HTC_001 and I'm on version 2.41.401.3? (S-ON)
I'm trying to flash the latest oreo firmware however I can't either find the correct RUU to do it, on top of that I'm trying the flash (I think the right file?_) via SD card however I don't have one and people are mentioned using a command prompt which confused me more.
Please help ! If you can provide links to the RUU or the correct file I'm meant to flash I'd appreciate it
Click to expand...
Click to collapse
Check out this thread. Read the first couple of posts on how to proceed and if you have any questions use search.
Rammen44 said:
Hi all
Really stuck at the moment
My CID is HTC_001 and I'm on version 2.41.401.3? (S-ON)
I'm trying to flash the latest oreo firmware however I can't either find the correct RUU to do it, on top of that I'm trying the flash (I think the right file?_) via SD card however I don't have one and people are mentioned using a command prompt which confused me more.
Please help ! If you can provide links to the RUU or the correct file I'm meant to flash I'd appreciate it
Click to expand...
Click to collapse
The easiest way for someone who doesn't want to take the time to learn how things work would be to download this Nougat RUU
https://androidfilehost.com/?w=files&flid=241133
To flash RUU:
Rename the file to 2PS6IMG.zip
Place on Ex SD CARD
boot to download mode
Press vol up to flash.
RUU will erase internal storage. Once RUU has flashed boot your phone and take the OTA to OREO. After your phone has taken the OTA flash the latest twrp then flash leedroid Oreo ROM.
The reason I suggest this way instead of flashing firmware is because your going to have to wipe data anyway and by flashing an RUU you have a clean start.
yldlj said:
The easiest way for someone who doesn't want to take the time to learn how things work would be to download this Nougat RUU
To flash RUU:
Rename the file to 2PS6IMG.zip
Place on Ex SD CARD
boot to download mode
Press vol up to flash.
RUU will erase internal storage. Once RUU has flashed boot your phone and take the OTA to OREO. After your phone has taken the OTA flash the latest twrp then flash leedroid Oreo ROM.
The reason I suggest this way instead of flashing firmware is because your going to have to wipe data anyway and by flashing an RUU you have a clean start.
Click to expand...
Click to collapse
Hi, thanks for the advice. The issue I'm having is I don't have access to an SD card so I'm trying to flash via ADB sideload in TWRP however I'm now met with zip file invalid in TWRP.
Rammen44 said:
Hi, thanks for the advice. The issue I'm having is I don't have access to an SD card so I'm trying to flash via ADB sideload in TWRP however I'm now met with zip file invalid in TWRP.
Click to expand...
Click to collapse
You can't flash it with twrp. You can use htc_fastboot and flash from RUU mode.
yldlj said:
You can't flash it with twrp. You can use htc_fastboot and flash from RUU mode.
Click to expand...
Click to collapse
Awesome okay, so I've booted in RUU mode however on the command prompt when I try to flash I'm met with target reported max download size of 157920000, invalid sparse file format at header magic. Can you advise?
Again thanks for the help
Edit: Screen grab of the error I'm met with https://imgur.com/a/WtP5wsq
Rammen44 said:
Awesome okay, so I've booted in RUU mode however on the command prompt when I try to flash I'm met with target reported max download size of 157920000, invalid sparse file format at header magic. Can you advise?
Again thanks for the help
Edit: Screen grab of the error I'm met with https://imgur.com/a/WtP5wsq
Click to expand...
Click to collapse
You need htc_fastboot
yldlj said:
You need htc_fastboot
Click to expand...
Click to collapse
How do I go about getting htc_fastboot?
Rammen44 said:
How do I go about getting htc_fastboot?
Click to expand...
Click to collapse
Use the thing called google. Better yet just get a SD card
yldlj said:
You need htc_fastboot
Click to expand...
Click to collapse
Hi never mind I'm in Fastboot now, I'll try install the zip above
yldlj said:
Use the thing called google. Better yet just get a SD card
Click to expand...
Click to collapse
I'm sorry about the questions,.
yldlj said:
Use the thing called google. Better yet just get a SD card
Click to expand...
Click to collapse
yldlj said:
You can't flash it with twrp. You can use htc_fastboot and flash from RUU mode.
Click to expand...
Click to collapse
Thank you for your help!
If anyone wants to know what I did to get back to stock so I could download Oreo
Downloaded Fastboot/ADB(Use this guide) https://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378
Enabled USB debugging on the phone
Download HTC_Fastboot (Google it)
Download the Zip yldlj posted (Only if you are the same CID as me, the check this go onto the app store and find CID checker and then look on XDA for appropriate zip)
Put the download zip into the same folder as ADB/HTC_Fastboot/Fastboot folder. Rename it ota.zip
In the folder where you've extracted the ADB/Fastboot/ hold Ctrl Shift Right click open command window here
Connect your phone via USB
Set your phone onto download mode
From there I used the command htc_fastboot oem rebootRUU
Once loaded into RUU Mode use the command htc_fastboot flash zip ota.zip
Once that was complete I was back to stock Android N which then enables me to update to Oreo
BANG
Fixed
Thank you everyone for your help. If you get stuck I'll try my best to help you
Rammen44 said:
Thank you for your help!
If anyone wants to know what I did to get back to stock so I could download Oreo
Downloaded Fastboot/ADB(Use this guide) https://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378
Enabled USB debugging on the phone
Download HTC_Fastboot (Google it)
Download the Zip yldlj posted (Only if you are the same CID as me, the check this go onto the app store and find CID checker and then look on XDA for appropriate zip)
Put the download zip into the same folder as ADB/HTC_Fastboot/Fastboot folder. Rename it ota.zip
In the folder where you've extracted the ADB/Fastboot/ hold Ctrl Shift Right click open command window here
Connect your phone via USB
Set your phone onto download mode
From there I used the command htc_fastboot oem rebootRUU
Once loaded into RUU Mode use the command htc_fastboot flash zip ota.zip
Once that was complete I was back to stock Android N which then enables me to update to Oreo
BANG
Fixed
Thank you everyone for your help. If you get stuck I'll try my best to help you
Click to expand...
Click to collapse
Glad you sorted it :good:
yldlj said:
The easiest way for someone who doesn't want to take the time to learn how things work would be to download this Nougat RUU
https://androidfilehost.com/?w=files&flid=241133
To flash RUU:
Rename the file to 2PS6IMG.zip
Place on Ex SD CARD
boot to download mode
Press vol up to flash.
RUU will erase internal storage. Once RUU has flashed boot your phone and take the OTA to OREO. After your phone has taken the OTA flash the latest twrp then flash leedroid Oreo ROM.
The reason I suggest this way instead of flashing firmware is because your going to have to wipe data anyway and by flashing an RUU you have a clean start.
Click to expand...
Click to collapse
will it work on S-On too?
Ahmed Xperia p said:
will it work on S-On too?
Click to expand...
Click to collapse
Yes a signed ruu will work with s-on.
Mr Hofs said:
Yes a signed ruu will work with s-on.
Click to expand...
Click to collapse
i'm S-on and currently on leedroid. Sprint HTC10
Can i downgrade to Nougat this way since AFAIK it's not possible with S-on?
thanks and sorry for too many questions
Ahmed Xperia p said:
i'm S-on and currently on leedroid. Sprint HTC10
Can i downgrade to Nougat this way since AFAIK it's not possible with S-on?
thanks and sorry for too many questions
Click to expand...
Click to collapse
1: you need the ruu that matches your main version OS which can be found in the download mode
2: if you are on leedroid oreo means you have a oreo firmware and in that case you can not "just" flash a nougat ruu. Check the guides section, there is a downgrade dedicated thread with all the needed information