aWizard isn't cooperating -- need help! - 8125, K-JAM, P4300, MDA Vario Software Upgrading

I just got my 8125 yesterday and tried to CID unlock the phone, but aWizard doesn't want to function. I unzipped the aWizard files to C:\awizard\ and triedseveral times. No matter what command I choose in aWizard, I get "The system cannot find the path specified." (See attached screenie.) I also get the same error if using lokiwiz.
BTW, even though it says the procedure is completed, nothing really happened; the program is just failing at what it's doing and completing its run anyway.
I know that the phone is communicating with the PC because I can do all the usual AS things -- sync, copy files, etc. I've tried using different USB ports and sync cables, too, but nothing helps. Existing OS is build 14410.1.1.3.
Any tips?

Have you tried manually installing the "EnableRapi.cab" the phone and then running aWizard or lokiwiz? the file should be on both apps, in aWizard check to make sure it's in the "lib" folder and in lokiwiz it should be extracted in plain sight.

There is no "lib" folder in my aWizard directory (see below), but the file is there, and it's in the lokiwiz directory, too. And, yes, I did copy and run the file on the 8125 as well.
That's what's so weird; I can't figure out why this works so easily for other folks but not for me. It must be something pretty basic, but I can't get it.
masr1979 said:
Have you tried manually installing the "EnableRapi.cab" the phone and then running aWizard or lokiwiz? the file should be on both apps, in aWizard check to make sure it's in the "lib" folder and in lokiwiz it should be extracted in plain sight.
Click to expand...
Click to collapse

Which version of aWizard are you using? the lib folder should be there. Did you download it from this thread?
http://forum.xda-developers.com/viewtopic.php?t=37386&highlight=awizard
Try redownloading it, because the aWizard.cmd is set up to look for the file in the "lib" folder, so try that it should work. Good luck, let me know what happens.
P.S if you want open up the aWizard.cmd or bat file with notepad, press ctrl and f to bring up a search box, and put in enablerapi. Check to see what's the path to the file. If you find this line "lib\cecopy lib\EnableRapi.cab dev:\ >NUL" then hopefully the file being in the wrong place was the problem.

Yup, that's where I got it from -- 1.2b3. If you download the zip file and open it, you'll see that there's no archived folder structure, and the readme doesn't specify how one should be created. What file(s) should show up in the "lib" folder? Maybe I can change the directories and test. Thanks!
EDIT: Yes, that line is in there. So, should I create a directory \lib and put some of the existing files in it? If so, which ones?
masr1979 said:
Which version of aWizard are you using? the lib folder should be there. Did you download it from this thread?
http://forum.xda-developers.com/viewtopic.php?t=37386&highlight=awizard
Try redownloading it, because the aWizard.cmd is set up to look for the file in the "lib" folder, so try that it should work. Good luck, let me know what happens.
Click to expand...
Click to collapse

Hot damn! I made the directory and put all the .dll and .exe files into it, and it appears to have worked!
masr, you rock! Thanks so much!!

Ok glad to hear it bro. For future reference, everything but the aWizard.cmd file should be in the lib folder, though I hope you won't have to use it again for the time being.

Related

initflashfiles.dat -- Help Needed

