[Q] Replacing "MtpApplication" with "normal" android USB storage! - Galaxy S II Q&A, Help & Troubleshooting

Hey
Title says it?
I want to use standrard android usb storage instead of the Samsung Mpt stuff. I've tried to pull the Mtp app out but then usb storage wont work at all I've been searching everywhere for this but havent found ****
Anyone?
Thanks.
EDIT: Oh sry, maybie I wasn't clear enough :C I'm cooking my "own" rom and want Mtp disabled and removed by default. Guess I can remove the MtpApplication.apk after all. How do I enable USB debugging by default when rom boots then?

Enable usb debugging in settings, applications, development and mtp will go away
Sent from my GT-I9100 using xda premium

veyka said:
Enable usb debugging in settings, applications, development and mtp will go away
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Oh sry, maybie I wasn't clear enough :C I'm cooking my "own" rom and want Mtp disabled and removed by default. Guess I can remove the MtpApplication.apk after all. How do I enable USB debugging by default when rom boots then?

schoolsux said:
Oh sry, maybie I wasn't clear enough :C I'm cooking my "own" rom and want Mtp disabled and removed by default. Guess I can remove the MtpApplication.apk after all. How do I enable USB debugging by default when rom boots then?
Click to expand...
Click to collapse
No clue then sorry

1- Disconnect cable from phone
2 - Disable (uncheck): Applications \ Development \ USB Debugging
3- Go to Wireless and network \ USB utilities
4- Click Connect storage to PC. A message will show up with a "Cancel" button. DO NOT CLICK IT.
5- Connect cable to phone. The little green robot will show up.
6- Click the button to enable USB mass storage.
Whats the catch?: If you only enable USB debugging, only the Extenal SD will mount. If you do this way, then Internal USB and Extenal, both, will be mounted.

Related

USB is very complicated??

Hey.
I just got this phone, and man I cant get to USB mass storage!!
I got it to work once, but until then it is not working at all......
The USB icon keeps going on and off on the phone and I dont know how to fix this.....
Any help please?
awaisuk said:
Hey.
I just got this phone, and man I cant get to USB mass storage!!
I got it to work once, but until then it is not working at all......
The USB icon keeps going on and off on the phone and I dont know how to fix this.....
Any help please?
Click to expand...
Click to collapse
If you are on Windows: Samsung drivers installed?
Did you try different USB port?
Is USB debugging enabled? Settings->Applications->Development
What are the USB settings on the phone? Settings->Applications->USB settings
Mass storage mode doesn't work for me on Win 7 x64 I just use the media player setting and it works the same way as mass storage should.
It works for me just fine. One time it did do the flickering USB icon thing, but that turned out to be because the cable that I was using was going bad. It sounds like this may be what's going on in your case?
I clipped this from a post I made a few months ago...
Stresa said:
For those of you having a problem with Windows 7 recognizing your Vibrant ... here is how I fixed it on my system.
*Note: You do not need to load any special USB drivers for your phone to be recognized in Mass Storage mode in Windows 7.
*Warning: You follow these instructions at your own risk ... no screaming at me if you try it and something gets screwed up!
1) Navigate your way into the Device Manager / Universal Serial Bus Controller
2) Uninstall the device(s) "USB Root Hub" (My system had 2 listed)
3) You will lose mouse and keyboard control (because you just removed the USB Hubs)
4) Reset your PC and allow Windows to boot normally.
5) Go back to the device manager and wait for all of the "!" marks to go away as windows re-installs the USB Hubs and reinitializes all of your devices.
6) Make sure your Vibrant is in mass storage mode and has USB debugging OFF
7) Plug in your Vibrant via the USB cable and be amazed as windows recognizes your device and assigns the drive letters. After you select the mount option on your phone you will have normal access via windows explorer.
Hope this helps some of you out there !!!
~Stresa
Click to expand...
Click to collapse
Sent from Samsung Vibrant
Thanks for that I tried, but I still cant get anything to work!!
So frustrating.....whats wrong with this?

[Q] Any way to make usb connection auto mount both sd card and inbuilt storage.

