I am trying to copy apk from data/app to system/app.
However it always failed with error insufficient storage / memory.
I have tried it using Root explorer by ensuring the r/w mount but still failed.
I believe i still have around 100MB left in the /system while the apk i tried to copy is only 70KB
I also have tried using terminal but still same error: "Out of Memory"
I am using Gingervillain 3.3 and used to root via unrevoked 3.21
Any help is appreciated.
Thanks
co-lee said:
I am trying to copy apk from data/app to system/app.
However it always failed with error insufficient storage / memory.
I have tried it using Root explorer by ensuring the r/w mount but still failed.
I believe i still have around 100MB left in the /system while the apk i tried to copy is only 70KB
I also have tried using terminal but still same error: "Out of Memory"
I am using Gingervillain 3.3 and used to root via unrevoked 3.21
Any help is appreciated.
Thanks
Click to expand...
Click to collapse
I assume you are s-on.
If you are s-on, then you can't modify the system partition while the operating system is booted. Try booting in recovery, and using adb to copy the apk from /data/app to /system/app.
Furthermore, S-OFF also reduces restrictions on accessing the NAND flash memory on the device, allowing all partitions (including /system) to be mounted in write mode while the operating system is booted.
Click to expand...
Click to collapse
Wohoo! it works!
Thanks a lot m8
Related
hi im using LeeDrOiD_V2.1a_A2SD , is there any way to force apps to be run from the system memory instead of the sdcard, as far as i can tell it automatically goes to the sdcard?
would prefer to use the system memory for security software such as wavesecure?
thanks
John
Yes to run it from the system partition so it can not be removed the regular way, you just have to move the apk file from /sd-ext/app/ to /system/app/
This can be done using adb commands when in recovery or by applying the s-off hack and use an app like root explorer.
thanks
the apk file was in the folder /system/sd/app
and root explorer let me enable r/w access in it, without enabling s-off
i'm hoping i did it right
:-0
thanks again
John
Well you might be able to do it this way without s-off but it is not actually on the system partition. It depends on what Rom you are using.
But are you able to uninstall it using the settings menu?
it still gives me the option to uninstall yes, but at this point i just wanted to get it running off the phones memory, rather than off the sd card
thanks
John
ok it turns out root explorer didn't copy them over, so i copied them over with adb commands , and wavesecure doesn't show up as uninstallable
ta
John
jcat00uk said:
ok it turns out root explorer didn't copy them over, so i copied them over with adb commands , and wavesecure doesn't show up as uninstallable
ta
John
Click to expand...
Click to collapse
yeah, most of the programs out there (like root explorer) won't throw out an error if they can'y mount it as R/W... because HTC was clever enough to hide that it can't be mounted RW without S-off
Probably I missed this question being answered somewhere, but I am tired of searching for it, so here it goes...
I decided not to root my device for now, and I am trying to get the most of it with stock limitations. Generally it is fine, but what bothers me most is the fact that i seem to be unable to write any files on phones internal memory. Is it so, that all / filesystem is inaccessible for write, or is there a dir where i could store some files i would like my phone to be able to access while sdcard is unmounted?
I may be wrong but thats the limitations of a "stock" phone,if you want access to the files you would have to root AFAI
That's exactly the impression I have, and I don't like the idea. I'm ex WM5/WM6 user, and I simply cannot understand why can't I have let's say /tmp/ dir just for myself...
banannq said:
That's exactly the impression I have, and I don't like the idea. I'm ex WM5/WM6 user, and I simply cannot understand why can't I have let's say /tmp/ dir just for myself...
Click to expand...
Click to collapse
Any reason for not rooting then? there are plenty stock roms/alternatives out there.
I grown tired of constantly tweaking my previous htc smartphone, decided to keep this one stock at least for now. I know rooting is an open door I will not want to close
and also I think there's no rooting method for gingerbread so far, is there?
As much as I know a downgrade is involved,I know what you mean about tinkering with the phone!It gets obsessive at times
You should have access to /data/local or at the very least /data/local/tmp
That's where fiels get pushed for rooting.
-Nipqer
The problem is I cannot even open /data directory
How are you trying to access the /data folder?
Cause if its some file manager app, some of them will only read sdcard.
-Nipqer
I'm used fre3vo to get temproot on my device (Z, Android 2.3.3),
and after that called:
mount -o remount,rw -t ext3 /dev/block/mmcblk0p25 /system
i can write to /system, but after reboot or remount into readonly all my changes dissapearing. Should i need S-OFF on my device? Can i get S-OFF without rollback to v1.34 on temp rooted 2.42?
Yeah the emmc is write protected when you are s-on, so any changes to /system will dissappear on reboot.
Unfortunately you cannot get s-off without downgrading to 1.34.
-Nipqer
Nipqer said:
How are you trying to access the /data folder?
Cause if its some file manager app, some of them will only read sdcard.
-Nipqer
Click to expand...
Click to collapse
Normaly I use total commander for android, but tried also ES File explorer, Linda manager, andexplorer... all of them basicaly let me view / folders (with exception of /data, /root, /cache etc) so i think it is filesystem condition rather than file manager fault...
banannq said:
Normaly I use total commander for android, but tried also ES File explorer, Linda manager, andexplorer... all of them basicaly let me view / folders (with exception of /data, /root, /cache etc) so i think it is filesystem condition rather than file manager fault...
Click to expand...
Click to collapse
try root explorer. you can still view directories without root (the app will just tell you that it failed to request superuser access). I'm pretty sure everything under /data is r/w access by default. My phone is rooted so I can't verify whether or not you can write to that directory on stock (I'd assume you could as long as there's free space available) but I can definitely recall being able to look at all my directories on stock using root explorer.
sephiroth1439 said:
try root explorer. you can still view directories without root (the app will just tell you that it failed to request superuser access). I'm pretty sure everything under /data is r/w access by default. My phone is rooted so I can't verify whether or not you can write to that directory on stock (I'd assume you could as long as there's free space available) but I can definitely recall being able to look at all my directories on stock using root explorer.
Click to expand...
Click to collapse
I guess it doesn't matter what software i use android simply locks me out of internal phone memory. It sucks, because phone was advertised as having over 1GB of internal storage space (no mention about it being inaccessible), and i can't even store ringtones on my device (have to use sdcard, and suffer side effect of it being unmounted at times). What a shame... with all the greatness, android sucks at very simple things
banannq said:
I guess it doesn't matter what software i use android simply locks me out of internal phone memory. It sucks, because phone was advertised as having over 1GB of internal storage space (no mention about it being inaccessible), and i can't even store ringtones on my device (have to use sdcard, and suffer side effect of it being unmounted at times). What a shame... with all the greatness, android sucks at very simple things
Click to expand...
Click to collapse
Don't blame Android for your carrier locking down your device
Sent from my HTC Vision using XDA App
I just unlocked, rooted and restored all files in my nexus. I went into root Explorer to delete unwanted files and am getting a delete failed error every time I try to delete a file. Also my screen shots are no longer saving it says storage is in use. Anybody experience anything like this after rooting?
Sent from my Galaxy Nexus
Marcg23 said:
I just unlocked, rooted and restored all files in my nexus. I went into root Explorer to delete unwanted files and am getting a delete failed error every time I try to delete a file. Also my screen shots are no longer saving it says storage is in use. Anybody experience anything like this after rooting?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Are you trying to delete system files? Do you have SU installed? Are you clicking the R/W option. More details please.....
Several people have reported the issue with screen shot, to fix it they've had to rename the pictures folder(Seems like the folder is read only).
Swiftkey'ed on my CM9 Galaxy Nexus
No system files just old pictures, music files and other misc. It is set as r/w, also I am getting a few apps saying I need storage available that is writable. Something has to be up with the internal storage not allowing me to access or write to it.
Sent from my Galaxy Nexus
Well I am able to take screen shots by renaming he folder. However, I am still unable to write anything to my sdcard or modify files through root Explorer or any other file manager app.
Sent from my Galaxy Nexus
Root explorer - How to text edit
Hi All,
I have a problem with my root explorer. I am not able to open a file to edit. If i long press on a file , i dont get any option to open/edit the file.
i was supposed to edit gps.conf file under /system/etc but unable to do so from root explorer.
PS: i mount r/w from the root explorer every time i try..
Please help.
If you have any directories/files that you can't modify or delete, then boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *
root explorer delete failed
danger-rat said:
If you have any directories/files that you can't modify or delete, then boot into CWM recovery, plug in the USB cable, go into adb shell. Also make sure that /data is mounted in the CWM mounts menu. Then:
cd /data/media
chown -R media_rw.media_rw *
Click to expand...
Click to collapse
i'm having this crazy "delete failed" error every time i try to delete any file in sdcart, external, and root directory (copy-paste, root, permissions works fine )
i tried to delete any remains of root explorer with es file explorer ((which works fine btw so its not a problem of partitions i think), re installed the program again but its the same . Flashed the rom from the beginning with a full wipe but its the same
this error happened first when i updated from blackmart alpha to some rootexplorer v.99. I uninstalled that but it left this error
Any idea what is causing that
I'm very curious and would appreciate it
thanks
I found a way to delete the files you suggest using Root Explorer. Go into /data/media/<navigate to the directory that you want to delete files>.. make sure the folder is mounted as r/w and delete the files you want to delete. This is how I bypassed the delete failed issue in Root Explorer...
rester555 said:
I found a way to delete the files you suggest using Root Explorer. Go into /data/media/<navigate to the directory that you want to delete files>.. make sure the folder is mounted as r/w and delete the files you want to delete. This is how I bypassed the delete failed issue in Root Explorer...
Click to expand...
Click to collapse
^^^^ this
Thank you rester, this worked for me too. Was pulling my hair out.
New to all this so proceeding slow and cautiously. Recently rooted my Acer A100 with ota ICS installed. When trying to swap SD card and internal memory using Crossix directions I ran into an error msg that I haven't seen posted by anyone. The only difference I can find is his directions recommend using Root Explorer and I am currently using Root Browser Lite. Anyway when I go to rename install-recovery.sh to .bak it says Root Browser Lite is granted Superuser access but the operation fails. I looked at the Permissions for the file and they are rwxr--r-- I tried to change the Permissions to rwxrwxrwx and got an error msg that said "Changing permissions was not successful. Please note that some file systems do not allow permission changes." Would using Root Explorer change anything? Any help or suggestions would be appreciated.
Sounds like a root issue, try rebooting, opening superuser first then try.... unless you already put the file there and permissions aren't correct, that will brick you! If you already did force close super user. Remember if all else fails you can use Adb.
sent from your future.
apsiape said:
New to all this so proceeding slow and cautiously. Recently rooted my Acer A100 with ota ICS installed. When trying to swap SD card and internal memory using Crossix directions I ran into an error msg that I haven't seen posted by anyone. The only difference I can find is his directions recommend using Root Explorer and I am currently using Root Browser Lite. Anyway when I go to rename install-recovery.sh to .bak it says Root Browser Lite is granted Superuser access but the operation fails. I looked at the Permissions for the file and they are rwxr--r-- I tried to change the Permissions to rwxrwxrwx and got an error msg that said "Changing permissions was not successful. Please note that some file systems do not allow permission changes." Would using Root Explorer change anything? Any help or suggestions would be appreciated.
Click to expand...
Click to collapse
Check mount r/w while in /system.
Tapatalked from my Galaxy S II.
Thanks
Thanks. That did it. Was trying to change it in the etc folder but not under the system parent folder. You guys are great!!!
apsiape said:
Thanks. That did it. Was trying to change it in the etc folder but not under the system parent folder. You guys are great!!!
Click to expand...
Click to collapse
Its because /system is a partition, not a directory, so you have to mount the partition r/w to get it in the folders and files on it.
Tapatalked from my Galaxy S II.
I've recently did a factory reset, but before doing that I backed up the internal storage partition using
Code:
adb pull /dev/block/sda29
that is my partition for /data according to /cache/recovery/log generated by twrp.
Now I have this little (128GB) file inside my pc, I mounted it into a folder but entering media/0/ it say "Permission Denied" even if I access it using root user. I think is releted with android full encryption.
I tried using testdisk for finding other files and I found a bunch of random named files that testdisk fails to recover, but at least I get into the directory...
Someone can figure out how to access those files? thanks
topongo said:
I've recently did a factory reset, but before doing that I backed up the internal storage partition using
Code:
adb pull /dev/block/sda29
that is my partition for /data according to /cache/recovery/log generated by twrp.
Now I have this little (128GB) file inside my pc, I mounted it into a folder but entering media/0/ it say "Permission Denied" even if I access it using root user. I think is releted with android full encryption.
I tried using testdisk for finding other files and I found a bunch of random named files that testdisk fails to recover, but at least I get into the directory...
Someone can figure out how to access those files? thanks
Click to expand...
Click to collapse
it could be the file extension, windows will not read ext4 files unless you download a tool, linux supports it so you could try mountiong the file on linix or with ext4 app reader (you probably wont be able to modify the data)