Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
View Poll Results: Which mounting option do you prefer?
TnT Stock(Internal to /sdcard, external to /sdcard2) 97 74.62%
Standard Phone Method(Internal to /emmc, external to /sdcard) 33 25.38%
Voters: 130. You may not vote on this poll

Post Reply

SDCARD Mounting Paradigm - Cyanogenmod7

OP rothnic

21st January 2011, 01:57 PM   |  #1  
rothnic's Avatar
OP Senior Member
Thanks Meter: 278
 
811 posts
Join Date:Joined: Aug 2010
There are two sdcard mounting paradigms. Currently Cyanogenmod for the tablet is set to use the one that matches phones.

1) Internal SDCARD mounted to /SDCARD, External to /SDCARD2(or equivalent)
Pros
-Internal sdcard is easily accessible

Cons
-External sdcard isn't mounted to computer over usb


2) Internal SDCARD mounted to /EMMC, External to /SDCARD
Pros
-External SDCARD is default and mounted to computer over usb
-Works well for phones with small internal storage sizes

Cons
-Your internal storage is hard to access, not mounted over usb


I took this GIT commit and rolled the changes back for CM7. I then recompiled CM7 to use the option 1 mounting paradigm.

Let me know which you prefer. I personally like option 1 because it doesn't rely on having an external sdcard. Additionally the internal sdcard is not easily removable like the external, so being able to access it over usb is important. If there are reasons for options 2, let me know.

Download:
CM7RC0 with Option 1 Mounting Paradigm(Mounting over USB works): http://www.multiupload.com/NJFGUW04A2
Gapps: http://android.d3xt3r01.tk/cyanogen/...120-signed.zip
Last edited by rothnic; 21st January 2011 at 02:25 PM.
The Following 7 Users Say Thank You to rothnic For This Useful Post: [ View ]
21st January 2011, 02:06 PM   |  #2  
tcrews's Avatar
Senior Member
Thanks Meter: 177
 
729 posts
Join Date:Joined: May 2010
More
Very cool, I was planning to do that myself this weekend. I played with CM7 yesterday for a few minutes but with no SDCard in the "external" slot there were some limits to have useful the OS was....

I'll probably still pull the source down this weekend, but I can flash your ROM tonight and start having a more detailed look at CM7.
21st January 2011, 02:10 PM   |  #3  
Senior Member
Thanks Meter: 139
 
450 posts
Join Date:Joined: May 2010
Hey Rothnic, nice call, I agree that the CM7 default mounting scheme is both somewhat confusing and somewhat less useful with the G Tablet.

Quick question - you packaged up those performance packs with updated drivers for TNT etc. I know this may be a dumb question, but are these the same drivers currently being used in CM7? Or are they Froyo specific and incompatible with a Gingerbread ROM build because of library dependencies or structural changes?

I'm just trying to figure out if there's some way to speed up 2d graphics stuff in CM7 without waiting for more drivers from NVidia.
21st January 2011, 02:30 PM   |  #4  
rothnic's Avatar
OP Senior Member
Thanks Meter: 278
 
811 posts
Join Date:Joined: Aug 2010
Quote:
Originally Posted by rcgabriel

Hey Rothnic, nice call, I agree that the CM7 default mounting scheme is both somewhat confusing and somewhat less useful with the G Tablet.

Quick question - you packaged up those performance packs with updated drivers for TNT etc. I know this may be a dumb question, but are these the same drivers currently being used in CM7? Or are they Froyo specific and incompatible with a Gingerbread ROM build because of library dependencies or structural changes?

I'm just trying to figure out if there's some way to speed up 2d graphics stuff in CM7 without waiting for more drivers from NVidia.

CM7 uses the Nvidia libraries from TnT 3588. I haven't gotten to merging in the newer "performance pack" ones that TnT doesn't include.

The libraries are Froyo specific, and were for many devices. I believe the CM team has built wrappers so that it can use the froyo specific libraries. I'm not sure on the acceleration issue.
21st January 2011, 02:42 PM   |  #5  
Senior Member
Thanks Meter: 16
 
252 posts
Join Date:Joined: Dec 2008
Ok I got 2 questions:

Do we have any clue how does Incredible (for example) works? It has 8gb internal plus External, they both mount on usb.

Doesnt the fact that we can mount the internal storage on the computer, etc etc, can be a reason for the corruption of partitions? (maybe unplugged before unmounting by mistake or stuff like that..). That may have happen to almost everyone, everything starts crashing, FC, etc, all because of the repartitioning. Maybe paradigm 2 its better and correct.

Another quick thing, is it possible to mount internal on /scard and external on /sdcard/sdcard2? That would make both accesible on usb mount no?

Thanks
21st January 2011, 03:08 PM   |  #6  
Member
Thanks Meter: 0
 
32 posts
Join Date:Joined: Oct 2010
great work rothnic
I tried to play with cm7 last night but was getting frustrated by this issue. Thanks for doing this!!
21st January 2011, 03:23 PM   |  #7  
joe75's Avatar
Member
Rochester,NY
Thanks Meter: 12
 
84 posts
Join Date:Joined: Jan 2007
More
+1 for /SDCARD here...

thanks, rothnic
21st January 2011, 04:17 PM   |  #8  
atakapa's Avatar
Member
Flag Bradford's Ordinary
Thanks Meter: 18
 
92 posts
Join Date:Joined: Nov 2010
Thanks for the efforts. Oh, option 1until I can get my hands on a 32GB micro SD, but probably still favor /sdcard and /sdcard2 anyhow.

Also, can't wait for hardware acceleration with this Rom, best one so far.
21st January 2011, 04:22 PM   |  #9  
gksmith's Avatar
Senior Member
Thanks Meter: 14
 
206 posts
Join Date:Joined: Dec 2010
I like option 1 over option 2 for the gTab. What would really be cool is an option 3.

Internal + External = virtual SDCard.
The Following User Says Thank You to gksmith For This Useful Post: [ View ]
21st January 2011, 04:26 PM   |  #10  
Member
Thanks Meter: 6
 
48 posts
Join Date:Joined: Dec 2006
+1 for Option 1.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes