How to push an app to system? - Nexus 4 Q&A, Help & Troubleshooting

I've seen apps that you have to "push" them to install them. What exactly does that mean and how do I do it?
Sent from my Nexus 4 using xda app-developers app

rmhumtex97 said:
I've seen apps that you have to "push" them to install them. What exactly does that mean and how do I do it?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You need to use adb on a computer the command would be
adb push nameofapp.apk /system/app/
Or
You can use a file manager with root access and copy the app to /system/app and fix permission to rw-r--r-- and reboot
Sent from my Nexus 4

Or, alternatively you can use Titanium Backup to do the job.

ottoemezzo said:
Or, alternatively you can use Titanium Backup to do the job.
Click to expand...
Click to collapse
How do you get it to do it?
Sent from my Nexus 4 using xda app-developers app

Open TB
go to the backup/restore tab
find the app you want
Long press the app till a menu pops up
Find option to convert the app in the menu and follow directions
Sent from my Nexus 4 using Tapatalk 2

Well, I meant exactly like bobdarkside has just described. I think we might misunderstood you, because with TB you can only convert previously installed apks into system ones. So if you need to do it without installation go for adb or file manager method.

spaceman860 said:
You need to use adb on a computer the command would be
adb push nameofapp.apk /system/app/
Or
You can use a file manager with root access and copy the app to /system/app and fix permission to rw-r--r-- and reboot
Sent from my Nexus 4
Click to expand...
Click to collapse
Ok I copied the app to system/app now I just need to fix permission to rw-r--r-- but I don't know what that is and how I do it
Sent from my Nexus 4 using xda app-developers app

Never mind I figured it out
Sent from my Nexus 4 using xda app-developers app

Related

Question. Deleting system files

I can't delete my gmail.API out of the system files it just respawns. And ideas?
apk?
Make sure the system is rw. Otherwise it just "pretends" to delete.
Yeah apk sorry. Switched keyboarding. root explorer says r/w at the top
Sent from my SCH-I500 using XDA App
Don't trust root explorer. It doesnt always correctly mount as rw.
How do I fix that sir?
Sent from my SCH-I500 using XDA App
You can use terminal commands, but for a fairly simple way to do it, I use "Remount /system (ro/rw)". It's a free app on the market, easily remounts system as rw at the touch of a button.
Well my idea didn't work but thanks guys
zachsx said:
How do I fix that sir?
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Sir??? Really???
Sent from my stock 2.1
unrooted, fully bloated (for now) Fascinate

[Q] BusyBox installation

I install busybox manually using the latest version in my /system/bin (tried also /system/xbin) and it successfully installs but after a while when i go back to the app it says it has more than one copy installed when i only installed it once and it also removes old and other copies of it when i install it.
Sent from my GT-S5360 using xda app-developers app
IanDrexP said:
I install busybox manually using the latest version in my /system/bin (tried also /system/xbin) and it successfully installs but after a while when i go back to the app it says it has more than one copy installed when i only installed it once and it also removes old and other copies of it when i install it.
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
you must've installed one in system/bin and another one in system/xbin
delete any one of them
Ze3rL said:
you must've installed one in system/bin and another one in system/xbin
delete any one of them
Click to expand...
Click to collapse
the installation deletes old and other copies of busybox. I also confirmed this in root explorer
IanDrexP said:
the installation deletes old and other copies of busybox. I also confirmed this in root explorer
Click to expand...
Click to collapse
then try another busybox installer
Ze3rL said:
then try another busybox installer
Click to expand...
Click to collapse
I can find them on Google Play right?
Sent from my GT-S5360 using xda app-developers app
IanDrexP said:
I can find them on Google Play right?
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
yes...
IanDrexP said:
I install busybox manually using the latest version in my /system/bin (tried also /system/xbin) and it successfully installs but after a while when i go back to the app it says it has more than one copy installed when i only installed it once and it also removes old and other copies of it when i install it.
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
i am not sure but i think that when u root your phone it installs a version of busybox in system partition maybe that is causing the problem

I can't delete any files on my nexus 7?

