Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,959 Members 43,275 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] [CM10] Enable USB Mass Storage !! instead of MTP !

Tip us?
 
aaki_rocker
Old
(Last edited by aaki_rocker; 28th July 2012 at 07:07 AM.)
#1  
aaki_rocker's Avatar
Senior Member - OP
Thanks Meter 325
Posts: 1,634
Join Date: Oct 2011
Location: Mumbai
Prompt [MOD] [CM10] Enable USB Mass Storage !! instead of MTP !

to enable mass storage mode !
enter in terminal emulator the following !

Code:
su
setprop persist.sys.usb.config mass_storage
reboot
profit !!


press enter after each line !
after reboot when you plug in your phone usb mass storage should work !



CURRENT DEVICES :

Motorola Droid Razr™ HD

Nokia Lumia™ 928




HISTORY OF DEVICES :
 


HTC One™M7
LG G2
Samsung Galaxy™ S III
Nokia Lumia 928
Apple iPhone 5
Nokia Lumia 920
Apple iPhone 4s
Samsung Galaxy Note - N7000
Pantech Flex
Motorola Droid RAZR
SONY Xperia™S
Samsung Galaxy Note I717
Samsung Galaxy SII T989 -Hercules
LG Nitro HD
HTC VIVID 4G
LG Thrill 4G
HTC HD2

The Legendry Nokia N900





HIT THANKS IF I'VE HELPED YOU !!

The Following 100 Users Say Thank You to aaki_rocker For This Useful Post: [ Click to Expand ]
 
DroiDIY
Old
#2  
Member
Thanks Meter 5
Posts: 45
Join Date: Jun 2011
This was a lifesaver. Worked perfect.

Sent from my LG-P930 using xda premium
 
Malnilion
Old
#3  
Senior Member
Thanks Meter 149
Posts: 672
Join Date: Dec 2011
I think maybe you'd want this:
Code:
su
setprop persist.sys.usb.config mass_storage,adb
reboot
And then to switch back to mtp:
Code:
su
setprop persist.sys.usb.config mtp,adb
reboot
But, I'm new to this. Do your commands as you have them now disable adb?
The Following 10 Users Say Thank You to Malnilion For This Useful Post: [ Click to Expand ]
 
aaki_rocker
Old
#4  
aaki_rocker's Avatar
Senior Member - OP
Thanks Meter 325
Posts: 1,634
Join Date: Oct 2011
Location: Mumbai
Quote:
Originally Posted by Malnilion View Post
I think maybe you'd want this:
Code:
su
setprop persist.sys.usb.config mass_storage,adb
reboot
And then to switch back to mtp:
Code:
su
setprop persist.sys.usb.config mtp,adb
reboot
But, I'm new to this. Do your commands as you have them now disable adb?
it disables adb debugging only one time after first reboot !
after that you can go into developer options and enable debugging
CURRENT DEVICES :

Motorola Droid Razr™ HD

Nokia Lumia™ 928




HISTORY OF DEVICES :
 


HTC One™M7
LG G2
Samsung Galaxy™ S III
Nokia Lumia 928
Apple iPhone 5
Nokia Lumia 920
Apple iPhone 4s
Samsung Galaxy Note - N7000
Pantech Flex
Motorola Droid RAZR
SONY Xperia™S
Samsung Galaxy Note I717
Samsung Galaxy SII T989 -Hercules
LG Nitro HD
HTC VIVID 4G
LG Thrill 4G
HTC HD2

The Legendry Nokia N900





HIT THANKS IF I'VE HELPED YOU !!

The Following 2 Users Say Thank You to aaki_rocker For This Useful Post: [ Click to Expand ]
 
rani9990
Old
#5  
rani9990's Avatar
Senior Member
Thanks Meter 950
Posts: 1,487
Join Date: Apr 2012
Location: Fremont

 
DONATE TO ME
Quote:
Originally Posted by aaki_rocker View Post
it disables adb debugging only one time after first reboot !
after that you can go into developer options and enable debugging
I love you man. For some reason this is the only thing that managed to get adb working on my device.
HIT THANKS IF I'VE HELPED YOU!
IF YOU WANT TO HELP OUT WITH MY COLLEGE FUND, AND LIKE MY WORK, YOU CAN DONATE TO ME, A 13 YEAR OLD.
SAMSUNG GALAXY S3 - OC'ed to 1.9 GHZ- Stock + Root
Previous Devices:
LG NITRO HD - CM10 Nightly- OC'ed to 1.9 Ghz - Stock LG-P930 Kernel
Samsung Captivate - MyUI Euphoria - OC'ed to 1.5 Ghz - Kernel Semaphore
MY WORKS
SGS3 LAUNCHER
MOTOBLUR LAUNCHER PORT
SGS3 TASK MANAGER (REMOVED)
The Following User Says Thank You to rani9990 For This Useful Post: [ Click to Expand ]
 
smartyenrique
Old
#6  
smartyenrique's Avatar
Member
Thanks Meter 8
Posts: 58
Join Date: Dec 2009
Location: Karachi
Not working for me
 
aaki_rocker
Old
#7  
aaki_rocker's Avatar
Senior Member - OP
Thanks Meter 325
Posts: 1,634
Join Date: Oct 2011
Location: Mumbai
Quote:
Originally Posted by smartyenrique View Post
Not working for me
what is not working ?
adb or mass storage !
CURRENT DEVICES :

Motorola Droid Razr™ HD

Nokia Lumia™ 928




HISTORY OF DEVICES :
 


HTC One™M7
LG G2
Samsung Galaxy™ S III
Nokia Lumia 928
Apple iPhone 5
Nokia Lumia 920
Apple iPhone 4s
Samsung Galaxy Note - N7000
Pantech Flex
Motorola Droid RAZR
SONY Xperia™S
Samsung Galaxy Note I717
Samsung Galaxy SII T989 -Hercules
LG Nitro HD
HTC VIVID 4G
LG Thrill 4G
HTC HD2

The Legendry Nokia N900





HIT THANKS IF I'VE HELPED YOU !!

 
Chris13002
Old
#8  
Member
Thanks Meter 9
Posts: 51
Join Date: Nov 2011
Doesn't seem to work for me...

I get "Connected as an installer" and when I goto those options, it brings me back to the MTP or PTP selection screen...
When "connected as an installer", I see two drives but cannot access them on the computer...

Tried CM10 JB Preview and now on ARANOIDANDROID v1.95... Both did the same thing even after full wipes...
 
gorcorps
Old
#9  
Member
Thanks Meter 4
Posts: 35
Join Date: Apr 2011
Thank god for this. Lack of mass storage mode really was a deal breaker for me and I almost gave up.
 
slg1119
Old
#10  
slg1119's Avatar
Senior Member
Thanks Meter 253
Posts: 167
Join Date: Jul 2012
Location: Seoul

 
DONATE TO ME
Wow...

Tanks man~~

Sent from my LG-SU640 using XDA
Dokdo-Project Team Leader

If my work is good, Send your donation directly by paypal: fhrgud1264@gmail.com

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes