[Q] Gapps and CM7 auto update/upgrade when booting from SD card? - Nook Color Q&A, Help & Troubleshooting

Hello all! New user here. I looked in the forums for this and can't find this question answered, but I am sure I missed it. My apologies before hand if that's the case.
I have a Nook with a 16GB SanDisk card with CM7 running off the card itself, which allows me to dualboot back to the original Nook software if I want to.
My question is this. Is there a way to automatically update CM7 and/or Google Apps without copying them to my Sd card on my PC, booting into recovery, etc?
I know there's the paid version of Rom Manager, but if I read that correctly, that only works when the Nook has CM7 running on the Nook directly and not on the SD card?
Thanks in advance for your time!

You can use adb and mount the boot partition to an empty folder on the partition CM7 sees as the SD card and push the nightly to that location... then just use adb's reboot recovery command...
(FIRST TIME ONLY) adb shell mkdir /sdcard/boot
adb shell mount /dev/block/mmcblk1p1 /sdcard/boot
adb push (UPDATE FILE) /sdcard/boot
adb reboot recovery

Thanks!
I will give this a try! Let's see if I can not break my root.
DizzyDen said:
You can use adb and mount the boot partition to an empty folder on the partition CM7 sees as the SD card and push the nightly to that location... then just use adb's reboot recovery command...
(FIRST TIME ONLY) adb shell mkdir /sdcard/boot
adb shell mount /dev/block/mmcblk1p1 /sdcard/boot
adb push (UPDATE FILE) /sdcard/boot
adb reboot recovery
Click to expand...
Click to collapse

Related

mounting SD??

Does anyone know where a video of mounting you SD card will be be??
Or can anuone tell me how to mount my SD Card
Mount it howso? Because you can connect it to the computer, and then an option to mount it will pop up on the phone. Or you can do this (probably what you want):
adb remount
adb shell
su
mount -o rw,remount auto /sdcard
That will mount your sdcard in readable/writable mode.
mrinehart93 said:
Mount it howso? Because you can connect it to the computer, and then an option to mount it will pop up on the phone. Or you can do this (probably what you want):
adb remount
adb shell
su
mount -o rw,remount auto /sdcard
That will mount your sdcard in readable/writable mode.
Click to expand...
Click to collapse
or you can just install mountusb from market.
well i want to mount it. so i can but the sdk android on my phone and root it.
I dont know which way that is. but how do i do it that way??
Well, the AndroidSDK doesn't actually go on the phone itself. If all you want is just to root the phone, I'd suggest using this (VERY easy): http://link.geekfor.me/fresh105
Download that, and then run it. There is a function in the program that will automatically root your phone for you, all you have to do is click a few buttons.
will it put nandroid on my sd card where i can put it onto my computer and does it put on backup
ok but if i use the fresh kitchen can i use DamageControl v2.07.2.
DamageControl v2.07.2 is Android 2.1
Fresh Kitchen will install a custom recovery when it roots your phone. The custom recovery will allow you to use nandroid, which will put backups of your phone on your sdcard in a folder labeled "nandroid". Once you root, you can install any ROM you want on your phone, even if it is Android 2.1.

Which OC kernel and where do I find it?

