yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] whistler-nl:
Warning: Noob in action.

I'm a noob when it comes to building rom's for my HD2 but i wanted to extract the yuki-xboxmod 2.1 rom and re-build it without any modifications (yet).

So i extracted the part04.bin and extracted it giving me the following files:

Sofar so good.

Then when i try to re-build the OS.nb i get a few errors about the reserved blocks being 0 but i can change that by adding an extra block to the size and give a single extra block for the reserved part. Finally it hangs at the user part where htcrie just crashes (so i dont know what happens there).

This is the folder with all the files:

This is the cfg file (unmodified so it still has the zero reserved blocks in there):

; Admsoft (R) htcrie Version 0.8.182
; WP7 ROM Image Configuration File
; (C) 2011 AnDim & XDA-Developers
;
;
; Version: 1.1.003
; Date: 15/1/2012

[General]
config=1

[Image]
syncBytes="D000FF\n"
pfrmBlockCount=0xC28

[Geometry]
sectorDataSize=0x800
sectorsPerBlock=0x40
sectorInfoSize=0x06

[Partition Layout]
partitionCount=0x0A
0="LOGO"
1="BLDR"
2="BSP"
3="DPP"
4="USP"
5="SLDR1"
6="SLDR2"
7="NK"
8="IMGFS"
9="User"

[logo]
blockCount=0x01
reserved=0x00
DIRECT_MAP=1

[bldr]
blockCount=0x01
reserved=0x00
DIRECT_MAP=1

[bsp]
blockCount=0x01
reserved=0x00
DIRECT_MAP=1

[dpp]
blockCount=0x01
reserved=0x00
DIRECT_MAP=1

[usp]
blockCount=0x1E
reserved=0x0E
DIRECT_MAP=0

[sldr1]
blockCount=0x32
reserved=0x01
DIRECT_MAP=1

[sldr2]
blockCount=0x32
reserved=0x01
DIRECT_MAP=1

[nk]
blockCount=0x39
reserved=0x01
DIRECT_MAP=1

[imgfs]
blockCount=0x9AD
reserved=0x2C
DIRECT_MAP=0

[user]
blockCount=0x1BA
reserved=0x12
DIRECT_MAP=0

Any help would be really appreciated as i'm not getting anywhere at this moment.

EDIT:

Ok, there's a weird thing with the user.bin in the yuki-xbmod rom. I took the user.bin from the DFT UltraFruit and then it did re-build the files. Trying to flash the re-build file....
[Windows Phone 7 Development and Hacking] voluptuary:
Is there any way to get this to open/edit the CSC.D000FF file for 1st gen Samsung ROM's? I don't want to change anything with the OS image just the CSC.

EDIT: I have attached a stock CSC file
[Windows Phone 7 Development and Hacking] voluptuary:
AnDim, I would be super greatfull if you could update this tool to work with newer (8107) Samsung 1st gen ROM's. I don't know how DFT build their Rainbow ROM's but I can't for the life of me get this to work.

Any time I try to dump the OS.D000FF I get the following:
[Windows Phone 7 Development and Hacking] AnDim:
It's work fine ..

Tested Fokus 1.3, Omnia with xp 32, w7 64

Both com and gui mode.

AnDim
[Windows Phone 7 Development and Hacking] voluptuary:
Really? I can't get it to work. Did you use DFT's ROM to test or an original 7004 Samsung ROM? I'm using Win7 x64 with the direct dump of my phone (dumped with DFT's flasher). I can open OS.D000FF in GUI and I can extract single files but it does this strange bug where every later file it extracts is really the first file I extracted (different name but same data), and it always errors when trying to dump the whole thing. Also did you get it to work with the CSC.D000FF?

Bah, I'll try to figure out what I'm doing wrong. Thanks for your time.
[Windows Phone 7 Development and Hacking] AnDim:
1. dft roms (os.d000ff)

2. to check dumped rom, you must upload it first :-)

3. gui mode. To dump selected file you must select rom partition first f.e. imgfs, but not package.

Can dump full package, or packages (select sys or oem folder).
[Windows Phone 7 Development and Hacking] voluptuary:
Ok, I can get everything to work with DFT's ROM but not with the ROM's dumped from my phone using their flashing tool. Still can't edit the CSC.D000FF though.
[Windows Phone 7 Development and Hacking] AnDim:
CSC is a package cab file.

Samsung used a d000ff container to distribute some package.
[Windows Phone 7 Development and Hacking] Nokser:
this possible, extract this file in winrar or in other apps ;)

this is a compressed package...
[Windows Phone 7 Development and Hacking] voluptuary:
I can open the file with 7zip but anytime I try to extract the files with it crashes 7zip on me.
[Windows Phone 7 Development and Hacking] Nokser:
you maybe dump this file in this tool - BuildBLDR tool

if not help, then i find more solutions
[Windows Phone 7 Development and Hacking] AnDim:
SCS package file content
[Windows Phone 7 Development and Hacking] ceesheim:
can you tell/or make a tool that let us dump and rebuild the csc files that can then be flashed AnDim ?

Greetings Cees Heim
[Windows Phone 7 Development and Hacking] AnDim:
Ok, but need some more scs files first.
[Windows Phone 7 Development and Hacking] ceesheim:
here is one :

this one was dumped from phone during magldr testing.

and ofcaurse all the thanks to you .

this is from a 7004 build (t-moble de)

and here is the stock one (it scould be the same ) but then from samsung self.
[Windows Phone 7 Development and Hacking] voluptuary:
Here are the ATT and Rogers Focus v1.3 7004 OEM CSC's

Edit: and the CSC as dumped by DFT's flashing tool from my 8107 Rogers Focus.
[Windows Phone 7 Development and Hacking] voluptuary:
I don't know for sure if it's just that I'm an idiot or that Samsung 8107 ROM dumps will not work with this but I am about to punch some babies and stomp some bunnies !

I can not dump my OS.D000FF with OSBuilder at all no matter if I rename the OS file to OS.nb/OS.nb0/OS.nbh I always get one error or another. I can open/view OS.D000FF with htcRIE but I can't dump the imgfs.bin all I can do is dump the SYS/OEM packages but then when I try to use those to build a new imgfs.bin in OSBuilder it gives be errors about not being able to find CERT and that there is no OEMDriver's... I'm sure I'm doing something wrong.

I guess I would kill for a real good tutorial for n00b's like myself that takes me from a raw OS.D000FF to an edited/rebuilt OS.D000FF that I can flash to my phone using DFT's flashing tool. Start to finish, step by step.

Since I know nobody likes to do things for free I offer a reward of a 3 Month Zune Pass Token for this. It can be just text steps but pictures too would be great.

EDIT: If need be I can give the token/code to a MOD for safe keeping to reward the person that does this or you can just take me at my word that I'll give you the token/code.

EDIT: REWARD HAS BEEN GIVEN TO AnDim
[Windows Phone 7 Development and Hacking] AnDim:
:-)))))))

Try to read first post of this thread ...
[Windows Phone 7 Development and Hacking] voluptuary:
I did, and I appreciate your work, but I can't get past trying to dump all the bin's from my OS.D000FF (8107 Samsung) let alone how to properly extract files from those .bin's, edit them/add to them, clean them up, then repack them into their .bin's, then pack those .bin's back into a DFT flashable OS.D000FF.

Like for example I can dump the files using those cmd's on some other ROM's (not the ROM's I want to use though) but I don't know what to do or where to go to say edit the files in IMGFS -> OEM -> CSCPackage. Then take those files and repackage them properly back into a OS.D000FF so that they will actually boot on my phone. I need a more idiot-proof fine-grained guide and one that isn't all based on HTC ROM's one that works for the Samsung ones.
[Windows Phone 7 Development and Hacking] AnDim:
You dont understand me :rolleyes:

You can not dump dft roms with osbuilder. Its dont intresting why...

Why you dont read 1post..?

There are some info in RED :)

Ok.

To use with osbuilder:

1. htcrie /P <OS>

2. d&d parttbl.cfg file on htcrie

3. You can use new os.nb with osbuilder NOW.

I have updated htcrie to use with dumped rom.
[Windows Phone 7 Development and Hacking] voluptuary:
So, if I dump my phone's non-DFT vanilla ROM using DFT's flashing tool does that ROM count as a DFT ROM that can't be modified? I ask becuase that is the ROM I would like to edit but can't. I wan't to be able to take my vanilla 8107 ROM and use that as a base. When I try to do that 'htcrie /P OS.D000FF <dump folder>' I get errors and it won't dump. The thing is I CAN dump DFT's Rainbow ROM... but that one has already been changed way too much and I'd rather not use it as my base.
[Windows Phone 7 Development and Hacking] AnDim:
htcrie 0.8.1.83

htcrie v.0.8.1.83

- Dumped rom support [gui][com]

- Support partitions with unlimited data sector count

AnDim
[Windows Phone 7 Development and Hacking] pdaimatejam:
What is the cmd Dump code?

Thank you very much great job
[Windows Phone 7 Development and Hacking] voluptuary:
I'm gonna try this tonight when I get some time. Thank you for updating this. If I can make my way through and build myself a ROM using your instructions I'll PM you the Zune Pass.
[Windows Phone 7 Development and Hacking] AnDim:
Many thanks, but its all for free.
[Windows Phone 7 Development and Hacking] kkk4:
Same problem here( Samsung Focus Dumped ROM ). htcrie GUI crashes on ROM view/expand, "cmd-mode" works, but extracted IMGFS.bin unusable and not expand by any tools (OSbuilder, XiDump) :(

My Samsung Focus DFT dump is here:

sendfile.su/526649
[Windows Phone 7 Development and Hacking] AnDim:
Will check.
[Windows Phone 7 Development and Hacking] voluptuary:
Not sure if this is a problem with the ROM dump, htcRIE, or OSBuilder but after I dump the ROM via cmd and build the OS.nb I then try to open the OS.nb with OSBuilder and I get the following error at the end:

Reading IMGFS:

An item with the same key has already been added.
[Windows Phone 7 Development and Hacking] AnDim:
Hello.

Tool was updated and work correct with any dumped rom.

Link will be added in 2 days.

AnDim
[Windows Phone 7 Development and Hacking] voluptuary:
I'm super eager to get my hands on this :) were there some issues with testing? Hope everything is going ok.
[Windows Phone 7 Development and Hacking] AnDim:
htcrie v.0.8.1.85

UPDATED 29.02.12

htcrie v.0.8.1.85

+ added an updated extract function[gui][com]

+ dumped ROM support (*.D000FF file format)

+ support partitions with unlimited data sector count

download
[Windows Phone 7 Development and Hacking] heishanxiaoyao:
Good Job!Thanks!
[Windows Phone 7 Development and Hacking] voluptuary:
Thanks! Check your PM's I sent you a 3 Month Zune Pass!
[Windows Phone 7 Development and Hacking] nhathoa:
hi Andim,

anychance to support replacing imgfs.bin in os.nb for Titan?
[Windows Phone 7 Development and Hacking] pdaimatejam:
wp7 htc titan

os.nb doing dump

Can not Build

in titan support
[Windows Phone 7 Development and Hacking] silek65:
Can I use these tools to extract DPP partition from HTC HD7 BIN dumps?
[Galaxy S I9000 General] Kagalaska:
Google search turned up a beta(2.0.0.10121_15). Installed on win7 no problems. Doesnt recognize SGS I9000(intl). maybe that darkyy's 6 base rom (jpx based) wont show as in other versions of Kies. looks good though hope it works better as it matures. back to Mass Storage mode for now.
[Galaxy S I9000 General] timiboy:
jUst downloadin.............

I'm very curious what will be...........

Timiboy
[Galaxy S I9000 General] xxgg:
Yes, let's use samsung's beta product....

maybe i shouldn't since they can't even get firmwares correct. :) just kidding.

we are risking lot more by using custom firmwares anyways.

Enjoy!
[Galaxy S I9000 General] Kagalaska:
anybody else try this yet?
[Galaxy S I9000 General] timiboy:
Tried it.No luck with Galaxy S: (
[Galaxy S I9000 General] lackonne:
where is a link?
[Galaxy S I9000 General] Razer(x):
http://www.softpedia.com/dyn-postdownload.php?p=172075&t=0&i=1
[Galaxy S I9000 General] .Slane.:
Layout is nearly the same we get using Kies Air application which eat my battery very fast, waiting for a version which support natively the SGS.
[Hero CDMA General] Xqtftqx:
Hey everyone, after some research/testing ive been able to write a new PRL to the Hero! This means you can have 3G, even with no Sprint EVDO coverage!

THIS IS POSSIBLY DANGEROUS!! I AM NOT RESPONSIBLE IN ANYWAY FOR ANY LOSS OF PROPERTY OR MONEY! DO THE FOLLOWING AT YOUR OWN RISK. READ THIS ENTIRE THREAD BEFORE TRYING ANYTHING.

That being said, this is most likely frowned upon by sprint, so do so at your own ethical reason as well.

I did this with a stock, 2.1 hero; i have not tested it on anything else.

Insperation for it here, done on the evo: http://xdaforums.com/showthread.php?t=696073

Ive also found that i now almost ALWAYS have max bars.

What youll need:

HTC Hero Diag Drivers:

http://rs79.rapidshare.com/files/293529424/HTC_Hero_DIAG_Drivers.zip

CDMA Workshop:

http://www.cdma-ware.com/workshop/demo/cdma_workshop.rar

New PRL:

http://dana.ucc.nau.edu/add46/00001.prl

Start by installing the diag driver, as well as the normal hero drivers.

Then go to the dialer and enter ##DIAG#

Open CDMA Workshop, assign your COM port.

Press connect then read and verify the information on the left.

Finally, go to the "Other" tab, select write under "PRL" and choose your new prl

When you see the finished message, reboot your phone.

Go to settings and updated your data profile, then, enjoy!

To revert

Just update your PRL from Settings
[Hero CDMA General] cordell12:
I am leery, only 1 post!
[Hero CDMA General] Xqtftqx:
Just got my hero today :) Replacement for that POS Samsnung Moment.

I guess you can wait till somebody tries it? I dont know.
[Hero CDMA General] ranger61878:
Yeah, for real :eek: :eek:

Nice work, but it's not gonna be this guy to try it first ;)
[Hero CDMA General] Xqtftqx:
No worries, Id do the same :P

Its not much different than the epics guide, except i use CDMA Workshop since ##prl# doesnt exist on the hero.
[Hero CDMA General] steindog99:
How is this any different that Techknowfiles PRLs that he created for using the old Alltell towers? I followed his thread for a long time and some of the PRLs he created worked ok, some did not. Did you actually create a new PRL, or is your 00001 the same as his?

Regardless, if at anytime this doesn't work, a PRL update through Device Self service will revert you back to a legit Sprint PRL...
[Hero CDMA General] brokentoaster24:
If I'm not mistaken, this won't work if you're running cm/aosp based roms. You must use a sprint based rom, can anyone confirm this ?
[Hero CDMA General] BlaqkAudio:
Well, if you load up in a Sense-based ROM, it should stick when you go back to AOSP.
[Hero CDMA General] brokentoaster24:
Yes , just like manually updating a prl. I meant you won't able to do this with cm/aosp
[Hero CDMA General] Xqtftqx:
You can flash the PRL on CM/2.2, The problem is, you cant update your data profile. So you will need to revert to 2.1 to apply this.

And this is techs PRL file, you can use whatever one you want.
[Hero CDMA General] brokentoaster24:
I'll give this a shot, post results later

not trying to steal OP's thread but there's a much easier way to do this:

1. obtain msl code (if you haven't already)

2. ##775# and enter msl code to access manual prl updating

3. select new prl to be updated

4. update profile and reboot

i remember when someone else cooked up the prl's 01337 and 31337, the results were random for me. no real coverage gained and they usually slowed down my speeds. it's fun to hack things though ;)
[Hero CDMA General] oohaylima:
Awesome. Please report back with your results. I always get crappy service over here.

