Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,798 Members 40,059 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][CM11] Classic sdcard mount

Tip us?
 
S-I-M-O-N
Old
(Last edited by S-I-M-O-N; 15th August 2014 at 10:01 PM.) Reason: Download for jbbl nightly 20140814 added
#1  
S-I-M-O-N's Avatar
Junior Member - OP
Thanks Meter 24
Posts: 15
Join Date: Feb 2010
Drive [MOD][CM11] Classic sdcard mount

This mod for CM11 on moto_msm8960 brings back the classic sdcard mount we know from devices like the Nexus One.
No more cluttering of /data with files which should go to sdcard.

Features:
- External sdcard mounted as /sdcard
- Internal memory fully available for /data

Installation:
- Have a nandroid backup of /boot and /system at hand if something goes wrong
- Simply flash the zip over your existing CM11 installation
- Wipe data is not necessary but will help if you have problems.
Deleting only the data of the concerned apps should be sufficient. (Only apps storing data on sdcard are effected)
- Files which were on the emulated sdcard can be found at /data/media/0. This is also the location where you have to put your zip files to be able to flash them with OpenRecovery.

Method:
Adjusting of following CM11 files to be in line with Nexus One example configuration according to:
http://source.android.com/devices/te...g-example.html

boot.img
- init.qcom.rc
- fstab.qcom

framework-res.apk
- storage_list.xml

See my github for details: https://github.com/S-I-M-O-N/android...a_moto_msm8960

Disclaimer:
This was developed and tested on a Photon Q but should work on all moto_msm8960 devices with CM11.
I cannot be held responsible if anything goes wrong while using this mod.
Thank you to everyone this work is based on: Cyanogenmod team for providing CM11, Google for providing Android and everybody else

Download
I will try to keep this thread updated and provide a flashable zip for the latest CM11 snapshot.
See attachment at the bottom.


Regards,

Simon


Downloads for cm-11-20140609-SNAPSHOT-M7-moto_msm8960 , cm-11-20140708-SNAPSHOT-M8-moto_msm8960.zip and cm-11-20140814-NIGHTLY-moto_msm8960_jbbl.zip:
The Following 9 Users Say Thank You to S-I-M-O-N For This Useful Post: [ Click to Expand ]
 
sin-cal
Old
#2  
sin-cal's Avatar
Senior Member
Thanks Meter 9
Posts: 160
Join Date: Aug 2008
Location: Porterville, CA

 
DONATE TO ME
Cool, Thank you
~~~~~~~~karma is the essence of life~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phone: Motorola Photon Q
Rom.: Carbon Rom
OS Ver: Android 4.4.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
huatz84
Old
#3  
huatz84's Avatar
Senior Member
Thanks Meter 224
Posts: 728
Join Date: Jul 2009
Location: Binjai,North Sumatra
Any updated version for CM11 M8 build?
Using :
- Motorola Photon Q Sprint XT897c..
- Motorola Droid RAZR MAXX HD Verizon XT926
 
S-I-M-O-N
Old
(Last edited by S-I-M-O-N; 9th July 2014 at 07:14 PM.)
#4  
S-I-M-O-N's Avatar
Junior Member - OP
Thanks Meter 24
Posts: 15
Join Date: Feb 2010
I am downloading M8 right now. Expect an update within the next days.

Until then it should be relative safe to flash the M7 sd-mod over CM11 M8, you will just miss the updates concerning the kernel and framework.

EDIT: Well, it's not. Stuck in Boot. Stay tuned for an update.
The Following User Says Thank You to S-I-M-O-N For This Useful Post: [ Click to Expand ]
 
huatz84
Old
#5  
huatz84's Avatar
Senior Member
Thanks Meter 224
Posts: 728
Join Date: Jul 2009
Location: Binjai,North Sumatra
Quote:
Originally Posted by S-I-M-O-N View Post
I am downloading M8 right now. Expect an update within the next days.

Until then it should be relative safe to flash the M7 sd-mod over CM11 M8, you will just miss the updates concerning the kernel and framework.

EDIT: Well, it's not. Stuck in Boot. Stay tuned for an update.
Yeah..I've tried it over M8 and my phone stucked in bootloop. Thanks for your work. I've missed my sdcard as primary storage since JellyBean days. I'm glad I can use my 32gb sdcard usefully.


Sent from my DROID RAZR HD using XDA Premium 4 mobile app
Using :
- Motorola Photon Q Sprint XT897c..
- Motorola Droid RAZR MAXX HD Verizon XT926
 
S-I-M-O-N
Old
#6  
S-I-M-O-N's Avatar
Junior Member - OP
Thanks Meter 24
Posts: 15
Join Date: Feb 2010
Download for M8 added.
The Following 2 Users Say Thank You to S-I-M-O-N For This Useful Post: [ Click to Expand ]
 
huatz84
Old
#7  
huatz84's Avatar
Senior Member
Thanks Meter 224
Posts: 728
Join Date: Jul 2009
Location: Binjai,North Sumatra
Quote:
Originally Posted by S-I-M-O-N View Post
Download for M8 added.
Thanks a lot..Downloading it now.
Using :
- Motorola Photon Q Sprint XT897c..
- Motorola Droid RAZR MAXX HD Verizon XT926
 
thewraith420
Old
#8  
Senior Member
Thanks Meter 29
Posts: 205
Join Date: Sep 2011
Hmm so I'm guessing the likelihood of this working on nightly builds isn't good?
 
S-I-M-O-N
Old
#9  
S-I-M-O-N's Avatar
Junior Member - OP
Thanks Meter 24
Posts: 15
Join Date: Feb 2010
You could give it a try.
Nandroid backup boot and system, then flash the mod.
If it screws up, just go back and restore boot and system.

Apart of that I think we should wait a few days to see if we get a moto_msm8960_jbbl M9 build. If yes I will, make the patch for it. If no, I will pick the latest nightly.
The Following User Says Thank You to S-I-M-O-N For This Useful Post: [ Click to Expand ]
 
S-I-M-O-N
Old
#10  
S-I-M-O-N's Avatar
Junior Member - OP
Thanks Meter 24
Posts: 15
Join Date: Feb 2010
After reading that we won't get a M9 build I made an update for nightly 20140814.

It seems the ramdisk is growing and abootimg was already complaining that it was too large. I had to delete copyrights and disclaimers to squeeze out some bytes. I hope that this trend does not continue, otherwise I need to find other means to bild the boot.img.

Regards
Simon

The Following 2 Users Say Thank You to S-I-M-O-N For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes