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..
Related
ok, i just rooted, havn't flashed a rom yet, and i can't cause when i plug my phone up to my computer, it won't bring up the "mount" option. I went into my phone settings and turned on usb debugging, then it would bring up the mount option, but wouldn't show up on my computer. help please?
Are you using the cable that came with the phone?
Have you tried another USB outlet?
Have you updated the drivers?
Root would not affect this, at all.
From the home screen:
Menu>Settings>Applications>USB settings> now select "ask on connection"
Let me know if that helps
Also make sure the phone's drive letter that the system assigns isn't being hung up by another drive. You can check this by right-clicking the My Computer icon in Windows -> Manage -> Disk Management and make sure it's there. If it is, click on the drive and then right-click -> Change Drive Letter & Paths.
Hope this helps,
~SB
and of course make sure debugging is on, forever and always
TopShelf10 said:
and of course make sure debugging is on, forever and always
Click to expand...
Click to collapse
curious to know, why do you need debugging on? I keep it off myself.
ok i've tried all of these things and nothing works, the only thing i havn't tried is updating the drivers, how do i do that?
vballrkc said:
ok i've tried all of these things and nothing works, the only thing i havn't tried is updating the drivers, how do i do that?
Click to expand...
Click to collapse
Go to the sticky vibrant Bible topic. There should be a link there.
Sir Incognito said:
curious to know, why do you need debugging on? I keep it off myself.
Click to expand...
Click to collapse
If you use adb or any rooted apps that requires it. For example, titanium backup requires you to have USB debugging on from what i remember. Oh, and if you're a developer.
Sent from my SGH-T959 using XDA App.
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.
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.
Hi,
My USB is behaving really wierd.
If I use USB debug my device is not recognized at al by my computer. With USB debug unchecked it's recognized and I can view and delete files but not transfer any new one. Transfer just results in a timeout saying "device disconnected".
This applies to both the internal and external card.
Tired different cables, different computers and operative systems.
Please help, tired of transfer files via keys air all the time :/
Sent from my GT-I9100 using Tapatalk
richardddd said:
Hi,
My USB is behaving really wierd.
If I use USB debug my device is not recognized at al by my computer. With USB debug unchecked it's recognized and I can view and delete files but not transfer any new one. Transfer just results in a timeout saying "device disconnected".
This applies to both the internal and external card.
Tired different cables, different computers and operative systems.
Please help, tired of transfer files via keys air all the time :/
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Hey,
when u have the Debugging mode activated and want to see it on PC, u have to hit the notification, which appears when u connect it.
Then press connect USB and it should appear on PC
When u don't use this mode it went in an "Kies-mode" which PC directly recognize.
Or when u go to settings>Wireless etc>USB and press here "Use USB as Masstorage" it's the same like when u press activate on notification while debuggin mode.
Hope I helped a bit ...
CHEERS
Hannibal226 said:
Hey,
when u have the Debugging mode activated and want to see it on PC, u have to hit the notification, which appears when u connect it.
Then press connect USB and it should appear on PC
When u don't use this mode it went in an "Kies-mode" which PC directly recognize.
Or when u go to settings>Wireless etc>USB and press here "Use USB as Masstorage" it's the same like when u press activate on notification while debuggin mode.
Hope I helped a bit ...
CHEERS
Click to expand...
Click to collapse
Well don't mean to be rude but ofc i connect USB storage when I plug it in. When in USB debugging mode, the device is not even accessable but in kies mode, its accessable but I can't transfer any files to it :/
Sent from my GT-I9100 using Tapatalk
Transfer a small file see if that times out .
jje
I know this is not a solution to your problem, but I recommend transferring files over wifi (NOT KIES AIR) which, to me, is much more simpler and better way.
Here is how:
first install free "SwiFTP FTP Server" application from Market
install it and enter desired username and password. Enable wifi and start application.
On your computer or laptop, install some FTP client (I recommend "Filezilla").
Enter user information you previously configured on your smartphone, connect and voila! You know have access to all of your smartphone's files and folders.
Like I said, for me, this is much better and simpler way of transferring files than using USB cable. Give it a try and see.
JJEgan said:
Transfer a small file see if that times out .
jje
Click to expand...
Click to collapse
Did not work either :/
richardddd said:
Did not work either :/
Click to expand...
Click to collapse
I would like to know how you solved this issue as I am currently going through the same thing
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