[Q] Custom Rom for HTC Surround - Surround Windows Phone 7 Development

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

Related

New Custom Roms

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

ROM Cooking for beginners - manual attached

Hi all,
I made this manual in order to help people like myself to better understand ROM cooking basics.
It was ment to be used for Prophet ROMs, but since it uses HyperCore Kitchen, it can be practicaly used for any WM6 ROM.
Please be free to post your comments and/or suggestions.
NOTE: This manual reffers only to "old" way of ROM cooking (first downgrading to WM5, and then flashing to WM6)
If you find it useful, please vote.
Thanks to:
Gullum (for great ROMs)
Anichillus (for great Kitchen)
Cloudyfa (for Step1 ROM)
phnikola said:
Hi all,
I made this manual in order to help people like myself to better understand ROM cooking basics. Hope you will find it useful.
It was ment to be used for Prophet ROMs, but since it uses HyperCore Kitchen, it can be practicaly used for any WM6 ROM.
Please be free to post your comments and/or suggestions.
Thanks!
Click to expand...
Click to collapse
No, thank you!! I will look into it.
me too
i like this
Thanks for your effort, this is a really good guide.
I just wanted to ask is there a difference between ROMs built this way and ROMs that we flash using new Hard/SoftSPL method.
I saw nb2nbf tool, so is it possible to just convert OS.nb file and flash it using new method or is there some more work that needs to be done?
thank you
I really need it !
Ill check it out this weekend! Seems like fun to me
I have red this guide and it is very clear, very thourough and a big help to anyone starting to cook! THANKS!!
(@ allothers that are missing some extra's: it is NOT an advanced course! So, don't complain but take an example and publish your own knowledge and experience this way. Then everyone can benefit)
Initiatives like these are giving back the original gaoal of this website, it isn't called "xda-developers" for nothing.
Perhaps someone can make a tutorial for skinning standard OS-parts (commanager, dialer, calculator, etc...) Or how to translate your favorite ROM to your own language?
you can't use this way to create XIP from Shadow's ROM, Crystal V5. ROM or from Korand's ROM.
If someone can make this XIP.. Could anyone share the file...
with that file. I can make a new ROM based on new OS..
varanusvincent said:
you can't use this way to create XIP from Shadow's ROM, Crystal V5. ROM or from Korand's ROM.
If someone can make this XIP.. Could anyone share the file...
with that file. I can make a new ROM based on new OS..
Click to expand...
Click to collapse
Never flashed any of these ROMs you specified - so if their XIPs can't be dumped using Dump XIP tool from the HyperCore Kitchen, than I won't bother with them. Let me add that ROM cooker can also remove RGU files from ROM before posting, making it very difficult for someone to modify it. Then I'll skip such ROM too.
But...
FACTS
- This manual was intended for beginners.
- When you are a beginner in ROM cooking you don't like to be confused, but want it all to be clear to you before you do anything to your expensive device.
- I see that you are using modified Touch ROM, which can be dumped with this method.
- I also use modified Touch ROM, but I will not post it - there is enough good ROMs out there already
Cheers!
Hi All - my first post
Thanks for this Phnikola, I'm brand new to all this (smartphone) stuff and need a place to start. Looks good so far.
My TC500 never was in the shops, has no support and no official upgrade path (hmmm...) but there are a few cunning points concerning SIP and home landline "awareness" in the original ROM I'd like to take with me up into WM6.1 (got Cloudyfa's Shadow 2.0 TE ready to go).
Any1 have any good advice for me?
Thanks again
_________________________
TC500 G4 HTC Prophet
IPL: 2.58.0001
SPL: 2.58.0001
GSM: 02.19.21
OS: 2.58.20.21
Work on dopod 818 pro wm 5?
i want to upgrade rom and wm6
thanks...
black_shadow69 said:
Work on dopod 818 pro wm 5?
i want to upgrade rom and wm6
thanks...
Click to expand...
Click to collapse
Yes it does, but you don't have to cook your own ROM. Just wonder around a bit on this forum and pick a ROM that suits you.
Dear phnikola
Thanks a lot for such nice guide... I was trying to use HyperCore kitchen for last 4 hrs but was not able to pass step 1 of extractiong Os.nb
Your guide is really good & helpful
hi phnikola,
just wanna said that nice guide n great contribution. Maybe more images would help the word "for beginners", hope in your next version of manual..
your contribution really apprieciated...
thanks
clustered said:
Maybe more images would help the word "for beginners", hope in your next version of manual..
Click to expand...
Click to collapse
believe me..if one just read this guise patiently.. he won't find any need for pictures...
I was complete beginner.. and this really helped me in extracting 2 ROMS and cooking a customized taking best from boths.
hellow sir i want to make sure if my pda is G3 pls.. Reply
IPL:1.00
SPL 2.g3.4pda
GSM 01.13.20
OS 7.0.0.7

how to make my rom dump?

