Dear friends,
this is a little trick I have used a couple years ago that I want to share with you.
The logic of any file system makes impossible to have, in the same folder, a file and a folder having the same name.
Thus I have used this rule to avoid the creation of folders and files I don't want on my device.
How?
That's very simple:
To avoid the creation of a file such as Lazylist I have created a folder called Lazylist
To avoid the creation of a folder such as LOST.DIR I have created a file called LOST.DIR
Hope this will help you fighting bugs!
Lots of Love.
Related
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.
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
I have some files in /data/data/com.something that are again and again deleted or rather overwritten by a program every time I run it. I'd really love a way to delete protect those files of mine.
Points:
I know that the files are overwritten because they are read only files so the only logical explanation is that they are first deleted and then replaced with a new file.
The files should be prevented from being deleted or edited but I also want that the data still be executable and viewable.
The files are in .XML format.
The name of the files and their current location should not change.
Last but not the least, this change should be reversible.
Can any human being help me achieve this or is this something that only the almighty can do?
Evan Jongske Sangma said:
I have some files in /data/data/com.something that are again and again deleted or rather overwritten by a program every time I run it. I'd really love a way to delete protect those files of mine.
Points:
I know that the files are overwritten because they are read only files so the only logical explanation is that they are first deleted and then replaced with a new file.
The files should be prevented from being deleted or edited but I also want that the data still be executable and viewable.
The files are in .XML format.
The name of the files and their current location should not change.
Last but not the least, this change should be reversible.
Can any human being help me achieve this or is this something that only the almighty can do?
Click to expand...
Click to collapse
Greetings and welcome to assist. If the files are in data then they can be overwritten if they are in system/root then they could only be ovewritten by a root application.
Hope this helps
Good Luck
Sawdoctor
Dear friends,
for months I was struggling with the auto-created folders named LazyList and LOST.DIR
These are folders that are created automatically by the file system, but sometimes I have found, especially in the LOST.DIR folder, duplicated and previously deleted files, also big, very big ones.
Why a so great waste of storage?
So I wanted to get rid of that!
And after some "Guru meditations" I have found the trick to achieve it.
It is a very simple trick, that's related to the file system itself.
Since it is a rule that where there is a folder there cannot be a file with the same name, simply creating a file with a specified name will make it impossible, even to the system, to create a folder with the same name, and vice-versa.
So, if we want to get rid of the infamous folder LOST.DIR, simply delete it and create, a, even empty, file with the same name!
The file system will be forced to not create that folder, anymore!
Freedom to manage storage.
Man vs Filesystem: 1-0
Hope this will be useful to everyone that takes care of their storage
Uranya said:
Since it is a rule that where there is a folder there cannot be a file with the same name, simply creating a file with a specified name will make it impossible, even to the system, to create a folder with the same name, and vice-versa.
So, if we want to get rid of the infamous folder LOST.DIR, simply delete it and create, a, even empty, file with the same name!
The file system will be forced to not create that folder, anymore!
Click to expand...
Click to collapse
I must say I didn't believe it, so I tried to create a lost.dir folder and lost.dir file in the same directory on my computer.
And you were right!
Thanks for sharing!
I was deleting files few weeks ago andi came across this folder "AppMoniterSDKLogs" i didn't bother to open it. Just deleted it. Today again this folder was recreated. It last folder there are two sub Folders one contains .html file name ( Trace) . Is it spyware or malware or just system folder.
So what's the answer