Bsk files? - G1 Android Development

So I've been going through the system folder to try and find items that could be symbolically linked to system/sd in order to save space for themes.
Anyone have any idea what the bsk files in /system/usr/share/bsk are for?
And another question, is there a command to get file specs while in terminal emulator?

Related

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

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.

cooking question

if i am trying to add programs to a directory (i.e "Tools")
i know the way to create a directory within the programs folder named "Tools" via initflashfiles.txt would be:
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")
but where would i want to use it, do i put this in the first program alphabetically that is going to go in this folder.
or do i just put it in the beginning of every initflashfiles.txt of every OEM that is going in that specific directory?
xsbeats said:
if i am trying to add programs to a directory (i.e "Tools")
i know the way to create a directory within the programs folder named "Tools" via initflashfiles.txt would be:
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")
but where would i want to use it, do i put this in the first program alphabetically that is going to go in this folder.
or do i just put it in the beginning of every initflashfiles.txt of every OEM that is going in that specific directory?
Click to expand...
Click to collapse
Let me let you in on an inside secret... I never code the :-Directory line in any package I create. I found out (by accident when I mistyped a directory name) that if you move a file to a Directory that doesn't exist yet, then it creates it for you. So just do the file moves to whatever directory you want and they will automagically appear for you

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.

Locating an APK instead of IPA.

Hello, I own an HTC Evo 4G and recently have purchased an application and downloaded it. When I located it within my Android phone I noticed it was under the extension .ipa which as I have come to find out is for Apple. Can someone inform me as to what is going on. I just wanted to pull the APK off my phone. I know how to do that, but why is it an IPA file? This also makes me question, how am I running a .ipa file?
Also, I used phsorx APK batch location and renaming tool. I copied the whole directory out from under my Android drive and it didn't locate and APK with a file name similar to that of what I was looking for.
Bottomline:
Where is the APK and how can I find it? Any help appreciated. Thanks.
I have never seen an .ipa file on my device. I think you have mistaken, maybe you have downloaded that file earlier or something like that.
RentonT said:
Where is the APK and how can I find it? Any help appreciated. Thanks.
Click to expand...
Click to collapse
Generally system apps are in /system/app/ and user apps in /data/app/. Apps installed to sdcard (using Froyo implementation) are hidden/encrypted and they're mounted to /mnt/asec* or something like that. You could check exact locations by executing "pm list packages -f" command on a device (terminal emulator) or "adb shell pm list packages -f" on a PC with SDK installed.
Awesome. Thanks Brut.All. Great APK tool by the way. I guess you're right. Somehow I must have just placed a .ipa file on my phone. My kudos to you.

How to change date/time of multiple files?

My device is rooted
I want to change the date of a folder in /root, and change all files and subfolders within that folder (thousands of files)
Is there easy way for me to do that. I'm a user not a developer
Thanks
Requires knowledge of Android shell commands, how to write a shell script and how to run such a shell script in Android.
Look inside here:
How can I change the date modified/created of a file?
Is there a way to change the date when a file was modified/created (which is shown in Nautilus or with the ls -l command)? Ideally I am looking for a command which can change the date/time stamps o...
askubuntu.com
You might use SH Script Runner to accomplish such a task.
jwoegerbauer said:
Look inside here:
How can I change the date modified/created of a file?
Is there a way to change the date when a file was modified/created (which is shown in Nautilus or with the ls -l command)? Ideally I am looking for a command which can change the date/time stamps o...
askubuntu.com
Click to expand...
Click to collapse
I'm a user
I tried using the Total Commander app, but it cannot modify files within folders. Manually editing such a large quantity is very time-consuming
Re-read my 1st post, what I've edited.
jwoegerbauer said:
Re-read my 1st post, what I've edited.
Click to expand...
Click to collapse
Thanks
But it's too hard for me
Up, help
My last 2 cents here:
Look inside here:
How to change the modification date (The Metadata) of multiple files?
I have a gallery folder with multiple images and videos, some of them has their modification date correct, and some of them has the month wrong. I want to make a script that will change all the fil...
unix.stackexchange.com
Done

Categories

Resources