Hello everyone, I would ask a question that may seem trivial.
Our device has a small amount of internal memory. I would deodex the rom, but when I go to install the rom deodex I realized that occupies more memory than the stock rom.
How can it be? There are ways to make sure that no more memory than of a custom rom?
thanks in advance
Deodexing is not meant to reduce space,its meant to be done for theming purpose.What deodexing does is,it changes the .odex file back to .dex and combines it with the apk,so no space is saved.You could barebone your rom or something for saving space
Related
Hey guys,
some time ago I've tried to free some space from my internal memory, so I've chosen several files to remove in my \windows directory, like ringtones, 007 trailer and some .cabs of default installed programs. Overall size was about 90MB, what is pretty nice while I had like 100MB free space on internal. I know these files can't be just deleted, so I've prepared fake files with the same name, but zero size and I did these steps:
1. backup of chosen files
2. rewrite old files with new files of zero size using Total Commander
!! BUT !! when I did so, free space of internal memory was always the same (even after restart)
3. so, when I saw it had no effect, I restored original files from backup back to the \windows folder and I was shoked when I saw 10MB of free memory
4. as a last step, I've changed these files again with those zero sized and I had the free space back
Now I have the same amount of free space as I had at the beginning, but with zero sized fake files instead of original files.
I want to ask:
a) why my method did not work??
b) how can I really free up some space?? (by removing those useless files)
c) where is the "ROM image" located?? I mean .. if I'll change those original files with fake files and I'll do hard reset, what will happen? Will be those original files restored from some hidden ROM image or are they necessary to keep (for any reason) in \windows folder?
Thank you for any ideas.
FYI I am using stock R3A ROM.
C'mon ... I am sure somebody knows the answers. I've already read several threads about deleting files in windows folder, but all of them were about overwriting files with new, fake files. There were nothing about free memory. And also I can't find the answer on my third, probably most important question
c) where is the "ROM image" located?? I mean .. if I'll change those original files with fake files and I'll do hard reset, what will happen? Will be those original files restored from some hidden ROM image or are they necessary to keep (for any reason) in \windows folder?
Click to expand...
Click to collapse
Any help is appreciated.
on wm there is a flash area
devided into 2 places 1 is storage
1 is rom
rom is read only after one flash the firmware
you can overshadow files in the rom flash with empty files
but they don't mean they are not still there
but it's don't matter because files on rom don't take up storage space at all
they take up rom space it's 2 seperate "partitions" if that makes something you can understand better
only way to truely remove files from the rom flash is to cook a rom without them
and even if you do that that will not give you more storage space as it's 2 seperate spaces
so basicly you're barking up the wrong tree for more storage
Thanks man. This answer is absolutely enough for me, now I understand it much better.
Hi, first off I apologise if this is an easy answer, though I have been searching around and couldn't find a solution for a Donut Rom. I am running "Super D 1.9.3 with [Official] WG-Kernel v3-beta(10mb RHack)" which has Apps2SD set up automatic. However for speed purposes, I want certain APK's to be installed on the internal memory (ADW Launcher etc). I added APK's I wanted to be installed to the system directory, signed the rom, flashed without my memory card inserted and they all installed to the internal memory no problem. However after turning off my G1, inserting the memory card (with EXT3 partition) and booting up they have all been moved to the memory card. Is there a way on this rom that I can temporarily disable Apps2sd to allow me to install to the internal memory and keep them there upon 'activating' Apps2SD again? I found a solution which mentionned to edit a file within system/etc (setlocation or something like that) however that file does not exist on this rom.
I have tried pushing APK's with Android Commander to the system directory but they still get sent to my SD card!
Sorry again if this is in the wrong place, I know this may have been better suited in Super D's thread but given the Automatic Apps2SD on a Donut rom I figured others could help out too!
Check out firerats mtd hack in the forums. You may want to go that route.
sent from my superfroyo dream
I use Titanium Backup PRO and it tells me that my system rom has 285MB and I only have 4.75MB FREE...what uses this space and how do I get more FREE? I have tried uninstalling several applications but that number doesn't change.
Internal: 1.98GB 1.48 Free
DB dataa; 132 MB 1.48GB Free
SD card: 13.9 GB 11.2 GB Free
Ext SD card: 15.9 GB 15.5 Free
The system ROM: seems to be the only one almost out of space. Can someone tell me what to do?
Thanks
Donna aka gramme
system ROM would be anything under /system
apps that are included under /system/app, lib files, config files
basically it DOESNT matter that its almost out, you DONT need to be installing stuff to system. if you are stock, you can uninstall some of the bloat, or if your rom builder put everything in /system/app/ you can try converting some of them to user apps using titanium backup. do not go willy nilly converting everything to user apps, you will kill your rom and it will probably cause you to have to reload it.
dont know why you think you need more space though.
Pirateghost said:
system ROM would be anything under /system
apps that are included under /system/app, lib files, config files
basically it DOESNT matter that its almost out, you DONT need to be installing stuff to system. if you are stock, you can uninstall some of the bloat, or if your rom builder put everything in /system/app/ you can try converting some of them to user apps using titanium backup. do not go willy nilly converting everything to user apps, you will kill your rom and it will probably cause you to have to reload it.
dont know why you think you need more space though.
Click to expand...
Click to collapse
Thank you for your response I appreciate your time and sharing of your knowledge.
I was concerned because when I go to the market place to install something it tells me that I don't have enough space but if I reboot I can then install. So I looked in TB to see what kind of space I was out of and didn't know about that System ROM space. I am rooted and have a AT&T Samsung Captivate Galaxy S with android 2.2. I have all the AT&T stuff frozen I think.
Thanks again
Donna aka gramme
when you download stuff from the market, it installs to /data/app
nothing should be getting installed to /system at all
Hey all!
I'd like to ask something about DEODEXING. I tried deodexing my firmware today after flashing again the XXKPS official one.
After re-installing all my apps and files, i noticed that i have less free internal system storage. Is this normal? As far as i noticed my dalvik cache's size has increased considerably.
I've already read about the odex files and this seems normal (as the .odex files are kinda dalvik cache) but i would like a confirmation from a more advanced member.
Thanks in advance!
Hello,
as I see there are some kernels and roms, but for me key question is how much internal memory can I gain after removing write protection (I couldn't find such information).
I know that it probably depends on how much I decide to delete, but I would be thankful if someone wrote:
- which applications take most of the space?
- what is "other" in memory management that takes almost 3GB?
Then I will know if rooting etc. is worth the trouble and warranty loss risk.
Thank you in advance.
Regards,
Chris
3 GB "Other" is the ROM of the phone, you basically have about 1 GB to use. You need a custom ROM to have more space, since in most of the custom ROMs the bloatware, the htc sence, htc keyboard etc are all deleted which frees up some space, but don't expect a lot.
nekubg said:
3 GB "Other" is the ROM of the phone, you basically have about 1 GB to use. You need a custom ROM to have more space, since in most of the custom ROMs the bloatware, the htc sence, htc keyboard etc are all deleted which frees up some space, but don't expect a lot.
Click to expand...
Click to collapse
Custom rom not help. Partition and data system has a fixed size. Deleting bloatware free up space on the system partition. Which is unusable.
Then its worse than I thought...
ufonek said:
Custom rom not help. Partition and data system has a fixed size. Deleting bloatware free up space on the system partition. Which is unusable.
Click to expand...
Click to collapse
Wow, so it seems that in terms of free space rooting this phone gives you nothing. And that was my main motivation.
Is it possible to change partition size after freeing space? I mean some kind of gparted-thing.
Regards,
Chris
strangeFace said:
Wow, so it seems that in terms of free space rooting this phone gives you nothing. And that was my main motivation.
Is it possible to change partition size after freeing space? I mean some kind of gparted-thing.
Regards,
Chris
Click to expand...
Click to collapse
Well, at least not something im willing to try, because the chances are to big that I brick my phone.
AFAIK, the partition table (partition size, place etc.) are stored in your hboot. Flashing a custom hboot is possible with S-OFF, but I don't know what I should edit in hboot to change the partition size., and I'm not really willing to try it.
factory reset does not help
Hi guys,
I made factory reset, but the "other" folder is still 2,88 GB out of 4 available after reboot. There are no pictures, videos, games or apps whatsoever, its fatory clean!!, and I don't know what this 2,88 GB data is?
I have a suspect on the /sys folder, which contains more than 500 thousands files! with folder like loop, mmcd...etc. see via ES file explorer. also not thumbnail found.
Any idea how to get rid of that data?
thanks.
ciao,
Rob.