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?
Ok I am on a rooted 345 us White dell streak.
I am trying to deodex. I have used the deo 1.2.1 deodexer in the xda forum thread for auto deodex 2.3.
I pulled all my apks and their odex files from the /system/app/ folder
and the jars and odex files from the /system/framework folder
I am trying to use adb to copy them from my sdcard to the correct folders, but when i reboot my phone hangs at the dell logo.
Hopefully someone can see what I am doing wrong.
I enter:
adb shell
su (then I allow permission on my phone)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock6 /system
cp /sdcard/doneapk/* /system/app/
cp /sdcard/doneframework/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t yaffs2 /dev/block/mtdblock6 /system
reboot
what am i missing?
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
also u can find them here as i done this to intgrade arabic to streak its in done_app & done_fram
my rom 345
http://hotfile.com/dl/110981641/4de9442/arabic_streak_345_15380_00.7z.html
bump..
can you guys post a quick guide with steps on how to do this? How hard is it to go back and edit files later like services.odex? if it doesn't exist anymore?
I have no idea what bump means......forum noob obviously.
But if you search auto deodex 2.3 in xda forums it is under droidx forums.
So I changed the mount command to yaffs2 /dev/bkock/mtdblock6 where theirs is different because from what I understand, that is the streaks mount command for mounting.
But I will try the other path and see if it works. I will keep you updated when I try it later.
freepal08 said:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
also u can find them here as i done this to intgrade arabic to streak its in done_app & done_fram
my rom 345
http://hotfile.com/dl/110981641/4de9442/arabic_streak_345_15380_00.7z.html
Click to expand...
Click to collapse
so I tried your command path and no luck. still stuck on the dell logo.
Thank GOD for nandroid backup.
how exactly did you deodex your files? maybe thats what i am missing. Maybe the deodexed files i put in have an issue.
i used xUltimate-v2.2.2
and if u are 345 rom
u can use my files
also its take up to 10 min to load the phone
Krad said:
bump..
can you guys post a quick guide with steps on how to do this? How hard is it to go back and edit files later like services.odex? if it doesn't exist anymore?
Click to expand...
Click to collapse
Whenever you edit services.odex you first doedex it...then you modify it...then you carefully and painfully re-odex it...with a deodexed file system you get rid of the first and last steps...
so it would be services.dex, you copy it to your pc, edit it, and send it back...quicker and easier modding
freepal08 said:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
also u can find them here as i done this to intgrade arabic to streak its in done_app & done_fram
my rom 345
http://hotfile.com/dl/110981641/4de9442/arabic_streak_345_15380_00.7z.html
Click to expand...
Click to collapse
ok I am trying your files. I see you put sync as your last command after you remount. that differs than the droidx forum How to manually deodex thread.
what does sync do?
I got farther with your files than i have before. So maybe I might have some luck after all, but still stuck on a frozen boot animation
I have no idea what I did differently but I am now deodexed using the file provided above.
My phone is now a rooted and deodexed 345 build. Nice!
I want to use a script to backup and restore my wifi settings and email accounts after a ROM flash.
In the script I use this command to make system R/W to be able to replace EmailProvider.db in data/data/com.android.email/databases/ :
Code:
mount -o remount,rw /dev/block/mtdblock3 /system
Then I reboot, but ALL files (including /system) stay R/W after reboot.
Also when I add this to end of the script, all stays RW:
Code:
mount -o remount,ro /dev/block/mtdblock3 /system
Is this normal?
Should I (and how can I) remount the system RO after excucuting the restore script?
(all above is done in adb shell su, to test before executing script on sgs2)
ROM: own custom ROM made in Ubuntu based on XWKI4
Kernel: stock XWKI4
busybox 1.18.6
su: 2.3.6.3
SuperUser: 2.3.6.3
Click to expand...
Click to collapse
Nevermind,
found the answer:
the /system is remounted RO after the command, but not /data.
And it was in /data/data/com.android.email/databases/ that I made the changes and where it seems to stay RW.
So the data partition is RW just after flashing and stays RW...
No app can mount system as rw, even mount -o rw,remount /system doesn't work
Only adb remount works.
@Chainfire
SuperSU zip broken root at all
Its been updated .
hi,
When i install custom font in my rooted HTC one M7, font works fine. but new font does not exists after reboot. Do have any idea. please refer following procedure i followed.
mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
cd /system/fonts
dd if=/sdcard/NotoSansSinhala-Bold.ttf of=/system/fonts/NotoSansMyanmar-Bold.ttf
dd if=/sdcard/NotoSansSinhala-Regular.ttf of=/system/fonts/NotoSansMyanmar-Regular.ttf
reboot.