So I've been playing around for a little while with the intention of creating my own custom ROM. I think I've got everything all figured out - however I'm having a problem that I think is related to the initflashfiles.dat file. Basically, after flashing my new OS ROM, my 8125 hangs at the splash screen with the version numbers on it. As a test, I redid my modified ROM, except I used the original initflashfiles.dat - this worked just fine. Tried it again by building the ROM with my modified initflashfiles.dat - same problem.
Here are the steps I'm going through.
1. Parse out the nk.nbf file using typhoonnbfdecode -x
2. prepare_imgfs 80040000-OS.nb -nosplit
3. viewimgfs imgfs_raw_data.bin
4. Modify contents of dump directory. Basically I've deleted files I don't need and added new ones.
5. Modifiy initflashfiles.dat (which I've attached). After modifying the file I open it in a hex editor and remove the first two bytes - making the first byte 3B (";"). I save it and mark it as read-only.
6. buildimgfs
7. make_imgfs 80040000-OS.nb -nosplit
8. Run nb2nbf_tornado.exe. I do run this correctly, using the correct memory address for the OS .nb file.
9. Put the new nk.nbf into an existing RUU self-extracting archive and run it.
It really seems like it's the initflashfiles.dat file - as I've successfully loaded this ROM with the original file (its really not the original, it's from a summiter ROM that I'm basing mine off).
Any thoughts?
I'm going to bump this once just in case people missed it originally.
I've messed around a bit more, and have pretty much isolated that this is my problem - but for the life of me I can't figure out what I'm doing wrong.
CameronJ said:
I'm going to bump this once just in case people missed it originally.
I've messed around a bit more, and have pretty much isolated that this is my problem - but for the life of me I can't figure out what I'm doing wrong.
Click to expand...
Click to collapse
Hi,
i see that the file you've attached isn't actually a .DAT file. It is a .dat.TXT that's the same that saying it's a TXT file!!!
If the file you're putting inside your ROM is this very same file (.dat.txt) then you've found your problem: you need a .DAT and NOT a .dat.txt file!!!
Try following this procedure on your PC (i suppose you're using XP or 2003 server):
- open a folder (whichever folder you like, it's not important)
- on the Tools menu click Folder Options.
- click the View tab.
- clear the Hide extensions for known file types check box.
- press OK
PS: Here is an illustrated guide on how to show file extensions
Now go to the place where your initflashfiles.dat is. If the file is named 'initflashfiles.dat.TXT' (like the file you uploaded in this forum) then:
- select the file
- press F2 (or right click and choose 'Rename')
- remove the tailing .txt from the name
Finally:
- let us know if it worked
Bye bye
risidoro said:
i see that the file you've attached isn't actually a .DAT file. It is a .dat.TXT that's the same that saying it's a TXT file!!!
Click to expand...
Click to collapse
:lol: Thanks for the reply.
I had to add the .txt extension otherwise the forum wouldn't let me upload the file (.dat files are not on the list of available file types for upload).
When I loaded the file I meant to put that explanation in there but forgot before I finished the post.
Hi. I don't know if you're still working on this, but I'd like to share with you my experience last night. I examined your initflashfiles.dat, and it is perfectly ok.
As I see in your initflashfiles.dat, there are a lot of folder customization like:
Directory("\Program Files\Task Manager"):-File("taskmanager.exe","\Windows\taskmanager.exe")
There is nothing wrong with this as we need the file to be in the right location. BTW, THIS FORMAT WORKED FOR ME. Just a thought, you might be editing the default.hv and user.hv (hives) to put in the registry keys of some applications?
My device (Himalaya) did not start out correctly and did not execute the initflashfiles.dat, BUT when I connected my Hima through active sync, you can actually explore the contents. SO, in this non-working state, I experimented in tracing the culprit, by restoring a couple of the original files I edited. I found out that it has something to do with the way I edited the hives.
Steps I made in experimenting:
1. I sync my Hima to my PC.
2. Copied the original default.hv to \windows directory
3. Hard Reset Hima, BUT answer NO to all three boot options
4. My Hima started normally and executed initflashfiles.dat to the detail.
Discovery from experiment:
1. The files were only copied to the directory were we wanted it, BUT the original file is still in the \windows directory. Therefore, we did not save storage memory.
2. We only benefitted from an already installed app built into the ROM.
Hope this gives you some insight.

Rebuilding Dumped Roms

Help!
I've followed the instructions on the wiki about dumping a ROM, which I've done and it worked fine.
Then i started to follow everything to rebuild the ROM, which worked until I got to the buildimgfs.exe stage, and all I get is an error message that it cant find the compression dll, even though I know the dll is in the directory with it.
Any help much appreciated as I'm trying to rebuild a Orange UK M700 rom
Cheers
use these batch files to dump/rebuild the rom&hive, nbhtool to create the Signed_RUU.nbh
Make Sure You Have A Valid Imgfs_raw_data.bin In The Folder You Are Issueing The Command From, That Stopped My buildimgfs.exe Working.
Cheers
still not working...
message about missing compression dll still happens, even though viewimgfs works fine.
@apoc - not entirely sure which bat files to run, the dump ones didnt seem to do anything?
hollandg said:
still not working...
message about missing compression dll still happens, even though viewimgfs works fine.
@apoc - not entirely sure which bat files to run, the dump ones didnt seem to do anything?
Click to expand...
Click to collapse
command prompt:
NBDump.bat OS.nb - to dump
NBBuild.bat OS.nb - to rebuild
HVDump.bat user | HVDump.bat default - to dump the user.hv or default.hv,
The HV bat files must be on the same dir as the .hv files.
there are a bunch of hidden files, and I've mistankenly hidden OSChecker.exe, I think it's not exactly necessary to check the created .nb files, but the file is there and you can use it.
@APOC, another bit of help if you dont mind?
I've run the NBBuild.bat and it produced a file but someones tested it and says it doesnt work so I had a look at the .bat and some of the steps seem to pull information from an exisiting NBH file? I downloaded a file as part of the wiki step by step to dump and rebuild a file so the NBH I have is nothing to do with the one I'm trying to rebuild ... is that a problem?
As before I've got as far as running viewimgfs to create the dump directory but buildimgfs refuses to work still!
-----
I've jsut read tadzio's thread about the enhanced imgfs tools so I'm going to try that again and see what I can do

How do I add .exe files to my All Programs list?

I downloaded a program called Flashlight, and I wanted to know how I could get it onto my all programs list, since it came as an .exe rather than a cab. Thanks in advance!
mchao92 said:
I downloaded a program called Flashlight, and I wanted to know how I could get it onto my all programs list, since it came as an .exe rather than a cab. Thanks in advance!
Click to expand...
Click to collapse
Either move the file to \Windows\Start Menu\Programs or Create a shortcut to the exe (Copy the file in File Explorer and Choose Paste Shortcut) there.
Ta
Dave
Ah! That did the trick. Thank you very much
doesn't work with GpsCompass
I installed a program called GpaCompass that doesn't show up in my win/startmenu/programs, so I copied and pasted the .exe there, I tried to cut/paste the .exe there, still no go. it gives me an alarm about microsoft.net, but i have 3.5 installed. I've tried using 2.0 as default AND 3.5 as default. not sure what to do. I'll try to include screenshot of error msg.
scottspa74 said:
I installed a program called GpaCompass that doesn't show up in my win/startmenu/programs, so I copied and pasted the .exe there, I tried to cut/paste the .exe there, still no go. it gives me an alarm about microsoft.net, but i have 3.5 installed. I've tried using 2.0 as default AND 3.5 as default. not sure what to do. I'll try to include screenshot of error msg.
Click to expand...
Click to collapse
Don't copy (or cut!) and paste the exe to your Startmenu/Programs folder. Instead you should copy and paste a SHORTCUT to the exe in your Starmenu/Programs folder. By pasting the exe file itself into your folder it is trying to execute from that folder when other files that it may need are in the installation directory somewhere else on your device.
So first, cut and paste the .exe back to where it was originally located. Next copy the exe and "Paste as shortcut" into your Startmenu/Programs folder
Thanks lots
@ Rumbal,
worked beautifully, thanks a lot! I apparently misunderstood other posts I had read about doing this. And , call me an idiot, but somehow completely overlooked "paste as shortcut", and only saw "paste".
Thanks
woot!
Thanks!
This is something I just learned as well. Now I'm going to go ahead and make all the shortcuts I want!
It took a while, but I didn't want to ASK and get flamed for it. Anyway, these forms are tens of thousands of posts deep....I knew the answer was here
Rock
Mitch
Thanks a lot for this info.
DaveShaw said:
Either move the file to \Windows\Start Menu\Programs or Create a shortcut to the exe (Copy the file in File Explorer and Choose Paste Shortcut) there.
Ta
Dave
Click to expand...
Click to collapse
Amazing trick...this worked without troubles, and it can be set manually mostly for portable applications which does not install in Program Files folder.
I just did a trick with portable Dreamweaver by simply copying the portable folder to the Program Files, and then copied and pasted Dreamweaver.exe shortcut in Star Menu\Programs folder....worked fine.
Thanx for ur tips...

Installing from PC - Where is CAB

Some software I install is done with an .exe file from the PC. It seems like these programs simply dump the CAB onto the phone for install. Does anyone know where this CAB is on the phone so I can copy it for re-install later?
Doug M.
Check the location you installed on your PC, the cab is usually there too
I have a quick question. I dowloaded Xtract that game. And I extracted the zip and i dont see a .cab file anywhere. Only a setup.xml and a few other files.
Sometimes it goes into a temp folder, it depends on the software. If I see it mention a location during the install process I check that folder for the cab file.
pennywisdom said:
Sometimes it goes into a temp folder, it depends on the software. If I see it mention a location during the install process I check that folder for the cab file.
Click to expand...
Click to collapse
Ohh nevermind. So with CABviaActiveSync I just click it and it will install to my phone?
Sometimes you can open up the .exe file with 7-zip and just extract the cab file. Or, if you have sk tools, you can re-pack the program into a cab with their 'installed programs' tool.
dwmackay said:
Some software I install is done with an .exe file from the PC. It seems like these programs simply dump the CAB onto the phone for install. Does anyone know where this CAB is on the phone so I can copy it for re-install later?
Doug M.
Click to expand...
Click to collapse
Hi Doug!
You can find the .cab file(s) in C:\Program Files\Microsoft ActiveSync\XXXX
Where XXXX is the name of the software you have installed.
HTH
Thanks for the replies. This should speed-up some installs for me.
Doug M.

how to extract cabs from NBH file

im trying to extract some cabs from a NHB file...can anyone guide me in the direction on how to do this
I'd say the best way to do that is to extract the ROM into regular files.
You need to download a bunch of EXE files: NBHextract.exe, NBSplit.exe, ImgfsToDump.exe, and ImgfsFromNB.exe
You need to extract the NBH with NBHextract.exe. This will yield a .nb file
You need to use NBSplit (use the "-kaiser" parameter) to split the .nb into a .nb.payload file and a .nb.extra file
You then need to use ImgfsFromNB on the .nb.payload file, which will create a file called imgfs.bin
Use ImgfsToDump on imgfs.bin, which will create a folder called "Dump". When it finishes, All of the ROM's files will be there. You will probably want to search the folder for .cab files, since there are thousands of files in the average ROM dump.
That should do the job for you.
Or just use Visual Kitchen to Dump the ROM, and then rebuild the OEMs to CABs.
Dave
could u walk me through the visual kitchen program?
Hmmm look for htcRIE_0.4.0.47 and extract what you want.
im trying to extrct the streaming media player cab...the one thats in most of the 6.5 roms that has a look a like HTC ablum look to it, but i cant find a cab using "htcRIE_0.4.0.47"
little help will might ...
You do not search for it at you WM ROM,
Search at the site...
Anyway i have been find it for you !
A newer version of htcRIE, enjoy!
michealmyers said:
im trying to extrct the streaming media player cab...the one thats in most of the 6.5 roms that has a look a like HTC ablum look to it, but i cant find a cab using "htcRIE_0.4.0.47"
Click to expand...
Click to collapse
i have that program, but im unsure on how to properly use it to get the cab files.....can u help me?
michealmyers said:
i have that program, but im unsure on how to properly use it to get the cab files.....can u help me?
Click to expand...
Click to collapse
With Visual Kitchen, just click on the Dump button at the bottom - and then browse to the NBH file .
Dave
i guess all nbh files dont have cabs because in the dump folder it creates...its only a couple of cabs and whole lot of systems files
michealmyers said:
i guess all nbh files dont have cabs because in the dump folder it creates...its only a couple of cabs and whole lot of systems files
Click to expand...
Click to collapse
Yeah, you have to rebuild the EXT packages to CAB's I don't know if there is a tool for that actually. Might be better dumping it the Dave (TyTNII) way, that will give you OEM's. There are tools for OEM 2 CAB.
Jason8 is working on a tool to convert all 3 all ways IIRC.
Dave
the nbh extract file launches for a quick second...it doesnt stay on the screen, as well as a lot of other files such as nbh split....do i need to update something in order to have these programs run properly?
michealmyers said:
the nbh extract file launches for a quick second...it doesnt stay on the screen, as well as a lot of other files such as nbh split....do i need to update something in order to have these programs run properly?
Click to expand...
Click to collapse
You have to run them from the windows command line (CMD.exe). If you really want me to, I'll upload a batch file I made which automates most of this. You just put the NBH and tools in certain folders and run the batch file and it does the rest.
DaveTheTytnIIGuy said:
You have to run them from the windows command line (CMD.exe). If you really want me to, I'll upload a batch file I made which automates most of this. You just put the NBH and tools in certain folders and run the batch file and it does the rest.
Click to expand...
Click to collapse
that would be so helpful
Alright, I fixed all the bugs in it (it was still in progress) and added some new features I had meant to add for a while, such as renaming the processed files by date processed (though you probably won't need them if you're only extracting one ROM). Hit [WINDOWS KEY] and R on your keyboard at the same time to open the Windows Run dialog, and type "%USERPROFILE%" without the quotes. Simply unzip the file and drag the folder called "Flashing" in the user folder (it's vital to have the Flashing folder in the correct spot. Otherwise, the entire script will fail). Place the NBH file you want to extract in the NBHDUMP folder (in the Rhodium folder, which is in the Flashing folder), and go to the IMGFS folder (in the Rhodium folder, which is in the Flashing folder). Now, run RhodiumRomDump.bat and the dump should commence, and a folder with your dump should appear in the same directory.
If anything should go wrong, please tell me so I can try to fix it.
EDIT: Please redownload, all issues I could find are fixed in this version. If you get errors about needing MSVCr71.DLL with this version, google is your friend.
maybe im not doing something right, ive been at it for days now...i put the "flashing folder" in C:\Documents and Settings\Sean (sean's my name..haha), put the nbh file in the NBH folder, ran "DumpRhodiumRom", i got 2 folders named "and" and "Setings"....when i run "dumpRhodiumRom", its just stays on the screen for half a second
ive extracted the rom before using visual kitchen...im trying to get some of the programs into cabs...the problem is that in the dump file, i see the programs i want, but they arent in cabs, so i cant just take its "exe" file and put it into another phone (well at least that didnt work for me)
michealmyers said:
maybe im not doing something right, ive been at it for days now...i put the "flashing folder" in C:\Documents and Settings\Sean (sean's my name..haha), put the nbh file in the NBH folder, ran "DumpRhodiumRom", i got 2 folders named "and" and "Setings"....when i run "dumpRhodiumRom", its just stays on the screen for half a second
Click to expand...
Click to collapse
That's odd. Can you tell me two things?
Where do these folders ("Settings" and "And") show up?
Hit [Windows Key] + R and type "CMD" (without quotes), then hit okay, then type "cd %USERPROFILE%\Flashing\Rhodium\IMGFS" (without quotes). Now, type "DumpRhodiumRom" (without quotes), and tell me exactly what is says (you don't actually have to include all the formatting and everything). Also, if you could tell me what color it's in, that would help.
I'm going to test it in a virtual Windows XP environment and see if it's compatiblity with XP that's the problem.
EDIT: So the problem seems to be the fact that it doesn't like the spaces in the folder name "Documents and Settings", hence the creation of the "and" and "settings" folders. Unfortunately, it's an important folder, so renaming isn't really possible. However, I think I know a simple fix to the original script, so I'll test that and post it shortly.
michealmyers said:
ive extracted the rom before using visual kitchen...im trying to get some of the programs into cabs...the problem is that in the dump file, i see the programs i want, but they arent in cabs, so i cant just take its "exe" file and put it into another phone (well at least that didnt work for me)
Click to expand...
Click to collapse
Try downloading cabtools V 0.3 and use pkg2cab to build the package back into a .cab file. I've never done it myself, but this looks like what you want.
DaveTheTytnIIGuy said:
That's odd. Can you tell me two things?
Where do these folders ("Settings" and "And") show up?
Hit [Windows Key] + R and type "CMD" (without quotes), then hit okay, then type "cd %USERPROFILE%\Flashing\Rhodium\IMGFS" (without quotes). Now, type "DumpRhodiumRom" (without quotes), and tell me exactly what is says (you don't actually have to include all the formatting and everything). Also, if you could tell me what color it's in, that would help.
I'm going to test it in a virtual Windows XP environment and see if it's compatiblity with XP that's the problem.
EDIT: So the problem seems to be the fact that it doesn't like the spaces in the folder name "Documents and Settings", hence the creation of the "and" and "settings" folders. Unfortunately, it's an important folder, so renaming isn't really possible. However, I think I know a simple fix to the original script, so I'll test that and post it shortly.
Click to expand...
Click to collapse
This is What i got....where the "and" and "settings" folder apear is "untitled2.zip"

Categories

Resources