Removing content from nbh files? - XPERIA X1 General

My proto X1 only has a limited amount of space in ROM (Obviously they never intended to run the latest version of the rom on it (0.52 originally). This means i have no "Storage" space free at all on the device, or at least so far as I understand.
There is a lot of content inside the windows directory which i could really do without, including a bloody 14 meg james bond trailer.
So my questions are:
1) Can you delete files from a .nbh file prior to flashing it onto a phone and...
2) Will removing files from the .image/.nbh file prior to flashing it onto the device free up some "storage" space (I understand I can use an sd card for most of it, but panels HAVE to go onto storage, as do sms/emails etc)

Related

Tips to free up precious RAM

Install Tweaks2k.NET on your handheld,
(1) You can move some .dlls automatically from \windows to your Storage or SD card. However, you don't get to choose which dll to move. Program analyses and does it all for you. There is an UNDO button.
- best to do this when you install one program at a time so you can test and UNDO one step at a time.
Use Resco Explorer for ease of use (make sure that 'Hide hidden files including the ones in ROM' option is selected)
The folder of interest is the \windows
(2) You can move help files to your SD card
.htm files
(3) You can move .unload files (for uninstallation) to your SD card
- but remember that when you want to uninstall an application
eg. MortPlayer, you need to copy back the file MortPlayer.unload to
\windows to uninstall it
(4) You can move \windows\appmgr files .dll to your SD card
- if you want to uninstall or reinstall an app, remember to move that
specific app .dll file back to \appmgr
Install Valksoft Space Reclaimer
(5) set it to run at every soft reset. It will autoclean your temp folders, ie folders, old files and registry during startup.
I managed to free up at least 5MB using those steps. My RAM is pretty much trimmed although I was a bit peeved when the MMS software took up 3MB of RAM (I tried to install on the SD card, but the files need to be installed in RAM).

Free up more program memory...

It seems that more program memory can be freed up by using Total Commander's Copy function to copy renamed files (smaller size) to Windows folder to replace stuff you don't need. After reset, the smaller size files stay. I hardly use ppt 1.2Mb, so I replaced it with a 5k exe file. The Clearview pdf app 65kb is useless... and I did the same for a few other tsk/gif...etc files.
With the latest jarsar rom 1.30.68WWE & Radio 1.09, got rid of most junks from extend rom, cleaned up the Windows folder, now got about 31.12Mb program memory. The speed seems pretty good.
If I install the new ROM, will I have to do a hard reset and install all the applications again.
I have previousl used the ROM unlock tool.
Will the new ROM install OK.
Thanks
Steve
Yeah... will need to repeat the process after a hard reset.
Can just save all those faked renamed files in a folder and then copy all to Windows folder one go.
Not too troublesome...
You will not recover any memory since those files are in ROM.
However, you do have a point in "replacing" large files with smaller versions - the device takes less time to search for the program icon.
Result of the clean-up of unneeded files in Windows folder by copying faked reduced size files into folder:
Both are after a soft-reset measurement -
Before: Program memory 30.41Mb Storage memory 36.64Mb
After : Program memory 31.07Mb Storage memory 38.20Mb

Only 9mb free Storage main memory. I CAN'T INSTALL LARGE PRG

ActiveSync first (or a .cab for that matter) first copies the files to the MAIN MEMORY STORAGE temp directory and only then, you are asked when would you like the program to be installed.
Since I have just about 9mb of free storage ram on my main memory, I am unable to install 20mb of so programs even if I want to install them on my SD card. Because the WM2005 installed always first copies to a temp dir on the main memory. that's stupid. How can I install large programs to my SD card if I don't have much room on my main memory then?
Help please.
Thanks
MOBILER
look for the cab file first, manually copy it directly to your SD card and run it from that location using explorer.
try reducing your temporary RAM by disabling all of your today plugins and windows startup folder, run your program, then set them back again.
how is it you are running on 9mb, i reset my device when it gets down to 15mb, and usually starts up with 25mb with SPB PP SPB Diary SPB weather and MS Voice Command all running at startup, so how is yours so low?
ACtivesync copy the cab file to SD if your memory is low. I installed many big (20 Mb) programs using it. The normal behaviour is to copy the file without question, then ask on the pocket where you want to install it. When you are low on memory, it ask me on the PC (as it was on previous WM2003 models) where to install, then it copies the file to SD. It usually fail to install, but you can then soft reset and run the cab from the SD.

Missing Directories on Memory Card

Hi @ all,
since a few days most of my memory card directories disapperaed. There are only the My Documents folder (which is empty, too) and a TEMP folder I created left on the card.
Although I searched for some threads like this http://forum.xda-developers.com/showthread.php?t=294324 all attempts failed.
The space on the card is still occupied and when re-installing programms a new Program directory is created with the same name as the dissapeared one. I have one program when the installer claimed to remove the previous version first before re-installation. So it seems to find something (but I assume in Windows directory or registry).
How will I get the dissappeared folders back? Is there any other chance than formating the SD card and re-installing all programs?
I'm using bepe's cooked German WM6 V0.96 (the last one) and a 2 GB miniSD-Card. It worked quite well since a year now...
Thanks for help,
TC
TC25FFM said:
Hi @ all,
since a few days most of my memory card directories disapperaed... when re-installing programms a new Program directory is created
TC
Click to expand...
Click to collapse
... y lo cagaste, me temo.
trinity, for some reason, spoils the FAT and reestablishes it with new data. the FAT is like a directory of "where to find what on disk".
as yout fat doesn't work properly, especially it doesn't show off the used sectors or clusters, all new storage will overwrite and destroy this way part of your old data.
so if this happens, remove inmediately the sd-card, put it into your PC card reader and pass it trough file appropiate rescue programs and you'll mostly find almoust all files.
so take a breath, download file rescue pgm's to your PC (some work better, others have many options, others ...) and have a try.
after the rescue, format the SD in your PC.
mine is just passing the rescue :-( and it's rescueing about 1600 files yet
regards

[Q] remove corrupted directory from internal flash drive?

Howdy, couldn't find this anywhere
htc Advantage 7510 running MichyPrima ROM for years. Internal (built-in) flash drive developed one corrupt directory (the backup directory for SPB backup, natch) and got filled up, before this had plenty of room. The bad directory now appears to contain subdirectories and files with gobble-de-goop names, dates, etc. and when I try to delete any or all of them it tells me either that the file name contains illegal characters and therefor can't be deleted, or that the file is a system file and access is denied (of course the files are not write-protected). Trying to get at it and delete it while connected to an XP desktop also doesn't help because it is not recognized as an external drive, but rather as a sub-directory of a "mobile device", so I get similar errors. All other directories are fine, and most of my installed , configured software resides on this drive, along with a lot of data (I've got all that backed up to the desktop computer). I also removed some files from other directories to make some room just in case this was complicating things.
Is there some utility that will let me make an end-run around this and just delete the directory and its contents? I really don't want to format the entire drive and start over from nothing.
TIA for any advice!
-avi
Remove corrupted directory from internal flash drive checkout following link for more details.
This won't help.
As stated above, only the removable micro SD card can bee seen as a true external flash drive, not the intenal memory.
The only solution would be a Windows Mobile tool similar to Scandisk.
Now you really can't find anything to solve your problem, you can still backup all your data and hard reset your device : it should set it back clean.
I kind of concluded that myself. Just hoping someone knows of that elusive utility that will let me work on the drive as if it were a regular removable drive. I REALLY don't want to go the formatting route.

Categories

Resources