[Q&A][OFFICIAL] CyanogenMod 10 (JellyBean) Nightly Discussions

anactoraaron

Senior Member
Aug 29, 2011
677
335
0
St. Cloud, MN
I'm glad you mention this. It doesn't always do it to me, but it started when I flashed 10/22. I'm thinking a factory reset and clean flash is in order, but when I tried that last night none of my market links worked. All my paid apps weren't marked as "Purchased", rather with a price tag, and the My Apps section was empty. Thank God for backups.:D

Sent from a magical unicorn using CM10
I've had this happen on other devices running CM. Usually all you need to do is clear data from the play store.

Sent from my SGH-T769 using xda app-developers app
 

johnb380

Senior Member
Jan 25, 2011
2,988
2,313
0
Masury, Ohio
So can anyone help me change my internal sd to mount as my external sd and my external mount as internal I know it's in the fstab file I just don't know what to change I've tried 3 times and can't get it right please someone help me I need to use my whole 8gb sd card since most games are more than our 1.4gb now and I play a lot of games

Sent from my SAMSUNG-SGH-T769 using Tapatalk 2
 

shaikmonster

Senior Member
Jun 3, 2008
176
19
0
I have done straight dirty flashes since it was unofficial... no issues. I haven't even had a SOD in two builds. Love it...

Sent from my SAMSUNG-SGH-T769 using xda app-developers app
 

Chitown021

Senior Member
Jun 28, 2010
858
205
0
Kansas City MO
Interesting, it seems that the nightly goes live at the same time every morning (7:00AM CST) but my phone is unable to download the update until about an hour later.


Sent from my Samsung Galaxy S Blaze.
 

jdruc

Member
Oct 3, 2012
17
13
0
So can anyone help me change my internal sd to mount as my external sd and my external mount as internal I know it's in the fstab file I just don't know what to change I've tried 3 times and can't get it right please someone help me I need to use my whole 8gb sd card since most games are more than our 1.4gb now and I play a lot of games
Edit /system/etc/vold.fstab changing:

#internal sdcard
dev_mount sdcard /storage/sdcard0 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0

#external sdcard
dev_mount external_sd /storage/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
to

#internal sdcard
dev_mount sdcard /storage/sdcard1 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0

#external sdcard
dev_mount external_sd /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
That's what works for me. Otherwise the internal sdcard never mounts.
Also keep in mind after every update you'll have to redo this, as it will be overwriten.
 

marchingknight11

Senior Member
Dec 29, 2011
79
22
0
Just installed the newest Nightly (10/25) and now my phone won't boot. I get to the CM boot animation, but it just spins indefinitely. I don't get an adb connection, so how do I boot into recovery to revert?
 

johnb380

Senior Member
Jan 25, 2011
2,988
2,313
0
Masury, Ohio
Just installed the newest Nightly (10/25) and now my phone won't boot. I get to the CM boot animation, but it just spins indefinitely. I don't get an adb connection, so how do I boot into recovery to revert?
Pull battery and hold vol up down and power then when Samsung screen goes off release power count to 5 and let go of vol up down and recovery will start

Sent from my SAMSUNG-SGH-T769 using Tapatalk 2
 
  • Like
Reactions: marchingknight11

dr4stic

Senior Member
Oct 18, 2009
996
2,115
123
swapping mounts...

Guys, I know you would like to have more space for the important stuff, but I think swapping the mounts is a bad idea.

I think I may have an alternative though: symlinks. Figure out which particular directories you'd like to store on the SDCARD versus the local phone storage, and then symlink those directories.

I'm pretty sure this would work, and this method would survive upgrades, hell... even data wipes. And best of all, it'd be safer.

I'm gonna investigate and put up some pointers.
 

jdruc

Member
Oct 3, 2012
17
13
0
which Ufqual

Guys, I know you would like to have more space for the important stuff, but I think swapping the mounts is a bad idea.
<snip>
I'm pretty sure this would work, and this method would survive upgrades, hell... even data wipes. And best of all, it'd be safer.
.
dr4stic, while I agree from before that swapping the mounts via fstab is not ideal, in my case, and I can only speak for my case, it is the only way to get CM10 working. The 'internal sd' just doesn't mount on sdcard0! It sounds like there are other folks here that have had that issue, but definitely not all.

As far as symlink vs mount, how is that safer regarding data wipes? When you boot in CM, it still thinks sdcard0 is the internal memory so it never touches your external card.

Ideally CM10/android should offer an option to select the external SD as main storage (like in CM9, which I still believe does just that- change the mounts), until then I really don't see a problem swapping the mounts.
 

mdneilson

Senior Member
Sep 3, 2007
367
56
0
MN, USA
Symlinks won't work, both cards are fat 32 which doesn't support symlinks. Plus, if the external sd was removed, then files sent to the link would become lost. Here is a small script that will mount folders if the cards are present and mounted. I modified this from another xda post, just paste this into scripter and set to run on boot.

Code:
 #!/system/xbin/sh

# Check if the SDCARDs are mounted yet.
result="`ls /sdcard/ | wc -l`"
while [ "$result" -eq 0 ]
do
    sleep 10
    result="`ls /sdcard/ | wc -l`"
done

result="`ls /external_sd/ | wc -l`"
while [ "$result" -eq 0 ]
do
    sleep 10
    result="`ls /external_sd/ | wc -l`"
done

# The cards are mounted. Now mount the directories
busybox mount --bind /sdcard/test /external_sd/test
Sent from Tapatalk on Android.

---------- Post added at 04:43 PM ---------- Previous post was at 04:42 PM ----------

Looks like posting from android messed it up. I'll clean it up when I get home

Edit: never mind

Sent from Tapatalk on Android.
 

johnb380

Senior Member
Jan 25, 2011
2,988
2,313
0
Masury, Ohio
Ya symlinks won't work I've tried... > there is another option its called directory bind and that is and app that takes a directory and binds it to another so u can download asphalt 7 for example its 1.4gb which is our whole internal sd and u bind it to a directory on the external sd and then it moves the files to ur external sd but it shows as on ur internal so when u run the game it runs from ur external but the problem is u have to have enough Room to download the app or game so thats why i swapped mount points here is the thread i started that will allow u to do the same its as easy as swapping 2 numbers in Vold.fstab in /etc
http://forum.xda-developers.com/showthread.php?p=33253737
The directory bind thread is just a Google search away if that's what u need too
Sent from my SAMSUNG-SGH-T769 using Tapatalk 2
 
Last edited:

mdneilson

Senior Member
Sep 3, 2007
367
56
0
MN, USA
Directory bind does the same function as the script that I posted. It is a simple bind mount. I hate having apps for such menial things, but it is simpler for those who don't want to go through the work. Bind mounting should download directly to the external card if the mount is successful.

Sent from Tapatalk on Android.
 

dr4stic

Senior Member
Oct 18, 2009
996
2,115
123
Ya symlinks won't work I've tried... > there is another option its called directory bind and that is and app that takes a directory and binds it to another so u can download asphalt 7 for example its 1.4gb which is our whole internal sd and u bind it to a directory on the external sd and then it moves the files to ur external sd but it shows as on ur internal so when u run the game it runs from ur external but the problem is u have to have enough Room to download the app or game so thats why i swapped mount points here is the thread i started that will allow u to do the same its as easy as swapping 2 numbers in Vold.fstab in /etc
http://forum.xda-developers.com/showthread.php?p=33253737
The directory bind thread is just a Google search away if that's what u need too
Sent from my SAMSUNG-SGH-T769 using Tapatalk 2
I knew I should've checked the filesystem before opening my mouth :)

I just assumed it was ext4, not sure why they would format an internal partition as fat.
 

flyers00

Senior Member
Jul 28, 2009
1,257
356
0
Marlton
2 quick questions for you.
Have the changes from 10/24 unofficial been pushed to the official nightlies?
In performance settings do you recommend turning on ksm and zram?

Sent from my SAMSUNG-SGH-T769 using xda app-developers app
 

dr4stic

Senior Member
Oct 18, 2009
996
2,115
123
2 quick questions for you.
Have the changes from 10/24 unofficial been pushed to the official nightlies?
In performance settings do you recommend turning on ksm and zram?

Sent from my SAMSUNG-SGH-T769 using xda app-developers app
ksm, not sure. It does look cool. You could try it and report back :)

As for zram, seems like it'd almost necessitate more CPU all the time, right? The device has 1gig of ram... are you memory starved? If you need the memory and are willing to sacrifice cpu and battery for it, then go for it. But I don't think the majority of people will need it.
 

flyers00

Senior Member
Jul 28, 2009
1,257
356
0
Marlton
ksm, not sure. It does look cool. You could try it and report back :)

As for zram, seems like it'd almost necessitate more CPU all the time, right? The device has 1gig of ram... are you memory starved? If you need the memory and are willing to sacrifice cpu and battery for it, then go for it. But I don't think the majority of people will need it.
I used to use ksm on my old phone and it helped on some processes.

I'm not starved for memory and most people will stay away from zram..

Have the changes from 10/24 unofficial been pushed to the nightlies ? Thanks for the quick response


Sent from my SAMSUNG-SGH-T769 using xda app-developers app
 

crispian

Member
Jul 7, 2007
16
1
0
Random MAC address fix???

I've been happily downloading the nightlies each day and continue to be impressed by them- the stability and battery life keeps improving...BUT the one continual pain is the random MAC addresses generated by the wifi!

All the access points where I work (as well as my own ones at home) are set up with MAC address filtering so this effectively means I have no wifi. I can reset my home router (though this means changing the set up on all my laptops, desktops, bluray player, Wii etc.), but that doesn't help me at work.

Does anyone have a fix for this that I can use until whatever needs fixing gets fixed in CM10? Something I could flash over the ROM or an edit I can make in the system- I'm really not complaining- I love these ROMs, but this is getting to be a dealbreaker :(
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone