PDA

View Full Version : Wiki: Trinity ROM reconstruction tutorial (Dump -> flashable)


ZakMcRofl
22nd March 2007, 09:25 PM
As some of your have seen I have recently done a successful ROM reconstruction for Trinity (German GPS ROM).
Because this would not have been possible without mouseym's wonderful tutorial for Hermes, I decided to share the knowledge and my experience on the subject.

You can find my detailed tutorial in the Wiki:
http://wiki.xda-developers.com/index.php?pagename=Trinity_HowtoReconstruct

If you have any questions about it, feel free to contact me. Or directly edit the Wiki, that's what it's there for.

Cr7pt0r
22nd March 2007, 10:58 PM
Pretty good friend :). But if I want to dump and reconstruct everything that my HTC p3600 has in it. RADIO,EXTROM,OS ... etc ?

ZakMcRofl
22nd March 2007, 11:10 PM
Pretty good friend :). But if I want to dump and reconstruct everything that my HTC p3600 has in it. RADIO,EXTROM,OS ... etc ?

Then you now know the first step :)
ExtRom can be unlocked and copied, easy.
Radio is irrelevant as there are plenty good versions out there. Why flash an old one. You could probably reconstruct ExtRom but like I said, its much easier to just copy its contents to SD.

Drug_Store
23rd March 2007, 05:50 AM
Hello Zack

I dumped an Portuguese ROM weeks ago, but never could convert.

Tried your method, and when I do the rebuilt (buildimgfs) step, command prompt gives some error and doesnt create the BIN file :(

Can u give me a help?

Complete dump:
http://forum.xda-developers.com/showthread.php?t=296182

And see this post for complete description:
http://forum.xda-developers.com/showpost.php?p=1154907&postcount=8

This would be a much appreciated, because theres no ROM RUU available for portuguese anywhere. :( And some users after using the Dopod activated GPS rom want to get back to portuguese.

Btw, this dumped portugues doesnt have the GPS activated.
Is it possible to cook a ROM with GPS activated but with Portuguese language?
But this is for later, top priority for now is to build a RUU portuguese ROM from the dump I made, because there´s none available.

Thanks

ZakMcRofl
23rd March 2007, 08:35 AM
Hi Drug_Store,
I have already converted your dump and sent it to mariocruz who successfully flashed it. I'll make a proper release today (OS only) so you guys can get your poruguese ROM back.

About your error:
You need to be a LOT more specific. "some error", what am I supposed to do with that? Also the step doesn't create the bin, it fills it. The bin is created in step 2. Before you run Step 4, make sure you have imgfs_raw_data.bin in workdir.

About putting GPS into non-GPS ROMs: I haven't put any research into this, I just know the Hermes guys tried this. You can check their forum and if you find details, let me know.

Like I said, expect the portuguese ROM later today.

Drug_Store
24th March 2007, 01:25 AM
Hi Drug_Store,
I have already converted your dump and sent it to mariocruz who successfully flashed it. I'll make a proper release today (OS only) so you guys can get your poruguese ROM back.

About your error:
You need to be a LOT more specific. "some error", what am I supposed to do with that? Also the step doesn't create the bin, it fills it. The bin is created in step 2. Before you run Step 4, make sure you have imgfs_raw_data.bin in workdir.

About putting GPS into non-GPS ROMs: I haven't put any research into this, I just know the Hermes guys tried this. You can check their forum and if you find details, let me know.

Like I said, expect the portuguese ROM later today.

About the error on Bin creation, is like when some app sudently closes on XP, he presents a little box with report error things.

I´ll post a printscreen later if u want.

Anyway, much appreciated for your kind help

ZakMcRofl
24th March 2007, 01:36 AM
The process will change for my proper ROMs. I'll edit the tutorial after I've done it.
Anyways, I'm pretty sure you did something wrong, maybe you didn't put one file into the correct directory.

Drug_Store
24th March 2007, 02:28 AM
The process will change for my proper ROMs. I'll edit the tutorial after I've done it.
Anyways, I'm pretty sure you did something wrong, maybe you didn't put one file into the correct directory.

I guess not... dump folder was there and he starts, but later... error. Maybe some issue with my pc... :(

extenue
25th March 2007, 07:37 PM
hello all

i tried to do a dump of my trinity (SFR S300+) , french rom

so i have the error when dumping the part02.raw , so i tried to do the 0x800 trick to complete the dump but the final result of part02_1.raw is always null

0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
CopyTFFSToFile(0x2140000, 0x800, Part02_1.raw)

any idea ?

EDIT : i said nothing !! this result is normal , i have not read after the wiki article, it's for that i believe the result was wrong

extenue
25th March 2007, 11:39 PM
Thank you VERY VERY MUCH ZakMcRofl for all !!

i successfully done a complete os dump to my trinity , i can now test the others rom present here :)

now i'd like to do a complete release with IPL, SPL, RADIO/GSM and ExtROM

have you some explanation about that ? i have just to put the correct files in RomBaker ?

ZakMcRofl
25th March 2007, 11:53 PM
Did you dump it or reconstruct it?
A full release isn't current possible because you can't flash extrom (unless you use one from an official release).
What I suggest if you want to release something:
- release OS only if its without GPS (radio doesn't matter)
- release OS+Des' Hard-SPL+radio 1.38.00.11 if OS has GPS (SPL for security, radio because its the latest with GPS)

Looking Glass
26th March 2007, 08:56 AM
Did you dump it or reconstruct it?
A full release isn't current possible because you can't flash extrom (unless you use one from an official release).
What I suggest if you want to release something:
- release OS only if its without GPS (radio doesn't matter)
- release OS+Des' Hard-SPL+radio 1.38.00.11 if OS has GPS (SPL for security, radio because its the latest with GPS)

Sorry to bother you Zak, I've been reading long time the forum, and still unsure: May I reconstruct my Spanish ROM and change the Radio ROM and get GPS enabled?
There is not currently any RUU ES available, and I've read in the forum that either changing or upgrading ROM radio is NOT enough to get GPS enabled, so your proposal is only for users already sporting a GPS enabled ROM?

Still too confused about what is needed to get GPS in my own Trinity language.

extenue
26th March 2007, 08:59 AM
Did you dump it or reconstruct it?
A full release isn't current possible because you can't flash extrom (unless you use one from an official release).
What I suggest if you want to release something:
- release OS only if its without GPS (radio doesn't matter)
- release OS+Des' Hard-SPL+radio 1.38.00.11 if OS has GPS (SPL for security, radio because its the latest with GPS)

i reconstruct the os (so only part02.raw) i dump just before with RomBaker
my os integrate the GPS

what's Des' Hard-SPL ?

can i dump and reconstruct my extrom ? if yes , can i modify it before reconstruct ?

EDIT : you said "you can't flash extrom (unless you use one from an official release)." , so my last question has no sense ?

ZakMcRofl
26th March 2007, 09:42 AM
@Looking Glass: reconstruction itself has nothing to do with GPS. In the german community we were lucky because two providers make (german) phones with GPS enabled. We dumped those roms.

For GPS you need two things:
1) GPS-enabled radio (no problem)
2) GPS-enabled OS (problem if no device exists)

So to get spanish GPS you have three options:
1) Wait until there's a spansih GPS-enabled trin and dump it
2) Try to put radio drivers into spanish ROM (see Hermes forum for research on that)
3) Try to replace the german language parts to spanish language parts. I'm not sure how WM5 handles localization, this may not easily be possible. mus_run suggested that.