hello ive got th iolite
but i dont know if i can use the tools that i also use for my blackstone to make the romdump?
and can i use the same kitchen as for the blackstone??
hi,
see here
This is by the Jade forum. but I think it should work also for you.
thank you going to give it a try
miniterror said:
thank you going to give it a try
Click to expand...
Click to collapse
Did you have success?
just saw that my comment was ereased
i didnt have succes because i didnt tryed it
i wanted to make a dump of the dutch rom but is already on the site
so i thiought a dump wassnt nesecary any more
Hi, i got a dutch Iolite and right now i am trying to find out how to swap to an english ROM. But somehow it is quite difficult to find kind of a step-by-step explanation in this board.
I guess before trying any kind of flashing action i should first dump the ROM I have installed, to go back in any case.
So i downloaded those ITSutils but procread just crashes with a 'RAPI.dll was not found" error. Well, i will check for that later in the board, but in general... What should i do to dump the ROM?
I am supposed to plug it to a pc via usb? If so, using which drivers? Do i need to open that windows mobile cd i got with the phone?
Because if i would not need it, i would keep it closed until I decided wether to keep the phone (in english) or to sell it again when it has to stay in dutch.
Thanks for any help, because I really did not find what i was looking for within the wiki or that board so far. thanks
I find this topic very confusung too! :-/
For maybe being of help for other people:
- the RAPI.dll not found error is gone, when Active Sync 4.5 is installed at the host-computer, then there are also no further drivers needed
- smartphone has to be attached via usb in the activesync mode
The thing is this:
Nobody explains that right!!!!!!
Sorry maybe i'm a fool!!!!
I think is more easy wait a original ROM upgrade from HTC......
Eduardo
The real interresting question here must be; how to backup / dump my existing ROM to .nbh?
That way it wouldent be so scary to try the different custom roms here, and allso it would be very easy to share our ROM's.
Dump it to RAW, then use "Visual EviusKitchen" - ExtraButtons - Raw2NBH
Dumping programm: HERE
Kitchen U find in forum too, must use sefu
Greetings

Help cooking Sense

I am looking for some help, possibly from someone like arag0n85 or FFBOY, i have sucesfully built a 6.5.5 rom using FFBOYs kitchen. My problem lies in adding sense to the kitchen. I have downloaded the sense packages but when i add them to the OEM or SYS folders of my kitchen i get the error "Could not find file 'C:\TG01_ROM_KITCHEN\temp\dump\files\imageinfo.bin'" so after some searching i got Package Creator and fed the sense files through that one part at a time, ie calender then core and so on. This at first appeared to work as BuildOS now asks me which of these i wish to include, so i tick all of them and continue to build and i now get the error "The file 'temp\dump\imageinfo.bin' already exists.
If anyone can help or point me to a thread that can please do, i'm stuck and can't figure a way round the problem
leeston2379 said:
I am looking for some help, possibly from someone like arag0n85 or FFBOY, i have sucesfully built a 6.5.5 rom using FFBOYs kitchen. My problem lies in adding sense to the kitchen. I have downloaded the sense packages but when i add them to the OEM or SYS folders of my kitchen i get the error "Could not find file 'C:\TG01_ROM_KITCHEN\temp\dump\files\imageinfo.bin'" so after some searching i got Package Creator and fed the sense files through that one part at a time, ie calender then core and so on. This at first appeared to work as BuildOS now asks me which of these i wish to include, so i tick all of them and continue to build and i now get the error "The file 'temp\dump\imageinfo.bin' already exists.
If anyone can help or point me to a thread that can please do, i'm stuck and can't figure a way round the problem
Click to expand...
Click to collapse
This is a problem of ffboys kitchen. I have a ROM with SENSE
l3v5y-TG01-Kitchen-200,330th cooked. with this I have no errors.
i hope you understand my english: D
http://forum.xda-developers.com/showpost.php?p=6028346&postcount=1
I still have the same problem when usings L3v5y's kitchen. May i ask where did you get your sense files and how did you make them into a working package.
Your English is excellent by the way, better than my German.
leeston2379 said:
I still have the same problem when usings L3v5y's kitchen. May i ask where did you get your sense files and how did you make them into a working package.
Your English is excellent by the way, better than my German.
Click to expand...
Click to collapse
I have Novembre5 ROM as basis for my ROM.
Then I used the L3v5y's kitchen the ROM dump. created a folder named OEM.
SENSE OEM files added in this folder. Build without errors, ROM burning.
But SENSE does not start. After much, much tuning and error search, now it works. this is a looooooong way to the working ROM.
and help of our chefs, forget it
INFO: ffboys and nokser ROM is not posible to dump!
Thank you for your help, i've figured it out. I was using the wrong type of package builder. I was using a "visual" type as opposed to an "old" type. For any one having the same problems a visual to old convertor can be found HERE.

IMGFS with XPH compression, how to create ?

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

Categories

Resources