If this doesn't work, can I install an order prl?
[Hero CDMA General] oohaylima:
Never mind. I found the answer to my question. Long live search!! :D
[Hero CDMA General] oohaylima:
How do you download the prl? It keep opening to my browser on my phone.
[Hero CDMA General] brokentoaster24:
Try downloading from a computer, or browsing xda from the browser?
[Hero CDMA General] kyouko:
You guys could use *cough* my easy method to get your msl code *cough* haha

I'll be trying this out when I can and will let you guys know what results I get.
[Hero CDMA General] brokentoaster24:
thank you for linking that! i was trying to remember where that thread was but i gave up searching for it because it was late last night :P

obtaining msl is so much easier thanks to that thread!

as for the custom prl, i'm getting mixed results. this sort of hack is really hit or miss depending on your location. if you're trying it out, i suggest using it a whole day and see how your coverage is and probably try out some other prl's. the evo thread that is linked in the first post has a couple other prl's to try out.
[Hero CDMA General] kyouko:
OK hahaha... After I applied this PRL I barely get any data coverage, it stays at 1x the whole time :p

YMMV just because I'm having problems doesn't mean you guys will.
[Hero CDMA General] Xqtftqx:
##PRL# doesnt work on any of the stock roms, also my method doesnt require you to find your MSL...

If your having any problems, MAKE SURE YOU UPDATE YOUR DATA PROFILE!

Also, you download the PRL on the computer.. not the phone.

Also, if you want your MSL, use "MSL Reader" from the market, its the easiest method.
[Hero CDMA General] kyouko:
Yeah I noticed that as well, stock didn't work so I flashed nfx's 2.1 sense rom. And I tried updating data profile :( but unfortunately it stayed the same.

Also I couldn't use cdma workshop (unless i wanted to run a VM or possibly wine) seeing as I'm running linux.

Only downside to the MSL Reader is that it requires root - not that that's really a problem for more than the majority of the people, but I could be one for those that stumble upon this thread using google or something.

But yes, you would be correct CDMA workshop does make this process relatively simple :D
[Hero CDMA General] brokentoaster24:
I used nfx's 2.1 rom and used ##775#, used 00001, updated profile and nandroided back to cm. I'm seeing a significant improvement in 3g coverage at my work place... Which makes this totally worth it :)
[Hero CDMA General] Xqtftqx:
Glad i could at least point somebody in the correct direction
[Hero CDMA General] brokentoaster24:
The coverage/signal strength is about the same in my apartment, but far better in my work place. Somehow my office is a dead zone which kills my battery, normally -100db or worse. Today it was normally between -60 to -70 :D
[Hero CDMA General] sud_hotline:
Updated the PRL to the one on the first post. Did see an increase in the download speeds. I have very bad coverage at work, will wait till monday and check again.....hope it improves my signal at work tooo....:D
[Hero CDMA General] c00ller:
I think this thread should be in the development forum. It would get more devs in on the conversation
[Hero CDMA General] sud_hotline:
I just tested this hack at my work place, amazing.....I used to get download speed below 150kbps now I get around 800kbps......get work guys....:D

EDIT:

Do we get charged for roaming, If we use this? I am on Everything Data plan.
[Hero CDMA General] brokentoaster24:
Shouldn't, although it's no guarantee. Just watch your bill! :p
[Hero CDMA General] usernameno1willtake:
this is not true i am not saying that this guide is fake but i do know that there is prl on the htc hero..... you can manually upgrade it by puting prl of your choose on to your sd card and then dail ##prl# send the update the prl from the prl on your sd card then push menu commit to changes then your phone reboots blam there you go
[Hero CDMA General] Xqtftqx:
Read the thread :) If ##PRL# works for you, or anyone, please upload your /system/app/EPST.apk it would help everyone :)

Not sure how to get this thread moved, but if a mod would move it to the dev forum that would be great
[Hero CDMA General] sud_hotline:
I used the ##PRL# method to update the PRL on my phone. I tried "NFX Sprint 2.31.651.7" ROM, it din't work for some reason:confused:. Then I flashed an old Sense ROM(ZenHero http://xdaforums.com/showthread.php?t=662113&highlight=zenHero), it worked like a charm:D. You must know your MSL to use this method.
[Hero CDMA General] evilvoice:
The epst in techs evo thread works for me
[Hero CDMA General] eliseexige:
so we cant do this directly from an AOSP ROM? we have to go back to a sense ROM then reflash back to AOSP?

what are you guys using to test bandwidth?
[Hero CDMA General] D3FAULT:
You cannot do it from an AOSP rom. I flashed Fresh 2.4.0 and did it with the ##775# method.

I'm using the SpeedTest.net app.

It significantly improved my 3G speeds at my home, which is great for me. Thanks a ton OP.
[Hero CDMA General] SweepinJR:
So it was a bit of a pain in the ass time wise to flash to a sense rom to do this, but it works...

I'm running cm6.1 stable regularly...

I've gone from getting -100 to -116db in my apartment to getting a very decent -80 to -88 db comparitively.

But I do notice another issue. When I travel to my dad's I am in a very rural area and so I always set my phone to "affiliated networks" which sticks me in roaming and 1x speeds, because I've got no Sprint service there whatsoever...

Now when I do it, it just shows no service at all. Is roaming broken in this PRL?
[Hero CDMA General] sud_hotline:
Can you post the EPST.apk file? the link on techs thread is broken.

Thanks
[Hero CDMA General] c00ller:
I still don't understand how this works. The title makes it sound like we can get something out of nothing. Where exactly is this extra coverage coming from?
[Hero CDMA General] oohaylima:
Alltel and Verizon towers.
[Hero CDMA General] oohaylima:
Just installed it. Getting 1mb. Woohoo!! Now I can finally watch YouTube videos without waiting for it to buffer every ten seconds!
[Hero CDMA General] Jedis:
This is nothing new - this is the same thing posted 7+ months ago.

And you will get charged for roaming data - they were people posting about it on the old thread.
[Hero CDMA General] igtheactt1:
I guess there always has to be one negative person...

If you have unlimited everything I guess this wouldn't be a problem would it?
[Hero CDMA General] igtheactt1:
Tried this and it actually works nicely... One question though, Should the radio setting in #*#*4636*#*# be changed to gsm/cdma auto or leave at cdma auto...
[Hero CDMA General] Jedis:
lol, if you don't believe me, search for the thread.

Sprint's 'unlimited' is not really unlimited either. If you go over so much data while roaming, you will either have to pay or they will terminate your service. This PRL forces your phone to always use non-Sprint towers, so the roaming data cap is easily reached.

'Unlimited' is only on their towers.
[Hero CDMA General] SweepinJR:
This one didn't end up working all that well at all. I reverted back to the latest PRL.
[Hero CDMA General] igtheactt1:
I'm already reaching 9gb+ a month ill just leave this alone...
[Hero CDMA General] josh995:
Is this really roaming? A lot of people say it is and just as many people say it isn't...

When I go to settings>about phone>network it says "operator name: sprint" and "roaming: not roaming"

And also, I went on sprint.com, and my usage says 0kb of roaming used.

So I'm sort of leaning towards this isn't really roaming, or at least not that sprint can see...?
[Hero CDMA General] igtheactt1:
My usage is going up under roaming on mysprint.com but they told me they only cut those who abuse off if they aren't in a sprint area and choose to roam all the time... plus they always send text or letters stating your using to much roaming before cutting you off
[Hero CDMA General] frizzit:
Does anyone know what updating the PRL actually does.

An I'm not talking how it affects service... I mean what does it do in the phone. Where does it write the list of whatever in the phone.

If we knew where in memory the PRL has it's foundation editing the binary at that specific location should fall into place then we wouldn't have to revert to update.

Now is there a way to track the changes or a way to get a hint as to how the list is written to the phone when you update.
[Hero CDMA General] oohaylima:
You know you're roaming when you call star two (*2) and you get a non-sprint operator.
[Hero CDMA General] LuvKnuckle:
Can this be used on a non-sprint hero?
[Hero CDMA General] brokentoaster24:
No roaming charges this month for me, been running this custom prl for a few weeks now
[Hero CDMA General] mozman:
Thanks for the update. Do you know if you have been roaming and what your data roaming usage has been?