How to... copy/move files stored in a Smartphone ROM? - General Topics

I can't copy or move files stored in device ROM.
I've tried with Resco Explorer and Total Commander, but without success.
I didn't understand if there's a registry hack that allows these operations.
I've notice (or so it seemed to me) that I was able to substitute/copy/move some files having the ROM attribute, but many others not (eg: I've tried to copy the nleddrvr_sec.dll, obviously without success, otherwise I'd post this here!).
Surfing in many forums, I read many others asking for the same thing, unfortunately I haven't seen answers to their question about this.
Hope someone explains to me how to do or why is impossible to do.
Mersì bo q.
Gubbài.

You can not copy / move / delete files in ROM. Thats the point of "Read Only Memory"
These files are not stored as individual files but are in fact packed in a special way as part of the device image which can only be written (flashed) by special tools.
If you want to extract OS files you need to use a ROM dump tool.
I suggest you look in the WiKi.
What you can do is overwrite one or more "ROM files". What will happen in reality is that a copy of the file with the same name will be placed in storage memory and the system will go there. If you hard reset your device or rename the file it will go back to the original file.

levenum said:
You can not copy / move / delete files in ROM. Thats the point of "Read Only Memory"
These files are not stored as individual files but are in fact packed in a special way as part of the device image which can only be written (flashed) by special tools.
If you want to extract OS files you need to use a ROM dump tool.
I suggest you look in the WiKi.
What you can do is overwrite one or more "ROM files". What will happen in reality is that a copy of the file with the same name will be placed in storage memory and the system will go there. If you hard reset your device or rename the file it will go back to the original file.
Click to expand...
Click to collapse
As you said here and here (Changing Files in Windows Dir )
it's impossible to move/copy ROM files, just overwrite 'em.
Doing so the system looking for these overwritten copies.
So now the question are:
- there's a registry entry that points to this substitute ROM files?
- to modify an existent file resident in ROM I MUST dump my ROM or another one same or similar?
Mersì bo q, anyway.
Gubbài.

Related

Is Auto Startup Customization with BigStorage ROMs possible?

Finally managed to flash my mda with a bigstorage rom
All is good but I got a slight prob with something else. Although I hated the customisation of T-Mobile, I found it helpful that the phone automatically installs all the progs and settings in the extended ROM after a hard reset.
With BigStorage, I presuming that the Extended Rom folder is amalgamated with the Storage folder. Do you guys know whether it is possible to add the Cab files (e.g. intellidialer, etc...) to the Storage folder (as it was in ExtRom) so that it automatically installs the progs and customization options after a hard reset?
Or do you recommend going back to a traditional Extended Rom inclusive ROM and edit the Extended Rom there? I understand that ROMKitchen cannot be used on Mini's so do you happen to have any other program recommendations?
If the above two isn't possible yet, is there anyway of preventing the mda from deleting the Cab files after I install from them. For instance, when I install Intellipad, the cab file is automatically deleted. I had hoped that I may use this cab file again by dumping it in the "Storage" folder and using it if I need to hard reset the damn thing again
Thanks again
Hi rockykabir
sorry first for my english... I will try to explain my solution:
1. I have made a backup of all the Extended_ROM files to my PC (open in explorer loadvdisk.exe and copy through activesync.)
2. Made the Bigstorage and the Radio-Update (thanks a lot guys for the help that I have found in this forum.)
3. Made a small CAB-File which has to start first (see atached file)
4. If this file is installed, you can create a hidden and read-only folder on the SD-Card named: 2577 (Foldername is important)
5. Place inside this folder: autorun.exe and install.m2w and make the changes in the instal.m2w file. Think its easy.
6. Place all the recent CAB-Files into this Folder.
7. Make changes as you need
Make sure, that the folder and the files on the SD-Card are read-only and the folder should be hidden (not sure about that). If not, the Cabinet files will be deleted after installation.
How do I work now with this SD-Card? Easy... After a Hardreset, place the card into your MDA. Start Ext_Start.cab.
Put out the SD-Card and put it in again..... Enjoy.
Now i search only for an easy solution to make a small Extended_ROM for the Ext_Start.cab and the IIWPO. That task will be the next...
Enjoy the day
Thanks sooo much mate!!! - thats very kind of you as this completely solves my prob. I hope this is of use to others as well

How to clean up my windows folder

How to clean up my windows folder
- Remove touchflo 2d
- remove Htc Home plugin
my folder size more than 136 mb :S make my deivce so heavy :S
Dr.Mazika said:
How to clean up my windows folder
- Remove touchflo 2d
- remove Htc Home plugin
my folder size more than 136 mb :S make my deivce so heavy :S
Click to expand...
Click to collapse
install a clean rom, or customize your own. the windows directory is going to be a little large regardless, the operating system is there..
what is the normal size of windows folder
any how can i customize my room to remove and add new applications
That's basically what got this community started... just about everyone here can testify to having looked into ROM Cooking... please research before asking how to do it, because I PROMISE there's a thread or two out there about it
Clean windows folder possible ?
I'm trying to cook my own rom but when I add an EXT module, all files are in Windows directory and the app.dat file only copy them in the app directory.
So is it realy possible to have a clean windows directory, how to put files directly in app folder? must I use an OEM module with initflashfile or ???
thanks all
superraoul said:
I'm trying to cook my own rom but when I add an EXT module, all files are in Windows directory and the app.dat file only copy them in the app directory.
So is it realy possible to have a clean windows directory, how to put files directly in app folder? must I use an OEM module with initflashfile or ???
thanks all
Click to expand...
Click to collapse
All files go into \windows. The first thing you need to ask is this: do I need to copy the file into another directory, like \program files? A lot of apps work just fine if you leave all of the files in \windows. The files are going to be in \windows in one form or another, so you save space by just running the app out of \windows. You need to change shortcut paths and sometimes registry key paths to get this to work, but in my experience, it works about 95% of the time. Usually, if you've got a multi-component application (several files besides just the .exe), the .exe will search for other files it needs to run in the same directory that the .exe is located in, so you're good to go if everything is in \windows. Some apps have sub-folders, so you'll have to get that folder and its contents into \windows. The best way to do this is with a .cab file or a zip file during customization (using a mortscript for the latter). Zip files are nice, because they install really quickly and are easy to make and edit.
Anyway, if you need to get files into another directory for whatever reason, I'd say that the app.dat method is probably the worst, because if you have multiple files, then you increase the file count in \windows by that amount. Put them in a zip file or a cab file, and then you'll reduce the file count to 1 for the particular package. You will also compress the files, and save some rom storage space.
You can also look into \extendir for another method to clean up the \windows directory.
You do need to be careful with some apps if they have an .ini file or an .xml file or something similar that is basically a settings file. It's usually better if these files aren't read only, so you may need to figure a way to copy the file into the \windows directory.

How do I copy a file that is in ROM that is tied to services and resists copying?