Am running the Phiremod/HC dual boot on sd, and want to flash the 1.1Ghz OC kernel.
Can someone point me to the right kernel download, and a guide on how to flash it to SD card?
From reading I assume there are versions for emmc and different ones for SD roms, but I'm a little worried I'll pick the wrong one and ruin everything.
Yeah, wot he said ^ 'cept for a CM7 kernel.
Don't know about phiremod, but the cm7 and stock kernels can be found in Dalingrin's OC kernel. The files are named with sdcard or emmc to avoid confusion.
As far as flashing it, get a bootable sd card and put the OC zip in the root of the card (don't unzip it).
Boot the card and install the zip using CWM (something like "install zip from sd card"). For CWM, the N button is select, the power is back, and the volume buttons are up/down.
First apologies if I'm hijacking the OP's thread. But where I come unstuck is getting into CW Recovery.
Assume I need an OC kernel on the uSD card; I can't seem to find a way to get into CWR. I've tried RomManager -> CWR, but that just reboots the Nook. When I remove the uSD card and reboot THEN the machine boots into recovery, but for the eMMC system. But I dont want that!
So the big question is how can I run the system from the SD card AND get into CW Recovery for that system and NOT the embedded one?
'Confused of Tunbridge Wells'
doncaruana said:
Don't know about phiremod, but the cm7 and stock kernels can be found
Click to expand...
Click to collapse
Thanks for the helpful links!
I've managed to flash one of Dalingrin's older OC kernels successfully, but when I try the latest one, the nook doesn't boot into phiremod.
The screen flashes, and then nothing happens.
I was going to try and flash via ADB, following the instructions in Dalingrin's thread, but the instructions for flashing to EMMC and SD look exactly the same to me (shouldn't the sd version NOT go into emmc?), and I'm not sure what location to place the unzipped files:
If not using CWM, unzip the contents of the update and push uImage onto /boot partition. Then you will need to copy the system folder.
if flashing to sdcard:
adb shell mount -t vfat /dev/block/mmcblk1p1 /emmc
adb push uImage /emmc/uImage
adb remount
adb push system /system
if flashing internal eMMC
adb shell mount -t vfat /dev/block/mmcblk0p1 /emmc
adb push uImage /emmc/uImage
adb remount
adb push system /system
Reboot Nook!
siskiou said:
Thanks for the helpful links!
I've managed to flash one of Dalingrin's older OC kernels successfully, but when I try the latest one, the nook doesn't boot into phiremod.
The screen flashes, and then nothing happens.
Click to expand...
Click to collapse
To use one of the later kernels you need to update your uboot to either the one that comes with the most recent nightly's or the stoc bn 1.2 uboot.
obsidianblackhawk said:
To use one of the later kernels you need to update your uboot to either the one that comes with the most recent nightly's or the stoc bn 1.2 uboot.
Click to expand...
Click to collapse
I would, but am too new at this, and need instructions.
siskiou said:
Thanks for the helpful links!
I've managed to flash one of Dalingrin's older OC kernels successfully, but when I try the latest one, the nook doesn't boot into phiremod.
The screen flashes, and then nothing happens.
I was going to try and flash via ADB, following the instructions in Dalingrin's thread, but the instructions for flashing to EMMC and SD look exactly the same to me (shouldn't the sd version NOT go into emmc?), and I'm not sure what location to place the unzipped files:
If not using CWM, unzip the contents of the update and push uImage onto /boot partition. Then you will need to copy the system folder.
if flashing to sdcard:
adb shell mount -t vfat /dev/block/mmcblk1p1 /emmc
adb push uImage /emmc/uImage
adb remount
adb push system /system
if flashing internal eMMC
adb shell mount -t vfat /dev/block/mmcblk0p1 /emmc
adb push uImage /emmc/uImage
adb remount
adb push system /system
Reboot Nook!
Click to expand...
Click to collapse
THIS IS WHERE I AM STUCK.
I'm a NOOB, running CM7 from SD CARD.
I can't figure out how to install the kernel to my NK.
I copy the unzipped file into my SD card and using size agnostic installer trying to boot into recovery mode to run install.
For some reason, I cannot get into recovery mode. I'm trying the suggested power button and N button combinations, tried selecting reboot into recovery mode from CM7 desktop and selecting reboot into recovery mode from ROM manager that came with install, with no luck.
AM I DOING SOMETHING WRONG??
Also, what does this mean??
siskiou said:
if flashing to sdcard:
adb shell mount -t vfat /dev/block/mmcblk1p1 /emmc
adb push uImage /emmc/uImage
adb remount
adb push system /system
Click to expand...
Click to collapse
Is this a command line to use in terminal emulator????
HELP HELP!!!
no need for me to worry about this, actually change to nightly build 102 and the Size agnostic installer did its magic to install kernel with no issues.

