Most ROMs bar CM have aps2sd enabled automatically. I seem to be having trouble with this as Titanium Backup is crashing while installing to sd, but not to the internal memory.
Is it possible to disable aps2sd until after booting and installing the essential apps from TB?
So there isn't anything I can flash to disable and then reflash to enable?
Or a folder to delete?
Or script to edit?
Probably it is a script in:
/system/etc/init.d/
Can't tell which one exactly, as it differs per ROM (they all have their own implementation).
Maybe you can state which ROM you are using?
To temperory disable it, is by removing it in the ROM.zip I guess and then resign it by tools found here on xda (androsign). Then you can adb push it in later if wanted.
eh, how bout removing ur sdcard and only insert it only after booting?
edit: ah i read wrongly
Could be something aye. init is only executed @ boot I think.
Of course, remove the sd card ... always the simple answer that gets ignored :-D
It is a script in /system/etc/init.d/10apps2sd or 4apps2sd or something how ends with apps2sd in the file name,remove it with adb and push it back when you want to use it again.
Since it is governed by a text string in init.rc in the kernel also but you need not worry if you move away the script file in /system/etc/init.d
No joy on this, I remove the 10apps2sd script and it crashes the system when installing anything :-(
maybe there is a way to unpartition the sdcard?
Related
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.
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
there is an app to remove program like htc gallery,peep,teeter,google talk,friend stream from a stock 2.2 rooted?
if i want to remove an app from a rom (before flashing it) i have just to delete the apk inside the zip? (from data/app and system/app)
there is a list of app can't be uninstalled
if i want to add an app to a rom just place the apk inside the zip in data/app? os system/app?
tnx
isnt there a app to remove lilke absolute system root tool?
As long as you are still S-on you can't remove anything form the system partition while booted. If you want to remove stuff while S-on you need to do it via ADB in recovery or, like you mentioned, by removing them from the zip before flashing. Just make sure you don't unzip the zip file but just open it and edit the zip and that signature verification (in recovery) has to be disabled.
If you are s-off you can use Root explorer (or Estrong can do it as well I believe and there are probably a lot of other file managers that can do it also) to remove stuff from the system partition. If you know your way around with terminal you can also use a terminal emulator or ADB shell. Don't forget, in all cases, to mount the system partition as r/w and the changes won't take effect until you reboot.
http://forum.xda-developers.com/showthread.php?t=749166&highlight=removing+apps+adb
http://myhtcdesire.com/tutorials/how-to-delete-system-applications-on-rooted-phones
Hi All,
I am trying to get a script to run at boot that mounts the 2nd partition on my usb hard drive at /data/sdext2. This way I have use Link2SD to put apps on the external hard drive. I have my script written and it works if I run it manually in terminal as root. However, it will not run on boot. I have put it in /system/etc/init.d, named it 80mountusb2 and set the permissions to 755. Any suggestions on what to test/check next?
Thanks,
Zarrin
Hi
So I am looking at blocking a number of websites - no, I don't really want to do this through app's as a mere uninstall can undo the blocks.
I've rooted my phone, I've given +rw mount to /system/ and I'm able to etc hosts under /system/etc/hosts just fine.
However, as soon as I reboot, the system restores the hosts file to it's original state and all my edits to that file are undone.
Is there anything I can do about this? Please be a bit more specific than just "flash the kernel", thanks.
MohamedH93 said:
Hi
So I am looking at blocking a number of websites - no, I don't really want to do this through app's as a mere uninstall can undo the blocks.
I've rooted my phone, I've given +rw mount to /system/ and I'm able to etc hosts under /system/etc/hosts just fine.
However, as soon as I reboot, the system restores the hosts file to it's original state and all my edits to that file are undone.
Is there anything I can do about this? Please be a bit more specific than just "flash the kernel", thanks.
Click to expand...
Click to collapse
any time i edit anything in system folders i copy it to sdcard do my edits then copy it back and make sure the permissions are set correct i think it rw-r--r-- reboot and it should be good to go... for some reason i cant edit them in that folder but moving it to edit then move it back works for me maybe it will work for you too...
buby78 said:
any time i edit anything in system folders i copy it to sdcard do my edits then copy it back and make sure the permissions are set correct i think it rw-r--r-- reboot and it should be good to go... for some reason i cant edit them in that folder but moving it to edit then move it back works for me maybe it will work for you too...
Click to expand...
Click to collapse
I can edit it no probs. I do my changes, test them out and they all work OK.
As soon as I reboot, everything becomes undone. AFAIK this might be some kernel protection.
The system partition is write-protected.
http://forum.xda-developers.com/showthread.php?t=2701816