[Q] Need help with NBH - Touch Diamond2, Pure ROM Development

Ok, so here's what I'm trying to accomplish.
I can't stand having the awful standard alarms/notification sounds that are provided on most WM roms, so I went and redid one. The attached file is a Windows notification sound that I've renamed and converted to work on my topaz in place of "alarm2", hence the filename.
In short, I don't want to have to use total commander winCE every time i flash and want to change that file out (I can't overwrite it using windows explorer or file explorer cuz I can't overwrite system files). So i had an idea.
I figured I'd make a .NBH file to flash to the device after I flash my rom on there that ONLY replaces that sound file with the new one (Eventually I'd like to incorporate my custom splash screens into it but that's only a thought at this point). This is where my question/problem comes in...
I've looked around on the forums for some type of "rom builder" or .nbh creator or utility, and I've found alot of things that will convert .nb into .nbh and other features, but nothing that seems to do what I'm wanting.
I'm NOT a developer really; im more of a concept person, and if I can accomplish this without having to learn a language all the better, but I'm not sure where to start with this.
Sorry about the long post, and thanks in advance for any help you can offer!

Hi,
what about using sashimi or UC? this would save you a flash...
you can automate the process. that's what i do when i flash and i want to get back the ringtones.
good luck

Use total commander. it will let you overwrite system files and files that are in use.

Solarenemy68 said:
Use total commander. it will let you overwrite system files and files that are in use.
Click to expand...
Click to collapse
Yea, that's what I've been doing so far... It's still kind of a pain waiting for the Windows folder to load and then replacing it (It can take awhile)... I should've mentioned in the first post that it was an alternative to this that I was looking for, and either a .nbh file or possible a cab file, though I can't see how a cab file could accomplish this since it's replacing a system file while it's in use...

Related

Locations of files for packages

I have a pretty basic question. All of the cab's I've turned into packages for a kitchen, should all of the files be simply dumped into /windows? It just seems like it would turn it into a major cluster..... If I'm correct we just use initflashfiles.txt to tell the Kitchen where to put the files?
Such as:
Directory("\HTCHome"):-File("HH_WEATHER_19small.png","HH_WEATHER_19small.png")
Would that be correct?
Then to call a program, put a copy of the lnk pointing to the executeable in Games, Windows, Programs, or whereever we want it?
Thanks,
Dravor
Dravor said:
I have a pretty basic question. All of the cab's I've turned into packages for a kitchen, should all of the files be simply dumped into /windows? It just seems like it would turn it into a major cluster..... If I'm correct we just use initflashfiles.txt to tell the Kitchen where to put the files?
Such as:
Directory("\HTCHome"):-File("HH_WEATHER_19small.png","HH_WEATHER_19small.png")
Would that be correct?
Then to call a program, put a copy of the lnk pointing to the executeable in Games, Windows, Programs, or whereever we want it?
Thanks,
Dravor
Click to expand...
Click to collapse
i believe initflashfiles just copies, so windows would be as clutterred either way. i prefer to make the application look to /windows rather than another folder, then only 1 copy of the files is needed.
hopefully someone here can correct me if im wrong..
dcd1182 said:
i believe initflashfiles just copies, so windows would be as clutterred either way. i prefer to make the application look to /windows rather than another folder, then only 1 copy of the files is needed.
hopefully someone here can correct me if im wrong..
Click to expand...
Click to collapse
Ok that's fine. At least that makes sense, and backs up what I've seen working with initflashfiles. I'm somewhat suprised Microsoft has not put out a workaround for this.
Thanks,
Dravor

Does anyone remember this?????

I am looking for the file explorer.exe that allows you to delete files from the rom. It was posted awhile back and I just recently lost due to a HDD crash. I believe is was included in one of the old WM5 roms but was also posted as a download also. I used to drag it to the Windows Directory and actually overwrite the built in explorer. I have searched and searched and cannot find it. Can someone please help....
Thanks
try resco explorer, it lets you overwrite the rom BUT it is a commercial program and requires registration. I believe a trial version is available.
Thanks I own that also. But the one I was referring to was created by someone on here. I thought it was Dr. Putt but I could be wrong. I just dragged the file over to the windows directory and it overwrote the windows file explorer. I have to keep looking. But that you for the response.....
Rob
I also only use Resco, but I recall hearing that TotalCommander could do what you're looking for. Not sure if TC is free or commercial, just chiming in...
if you dont want the original file explorer, why dont you just delete the .ink file out of startmenu? this will remove the old explorer icon from programs menu.
It's not that I don't like it there. The version I am refering to actually let you delete things stored in the rom. With resco thanks for all your suggestions though!
If you do run across it drop me a line....
Thanks

Reconstructing a ROM, HELP ME, I've got a headache

Hi guys, I've been reading many topics to "save" my original ROM that came with my HTC TP T7272.
I has already downloaded the itsutilsbin, made the 4 parts of de .RAW files usind "pdocreate" command, and continuing with the proceeding, I separated the Part01 and Part02 to use the Kitchen.
But watch happen, is that there is a part of the process that I have to download a "shiped" file.
"2. Download the WWE BaseROM to use in the reconstruction process here http://rapidshare.com/files/138980371/RUU_Raphael_HTC_WWE_1.90.405.1_Radio_Signed_Raphae l_CRC_52.33.25.17_1.02.25.19_Ship.exe"
I downloaded it too, executed it, and It requires that I connect the phone to the activesync, so I connected and also it said: "NOTE: Making this process you will loose all your files and DATA" in red words
Wtf, I dont want to restart my phone, neither delete my files, I wanna ONLY make a backup of this, including the ROM, DATA, RADIO, all possible, because it I am using what I saw this "Kitchen".
The next step was execute the Kitchen's CMD, It said about "a base .NBH SHIPED FILE" ( I think It means some file of the step below ), asking for paste this NBH file on the BaseROM, that would go my Part01.raw and Part02.raw, to make it before execute the Kitchen.
So, I became afraid of loose all my phone's information and didnt make this .nbh, but I continued with the process, usind the Kitchen and making all, including the BuildOS.
But the RUU_Signed.NBH that was to appear didnt appear, only created some folders, and now I dont know what I do with the others files (Part00.raw and Part02.raw)
HELP ME, PLEASE
I'm already crazy
its so complicated!
unfortunately...
no helps
i would need it, but ok
I personally think you're putting in A LOT of effort, for little gain. Why not go download a stock ROM that matches the version of the one you got on your phone right now and be done with it ? Radio's are no special either... they can AAAAALLL be downloaded from this forum
basmareck said:
Hi guys, I've been reading many topics to "save" my original ROM that came with my HTC TP T7272.
I has already downloaded the itsutilsbin, made the 4 parts of de .RAW files usind "pdocreate" command, and continuing with the proceeding, I separated the Part01 and Part02 to use the Kitchen.
But watch happen, is that there is a part of the process that I have to download a "shiped" file.
"2. Download the WWE BaseROM to use in the reconstruction process here http://rapidshare.com/files/138980371/RUU_Raphael_HTC_WWE_1.90.405.1_Radio_Signed_Raphae l_CRC_52.33.25.17_1.02.25.19_Ship.exe"
I downloaded it too, executed it, and It requires that I connect the phone to the activesync, so I connected and also it said: "NOTE: Making this process you will loose all your files and DATA" in red words
Wtf, I dont want to restart my phone, neither delete my files, I wanna ONLY make a backup of this, including the ROM, DATA, RADIO, all possible, because it I am using what I saw this "Kitchen".
The next step was execute the Kitchen's CMD, It said about "a base .NBH SHIPED FILE" ( I think It means some file of the step below ), asking for paste this NBH file on the BaseROM, that would go my Part01.raw and Part02.raw, to make it before execute the Kitchen.
So, I became afraid of loose all my phone's information and didnt make this .nbh, but I continued with the process, usind the Kitchen and making all, including the BuildOS.
But the RUU_Signed.NBH that was to appear didnt appear, only created some folders, and now I dont know what I do with the others files (Part00.raw and Part02.raw)
HELP ME, PLEASE
I'm already crazy
its so complicated!
Click to expand...
Click to collapse
I think I understand the question. You do not want to execute the file, that will install it on your device. Get 7 zip (google it), install it on your computer, right click the file and will have options for EXTRACTING the file. Extract it to a folder of your choosing and inside will be the RUU_Signed.nbh your looking for. Then copy and paste parts 1 and 2 along with the ruu into your base folder rom inside the kitchen, and continue to follow the directions. Hope that helps

Duplicate File Problem with any kitchen

Hi All,
with all of the kitchens found here, it is noticeable that when adding any packages to the OEM/SYS folders (i.e S2U2) then trying to re-build the rom specially in the process of BuildOS we got many errors that file already exist and then crashes.
after many research i got to know that the package will extract the files in windows folder for all packages on time then while installation, the files will be copied to the proper folders.
here is the problem, once trying to re-build the rom all files will be copied in the same folder.
is there a way to avoid this?
Hi robekia1,
Even I am facing the same problem when rebuilding os.
we will keep waiting for the seniors here to deliver a solution for us.
thanks to whom will help in this regard
I also faced this problem while cooking ROMs, Hey krazy! help please.
I guess, if we could know the file structure from the folder structue before installing, then it would be easy.
hmmmmmmmm, it seems that this problem have no solution as (Finding emulator for cooked ROM)
done the same and working
robekia1 said:
I guess, if we could know the file structure from the folder structue before installing, then it would be easy.
hmmmmmmmm, it seems that this problem have no solution as (Finding emulator for cooked ROM)
Click to expand...
Click to collapse
Hey I have done the same previously I love the s2u2 applications so I have cooked my rom with all 3 apps of s2u2 i.e. S2U2, S2P, S2V.
I created packages from package builder, then copied all files to one folder.
removing duplicates with latest one.
Also I changed the initflash file for the locations which is created by the package creator with the new folders path.
Then also I added the all item tag in XML to detect DSM files of the respective apps.
Make sure you have registry hack for installing third party apps in your ROM packages.
Enjoy... you will get all your S2U2 apps in your ROM.
Right now I dont have the folder I will upload it tomorrow if anyone wants.
Hope this information is useful to you all.....
Please Dooooooo
bhushangahire said:
Hey I have done the same previously I love the s2u2 applications so I have cooked my rom with all 3 apps of s2u2 i.e. S2U2, S2P, S2V.
I created packages from package builder, then copied all files to one folder.
removing duplicates with latest one.
Also I changed the initflash file for the locations which is created by the package creator with the new folders path.
Then also I added the all item tag in XML to detect DSM files of the respective apps.
Make sure you have registry hack for installing third party apps in your ROM packages.
Enjoy... you will get all your S2U2 apps in your ROM.
Right now I dont have the folder I will upload it tomorrow if anyone wants.
Hope this information is useful to you all.....
Click to expand...
Click to collapse
Thnx a ton budy for this information.
really, i can't wait till tomorrow for this folder because i want to see all these modifications whitch greatly will help all ppl here.
please upload it ASAP.
also, what about Cooked ROM emulation? i hope there is a solution up there whitch i'm not aware about.
registry hack
bhushangahire said:
Make sure you have registry hack for installing third party apps in your ROM packages.
Click to expand...
Click to collapse
What you mean by registry hack? it sounds something new for me.
do you mean any registry editor? or it is another OEM Package should be installed along with the ROM?
robekia1 right, all file will be in windows folder, if you put it in the "program files" folder, the files exist in windows folder too, that is will be wasto your phone storage. Avoid put in the program files folder will be increase your phone memory.
Usually the default directory of the CAB file is in the progam file, and if you use OEM creator to that CAB, it will copied to Program file folder and exist in windows folder, to make only in windows folderyou can use this method:
1. edit the initflashdat result of OEM creator, delete all value of program file, or
2. Before you use OEM creator, edit the installation directory of CAB file, use wincab manager to do it, or
3. use wincab manager to extarct the files in the CAB, and registry, after that you can make .rgu, dsm, shortcut, manually and input the shortcut location in the initflash.dat file (I always use this method).
Usually every CAB file have different files with other, and if the have same file it can be same with the SYS file or the author/maker of the CAb is same. you can choose the latest version of that file if it happend.
While cooking even though we separate files inside different packages, but at the time when imgfs.bin is created, all the files go to \Windows folder. Thats why there cant be two files with same name even when they are in different packages.
Now some apps have common dependencies. Like the DirectShow and mHubVO dlls are needed by Youtube, as well as streaming media. Now what happens is, if you take two packages for these, sometimes the author puts the dependency files in both the packages so that if someone uses one package and not the other, it still works. This mostly happens packages that are made by converting a cab to a package. So if you cook these packages, you need to make sure that they are not putting duplicate files.
The same thing also happens with also happens with registry settings. Somtimes, two or more packages update the same regisrty keys in their .rgu files. SO we need to take care of those too and remove the lines that dont apply to the version of files we are actually using in our kitchen. This is a necessary evil and thats why cooking is not a child's play.
Once a ROM is flashed, and phone boots for the first time, the initialization process takes place. Now the ROM cooks have two ways to initialize their packages : using the .provxml files, this works if you have newer OEM* folders like from Elfin or Opal, it basically requires the Autoshortcut.exe file as well as newer HTCUtil.dll. The other way is the older initflashfiles.txt files inside the packages.
The difference between two methods is that using initflashfile.txt you can only copy files and create folders on the file system, but provxml can be used to perform many different things like registry values, applying themes etc.
So using one of the methods you copy your files to appropriate locations. Do remember that this process if done wildly can decrease the availabel free phone memory noticeably. Thats why we sometimes go a bit furthur and do some programming stuff to minimize this. You people sometimes dont even notice what is happening behind the scene.
I tell you one such experience. Google maps is a package that copies all its files to \Program Files\GoogleMaps but i noticed if i dont copy the files by deleting the initflashfiles.txt, and run GoogleMaps.exe from \Windows, it runs just fine. This works in pro user's rom but in Manila ROMs, the Maps tab of Manila looks for GoogleMaps.exe in Program files folder. So i had a choice to either copy googlemaps.exe into program files folder and waste 2 MB of phone memory or loose the functionality of maps tab of manila.
What i did was the third way i thought of myself. I created a .NET application called GoogleMapsStub.exe and what it does is it runs the googlemaps.exe from windows folder and passes all the information to it that manilla passed to it while running it. This exe is copied into the \program files\GoogleMaps folder by using initflashfiles.txt as GoogleMaps.exe. So now manilla is happy that it has googlemaps.exe in its proper place and i am happy too coz the new exe is only 3.5 kb in size You can verify this in v3.1.1 of VanillaManila rom. Look in the program files folder you will get the 4 kb googlemaps.exe, put it on your pc and check its version in its properties, you will get my name there And if you check the windows folder, there will be a googlemaps.exe of 2 MB size and a GoogleMapsStub.exe of 4 kb size.
So sometimes hacks like these are necessary in order to make a perfect roms. ROM cooking is just like food cooking, It may appears to be like just putting the ingredients into a cooker and light up the gas stove and wait for the food to cook. But if you try that for first time, your food will not be eatable for sure It requires a careful balance of salt, pepper and other things to cook a tasty dish I hope i have made myself clear
Wonderful
AMAZINGGGGGGGGGGGG PPL
latest buildos/ visual kitchen has option to delete duplicate file while cooking but
i will make new kitchen in future (not soon) because current kitchen work fine for me and i have lots of other work like android + building to rom from weekly leaked sys of wp 6.5
Thanks ankit360 for the visualkitchen9.7, i'm already trying to use it but the problem is: the ROM generated by the kichen is not working for GENE.
i tried another kitchen for the same ROM and it still working fine, the only problem with it is the duplicate
bhushangahire, i'm still waiting for you to upload your files.
also, what about the reg hacker?
Hi Karzy,
" What i did was the third way i thought of myself. I created a .NET application called GoogleMapsStub.exe " you answered one of my query unknowingly, when I had extracted your ROM, I saw there was GogleMapsStub.exe which was not present in any other ROM I had extracted. So I was wondering what that file was about !!! Now I know what it was.
Thanks a lot karzy for sharing this info.
You have been always good in explaining things indetail, which helps a lot for new comers like me.
I m glad that i am able to help my buddies here.
find the files below...
robekia1 said:
bhushangahire, i'm still waiting for you to upload your files.
also, what about the reg hacker?
Click to expand...
Click to collapse
Please find the files below sorry for delay.....
S2U2 Application OEM folder.
S2APPS.7z (786.47 KB)
Registry Tweak OEM Folder.
Registry__Disable - Security warnings when installing non-certified application.7z (849 bytes)
Please find the link to ROM with S2U2 applications + Antivirus.
WM6.5_Old_21231.7z (51.91 MB)
bhushangahire said:
Please find the link to ROM with S2U2 applications + Antivirus.
WM6.5_Old_21231.7z (51.91 MB)
Click to expand...
Click to collapse
i guess this ROM is for OLD gene???Correct me if i'am wrong...
yup for old
htc3400 said:
i guess this ROM is for OLD gene???Correct me if i'am wrong...
Click to expand...
Click to collapse
yup you are right this rom is for Old ..
If anyone want it for new gene please ping here I will cook it for new also....
Thanks
bhushangahire said:
S2U2 Application OEM folder.
S2APPS.7z (786.47 KB)
Registry Tweak OEM Folder.
Registry__Disable - Security warnings when installing non-certified application.7z (849 bytes)
Please find the link to ROM with S2U2 applications + Antivirus.
WM6.5_Old_21231.7z (51.91 MB)
Click to expand...
Click to collapse
Thanks a Ton bhushangahire for sharing those links.
I appreciate this.
Now, i'm gonna read them character by character

Tellme (voice to text & more)

Alrighty, here we goo.
I was looking around for voice to text apps, and I came across one.. called "Tellme"
Now, I as I understand this wasn't exactly made for my LEO-usa.
BUT IT DOES WORK.
I have installed the .cab file for this app, installed it correctly the only way one could do it. Then there was a file I was told to download called NETCFv35.wm.armv4i.cab.zip
Framework im guessing? But I have a problem, I don't know how to install this.. its a zip file, and when I unzip the file it breaks down the cab structure into 192380192381203981203498712348971230489 freaking FILES!
How do I install a cab file that is compressed into a zip file? if you HD2 users want to try and pickup where I left off, here you go.
do a google search for "tellme for hd2" Click the result that has tmobile's forums on it.
Scroll down the forum replies till you see words and convo's regarding TELLME. and you'll notice there is two files needed, the framework, and the cab file for the app.
I got the app installed, but the NETCFv35.wm.armv4i.cab confuses me because its a cab file that is in a zip file..
lol, sorry if I'm sounding redundant. but damn.
Heres the two files, I'll attach them below.
delirium5 said:
Alrighty, here we goo.
I was looking around for voice to text apps, and I came across one.. called "Tellme"
Now, I as I understand this wasn't exactly made for my LEO-usa.
BUT IT DOES WORK.
I have installed the .cab file for this app, installed it correctly the only way one could do it. Then there was a file I was told to download called NETCFv35.wm.armv4i.cab.zip
Framework im guessing? But I have a problem, I don't know how to install this.. its a zip file, and when I unzip the file it breaks down the cab structure into 192380192381203981203498712348971230489 freaking FILES!
How do I install a cab file that is compressed into a zip file? if you HD2 users want to try and pickup where I left off, here you go.
do a google search for "tellme for hd2" Click the result that has tmobile's forums on it.
Scroll down the forum replies till you see words and convo's regarding TELLME. and you'll notice there is two files needed, the framework, and the cab file for the app.
I got the app installed, but the NETCFv35.wm.armv4i.cab confuses me because its a cab file that is in a zip file..
lol, sorry if I'm sounding redundant. but damn.
Heres the two files, I'll attach them below.
Click to expand...
Click to collapse
no worries. just download the .zip file, then unzip it into the the file "NETCFv35.wm.armv4i.cab". next copy this file and the tellme.cab file into your phone. run the NETCFv35.wm.armv4i.cab first and let it install. then follow by the tellme.cab. you're done.
yea, you have unzipped it twice, because winzip/winrar also see the .cab as a cabinet, or zip file, and opens it, when in fact that whole file is the windows mobile installer. extract the single cab file to desktop, copy it to your phone, click it in explorer on your phone.
Alrighty, I tried what you said..
I got the .cab file for the NET stuff on the device, attempted installation and it failed at the end, told me to close out of apps, and clear device space?
I have a little short of 1gb of Device memory left, and task manager did not have anything running.
Is it perhaps the ROM im using? I'm using the Energy ROM.
bumppp.

Categories

Resources