FORUMS

Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years … more

Root T-Mobile S6/Edge on 5.1.1 Without Tripping Knox

If you purchase phones from a carrier, you may be no stranger to the difficulties … more

IonVR Coming Soon, HTC M9 Dev Edition Gets Android 5.1 – XDA TV

The HTC M9 Developer Edition has received Android 5.1. That and … more

Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

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

1,706 posts
Thanks Meter: 350
 
Post Reply Subscribe to Thread Email Thread
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 !



Last edited by aaki_rocker; 28th July 2012 at 07:07 AM.
The Following 103 Users Say Thank You to aaki_rocker For This Useful Post: [ View ]
 
 
28th July 2012, 07:23 AM |#2  
Member
Thanks Meter: 5
 
More
This was a lifesaver. Worked perfect.

Sent from my LG-P930 using xda premium
28th July 2012, 07:27 AM |#3  
Senior Member
Thanks Meter: 166
 
More
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: [ View ]
28th July 2012, 07:42 AM |#4  
aaki_rocker's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 350
 
More
Talking
Quote:
Originally Posted by Malnilion

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
The Following 3 Users Say Thank You to aaki_rocker For This Useful Post: [ View ]
28th July 2012, 01:25 PM |#5  
rani9990's Avatar
Senior Member
Flag Fremont
Thanks Meter: 969
 
Donate to Me
More
Quote:
Originally Posted by aaki_rocker

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.
The Following 2 Users Say Thank You to rani9990 For This Useful Post: [ View ]
31st July 2012, 09:40 PM |#6  
smartyenrique's Avatar
Member
Flag Karachi
Thanks Meter: 8
 
More
Not working for me
1st August 2012, 02:23 PM |#7  
aaki_rocker's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 350
 
More
Quote:
Originally Posted by smartyenrique

Not working for me

what is not working ?
adb or mass storage !
3rd August 2012, 05:45 PM |#8  
Member
Thanks Meter: 12
 
More
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...
19th August 2012, 06:13 AM |#9  
Member
Thanks Meter: 4
 
More
Thank god for this. Lack of mass storage mode really was a deal breaker for me and I almost gave up.
19th August 2012, 06:36 AM |#10  
slg1119's Avatar
Senior Member
Flag Seoul
Thanks Meter: 482
 
Donate to Me
More
Wow...

Tanks man~~

Sent from my LG-SU640 using XDA
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes