As we see, we just have a first WP7 Custom rom by Ansar.
Look like the fun was just a begin.
However, I have a some question.
How to create IMGFS that can be used.
Because the cecompr_nt.dll we're handle now. It can't create the complete IMGFS.
So it impossible to create the NBH that can be used.
I don't know how, but look like we have many job into the HEX.
but the question is.. how Ansar use to create a compatible IMGFS for WP7.
Sorry for my English,
Thank you.
Have you tried IMGFSfromDUMP to create a IMGFS wih your modification?
I extract IMGFS.bin with htcrie and extract the contens with xidump
Than I edited some files inside the dump folder (default.hv & user.hv with HVEdit)
with IMGFSfromDump I inserted the modifications back to IMGFS.bin
With RomImagTool I split the nbh file into its sub blocks (radio.nb, os.nb,...)
Open os.nb with htcrie and replace IMGFS
Now you have a os.nb with your modifications but after rebuild the nbh with ROMImageTool file the rom is unusable (don't know why).
I tried also to split & rebuild a orginal rom with ROMImageTool (without modifications), but flashing always failed
Yes, but anyway I found the solution.
finally I successful flash my HD7 with my own modification.
I will plan to explain my method soon later.
But now I can just say, you can't made a good rom by only these tool.
because the result was many wrong in the hex code.
I spent three weeks to look every point in the offset and compare to other with hex editor.
so now I know where the point needs to be fixed, It is not difficult if you know what the point in the offset is...
(but it's difficult to learn start from scratch.)
Perlnx said:
finally I successful flash my HD7 with my own modification.
Click to expand...
Click to collapse
Perfect
Hope I will understand the things I've to make to make my own rom
I'm not realy familiar with hex-editing files cause I'm no programer.
But I learn fast
Hope you can soon discribe how everyone can make costum roms.
Please wait until the Mango RTM will come out.
I want to ensure for my unlock solution will not gone after pass the mango update.
Please be patient and wait, I promise everybody will get it
(And that will make the development continue, Who wouldn't like it).
However, I will publish my rom as well.
Now we're testing in the local Thai forum and I will not release any methods until my rom is out.
So please be patient... It would not be longer than expected ;D.
Perlnx said:
Please wait until the Mango RTM will come out.
I want to ensure for my unlock solution will not gone after pass the mango update.
Please be patient and wait, I promise everybody will get it
(And that will make the development continue, Who wouldn't like it).
However, I will publish my rom as well.
Now we're testing in the local Thai forum and I will not release any methods until my rom is out.
So please be patient... It would not be longer than expected ;D.
Click to expand...
Click to collapse
My question I've been wondering for a while.. how does one even DUMP a ROM from their current phone?? I have a Samsung Focus and I think it would be nice to be able to Dump the ROM and look at contents.
I don't know how to dump content from cellphone.
but you can use htcrie to extract Samsung rom with largest *.nb0.
here a tool to create the signed nbh file
works great for me
nbhMerge
sandman01 said:
here a tool to create the signed nbh file
Click to expand...
Click to collapse
UNsigned nbh file
Sorry wrong thread ignore please
Related
Hi
Just wondering if anyone has made any new custom roms. I have looked so far as I can in the forums and I cant see a cooked rom from the kitchen for the hermes.
Would be nice to see if there is one superb one out there that would replace my rubbish t-mobile one!
Thanks
Phill
Right now everyone is using the 1.35 south africa released HTC rom with the latest imate 1.20 radio.
You first need to SIM/CID unlock your phone with pofs hacked radio rom (which you might need the slightly illegal bootleg bootloader downgrade from any version to 1.04 to accomplish)
then after that you can throw up 1.35 on your device, and use the aforementioned bootloader downgrade util to get down to BL1.04 to put the 1.20 radio rom only upgrade on.
Theres no cooked roms or kitchen ATM because the devices are locked to official roms only. Once someone figures out how to get around that its open season!
Unfortunately, due to encryption of the ROM, there are no custom "cooked" roms as of right now.
I am thinking of buying a Hermes however what is the latest AKU avaliable?
Hermes custom ROM cooking
All shipped Hermes bootloaders enforce signature checking on NBH files against an HTC private key, this is what is preventing the development of custom AKU3.x cooked ROMs on Hermes (and all other new HTC devices).
The SPL can be hacked to avoid this, but it will require some months of research... if anyone here has knowledge with disassemblers / debuggers such as IDA Pro or radare, embedded device bootloaders and ARM/Thumb assembly and is willing to help with this, feel free to contact me on this matter and we can work together
I can't give a real estimation of when this will be possible, because it depends on a lot of factors, but I'm sure we'll be able to do it in the future...
Anyway, I see a lot of people willing to have an AKU3.5 on its hermes, but haven't seen anyone willing to cook it himself on this community yet ... so we need people willing to cook Hermes ROMs first, otherwise the effort put in hacking the SPL is not worth it.
Do You Have Any Links To How To Cook Your Own Hermes ROM Pof? I Would Be Interested In Trying To Cook My Own ROM And If There Was A Turorial/Guide Telling People How To Do It I'm Sure That Many People Would Start Cooking Their Own ROM's.
Mousey
The tutorial does not exist because no one has done it yet, so if you investigate how to do it the first, you can do the tutorial.
A good starting point is having experience with ROM cooking on previous HTC devices, I don't want to discourage newbies in that area but it really helps a lot.
For the Hermes one must first learn how to extract ROM parts from NBH file, this is explained here.
Then one needs to be able to modify OS.nb to add/delete files and modules on it, I have no idea on how to do this on hermes "OS.nb" files... on previous devices one could convert NBF to NBA and use mamaich imgfs tools, but I don't know how to convert Hermes OS.nb into NBA to do it.... so this point should be where people willing to cook ROMs should have to start researching.
I myself never cooked a ROM for any previous device, but have used cooked ROMs in my old BlueAngel and Universal, and more-or-less understand how the cooking process works because I've read the relevant threads on this matter here... I am also not going to loose my time cooking ROMs for the Hermes at this point, because I believe it's more important to loose it in research to provide a way to flash this cooked ROMs once they exist, but we'll get things done faster if we work in parallel, that's why I ask the community to start the cooking research now, even we don't have a real solution to flash the cooked ROMs yet.
pof said:
All shipped Hermes bootloaders enforce signature checking on NBH files against an HTC private key, this is what is preventing the development of custom AKU3.x cooked ROMs on Hermes (and all other new HTC devices).
...
Anyway, I see a lot of people willing to have an AKU3.5 on its hermes, but haven't seen anyone willing to cook it himself on this community yet ... so we need people willing to cook Hermes ROMs first, otherwise the effort put in hacking the SPL is not worth it.
Click to expand...
Click to collapse
Once we have chance to USE cooked ROMs we will start cooking, right away... No point in starting to cook it if there is nobody who can eat it...
Zgembo said:
Once we have chance to USE cooked ROMs we will start cooking, right away...
Click to expand...
Click to collapse
Once you have the chance to flash unsigned code, you'll need 3 months of research to be able to cook a ROM because nobody has investigated on the OS rom layout of the hermes... you'll only be able to flash your splash screen if you stay there sitting and waiting for someone else to do it, we're a community of developers, and what I am asking is to work in PARALLEL.
Zgembo said:
No point in starting to cook it if there is nobody who can eat it...
Click to expand...
Click to collapse
OK, let's make it easy: Imagine hacking the SPL to flash unsigned code takes 3 months, and producing a flashable OS.nb with AKU 3.5 takes another 3 months.
"blue pill") 3 months to hack SPL + 3 months to produce cooked OS.nb == 6 Months to have your cooked AKU 3.5 on Hermes.
"red pill") 3 months a group of people researching on method to hack SPL and another group of people investigating how to produce cooked OS.nb == 3 months in total to have your AKU 3.5 on Hermes.
In the Matrix, which pill would you take, the red or the blue?
i would like a lethal dose red pills please
pof, is it just me or does it seem like no one else is interested? Seems like lots of people are interested in flashing a cooked rom, but doesnt seem like many people want to help get there
@shogunmark: yes
To make things easier I've just published a tool to extract the contents of NBH files, so people does not have to mess with perl:
NBHextract: Extract contents from NBH files
OS.nb can't be converted to a valid imgfs_raw_data.bin using mamaich prepare_imgfs.exe, I still don't know why. Theoretically it should be the same as a decoded nbf (or nba) file, but imgfs tools don't like hermes OS.nb
It would be great if anyone can have a look at it and point us in the right direction...
Oh pof and shogunmark,
you can belive, if I would have the knowledge I woul help you.
It's a nice tool to extract the .NBH and a good start to make things like romcooking. Thanks.
hi POF,
I've tried to run your tool but don't work.please let the world know about this software in order to reduce working time (from 3 months to 1,I hope)..
thanksss
pof said:
OS.nb can't be converted to a valid imgfs_raw_data.bin using mamaich prepare_imgfs.exe, I still don't know why. Theoretically it should be the same as a decoded nbf (or nba) file, but imgfs tools don't like hermes OS.nb
Click to expand...
Click to collapse
Weird, I was using HTC 1.35 rom to do the tests, and was unable to get a imgfs_raw_data.bin bigger than 7Mb.
I have just tried with HTC 1.18 rom, and I could dump OS.nb without problems
Code:
C:\imgfs_tools>prepare_imgfs.exe OS.nb -acer
Searching for IMGFS start... Found at 00659000
Dumping IMGFS ...
Done!
C:\mgfs_tools>dir imgfs*
14/01/2007 09:11 53.215.232 imgfs_raw_data.bin
14/01/2007 09:09 0 imgfs_removed_data.bin
C:\imgfs_tools>viewimgfs.exe imgfs_raw_data.bin
Probably OS.nb has a different layout on newer Hermes ROMs... will have to investigate that!
warrio said:
I've tried to run your tool but don't work
Click to expand...
Click to collapse
which problem do you have? it must be run from command line...
after download I tried to run exe file but appears a window with "impossible to run application configuration file not correct try to download again"..
maybe I wrong something..
warrio said:
after download I tried to run exe file but appears a window with "impossible to run application configuration file not correct try to download again"..
maybe I wrong something..
Click to expand...
Click to collapse
Hi
The way, I've testet the tool is the following:
1.unzip the NBHextract folder to c:
2. put the .NBH you want to extract in that folder.
3. go to the commad-console and switch to folder "NBHextract"
4. type"NBHextract.exe HERMING.nbh -v" now the tool extracts the content.
It's easy .
Weird, I was using HTC 1.35 rom to do the tests, and was unable to get a imgfs_raw_data.bin bigger than 7Mb.
Click to expand...
Click to collapse
It's the same problem with the german O2 Update
thank you scorpio16v
Ok 2 Questions.
1.
I Tried Running The Program On An NBH File I Downloaded But I Got An Error.
C:\>NBHextract.exe test.nbh -v
The system cannot execute the specified program.
Click to expand...
Click to collapse
2.
Most/All Of The Updates I Download Come In .exe Format, How Do I Get An NBH File From The Exe.
Finally. With You Being Able To Extract The OS.nb File Pof Does That Mean In Theory We Can Cook Roms From The Older (1.18) Roms?
Cheers
Mousey
Hi everyone,
I have used the kitchen found in the forum to unpack the official 1.90.405 wwe rom. in the temp folder, there is a dump_xip. i believe this is the XIP for the rom.
the wince.nls located in the dump_xip is 200+ kb which is for WWE. I have the asian wince.nls ripped from diamond, and it is close to 1mb. after replacing the wince.nls in the dump_xip folder, how to i rebuild the xip?
can any kindsoul help me?
ruffruff said:
Hi everyone,
I have used the kitchen found in the forum to unpack the official 1.90.405 wwe rom. in the temp folder, there is a dump_xip. i believe this is the XIP for the rom.
the wince.nls located in the dump_xip is 200+ kb which is for WWE. I have the asian wince.nls ripped from diamond, and it is close to 1mb. after replacing the wince.nls in the dump_xip folder, how to i rebuild the xip?
can any kindsoul help me?
Click to expand...
Click to collapse
Did you read this thread?
http://forum.xda-developers.com/showthread.php?t=395526
Cheers
jcespi2005 said:
Did you read this thread?
http://forum.xda-developers.com/showthread.php?t=395526
Cheers
Click to expand...
Click to collapse
just did. well, its a lot more complicated than i see it to be.
i just need to replace one file in the XIP not to port a new xip ...
is there a easier way to do that?
help guys...
please help...
i need to edit a working xip from either a new rom or an official rom.
i only need to replace the attached file into the official xip.
can anyone help me?
have u tried to just put it in SYS folder in kitchen & build it? if i'm not mistaken u also can use the wince.nls by just copy it to windows dir in ur ppc.
hang.tuah said:
have u tried to just put it in SYS folder in kitchen & build it? if i'm not mistaken u also can use the wince.nls by just copy it to windows dir in ur ppc.
Click to expand...
Click to collapse
hi hang tuah,
i have tried those already. it doesn't work.
by using the methods you suggest, you have to use reloadnls.exe together with the methods or else the asian regions will not be shown.
i have searched and read quite a huge amount of data and threads and the only way now is to replace the wince.nls directly within the XIP. this will ensure that after building the rom, the asian wince.nls will be effective. i need help on how to edit the xip.bin file. once edited, i can add it back to the os.nb.payout file.
i have tried dumping the official xip.bin file using xipport, but after replacing the wince.nls to the asian version and rebuilding xip.bin, flashing, the device will hang at the boot screen.
i might have miss out something else. but i dun know what i have misses out..
i need help here.
So in this case, u want to make full XIP port. U may find one low-profile guru named Akadonny. If u r lucky, he will teach u every single twist
hang.tuah said:
So in this case, u want to make full XIP port. U may find one low-profile guru named Akadonny. If u r lucky, he will teach u every single twist
Click to expand...
Click to collapse
wow, thanks for the recommendation.
i'll drop him a pm and pray that he will respond.
but in the past when i was using artemis and kaiser. i think some experts help to cook in the wince.nls into their rom. really hope they could respond to my thread and help me out...
its so difficult to get a english rom with asian regional settings support. how i wish i can understand the whole windows mobile mumbo jumbo and do it myself...
thanks hang.tuah
by the way, your rom is fabulous... nice and fast!
I really want to get a english rom with asian regional settings support
wish u to make it.
cranesky said:
I really want to get a english rom with asian regional settings support
wish u to make it.
Click to expand...
Click to collapse
i am praying hard as well...
i am almost out of idea on what to try next...
flashing my device close to 50 odd times a day ...
please dun let me give up...
experts, please enlighten me ...
if you all know how to port new xip to your languages, you should know how to do this .. please teach me...
Hey Guys,
Its been a while since i am visiting this forum. I've seen that most of the phone specific Upgrading/Modifying sections have atleast one thread about a kitchen for that particular phone. But this is not the case with P3400 and P3400i also known as GENE and the New Gene.
Why is it so? There are 3-4 ROMS available for gene and now 1 for the New Gene too but none of the authors have shared the kitchen they used for the purpose.
I know there is a thread by a moderator in this forum where he has shared the tools he used for the purpose, but the thread is not written in such a way that it can be of use for a new person.
So i request all the senior members who have experiance with cooking roms for P3400 and P3400i to share the process and tools in a clear way so more good ROMs can be made by other people too or atleast some modifications can be tried out to make the existing ones work better.
That would be a good step for all.
I made a Kitchen for gene and i'm planning to release it soon. I need to correct some bugs and made a tutorial.
here is the link
but i don't have account on 4pda.ru
if any body has 4pda.ru account download and create mirror link
Thanks Ankit, i managed to create an account on 4pda.ru by translating russian into english by the Yahoo Babelfish service. It was quiet difficult but i somehow managed to do it. Currenlt downloading the file. Will post a mirror soon.
In the meantime, can anyone suggest a filesharing website where i can upload it for free and forever? On rapidshare they delete the uploaded file after sometime.
Hey guys!
Here is the mirror link for the GENE Kitchen. This kitchen is for both new and old gene. Kudos to Ankit for finding it
http://www.4shared.com/file/76585257/8f1b219e/gene_kitchen.html
But one thing still unsolved, the readme file is in i dont know what language, its not even Russian. And the files inside the kitchen also contain russian versions as far as i can guess.
Can anybody throw some light on how to use this kitchen to generate a stock WM 6.1 ROM without any custom software and ALL the default software. One thing i can guess is that if i want all the default features included then i'll have to move all the stuff from "Removed from Sys" folder to Sys folder. Am i right?
skydrive
krazy_about_technology said:
can anyone suggest a filesharing website where i can upload it for free and forever? On rapidshare they delete the uploaded file after sometime.
Click to expand...
Click to collapse
SkyDrive
ankit360 said:
SkyDrive
Click to expand...
Click to collapse
Ya i thought about that, but i guess 4Shared is good too. Is anybody having problem downloading the kitchen from 4shared?
Any updates on the Kitchen Guys??? I have managed to get the translation of the Readme done by Google translate. I have attached the translated file.
This kitchen is made from a Russian ROM as a base. So its unusable as far as i am concerned. Some tools, although are intresting. I have managed to make an automated batch script to dump a ROM Image's (.nbh file) contents into a folder. I call it ROMAnalyzer
To use it:
--------------
Extract the ROMAnalyzer.zip to a folder. Copy your ROM file to the directory. Now drag it to either FullDump.cmd or OSDump.cmd to start the process. Check out the output folder for the dump.
The difference between FullDump and OSDump is that FullDump dumps the imgfs filesystem and also leaves the XIP, NB and TXT files in the output folder for furthur analysis. OSDump just dumps the OS files.
Don't know whether it would be useful to anyone or not. Just sharing what i got. I use it to look into new ROMS after downloading them to see whats included, and sometimes, copy stuff off them like games, tones etc
Hey,
I'm working on customizing a rom for the HTC Surround with the NoDo update. I'm using pieces from the HD7 ROM that was leaked. Not sure if it will work though.
I'm having trouble flashing it to a device.
I was adding it into os.nb using htcrie.exe replace /I imgfs.bin os.nb
But then I came across other documentation saying to put it into os.nb.payload. As yet, I haven't been able to successfully put it into that file. Here is the command line I was using: ImgfsToNb imgfs.new.bin OS.nb.payload OS-new.nb.payload
I think my problem is that I am using the wrong payload-chunk-size and extra-chunk-size when I use NBSplit. I'm not sure how to find that from the ROM.
Any suggestions?
I can upload my modified imgfs if anyone wants to use it.
As I said before, I'm not entirely sure whether I'm on the right track. As this is the first time I've ever tried to cook a ROM, So I'm still learning.
Regards,
Gabriel
Friend, I regret not being able to help, since I have little rom Personalised knowledge. Only I am writing to ask if you can make a multi-language, since the AT & T rom limit myself to only English.
I hope to get lucky ... deposit in you all my trust and support.
Greetings
I was thinking of teaching myself how to cook WP7 for Leo. Ive looked through the HD2 section and the WP7 section. I got myself the kitchen and some basic instuructions, but i have a few questions.
1) where are the langugage files and how can i add/delete language abilities?
2) I can make the default.hvm file and user.hvm file, but how do i open them to edit things?
3) If i screw up cooking my ROM and test it on my HD2, will it brick the phone?
I really dont want to release something, that doesnt work, so if anyone could help me, that would be great!
nips_uk said:
I was thinking of teaching myself how to cook WP7 for Leo. Ive looked through the HD2 section and the WP7 section. I got myself the kitchen and some basic instuructions, but i have a few questions.
1) where are the langugage files and how can i add/delete language abilities?
2) I can make the default.hvm file and user.hvm file, but how do i open them to edit things?
3) If i screw up cooking my ROM and test it on my HD2, will it brick the phone?
I really dont want to release something, that doesnt work, so if anyone could help me, that would be great!
Click to expand...
Click to collapse
Just for starters, have a look at Yuki's Great tut on cooking WP7, which i believe you already have.
now the questions,
1) i dont know much about this, but usually on x86 platform microsoft has ttf fonts for languages which are linked to system language preference using registry database.
2) they are registry hives, use any registry hive editor from google (works for me)
3) Nope, HSPL protects user from bad flashes in bootloader, MAGLDR protects HSPL by doing flash work in userspace. so if you flash a bad image, power goes off during flash using MAGLDR and DWI, only the data on NAND will be corrupt, you can still boot into HSPL bootloader and MAGLDR and next time you flash a good image, that will boot as well. (you will have to format/clean the partitions ofc if using Android)
Although this is a dev section its not for asking questions, do that in the Q&A forum.
The only posts here should be dev releases/projects/reference etc.
What do you think this section would look like if everybody was allowed to just post questions?? Thats the whole reason the Q&A forums were created in first place.
sorry TheATHEiST, my bad. ill remember that from now on.
@Rick_1995. Thanks for that! should get me started!
nips_uk said:
sorry TheATHEiST, my bad. ill remember that from now on.
@Rick_1995. Thanks for that! should get me started!
Click to expand...
Click to collapse
The .hvm files are actually editable in any text editor, as I found out. Just don't forget to convert them back to .hv files like I did.