How to extract a RUU to get the nbh file? - HTC Excalibur

I want to extract the HTC_S620_WWE_1.27.405.1_4.1.13.44_02.94.90_Ship.exe in order to get the EXCAIMG.nbh file.
The means? To copy it to a FAT32 formatted SD, plug it to the phone in bootloader mode and see if it works!

1- Install win rar
2- Extract the file
Voila
.NBH has been created

buttrwp said:
1- Install win rar
2- Extract the file
Voila
.NBH has been created
Click to expand...
Click to collapse
You been diggin in the garveyard, watch out you wake the dead

tryed
I try using winrar and its not working

It is easy:
run the update (no need to connect the device)
wait for the unpack and first prompt
go to your temp directory (XP: <profile>\Local Settings\Temp\
find the latest created directory (some temporary name)
get the nbh from there.

tobbbie said:
It is easy:
run the update (no need to connect the device)
wait for the unpack and first prompt
go to your temp directory (XP: <profile>\Local Settings\Temp\
find the latest created directory (some temporary name)
get the nbh from there.
Click to expand...
Click to collapse
and how to extract in windows 7 64bit?

Solution
mobileclinic_14 said:
and how to extract in windows 7 64bit?
Click to expand...
Click to collapse
Go to
c:\users\<your user's name>\AppData\Local\Temp
Check thru date the last created directory
Don't forget to open first the update.
If you can't see the AppData directory, you need to change the folders settings to see hidden system files.
regards

Related

how to exctract Jasjar Rom 13179_130164_10900.exe

i got this rom from ftp xda dev
how to extract it? and upgrade with MaUpgradeUt_noID.exe
thanks
Open it with winrar
louisboo said:
i got this rom from ftp xda dev
how to extract it? and upgrade with MaUpgradeUt_noID.exe
thanks
Click to expand...
Click to collapse
Extract with winrar.
Use nk.nbf, ms.nbf and radio.nbf. use all or just use the .nbf that you want to upgrade. put them into the same directory (folder) as your MaupgradeUt_noID as just run it.
Before that tho' put your phone on bootloader mode and connect to pc
via usb cable.
zaheer said:
Extract with winrar.
Use nk.nbf, ms.nbf and radio.nbf. use all or just use the .nbf that you want to upgrade. put them into the same directory (folder) as your MaupgradeUt_noID as just run it.
Before that tho' put your phone on bootloader mode and connect to pc
via usb cable.
Click to expand...
Click to collapse
i know how to upgrade my dopod with tmobile rom and MaupgradeUt_noID, only in jasjar rom my winrar no selection exctract file here.
what u winrar version?
use winrar 3.61! You can run this then go to temp folder to search the files!
yingzhou said:
use winrar 3.61! You can run this then go to temp folder to search the files!
Click to expand...
Click to collapse
Thanks, problem solved.

Need Help Extracting a CAB File From A .EXE File

I wanted to extract a CAB file from a windows .exe file. How can I do it? I wanted to extract the CAB file for easy installation without running it from my computer.
cktlcmd said:
I wanted to extract a CAB file from a windows .exe file. How can I do it? I wanted to extract the CAB file for easy installation without running it from my computer.
Click to expand...
Click to collapse
Very easy,
launch the executable from your pc without the ppc connected to the pc.
Activesync will be launched, it will try to connect to the device and will say that the application will be installed next time the ppc will connect.
Go into c:\program files\microsoft activesync\[application]
you will get your cab file
Then
go into registry HKLM\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect
and remove the value : CEAppMgr
Cheers,
.Fred
dotfred said:
Very easy,
launch the executable from your pc without the ppc connected to the pc.
Activesync will be launched, it will try to connect to the device and will say that the application will be installed next time the ppc will connect.
Go into c:\program files\microsoft activesync\[application]
you will get your cab file
Then
go into registry HKLM\SOFTWARE\Microsoft\Windows CE Services\AutoStartOnConnect
and remove the value : CEAppMgr
Cheers,
.Fred
Click to expand...
Click to collapse
Thanks very much.
is it possible to do the extraction on ppc without the pc
AbuYahya said:
is it possible to do the extraction on ppc without the pc
Click to expand...
Click to collapse
Since the executable is a PC application, I don't think you can except if you know exactly where the cab file begins and ends in the setup. I think the simpliest thing to do is what I mentioned.
Cheers,
.Fred
CAB extract
you can also extract CAB files from EXEs using WinRar.
Just right click on the A.EXE file and you will see *extract* (if you don't see this option, then you can't extract the file - I had this problem with MS Voice Command 1.6)
Once the A.EXE has been extracted to your desired folder on the desktop PC, you can then find the CAB file and simply copy this to your PPC (without having to use anything like ActiveSync or installing any software on to your desktop PC). Run the CAB file on your PPC to install.
I hope the above helps!
firstbuddha said:
you can also extract CAB files from EXEs using WinRar.
Just right click on the A.EXE file and you will see *extract* (if you don't see this option, then you can't extract the file - I had this problem with MS Voice Command 1.6)
Once the A.EXE has been extracted to your desired folder on the desktop PC, you can then find the CAB file and simply copy this to your PPC (without having to use anything like ActiveSync or installing any software on to your desktop PC). Run the CAB file on your PPC to install.
I hope the above helps!
Click to expand...
Click to collapse
or you can run the exe with the ppc connected ,make sure that you have a sd card in the device.the promp comes up asking were you want to install the app, do nothing,got start, file explorer and browse to; windows\appmgr [in the ppc] and your cab file will be there in a folder,simply copy to another location.then go back and cancel the installation
just a thought, the ppc application might be installed in its own folder in program files not necessarily the activesync folder so u'd find the cab file there..
I always extract files from a CAB file with WinCE CAB Manager to make the installation easier and make the application install to Whichever folder I want.But some files of the applications must be put into some folders,such as \Windows,\Appliction Data.And I will know what the installaion do to the registry.
I found it impossible to extract a CAB file from a windows .exe file on PPC,and extract files from a CAB file without installation on PPC is also impossible.
Howto extract Cab. file from EXẸ file in linux
Bcause I am now using linux laptop(fedora6). So does anyone know which app in linux can extract CAB. file from EXE file ?
gerisgame said:
So does anyone know which app in linux can extract CAB. file from EXE file ?
Click to expand...
Click to collapse
Just use the cabextract utility.
I can not extract EXE file by using cabextract
I try cabextract tool, but this tool only extract .CAB file, it can not use for extract .EXE file. What I want is a tool in linux can extract an windows .EXE install file to .CAB file so that I can install ppc software directly from my linux machine. Any suggestion? THX advanced.
extract PPC CAB in Linux
It's not a 100% pure Linux solution, but this works for me. I have tested this on my Edgy Eft Ubuntu box. I don't know if it will be the same on Fedora, but it should be similar.
Get the latest Wine install from winehq.org. I got rid of my old .wine folder to make sure I was using a clean install, so you shouldn't have to do any additional installs or tweaks to wine.
Disclaimer: Don't expect this to work for actual syncing, only for getting the CAB files.
Get a copy of ActiveSync and install it under wine. I tried versions 3.0 and 4.2 and both worked. The version 4.2 installer failed at the end trying to update some USB drivers, but the files were all there and worked.
Again using wine, run your PPC installer program that you want the CAB from.
Like earlier posts in this thread pointed out, the CABS should end up in a subfolder of C:/Program Files/Microsoft ActiveSync. On my system, these are under my .wine/drive_c folder.
Good luck,
Andy
thank you Andy,
I will try in my fedora and post the result as well.
OK, I saw cab files it in ./wine/Microsoft Activesync folder. Thank again Andy.
extract .cab in linux -
synce.org , orange tools
gerisgame -- I'm glad it worked for you! If you don't mind compiling from source, the Orange tools kevit specified work without all the Wine/ActiveSync business.
kevit -- Thanks for your comment about Orange tools. I had been over at the synce.org but never saw them.
Once I had the right libraries, they built cleanly and work like a charm on the files I've tried.
Andy
Orange and synce
Thank you both Kevit and Andy, I will try that way. If it works, it is more straight and better way.
I try Orange tool in my fedora laptop, but it does not work, belows is my command line:
[[email protected] Pocket2005]$ orange pqdvd.exe
-------
0 files
I can not find a documentation for orange tool, pls help. THX
I thought that pqDVD was a regular desktop application.
If so, orange tools probably won't help. pqDVD may install and run under wine, though.

extract rom.zip from Sprint ruu

I am having a helluva time getting the .exe to extract. Keeps saying damaged or unknown file format.
RUU_Supersonic_1.32.651.1_Radio_1.39.00.04.26_release_171253
Need it because the regular way to update and unroot is not working for me, and need to just flash from the recovery menu. Any help would be appreciated.
Tried 7zip and winrar
linflas said:
I am having a helluva time getting the .exe to extract. Keeps saying damaged or unknown file format.
RUU_Supersonic_1.32.651.1_Radio_1.39.00.04.26_release_171253
Need it because the regular way to update and unroot is not working for me, and need to just flash from the recovery menu. Any help would be appreciated.
Tried 7zip and winrar
Click to expand...
Click to collapse
try this.
goto your temp folder.
ex. win 7: C:\Users\CYBERxNUKE\AppData\Local\Temp
and make sure all your programs are closed and delete all your temp files.
Run the RUU program, and once its up and running on your screen, go back to your temp folder....
C:\Users\CYBERxNUKE\AppData\Local\Temp
look for a new folder created there.
without closing the RUU, copy the entire folder over to a safe place and exit the RUU.
you should have what you need.
Stock RUU Roms http://bit.ly/c1jNWR

Can OTA be changed to RUU

Can an OTA be changed to RUU?
This "OTA_Ace_Gingerbread_S_HTC_WWE_2_36_405_8_R-1_32_405_6_release_187434em4h8vxqx0xssxyf.zip"
have a higher build no then existing RUU.
It was build after some had trouble with WiFi and SMS and so on with first Gingerbread release.
Any way to convert this OTA to RUU?
steinom
No.
OTA updates are .zip files (installed fro your phone) and the RUU is an .exe (you run from your computer)
That's sure but what I meant is if I unzip file and compile exe file of it, will that work? (or is it any wat to get it work)
Or will it then miss other file as RUU.exe have?
audiavant said:
That's sure but what I meant is if I unzip file and compile exe file of it, will that work? (or is it any wat to get it work)
Or will it then miss other file as RUU.exe have?
Click to expand...
Click to collapse
no it wont work. just download the RUU from the development section.
Change the p98img.zip to rom.zip
start the ruu, get to the check version screen then alt tab to the desktop, open my computer or windows explorer, navigate to your temp folder (should be in users/(your user name)/appdata/roaming (*NOTE*) and you'll find two folders with long hex numbers in { } in one of them you'll find a few more folders and one will contain rom.zip
overwrite the one in the temp folder with the newer one that you renamed.
then go back to the installer, click "check version" and continue with the install.
NOTE: The temp folder location might be a little different depending on which version of windows you're running, you can also find its exact location in my computer proprerties under "environment variables" in the advanced tab. I personally have changed the TEMP and TMP values to C:\Windows\Temp\ on my machine to have things centralized as Im the only user of my machine.

[HOW TO] Extract Rom.zip From RUU

Extracting ROM files from HTC RUU
Official HTC ROM updates are released as RUU (ROM Update Utility), which you run on your (Windows) PC to get the target device updated automatically.
Some of the big brains in the Android community release RUUs re-packaged into signed update files,
which in turn allow for whatever ROM customization you can imagine.
In this how to I will explain how to extract ROM files from a RUU image,
which you can then customize and use to flash your device without the fear of a new bootloader possibly making your device unrootable.
Requirements :
Windows PC,
Microsoft Process Monitor,
File Archiver capable of extracting ZIP files(eg, 7ZIP),
Official HTC RUU for your Android device.
The process of extracting ROM files from a RUU is really straightforward.
The idea behind it is that the self-contained update utility first needs to unpack the update payload into a temporary folder before pushing it onto the device.
This is when we grab the ROM file...
1. download the official RUU
2. start Process Monitor.
3. press CTRL+L
4. change "Architecture" to "Process Name"
5. leave the "is" field as it is
6. in the empty field copy and paste the name of your
RUU file (eg, RUU_Ace_Sense30_S_HTC_WWE_3.12.405.1_Radio_12.65.60.29_26.14.04.28_M_release_225512_signed.exe)
7. click "Add"
8. change "Process Name" to "Path"
9. change "is" to "Contains"
10. in the blank field type "rom.zip" (without quotes)
11. click add
Click "OK" to set the filter and then run the RUU file.
Once the utility starts switch back to Process Monitor and look for an entry in the "Path" column that ends with "\rom.zip".
Right click on that line and select "Jump to..."
this will open a Windows Explorer window in the folder which contains the zipped ROM files
Copy the "rom.zip" file to some other folder, outside of the temp RUU folder tree (eg, desktop)
Once copied, close Process Monitor and the RUU utility.
The copied "rom.zip" file contains the following files:
android-info.txt - list of CIDs this RUU will flash to,
boot.img - root file system image,
hboot (followed by a version string) - boot-loader update,
radio.img - radio driver update,
recovery.img - recovery partition image,
splash1_Hero_320x480.nb0 - boot loader splash image,
system_rel.img - system partition image,
userdata.img - data partition image.
You can now, among many other things, root the ROM
and then flash the updated boot.img and all the other image files on to your device using Recovery​
it doesnt work... the process monitor colum is all blank after running RUU... there are no processes listed
munnibhai said:
it doesnt work... the process monitor colum is all blank after running RUU... there are no processes listed
Click to expand...
Click to collapse
you mst be doing something wrong i double checked the method and it still works fine for me..
make sure your environment is set up correctly and run everything as administrator or disadle uac in windows..
thanks for the reply, let me check it again...
i will post back to u
rom.zip corrupted
I followed the directions and like another post in here procmon shows a blank screen. I went to task manager and opened processes and saw when it ran then clicked open file location and found it. I did this twice and both zips are corrupt. (used winzip)
error [D:\android apps\EVO root\EVO\rom.zip]: start of central directory not found; Zip file corrupt.
Possible cause: file transfer error
when I close the RUU all the files in that folder disappear so you have to leave the RUU running while you copy the zip file or it's gone.
At least that's what I saw.
update to last post
I found a zip repair tool and was able to repair and extract the 1.10.653.2 RUU rom capture. I will have to try to run it later. If anyone gets corrupted zip error, Zip Repair pro will repair it.
To get the rom zip without any errors just run the ruu.exe file, when the box with a picture of a phone pops up, click start on pc, type in "run" and click on run then in that box that pops up, type in %temp% and click ok. Another window pops up then just scroll down to the most recent folder and rom.zip will be in there, if not it will be in the next folder.
Hi,
when I try to open the rom.zip I get an error message, it just said it cannot open with 7zip and with windows it says its invalid.
I tried downloading the RUU multiple times but still the same error. I rune the RUU as administrator.
Tried copying it over to different locations and then open it.
RUU_ENRC2B_U_JB_45_O2_UK_1.14.206.13_Radio_3.1204.167.31_release_289474_signed
HTC ONE X+
Thank you
Update:
I used Zip Repair Pro.. however there is no boot.img inside the repaired zip -_-
For those which have problem with making Process Monitor detect RUU temp folder, make sure You add whole file name of RUU including .exe at the end.
Jmcclue's steps, work perfectly, Thank you post #7
htc RUU Rom
Inside 4ndroid said:
Extracting ROM files from HTC RUU
Official HTC ROM updates are released as RUU (ROM Update Utility), which you run on your (Windows) PC to get the target device updated automatically.
Some of the big brains in the Android community release RUUs re-packaged into signed update files,
which in turn allow for whatever ROM customization you can imagine.
In this how to I will explain how to extract ROM files from a RUU image,
which you can then customize and use to flash your device without the fear of a new bootloader possibly making your device unrootable.
Requirements :
Windows PC,
Microsoft Process Monitor,
File Archiver capable of extracting ZIP files(eg, 7ZIP),
Official HTC RUU for your Android device.
The process of extracting ROM files from a RUU is really straightforward.
The idea behind it is that the self-contained update utility first needs to unpack the update payload into a temporary folder before pushing it onto the device.
This is when we grab the ROM file...
1. download the official RUU
2. start Process Monitor.
3. press CTRL+L
4. change "Architecture" to "Process Name"
5. leave the "is" field as it is
6. in the empty field copy and paste the name of your
RUU file (eg, RUU_Ace_Sense30_S_HTC_WWE_3.12.405.1_Radio_12.65.60.29_26.14.04.28_M_release_225512_signed.exe)
7. click "Add"
8. change "Process Name" to "Path"
9. change "is" to "Contains"
10. in the blank field type "rom.zip" (without quotes)
11. click add
Click "OK" to set the filter and then run the RUU file.
Once the utility starts switch back to Process Monitor and look for an entry in the "Path" column that ends with "\rom.zip".
Right click on that line and select "Jump to..."
this will open a Windows Explorer window in the folder which contains the zipped ROM files
Copy the "rom.zip" file to some other folder, outside of the temp RUU folder tree (eg, desktop)
Once copied, close Process Monitor and the RUU utility.
The copied "rom.zip" file contains the following files:
android-info.txt - list of CIDs this RUU will flash to,
boot.img - root file system image,
hboot (followed by a version string) - boot-loader update,
radio.img - radio driver update,
recovery.img - recovery partition image,
splash1_Hero_320x480.nb0 - boot loader splash image,
system_rel.img - system partition image,
userdata.img - data partition image.
You can now, among many other things, root the ROM
and then flash the updated boot.img and all the other image files on to your device using Recovery​
Click to expand...
Click to collapse
this is good working 100% thank you :good:
i_4_u89 said:
this is good working 100% thank you :good:
Click to expand...
Click to collapse
no problem and please instead of saying thanks please remember to hit the thanks button on threads first post..
works great, to bad you cant open the zip file
jpwhre said:
works great, to bad you cant open the zip file
Click to expand...
Click to collapse
You can open the zip. Go back a page n try the way i said.
jmcclue said:
You can open the zip. Go back a page n try the way i said.
Click to expand...
Click to collapse
note path is desktop (last post showed from temp folder) and i still get same results. did some searching and aperantly htc now signs their zip files and they can't be opened anymore. having usb issues that causes fastboot force close errors and need to be able to flash boot.img thru flashify app to return it to stock. ran the htcguru reset rom that uses aroma installer to return to stock that lets me take ota's but i get qualcom location force close and other custom roms give me issues forcing me to reset phone to stock every few days with guru installer. flashing recovery in fastboot is a chore as well. I have s-off and can keep it, but doing fastboot oem lock wont relock the bootloader, even though it shows success in cmd line. i can cid and super cid with fastboot.
it leaves me at a point where i really need to pull everything out of the rom.zip file and it wont open.
pic 1, 7zip wont open archive on desktop
pic 2, how i get recovery to flash
pic 3, results from running RUU
i have to reboot device, set comand to reboot bootloader, set command to flash recovery all faster than phone will do all commands to get it to flash, and RUU doesnt work that fast. i know im on sprint with htc one m7, but google search "extract htc zip" "extract rom.zip" both lead to this thread as top result. no other searches will tell me how to open the archive, except one that resulted in "htc signed zips can no longer be opened"
you're more than welcome to give it a go
http://forum.xda-developers.com/showthread.php?t=2795856 Sprint_HTC_One_m7wls_5.05.651.2_RUU.exe
Did HTC change the way they create the exe? I don't find it, the biggest file is data1.cab file that I can't extract.
I'm trying to extract the stock rom for an ATT HTC One Mini (m4) because RUU keeps crashing on me and won't install. I am also rooted with S-off.
If anybody can help me get the stock m4 rom so I can go back to stock, I would really appreciate it.
SyPete said:
Did HTC change the way they create the exe? I don't find it, the biggest file is data1.cab file that I can't extract.
I'm trying to extract the stock rom for an ATT HTC One Mini (m4) because RUU keeps crashing on me and won't install. I am also rooted with S-off.
If anybody can help me get the stock m4 rom so I can go back to stock, I would really appreciate it.
Click to expand...
Click to collapse
No they didn't change it. Some ruu's use a different format requiring the use of a tool called unruu instead of trying to capture the zip file when using the exe (I just learned this today). I've gone ahead and used unruu and the resulting zips have been put in a single tar file. you can download it from here for about 30 days after which ill have to delete the file. also i dont know which zip has what in it.
hi
master how to open Zip firmware !!?
i want to open zip firmware (PM60IMG.zip Desire 400)with 7zip ! but shows below error :
"can not open file PM60IMG.zip az archive "
how to pass this encryption ?
gandolf007 said:
hi
master how to open Zip firmware !!?
i want to open zip firmware (PM60IMG.zip Desire 400)with 7zip ! but shows below error :
"can not open file PM60IMG.zip az archive "
how to pass this encryption ?
Click to expand...
Click to collapse
https://github.com/kmdm/ruuveal/tree/f4936338f19841c75edafbe7e622242105cb39aa

Categories

Resources