My nexus 7 had slowed down recently. So I was advised by someone here to reinstall the stock rom. So I backed everything up that was on it and installed the latest version of android (4.2.2). It worked. It's not slow anymore. But there's one problem. I can't delete any files on it using es file manager. I get a message saying "cannot delete some files. Please make sure that your storage is not mounted as read-only". I don't know what that means. Can someone help me?
Sent from my Nexus 7 using xda app-developers app
You can delete unwanted files straight from TWRP Recovery. TWRP > Advanced > File Manager >SD Card > Select Items > Delete.
Well that worked. But it's too much trouble to have to go into TWRP just to delete a file. Why can't I delete it with ES file explorer like I could before I reinstalled the stock rom?
Sent from my Nexus 7 using xda app-developers app
You don't state if you're rooted....
Yes it's been rooted.
Sent from my Nexus 7 using xda app-developers app
And SU or SuperSU (whichever) is active, with root permissions being granted as needed?
Depending on where you're working you may need to ask for write and mount privileges through terminal.
For example if working in /system:
Code:
su
mount -o remount,rw /system
Caution do not do this if you are not experienced. You may damage your system.
danvee said:
And SU or SuperSU (whichever) is active, with root permissions being granted as needed?
Click to expand...
Click to collapse
Yes. I have SuperSU. It's active with root permissions granted.
TheAltruistic said:
Depending on where you're working you may need to ask for write and mount privileges through terminal.
For example if working in /system:
Code:
su
mount -o remount,rw /system
Caution do not do this if you are not experienced. You may damage your system.
Click to expand...
Click to collapse
Hmm I'm not sure I understand. I already put it in rw mode in the es file explorer app under tools/root explorer. But it still won't let me delete things.
Sent from my Nexus 7 using xda app-developers app
Guys something is definitely not right. I just noticed that I can't read or write or edit text files (.txt). When I try to open a text file with es note editor it says an error occurred while trying to open file. Why is this happening? I almost wish I never did a fresh install.
Sent from my Nexus 7 using xda app-developers app
Bryon15 said:
Guys something is definitely not right. I just noticed that I can't read or write or edit text files (.txt). When I try to open a text file with es note editor it says an error occurred while trying to open file. Why is this happening? I almost wish I never did a fresh install.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Have you looked into TWRP > Advanced > Fix Permissions?
Bryon15 said:
Guys something is definitely not right. I just noticed that I can't read or write or edit text files (.txt). When I try to open a text file with es note editor it says an error occurred while trying to open file. Why is this happening? I almost wish I never did a fresh install.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Hm weird. Under the assumption that you are doing everything correctly, it should work as superuser permissions supersedes all and any limitation unless the file is open preventing it from being written to. If that's the case you will have to go through recovery as Username invalid suggested to edit the file.
Username invalid said:
Have you looked into TWRP > Advanced > Fix Permissions?
Click to expand...
Click to collapse
I just tried that. Unfortunately it didn't work. And it gets worse. It seems like I can't do anything to the file system at all. Meaning I can't create a new file or folder. And I can't edit or delete what's already there. I haven't tried to download anything yet. But that probably won't work either. This is terrible.
Sent from my Nexus 7 using xda app-developers app
Nope. Can't download nothing. I just tried to download the music video beat it by Michael Jackson from youtube using the tubemate app. It said: Error: open failed: EACCES (permission denied)
Sent from my Nexus 7 using xda app-developers app
Bryon15 said:
Nope. Can't download nothing. I just tried to download the music video beat it by Michael Jackson from youtube using the tubemate app. It said: Error: open failed: EACCES (permission denied)
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
http://stackoverflow.com/questions/15985631/open-failed-eacces-permission-denied-in-a-virtual-device
http://stackoverflow.com/questions/12415157/filenotfound-open-failed-eacces-permission-denied
Username invalid said:
http://stackoverflow.com/questions/15985631/open-failed-eacces-permission-denied-in-a-virtual-device
http://stackoverflow.com/questions/12415157/filenotfound-open-failed-eacces-permission-denied
Click to expand...
Click to collapse
I read it. It says to fix it I have to remove and recreate the virtual device and change the size. But I have no idea what that means or how to do it. Why is everything so hard?
Sent from my Nexus 7 using xda app-developers app
If you can install apps, install root explorer from the store. Its the better tool for this type of issue. Also install terminal emulator and try the command that was in one of the replies above.
How did you return to stock?
Please don't fall back on the I'm a noob thing and expect people to hold your hand. The more you do/learn yourself, the better help you can expect here.
Sent from my Nexus 7 using xda premium
ezas said:
If you can install apps, install root explorer from the store. Its the better tool for this type of issue. Also install terminal emulator and try the command that was in one of the replies above.
How did you return to stock?
Please don't fall back on the I'm a noob thing and expect people to hold your hand. The more you do/learn yourself, the better help you can expect here.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I returned to stock with the nexus 7 toolkit. It does everything for you. But it doesn't seem to help with this. Anyway I looked at those apps, and root explorer is $4.00. I don't mind paying for it. But I want to know if it's a necessity to have before I buy it.
The other app (terminal emulator) has multiple versions by different companies. How do I know which one to get? Here are some:
Android terminal emulator by jack palevich
Terminal emulator by cityapp
Shell terminal emulator by mobildev
Terminal IDE by Spartacus Rex
There are even more, those are the free ones.
Sent from my Nexus 7 using xda app-developers app
Bryon15 said:
I returned to stock with the nexus 7 toolkit. It does everything for you. But it doesn't seem to help with this. Anyway I looked at those apps, and root explorer is $4.00. I don't mind paying for it. But I want to know if it's a necessity to have before I buy it.
The other app (terminal emulator) has multiple versions by different companies. How do I know which one to get? Here are some:
Android terminal emulator by jack palevich
Terminal emulator by cityapp
Shell terminal emulator by mobildev
Terminal IDE by Spartacus Rex
There are even more, those are the free ones.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Username invalid said:
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Click to expand...
Click to collapse
Thank you. I'm going to attempt to fix it now. Wish me luck.
Sent from my Nexus 7 using xda app-developers app
Do I have to download ADB tool for my PC to use with this?
Sent from my Nexus 7 using xda app-developers app

