[Q] A2SD+ Forcing to system memory - Desire Q&A, Help & Troubleshooting

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

Related

What files can be safely deleted in the HTC Desire Root folder?

I've been looking at the root folder using Astro and there are several files/folders. Can any be deleted, without causing any problem? I'm running out of space and am hoping some are just temporary files etc...
For example I've spotted the APK files are in \system\app. I never use the Peep or Teeter apps. Can I safely delete their APK files?
Thanks
p.s - I am using an unrooted HTC Desire.
bradavon said:
I've been looking at the root folder using Astro and there are several files/folders. Can any be deleted, without causing any problem? I'm running out of space and am hoping some are just temporary files etc...
For example I've spotted the APK files are in \system\app. I never use the Peep or Teeter apps. Can I safely delete their APK files?
Thanks
p.s - I am using an unrooted HTC Desire.
Click to expand...
Click to collapse
you cant delete them using astro, we only have write access to /system in recovery, use adb in recovery to delete them
edit, without root you cant delete anything lol
bradavon said:
For example I've spotted the APK files are in \system\app. I never use the Peep or Teeter apps. Can I safely delete their APK files?
Click to expand...
Click to collapse
In addition, deleting anything from /system won't actually gain you any more space for applications anyway due to the way that the filesystems are partitioned.
Regards,
Dave
Thanks guys. I take it you mean we've got write but not modify access to the \system folder? So we can write to existing files but not delete them.
I wasn't just asking about \system though but any files/folders in the Root folder. Are there any at all, that can be safely deleted? Or are you saying you cannot delete a thing without rooting?
Not that it sounds like it will make any difference, due to partitioning.
Thanks
Ok to put it as simple as possible:
- no you cant pretty much delete a thing apart from sd without root
- we cant do anything in the system partition while the system is booted due to the nand protection
- we can modify /system while in recovery (using adb)
- when you are running out of space it is on the /data partition, which have a fixed size so deleting from /system or anything else won't help
And at last my advice to you is to go root and install a2sd easy as pie and i've never had space problems since.
Thanks for the informative reply mortenmhp
I have just rooted my 2.1 Desire, trying to remove two of the mms.apk and one other mms file in the /system folder so I can install a different mms.apk, however when I try to do it, it says I dont have the proper permissions. Its rooted, I see the Super User icon in applications.
Any suggestions?
Please read a little before asking questions. It is commonly known, that we dont have full root access on the desire yet.
Due to the nand protection you cant edit the system partition while the system is bootet. You have to use a custom recovery image either via fakeflash or installed by unrevoked. Then you can edit the system partition by using adb commands.
Edit: which i also stated quite clearly 2 posts above yours several months ago
Is A2SD better than the Android 2.2 implementation? Which as far as I can tell just moves the APK (not apps/data) to the SD Card.
Thanks.
Well it is kinda off topic here but in my opinion yes it is better. I'm running a2sd+ atm. and you can make it move /data/data as well.
In froyo there have been some complications though when remountingSD after using it as mass storage. But you can read more about that elsewhere(i would provide a link but I'm writing from my phone)
So the conclusion must be that it is down to personal preferences
Thanks because the official implementation is something of a cop out. On WM you could run the entire App/Data etc... on an SD card.

Read Only File System when removing apps

I am trying to remove some apps I dont use or want like the mail app and others and I know i have nand protection unlocked becasue I can run nand backup and restore. But when i run adb shell and rm Mail.apk i get message of rm failed for Mail.apk, read only file system. I am a noob with adb but is it possible i dont have nand unlocked?
Being able to NAND backup and restore doesn't have anything to do with having NAND unlocked.
You obviously don't have full root.
download or find (please pay for it on the market)
root explorer, run it, this will put you on the / directory which is the root of the phone, not the sd card, and up in the top right corner it says mount r/o or mount r/w
by default it is read only r/o
hit the button and beside it you will see small text saying 'mounted r/w'
if it lets you mount r/w then you should be good to go.
just navigate to your /system/app filder, long press on the apk file you want to delete and choose delete, it will error out if you dont have r/w access, but make sure the upper right corner still says 'mounted r/w' - sometimes when you mount the phone in the opening page, it doesnt mount everything as r/w so you might have to mount the /system/app folder.
so, if you have it mounted r/w and it says so, and it wont let you delete or rename anything, then you know that you do not have a full root, just the partial root and you will have to go thru and reroot it for full access.
there are simpler ways i imagine but root explorer is the king of file explorers as far as i am concerned.
the only thing it needs is a built in FTP and SMB (windows network) explorer.
FAndroidHTC said:
I am trying to remove some apps I dont use or want like the mail app and others and I know i have nand protection unlocked becasue I can run nand backup and restore. But when i run adb shell and rm Mail.apk i get message of rm failed for Mail.apk, read only file system. I am a noob with adb but is it possible i dont have nand unlocked?
Click to expand...
Click to collapse
Would you be running the stock rooted ROM?
Sent from my PC36100
rafroehlich2 said:
Would you be running the stock rooted ROM?
Sent from my PC36100
Click to expand...
Click to collapse
stock rooted rom doesnt matter, thats what i run from time to time and i can delete/move/rename anythign i want anywhere on the phone (ok i havent tried every folder but have not hit a file/folder i couldnt alter yet, because i have full root access.
v_lestat said:
stock rooted rom doesnt matter, thats what i run from time to time and i can delete/move/rename anythign i want anywhere on the phone (ok i havent tried every folder but have not hit a file/folder i couldnt alter yet, because i have full root access.
Click to expand...
Click to collapse
I asked because I had a similar problem when I had stock rooted. Once I changed it went away.
Sent from my PC36100
rafroehlich2 said:
I asked because I had a similar problem when I had stock rooted. Once I changed it went away.
Sent from my PC36100
Click to expand...
Click to collapse
hmmm wierd.
maybe a bad rooted rom?
someone correct me here but do you have SuperUser installed?
doesnt he have to have superuser installed to do it via root explorer, or login to a terminal via adb with 'su' to rename/move/delete
if you didnt type su, and then get the $ prompt you cant do what you are trying to do. ... ???
i dont think you need to type su to do the following command but it probably wouldn't hurt ??
i am very adb green but do know enough to run some commands, its just that i prefer to do it with root explorer rather than command prompt.
download or find (please pay for it on the market)
root explorer, run it, this will put you on the / directory which is the root of the phone, not the sd card, and up in the top right corner it says mount r/o or mount r/w
by default it is read only r/o
hit the button and beside it you will see small text saying 'mounted r/w'
if it lets you mount r/w then you should be good to go.
just navigate to your /system/app filder, long press on the apk file you want to delete and choose delete, it will error out if you dont have r/w access, but make sure the upper right corner still says 'mounted r/w' - sometimes when you mount the phone in the opening page, it doesnt mount everything as r/w so you might have to mount the /system/app folder.
so, if you have it mounted r/w and it says so, and it wont let you delete or rename anything, then you know that you do not have a full root, just the partial root and you will have to go thru and reroot it for full access.
there are simpler ways i imagine but root explorer is the king of file explorers as far as i am concerned.
the only thing it needs is a built in FTP and SMB (windows network) explorer.
Click to expand...
Click to collapse
You can use Estrongs File Explorer and use the root option. No payment required. Unless you are running CM ROM, be sure to turn off the root option before closing the program, otherwise next time you open ES it will give a force close.
Sent from my PC36100 using XDA App
wow I love this forum what a huge response in such a short time I'm gonna test to see if I don't have nand properly unlocked and I tried using android mate to delete the apks and that didn't work either but I'm running fresh 1.0.2 currently
Just tried using es file explorer with root explorer and mount file system as writable and deleted the apk and everything worked great the app is gone! Thank you for the help this means i have nand unlocked right? I must have been doing something wrong in the adb shell
You can also issue the command 'adb remount'.
The system partition is mounted read only at start up and this command mounts it read/write. It has nothing to do at all with your NAND.
Ok good to know thank you for the advice like I said I'm an adb noob lol
do adb remount then try again
I removed wireless_tether using root explorer. When i try to install another version of wireless_tether, it says i am trying to overwrite another app, then wont let me install because it says its a system app. then I go in to look and see if I had truly removed it , it has a different name "andro tether" under settings/apps/manage apps. It doesn't show this in the root explorer for me to delete it. How can I fully delete it if its not showing there anymore.
I still cant install the new version. Help

Root/ superuser/ managing system

Hi,
i have Rooted my desire using standard unrevoked 321,
confirmed working in adbshell.
Installed superuser and Root explorer
Granted Root explorer rights in superuser
Went in to the root explorer.
Went to my desired location to delete in this case ringtone files to clear valuable space. System/media/ blabla
enabled r/w and deleted the files i wanted.
Now i come to the point that when i either press back and disable r/w or just exit the explorer in all my desire resets and the ringtones are back in place.
It seems that i dont get full control even though i have this confirmed using the Su and id command in sdb shell
Any clearafication would be much apreciated.
Regards
kevincombo said:
Hi,
i have Rooted my desire using standard unrevoked 321,
confirmed working in adbshell.
Installed superuser and Root explorer
Granted Root explorer rights in superuser
Went in to the root explorer.
Went to my desired location to delete in this case ringtone files to clear valuable space. System/media/ blabla
enabled r/w and deleted the files i wanted.
Now i come to the point that when i either press back and disable r/w or just exit the explorer in all my desire resets and the ringtones are back in place.
It seems that i dont get full control even though i have this confirmed using the Su and id command in sdb shell
Any clearafication would be much apreciated.
Regards
Click to expand...
Click to collapse
You need to have S-OFF in order to delete those files that come with the phone.
Check this http://alpharev.shadowchild.nl/ and http://forum.xda-developers.com/showthread.php?t=794314
Once you do this it should not be a problem at all to perform what you want to.
And the alpharev method is reliable and fast
clearing files in any /system/ directory wont give you any space anyway!!! only files in the /data/ directories will
You might also like to try cache for root users. It deletes all cache files
Thans for that. Im going to tinker around with these options
sent mobile

[Q] Can't rw on /system

I backed up and then deleted my play store using titanium backup but when I went to restore it it wouldn't let me. So I tried to move it to system/apps using a few file explorers like root explorer,Es explorer and super manager but non of them let me put system folder into rw mode , and yes I did give all of them root rights. I also tried to use the adb command on the terminal with su rights but that did nothing, does anyone have any advice besides reseting my phone.i am also running Jedi mind trick x3(i know I need to update)
erden99 said:
I backed up and then deleted my play store using titanium backup but when I went to restore it it wouldn't let me. So I tried to move it to system/apps using a few file explorers like root explorer,Es explorer and super manager but non of them let me put system folder into rw mode , and yes I did give all of them root rights. I also tried to use the adb command on the terminal with su rights but that did nothing, does anyone have any advice besides reseting my phone.i am also running Jedi mind trick x3(i know I need to update)
Click to expand...
Click to collapse
In ES, you have to go to 'Root Explorer' under 'Tools', then 'Mount R/W', then use the radio buttons to give it write permissions (given that you have root already).
treefrog321 said:
In ES, you have to go to 'Root Explorer' under 'Tools', then 'Mount R/W', then use the radio buttons to give it write permissions (given that you have root already).
Click to expand...
Click to collapse
Exactly what I did ,i allows access to all the others and system but as soon as I press ok and go back to check the permissions again system is the only one that reverts back to read only
erden99 said:
Exactly what I did ,i allows access to all the others and system but as soon as I press ok and go back to check the permissions again system is the only one that reverts back to read only
Click to expand...
Click to collapse
I have this problem too! I am currently trying to uninstall the system youtube app because it wont let me install the new 5.0 update without doing that as I have a modded youtube apk. I am on AOKP custom ROM

[Q] App folders not visable in file manager

Hi there !
Where can i find installed apps folders in file manager
I'm trying - storage/emulated/0 and nothing there
Many thnx
/data/data but you have to be rooted to look in there. If you are not rooted, you will not be able to go there no matter what you do. The default file manager will not go there, so first root, then you have some options:
adb shell and then do "su -" after you've rooted and installed SuperSU. Then you can cd /data/data and do ls to your hearts content.
Install Root Explorer and you can explore outside of the internal and external SD cards. You'll be able to go to /data/data.
Install ES File Explorer and do the same as Root Explorer.
So, until you root, you're out of luck.
/data/data is where the app data is stored unless you tell it to store it on the SD card (internal SD card). Then, the data itself is stored in /sdcard/Android/data.
The actual application itself is installed in /data/app if I remember correctly. That will require root.
Also, I would avoid doing any changes in those directories. You can bugger your app up to where you'll have to re-install it and that wouldn't be good.
Thanx for your elaborated answer !!
iBolski said:
/data/data but you have to be rooted to look in there. If you are not rooted, you will not be able to go there no matter what you do. The default file manager will not go there, so first root, then you have some options:
adb shell and then do "su -" after you've rooted and installed SuperSU. Then you can cd /data/data and do ls to your hearts content.
Install Root Explorer and you can explore outside of the internal and external SD cards. You'll be able to go to /data/data.
Install ES File Explorer and do the same as Root Explorer.
So, until you root, you're out of luck.
/data/data is where the app data is stored unless you tell it to store it on the SD card (internal SD card). Then, the data itself is stored in /sdcard/Android/data.
The actual application itself is installed in /data/app if I remember correctly. That will require root.
Also, I would avoid doing any changes in those directories. You can bugger your app up to where you'll have to re-install it and that wouldn't be good.
Click to expand...
Click to collapse

Categories

Resources