[Tips] Getting +-60MB More Free Space of The Internal Memory - Sony Ericsson XPERIA X10 Mini

Do you have many apps installed and suddenly your device said that your internal memory is low? While this is happened, you also can't receive any sms...
Usually it happened when your /data partition comes below 22mb free space... But now I realize that I still have 60mb free space in my /system partition...
So to sum it up, I basically just move some of the .apk in /data/app/ into /system/app/
To do this, you can use:
- adb shell > su
- install Root Explorer or SU File Manager (easier)
- add your own method here
Then reboot. Remember that by doing these, your application will now becomes protected application... You can't update it with market and you can't uninstall it (except by using Titanium Backup)... So I just put some of my apps that I thought I will never update (such as some games that I install from SD card )
Now my /system partition only have 100kb free space
You also can freeing up /system free space by uninstalling some unneeded default apps that comes with your devices. For example, default trial RollerCoaster app or uninstall timescape...
More info for uninstalling this protected apps, go to forum.xda-developers.com/showthread.php?t=740338
Or you can uninstall protected apps directly using Titanium Backup... Backup it first in case you want to use it later...
One more thing, root required. To root, go to forum.xda-developers.com/showthread.php?t=739874 or forum.xda-developers.com/showthread.php?t=739845
P.S: I can't post a links yet

Brilliant tip - I might put this on my blog after testing it! Thank you!

Ok, Perfect!

It works. Thanks

Noice one.

Are you absolutely sure that protected apps can't be updated on the market?
Facebook and Maps came pre-installed for me and are protected; they also update regularly from the Market..

I think they'll update - you'll just get the new version installed to /data/ with the older version left in /system/
So when you get an update, you'll just need to manually delete the previous version from system and copy the new version back in its place (if that makes sense)

Very nice post, I have a question, should it be done by rooting your phone first?? Coz u said that u r using adb shell with super user, am I right?
Sent from my Xperia X10 Mini Pro

I found this post and thought that this was very usefull, so i went ahead and tried it out on my missys phone.
1st of all, ive done some heavy modifications to the general look and feel of the phone. Nearly all blue is gone. Changed it to baby pink. My girl likes Twilight saga alot, so i changed nearly all the app icons in the apk's, both the SE ones in /system/app and the ones in /data/app.
The changing of images, icons, bars and buttons, i will try and write another post on under the theme forum later.
So.. I went ahead and tried this:
Obviosly the phone is rooted, else i couldn't change anything in the phone =)
I tried to move MyBackup from /data/app to /system/app.
The app is installed and working like it should and i did:
Code:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
mount -o rw,remounr -t yaffs2 /dev/block/mtdblock3 /data
busybox mv /data/app/com.rerware.android.MyBackup.apk /system/app
reboot
What happens after this is... No icon in menu.. Can't find it anywhere.. Should it be renamed or what am i missing here?
I have then deleted the program. Installed it again from market. Found it in working order and tried things like:
Code:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
mount -o rw,remounr -t yaffs2 /dev/block/mtdblock3 /data
dd if=/data/app/com.rerware.android.MyBackup.apk of=/system/app/com.rerware.android.Mybackup.apk
reboot
Same result..
Another go..
Code:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
mount -o rw,remounr -t yaffs2 /dev/block/mtdblock3 /data
cat /data/app/com.rerware.android.MyBackup.apk > /system/app/com.rerware.android.MyBackup.apk
reboot
Again, no app icon anywhere on the phone..
Last i tried:
Code:
adb push c:\x10\apk\com.rerware.android.MyBackup.apk /sdcard/apk/com.rerware.android.MyBackup.apk
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
mount -o rw,remounr -t yaffs2 /dev/block/mtdblock3 /data
busybox install /sdcard/apk/com.rerware.android.MyBackup.apk /system/app
reboot
Still failing... so, what am i missing?

shadowillusion said:
Remember that by doing these, your application will now becomes protected application... You can't update it with market and you can't uninstall it (except by using Titanium Backup)...
Click to expand...
Click to collapse
All is correct.
But using appbrain - fastweb installer apps, you can see if a "protected" app is up to date or not in the application list of appbrain app too.
So you can uninstall it and re-install the update version (if you want)
I moved a lot of apps to /system

Thank you very very much for this tip

FastDuck said:
I found this post and thought that this was very usefull, so i went ahead and tried it out on my missys phone.
1st of all, ive done some heavy modifications to the general look and feel of the phone. Nearly all blue is gone. Changed it to baby pink. My girl likes Twilight saga alot, so i changed nearly all the app icons in the apk's, both the SE ones in /system/app and the ones in /data/app.
The changing of images, icons, bars and buttons, i will try and write another post on under the theme forum later.
So.. I went ahead and tried this:
Obviosly the phone is rooted, else i couldn't change anything in the phone =)
I tried to move MyBackup from /data/app to /system/app.
The app is installed and working like it should and i did:
Code:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
mount -o rw,remounr -t yaffs2 /dev/block/mtdblock3 /data
busybox mv /data/app/com.rerware.android.MyBackup.apk /system/app
reboot
What happens after this is... No icon in menu.. Can't find it anywhere.. Should it be renamed or what am i missing here?
I have then deleted the program. Installed it again from market. Found it in working order and tried things like:
Code:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
mount -o rw,remounr -t yaffs2 /dev/block/mtdblock3 /data
dd if=/data/app/com.rerware.android.MyBackup.apk of=/system/app/com.rerware.android.Mybackup.apk
reboot
Same result..
Another go..
Code:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
mount -o rw,remounr -t yaffs2 /dev/block/mtdblock3 /data
cat /data/app/com.rerware.android.MyBackup.apk > /system/app/com.rerware.android.MyBackup.apk
reboot
Again, no app icon anywhere on the phone..
Last i tried:
Code:
adb push c:\x10\apk\com.rerware.android.MyBackup.apk /sdcard/apk/com.rerware.android.MyBackup.apk
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
mount -o rw,remounr -t yaffs2 /dev/block/mtdblock3 /data
busybox install /sdcard/apk/com.rerware.android.MyBackup.apk /system/app
reboot
Still failing... so, what am i missing?
Click to expand...
Click to collapse
I think you are forgetting to reboot the phone!
Apps aren't showing if moved and the phone didn't reboot!

Dear,
when I move the file facebook from the folder: data/app to system/app with the root explorer on the mobile phone after reboot I can not see the icon on the screen
regards
juergen

Reboot again and you'll see it

Actually, apps do show without a reboot.
Problem is that there was references somewhere in the phone to the app when it resided in /data/app... So i copied the apk to the sdcard. Uninstalled the app and after root, mount i did a:
busybox install /sdcard/some/path/SomeApp.apk /system/app
it worked like a charm.. And it shows without a reboot..

FastDuck said:
Actually, apps do show without a reboot.
Problem is that there was references somewhere in the phone to the app when it resided in /data/app... So i copied the apk to the sdcard. Uninstalled the app and after root, mount i did a:
busybox install /sdcard/some/path/SomeApp.apk /system/app
it worked like a charm.. And it shows without a reboot..
Click to expand...
Click to collapse
works this also perfect with root explorer, when I not connected my phone to the pc?

Related

ADB doesn't work on 2.1

So ive upgraded to 2.1 Via nordic method but ADB doesn't seem to work. It worked for one time after I upgraded and I removed some useless stuff such a moxier and stuff but now it doesn't really work. ADB pull works fine but when I try to mount the device with "adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system" it says "mount: Operation not permitted" and when I try to remove more files I get something like the file is read-only or something.
Same problem overhere.
xGary said:
So ive upgraded to 2.1 Via nordic method but ADB doesn't seem to work. It worked for one time after I upgraded and I removed some useless stuff such a moxier and stuff but now it doesn't really work. ADB pull works fine but when I try to mount the device with "adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system" it says "mount: Operation not permitted" and when I try to remove more files I get something like the file is read-only or something.
Click to expand...
Click to collapse
If you just type ADB SHELL, do you get $ back?
Then SU, get #
Do you Titanium, Busybox and Superuser working OK at the phone?

Cannot mount with ADB

