Post Reply

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

OP aaki_rocker

28th July 2012, 06:53 AM   |  #1  
aaki_rocker's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 330
 
1,636 posts
Join Date:Joined: Oct 2011
More
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 102 Users Say Thank You to aaki_rocker For This Useful Post: [ View ]
28th July 2012, 07:23 AM   |  #2  
Member
Thanks Meter: 5
 
45 posts
Join Date:Joined: Jun 2011
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: 149
 
673 posts
Join Date:Joined: 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: [ View ]
28th July 2012, 07:42 AM   |  #4  
aaki_rocker's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 330
 
1,636 posts
Join Date:Joined: Oct 2011
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: 957
 
1,502 posts
Join Date:Joined: Apr 2012
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
 
59 posts
Join Date:Joined: Dec 2009
More
Not working for me
1st August 2012, 02:23 PM   |  #7  
aaki_rocker's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 330
 
1,636 posts
Join Date:Joined: Oct 2011
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: 9
 
52 posts
Join Date:Joined: 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...
19th August 2012, 06:13 AM   |  #9  
Member
Thanks Meter: 4
 
35 posts
Join Date:Joined: Apr 2011
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
Seoul
Thanks Meter: 253
 
167 posts
Join Date:Joined: Jul 2012
Donate to Me
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