The file I'm trying to copy is ezinput.dll. Specifically, the version from my new Sprint Diamond Touch Pro.
I never had any problems copying files from ROM, but this one resists.
I tried using 1) Explorer via Activesync, 2) Resco Explorer (error: Cannot copy, Invalid parameter), 3) Total Commander (Cannot copy), 4) zipping the file (result is a 0 byte file), and stopping all the related services but results are the same.
Thinking that the dll is locked because it is loaded, I renamed all references of this file in the registry, reset, no joy.
Using Memmaid, I see that Services spawns many threads, and some of the et9 related dlls are started by it. Is this why I can't copy the file? If so, how do I keep Services from starting the .dlls?
The big questions are 1) Why can't I copy? and 2) How do I copy a file that resists copying?
Thanks.
question here is why do you want to copy the file, well i would like to know why lol
Have you got a rom update for the diamond rom you could extract the file from that, maybe it is protected ,which is why it cant be copied. Have you tried clicking copy in resco then just paste a copy back into the windows directory it will just rename it copy of ezinput.dll ,then maybe you will be able to copy that copy of the file?
Yes, I can extract the ROM (no update as far as I know) if I needed to, but I'm trying to avoid that.
I want to copy that file because the Touch Pro has slightly variations in its soft keybard that I would like to use.
I asked one of my developers, and he explains that the file is opened as "exclusive". I need to find a way to keep that file from running on startup. It's not running as a service, it's not in the startup, it's a registered .dll that is being called by another process.
Does WM6.x have a .dll cache?
There must be a way to copy this file... Help?
use total commander; works for me
zeezee said:
use total commander; works for me
Click to expand...
Click to collapse
As I indicated in the original post, TC did not work. If you have a Diamond/Touch Pro/WM6.x w/ HTC's soft-keyboard, I would like you to try to use TC to copy windows/ezinput.dll to another location. My guess is that it will NOT work.
snovvman said:
As I indicated in the original post, TC did not work. If you have a Diamond/Touch Pro/WM6.x w/ HTC's soft-keyboard, I would like you to try to use TC to copy windows/ezinput.dll to another location. My guess is that it will NOT work.
Click to expand...
Click to collapse
ohh...i didnt read carefully enough, sorry.
Might be a way to see content of the flashdisk on the PC while in the erm...tricolor screen (i cant believe i dont remember the term at the moment x.x) - but then again, probably not.

dificulty locating themes

greetings all,
i've attempted to search this site and have read the wiki. i saw the sticky on not starting threads until exhausting other options, but i didn't find the answer to my particular question.
i installed teh Tf3d config, but none of the themes i've installed are showing up in the drop down menu under appearance. i've tried relocating them to various spots on my device and storage card, but nothing seems to work. in one tutorial, i read to creat a new folder named Internal Storage/Themes/ but my device would not allow this as a folder name and i've tried slanting the slashes in both directions.
one of the themes was a zipped file, the other was not. the zipped file was DL'd to my PC first, then i extracted the files to my device.
the TF3D config seems to be, otherwise, working fine. i've deleted a tab and rearranged the others.
any help would be greatly appreciated.
injunwil said:
greetings all,
i've attempted to search this site and have read the wiki. i saw the sticky on not starting threads until exhausting other options, but i didn't find the answer to my particular question.
i installed teh Tf3d config, but none of the themes i've installed are showing up in the drop down menu under appearance. i've tried relocating them to various spots on my device and storage card, but nothing seems to work. in one tutorial, i read to creat a new folder named Internal Storage/Themes/ but my device would not allow this as a folder name and i've tried slanting the slashes in both directions.
one of the themes was a zipped file, the other was not. the zipped file was DL'd to my PC first, then i extracted the files to my device.
the TF3D config seems to be, otherwise, working fine. i've deleted a tab and rearranged the others.
any help would be greatly appreciated.
Click to expand...
Click to collapse
for ease of use several people have create cabs out of their themes.. simply install the cab file. look for a thread created my mobile matt (username mchapman) it has several themes and mods in it.
one of the themes i've installed is a cab. however, it does not show up. that's what the problem is.
i guess the title of thread could be a little misleading. i'm not having trouble locating themes to install - tf3d config is having trouble finding them, after i do.
ETA - i searched for the thread you mentioned, but it says "mchapman" is an invalid username
ETA - i've found this instruction to be a little confusing. if somebody could PLEASE give me a little clarity on exactly what they are telling me to do:
- Create the root of internal storage of your HTC Touch Diamond a folder named: Themes
thank you
can someone just explain this one sentence, please.
- Create the root of internal storage of your HTC Touch Diamond a folder named: Themes
injunwil said:
can someone just explain this one sentence, please.
- Create the root of internal storage of your HTC Touch Diamond a folder named: Themes
Click to expand...
Click to collapse
Means create a folder named Themes. no sub folder (or folder inside a folder).
injunwil said:
greetings all,
i've attempted to search this site and have read the wiki. i saw the sticky on not starting threads until exhausting other options, but i didn't find the answer to my particular question.
i installed teh Tf3d config, but none of the themes i've installed are showing up in the drop down menu under appearance. i've tried relocating them to various spots on my device and storage card, but nothing seems to work. in one tutorial, i read to creat a new folder named Internal Storage/Themes/ but my device would not allow this as a folder name and i've tried slanting the slashes in both directions.
one of the themes was a zipped file, the other was not. the zipped file was DL'd to my PC first, then i extracted the files to my device.
the TF3D config seems to be, otherwise, working fine. i've deleted a tab and rearranged the others.
any help would be greatly appreciated.
Click to expand...
Click to collapse
Go to here for find themes, wallpapers, everything you need....please read and read some more before posting....
http://forum.xda-developers.com/showthread.php?t=470023
slawcop` said:
Means create a folder named Themes. no sub folder (or folder inside a folder).
Click to expand...
Click to collapse
is this something that requires a registery editor? i ask because, i've attempted making a folder with that name in several locations then placing the file in it. it still won't show up in the drop down menu.
exactly where do create the folder named "themes"?
thanx
injunwil said:
is this something that requires a registery editor? i ask because, i've attempted making a folder with that name in several locations then placing the file in it. it still won't show up in the drop down menu.
exactly where do create the folder named "themes"?
thanx
Click to expand...
Click to collapse
Maybe this will help. If you were to create this folder on your pc instead it would look like this:
C:\themes <- C:\ is your root directory.
so on your phone the folder should appear in the list with windows and program files and document and storage card. It should be \themes NOT something like \Program Files\themes

Backup all configuration files automatically / Restore uppon reflashing

Aaaah, another backup??? WHY? Read why before downloading this one, running and deleting afterwards without knowing.
why1: after re-flashing device, all setting files will be imported automatically into device.
with autobackup switched ON and even better with my another script (papustomize),
you will have your old settings after reflashing without pressing a button
why2: it’s simple & plaint. You can combine using script or file explorer for manual copying, deleting, adding of files and folders.
Not running difficult backup programs and re-selecting which files to keep backup of..
You can select individual files or whole folder structures to be backuped/restored
why3 (not yet I want to add the same for program’s registry values of course. It would be why3. (backuping and restoring saved regs)
..meantime only papustomize is parsing saved registry entries, but backup of them is not done automatically. Read notes in “papustomize.mscr” on how to prepare reg files for parsing.
Papustomize is using dotfred’s taskmanager for parsing registry. You need to have this in windows folder with name "\Windows\TaskMgr-fdc.exe"
or change location and name of it in papustomize.mscr
--
How it works?
Packup will backup files, folders or complete folder structures from device
which you manually once copied into specified backup folder on SD card.
There is no backup list, all files which you once manually copied to backup folder
will be always backuped.
Files have to be in corresponding directory structure. e.g. put \Windows\saveme.cfg file
in Storage Card\data\backupFolder\Windows\saveme.cfg
* if there is a file named packup.all in any folder inside BACKUP path, it will
Be backuping ALL files and folders from that level up
* for using OEM version you will probably want to set your own default backup path and settings right into script files. There are notes inside them on how to do it. Eventualy, put your folder in rgu
I am using version of Mortscript 4.2 – it’s included in cabs but not in OEM downloads. May not work with older ones.
MortScript is great project and all Glory and $ for using scripts with Mortscript must go to Mortscript program author: (c) Mirko Schenk [email protected] http://www.sto-helit.de
----
There is other app in OEM package, automatic light chnger for day/night,
you can find description and cab in general kaiser forum.
Hints and bugs welcome
will try it soon and give a feedback
thanks for this nice utilities...
Looks good, will give it a try! Thx
What is the difference with this one:
XDA_UC

Categories

Resources