Hello all,
I am trying to push a file to my system, however I do not seem to be able to mount my system partition.
When I try to execute the following command, I always get the error "Operation not permitted" :
Code:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
My phone is rooted and my USB debugging is on !!
Anyone no what could cause this. It has always worked when I was still on 1.6 (rooted) and now it doesn't allow me access.
When I use Rootexplorer, I have R/W access, so root works.
Anyone has any tips or advise ?
Try...
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
Tried that, and get permission denied
Should have added, make sure your screens on on the phone and allow SuperUser access when you type su.
never mind, one sec

Remove apps from /system/app

I'm running void, and I need to make some space in /system.
In particular I'm interested in those apps which get updated in the market, but are installed using the "gapps" module:
- gmail (com.google.android.gm-1.apk)
- youtube (com.google.android.youtube-1.apk)
- google search (com.google.android.googlequicksearchbox-1.apk)
- maps (com.google.android.apps.maps-1.apk)
- market (Vending.apk)
Can I remove them on /system/app? They are already in /data/apps it shouldn't be a problem. Thanks
This has been asked a lot of times before, but anyway:
Code:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
rm *appname*.apk
The real answer of my question is: yes you can safely remove from /system/app all applications that you will find on market.
I tested it yesterday with success
Yeah, but my reply was a verbose version of "yes" Sorry, didn't get it right.
Titanum backup can remove all of those, and its included in one of the void packages... or maybe its already in the void rom. I cant remember which one at the top of my head. But even if you download the free one from market place with ads, it'll still do the job
You really should leave the filesystem they way you found it (read only). I would recommend that you append the above steps with:
Code:
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
It more than likely will be fine without it and on the next reboot it will mount as read only, but proper procedure is to put it back as read only when you're finished with it.
U can use Titaniumbackup to remove them or Root explorer(seach in market).
Sent from my LG-P500 using XDA Premium App

How To Get Back your Old Android Market back

Okay so you installed a custom ROM on you xperia x8 and you get this great new market, full of flashy looks and all, but its slow and takes more time than the old android market did? Now if you want your old Android market back do the following and it should work
Before doing this please backup your current market just in case anything goes wrong , you can use Titanium Backup
Now using titanium backup Uninstall the current market and market updater, Check your app drawer market should be gone, now follow these steps
Download this Rar file http://www.filesonic.com/file/1742293344
Extract The files
Plug your Cell phone and Copy these files in you SD card
note: Dont copy them in any folder, copy them directly in the sd card
Restart your cell phone
After cell phone Restarts and becomes stable , Run Terminal Eluminator( most custom roms have them preinstalled) in case you dont have it , download it from the market
Type these lines very carefully in the Terminal Eluminator, use landscape keyboard its safer that way, Type these lines,
Su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cat /sdcard/updater.apk > /system/app/updater.apk
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
reboot(type reboot) do not manually rebooy
After this your phone will reboot. Now, you have installed Updater, you just need to follow same step to install Market main file. So, go back again in Terminal Emulator and type this
Su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cat /sdcard/market.apk > /system/app/market.apk
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
Reboot
Thats it,, after reboot you should have your old android market back
note: type the lines very carefully, they are crucial in order to succes

[Q] making /system writable for indic fonts

Hi,
I am trying to add indic fonts to my amaze. (following this xda thread). I was looking at these instructions to make /system/fonts writable. However, the listing of the mounts on the amaze is somewhat different.
for /system, here is what I am getting
/dev/block/mmcblk0p29 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
so what is my remount command? would this be right?
mount -o remount,rw -t ext4 /dev/block/mmcblk0p29 /system
Any better way to get indic fonts on amaze?
busybox mount -o remount,rw /system
I have a rooted phone with stock rom and superuser. (following the sticky thread how to root your amaze) I am not planning to install any ROMs (just yet). So how do I get busybox? Is there amaze specific busybox.apk that I can install?
Thanks
did not get busybox .. instead gave command
mount -o remount,rw /system
in the adb shell after su and that worked just fine ..
New question .. what are the default rwx permissions? I changed the fonts directory to 777 and would like to move it back to what it was ..755? is it?
755 it is. or use font changer, https://market.android.com/details?id=com.martino2k6.fontchanger
there is a free version

Categories

Resources