[Q] /system/media default permissions

Hey guys,
Can some very nice person open a root browser and tell me what the default permissions are for /system/media/audio/ringtones, etc? The directories themselves. Then, what permissions the audio files are supposed to have?
On LS980 ota without a custom recovery so I can't reflash system, and the fix permissions shell script doesn't do the job.
Basically, I messed up the file perms for my audio so now I can't set any ringtones or notifications tones until I fix it. I thought I had backed them up to my USB stick over OTG but they aren't there.
Sent from my LG-LS980 using XDA Premium 4 mobile app
agentfusion said:
Hey guys,
Can some very nice person open a root browser and tell me what the default permissions are for /system/media/audio/ringtones, etc? The directories themselves. Then, what permissions the audio files are supposed to have?
On LS980 ota without a custom recovery so I can't reflash system, and the fix permissions shell script doesn't do the job.
Basically, I messed up the file perms for my audio so now I can't set any ringtones or notifications tones until I fix it. I thought I had backed them up to my USB stick over OTG but they aren't there.
Sent from my LG-LS980 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well these are from my d800 the ringtones folder uses rwxr-xr-x and the ringtones inside all use rw-r-r
Sent from my LG-D800 running stock kk, rooted with philz using XDA app
XxZombiePikachu said:
Well these are from my d800 the ringtones folder uses rwxr-xr-x and the ringtones inside all use rw-r-r
Sent from my LG-D800 running stock kk, rooted with philz using XDA app
Click to expand...
Click to collapse
Thanks! Perfect!
Sent from my LG-LS980 using XDA Premium 4 mobile app

ROOTED can't delete files off sd-ext

Was hoping someone could shine some light on my situation
Rooted using the towel root app
Verified root through a play store root checker
Superuser works fine
I use xplore file manager changed settings in the file manager for a rooted device, so i dont think it's the file manager.
so i'm wondering do i need to set permissions somewhere I haven't already
Or does this have to do with the locked bootloader?
Fyi: if i connect my phone to my computer I can delete the files through the computer but it doesn't allow me to directly on my phone.
Search "sdfix kitkat" on the play store. Try that and reboot
Sent from my SM-G900V using XDA Premium 4 mobile app
joeyrey said:
Search "sdfix kitkat" on the play store. Try that and reboot
Sent from my SM-G900V using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks man

Categories

Resources