@extenue
Hard-SPL is Olipro's name for a bootloader (SPL) that allows flashing of unsigned Roms (and more). DES released one for Trinity:
http://forum.xda-developers.com/showthread.php?t=296734

About ExtROM: you can dump it but not reconstruct. The only option is to include an existing ExtRom.nb from any official ROM. We can't make our own.
Alternative is to make it readable (search for it) and copy out the cabs. You could then launch them manually later or supercid your device and write them back.

Depending on which ROM you flash you probably won't change your ExtROM anyways. To be sure you could extract the NBH you intend to flash, remove the ExtROM if any and flash. That way your original extrom stays.

Looking Glass
26th March 2007, 11:45 AM
@Looking Glass:
...........
For GPS you need two things:
1) GPS-enabled radio (no problem)
2) GPS-enabled OS (problem if no device exists)
................
.

Thanks for info.
So we are back again to the starting point.... NO ROM available, >> no GPS in your language.
I'm beginnng to drift to UMPC's: As soon as the form factor and the integration of phone capabilities converge, there will be no reason for that F____G Windows Mobile OS thing to exist.
If Apple does things right with Leopard OS putting a full version on its i-phone, the whole market may shift toward the idea: ONE single OS in all your devices. No more syncing, no more file conversions, no more data lost in the process... What a dream!

turchino
26th March 2007, 01:37 PM
About ExtROM: you can dump it but not reconstruct. The only option is to include an existing ExtRom.nb from any official ROM. We can't make our own.
Alternative is to make it readable (search for it) and copy out the cabs. You could then launch them manually later or supercid your device and write them back.

Depending on which ROM you flash you probably won't change your ExtROM anyways. To be sure you could extract the NBH you intend to flash, remove the ExtROM if any and flash. That way your original extrom stays.

Why we are not able to reconstruct it, what is missing? I have applied reg tweaks and make it visible and copied the contents as you've said. But would really like to able to reconstruct an own ExtRom.

extenue
26th March 2007, 07:19 PM
@extenue
Hard-SPL is Olipro's name for a bootloader (SPL) that allows flashing of unsigned Roms (and more). DES released one for Trinity:
http://forum.xda-developers.com/showthread.php?t=296734

@ZakMcCracken
Can i use now the new prog (instead the other above) from olipro seen here : http://forum.xda-developers.com/showthread.php?t=299659 ?

Thank you for your help

ZakMcRofl
26th March 2007, 07:27 PM
@turchino: Feel free to research the nb format for ExtROMs. You can read it, you can write it, but you can't flash it.

@extenue: You can use it, yes. But you should test it for yourself before you release to others.

saminegm
27th March 2007, 07:55 AM
@turchino: Feel free to research the nb format for ExtROMs. You can read it, you can write it, but you can't flash it.

@extenue: You can use it, yes. But you should test it for yourself before you release to others.

Did you notice your new nickname: ZakMcCracken:D ?

ZakMcRofl
27th March 2007, 08:42 AM
I did. Its where my nick originally derives from.

jorgejuancn
7th January 2008, 12:47 AM
Hi there. I´m trying to rebuild my rom but when i use the rombaker to generate a nbh file it only can create a .txt file. Please, could somebody help me? by the way, it´s my first post on english language.