Permission denied when trying to push apk's with adb - 7" Kindle Fire HD Q&A, Help & Troubleshooting

I am rooted. I also have superuser installed and busybox. The kindle shows composite adb interface under device manager.
The problem is when I go to push apk's with adb I get permission denied. If i go into adb shell, su, and then push my apk I get device not found. Any suggestions? I am trying to get the play store running.
Sent from my SCH-I535 using Tapatalk 2

Try pushing the apk's to a folder that a non-root user can write to ( that’s why you are getting permission denied errors). Try /sdcard/Download/

nvrmore100 said:
Try pushing the apk's to a folder that a non-root user can write to ( that’s why you are getting permission denied errors). Try /sdcard/Download/
Click to expand...
Click to collapse
But I am rooted. Also that won't help me get the Google play store installed.
Sent from my SCH-I535 using Tapatalk 2

I figured it out. Thanks.
Sent from my SCH-I535 using Tapatalk 2

mailingtechnology said:
But I am rooted. Also that won't help me get the Google play store installed.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Rooted means nothing, you are using the user "shell" when you use adb, and it does not have permissions to write to a folder owned by "root". Read up on UNIX permissions: http://www.dartmouth.edu/~rc/help/faq/permissions.html

mailingtechnology said:
I figured it out. Thanks.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
What was the solution?

I think the only way is a file manager with Root permition (Root Manager, ES File Explorer, etc).

Joelh1 said:
What was the solution?
Click to expand...
Click to collapse
type in "adb root" without quotes ofcourse. ANd then push the app and will work

Related

Can't delete stock apps with adb or astro

When I try to delete a stock app using adb a failure line pops up at the end..when i use astro and go to system/apps and try to manually deleting the apk's a "error deleting files message pops up"..please help so I can free up space on my phone..help in advance it greatly appreciated
Sent from hero running FROYO
allenmkelso said:
When I try to delete a stock app using adb a failure line pops up at the end..when i use astro and go to system/apps and try to manually deleting the apk's a "error deleting files message pops up"..please help so I can free up space on my phone..help in advance it greatly appreciated
Sent from hero running FROYO
Click to expand...
Click to collapse
Switch it to R/W.
Can use root explorer to do this
Sent from my Zen-Rom Hero!
if using adb make sure you type:
Code:
adb remount
Try titanium back up it might work look for it on the market
Root-Hack-Mod-Always™
Either you need a file explorer than can mount the system as R/W, such as root explorer or do
adb remount
adb shell rm /system/app/xxxx.apk
Click to expand...
Click to collapse
The system has to be read/write to delete the apps found in /system/app
kyouko said:
if using adb make sure you type:
Code:
adb remount
Click to expand...
Click to collapse
What he said.
Sent from my HERO200 using XDA App
Just use titanium back up I've yet to meet an app that it can't uninstall warning some system apps should not b removed read carefully on wich ones u can safely remove as it can throw ur system off
Root-Hack-Mod-Always™
allenmkelso said:
When I try to delete a stock app using adb a failure line pops up at the end..when i use astro and go to system/apps and try to manually deleting the apk's a "error deleting files message pops up"..please help so I can free up space on my phone..help in advance it greatly appreciated
Sent from hero running FROYO
Click to expand...
Click to collapse
I use root explorer, but you should also make sure you remount if you're attempting to do this with adb
THANKS TO ALL..it out of nowhere let me delete them using the android terminal must of been a typo.. ALL LOVE FOR THE ANDROID COMMUNITY
Sent from hero running FROYO
I use QtADB. Very simple, very effective, works great, removes ANY stock apps/widgets and so on.
No need to use cmd or adb lines or anything. It's just like Windows add/remove programs.

[Q] Permission Issues