Putting update on sd card w/o removing it?

I was wondering if there is an app that allows you to put an update (nighty) on an sd card without having to remove the card and attaching it to your computer.
I have wifi pro and that doesn't look like it allows me to do that and just hooking the nook to my pc doesn't look like it gives me the option either. Am I missing something?
I've haven't done myself yet but heard people mentioned about the app called "Root Explorer"??? or "Root Folder" or something with "root".
Download nightly build directly on the NC then use the app to drag the zip file over the "boot" partition.
I think it should be able to do, not done that myself.
The best I can offer is, if you eject the card long enough to start booting to stock, then re-insert it before stock fully loads (on one of the splash screens), the boot partition will be mounted as storage and you can connect to your PC by USB to drop an update file in there.
It might help you out if the issue is not having access to a card reader, but you still have to pop the card out and back in.
ETA: I never had any luck getting an update on the root of any SD, even one formatted for storage, using a file manager.
NookColorUMS allows you to mount any partition. Turn off compatibility mode in spare parts and then reboot to see app in full screen.
http://forum.xda-developers.com/showthread.php?t=952456
If you're running off of SD and adb is working then:
adb shell busybox mkdir /sdcard/boot
adb shell busybox mount /dev/block/mmcblk1p1 /sdcard/boot
adb push ***UPDATEFILE*** /sdcard/boot
adb reboot recovery
If running from EMMC then:
adb shell busybox mkdir /sdcard/boot
adb shell busybox mount /dev/block/mmcblk0p1 /sdcard/boot
adb push ***UPDATEFILE*** /sdcard/boot
adb reboot recovery

[Q] TF101 doesn't recognize internal sdcard

