ADB mount issues on captivate - Captivate Q&A, Help & Troubleshooting

I did Google and searched in this forum
Once i have rooted my device i wanted delete some stuff rename some stuff and intall some new apk's. I chose ADB and my device does get listed when i search using ADB devices and i granted SU(Super user) permissions. and I can isntall 3rd party apps without any issues.
i was try to push the nosecurity.email.apk to my phone when ever I tried to mount or delete overwrite or push a file i get permission denied or read only file or some kinda message which means that i can do what I'm trying to do.
3. now i want to replace my existing email.apk with the provided here
I was able to rename existing apk using Super Manger but i have to install the modified email.apk using ADB and now i'm stuck. I cant figure out how to install this apk using ADB or any other way.
i get SU permissions using Super manager and i have some root required tools like Busty Box Titanium backup........
????????
what can be done to resolve issues with ADB

jhogal1 said:
I did Google and searched in this forum
Once i have rooted my device i wanted delete some stuff rename some stuff and intall some new apk's. I chose ADB and my device does get listed when i search using ADB devices and i granted SU(Super user) permissions. and I can isntall 3rd party apps without any issues.
i was try to push the nosecurity.email.apk to my phone when ever I tried to mount or delete overwrite or push a file i get permission denied or read only file or some kinda message which means that i can do what I'm trying to do.
3. now i want to replace my existing email.apk with the provided here
I was able to rename existing apk using Super Manger but i have to install the modified email.apk using ADB and now i'm stuck. I cant figure out how to install this apk using ADB or any other way.
i get SU permissions using Super manager and i have some root required tools like Busty Box Titanium backup........
????????
what can be done to resolve issues with ADB
what is alternative way to install APPS(system apps not 3rd part apps) besides ADB and Side load wonder machine
Click to expand...
Click to collapse
The way that I switch out keyboards (smart keyboard or swype which are system apps) is to use root explorer (paid app) and drop the .apk into the system/app folder after mounting it as read/write.
It may take a reboot for them to take effect.
There are other file system apps that will get you into the root directory that are free.
Sent from my GT-I9000 using XDA Premium App

Frank the Funkasaurus Rex said:
The way that I switch out keyboards (smart keyboard or swype which are system apps) is to use root explorer (paid app) and drop the .apk into the system/app folder after mounting it as read/write.
It may take a reboot for them to take effect.
There are other file system apps that will get you into the root directory that are free.
thanks for your reply
the issue is i can get to monut my device in RW mode atll ADB dosent allow me to that, the real issue for me is with ADB. once i have ADB working withh kinda acess i can write/rename/copy files
Click to expand...
Click to collapse

jhogal1 said:
I did Google and searched in this forum
Once i have rooted my device i wanted delete some stuff rename some stuff and intall some new apk's. I chose ADB and my device does get listed when i search using ADB devices and i granted SU(Super user) permissions. and I can isntall 3rd party apps without any issues.
i was try to push the nosecurity.email.apk to my phone when ever I tried to mount or delete overwrite or push a file i get permission denied or read only file or some kinda message which means that i can do what I'm trying to do.
3. now i want to replace my existing email.apk with the provided here
I was able to rename existing apk using Super Manger but i have to install the modified email.apk using ADB and now i'm stuck. I cant figure out how to install this apk using ADB or any other way.
i get SU permissions using Super manager and i have some root required tools like Busty Box Titanium backup........
????????
what can be done to resolve issues with ADB
Click to expand...
Click to collapse
Try this: Reboot to recovery, make sure your /system is mounted, and then plug in your usb.
After you've done that, in adb, type "adb root", and then try doing what you need to do.

Could try using Droid explorer to push the apk to phone, get root explorer to open files and change permissions. If adb isn't working for you, have you checked your environmental variables path? Something like c:/android-sdk/platform-tools etc. Also remember USB debugging enable. Remember when asking your phone for root priviledges to type in SU
Sent from SGS Captivate CM7 or MIUI with Escapist orTKGlitch using XDA premium app.

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.

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]Installing App Failed HELP!