So a while back I used a 1-Click root app. Don't recall which one. Then flashed CM6. Lately I've been noticing some permissions issues.
It started when I attempted to install the new Car Home from the market and couldn't. I tried using RootExplorer to unistall the old version with no luck. I've given it SU permissions but still no dice.
Today I tried to install the new YouTube app from the market but got the same results.
So I tried through ADB and can't navigate to /system/app.
# cd /system/app -- gives "cd: can't cd to /system/app"
# su cd /system/app -- gives "Permission denied"
I've also tried fix_permissions in the terminal with no luck. (I remember this from the G1 days. don't know if it is still used)
Anyone know what could be going on?
I'm not concerned about my warranty any more so I suppose I could unlock my bootloader if anyone thinks rooting the official way would help.
Thanks for your time.
Are you mounting Root Explorer in R/W?
Edit: I had probs mounting my Root Explorer into R/W, and eventually found out I had a bad version of busybox...
Sent from my Nexus One using XDA App
danger-rat said:
Are you mounting Root Explorer in R/W?
Click to expand...
Click to collapse
Wow I feel dumb. I was forgetting to mount in R/W. Got the old apps uninstalled. Still can't get the new apps installed.. Oh well I never use either of them anyway.
BTW any reason I couldn't cd to /system/app in ADB? Probably something else stupid.
Just confirm that the apps are removed (my busybox issue sometimes made it appear like the apps were gone, but when I looked again, they were back).
Did you reboot after removing?
Sent from my Nexus One using XDA App
To upgrade system apps:
1. Uninstall the old version using Root Explorer or Titanium Backup (I've found Titanium to be easier).
2. Reboot.
3. Install the new system app from the Market.
Dude,
Did you not read the OP? He's having trouble uninstalling with Root Explorer... how does telling him to uninstall with Root Explorer help?
Sent from my Nexus One using XDA App
danger-rat said:
Dude,
Did you not read the OP? He's having trouble uninstalling with Root Explorer... how does telling him to uninstall with Root Explorer help?
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Dude,
I read the op. I also read the followup where he figured out he had to remount in rw mode. I was attempting to offer the procedure that works 100% of the time for upgrading system apps.
Fair enough...
Sent from my Nexus One using XDA App

UPDATED Dark gmail-you asked for it i found it

Dark Gmail FOUND Version 2.3.2 (http://www.droidforums.net/forum/droid-themes/104950-inverted-2-3-2-gmail-test-release.html) I pulled the apk from the update zip from the link (dont want to take any chances flashing it)
UPDATE- Replaced the check boxes on the left of your emails with the gingerbread ones to better tie the whole dark theme in with gingerbread!
EDIT if having issues
go into recovery, and mounting both /system/ and /data/
Remove old gmail
adb shell
rm /system/app/gmail.apk
rm /system/app/gmail.odex
PUSH NEW GMAIL
adb push Gmail.apk /system/app/
exit
reboot.
adb push Gmail.apk /system/app/
Thank
Anderdroid said:
adb push Gmail.apk /system/app/
Click to expand...
Click to collapse
Figured thats what it was but thanks
Can you guys confirm the exact version number of this Gmail please.
Is it 2.3.2?
EDIT: nevermind, clicked the source thread and it is 2.3.2
Thanks.
drexman8244 said:
Dark Gmail FOUND (http://www.droidforums.net/forum/droid-themes/104950-inverted-2-3-2-gmail-test-release.html) I pulled the apk from the update zip from the link (dont want to take any chances flashing it)
Remove old gmail
adb shell
rm /system/app/gmail.apk
rm /system/app/gmail.odex
exit
unmount /system from recovery
reboot.
I then Pushed the apk to system/app from android Commander, someone with better adb knowledge please post the adb commands
screenshots to come after i blurr out my email
Click to expand...
Click to collapse
Much thanks once again!
Blacks are so sexy on this phone, beyond just looking great(where's the screen, where's the casing, I don't know!) and the power savings.
Hmm this is odd, I'm having issues.
ADB Push is giving me permission denied.
I also have Root Explorer and made sure /system/app is read/write access.
I also tried using Root Explorer to move the gmail.apk to /system/app and rebooting several times and nothing. Gmail app won't start at all.
Also tapping on gmail.apk to try to install it to /system/data gives a, "installation not succeed"
I have root working just fine, do I need to install the unsecure boot image?
nxt said:
Hmm this is odd, I'm having issues.
ADB Push is giving me permission denied.
I also have Root Explorer and made sure /system/app is read/write access.
I also tried using Root Explorer to move the gmail.apk to /system/app and rebooting several times and nothing. Gmail app won't start at all.
Also tapping on gmail.apk to try to install it to /system/data gives a, "installation not succeed"
I have root working just fine, do I need to install the unsecure boot image?
Click to expand...
Click to collapse
hmm. Make sure your root is secure. denied on adb push sounds like a root issue to me
nxt said:
Hmm this is odd, I'm having issues.
ADB Push is giving me permission denied.
I also have Root Explorer and made sure /system/app is read/write access.
I also tried using Root Explorer to move the gmail.apk to /system/app and rebooting several times and nothing. Gmail app won't start at all.
Also tapping on gmail.apk to try to install it to /system/data gives a, "installation not succeed"
I have root working just fine, do I need to install the unsecure boot image?
Click to expand...
Click to collapse
Try adb remount
Okay so I followed the steps, except I just did it with root explorer since I don't have a computer by me. The new gmail.apk just kept saying that it would not install so I put the old one back, and now that one won't install either. Help please?
Sent from my Nexus S using Tapatalk
brian6685 said:
Okay so I followed the steps, except I just did it with root explorer since I don't have a computer by me. The new gmail.apk just kept saying that it would not install so I put the old one back, and now that one won't install either. Help please?
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
Delete gmail.apk and gmail.odex from system/app with root explorer.
then dont install the black version just copy and paste in into system/app and reboot
that should work
Nope didn't work I can't even get the stock gmail back on there now ugh
Sent from my Nexus S using Tapatalk
my apologies, guess youll have to wait until you get near a computer unless someone else can guide you in a better direction with root explorer
drexman8244 said:
my apologies, guess youll have to wait until you get near a computer unless someone else can guide you in a better direction with root explorer
Click to expand...
Click to collapse
Do you think it will work with a computer and adb, at least to get my stock gmail back? I dunno why it would be different then root explorer.
Sent from my Nexus S using Tapatalk
Okay well I got stock back from market and that worked... but the black mms mod I had went back to the stock also lol. Weird
Sent from my Nexus S using Tapatalk
sure
brian6685 said:
Do you think it will work with a computer and adb, at least to get my stock gmail back? I dunno why it would be different then root explorer.
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
Definately would work with a pc and adb. but glad your back to normal for now. let me know how it turns out with the pc
Yeah this is weird. Before I had to do it in recovery and adb push, and it worked.
Now with the updated gmail i tried that, and it won't push, i move it with root explorer, rebooted, and gmail isn't detected.
keeps giving me permission denied again.
I think we need an updated root.
nxt said:
Yeah this is weird. Before I had to do it in recovery and adb push, and it worked.
Now with the updated gmail i tried that, and it won't push, i move it with root explorer, rebooted, and gmail isn't detected.
keeps giving me permission denied again.
I think we need an updated root.
Click to expand...
Click to collapse
Just delete gmail.apk from system/apps and then download from market and it will install
Sent from my Nexus S using Tapatalk
Hmmm
nxt said:
keeps giving me permission denied again.
I think we need an updated root.
Click to expand...
Click to collapse
Yeah permission denied sounds like a root problem.
drexman8244 said:
Definately would work with a pc and adb. but glad your back to normal for now. let me know how it turns out with the pc
Click to expand...
Click to collapse
Yeah ill try when I get home with adb. Maybe it doesn't work with root explorer because the system is running when you delete gmail or something. Thanks anyways! Ill get it working and report back later
Sent from my Nexus S using Tapatalk
drexman8244 said:
Yeah permission denied sounds like a root problem.
Click to expand...
Click to collapse
Fixed it again by going to recovery, and mounting both /system/ and /data/ then the adb push worked (while in recovery) now gmail is detected and works.

[Q] Rooted ICS: Can't Remove System Apps (Titanium Backup, ADB, or Root Explorer)

I can't seem to remove system apps on my ICS Rooted Note. (Alba V2.2)
I tried titanium backup, adb command line, and rootexplorer.
Anybody have a solution?
Jeepsdaddy said:
I can't seem to remove system apps on my ICS Rooted Note. (Alba V2.2)
I tried titanium backup, adb command line, and rootexplorer.
Anybody have a solution?
Click to expand...
Click to collapse
If you enable write and can past a file into the system folder then you should be able to remove system apps. If you phone is connect to the PC even if you have root you might not be able to write or delete a file.
Jeepsdaddy said:
I can't seem to remove system apps on my ICS Rooted Note. (Alba V2.2)
I tried titanium backup, adb command line, and rootexplorer.
Click to expand...
Click to collapse
It seems that you don't have full root privileges. Use Root Explorer and try to paste a file into /system folder.
If you cannot do it, you don't have root. That's why your root apps cannot do their job.
I do have root privledges.
Whatekse can be the cause?
Sent from my GT-N7000 using Tapatalk
You can use rootexplorer to first make the system directory read/write then change the name of the system apps you don't want. I usually just remove the "."beween the apk name and apk... Then reboot...
Jeepsdaddy said:
I do have root privledges.
Whatekse can be the cause?
Sent from my GT-N7000 using Tapatalk
Click to expand...
Click to collapse
I'd take a second look and make sure. I think you'll find that Chas was right.
Sent from my GT-N7000 using Tapatalk
chasmodo said:
It seems that you don't have full root privileges. Use Root Explorer and try to paste a file into /system folder.
If you cannot do it, you don't have root. That's why your root apps cannot do their job.
Click to expand...
Click to collapse
I aslo have the same problem with RR V1 JB.
I can delete system apps with Root Explorer but not with TB.
What could be the reason for that?
Jeepsdaddy said:
I do have root privledges.
Whatekse can be the cause?
Sent from my GT-N7000 using Tapatalk
Click to expand...
Click to collapse
Check again mate.
Sent from my GT-N7000 using xda premium

How to grant permission for app I denied by accident?

I accident denied permission to adblock. Now I do not know how to give permission to it as I no longer get prompt when I open the app.
I also can not find the option to given permission in SuperSU app.
Can someone give the direction to how to give permission?
kuromusha38 said:
I accident denied permission to adblock. Now I do not know how to give permission to it as I no longer get prompt when I open the app.
I also can not find the option to given permission in SuperSU app.
Can someone give the direction to how to give permission?
Click to expand...
Click to collapse
Tap on the app in the apps section of SuperSU. When it the window pops up you can use the drop-down menu to change access from Denied to Grant.
Sent from my KYOCERA-C6745 using Tapatalk
RealWelder said:
Tap on the app in the apps section of SuperSU. When it the window pops up you can use the drop-down menu to change access from Denied to Grant.
Sent from my KYOCERA-C6745 using Tapatalk
Click to expand...
Click to collapse
That app is not listed in the list.
kuromusha38 said:
That app is not listed in the list.
Click to expand...
Click to collapse
Try uninstalling and reinstalling it. Or you could try clearing cache and data for it and SuperSU.
Sent from my KYOCERA-C6745 using Tapatalk

Categories

Resources