First of all, I am running Cyanogen Mod 4.2.15.1, with RA recovery v1.52R and I have a properly partitioned SD card for apps2sd.
My question/problem is this:
I have 2 SD cards, the first one I have setup to use regularly with my phone, and is partitioned properly for apps2sd. The second one I have formatted and setup as a ubuntu USB boot disk.
My intention is this, whenever I need to use a random computer, at work or friends house, etc, it would be super if I could shut my phone down, switch to my boot SD card, boot into recovery, enable the USB-Mass Storage option, and boot the computer from USB into Ubuntu. I have the SD card set up with a persistence file so I can even save stuff in my linux environment. This is all fine and dandy, and works well. It's actually really cool to have a bootable linux environment right in my pocket with me everywhere I go...
To take it to the next level, I would like to be able to actually boot my phone, so it doesn't have to sit in recovery while I'm using the computer. This way I can even turn on "Wireless Tether for Root Users" and have Ubuntu with network on the go. I've tried partitioning my SD card, putting my apps on it, and using the FAT32 partition for the Ubuntu boot disk, The only problem with this is, I can't make the FAT32 partition available to the computer before it is plugged in. (I have to mount it when the notification pops up, which is usually too late) So I figured I will enable USB-MS from RA Recovery, let it boot to Ubuntu, and once it's loaded, I'll reboot my phone, and mount again in android, then continue using the computer, but I think because the card is partitioned, BIOS isn't recognizing it as a boot drive.
So how do I mount the FAT32 partition from inside Cyanogen's 4.2.15.1 Mod? (or even from recovery?) before the computer is even connected? I need it to be available right when the computer turns on.
Any suggestions would be super, I love the idea that I can carry around a linux distro with me everywhere I go, especially coupled with a wireless connection.
Thank you!
-Slopes
Related
Hey all, question, I dont know if its my setup since I have the drivers that let me read linux formatted drives in WinXP however, after I got the memory card formatted to the fat/ext2, if I try to connect my G1 to the USB and "mount" it doesnt show up in WinXP to work with. Now in Ubuntu (Which is where I worked on the format etc) it shows up fine. Just need to know if there is a solid way to work with the Fat part of it in Windows to add files or If ill need to use Ubuntu now. Also I wanna upgrade my 2GB to a 4GB, can the files just be transfered over to the 4GB and the G1 would still read everything just fine? Or would doing that screw something up? Just making sure before I do. =)
Thanks for any help.
Poke anyone? I know alot of you have your apps installed on the SD. =/
this thread should of been added to ONE of those APP2SD thread.. might as well format the whole SDCard FAT32 and EXT2...
Fat32 - copy everything to ur comp
EXT2 - they are just apps that u can go to market and download it agian.
Well I do have it Fat32, But the question is, can I transfer the Fat32/EXT2 to another memory card formatted the same way? Or do I have to redownload?
Then still is the issue why I cant connect it to WinXP, Wont show up. =/
nope..
i have xp too and it won't show either.. like the new build(haykuro6.0) i wanna try it out, but i have to go to the process to backup my apps on the SD.. and just format the whole SDCARD.. but nah
this might help.. it tells u how to back up ur apps to the FAT32 part of the SDcard
http://forum.xda-developers.com/showthread.php?p=3808858
im clueless on restoring the apps back
Well let me specify, I have the fastboot drivers put in too since one needed that to mod the g1 and push files etc. So unless there is a way to do both? So I think with the drivers for fastboot and so, it wont read as a removeable storage.
Now I can use Ubuntu (Linux) to Move the EXT2 to another EXT2 but not sure if the cache and data will work the same?
I've read somewhere here in the forums that it can screw up the a2sd function
so how can i connect the phone to my PC (because using a card reader every time you need to connect your phone to a PC is @[email protected])
Is this true? any alternative?
I'm using wildpuzzle ROM btw
Hi Dudin.
As standard, when you connect the phone to the pc as a removable storage, Android prevents the SD from being seen by the phone at the same time. As A2SD installs apps to the SD, this obviously causes any Apps on the SD to not work. I dont think its a permanent screw up, as it all should right itself after you disconnect from the computer, but you do have options:
1:Connect as Sync or Charge only. (a quick but pointless workaround if you want to browse your Sd card from the pc),
2: Or do as I do and install "Dual Mount SD" from the market It makes the SD card accessible by both Android and the USB at the same time. Works perfect for me, I can still use my aps and access the SD from the PC simultaneously. (I have used it on Wildpuzzle, Openfire and Cyanogen Mod, Eclair and Froyo versions). You need to be rooted for this though as it asks for superuser permissions.
Hope this helps.
Ok I will clarify for you. If you use dt app2ext patch. When you mount your sd card, the computer mounts the fat32 partition, and does not detect the ext partition, so it does not screw your card up, or the apps.
if you are using froyo app2sd, the apps that are on your sd card will not work when the sd card is mounted.
thanks for the replies
I find a good alternative is Dropbox - and it is mentioned in a lot of threads.
I already used it for work and it is great. No looking around for a USB cable or turning off/remove case/remove card etc which takes ages! Dropbox is free so give it a go! I use it in conjunction with EZ File manager (i think thats what its called) to transfer stuff and unzip archives.
Hope it helps!
I have spent the last week reading and searching the forums in an attempt to find out how to be able to access and use the empty space left on a CM7 boot sd. Some of the posts were confusing and others seemed to be targeted to those who are already very familiar with the file structures of these systems. The only paritioning experience I have is dividing a boot drive before putting on XP. I am using a Sandisk 8gb and it looks like there is about 5 gig free. Win XP is the os I am running.
So the questions I have are:
1) In simple terms, exactly what has to be done to a boot CM7 SD card to be able to use the empty space for books, mp3, etc? On the recommendations I read in different threads, I downloaded easus partition master, gnome partition editor, and minitool partition wizard. They all pretty much do the same of being able to display the 4 partitions, but what do with the programs then?
In the near future I would like to get a 16g or 32g and wouldn't want all of that space going to waste.
2) Is it possible to have it so that the NC stock boot can read the books downloaded in CM7? I have not been able to find where CM7 stores books.
Thanks to all whose work helped me get to this point. The NC is a fascinating piece of hardware.
Hey! Using the remaining storage on your SD card is quite easy. Just download and install this program on your NC. http://forum.xda-developers.com/showthread.php?t=952456 open the program and select the 4th partition to be mounted. Now when you plug your nook into the PC, the partition which holds media etc. Will be mounted you can now transfer mp3's, roms for Emulators etc.
As for #2, Your cm7 books should be on the previously mentioned partition, which is the 4th.
Sent from my ADR6300 using XDA Premium App
Imbroglio said:
I have spent the last week reading and searching the forums in an attempt to find out how to be able to access and use the empty space left on a CM7 boot sd. Some of the posts were confusing and others seemed to be targeted to those who are already very familiar with the file structures of these systems. The only paritioning experience I have is dividing a boot drive before putting on XP. I am using a Sandisk 8gb and it looks like there is about 5 gig free. Win XP is the os I am running.
Click to expand...
Click to collapse
5G sounds about right for the /sdcard partition. The rest of the partitions on an 8G card are /boot, /system, and /data. Use Root Explorer to poke around; you can tell when you jump partitions because the used/free numbers at the top will change.
/boot is not normally mounted.
The root filesystem is in-memory and is initialized from /boot/uRamdisk by default.
So the questions I have are:
1) In simple terms, exactly what has to be done to a boot CM7 SD card to be able to use the empty space for books, mp3, etc? On the recommendations I read in different threads, I downloaded easus partition master, gnome partition editor, and minitool partition wizard. They all pretty much do the same of being able to display the 4 partitions, but what do with the programs then?
In the near future I would like to get a 16g or 32g and wouldn't want all of that space going to waste.
Click to expand...
Click to collapse
The original instructions in the size-agnostic install thread detail what happens to various sizes of card; for anything above 2G /sdcard gets all the extra.
Any apps that use /sdcard for storage will use this space. App-specific config data and small databases are generally in /data unless instructed otherwise (I'm using less than 300M of my /data partition as yet). The app info or permissions will often give clues; if the permission for "read and write SD card" is requested or required, the app can or must use this space. Some apps (like BeyondPod) will always use /sdcard.
So, your space isn't wasted, it's just unused until you fill it.
2) Is it possible to have it so that the NC stock boot can read the books downloaded in CM7? I have not been able to find where CM7 stores books.
Click to expand...
Click to collapse
The CM7 SD boot cleverly uses the built-in memory for both /cache and (at least some) media storage; the "media" stock partition pre-1.2 is mounted as /emmc; I don't know how the SD boot uses the newer partitions. The NC app stores books in "/emmc/B&N Downloads/Books" and magazines in ".../Magazines". You can move your music files to "/emmc/My Files/Music" and the stock music player will automagically find them there, freeing up even more space in your SD. This partition is mounted the same for emmc-booted NCs, making an easier transition if you get to that point (it took me months to decide to go ahead and do it, and I'm happy with the choice). Other apps may look there, or can be told to look there, but since it's a new-ish Android "feature" (convention, really), it's not universal.
When you use USB mounting by plugging your charger cable into your PC's USB socket, by default the two "drives" mounted are /sdcard (named "CM7 SDCARD") and /emmc ("MyNookColor"), so you can use your PC to explore, backup, and move files back & forth to experiment. Both partitions are FAT32, so all PCs should be able to handle them. Remember to tell the PC to unmount them in software before unplugging the cable, like any thumb drive.
Thanks to all whose work helped me get to this point. The NC is a fascinating piece of hardware.
Click to expand...
Click to collapse
It is, isn't it? I haven't regretted buying one for a minute.
Thank you for posting the reply on the APP nook/cm7 file system.
Unfortunately, it still doesn't address HOW to sideload (DRAG AND DROP) books on the utilizing the empty portion of a CM7 SD card.
1. I put the SD card into an reader.
2. Windows xp detects the card.
3. I pull up windows explorer.
4. It only displays the "root" directory. Yes, I can drag and drop into the "my documents" folder but this partition only contains about 300 meg total storage.
5. It does not display the other partitions, thus I cannot drag and drop anything into the 5g partition.
Yes, I can drag and drop on the NC onboard storage, but not the CM7 SD card. Is the remaining 5 gigs only allocated for APP storage?
Now after 2 weeks searching this site and seeing numerous recommendations for software but not what to do with it or cryptic posts assuming that one already is very familiar with the android os, I am pulling my hair out over this. The only post I found that directly and simply addressed the issue requires that I reformat the SD with SDformatter to allow for full storage access but then I have install CM7 all over again.
I downloaded NookColorUMS-0.3b.apk using Opera, but that is all it did. I had to search again and it mentioned something about ADB (no idea what that is) which had to be installed. Aparently that doesn't work alone and it lead to another link to more required software - the Android SDK and then came a long list of more steps just to install that.
Hopefully, if I ever figure this out, I will write a simple to understand post that new NC CM7 people like me can understand.
Try this: unplug the charger cable from the "n"-shaped brick. Plug the cable into a USB port on your computer. Plug the other end into the NC as usual.
Tap the button(s) that pop up on the NC to allow USB mounting.
Two new drives show up on the PC. These are /emmc and /sdcard, but they'll have different names on the PC. Use Windoze Explorer to drag and drop. I might suggest /sdcard/download as a first try, but feel free to drop copies in multiple directories in order to experiment. Adobe Reader looks all over for its docs.
When you're done, click on the PC tray thing to release BOTH drives from the PC.
Poke around with your reader to find these files. Some readers might be better at looking around than others.
Let us know how you get along!
Sent from my NookColor using XDA Premium App
So once you download the NookColorUMS.apk, use the file explorer on your nook, go to the 'download' folder and click on this file. It will open up and ask you if you can install the program. Click yes and let it install.
When you are done with that, open the program and mount the partition of interest(i think its 4 as a previous poster stated). Now when you plug your nook into your computer that partition will mount. There should be 4 partitions if you are using the CM7 on SD card.
You should be able to now drag and drop files on that partition. Just make sure you unmount properly as I have run into problems if you just unplug it.
extremepizza
Imbroglio said:
Thank you for posting the reply on the APP nook/cm7 file system.
Unfortunately, it still doesn't address HOW to sideload (DRAG AND DROP) books on the utilizing the empty portion of a CM7 SD card.
1. I put the SD card into an reader.
2. Windows xp detects the card.
3. I pull up windows explorer.
4. It only displays the "root" directory. Yes, I can drag and drop into the "my documents" folder but this partition only contains about 300 meg total storage.
5. It does not display the other partitions, thus I cannot drag and drop anything into the 5g partition.
Yes, I can drag and drop on the NC onboard storage, but not the CM7 SD card. Is the remaining 5 gigs only allocated for APP storage?
Now after 2 weeks searching this site and seeing numerous recommendations for software but not what to do with it or cryptic posts assuming that one already is very familiar with the android os, I am pulling my hair out over this. The only post I found that directly and simply addressed the issue requires that I reformat the SD with SDformatter to allow for full storage access but then I have install CM7 all over again.
I downloaded NookColorUMS-0.3b.apk using Opera, but that is all it did. I had to search again and it mentioned something about ADB (no idea what that is) which had to be installed. Aparently that doesn't work alone and it lead to another link to more required software - the Android SDK and then came a long list of more steps just to install that.
Hopefully, if I ever figure this out, I will write a simple to understand post that new NC CM7 people like me can understand.
Click to expand...
Click to collapse
I am using Racks Phiremod/Honeycomb dual boot image but I don't see why this method would not work for your install. Rather than messing with mounting partitions and all that whenever I want to put something on the SD Card partition I will just plug my nook into the computer, copy and paste whatever file I need onto the nook's internal memory, and then use root explorer to cut and paste the file from the internal memory to the SD Card partition.
my emmc and sd card both show up and writable drives. I use stuff that I need faster access to in there, since the mount time is faster than the SD card.
I have built an SD bootable CM7 card as described by verygreen, but when I try to create folders on that drive from my PC (filled with APK files) I can't see them on the Nook. I have no problem doing this on my rooted emmc Nook, but when I boot to an SD card (that I am setting up for my daughter's Nook) I can't access any other folders/files.
What am I doing wrong? (The box is checked allowing Unknown Sources and I am currently running 177).
Are you connecting the nook via USB or putting the SD card in your computer directly?
Sent from my NookColor using Tapatalk
The card is placed in a usb card reader (or a usd card reader), either one sees the files on the PC, but it will not find it on the nook. Even when I create a folder on the nook and move the disk over and copy a file into the new folder I can't see it on the nook.
You need to connect through the nook
Sent from my LG Optimus V using Tapatalk
Littlewhat said:
The card is placed in a usb card reader (or a usd card reader), either one sees the files on the PC, but it will not find it on the nook. Even when I create a folder on the nook and move the disk over and copy a file into the new folder I can't see it on the nook.
Click to expand...
Click to collapse
This is because the partition the computer sees is the boot partition... to access it in the nook... either in terminal or adb shell:
1. mkdir /sdcard/boot
2. mount /dev/block/mmcblk1p1 /sdcard/boot/
the items on the boot partition of the SD (including the folders and apks you put there) will be visible as /sdcard/boot
Pretty sure you'd have found it in the VG SASD thread and a few others... since I have posted this several times.
Thanks for the response. I'm not real familiar with ADB so I tried it with terminal and was able to create a directory but mounting gave me a 'permission denied' message.
(Sorry if this is old info, I've spent the morning combing the SASD thread and haven't found it yet, just too much info, thanks for taking the time to help some of us who are slower learners!)
Edit: learning slowly, used su to get into superuser (#) and made directory, but when I try to mount it says not found.
Littlewhat said:
I have built an SD bootable CM7 card as described by verygreen, but when I try to create folders on that drive from my PC (filled with APK files) I can't see them on the Nook. I have no problem doing this on my rooted emmc Nook, but when I boot to an SD card (that I am setting up for my daughter's Nook) I can't access any other folders/files.
What am I doing wrong? (The box is checked allowing Unknown Sources and I am currently running 177).
Click to expand...
Click to collapse
If you asked this question 2 weeks ago, I might able to give you the exact answer but since I wiped out the uSD CM7, I can't remember correctly what would happen.
However, based on my experience (+/- my memory loss), what you describe is all correct and that's what it is. Odd? Maybe, but don't panic.
Let's go slowly
when I try to create folders on that drive from my PC
Click to expand...
Click to collapse
you meant you created a folder in the "boot" partition on the uSD card?
a. if so, it's not recommended. Using the left over FAT32 partition instead
b. if so, try to use Root Folder app (it's a paid app) to access root folder (boot partition) directly on the NOOK. If you see the folder you created earlier, move it to the eMMC storage.
c. if not, pls tell us more
Yes, the SD card was accessed on my PC thru a USB adapter and a folder called 'APKs' was created in the boot sector. (I have also tried just adding the files into one of the other folders, but anything I add is invisible to the Nook).
So if I need to create a folder in other than the boot sector, I would need to use something like Easeus Partition Master to make that sector active and then create the folder and add appropriate files? (When I rooted my Nook directly to emmc it sure seemed a lot easier to access folders created by my PC.)
(Thanks again for all your help.)
That's much clearer, m8
Now, I think it's easier to get straighten.
1. From PC, using SD slot or usb-sd adapter, move (remove) the "APKs" folder off your NC to your PC, save it there, then eject the uSD off PC.
2. Insert the uSD into the NC and turn it on, make sure it boots into CM7 properly.
3. Wait until it completely load. Now using usb cable to connect the NC and the PC.
4. Watch the notification status bar on the NC, tap on it then turn on usb mass storage.
5. PC should recognize the NC and ready for use.
6. Move your "APKs" folder from PC into your uSD (it would probably named as CM7SDCARD)
Update: on item 6, I prefer to move the folder to the eMMC storage. I'm not 110% sure if the NC see "it" (it means the left-over FAT32 partition on the uSD card) or not, but I do believe, 99% it will.
Deleted folder on SD card (from PC) and verified reboot ok.
Connected USB cable to PC then to Nook, no notification bar comes up, but battery icon shows charging as well as the lighted n on the cable.
Tried to use Nook Tweaks to begin USB connection (both boxes checked).
Still no recognition from the PC that anything is connected.
Edit: I am using my rooted Nook to build this SD card for my daughter's new unrooted Nook and when I plug the rooted Nook into the PC I don't get any verification from the PC on it either. No change on the Nook either, just the charging light and icon indicator.
Tried to use Nook Tweaks to begin USB connection (both boxes checked).
Click to expand...
Click to collapse
I don't have the NC with me now so I don't know what "both boxes" are and need to be checked or not.
The USB Settings from Nook Tweaks has a "USB Host Mode" (to enable host mode to connect peripherals) and an "External VBus" (to allow charging and hosting).
Both boxes were checked.
I've read that some of these issues can be caused by a faulty cable. If so, are there other alternatives to connecting thru the cable to open this up.
I have also tried the MiniTool partition program but I have not been successful in getting the active partition to 'stick' . (It immediately reverts back to the root being active after I apply the changes.)
You definitely have to UNCHECK the "USB Host Mode".
I'm not so sure with the "External VBus" status but suggest leave it by default.
With nothing checked in the Nook Tweaks section, USB cable connected to the Nook and then the PC, there is no recognition or acknowledgment that the Nook is there from the PC. (This is true whether I use my rooted version or try after booting to the sd card.)
If it is a cable problem, I will need to replace that, but aren't there other ways to make the sd card usable?
I've tried making the 4th partition action using Minitool and also Easeus but it didn't work. (Minitool just reverts back to boot partition active immediately after I apply the changes.)
Slow down, MiniTool and partitioning have nothing to do with this. Don't make more mess.
a. when plugging NC to PC, do you see any indication on the NC's status bar? like usb debugging?
b. when plugging NC to PC, do you see any indication on the PC (running Windows)? like removable drive?
There is no indication on the PC of any new connection.
The only indication on the Nook is the lighted n at the end of the cable and the recharging icon in the status bar.
Edit: the reason I was providing info on the MiniTools experience I was having is because my original question was how to access a folder (and files) created on my sd-bootable disk on my PC but the Nook can't see it. One way to accomplish this is to write the folder/apks directly to the Nook thru the USB cable. Other alternatives are to use windows to access it on my PC but I need to be able to access the 4th partition (if my reading of the various posts is correct). MiniTools and Easeus are two options that allow you to activate the 4th partition but it has not worked for my yet.
The USB cable connection problem appears to be there whether I boot to emmc or to sd.
Edit: I was able to find a non-nook cable (for my Blackberry) and using it my Nook recognizes when I connect to the PC and executes the USB Mass Storage Utility which allows me to turn USB storage on/off. Unfortunately the PC doesn't add any new logical drives in My Computer. The device manager shows 2 B&N Ereader Disk USB devices but with the yellow ! by them.
The 4th partition you mentioned about should be taken care during the installation, using verygreen's instructions, if you do correctly. There is ABSOLUTELY no need to mess around with MiniTool or the a-like.
Another question, have you turn on the USB Debugging feature? (I don't remember where, NC not with me now). If it not, check it box, try to plug in PC using usb cable again. I expect at least the usb debugging indicator will lit up.
I checked the debug feature (part of settings/applications/development/) and it was not checked. I checked it and now I get the robot icon (USB debugging conntected) and the USB icon to toggle storage on/off. Still nothing in My Computer and the drives shown in device manager are still yellow ! .
The device manager says "This device cannot start. (Code 10)"
I know it would be too early to say but I gonna to say anyway "congratulation".
When you see those icons on the NC status bar, it's 99% that it would work.
Now, back to the reality.
1. Connect usb cable between NC and PC running Windows
2. As you can see those icons, tap on the status bar to bring up then tap on "USB Mass Storage" (or something like "connect to computer for file/folder transfer, NOT the debugging). Read the warning then tap to enable USB connection
3. Now, pay attention on the PC, if it goes smoothly as expect, by now, you now can access both storages (eMMC and left-over of the uSD card) from PC. If so, move your "APKs" folder over.
I wish you luck
1- cable connected, icons on nook show up
2- tapping on status bar gives access to USB Mass Storage utility and option to turn on/off USB storage - with USB storage set to 'on' there is no recognition on the PC
Device manager shows two entries under disk drives for B&N Ebook Disk USB device but both are tagged with yellow ! (which a right click shows "This device cannot start. Code 10")
Is there something I need to do to download a usable driver for this?
(OBTW thank you for your help and patience)
Edit: within device manager I uninstalled the two drives (while the nook was still connected and USB active) and then had it search for new hardware. This time it loaded the drivers and NO yellow ! . At that point the PC recognized the drives and I have been able to create a folder that is accessible by the Nook and the PC. Thank you for help in this.
I have also contacted B&N and have a replacement cable on the way (which seemed to be a large part of my problems). Thanks Votinh for sticking with me while I got this resolved.
Say i'm dual booting on my sd card cm7 and cm9 and I want to save a file to open up on my alternate boot cm9 but i'm in my primary sd boot (cm7).
Is there anyway to do this easily without messing with emmc or having to reload or do anything extra (such as usb host mode)?
thanks
echoedge said:
Say i'm dual booting on my sd card cm7 and cm9 and I want to save a file to open up on my alternate boot cm9 but i'm in my primary sd boot (cm7).
Is there anyway to do this easily without messing with emmc or having to reload or do anything extra (such as usb host mode)?
thanks
Click to expand...
Click to collapse
Don't both cm7 and cm9 share the same sdcard space? They do on mine. Just save it to sdcard, boot to the other system and the file should still be on sdcard. Or you could save it to emmc media and both systems see that also.
echoedge said:
Say i'm dual booting on my sd card cm7 and cm9 and I want to save a file to open up on my alternate boot cm9 but i'm in my primary sd boot (cm7).
Is there anyway to do this easily without messing with emmc or having to reload or do anything extra (such as usb host mode)?
thanks
Click to expand...
Click to collapse
I save files that I share on my sdcard to the emmc so that I can use them when I pop the card out.
Create a folder on sdcard (mine is 'dumped'). Put any and everything in there you feel you'l lever need to run whatever os you have (mine is racks triple boot). Use Imager to back up your card image to computer. You'll have access to everything on card whatever you boot into, and a spare to reinstate anything on your card. Like a computer back up, this just makes good sense.