I'm try to install Guerilla Bob, Dj Rivals and Samurai 2 via PC downloads
so i tried to install, then it wont.. so i tried to push it in system\app and then set the permission and reboot.. it just gave me an error.. so i open the root explorer again and go to system\app path and open these apps and i hit install..
it all works, i have no issues about samurai 2, but the 2 remaining app run only if i reinstall again via root explorer, so meaning when i reboot the guerilla bob and dj rivals goes back to that error..
is there a way to fix these? thanks
Well, the first step you chose to install them is wrong... you do not install 3rd part apps by push them to /system/app... this does not necessarily inflate them and install them.
Uninstall the apps/games and delete the files you pushed to /system/app
Copy the apps/games to the SD card and install them by tapping on the files using a file manager... or use adb to install them...
craigacgomez said:
Well, the first step you chose to install them is wrong... you do not install 3rd part apps by push them to /system/app... this does not necessarily inflate them and install them.
Uninstall the apps/games and delete the files you pushed to /system/app
Copy the apps/games to the SD card and install them by tapping on the files using a file manager... or use adb to install them...
Click to expand...
Click to collapse
This sounds like the issue I'm experiencing trying to install the tapntap keyboard on CM7 and CM7 based builds. I tried copying the apk and libs via root explorer and changing their permissions but it resulted in the keyboard force closing. Should've went with my gut and used adb, going to try that next.

[Q] System app question

Does anyone know if there is any way to install an app that would be a system app as just a normal app?
Only on way to find out
Sent from my SGH-I897 using XDA Premium App
I don't think so, /system/app is usually mounted r/o. You'd have to use adb or root explorer to get into that directory with r/w permissions.
BlackSideburns said:
Does anyone know if there is any way to install an app that would be a system app as just a normal app?
Click to expand...
Click to collapse
To the best of my knowledge, it's possible. Whether it's well advised, that's another story altogether.
If you're wanting to try it, you could do this:
1. Reboot into recovery and use the adb command "adb pull /system/app/appname.apk" to make a backup copy of the .apk file.
2. Reboot and use TiBu to uninstall the system app (or just use adb while still in recovery to do this. The commands would be adb root, adb shell, cd /system/app, rm -i appname.apk, exit.
3. Once the app is uninstalled from the system, just copy your backup (from wherever your adb folder is located) over to your phone and reinstall it. At this point, I would assume it would behave like any other non-system installed app.
Again, I can't guarantee this would work, and it's likely to cause FC's (or worse). But yes, in theory, I believe you could do it. Maybe someone more knowledgeable could verify this?

Fix uid error or error -24 in market

I figured out the UID issue.
You must have a file browser capable of root permissions or know how to use the terminal
Go to /data/system and look for uiderrors.txt
open it and take note of all the files listed in there.
Go into /data/data/ and remove those folders.
Reinstall the apps that were in conflict and everything should be good
The same fix applies for error -24 from the play store when installing apps. The only difference is that the uiderrors.txt will not have the offending files listed. You will need to know the application package name i.e. com.speedsoftware.rootexplorer
KAsp3rd said:
I figured out the UID issue.
You must have a file browser capable of root permissions or know how to use the terminal
Go to /data/system and look for uiderrors.txt
open it and take note of all the files listed in there.
Go into /data/data/ and remove those folders.
Reinstall the apps that were in conflict and everything should be good
The same fix applies for error -24 from the play store when installing apps. The only difference is that the uiderrors.txt will not have the offending files listed. You will need to know the application package name i.e. com.speedsoftware.rootexplorer
Click to expand...
Click to collapse
do you know whats causing this ??
i had this with quadrant everytime i install a new rom or made a fresh install
this time i cant install quadrant standard and the last time i could not install quadrant advance
i cant delete the folder with root explorer ... any help ??
thanks
in adb on android i cant delete this file ... device or resource is busy .... i only can delete it in adb in recovery
is my phone broken (flash memory) or what is causing this ???
B-Man2005 said:
do you know whats causing this ??
i had this with quadrant everytime i install a new rom or made a fresh install
this time i cant install quadrant standard and the last time i could not install quadrant advance
i cant delete the folder with root explorer ... any help ??
thanks
in adb on android i cant delete this file ... device or resource is busy .... i only can delete it in adb in recovery
is my phone broken (flash memory) or what is causing this ???
Click to expand...
Click to collapse
I believe it is being caused by HTC backup restoring app data. You should be able to remove the folder with root explorer as that's what I used.
Sent from my m7 using Tapatalk 4 Beta
You can easily remove that folder when ur using TWRP recovery. In advanced menu is a file explorer. After deleting the folder you can install e.g. quadrant again via playstore

Categories

Resources