can i delete /system/xbin folder? - General Questions and Answers

hi,
anyone who has galaxy nexus and haven't modified anything, can you please check and see if you have /system/xbin folder?
i installed some program called busybox by accident and i think it created /system/xbin folder.
so i uninstalled the app but the folder is still there..
so i'm wondering if it was there in the first place..
can i delete the whole folder?
right now i have 3 files in that folder : busybox, dexdump, su.

Related

[Q] apk question

Is the apk file essentially the same as a .deb file or .rpm file in that once it's installed it can be removed from the phone? Or is the .apk required for the application to run?
Thanks.
Basically, what you said. It can be removed once installed.
Thank you.
ktmdms said:
Is the apk file essentially the same as a .deb file or .rpm file in that once it's installed it can be removed from the phone? Or is the .apk required for the application to run?
Thanks.
Click to expand...
Click to collapse
Depends what you mean. If you mean the apk on the device itself (/data/app or /system/app), then don't touch it, as Android runs from the apk.
If you mean the sd card, then sure, delete it
Ah, nuts! /data/app has 4 apk files in it. /system/app has 75. What I was hoping to do was clear out the .apk's in /system/app (or move them to the sdcard and maybe link /system/app to a directory on the sdcard) to make room in the phone. Not safe to do that, huh?
Thanks.
I wouldn't think so. I'd leave them just incase.

[Q] installing busybox - pushing files to droid

Hello,
I started experimenting with my Android yesterday when I found out about metamorph which requires rooted phone and busybox..
I managed to root the phone but couldnt install the busybox with the application from the market - it says that busybox was not found..
Then I installed the SDK platform, and wanted to do it with adb
I downloaded busybox ... tar.bz2 file and unrared it into SDK/tools and tried pushing it to my android to /system/local by doing:
adb push /Users/../android/platform-tools/busybox /data/local
but adb pushed the subfolders (children) to the /data/local folder instead of the folder with childen folders itself.
Now I wonder:
1. how to remove all those junk files?
2. am I doing the right thing? should I copy the tar.bz2 without unraring it? what is the right procedure?
is there any easier way to accomplish this?
Thanks for help
One way to get busybox is with titanium backup. Install the app open then menu*problems*Yes, do it.
jerrycycle said:
One way to get busybox is with titanium backup. Install the app open then menu*problems*Yes, do it.
Click to expand...
Click to collapse
This wont work with my telephone - HTC Desire

How do i add apk to custom rom?

Hi,
I have a few apps and would like to add into custom rom. I read and google but no help.
Using winrar and open custom rom, i create a folder /data/app and place all apk in "app" folder. non of the apps in that folder installed. Do i need to do more then just add the apk?
I read here http://forum.xda-developers.com/showthread.php?t=1198035 and no use. maybe OP not don't with the guide yet.
thx
cat2115 said:
Hi,
I have a few apps and would like to add into custom rom. I read and google but no help.
Using winrar and open custom rom, i create a folder /data/app and place all apk in "app" folder. non of the apps in that folder installed. Do i need to do more then just add the apk?
I read here http://forum.xda-developers.com/showthread.php?t=1198035 and no use. maybe OP not don't with the guide yet.
thx
Click to expand...
Click to collapse
Reread that thread. The answer is in there.
Hint: ROM flash packages never put anything in /data
you can preinstall apps to /data/app but it takes update script modding. if you havent figured it out it is a lot easier to add them as system apps in /system/app
@Dani897: I try adding apk to /system/app or /data/app but none are working. When I add apk to /system/app; after the rom flashed and reboot, Samsung kept on flashing forever.
cat2115 said:
@Dani897: I try adding apk to /system/app or /data/app but none are working. When I add apk to /system/app; after the rom flashed and reboot, Samsung kept on flashing forever.
Click to expand...
Click to collapse
check your permissions!
the data/app way need adition work in the update script. im not gonna get into that.
Dani897 said:
check your permissions!
the data/app way need adition work in the update script. im not gonna get into that.
Click to expand...
Click to collapse
Thanks. How do i check permission? in CWM? In cwm (red) v2.5.1.3 -->Install zip from sdcard --> toggle signature verification-->disable'
In advance, all i see is fix permissions.
cat2115 said:
Thanks. How do i check permission? in CWM? In cwm (red) v2.5.1.3 -->Install zip from sdcard --> toggle signature verification-->disable'
In advance, all i see is fix permissions.
Click to expand...
Click to collapse
no in a terminal emulator or in linux. they get screwy sometimes if you do editing in windows. i cant even seem to get ownership of one of my flash drives on my linux machine after i formatted it with windows.
if you are on a mac you can do it by clicking and choosing "get info" from the context menu apparently but i dont own a mac so i dont know.
i never used it but check out cygwin and do some googling on permissions in terminal/console. it might be best if you are not ready to install a new os. but you can also install ubuntu with the wubi installer inside windows of use a vm with osx or the linux distro of your choice pretty easily. please dont ask for support questions on doing those things.
you can find permissions of files in a directory with ls -l
you can change them with chmod an ususally one of the numbers below but there are others, google is your friend
666 is rw-rw-rw
644 is rw-r--r-
777 is rwxrwxrwx
755 is rwxr-xr-x
644 or 755 are the most likely that they should be.

[Q] can i delete /system/xbin folder?

hi,
anyone who has galaxy nexus and haven't modified anything, can you please check and see if you have /system/xbin folder?
i installed some program called busybox by accident and i think it created /system/xbin folder.
so i uninstalled the app but the folder is still there..
so i'm wondering if it was there in the first place..
can i delete the whole folder?
right now i have 3 files in that folder : busybox, dexdump, su.
anyone?
dlxowhd said:
hi,
can i delete the whole folder?
right now i have 3 files in that folder : busybox, dexdump, su.
Click to expand...
Click to collapse
I would not delete the xbin directory, it is a system directory included with the operating system.
"dexdump" is Dalvik disassembler (usefule for developers).
"su" is superuser, so if you delete that you will no longer have root.
"busybox" is a set of useful Linux utilities that are essential when you have root privileges.
So, like I said I would leave it, busybox was not the one who installed that directory.

Can't delete files using root

I'm using a realme phone Android 11 and I wanted to delete the original Apks which I found out that it's stored in file called /my_heytap and /my_region so I don't want them to be installed when I create a new user, I tried to delete them using Root Explorer and it told me: Delete failed, when I try delete it using adb, with su permission and rm -f /my_heytap/app/YouTube what It told me: that it's read only files, anyone have fix for that?
Make the mentioned directories / files read-write-able. Then removing them should work.

Categories

Resources