I have CWMR 5,8 installed. First boot automatically loads into CWMR [this is, as far as I've read, a problem with the recovery and I can handle it if I can fix the internal sd card]. Rebooting and cold-booting helps me boot up my ROM (I've tried multiple ROMs, currently on CM9).
Everything works, except for my internal sdcard (weirdly thought I cannot access my external micro SD from CWMR). It seems as if its not mounted. I got ADB access to the device, /sdcard is there and all of the files are there. I can adb push and adb pull, so the internal storage seems to be working fine, it just doesn't mount it. Maybe the issue is permissions? ls -la sdcard outputs: lrwxrwxrwx root root 2012-10-26 20:43 sdcard -> /storage/sdcard0
Any ideas? I've tried installing different versions of CWM recoveries (adb push zip file and then using CWM to actually install it), they don't seem to stick.
Does /storage/sdcard0 exist on your device (AFAIK this is the new location defined by JB, but I don't know what CM9 does)?
If not, you may find your files in /data/media.
peeter.tomberg said:
I have CWMR 5,8 installed. First boot automatically loads into CWMR [this is, as far as I've read, a problem with the recovery and I can handle it if I can fix the internal sd card]. Rebooting and cold-booting helps me boot up my ROM (I've tried multiple ROMs, currently on CM9).
Everything works, except for my internal sdcard (weirdly thought I cannot access my external micro SD from CWMR). It seems as if its not mounted. I got ADB access to the device, /sdcard is there and all of the files are there. I can adb push and adb pull, so the internal storage seems to be working fine, it just doesn't mount it. Maybe the issue is permissions? ls -la sdcard outputs: lrwxrwxrwx root root 2012-10-26 20:43 sdcard -> /storage/sdcard0
Any ideas? I've tried installing different versions of CWM recoveries (adb push zip file and then using CWM to actually install it), they don't seem to stick.
Click to expand...
Click to collapse
ok first thing, your external microsd card should be /Removable/MicroSD/. also what do you mean when you say youre pushing zip files then installing them but they dont seem to stick? how are you connecting via adb are you using ./adb shell to connect and move files? theres a certain way you have to push files to the device when youre in recovery.
Fixed it
Hello,
Not being able to mount the internal sdcard
The problem was I installed CM10 then somehow rolled back to CM9. The sdcard location moved between those 2 versions and the CM9 version wasn't able to mount it anymore. After installing CM10 everything worked apart from the boot loop.
TF101 booted into recovery every time
I fixed that by flashing: http://forum.xda-developers.com/showthread.php?t=1213723
and running the command to actually load in the new recovery from here: http://forum.xda-developers.com/showthread.php?t=1530337
In summary
My tf101 works thanks to all the info available on xda

[Q] Retrieve data from CWM

Hello there
I was wondering, can the internal sd card can be mounted with CWM?
If so, can you provide the button count to do it?
I have a S4 with a broken LCD, and I want to retrieve the data, but since I can't enter the passcode, not kies or windows see the files.
I managed to root it and flash CWM but now I got stuck and I just don't remember if I can't mount the internal SD with CWM
dsv591 said:
Hello there
I was wondering, can the internal sd card can be mounted with CWM?
If so, can you provide the button count to do it?
I have a S4 with a broken LCD, and I want to retrieve the data, but since I can't enter the passcode, not kies or windows see the files.
I managed to root it and flash CWM but now I got stuck and I just don't remember if I can't mount the internal SD with CWM
Click to expand...
Click to collapse
install android sdk if you dont have it.
boot your phone into cwm and connect to pc.
open cmd line where adb file exist, and type:
Code:
adb devices
you must see your serial number with recovery
Code:
adb pull /sdcard/ /sdcard/
when it finish, "sdcard" folder in "c" directory
samersh72 said:
install android sdk if you dont have it.
boot your phone into cwm and connect to pc.
open cmd line where adb file exist, and type:
Code:
adb devices
you must see your serial number with recovery
Code:
adb pull /sdcard/ /sdcard/
when it finish, "sdcard" folder in "c" directory
Click to expand...
Click to collapse
So, after some struggling with the adb drivers I got the device detected by adb and gave this a try, but I think I hit another wall.
sdcard showed 0 files, so I entered the shell and realized the sdcard was not mounted.
I tried to mount it by running mount /sdcard/ but it says sdcard can't be found in fstab{
This is what my fstab has:
cat fstab
/dev/block/mmcblk0p19 /cache ext4 rw
/dev/block/mmcblk0p21 /data ext4 rw
/dev/block/mmcblk0p20 /system ext4 rw
Any suggestion? Thanks in advance
EDIT: I'm thinking that maybe CWM didn't flash correctly (I did it from Odin, and since I'm going blindly there is no way for me to know for sure)
dsv591 said:
So, after some struggling with the adb drivers I got the device detected by adb and gave this a try, but I think I hit another wall.
sdcard showed 0 files, so I entered the shell and realized the sdcard was not mounted.
I tried to mount it by running mount /sdcard/ but it says sdcard can't be found in fstab{
This is what my fstab has:
cat fstab
/dev/block/mmcblk0p19 /cache ext4 rw
/dev/block/mmcblk0p21 /data ext4 rw
/dev/block/mmcblk0p20 /system ext4 rw
Any suggestion? Thanks in advance
EDIT: I'm thinking that maybe CWM didn't flash correctly (I did it from Odin, and since I'm going blindly there is no way for me to know for sure)
Click to expand...
Click to collapse
did you try this
Code:
adb shell
mount /sdcard
samersh72 said:
did you try this
Code:
adb shell
mount /sdcard
Click to expand...
Click to collapse
I did. That's when it said that /sdcard/ coudn't be found in /etc/fstab
****************************
UPDATE
I got it to work.
If anyone is interested, this is how I mounted the sdcard
Code:
mount /dev/block/mmcblk0p21 /sdcard/
where mmcblk0p21 is the partition that sdcard usually mounts.
After that, it was a simple as exiting the shell and run
Code:
pull /sdcard/ /sdcard/
as recommended above

Categories

Resources