Can I transfer files under linux? - RAZR i Q&A, Help & Troubleshooting

Thinking about getting one of these to replace my Defy (I managed to beat up my Defy so hard I broke it -- I probably shouldn't be allowed a new smart phone :silly: ).
But I use linux. And for some reason Motorola have set it up so you need Windows software to mount it. I don't want to have to reboot my computer every time I want to transfer a file.
I'm not talking about root (I might not even bother -- but I *can* reboot into windows just to do that). I just want a phone that's compatible with my ordinary computer for ordinary file transfer. Is there a way?
Thanks,

AW: Can I transfer files under linux?
Yeah, u only have change the Transfer protocol from MTP to PTP( RAZR i behaves like a camera then)
Sent from my XT890 using xda premium

xX_Alex_Xx said:
Yeah, u only have change the Transfer protocol from MTP to PTP( RAZR i behaves like a camera then)
Sent from my XT890 using xda premium
Click to expand...
Click to collapse
The problem when doing this is that you can't access everything, but I may be wrong.
The best way (thanks to purplet ) is to use Airdroid or something similar if possible.
Another way is to root and re-enable the USB mass storage.
Finally, you can use ADB if you're ok with command line.

So actually, I now see that this applies to all android 4.0+ devices, and you need to get mpt installed, then all is fine. If anyone else wanted to know, here are some instructions:
http://maketecheasier.com/connect-nexus-7-to-ubuntu/2012/12/27
http://blog.jeshurun.ca/technology/connecting-the-google-nexus-7-to-ubuntu-mint-over-usb

Related

AdbTool: The Automated Life

Ok so this started out as a small project to make my day to day phone functions easier and quicker but I thought I might share it incase anyone thought my AdbTool was helpful or just nice to have.
Functions so far:
1. Check for device
2. Push or Pull a File
3. Install .apk
4. Reboot
5. Root your Droid X
6. Change bootanimation
7. Push framework (specifically for framework)
8. issue whatever adb command you need to with out the extra typing
9. Set project
10. Error log
11. Clean up folder
There are more functions to come in the future so let me know if you like this script and what you wanna see added. There is no install just unzip and open the .bat file.
This sounds great! Though I'm on Linux machine, so I don't think ill be able to use it :/
Sent from my DROIDX using XDA App
No sorry, I should have specified. It is a Windows script... Just wait though, because Sunday I will be getting a desktop that is already running linux. If you really want I will take the time to make a script to run for linux?
Sent from my DROIDX using XDA App
rooting the dx doesnt work for me :/
Huh... what is happening when you enter that option? Sorry for the long time for me to post I missed the email alert.
Sent from my DROIDX using XDA App
I'm assuming this doesnt allow root for 2.3.3 ota correct?
since all I see is rageagainstthecage in the files
This looks like a really useful program! I might do some work this weekend on it and see if I can get it working for the DROID 2 and port it over to UNIX machines.
If I set it up for unix I will add an SBF option too.
Woa just realized this is a really old thread
ljbaumer said:
This looks like a really useful program! I might do some work this weekend on it and see if I can get it working for the DROID 2 and port it over to UNIX machines.
If I set it up for unix I will add an SBF option too.
Woa just realized this is a really old thread
Click to expand...
Click to collapse
Yeah, this thread is quite old (almost a year) and I am sure the program/script needs to be updated to work.
It is a good idea though (if it can be updated)
D.
I'd like to make a request for a Mount and UnMount command.
fyi....you spelled Folders wrong in the main menu "Floders"
.
I can make the program for yall. Yall just need something for shell or a gui for windows?
whatever's easier for you, either would be appreciated it
i have adb properly installed by doing adb devices in cmd it shows my dx
but when i use your tool it says it cannot find the path specific

[Q] multiple computers, one with ADB

I loaded up HCv04 to my SD card and then installed ADB to run a script to put Gapps on to my nook.
Since then, it doesnt show in windows explorer to allow me to load on music and movies.
I have no plugged it into my work computer to do said task and it doesnt show up there either.
Im sure this is a stupidly basic little thing to sort out but can you guys help me out with this.
cheers
USB ADB is pretty hit or miss from what I've read and experienced. If you've got the google market, get ADB Wireless. That way you use wifi instead of USB, it works great and unlike USB on the nook no more headaches.
Im wondering about how I can get access through windows back to my nook emmc and sd card space to add things to them.
Since ADB, its invisible.
Install my USB mass storage utility found on dev...
Sent from my Nook Color (zoom2) using Tapatalk
i know im a complete ****wit but how can i install an app without access to the sd or emmc. That ADB lark is a bit over my head. You need a building designed, im your man, you need the simplest thing done with a rooted nook and i am a bit useless.
Use a file explorer (astro, es, root) found on market. Browse to sdcard and open apk file. See apk thread for more info.
Sent from my HTC Desire using XDA App

[TOOL] 1Click_CWR

I have made a small utility that will install CWR on the LG thrill. Untested on the optimus 3D....
Thanks to designgears for outlining the original procedure in this tread: http://forum.xda-developers.com/showthread.php?t=1257588
WARNING:
Your warranty is now void.
I take no responsibility for bricked, dead, or unresponsive phones. If you are uncomfortable using this tool, then DON'T. Furthermore, I created this utility for my phone, and decided to share it with the community.
This utility was coded in c# in a windows 7 environment. I can only speak to this working on windows 7. If it works on XP, great; but I only tested it on my windows 7 system. Confirmed working in XP by: gentzleon
Before you begin:
Phone must be rooted!!! Look here: http://forum.xda-developers.com/showthread.php?t=1251663
Must have an SD card in the phone.(This is used for the storage of the recovery backup)
Drivers MUST be installed! ( Direct Link: Here)
Instructions:
1). Plug phone into computer via USB cable.
2). Turn on USB Debugging mode
3). Launch 1click_CRW with admin privilages (right click->run as Administrator)
4). Enjoy
Notice
Because people have different computer speeds and the fact I wrote this in 10 minutes, there is a pause between each command. Just click 'ok' when the popup messages says waiting.....Its fool proof.
ALSO: I did not put any error checking in it because I did not feel the need. I created this for fun and decided to share it.
If you see an error from ADB like no devices found, make sure your drivers are installed and restart the computer.
colbur87 said:
I have made a small utility that will install CWR on the LG thrill. .
Click to expand...
Click to collapse
Just thought i'd contribute and attached the drivers here, if you don't approve then remove it
http://www.lg.com/us/products/documents/LGAndroidDriver_Ver_1.0_All.exe
latinohot said:
Just thought i'd contribute and attached the drivers here, if you don't approve then remove it
Click to expand...
Click to collapse
By all means go a head. I was going to but just got done driving 9 hours. Thanks for posting them.
seems to work fine in XP Pro.....nice and easy for those that are scared....foolproof....
Nice.... wish i had time to do... have newborn and wife so time is limited.... great job... do you mind if i add this to my ... how to op?
Not the whole thing.. but a link to this post
Sent from my LG-P925 using XDA App
Good job man, a lot of people have been waiting for this. Everyone get your rom on already!
Thanks. Sorry I didn't get to it as I said. That's why I love this place. If I drop something, someone else picks it up.
gentzleon said:
seems to work fine in XP Pro.....nice and easy for those that are scared....foolproof....
Click to expand...
Click to collapse
Thanks for confirming this. I will edit the main post sometime today.
rdannar said:
do you mind if i add this to my ... how to op?
Not the whole thing.. but a link to this post
Click to expand...
Click to collapse
Sure no prob at all.
This installed cwr just fine but when i try to make a backup or install a new rom it says error cannot mount sd card does anyone know y this would happen
Freaking sweet. I was hoping to find something easier to do this with that having to go through the other method to flash GB Roms. That is what this is for right?
All those having problems installing, make sure all your permissions to /data are checked-(all 9) if not you will not be able to install recovery...
To set permissions you must;
Have root explorer or the free app ES file explorer.
---Navigate to /data and press and hold
---Select properties
---you will see at the bottome where it says permissions an option to change
--- Select change and make sure all are checked.,
---click out, reboot phone and it should all work..
There have been instances where the folder will change back permissions or not save the new permissions so just perform it again... Enjoy the 1 click CWM Now If this could be included in the script it will make it fool proof.....
gentzleon said:
All those having problems installing, make sure all your permissions to /data are checked-(all 9) if not you will not be able to install recovery...
To set permissions you must;
Have root explorer or the free app ES file explorer.
---Navigate to /data and press and hold
---Select properties
---you will see at the bottome where it says permissions an option to change
--- Select change and make sure all are checked.,
---click out, reboot phone and it should all work..
There have been instances where the folder will change back permissions or not save the new permissions so just perform it again... Enjoy the 1 click CWM Now If this could be included in the script it will make it fool proof.....
Click to expand...
Click to collapse
I will add this when I get home from work.
mauriciorubio said:
This installed cwr just fine but when i try to make a backup or install a new rom it says error cannot mount sd card does anyone know y this would happen
Click to expand...
Click to collapse
Anyone?
Sent from my LG-P925 using XDA App
mauriciorubio said:
Anyone?
Sent from my LG-P925 using XDA App
Click to expand...
Click to collapse
Can you manualy mount the sd card in Clock work by going to mounts and storage...and mount sd card? ALso, i know this is a stupid question, but do you have an sd card in your phone?
No I can't manually mount it and I dont have an external sd card do I need one? I just switched phones from the samsung captivate and did not need one to mount sd card Is it different for the thrill
Sent from my LG-P925 using XDA App
mauriciorubio said:
No I can't manually mount it and I dont have an external sd card do I need one? I just switched phones from the samsung captivate and did not need one to mount sd card Is it different for the thrill
Sent from my LG-P925 using XDA App[/QUOT
It all depends on where you are instlling the file.
I however went to my local fry's and got an eight gb card for 15 bucks.
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
colbur87 said:
I will add this when I get home from work.
Click to expand...
Click to collapse
Thanks....this for sure is the easiest way to install CWR
gentzleon said:
Enjoy the 1 click CWM Now If this could be included in the script it will make it fool proof.....
Click to expand...
Click to collapse
I think I may change this app and create it in a windows form...I will have a button that follows the same procedure as it does now, and a second button to fix permissions..However, should I have it apply the permission change to the entire /data? Seems unsafe to me, but I'm paranoid.
Also, work has been long, and my wife and I are in the final process of buying a new house. So that is why I haven't been on much.
Figured it out thanks for this tool
Sent from my LG-P925 using Tapatalk
I can confirm this works on the p920 (or at least a p925 flashed over to a P920). I've done it on two phones.
Sent from my GT-P7510 using Tapatalk

Phone unusable/help me find the bad app

Well to get a long story short,im not a complete noob in the rooting,optimising,flashing bussiness.
So dont tell me flash this kernel or this stock rom,or this or that.
The problem after hours of searching is a bad app.
I have bought over 500 apps cause i want to support the community.
So,when i restore all my apps,when the phone starts,after the home screen loads AT THE MOMENT WHERE IN TOUCHWIZ OR ADW OR WHATEVER THE APPS ARE FINALLY LOADED
REBOOT,hot reboot most of the times...
I tried everything...startup managers to block everything and i mean everything...
Rescan media root app to stop scanning of sdcard...
Everything,no matter if it froyo,ginger,ics,stock,rooted or WHATEVER.
Of course i can install one app at a time an reboot,to see what happens but that will take ages and also maybe one app 'hit' with another...
So help me find the bad app...
I am no noob but i am no pro either...
So how do i take a logcat? Will that help either way?
Do i have to use adb?
help....
You are kidding right? You have 500 apps installed at the same time? Why on Earth? I think you are lucky the phone even tries to boot...
On to your problem at hand - no one here will be able to help you with the info you provided.
I thought their was like a 30 app limit to android?
Adb is your best bet.
Sent from my HD2 using xda premium
kylew1212 said:
I thought their was like a 30 app limit to android?
Adb is your best bet.
Sent from my HD2 using xda premium
Click to expand...
Click to collapse
Yes,i have so many apps and i want to find which app 'collides' with another or at least which app causes problems.
I used logcat with semaphore kernel and i have taken out some txt files just before the soft reboots...
How adb will help me.
I will find how to install adb but what then?
What command should i use?
And the phoen will be open?In recovery? What?
Please help....
karapoutsoglou said:
Yes,i have so many apps and i want to find which app 'collides' with another or at least which app causes problems.
I used logcat with semaphore kernel and i have taken out some txt files just before the soft reboots...
How adb will help me.
I will find how to install adb but what then?
What command should i use?
And the phoen will be open?In recovery? What?
Please help....
Click to expand...
Click to collapse
Well you certainly need apps 2 SD ... but you probably already have that.
To use adb, download it firstly. Its in the Google developer tools.
Once downloaded open terminal. Alt+ctrl+t. Use CD to change to the directory that contains adb in the platform tools. Once your in the folder containing adb, type "./adb logcat" without the quotes. This is for a computer running Ubuntu Linux also
Sent from my HD2 using xda premium
kylew1212 said:
Well you certainly need apps 2 SD ... but you probably already have that.
To use adb, download it firstly. Its in the Google developer tools.
Once downloaded open terminal. Alt+ctrl+t. Use CD to change to the directory that contains adb in the platform tools. Once your in the folder containing adb, type "./adb logcat" without the quotes. This is for a computer running Ubuntu Linux also
Sent from my HD2 using xda premium
Click to expand...
Click to collapse
thanx for the response.
i have set adb succesfully and i see the logcat on my cmd window running like hell most of the time.
i read that you can use some commands like -w -e etc to narrow the results to important messages? is that correct?
if yes,how you can do that? i mean the full command adb logcat....etc
thanx in advance
karapoutsoglou said:
thanx for the response.
i have set adb succesfully and i see the logcat on my cmd window running like hell most of the time.
i read that you can use some commands like -w -e etc to narrow the results to important messages? is that correct?
if yes,how you can do that? i mean the full command adb logcat....etc
thanx in advance
Click to expand...
Click to collapse
Unfortunately I have very little adb experience...
Maybe try something like the same command you used
"./adb logcat"
I guess going by what you're saying you could try something like
"./adb logcat -w" try that then maybe replace the w with e..
Keep in mind these are just guesses because I do not know for certain
I will research as soon as possible and write a quide for it as this can benefit lots of people
Sent from my HD2 using xda premium
kylew1212 said:
I will research as soon as possible and write a quide for it as this can benefit lots of people
Click to expand...
Click to collapse
thanx.
i had the same in mind.maybe something good can come out of this
Another way would be using ddms - connect your phone in debug and run ddms (it's included in the SDK Tools). It provides an interface to browse your device's logs and filter them according to your needs. I think you'll be able to locate that one which explains why your phone is crashing.
On second thought however - is it possible for you to turn the debug on?
avltree said:
Another way would be using ddms - connect your phone in debug and run ddms (it's included in the SDK Tools). It provides an interface to browse your device's logs and filter them according to your needs. I think you'll be able to locate that one which explains why your phone is crashing.
On second thought however - is it possible for you to turn the debug on?
Click to expand...
Click to collapse
thank you!
great idea,i will test it
yes,i can turn the debug on,because the phone crashes just when all the apps are loaded in the drawer.
it must be a bad app because i used to have many apps since froyo times and no problem.
like 500...and the phone was fast.
i really want to find that bad app and kill it
edit
================================
wow,ddms is a dream! thats what i was looking for!!!
thank you
Sorry for the double post but i thought it needed a single post.
Well,the problem is fixed with the help of you guys!!!
I was getting a hell lot of warnings about watchdog_n and stuff.
I googled it and appeared that a whole bunch of people had the same problem especially with nexus s etc.
They said it was due to some crappy app wanting to auto-sync.
So i did a wipe cache,wipe dalvik cache,fix fc and then when the phone rebooted i disabled the auto-sync.
Guess what,no more loops and soft reboots!!!
I still dont know what app is causing all the problems and propably never will,if you thing that the same apps in my tablet dont cause a thing,but after the auto-sync off the problem is gone.
Good thing though i dont need auto-sync cause its not the best solution...

Hassle sideloading, please help!

Hello all,
I have been creeping these forums for quite some time, but this will be my first post since I can't seem to get sideloading to work on my Galaxy Gear.
First of all, it was very hard to find the apk file i wanted (fat finger calculator), so I settled with an apk file for a calculator another helpful member developed himself. It was very easy to download, compared to other popular free apps. I don't understand why people can't upload the apks of other apps just liek he did.
I went through the steps to be able to sideload, but immediately hit a snag because my gear didnt have the usb debug option. I managed to find a solution by tapping my version number seven times (?). Everywhere else I didn't see people having this problem, or describing it in how to guides, very strange indeed..
Sideloading apps to the gear is described as "very easy", but as I finally got to the step to sideload the apk file in cmd after the above procedures I get an error that nobody has brought up as a potential problem, nor a fix for it. Hence this post.
I use the command: adb install C:\Users\SP Gaming I\Desktop\samsung\calculator.apk
and I get the error: too many files specified; only takes APK file and verifier file
Sideloading isnt as easy as it is described in countless sources, and there isn't a good, accessible step by step guide. Not that I could find anyway. I dont want to use any third party applications, and would really like to sideload through cmd and adb.
Can someone help me with this last obstacle i ran into? I can't find any information on what I am doing wrong. The app should be able to install with this command, no? I have the drivers and ADB. What am I doing wrong?
I really need a simple calculator on my gear, it would be so nifty in my everyday work/life. Please someone, help me!
-edit lol, before posting this, I wanted to try to install it from a simpler path: c:\calculator.apk
this actually did the trick and I managed to install the app! however, maybe someone will have use for my post since I encountered so mnay snags..
It is not easy....it is EXTREMELY easy. If you are running Null rom just use usb cable tu put the apk on you gear and then with any file manager install. Or I have also used the Google Play store on my PC and sent it directly to my Gear.
Do you have gapps?
Are you running null?
cjakobp said:
Hello all,
I have been creeping these forums for quite some time, but this will be my first post since I can't seem to get sideloading to work on my Galaxy Gear.
First of all, it was very hard to find the apk file i wanted (fat finger calculator), so I settled with an apk file for a calculator another helpful member developed himself. It was very easy to download, compared to other popular free apps. I don't understand why people can't upload the apks of other apps just liek he did.
I went through the steps to be able to sideload, but immediately hit a snag because my gear didnt have the usb debug option. I managed to find a solution by tapping my version number seven times (?). Everywhere else I didn't see people having this problem, or describing it in how to guides, very strange indeed..
Sideloading apps to the gear is described as "very easy", but as I finally got to the step to sideload the apk file in cmd after the above procedures I get an error that nobody has brought up as a potential problem, nor a fix for it. Hence this post.
I use the command: adb install C:\Users\SP Gaming I\Desktop\samsung\calculator.apk
and I get the error: too many files specified; only takes APK file and verifier file
Sideloading isnt as easy as it is described in countless sources, and there isn't a good, accessible step by step guide. Not that I could find anyway. I dont want to use any third party applications, and would really like to sideload through cmd and adb.
Can someone help me with this last obstacle i ran into? I can't find any information on what I am doing wrong. The app should be able to install with this command, no? I have the drivers and ADB. What am I doing wrong?
I really need a simple calculator on my gear, it would be so nifty in my everyday work/life. Please someone, help me!
-edit lol, before posting this, I wanted to try to install it froma simpler path: c:\calculator.apk
this actually did the trick and I managed to install the app! however, maybe someone will have use for my post since I encountered so mnay snags..
Click to expand...
Click to collapse
dragoncius said:
It is not easy....it is EXTREMELY easy. If you are running Null rom just use usb cable tu put the apk on you gear and then with any file manager install. Or I have also used the Google Play store on my PC and sent it directly to my Gear.
Do you have gapps?
Are you running null?
Click to expand...
Click to collapse
For the uninitiated, you are jumping over a few steps that may seem easy and obvious to you, but not for the first timer. Did you read my thread?
First of all, how would one get a hold of the apk file one would need for the installation process? All links i can find routes me to the google play store. If i press install there, it asks me which device I want it on, and can only find my mobile phones in that drop down list. It doesn't give me a raw .apk file. After some googling there seem to be some plugin for chrome to do it, but I run Firefox and I don't want to install chrome on my machines for various reasons. ALso by looking on the guide to fetch the apk with that plugin, it doesnt seem as easy as using any other plugin, I have to input my device id and things like that. Atleast a few steps only there to get the desired apk file downloaded.
I want to quote you again: "It is not easy....it is EXTREMELY easy. If you are running Null rom just use usb cable tu put the apk on you gear and then with any file manager install. Or I have also used the Google Play store on my PC and sent it directly to my Gear."
Oh lawdy, if it was this easy I would have had my calculator on my gear one hour ago, the moment I started researching if I could get a calculator. "Just use USB cable". On you it sounds like it would find the apk, download it, install it on my gear, all this automatically, only by plugging my gear into my computer with an USB cable. Maybe you missed that I didn't even have the USB debug option under "more info", under settings. Nowhere I read initially, it said that I had to go to dev mode by tapping my version number 7 times in order to get the USB debug option.
Maybe by judging by my first post and the process I had while doing this "extremely" easy thing, you would notice that I am a very novice user when it comes to these things. I am sorry if I upset you by reaching out for help. Get real man.
Easiest method that I have been using is Wonder share on a PC. My computer recognized my Note 3 and installed drivers before this. To get APPS I put on phone using app store, then Export to PC folder, then Install to Gear. with both look up by USB is very fast and easy to get from the phone to the gear you can also load music files and movies this way and put programs on your gear like the Apollo player or mX Video Player I'm able to watch movies and podcast on the gear this way and listen to music that is on the gear.
dragoncius said:
It is not easy....it is EXTREMELY easy. If you are running Null rom just use usb cable tu put the apk on you gear and then with any file manager install. Or I have also used the Google Play store on my PC and sent it directly to my Gear.
Do you have gapps?
Are you running null?
Click to expand...
Click to collapse
Can I have my gear recognized as usb drive so I can just drag and drop the files i needed to put into the gear internal memory instead of using adb to push the file?
Sent from my SM-N900T using XDA Premium 4 mobile app
jhobert said:
Can I have my gear recognized as usb drive so I can just drag and drop the files i needed to put into the gear internal memory instead of using adb to push the file?
Sent from my SM-N900T using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It's exactly like using your phone. Enable MTP under storage settings.
puredreamz said:
It's exactly like using your phone. Enable MTP under storage settings.
Click to expand...
Click to collapse
Mtp under storage of phone or gear? How to do that? Help pls. Thanks
Sent from my SM-N900T using XDA Premium 4 mobile app
jhobert said:
Mtp under storage of phone or gear? How to do that? Help pls. Thanks
Sent from my SM-N900T using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Gear
puredreamz said:
Gear
Click to expand...
Click to collapse
Ive googled it and I think enabling mtp on gear only works if the gear has custom rom and rooted. Mine still on stock.
Sent from my SM-N900T using XDA Premium 4 mobile app
cjakobp said:
I use the command: adb install C:\Users\SP Gaming I\Desktop\samsung\calculator.apk
and I get the error: too many files specified; only takes APK file and verifier file
Click to expand...
Click to collapse
The reason is that your path has spaces in it. Command line tools treat spaces as delimiters between arguments. In other words, It thinks you want to adb install "C:\Users\SP", "Gaming", and "I\Desktop\samsung\calculator.apk". The fix for this is, like you did, either move it to another directory, or (even easier) simply put quotes around the file name. So, your full command would be
adb install "C:\Users\SP Gaming I\Desktop\samsung\calculator.apk"
As a tip for command line stuff in the future, do this.
cd "C:\Users\SP Gaming I\Desktop\samsung"
adb install calculator.apk
You can also use the Tab key to autocomplete file names when in cmd.exe on Windows, which will auto-add the quotes if they are needed.
As you mentioned in your other post, acquiring APK files in the first place isn't immediately obvious. You can use:
http://apps.evozi.com/apk-downloader/
and just paste the Google Play link in and download, even without the extension. However, once set up, the Chrome extension is extremely easy to use; just click the button and you're done. If you really really don't want to install Chrome for your untold reasons, you can always set up a virtual machine, or use a program like Sandboxie to make sure it doesn't touch the rest of your system.
It does seem odd that none of the guides say that you had to hit the version number 7 times; that's actually been a part of Android since 4.2. All USB Debugging options are disabled until you do that, on any device.
jhobert said:
Ive googled it and I think enabling mtp on gear only works if the gear has custom rom and rooted. Mine still on stock.
Sent from my SM-N900T using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you're on stock, then I think that enabling usb debugging under settings->gear info can allow for usb transfer of files.
koiulpoi said:
The reason is that your path has spaces in it. Command line tools treat spaces as delimiters between arguments. In other words, It thinks you want to adb install "C:\Users\SP", "Gaming", and "I\Desktop\samsung\calculator.apk". The fix for this is, like you did, either move it to another directory, or (even easier) simply put quotes around the file name. So, your full command would be
adb install "C:\Users\SP Gaming I\Desktop\samsung\calculator.apk"
As a tip for command line stuff in the future, do this.
cd "C:\Users\SP Gaming I\Desktop\samsung"
adb install calculator.apk
You can also use the Tab key to autocomplete file names when in cmd.exe on Windows, which will auto-add the quotes if they are needed.
As you mentioned in your other post, acquiring APK files in the first place isn't immediately obvious. You can use:
"cant post outside links" - retarded since this is a quote...
and just paste the Google Play link in and download, even without the extension. However, once set up, the Chrome extension is extremely easy to use; just click the button and you're done. If you really really don't want to install Chrome for your untold reasons, you can always set up a virtual machine, or use a program like Sandboxie to make sure it doesn't touch the rest of your system.
It does seem odd that none of the guides say that you had to hit the version number 7 times; that's actually been a part of Android since 4.2. All USB Debugging options are disabled until you do that, on any device.
Click to expand...
Click to collapse
Thank you so much for your reply! Now things doesn't seem as mysterious as they did. Once again, big thanks for your post!
btw, also found this repository for apks: androiddrawer
puredreamz said:
If you're on stock, then I think that enabling usb debugging under settings->gear info can allow for usb transfer of files.
Click to expand...
Click to collapse
My gear still won't show as usb on my computer, but installing apks through adb is working I just couldn't get the push file from adb to work.
Sent from my SM-N900T using XDA Premium 4 mobile app

Categories

Resources