is there a program to dump your phone's current rom? - Touch Pro2, Tilt 2 Windows Mobile ROM Development

I've been searching and haven't found a way to dump the current rom in the state that it is in. Is there a program available to do to this? If not, can anyone point me to some info where I can figure out how to pull the rom from the phone?
Thanks.
Edit:
I found phonedump in my ongoing search, does it do what I'm looking for? Also, how would I go about getting the raw files back on?

pimpmasters said:
I've been searching and haven't found a way to dump the current rom in the state that it is in. Is there a program available to do to this? If not, can anyone point me to some info where I can figure out how to pull the rom from the phone?
Thanks.
Edit:
I found phonedump in my ongoing search, does it do what I'm looking for? Also, how would I go about getting the raw files back on?
Click to expand...
Click to collapse
I think this could be usefull:
http://forum.xda-developers.com/showthread.php?t=572183
bye
[email protected]

[email protected] said:
I think this could be usefull:
**url removed due to spam protection feature**
bye
[email protected]
Click to expand...
Click to collapse
Thanks. This looks promising. Sometimes it can be so hard to find what you are looking for via search.

pimpmasters said:
Thanks. This looks promising. Sometimes it can be so hard to find what you are looking for via search.
Click to expand...
Click to collapse
I know what you mean.. you are welcome

From what I read here it doesn't tell you how to extract or dump a rom from a phone hooked up via activesync. That's the main thing I want to do, rip out the current rom of my phone and package it nicely in an .nbh that customruu would reinstall for me.

Take a look at this, that's probably what you're looking for. But why do you want to dump the ROM, when you could just hard reset? It's not the exact same, but unless you had a bad flash in the first place (unlikely), a new ROM flash of the same ROM won't accomplish much. Anyway, I hope that helps

DaveTheTytnIIGuy said:
Take a look at [*link removed due to spam countermeasures*], that's probably what you're looking for. But why do you want to dump the ROM, when you could just hard reset? It's not the exact same, but unless you had a bad flash in the first place (unlikely), a new ROM flash of the same ROM won't accomplish much. Anyway, I hope that helps
Click to expand...
Click to collapse
I want to dump the rom because I plan on flashing it with a different one but want to be able to put it back to just how it was if I don't like it. From what I understand the hard reset won't work once I flash it with another rom.
I like it how it is and I might want to go back after trying a cooked rom, but it's possible I won't either. The way I figure it, what if the grass isn't greener?
Thanks for the link. That pdocread is the same thing used in the phonedump thing I found. It seems my only remaining question would be regarding the correlation between the two parts
Code:
pdocread -w -d FLASHDR -b 0x800 -p Part01 0 0x380000 Part01.raw
pdocread -w -d FLASHDR -b 0x800 -p Part02 0 0x4560000 Part02.raw
which are the XIP and ROM and how I would put them in a .nbh.
This visual kitchen program might do that for me, I'm not sure yet. That first link you gave me led to another, much older link where people are asking the same questions. I have 21 more pages to read. hehe Thanks again.

From reading the link from DaveTheTytnIIGuy I learned that the "keyword" I needed to be searching for was "reconstruct" and that turned up the threads that I was searching for in the following link with the httpcolonslashslash missing ;-)
Code:
forum.xda-developers.com/showthread.php?t=560519

Related

Back up original T-Mobile Wing ROM before flash

Thanks to ITJE's tutorial, I figured out how to cook a ROM. Now I need to back up my phone before I flash my new ROM and possibly brick my wing.
How do I get this to work? (Yes, I searched the forums before posting.)
I tried 'pdocread -l' and came up with the following:
Copying C:\ROM\itsutilsbin\itsutils.dll to WCE:\windows\itsutils.dll
63.94M (0x3ff0000) TrueFFS
| 3.06M (0x30fc00) Part00
| 3.06M (0x310000) Part01
| 57.81M (0x39d0000) Part02
39.73M (0x27ba000) TrueFFS
| 3.06M (0x30fc00) Part00
| 3.06M (0x310000) Part01
| 57.81M (0x39d0000) Part02
9.99M (0x9fd800) TRUEFFS
| 3.06M (0x30fc00) Part00
| 3.06M (0x310000) Part01
| 57.81M (0x39d0000) Part02
982.50M (0x3d680000) DSK1:
| 982.38M (0x3d661a00) Part00
20.00k (0x5000) BTD1:
| 19.00k (0x4c00) PART00
Then I tried:
pdocread -w -d TrueFFS -p Part02 0 0x39d0000 Part02.raw
and got:
ERROR: Unable to open host/destination file - Access is denied.
You don't need to. The official Tmobile ROM is around here for you to download.
Woo Hoo! I successfully bricked it!
I have found a few uses for a bricked phone....
Doorstop
Object to throw at annoying co-workers
Object to skip across lake
Chew Toy
Expensive curio
Temporary speedbump
Gag gift
....or I could just use the link I got from ivanmmj and un-brick it.
Thanx for the link!
Oh, the error I got while upgrading said something about the connection being terminated by the host.
Did I do something wrong?
I was under the umpression from some of the posts that you can "unbrick" a phone. Look around and you may find something helpful..
Good luck!
I un-bricked it, I was just wondering about the error I got while flashing.
Did you place the phone into flight mode AFTER powercycling AFTER installing Aserg's Policies? (I'm thinking it's the flight mode.)
aad4321 said:
i wish there was a simple program that could like "image" the entire memory on the phone. like backing up the entire phone. and when you need to reinstall it, it just places the entire image back on it. Is there something out there that can do that, that would be considered simple?
Click to expand...
Click to collapse
You mean including the storage and settings and such? The only thing I can think of is to do what I do. Create a ROM and just use a dump of your registry and add the files you want it to have. I might add how to's or batches for this in the upcoming version of my kitchen... if I could just find the time to work on it...
ivanmmj said:
You mean including the storage and settings and such? The only thing I can think of is to do what I do. Create a ROM and just use a dump of your registry and add the files you want it to have. I might add how to's or batches for this in the upcoming version of my kitchen... if I could just find the time to work on it...
Click to expand...
Click to collapse
That would be really cool.
You were right, I forgot flight mode. I retried with flight mode activated and still had issues. So, I bought a 12 pack and ordered pizza (I refuse to sleep until I get this right). My super pimp, killer, mad, sweet a** ROM will work if it takes me all night!
I will post screenshots when I'm done.
aad4321 said:
i wish there was a simple program that could like "image" the entire memory on the phone. like backing up the entire phone. and when you need to reinstall it, it just places the entire image back on it. Is there something out there that can do that, that would be considered simple?
Click to expand...
Click to collapse
This is exactly what I'm looking for. If I brick it, just use the backup image.
PRESTO!
I pick up where I left off.
New version of the T-Mobile ROM?
ivanmmj said:
You don't need to. The official Tmobile ROM is around here for you to download.
Click to expand...
Click to collapse
I just recieved a hardware replacement for my T-Mobile Wing, and it appears to be running a newer version of the ROM than is available on this site. Is there a way to capture it from my phone for backup purposes? Or is there one already floating around on the forums someplace (so far, I have only been able to find this one - been looking for about 5 hours now)?
---EDIT---
Found the answer to my question on another site. Turns out that T-Mobile has a page where users can download the latest official ROM update.
Flight Mode
Hi I'm new here, and I'm reading about all the steps I need to do in order to properly install Open Touch. My problem is I have no clue how to put my Wing on flight mode? Can someone help please?
Original ROM from t-mobile
I just saw original ROM updates from t-mobile at
w w w . t-mobile . com / wmupgrade /
for almost all HTC phones you just need a valid t mobile phone number and the IM number of the phone.
good luck
janice

How to change recovery and adbd ?

Could somebody please give me some pointers on how to start and compile your own version of the recovery and adbd executables inside the recovery image?
I would like to add some things to the recovery menu but I'm not sure how to update the recovery executable.
After spending like 2 hours searching for the answer to this, im pretty sure this havent been replied so *BUMP*
Is there anyone out there that could point me in the right direction to opening, modifying and repacking the recovery.img?, Id like to add a password protection to the CM 1.4 Recovery image. I was browsing its contents on github and seems not a hard task to add this, but i dont know how to add the files that I modify inside the recovery.img pack
Help please?
Dhex- said:
After spending like 2 hours searching for the answer to this, im pretty sure this havent been replied so *BUMP*
Is there anyone out there that could point me in the right direction to opening, modifying and repacking the recovery.img?, Id like to add a password protection to the CM 1.4 Recovery image. I was browsing its contents on github and seems not a hard task to add this, but i dont know how to add the files that I modify inside the recovery.img pack
Help please?
Click to expand...
Click to collapse
You might want to PM Amon_RA
You know he made his own Recovery images for the G1 and Magic now haha
Its funny, he was here asking for help just a few months ago, and now he has two custom recoveries that everyone uses xD
I dont get why this was moved to question an answeres, this regards more likely development.
Dhex- said:
Wierd that this post was moved, this regards more about development that simple a question and answer.
I tried to contat Amon_RA now, I hope he replyes soon. I dont get why the mistery, this is supposed to be a forum for developers. Why no one can post how to do this instead of secretly beg for the info thru pms?
Click to expand...
Click to collapse
because there is already a comprehensive guide thats found in the sticky.......
http://forum.xda-developers.com/showthread.php?t=443994

xperia x2 english rom

i just got an xperia x2 prototype but it is in dutch.
does anyone know where i can find the wwe version of the rom so i can flash it to english?
thanks
I don't know but is any chance dump your rom or panel instalation files from /windows directory
i have no idea how to do that.
Use this tool to dump it, http://www.4shared.com/file/126523116/2b69156a/Dump_My_Phone.html, it seems that some SE customizations are made by cab, can you post them also?
Then if you can post the raw files.
Cheers.
ok ill try to do it tomorrow because ive been very busy lately.
its too bad no one has an english rom.
bigneeker, it would be cool if u could dump the panels, panel mananger etc and put it up on rapidshare or something, thanks in advance
hell yes, tiltview on the x1 would be brilliant!
+thanks in advance
ok.
how do i get the panel program and tiltview out of the phone?
do i just look for the cab and copy and paste?
i dont even know what they are called.
sorry but ive never done anything like this before.
I think the dump tool just takes everything from the phone and shifts it towards your computer?
sorry i've never used it either :S
bigneeker said:
ok.
how do i get the panel program and tiltview out of the phone?
do i just look for the cab and copy and paste?
i dont even know what they are called.
sorry but ive never done anything like this before.
Click to expand...
Click to collapse
The cabs are located in the windows directory on your phone. If you are connected via active sync, just browse to your phone's windows directory, sort everything by file type, and copy all the cabs to your computer.
i just got an xperia x2 prototype but it is in dutch.
does anyone know where i can find the wwe version of the rom so i can flash it to english?
Click to expand...
Click to collapse
This isn't possible yet, since we don't have a wwe ROM, however, you can still get some english functionality out of your device. If you haven't already done so, goto Start>>Setings>>System>>Regional Settings and select "English United States" from the drop down list.
This won't fix the majority of the UI, but it'll put the calender stuff mostly in English, and many apps will also now be in English (e.g. Google Maps, Skype, etc.)
bigneeker said:
ok.
how do i get the panel program and tiltview out of the phone?
do i just look for the cab and copy and paste?
i dont even know what they are called.
sorry but ive never done anything like this before.
Click to expand...
Click to collapse
A easy thing is to copy the whole windows directory, put it on your computer then make a rarfile of it and upload
Then we can take out the files and upload them recustomized
Bump.........
Ya, keep this thread alive
i dont know what im doing wrong. i keep on getting "device is not ready" error
bigneeker said:
i dont know what im doing wrong. i keep on getting "device is not ready" error
Click to expand...
Click to collapse
With active sync or while dumping?
Try it with multiple computers,maybe the computer doesn't recognize the phone :/
during the dumping.
i got the addresses and put them in the dump my phone.bat by editing the file.
this is the result:
3.13M (0x320000) Part00
| 74.88M (0x4ae0000) Part01
| 128.00M (0x8000000) Part02
| 238.63M (0xeea0000) Part03
so when i add the numbers that are in the parenthesis and then click on dump my phone.bat i get the "device not ready" error.
do i have to do anything on the phone before? i already installed the enablerapi but do i have to activate it seperately or do i maybe have to cancel activesync? is that blocking it.
come on guys help him, it`s so nice that he do this for all of us!!
hope u get fix it dude!!
greetz neow
bigneeker said:
during the dumping.
i got the addresses and put them in the dump my phone.bat by editing the file.
this is the result:
3.13M (0x320000) Part00
| 74.88M (0x4ae0000) Part01
| 128.00M (0x8000000) Part02
| 238.63M (0xeea0000) Part03
so when i add the numbers that are in the parenthesis and then click on dump my phone.bat i get the "device not ready" error.
do i have to do anything on the phone before? i already installed the enablerapi but do i have to activate it seperately or do i maybe have to cancel activesync? is that blocking it.
Click to expand...
Click to collapse
You possibly don't have the proper permissions set. Try installing the sdkcerts.cab, if you haven't already. Did the regional settings tip help at all? Also any luck with copying the windows directory?
i installed skcerts and its still not working.
copying the files from windows isnt working either.
bigneeker said:
i just got an xperia x2 prototype but it is in dutch.
does anyone know where i can find the wwe version of the rom so i can flash it to english?
thanks
Click to expand...
Click to collapse
This could be the greatest thing to happen to the X1 since... BAHHH, THINK OF THE KITCHENS AND ROMS that we could get out of this

Danger SPl

Hi, guys, maybe i am stupid, but i cant find a link where i can download Death SPL
Please help, thanks.
sssats said:
Hi, guys, maybe i am stupid, but i cant find a link where i can download Death SPL
Please help, thanks.
Click to expand...
Click to collapse
DON'T.
We call it the "deathspl" for a reason.
And there is NO BENEFIT to it.
If you want to use a ROM that wants to use more than about 65MB in the /system partition, just move some files into /cache and symlink to them!!!! There is no reason to risk your hardware for something this pointless.
Where i must wach, if i have enough space?
Could you please rephrase that? I can't understand the question.
Here you go, download links and instructions http://forum.xda-developers.com/showthread.php?t=625886
lbcoder said:
DON'T.
We call it the "deathspl" for a reason.
And there is NO BENEFIT to it.
If you want to use a ROM that wants to use more than about 65MB in the /system partition, just move some files into /cache and symlink to them!!!! There is no reason to risk your hardware for something this pointless.
Click to expand...
Click to collapse
I see using SuperD a huge benefit
Joe333x said:
I see using SuperD a huge benefit
Click to expand...
Click to collapse
And risking a brick doesn't help you run it.
As I said, just move the overflow files into /cache. Fits just fine unless you're a retard.
lbcoder said:
And risking a brick doesn't help you run it.
As I said, just move the overflow files into /cache. Fits just fine unless you're a retard.
Click to expand...
Click to collapse
Or instead of moving anything you can just read this http://forum.xda-developers.com/showthread.php?t=625886 and not have to move files every time you want to flash a ROM. Trust me if you follow the guide you will not brick your phone.
Joe333x said:
Or instead of moving anything you can just read this http://forum.xda-developers.com/showthread.php?t=625886 and not have to move files every time you want to flash a ROM. Trust me if you follow the guide you will not brick your phone.
Click to expand...
Click to collapse
Trust me, sometimes even if you DO follow the guide, you'll STILL brick your phone.
The SPL you are recommending is simply NOT COMPATIBLE.
And no, it does not cause you to need to move files every time you write a different ***SYSTEM IMAGE***.
(Hint: The word "rom" does NOT APPLY)
I curse that stupid kid "haykuro" every time someone recommends this "deathspl". It has had TWO effects, neither of them positive;
1) Creates BRICKS,
2) Creates INCOMPATIBILITY.
*** if the various cookers weren't lazy douches, they would arrange files to be suitable for REGULAR SPL, and therefore there would be no issue of "this system requires XXXX SPL"....
It has been a TERRIBLE DISSERVICE.
Note: It is TRIVIAL to write a script to automatically REPAIR your various ill-conceived "update.zip" archives.
i.e.: (this won't work exactly like this, requires minor debugging, but to give you the idea...)
Code:
#!/bin/bash
unzip update.zip
mkdir -p update/cache/app
mv update/system/app/(a bunch of .apk's) update/cache/app
echo "(a few trivial lines to write /cache and create symlinks" >> update/META-INF/com/google/android/update-script
zip fixedupdate.zip update/*
java /path/to/testsign.jar fixedupdate.zip
Just run that on every update.zip that you feel like installing!!!
Well...
Hey!
Concerning deathspl...
1) Creates BRICKS,
2) Creates INCOMPATIBILITY.
*** if the various cookers weren't lazy douches, they would arrange files to be suitable for REGULAR SPL, and therefore there would be no issue of "this system requires XXXX SPL"....
Click to expand...
Click to collapse
Well said.... and agreed 1000%
So called deathSPl for HTC Dream is nothing more than engineering bootloader 1.33.2005 from HTC Sapphire.
Of course these devices are similar but not the same...
I know that this works out well for some, but it's also obvious that some like to mix it all up
Personnally i would appreciate to use some clever hacks for the original evironment to run modified ROMs.
Regards,
scholbert
lbcoder said:
Trust me, sometimes even if you DO follow the guide, you'll STILL brick your phone.
The SPL you are recommending is simply NOT COMPATIBLE.
And no, it does not cause you to need to move files every time you write a different ***SYSTEM IMAGE***.
(Hint: The word "rom" does NOT APPLY)
I curse that stupid kid "haykuro" every time someone recommends this "deathspl". It has had TWO effects, neither of them positive;
1) Creates BRICKS,
2) Creates INCOMPATIBILITY.
*** if the various cookers weren't lazy douches, they would arrange files to be suitable for REGULAR SPL, and therefore there would be no issue of "this system requires XXXX SPL"....
It has been a TERRIBLE DISSERVICE.
Note: It is TRIVIAL to write a script to automatically REPAIR your various ill-conceived "update.zip" archives.
i.e.: (this won't work exactly like this, requires minor debugging, but to give you the idea...)
Code:
#!/bin/bash
unzip update.zip
mkdir -p update/cache/app
mv update/system/app/(a bunch of .apk's) update/cache/app
echo "(a few trivial lines to write /cache and create symlinks" >> update/META-INF/com/google/android/update-script
zip fixedupdate.zip update/*
java /path/to/testsign.jar fixedupdate.zip
Just run that on every update.zip that you feel like installing!!!
Click to expand...
Click to collapse
Actually not one person that has followed that guide has bricked, I have read every post in the thread seeing as I am the one who made the guide and the brick percentage is at zero. Why call people who make ROMs for others to use lazy? They create ROMs on their own time for free so that others can enjoy them. I really dont see the need to do extra work every time you flash something when you can simply flash the Danger SPL correctly one time and then you will be fine. As far as incompatibility goes I dont really see why that matters its no one right to be able to flash a certain ROM. If they want to use a ROM that requires a different SPL then flash the SPL if you dont want to flash the SPL no one is forcing you to just use a different ROM its as simple as that. The devs on here work for free and they are free to make requirements for their ROMs if people dont like that then they wont use that devs ROM but as you may know many people have been willing to switch SPLs to use a certain ROM.
You are definitely dense.
IT IS NO EXTRA WORK!!! I just PROVED it to you!
And I call them LAZY because they ARE.
lbcoder said:
Just run that on every update.zip that you feel like installing!!!
Click to expand...
Click to collapse
lbcoder said:
You are definitely dense.
IT IS NO EXTRA WORK!!! I just PROVED it to you!
And I call them LAZY because they ARE.
Click to expand...
Click to collapse
I could be wrong but running a script every time you update seems like extra work to me even though it maybe trivial and easy to do so is flashing an SPL one time. If they were lazy they wouldnt be cooking ROMs for anyone. I could say that anyone who doesnt want to simply flash an SPL is also lazy, but its just their choice not to just like its the devs choice to not do extra work to make their ROM not require a certain SPL. Its very simple you dont want want to flash the SPL then dont and dont use any ROMs that require it. If you do want to flash the SPL then just follow the How-To and you will be fine. There is no sense in arguing about it there hasnt been a Haykuro brick from anything besides flashing an old radio, so simply dont flash an old radio and you wont brick, very simple.

Clean OEMDrivers

I've written two posts
RGU in OEMDrivers
and
Dlls in OEMDrivers
in an attempt to find some answers on how keep only the neccessary files needed for the phone to work.
What i want is to build a ROM that has only microsoft stuff, nothing from EXT, OEM apart from the drivers needed to work the phone.
Has anyone done that?
You will still need some packages from ext to make the phone work... i.e. panel manager for panel button etc....native os doesnt support everything in the phone.
Regards,
WC
I would suggest keeping your questions in one thread instead of making 15 different posts....just a suggestion
Diagrafeas said:
I've written two posts
RGU in OEMDrivers
and
Dlls in OEMDrivers
in an attempt to find some answers on how keep only the neccessary files needed for the phone to work.
What i want is to build a ROM that has only microsoft stuff, nothing from EXT, OEM apart from the drivers needed to work the phone.
Has anyone done that?
Click to expand...
Click to collapse
Is there a tutorial that explains what each ext package does, if it can be deleted and what are its dependencies(depends on, needed for)?
Is there a tutorial that explains how to use ext packages from other devices?
I assume simple copy+paste doesn't work.
I used the search but found nothing.
I dont think there is a "tutorial" so to speak....I would think that it is to in depth to pinpoint every aspect of what does what and with what files....some are easier then others.
Regards,
WC
Diagrafeas said:
Is there a tutorial that explains what each ext package does, if it can be deleted and what are its dependencies(depends on, needed for)?
Is there a tutorial that explains how to use ext packages from other devices?
I assume simple copy+paste doesn't work.
I used the search but found nothing.
Click to expand...
Click to collapse

Categories

Resources