Is there any way to get the phone to automatically detect usb plugged in as drives on my pc, seen quite a few automount apps in market, but they all seem to either need rooted phone or only mount the sd card, and not mount inbuilt storage. Any ideas folks, as having to go into settings, network setting and usb settings is a royal pain each time I want to put anything on the phone.
Kies doesn't work at all, says need MTP drivers which I've tried reinstalling to no effect(I digress -this is a separate issue) .
Thanks in advance for any help provided peeps.
Erhm, when you plug your phone into your PC, you just drag down your status bar and select 'connect to pc'. No need to go into settings you know.
Settings => Applications => Development => USB debuggin [X]
enable that, connect USB, then this:
prodygee said:
Erhm, when you plug your phone into your PC, you just drag down your status bar and select 'connect to pc'. No need to go into settings you know.
Click to expand...
Click to collapse
prodygee said:
Erhm, when you plug your phone into your PC, you just drag down your status bar and select 'connect to pc'. No need to go into settings you know.
Click to expand...
Click to collapse
+1
how hard is it to press a button?
ah, much quicker, cheers folks, needed to enable debugging to get the option.

[Q] XWKT7 by ketut.kumajaya

Hello- USB debugging is turning itself on(putting a check on itself in the settings) automatically as soon as I plug in the USB cord and enable USB storage.
I am using the ROM located at http://forum.xda-developers.com/showthread.php?t=1442889
Any help is appreciated, thank you!
as far as i see its always enabled in stock roms... and there is nothing to worry about unless you have some virus in pc which will use adb to format phone or steal data
madman_amit said:
as far as i see its always enabled in stock roms... and there is nothing to worry about unless you have some virus in pc which will use adb to format phone or steal data
Click to expand...
Click to collapse
The problem is I can not turn off USB debugging, this is not normal behavior. It automatically turns itself on...
Download ROM Toolbox from Market, go to root browser, build.prop Editor, click the pencil on the extreme upper right type - persist.adb.notify=0 in the end of the textbox. Should solve the problem I think..

Android 4.2.2: Always mass storage mode when I plug in USB?

Hello
How can I make Android 4.2.2 always go into Mass Storage Mode when I plug it into a PC?
No big deal
riahc3 said:
Hello
How can I make Android 4.2.2 always go into Mass Storage Mode when I plug it into a PC?
Click to expand...
Click to collapse
If it acted like secondary Launchers did and you could set it to default easily, then yes. Otherwise I don't know of a way to do that, but really, is going into the status bar and changing it that big of a deal?
AW: Android 4.2.2: Always mass storage mode when I plug in USB?
Just go to settings -> connections -> USB and choose what you would like to do for default
No connections option on 4.2.2
No connections option on 4.2.2
duncan.wick said:
Just go to settings -> connections -> USB and choose what you would like to do for default
Click to expand...
Click to collapse
Select Settings>Storage and then select menu(In most phones the menu is the left touch button). Then you can see USB computer connection. Select it and tick Mass Storage. You are done.
4.2.2 does not have that option
Enviado desde mi GT-N7100 usando Tapatalk 2
have you tried a third party app like SG USB Mass Storage Enabler?
mass storage
riahc3 said:
Hello
How can I make Android 4.2.2 always go into Mass Storage Mode when I plug it into a PC?
Click to expand...
Click to collapse
is this what you are looking for???
*#0808#
MTP+ADB -> reboot
if you are using a samsung android
if not some option like this should work for your android phone :cyclops:
i think they're called service codes
Holy shhhh.... Thanks so muchh
paco9432 said:
is this what you are looking for???
*#0808#
MTP+ADB -> reboot
if you are using a samsung android
if not some option like this should work for your android phone :cyclops:
i think they're called service codes
Click to expand...
Click to collapse
I have been going out of my mind ..staying up late trying to figure out why my Galaxy S4 was not being recognized. It seemed like all I was getting was NO where fast. Mostly thinking I had to root and bla bla bla. But this may have been the answer. I just saw the USB symbol pop up on my phone. Fingers Crossed this is the solution
THANK YOUUUU
jake
I have a Samsung Galaxy Tab 2 7.0 (GT-P3113) . Here's the question. Can I use this on it and how do I punch it in? Right now it is A) showing a red x in the battery when plugged in, but still charging; and B) not recognized by my computer when I plug it in there, and yes, I have the correct drivers installed. Thank you.

[Tip] Re-enabling Mass Storage Mode Android 4.2.2

Just wanted to share some tips to those who wanted to re-enable the Mass Storage Mode on their Android 4.2.2
1. Connect your phone to a computer (The device will be connected in MTP mode as default)
2. Reboot your phone while connected to the computer
3. Wait until you see the USB icon on your Notification Bar
4. You will now have an option to select Mass Storage henceforth
:cyclops:
I'd appreciate a "THANKS" if this helps you.
reply
SoloRazr said:
Just wanted to share some tips to those who wanted to re-enable the Mass Storage Mode on their Android 4.2.2
I'd appreciate a "THANKS" if this helps you.
Click to expand...
Click to collapse
well, u can also go to settings --> storage --> [press menu] and select connectivity mode or sth, there u can choose mass storage, usb otg and the stock mtp mode
but thanks anyway (pressed thanks )...
peace bejunk
SoloRazr said:
Just wanted to share some tips to those who wanted to re-enable the Mass Storage Mode on their Android 4.2.2
1. Connect your phone to a computer (The device will be connected in MTP mode as default)
2. Reboot your phone while connected to the computer
3. Wait until you see the USB icon on your Notification Bar
4. You will now have an option to select Mass Storage henceforth
:cyclops:
I'd appreciate a "THANKS" if this helps you.
Click to expand...
Click to collapse
Doesn't work.
So far I have tried everything. It seems mass storage is completely disabled.
vdub12 said:
Doesn't work.
So far I have tried everything. It seems mass storage is completely disabled.
Click to expand...
Click to collapse
no WAY !!
did u tried it my ''solution'' ?! also u can add this to ur build.prop / in sysctl OR make a init.d for..
persist.sys.usb.config=mass_storage,adb (if alredy there change it AND '',adb'' is NOT importrant, it only activates it btw...)
but what for a rom are using???
thanks
thanks
SoloRazr said:
Just wanted to share some tips to those who wanted to re-enable the Mass Storage Mode on their Android 4.2.2
1. Connect your phone to a computer (The device will be connected in MTP mode as default)
2. Reboot your phone while connected to the computer
3. Wait until you see the USB icon on your Notification Bar
4. You will now have an option to select Mass Storage henceforth
:cyclops:
I'd appreciate a "THANKS" if this helps you.
Click to expand...
Click to collapse
Thanks!!! Confirmed working on Legacy Xperia JB 4.3 :highfive:
Nope this does not work as advertised in the OP. Neither is there a "USB mass storage" option anywhere in the device's settings. Thanks anyhow.
Update: still no. I rebooted several times. No joy. I tried rebooting into recovery mode-- disabled if it's connected to a PC. Still no.
SoloRazr said:
Just wanted to share some tips to those who wanted to re-enable the Mass Storage Mode on their Android 4.2.2
1. Connect your phone to a computer (The device will be connected in MTP mode as default)
2. Reboot your phone while connected to the computer
3. Wait until you see the USB icon on your Notification Bar
4. You will now have an option to select Mass Storage henceforth
:cyclops:
I'd appreciate a "THANKS" if this helps you.
Click to expand...
Click to collapse
Will this option work for jelly bean 4.2.1?
No joy. This either never worked or this trick is obsolete. I have plain stock kitkat 4.4 on my phone (htc one google play ed) and mass storage appears to be completely removed now. stuck with sh!tty MTP/PTP that does not permit transfer of non "media" files. Best solution I can see is getting an SFTP client and xfer over wifi. Why oh why is Google turning evil and doing hacker-hostile and becoming as annoying as Apple?
SoloRazr said:
Just wanted to share some tips to those who wanted to re-enable the Mass Storage Mode on their Android 4.2.2
1. Connect your phone to a computer (The device will be connected in MTP mode as default)
2. Reboot your phone while connected to the computer
3. Wait until you see the USB icon on your Notification Bar
4. You will now have an option to select Mass Storage henceforth
:cyclops:
I'd appreciate a "THANKS" if this helps you.
Click to expand...
Click to collapse
MSHYYC said:
No joy. This either never worked or this trick is obsolete. I have plain stock kitkat 4.4 on my phone (htc one google play ed) and mass storage appears to be completely removed now. stuck with sh!tty MTP/PTP that does not permit transfer of non "media" files. Best solution I can see is getting an SFTP client and xfer over wifi. Why oh why is Google turning evil and doing hacker-hostile and becoming as annoying as Apple?
Click to expand...
Click to collapse
I feel you. I stopped using anything i[whatever] for any reason because of the stupidity of the storage and transfer software. Now google is doing it. Must join google+ to give feedback on an app? Seriously? Can't access content on my SD card unless the file type meets an arbitrary set of criteria? I'm just waiting for Ubuntu Touch to be ready for an SGH-T989 and I'll dump google next. Either that, or I go back to a damn flip phone and leave all this crap behind.
@bejunk
thanks for the build.prop suggestion, although i cant get the option "MTP, PTP, UMS" in Storage setting, at least i can use UMS...
here's what my opinion;
using MTP;
-faster data transfer
-less reliable; prone to get "cant copy file, phone not responding"
-and if delete file while in phone, connect to PC the file is still there
using UMS;
-slower data transfer
-more reliable than MTP, in my case its secure, no error unless youre "massaging" your phone (blame cable)
-if delete a file while in phone, connect to PC the file is deleted (which is good, no evidence )
UMS is better than MTP in my case
btw, im GT-i9100G SlimKat 4.4.2 (yes, i know this is Sony section)
nope
not working on asus transformer TF701T , thanks anyway
VannM said:
@bejunk
thanks for the build.prop suggestion, although i cant get the option "MTP, PTP, UMS" in Storage setting, at least i can use UMS...
here's what my opinion;
using MTP;
-faster data transfer
-less reliable; prone to get "cant copy file, phone not responding"
-and if delete file while in phone, connect to PC the file is still there
using UMS;
-slower data transfer
-more reliable than MTP, in my case its secure, no error unless youre "massaging" your phone (blame cable)
-if delete a file while in phone, connect to PC the file is deleted (which is good, no evidence )
UMS is better than MTP in my case
btw, im GT-i9100G SlimKat 4.4.2 (yes, i know this is Sony section)
Click to expand...
Click to collapse
exactly what i mean, sorry i thought MTP = UMS. sorry my fault
spatchy said:
not working on asus transformer TF701T , thanks anyway
Click to expand...
Click to collapse
add this to build.prop or change if allready there. just try
''persist.sys.usb.config=mass_storage,adb'' (if alredy there change it AND '',adb'' is NOT importrant, it only activates it btw...)
bejunk said:
exactly what i mean, sorry i thought MTP = UMS. sorry my fault
add this to build.prop or change if allready there. just try
''persist.sys.usb.config=mass_storage,adb'' (if alredy there change it AND '',adb'' is NOT importrant, it only activates it btw...)
Click to expand...
Click to collapse
I do not yet have root on my trasformer pad, until last night I thought that UMS was required to get root. I just need to install the fastboot drivers which I thought I had already done. I will update if it turns out I'm wrong (again), all this stuff with the ADB's, fastboot and cmd is confusing me; I have had to root, unroot, wipe, flash etc. loads of times on my galaxy ace but all that had could be done from the phones recovery almost instantly. geuss i'll just have to sort of evolve and get used to it being harder to root and install a recoveries now!
This one worked on my lenovo a369i:
Type these on your Terminal Emulator app:
su
setprop persist.sys.usb.config mass_storage,adb
reboot
Hope this works on yours too.
imanskoi said:
This one worked on my lenovo a369i:
Type these on your Terminal Emulator app:
su
setprop persist.sys.usb.config mass_storage,adb
reboot
Hope this works on yours too.
Click to expand...
Click to collapse
OMG!! After I input the above commands in terminal emulator, my Lenovo K1 doesn't detect USB anymore No USB is detected Because of this, I can't do USB tethering anymore
I am on kaschemme's latest [JB 4.2.2] [CM10.1] ROM. How do I undo the above command ?
Please help me out.
Edit: Nevermind, I did some research and found out, you can put this command to set it back...
su
setprop persist.sys.usb.config mtp,adb
reboot
MTP working
bejunk said:
no WAY !!
did u tried it my ''solution'' ?! also u can add this to ur build.prop / in sysctl OR make a init.d for..
persist.sys.usb.config=mass_storage,adb (if alredy there change it AND '',adb'' is NOT importrant, it only activates it btw...)
but what for a rom are using???
Click to expand...
Click to collapse
Thanks.. a lot .. had a lot of struggle before finding this
Didn't work..
SoloRazr said:
Just wanted to share some tips to those who wanted to re-enable the Mass Storage Mode on their Android 4.2.2
1. Connect your phone to a computer (The device will be connected in MTP mode as default)
2. Reboot your phone while connected to the computer
3. Wait until you see the USB icon on your Notification Bar
4. You will now have an option to select Mass Storage henceforth
:cyclops:
I'd appreciate a "THANKS" if this helps you.
Click to expand...
Click to collapse
Your tip didn't work on my Galaxy Grand Duos, I-9082 running stock rom 4.2.2..
Ahmadhassan92 said:
Your tip didn't work on my Galaxy Grand Duos, I-9082 running stock rom 4.2.2..
Click to expand...
Click to collapse
try to put in the above command in terminal emulator, it seems to work on stock roms...
USB mass storage
Phone Galaxy S4 9505 Android 4.2.2
I use USB mass storage enabler (Mohammad Abu-Garbeyyeh)
Its great thanks!
Works on a PC (Win7)
However I can't see me mounted devices on any set top boxes (Ie: Freebox V5 [ free.fr ] )
It seems something is wrong or not standard...
Any idea???
Or other better app?
Thanks
Dominique

Categories

Resources