Guest Tony Williams Posted December 9, 2010 Report Posted December 9, 2010 Is tthere any way i can free up space within the /system directory? I've managed to delete my gpio-key.kl file while trying to modify the mapping of my vega keys and now can`t paste a copy back as it says there is insufficient space. Regards Tony
Guest warriorscot Posted December 9, 2010 Report Posted December 9, 2010 If you move some apps on to your SD card it should free some space up on the internal memory.
Guest Tony Williams Posted December 9, 2010 Report Posted December 9, 2010 If you move some apps on to your SD card it should free some space up on the internal memory. Have tried that and it doesnt seem to make any difference. There seems to be around 250mb of internal memory free overall but the /system menu directory shows 119.62mb used 0 free. Regards Tony
Guest Tony Williams Posted December 9, 2010 Report Posted December 9, 2010 Have tried that and it doesnt seem to make any difference. There seems to be around 250mb of internal memory free overall but the /system menu directory shows 119.62mb used 0 free. Regards Tony Is there some way I can copy the gpio-key.kl file from my laptop back to the /system/usr/keylayout directory on the Vega? Apologies if this is a daft question but I`m new to the world of Android! Any help would be greatly appreciated. Thanks Tony
Guest arad85 Posted December 9, 2010 Report Posted December 9, 2010 Is there some way I can copy the gpio-key.kl file from my laptop back to the /system/usr/keylayout directory on the Vega? Apologies if this is a daft question but I`m new to the world of Android! Any help would be greatly appreciated. Thanks Tony Yes, with the Vega connected via USB and with debugging enabled do: adb push gpio-key.kl /system/usr/keylayout When I get some time, I'm going to look at seeing what can be dumped from the system partition to get all the busybox commands installed. Unfortunately, work keeps getting in the way!!
Guest Tony Williams Posted December 9, 2010 Report Posted December 9, 2010 Yes, with the Vega connected via USB and with debugging enabled do: adb push gpio-key.kl /system/usr/keylayout When I get some time, I'm going to look at seeing what can be dumped from the system partition to get all the busybox commands installed. Unfortunately, work keeps getting in the way!! Thanks for the reply I`ll try that when I get home tonight. Does this mean there is a limit to the size of the system partition? When I look at it with root explorer is says 119.62mb used 0 free, in desperation last night I tried deleting one of the ringtones from the system directory but the used/available space didn`t alter. Can files only be added to the /system partition from a laptop? Thanks Tony
Guest arad85 Posted December 9, 2010 Report Posted December 9, 2010 Thanks for the reply I`ll try that when I get home tonight. Does this mean there is a limit to the size of the system partition? When I look at it with root explorer is says 119.62mb used 0 free, in desperation last night I tried deleting one of the ringtones from the system directory but the used/available space didn`t alter. Can files only be added to the /system partition from a laptop? Thanks Tony How competent are you with command line processing and linux? All adb is doing is providing a proxy service to commands on the Doing an adb shell will give you a root shell on the vega and you can execute any command on there. That's one reason why I want the /system partition cleared out (so the remaining commands that don't get copied can be pushed into the system partition. For example, I can do this: Andy@PAIN ~ $ adb shell # df df /dev: 223928K total, 0K used, 223928K available (block size 4096) /mnt/asec: 223928K total, 0K used, 223928K available (block size 4096) /system: 122496K total, 122496K used, 0K available (block size 4096) /data: 338944K total, 94320K used, 244624K available (block size 4096) /cache: 32768K total, 1160K used, 31608K available (block size 4096) /misc: 2048K total, 1156K used, 892K available (block size 4096) /mnt/sdcard: 3850240K total, 1033216K used, 2817024K available (block size 32768) /mnt/secure/asec: 3850240K total, 1033216K used, 2817024K available (block size 32768) /mnt/asec/com.rovio.angrybirds-1: 16612K total, 14484K used, 2128K available (block size 4096) /mnt/asec/org.xbmc.android.remote-1: 5200K total, 4016K used, 1184K available (block size 4096) /mnt/asec/mobi.mgeek.TunnyBrowser.Theme.Orange-1: 2088K total, 752K used, 1336K available (block size 4096) # You can see that /system is a partition and it is completely full... Also, this is interesting: # cd /system cd /system # du -s * du -s * 39337 app 9491 bin 2 build.prop 4685 etc 4854 fonts 14711 framework 39217 lib 2 lost+found 2787 media 2155 usr 1946 xbin A big warning though: only attempt to play with the root shell if you are confident in what you are doing.
Guest Tony Williams Posted December 9, 2010 Report Posted December 9, 2010 How competent are you with command line processing and linux? All adb is doing is providing a proxy service to commands on the Doing an adb shell will give you a root shell on the vega and you can execute any command on there. That's one reason why I want the /system partition cleared out (so the remaining commands that don't get copied can be pushed into the system partition. For example, I can do this: Andy@PAIN ~ $ adb shell # df df /dev: 223928K total, 0K used, 223928K available (block size 4096) /mnt/asec: 223928K total, 0K used, 223928K available (block size 4096) /system: 122496K total, 122496K used, 0K available (block size 4096) /data: 338944K total, 94320K used, 244624K available (block size 4096) /cache: 32768K total, 1160K used, 31608K available (block size 4096) /misc: 2048K total, 1156K used, 892K available (block size 4096) /mnt/sdcard: 3850240K total, 1033216K used, 2817024K available (block size 32768) /mnt/secure/asec: 3850240K total, 1033216K used, 2817024K available (block size 32768) /mnt/asec/com.rovio.angrybirds-1: 16612K total, 14484K used, 2128K available (block size 4096) /mnt/asec/org.xbmc.android.remote-1: 5200K total, 4016K used, 1184K available (block size 4096) /mnt/asec/mobi.mgeek.TunnyBrowser.Theme.Orange-1: 2088K total, 752K used, 1336K available (block size 4096) # You can see that /system is a partition and it is completely full... Also, this is interesting: # cd /system cd /system # du -s * du -s * 39337 app 9491 bin 2 build.prop 4685 etc 4854 fonts 14711 framework 39217 lib 2 lost+found 2787 media 2155 usr 1946 xbin A big warning though: only attempt to play with the root shell if you are confident in what you are doing. I`m reasonably competant with command line processing and have a basic understanding of Linux (though not particularly Android). What intrigues me is why when I have deleted items both intentionally (a ringtone) and unintentionally (in the case of the gpio-key.kl file) the amount of free space on the /system partition hasn`t altered and I`m unable to put the files back? Using root explorer I would have thought this would have been possible? Regards Tony
Guest arad85 Posted December 9, 2010 Report Posted December 9, 2010 I`m reasonably competant with command line processing and have a basic understanding of Linux (though not particularly Android). What intrigues me is why when I have deleted items both intentionally (a ringtone) and unintentionally (in the case of the gpio-key.kl file) the amount of free space on the /system partition hasn`t altered and I`m unable to put the files back? Using root explorer I would have thought this would have been possible? Regards Tony You'll probably need to clear a page of flash (not sure of the block size on the unit in use by Advent) before you have space to write again.
Guest Tony Williams Posted December 9, 2010 Report Posted December 9, 2010 You'll probably need to clear a page of flash (not sure of the block size on the unit in use by Advent) before you have space to write again. OK......... so how would I go about achieving that? I`m keen to get the gpio-key.kl file back onto the device ASAP as I assume if I reboot without this file I wont be able to use the Vega keys? Thanks again for your help. Tony
Guest arad85 Posted December 9, 2010 Report Posted December 9, 2010 It's interesting you were able to delete the file from the /system partition as it appears to be mounted read only... Are you SURE you deleted it? BTW, adb is the adb-windows.exe (or whichever version for your OS) that was supplied by Pauls jailbreak. If you look at the .bat file that comes with the R4 release, you'll see that it does an adb-windows.exe remount which, according to the help that prints with adb does: adb remount - remounts the /system partition on the device read-write
Guest Tony Williams Posted December 9, 2010 Report Posted December 9, 2010 It's interesting you were able to delete the file from the /system partition as it appears to be mounted read only... Are you SURE you deleted it? BTW, adb is the adb-windows.exe (or whichever version for your OS) that was supplied by Pauls jailbreak. If you look at the .bat file that comes with the R4 release, you'll see that it does an adb-windows.exe remount which, according to the help that prints with adb does: adb remount - remounts the /system partition on the device read-write I didn`t delete the gpio-key.kl file as such, what I attempted to do was paste a revised copy of the file from my SD card back into the directory. It complained there wasn`t enough space to paste the new file and then promptly appeared to remove the original i.e it doesn`t show up in root explorer. The ringtone I got rid of to try and gain some space was deleted via root explorer (having made a copy on my sd card) but didn`t appear to free up any space. I`m using the windows version of adb. Presumably I could try issuing the command above and then try copying the gpio-key.kl file across using adb push? I assume I would have to try and delete something else from the /system partition after doing the adb remount before trying to copy the file over? There is a directory full of ringtones on the /system partition which would seem obvious candidates for removal from the vega as I can`t see a use for them? Regards Tony
Guest arad85 Posted December 9, 2010 Report Posted December 9, 2010 Presumably I could try issuing the command above and then try copying the gpio-key.kl file across using adb push? I assume I would have to try and delete something else from the /system partition after doing the adb remount before trying to copy the file over? There is a directory full of ringtones on the /system partition which would seem obvious candidates for removal from the vega as I can`t see a use for them? Regards Tony That's 2.14Mb that can go right there ;) By the way, DroidExplorer works nicely for me (apart from calling my device a whole string of numbers). Allows you to see the whole of the / filesystem in a windows explorer like context. Just playing with it now (in between doing slides for my boss...).
Guest Tony Williams Posted December 9, 2010 Report Posted December 9, 2010 That's 2.14Mb that can go right there ;) By the way, DroidExplorer works nicely for me (apart from calling my device a whole string of numbers). Allows you to see the whole of the / filesystem in a windows explorer like context. Just playing with it now (in between doing slides for my boss...). Thanks for the confirmation. I`ll give it a try tonight when I get home. Regards Tony
Guest arad85 Posted December 9, 2010 Report Posted December 9, 2010 Thanks for the confirmation. I`ll give it a try tonight when I get home. Regards Tony LOL... don't blame me if it breaks ;)
Guest Tony Williams Posted December 9, 2010 Report Posted December 9, 2010 LOL... don't blame me if it breaks ;) I`ve done a reasonable job of breaking it myself so far :P Fingers crossed!
Guest arad85 Posted December 9, 2010 Report Posted December 9, 2010 I`ve done a reasonable job of breaking it myself so far ;) Fingers crossed! You may find you don't need to free any space up. I've just upgraded to ad free and the whole process didn't complain (the rom I baked I left out the car module as I'm not going to be using this in the car...). Now it's saying this: Andy@Pain adb shell #df /system: 122496K total, 115484K used, 7012K available (block size 4096) Do the first and if you have any available space, just unlock (with adb remount) and play
Guest Tony Williams Posted December 9, 2010 Report Posted December 9, 2010 You may find you don't need to free any space up. I've just upgraded to ad free and the whole process didn't complain (the rom I baked I left out the car module as I'm not going to be using this in the car...). Now it's saying this: Andy@Pain adb shell #df /system: 122496K total, 115484K used, 7012K available (block size 4096) Do the first and if you have any available space, just unlock (with adb remount) and play Success! I opened a root shell, navigated to the ringtones directory and deleted a few of those,after a few were removed it started reporting some free space so I copied across my modified gpio-keys.kl file and it went across with no issues. Next step is to re-boot and see if the modifications to the key assignments have actually worked! Thanks for your help Tony
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now