[Guide] CM6 Installation with a2sd and swap - G1 Q&A, Help & Troubleshooting

I was trying to upgrade to CM6 from CM5 and was facing lot of issues so I followed below process and got it worked. I thought of sharing it with everybody as lot of person are having issues.
I know most of the information is available on XDA but not on a single place.
I have made a separate thread because A2sd and SWAP are not supported by CM6 officially.
This is not an official method of installing CM6, this is how I got it worked and you can use it for reference.
1) Preperation: You need to get the below mention files, Please get these files from below mentioned thread:
a) CM6 and Gaaps
b) CustomMTD Patch - You only need FR-recovery and FR-boot latest version.
c) Script for a2sd and swap - get the latest script.
d) Fastboot - Fastboot should be setup and working, If you are on Linux go here
e) SD Card Partition - If you are not sure how to partition the sd card. If you want to use a2sd and swap, please partition your sd-card.​Store all files on root of sd-card.
2) Connect the phone to PC, do not mount the phone.
3) Wipe the phone:
a) Boot into recovery(reboot while holding home and power). Wipe everything.
b) Boot in fastboot mode. (reboot while holding back and power)
Enter the command in terminal or command prompt on the PC
fastboot erase system -w​ c) reboot into recovery.​
4) Install the custom MTD. (If you already have custom MTD then this step is not required.)
a) Flash customMTD fr-recovery file.
b) Reboot into recovery.​
5) Install CM6 Gapps and boot loader.
a) Flash CM6
b) Flash Gapps
c) Flash Boot Loader fr-boot file
d) reboot phone​
6) Once phone is booted and you are on the home screen, go to
CyanogenMod Settings > Application Settings > Install location - Set Install location as Internal, make sure allow application moving is not checked.
CyanogenMod Settings > Performance Settings - make sure that Compcache, JIT, dithering is not checked. If something is checked please uncheck it.
Lock home in memory can be checked, but some guys has reported that it drains a lot of battery.
Reboot the phone.
7) Go to terminal type below code
su
sh /sdcard/fr-patch140.txt a2sd​
It will ask if you want to install a2sd, type Y and press enter. Once APKManager is installed, type quit to exit.
Reboot the phone.
8) If you are not using a2sd and want to setup swap, please enter the below command in the terminal otherwise continue to step 9.
su
sh /sdcard/fr-patch140.txt sdext​
reboot the phone.
9) Go to terminal type below code
su
sh /sdcard/fr-patch140.txt swap​
It will ask for swappiness, I use 60 there, but its your own preference. After that it will ask you if you want to use swap-file, press n and enter.
After this enter below to terminal
Free​If you get swap setup it will show in front of swap in terminal, if the result show zero swap then reboot and do the step 9 again.
Now you have a CM6 with apps2sd and swap. All the newly installed apps will automatically go to ext.
If you don't like 3d gallery and want it to replace it with old gallery..This has been provided by ZilverZurfarn on CM6 thread.
Extract Gallery.apk from a older CM update (like 5.0.8) somewhere (c:\temp in the example below)
Using adb:
adb remount
adb shell rm /system/app/Gallery3D.apk
adb push c:\temp\Gallery.apk /system/app/Gallery.apk​
Also there are some apps which I don't prefer, as I don't use android native keyboard, Android browser, POP email, amazon MP3 etc. So I have created a script for my use which has been shared and it can be run from the terminal..
download remove-app-v1.0.txt and store it to root of your sd card. than enter below commands in terminal
su
sh /sdcard/remove-app-v1.0.txt​
currently this script will remove below mention apps based on user input.
Amazon MP3, Live Wallpaper picker, CM Wallpapers, POP Email, Android Native Browser, Android Native Onscreen Keyboard, Genie Widget...
Note: - Before removing browser and keyboard please make sure you have a replacement for them.
I do not take any credit for work, its just a reference for installing CM6. Thanks to Cyanogen and team, Firerat, Lbcoder for producing these amazing roms and methods.....
Please provide your feedback and suggestion for the guide.
If you like my guide and want to Donate

Can I have swap without app2sd?
I skipped the app2sd part, but the swap wouldn't work.
it didn't ask me about the swap file.
It ended with:
use
/system/bin/swappy on # to turn swap on

supa2001 said:
Can I have swap without app2sd?
I skipped the app2sd part, but the swap wouldn't work.
it didn't ask me about the swap file.
It ended with:
use
/system/bin/swappy on # to turn swap on
Click to expand...
Click to collapse
Yes, swap can be there without A2sd..
Do you have Fr-Patch139.txt script or any other version...could you please reboot and so the step 8 again

I did it many times
Do I need to create some files like userinit ?
Thanks for replying.

supa2001 said:
I did it many times
Do I need to create some files like userinit ?
Thanks for replying.
Click to expand...
Click to collapse
Try below command:
sh /sdcard/fr-patch139.txt sdext​
reboot the phone
sh /sdcard/fr-patch139.txt swap​
If this doesn't work, could you please pass on the message you are getting from the script.

G1sanju said:
Try below command:
sh /sdcard/fr-patch139.txt sdext​
reboot the phone
sh /sdcard/fr-patch139.txt swap​
If this doesn't work, could you please pass on the message you are getting from the script.
Click to expand...
Click to collapse
It works now. Thanks.
What does sdext do ?
When I ran sdext, it said "danger detected" though, is it still safe?
Same thing appeared when I did swap.

G1sanju said:
I was trying to upgrade to CM6 from CM5 and was facing lot of issues so I followed below process and got it worked. I thought of sharing it with everybody as lot of person are having issues.
I know most of the information is available on XDA but not on a single place.
I have made a separate thread because A2sd and SWAP are not supported by CM6 officially.
This is not an official method of installing CM6, this is how I got it worked and you can use it for reference.
1) Preperation: You need to get the below mention files, Please get these files from below mentioned thread:
a) CM6 and Gaaps
b) CustomMTD Patch - You only need FR-recovery and FR-boot latest version.
c) Script for a2sd and swap - get the latest script.
d) Fastboot - Fastboot should be setup and working, If you are on Linux go here
d) SD Card Partition - If you are not sure how to partition the sd card. If you want to use a2sd and swap, please partition your sd-card.​Store all files on root of sd-card.
2) Connect the phone to PC, do not mount the phone.
3) Wipe the phone:
a) Boot into recovery(reboot while holding home and power). Wipe everything.
b) Boot in fastboot mode. (reboot while holding back and power)
Enter the command in terminal or command prompt on the PC
fastboot erase system -w​ c) reboot into recovery.​
4) Install the custom MTD. (If you already have custom MTD then this step is not required.)
a) Flash customMTD fr-recovery file.
b) Reboot into recovery.​
5) Install CM6 Gapps and boot loader.
a) Flash CM6
b) Flash Gapps
c) Flash Boot Loader fr-boot file
d) reboot phone​
6) Once phone is booted and you are on the home screen, go to
CyanogenMod Settings > Application Settings > Install location - Set Install location as Internal, make sure allow application moving is not checked.
CyanogenMod Settings > Performance Settings - make sure that Compcache, JIT, dithering is not checked. If something is checked please uncheck it.
Lock home in memory can be checked, but some guys has reported that it drains a lot of battery.
Reboot the phone.
7) Go to terminal type below code
su
sh /sdcard/fr-patch139.txt a2sd​
It will ask if you want to install a2sd, type Y and press enter. Once APKManager is installed, type quit to exit.
Reboot the phone.
8) Go to terminal type below code
su
sh /sdcard/fr-patch139.txt swap​
It will ask for swappiness, I use 60 there, but its your own preference. After that it will ask you if you want to use swap-file, press n and enter.
After this enter below to terminal
Free​If you get swap setup it will show in front of swap in terminal, if the result show zero swap then reboot and do the step 8 again.
Now you have a CM6 with apps2sd and swap. All the newly installed apps will automatically go to ext.
If you don't like 3d gallery and want it to replace it with old gallery..This has been provided by ZilverZurfarn on CM6 thread.
Extract Gallery.apk from a older CM update (like 5.0.8) somewhere (c:\temp in the example below)
Using adb:
adb remount
adb shell rm /system/app/Gallery3D.apk
adb push c:\temp\Gallery.apk /system/app/Gallery.apk​I do not take any credit for work, its just a reference for installing CM6. Thanks to Cyanogen and team, Firerat for producing these amazing roms and methods.....
Please provide your feedback and suggestion for the guide.
Click to expand...
Click to collapse
Thanks mate this will really help me to put my apps on SDcard..as past days m really trying to get my phone memory safe...

supa2001 said:
It works now. Thanks.
What does sdext do ?
When I ran sdext, it said "danger detected" though, is it still safe?
Same thing appeared when I did swap.
Click to expand...
Click to collapse
"danger detected" message is for SPL, It checks for the SPL first and you have danger spl installed.
By default CM6 does not mount ext partition as it does not support a2sd right now. sdext creates a mount point for ext partition. a2sd internally does that but as you are not using a2sd this was not done.

vermaekansh said:
Thanks mate this will really help me to put my apps on SDcard..as past days m really trying to get my phone memory safe...
Click to expand...
Click to collapse
Thanks, If you use this guide then please provide your feedback and suggestion towards it.

Sorry, but is there a script to disable swap? I am gonna do some test to see what works best.
Thanks.

supa2001 said:
Sorry, but is there a script to disable swap? I am gonna do some test to see what works best.
Thanks.
Click to expand...
Click to collapse
In the terminal
sh /sdcard/fr-patch139.txt rev swap​
this will turn the swap off.

Watch out...newbie in the room
Okay, you are going to love this.... I'm sorry if this is too long but I hope you can help a newbie trying to learn this stuff!
I am REALLY new to all this, and did a Root and Rom Update as the Unlockr.com videos taught me, to get CM6. And then also added the gapps file because I read a thread that that was needed to get gmail and the market on my phone. Once rebooted, everything worked ok but slow. Then I noticed that my gmail wasn't syncing, and then it started to force close. So I did a wipe and loaded CM5 because I saw on a thread that that was faster for the G1. With all of this, after reading your thread and suggestion, I am wondering...
1. Is CM6 slow for you?
2. Should I have loaded gapps? IS that how to get gmail and should it sync automatically? If not, is there a way to make it?
3. Should I stick with CM5 or try CM6 following these suggestions??
And big ones.... I wish there was a website somewhere with definitions to all the terms and apps used. Lol.. I Google all of them but don't always find anything that actually describes what they are.
Swap and app2sd were mentioned on the video instructions for loading a new ROM but do they automatically come in the ROM zip files? Because in the video they didn't load them separately. They partition the card "for" them, but don't show installing them. Obviously I assume App2sd is a program to store your apps on your sd card. Is this something that I SHOULD install? Is swap something I should install?
And what is a CustomMTD Patch? Annnnnnd, what is fastboot??
I know this is a lot of questions... I decided to ask them all here because they pertain to this thread because I'm wondering if I should do this...
Thanks for any and all answers!

I would assume that you have a G1, and my answer is based on that assumption. If you have different phone let me know.
1. Is CM6 slow for you?
If I don't use a2sd and swap, answer is yes. I install lot of apps, with cutomMTD it works fine in starts but slows down after some time. With a2sd and swap it is worth a try.​
2. Should I have loaded gapps? IS that how to get gmail and should it sync automatically? If not, is there a way to make it?
CM roms does not distribute google apps with the rom as its not legal. So if you want gapps then yes that file has to be flashed. CM6 can be run without gapps, but you won't get gmail, market etc..once you have gmail it should sync automatically.​
3. Should I stick with CM5 or try CM6 following these suggestions??
CM5 is quite stable rom and runs fine. Choice is yours...CM6 is in initial stages, but is good too...I go with CM5 for my daily driver as a2sd is not officially supported. It will be there in CM6.1....​
And what is a CustomMTD Patch? Annnnnnd, what is fastboot??
G1 was build with a low memory and the way internal memory has been partition todays rom can't fit into it. That's why dangerSPL, but there is a risk involved in installing dangerSPL. If you don't follow the instruction you can brick your phone. CustomMTD is a safe method. This increase the size of data partition so you can install more apps internally. link for that thread is in first post.​
a2sd is a way to store apps on sdcard, sdcard needs to be partitioned to support that..step 1 - e in my guide. That's a manual way of doing it. If you have AmanRA recovery then it will have a menu option for that. Most of the rom supports it automatically, so if you have sd card partition then rom will automatically do that.
CM6 does not support a2sd so it has to done in different way. CM5 supports it but in settings - application - a2sd has to be checked on to move your apps to sdcard.​
Swap is kind of extra memory to help running the applications. if you run multiple application together then you need swap on CM5 and CM6.​

G1sanju said:
CM5 is quite stable rom and runs fine. Choice is yours...CM6 is in initial stages, but is good too...I go with CM5 for my daily driver as a2sd is not officially supported. It will be there in CM6.1....​
Click to expand...
Click to collapse
So when CM6.1 is comming out for G1..do you have nay idea about HCTCLAY's ROM over CM6

vermaekansh said:
So when CM6.1 is comming out for G1..do you have nay idea about HCTCLAY's ROM over CM6
Click to expand...
Click to collapse
Nope I don't follow htcclay but it is based on CM so should be updated
Sent from my HTC Dream using XDA App

G1sanju said:
Nope I don't follow htcclay but it is based on CM so should be updated
Sent from my HTC Dream using XDA App
Click to expand...
Click to collapse
No hard feeling for CM but for me htcclay's ROM's are more stable than CM's.....any release date for CM6.1 for G1?

vermaekansh said:
No hard feeling for CM but for me htcclay's ROM's are more stable than CM's.....any release date for CM6.1 for G1?
Click to expand...
Click to collapse
Roms are personal preferences, I also tried lot of roms before settling on CM... and for CM there are no eta it will be released when it's done...
Sent from my HTC Dream using XDA App

WOW!
THANK YOU!!! You are awesome for going through all of those!
Yes, it is a G1.
Are there any features in CM6 that aren't in CM5, or is it faster than CM5 with the ap2sd & swap?
I believe I partitioned the sd card when I loaded the CM6 ROM.
So I'd like to try the CM6 with the ap2sd, swap and the CustomMTD. I do have the AmanRA recovery, but not sure about how to select the ap2sd.
Any chance you would tell me how to get the ap2sd, swap and CustomMTD on the phone if I have already Flashed CM6 on there?
Thanks again, regardless. The info you gave me helped me learn a little more. I'm still a bit confused about what fastboot is though. But I will just keep at it and keep learning!

Are there any features in CM6 that aren't in CM5, or is it faster than CM5 with the ap2sd & swap?
CM6 is based on froyo, latest version of android...its good and yes speed is comparable. Also CM has added new stuff in it, like fully customizable power bar and other stuff...Full changelog is there in CM6 thread.​
I believe I partitioned the sd card when I loaded the CM6 ROM.
So I'd like to try the CM6 with the ap2sd, swap and the CustomMTD. I do have the AmanRA recovery, but not sure about how to select the ap2sd.
For CM6 a2sd is through script, instruction is in first post. I have included customMTD also there. So if you follow the guide, you will be having customMTD, a2sd and swap...swap require an partition on your sdcard, if you don't have that partition then it will ask for swap file.​
Any chance you would tell me how to get the ap2sd, swap and CustomMTD on the phone if I have already Flashed CM6 on there?
you can wipe and start over again, first post should be good for you.​
Thanks again, regardless. The info you gave me helped me learn a little more. I'm still a bit confused about what fastboot is though. But I will just keep at it and keep learning!
Oh I forgot about the fastboot, fastboot and adb are tool, which give an option to control, flash and do other thing on the phone from PC. The link for setup guide is in first post.​

Thanks again!!
Man! You are great! Thanks again for all your help! Now let's see if I can manage to follow your thread and not brick my phone! Lol
Until next time....

Related

Switchrom script request to automate the save process

I wanted to post this in the DEV or APP forum, but I figured I'd ask here to be safe because I wasn't sure.
I notice that some apps, such as the Cyanogen updater can reboot the phone and flash an update (because of a script during startup?). I started thinking and was wondering if there was a way to run a script (while the phone is booted and up) that could do this:
1. Asks for a name, (or autopopulates based on build)
2. Reboot recovery
3. Runs switchrom -s {name from step 1}
4. Reboot recovery or just recovery
5. End so I can wipe and flash or whatever.
I'm using Aman-RA's recovery (RA-dream-v1.2.2) which has switchrom built in, so mounting and all that won't be an issue.
There are a lot of possibilities for expanding on this in my head, but I'm just looking for this in particular for now. Once I get the syntax, I may be able to modify it enough to get dangerous. I'm not sure of the limitations, but I see a lot of use coming out of this. Eventually even bart could be integrated? There's talk of that in Aman-RA's thread. Any help would be appreciated. TIA
have you either pm'ed devsk or asked in the switchrom thread to see if it is possible. this is a great idea and i would like to see it implemented
Good idea! Doing that now

[ROM][19 Sep]VIBES v1.6|Rooted|App2SD|Wifi-Tether|RAM Optimized|Fast|Updatable

Important Notice Due to my exams i wont be available till 25th. I have tried to make instructions as clear as possible still if anyone is having problems u can use 1.2, 1.2.1, 1.5, 1.5.1 all stable.1.5 and 1.2.1 have most positive feedbacks.
Or Go for my SUPER STABLE and Successful FROYO (android 2.2.1)build HERE :: CLICK HERE
Dear friends ..
You need a rooted wildfire for this...
Thanks frnds for ur interest and testing support ::
HIGHLY RECOMMENDED I can't say it enough be it this or any other ROM, Always Back-up your current stable ROM with Nandroid.
IMP IMP IMP::Please format your SD card to FAT32 before flashing and remove all partitioning.This way you wont have Boot Loop Trouble.
To Flash the zip file needs to be copied to root of ur Sd card and flashed from recovery.
You can also use Koush's Fake Flash.
This ROM wont delete ur personal data from your sd card.
Its better to Wipe ur Caches from recovery menu before flashing. Recommended.
DOWNLOAD the ROM.Complete Following steps.Same steps for all ROMs here.
# Flash the ROM and Make the first boot (will take little time).
# Reboot Once. Now Boot into RECOVERY..and complete following Steps::
HOW TO SET UP SD CARD FOR APP2SD to work properly​A. backup your sd card to your computer, as partitioning will wipe the entire card.(Just to be super safe::Format your card to FAT32 on your PC and then insert it into ur Buzz/Wildfire)
B. Reboot into recovery
c. Select partition sdcard
d. Again select partition sd card.
e. Follow the instructions on the phone to partition your sd card. You can optionally set a swap file while you are partitioning your sd card.
Recommended setting (Swap=0, Ext=256, rest=fat32)
F. In the partition sdcard menu, select sd:ext2 to ext3. Follow the instructions on the screen.
G. ONLY FOR Vibes v1.1 Others skip this step nly perform this step if you want ext4 and your rom supports it: in the partition sdcard menu, select sd:ext3 to ext4. Follow the instructions on the sdcard.​H. Press the up volume button on the phone to go back to the main menu.
I. Reboot and viola you are done.
Or Do it THE GEEK WAY
Click to expand...
Click to collapse
LOTS of partitioning trouble causes phone to have boot trouble.
1. Please before flashing remove your partitions you had created earlier.
2. Then Format to FAT32.
Its just partitioning problem i have checked the ROM friends once u partition ur card..then formatting will clean only one partition other is still unusable you have to remove partion. then Format to Fat32 and boot.
HERE ARE SOME INSTRUCTIONS AND A TOOL that will solve ur problems once and for all..
and after this partition removal, ur card is fat32 again ..this time just create a partition with recommended setting (swap=0 and ext=256)..try ext2 first.
Click to expand...
Click to collapse
Vibes v1.6 Released GET IT HERE
# APN/Mobile network Fixed
# Market Patched - u can see apps u could not earlier.
# App2Sd improved and better.
# Advanced Task Killer
# AndroZip, TuneIn Radio added.
# Google Maps fixed and better. Navigation now works even outside US.Cache on SD.
# ROMmanager.
# PowerBoot Menu-Reboot, Recovery, Bootloader, WipeData, Shutdown and Schedule Reboots.
# Wireless Tether.
# A small surprise.
Vibes v1.5.1:: Don't have many feedbacks but up for Vibes v1.5 :: Download
Vibes v1.5 was reported to be stable:: Link Updated:lease format ur sd Card to Fat32 befor flashing and remove Partition.
v1.2.1 (With App2SD) GET IT HERE... For those who want to have a stable working ROM as back up before flashing various other Roms.
v 1.2 (Without App2SD) GET IT HERE.
# Everything same as v1.1 -minus the problems and some cosmetic changes.
# app2sd removed - not many need it.
v1.1 with a new Kernel here. Reported Working well
EDit: Do report Errors and problems friends coz thats when a rom can be improved.
For boot Loop TRY THIS..
v0.9
Edit: almost everything working except soundhound and terminal apps which can be uninstalled..
My Sincere thanks to early testers
adeadrat
leegreggs
rolks
747 Driver
johi69
QAD3R Tested v1.6 See his post.
Click to expand...
Click to collapse
For customizations and probable errors :
> For your FONT Tweaking and Changing needs GO HERE. and HERE.
> If you have market problems try flashing this just like Rom..Market FIX
LOG is HERE​
> Google Maps update error is Google Problem. Get This MOD
It also Enables worldwide Navigation using google maps.
Caches on SD so memory is saved and should enable multitouch. Read about it.
Rom is clean..Goodies can be added from market.
Usual warning.. your device is your responsibility..
TO DO:::
1>>If all works well will try to make weather animations working for home screen...
2>>Many more but 1>> is top priority if all goes well.
Special Add On Packages::
Adblock toggle on:: prevents those annoying ads from being displayed.
Adblock toggle off:: Get those ads back.
Just flash these files like rom and Done.
hi......seems rather intresting .....
leegreggs said:
hi......seems rather intresting .....
Click to expand...
Click to collapse
well the one who tests this will tell..
will flash it and see if it is stable
leegreggs said:
will flash it and see if it is stable
Click to expand...
Click to collapse
Awesome thanks mate link will be up in 18 minutes.. Thanks mate post ur findings..
will do......
also have a go at doing my own rom too
could try it out too.. have my phone in clockwork recovery just waiting to flash something fun -_-
leegreggs said:
will do......
also have a go at doing my own rom too
Click to expand...
Click to collapse
HEY WISH U ALL THE BEST..LINK is up now..
adeadrat said:
could try it out too.. have my phone in clockwork recovery just waiting to flash something fun -_-
Click to expand...
Click to collapse
Thanks Mate awesome..LINK is up now..
cheers mate ....will give it a go and get back and keep you informed to how it acts
Boots up just fine got some errors in the logcat but evrythings seems to work will keep using this until I keep working on my own ROM or CM6 is out
logcat if you want it: http://pastebin.com/9hQ7dEsb
clean install....no errors of yet, only soundhoud f.c
will keep you informed
adeadrat said:
Boots up just fine got some errors in the logcat but evrythings seems to work will keep using this until I keep working on my own ROM or CM6 is out
logcat if you want it: http://pastebin.com/9hQ7dEsb
Click to expand...
Click to collapse
Awesome dude thanks for the info..most of all Lovely for the logcat.. will see what can be done..
Now will work to remove errors and will post one with some good modifications soon.. God bless ya ..
Thanks again..
leegreggs said:
clean install....no errors of yet, only soundhoud f.c
will keep you informed
Click to expand...
Click to collapse
Thanks dude... ok will get a newer version of soundhound and see..
Awesome dude lovely for the info....
altight dude....
just noticed when trying to up date apps i.e google maps, superuser etc , it comes back as cannot install .......
not a big problem but just thought id give you the feedback mate
leegreggs said:
altight dude....
just noticed when trying to up date apps i.e google maps, superuser etc , it comes back as cannot install .......
not a big problem but just thought id give you the feedback mate
Click to expand...
Click to collapse
perhaps Flashing this ZIP file can help.. flash it like a rom
GET IT HERE
cheers mate , shall let you know.....rom seems speedy ....good work
leegreggs said:
cheers mate , shall let you know.....rom seems speedy ....good work
Click to expand...
Click to collapse
Thanx mate now working to make it better.. EDIT its 2:30 am here ..friends got to sleep.. sorry if u have any trouble and i am not able to help but i will be back online in 7 hrs see ya all then..
will try, post comments later
leegreggs said:
cheers mate , shall let you know.....rom seems speedy ....good work
Click to expand...
Click to collapse
i hope that the market problem is solved for you . if yes then i will include it in my new update .. that is coming soon..
will test it later

[GUIDE] Install CM7 or CM10 + Recovery to EMMC - ALL NOOK COLORS! (Updated:11/19/12)

***Nook Colors manufactured after May 2011 shipped with a different partition scheme, see post 2 for information about it, or just go ahead with the guide since it doesn't affect much! You can identify these nooks as they have a blue dot sticker on the box***
A gentle reminder, this thread should only be for discussion related to the guide itself. Any CM7/10 related issues should be discussed in the appropriate threads either in General or the Development forum. Thanks!
On with the good stuff:
Prologue
This guide is intended to take you through the (mostly windows-based) steps needed to replace your internal nook color rom with CM7/CM9, gapps and clockworkmod or TWRP recovery all on EMMC. This will work coming from any previous rom, including the latest stock software (excluding dual boot set ups, not supporting that here), no previous rooting is needed for a new nook, however don't forget to boot stock and register the device before flashing to CM7/10.
At this point in CM7 development I am recommending installing a CM7.2 build by mrg666 from this thread or an official nightly/stable 7.2 directly from CyanogenMod: http://get.cm/?device=encore
CM10 is based on Android 4.1 (Jellybean) and builds can be found here: http://get.cm/?device=encore or mirrored here: http://techerrata.com/browse/cm/encore/nightly
If you want to run CM7/10 from the sdcard.. you're in the wrong place! Go check out verygreen's thread here for CM7 or here for CM10.
ALWAYS check the md5 hash for the files you are downloading to make sure you don't have corrupted files. This is a great windows utility to do that: http://code.kliu.org/hashcheck/
On with the guide:
Download 1gb TWRP image from here OR 1gb CWM 3.2.0.1 sdcard image from here. MD5 of .zip: 1319739d33642ed860e8044c3d55aa56. (I made this based on work in this thread. credit: to cmstlist and DizzyDen, and kevank for hosting). You really only need the 1gb image for this guide, no matter what the size of your card is. A smaller image will burn faster, and when you're done with the guide you can reformat the card anyway.
Extract the twrp or clockworkmod .img (if you can't open the file use 7zip)and burn to sdcard using win32diskimager (free). These apps will need to be "run as administrator." If you're not sure how to do this see step 3 here. ***Some internal laptop/desktop readers will not work to do this, you may need an external USB reader if you run into problems.***
While that's burning:
Download CM7 or CM10 from the links above.
Download either CWM 3.2.0.1 flashable .zip from here or TWRP 2.x flashable zip from here.
For CM7 -Download the latest gapps gingerbread needed for market/google services) from http://goo-inside.me/gapps/gapps-gb-20110828-signed.zip
For CM10 download gapps-jb-20121011-signed.zip from here or here
Once your sdcard is done, copy all those files to the sdcard - DO NOT unzip them
Power off your nook. Put the sdcard in, and power on, the nook will boot from sdcard into TWRP or clockworkmod depeding on which you used. TWRP is touch based and easy to use. Navigate in CWM using the vol up/down keys, N button to accept, power button to go back.
Optional: At this point if you want to make a backup of your current EMMC rom (stock or whatever else you're running) you can. Just go to backup.
Go back and navigate to Install .zip from sdcard/Choose .zip
Flash the files in this order:
1. cm .zip
2. gapps
3. Clockworkmod or TWRP .zip
Once you've flashed the files; in the clockworkmod main menu select "wipe data/factory reset" or in TWRP choose factory reset from the wipe menu.
Go back to the main menu, remove the sdcard
Format the sdcard in your computer as fat32 (or use another sdcard) and put it back in the nook and then press reboot system. (CM7 requires the use of an sdcard for storage - thanks pmilford for the tip)
Once you boot into CM7/10, you'll be presented with a welcome screen and you can add your google acct. You need to have wifi access here (obviously..) so hit menu on the status bar and you can set up wifi.
DONE!
Epilogue:
Now you can format the sdcard to use as a storage card in your nook.
To boot into recovery in the future (in order to update to a newer cm7 build/new kernel or make backups) simply hold down power and then choose reboot - recovery from the menu.
If you want to *gasp* restore to stock 1.2.0 flash nemith's stock image (update-nc-stock-1.2-signed.zip) from here using a recovery sdcard.
In CM7: For those looking to get a honeycomb feel to their Nook, I'd recommend this theme. Download the .apk and install it with file manager (or another of your choice), then go to the Theme Chooser app and scroll all the way left and select the theme (name/picture is broken but theme works). Once you've applied it, reboot. (Credits mad-murdock, Bawb3, haxzamatic and joenathane)
In CM7: To set your CPU/Overclock options go to Menu-Settings-CyanogenMod Settings-Performance.
CM7 for the nook color includes mad-murdock's tablet tweaks, so be sure to set up your preferences in the tablet tweak settings also found in the CM settings menu. Some apps, or you, will hide the status bar (eg watching a full screen video) so I like to set "unhide key" to home so that the N button will show the status bar again.
If you're having market problems see this thread for fixes. (Thanks jalexishg)
Want to say thanks? Hit the thanks button below
For more information on CM7 and latest issues/fixes/workarounds please check out the Nightly discussion thread here.
For more information on CM10 and latest issues/fixes/workarounds please check out the Nightly user discussion thread here and the development thread here.
Updating to a newer nightly build
Download latest nightly from CM and put it on the sdcard that's in the nook. Easiest way is to either download it directly on the nook itself, or download on pc and use usb drive mode to copy it to the nook sdcard.
Reboot to recovery (from power menu)
Wipe cache
Install zip from sdcard, flash the new nightly .zip
Reboot
I will try to maintain this guide with new information when needed. If anyone has any comments/suggestions feel free to suggest them below or PM me.
For additional help or just Nook Color related chat join us in #nookcolor on Freenode IRC. (if you have no idea what IRC is click here)
Information for new nook partitions
B+N have made a change as to how they partition the internal storage space on the nook. New nooks are now shipping with new partitions and you can identify these as they have a blue sticker on the box.
Old partitions: 1GB for data (i.e. apps), 5GB for media (books/music/whatever else)
New partitions: 5GB for data, 1GB for media (if you need more media space you use your sdcard)
Clockworkmod 3.2.0.1 (released 6/5/11) is now able to flash roms on the new partition scheme, however you may prefer to restore the old partition method if you like more onboard space for your own files and don't need 5GB for data (apps)
Current options for installing CM7 on the newer partitioned nook are:
1) Just follow the guide above with cwm 3.2.0.1, keep 5GB /data and 1GB /media
2) Follow this guide http://forum.xda-developers.com/showthread.php?t=1094371 to repartition your nook into the older 1GB data/5GB media, and then go back to the top and follow my guide. If you want to repartition using the .zips in DeanGibson's thread, you can flash them using the CWM SD you make in steps 1+2 of my guide above, then go on and flash CM7.
Awesome! I was *just* starting to look for a guide for getting up to 3.0 now that school is done You rock! Perfect timing.
This needs to get pinned if it isn't! Thank you so much!
Can you include instructions how to revert to stock for those "just in case" moments?
Also, maybe include a step if a person wants to install tweaks?
detonate said:
This needs to get pinned if it isn't! Thank you so much!
Can you include instructions how to revert to stock for those "just in case" moments?
Also, maybe include a step if a person wants to install tweaks?
Click to expand...
Click to collapse
Added a link which covers that. Thanks.
goodwork.. and with the bot too.. now we dont have to search for links everytime a noob needs help!
Sent via Cyanogenmod7 Encore RC4 n37/Tapatalk Pro
Mind if I post this guide over on Android Central forums? The one I have posted over there has gotten kind of unwieldy and I was wanting to start from scratch, but these are good!
KitF said:
Mind if I post this guide over on Android Central forums? The one I have posted over there has gotten kind of unwieldy and I was wanting to start from scratch, but these are good!
Click to expand...
Click to collapse
Go for it
Thanks for the clear and concise step by steps. Running off SD right now but tagging just for the day when I decide to go eMMC.
eyeballer said:
DONE!
Click to expand...
Click to collapse
The link to Muffinworld.net does not work. Do you know of another place we can go?
swapdotavi said:
The link to Muffinworld.net does not work. Do you know of another place we can go?
Click to expand...
Click to collapse
Updated OP with a mediafire mirror for now.
Nice guide.
awesome clean strait forward guide! =D thanks!
So this updates to 2.3? I thought this CM7 image was for 3.0? Is there another one I can use to get the 3.0 features?
swapdotavi said:
So this updates to 2.3? I thought this CM7 image was for 3.0? Is there another one I can use to get the 3.0 features?
Click to expand...
Click to collapse
CM7 has always been 2.3, not sure where you read otherwise. There's some honeycomb ports available built from the sdk as source isn't out, feel free to try them, although IMO CM7 is the most stable rom for the nook.
I tried to install CM7 on my nook color and i didnt follow the proper method and instead saved the CM7 file to the root of my sd card and installed the zip through clockworkrecovery without wiping or cache and now im stuck at the android boot screen. It isnt the CM7 skateboard android boot but rather the plain android root boot screen. If anyone could help it would be helpful thank you! IM crying right now about it
ikryptic said:
I tried to install CM7 on my nook color and i didnt follow the proper method and instead saved the CM7 file to the root of my sd card and installed the zip through clockworkrecovery without wiping or cache and now im stuck at the android boot screen. It isnt the CM7 skateboard android boot but rather the plain android root boot screen. If anyone could help it would be helpful thank you! IM crying right now about it
Click to expand...
Click to collapse
This isn't really the place for this post, but if you go back to the first post and look under Epilogue no.4, there's a link to the restore thread.
I've been trying to make a backup of my froyo system in recovery and it keeps on saying that the /system cannot be mounted. Any help would be appreciated.
eyeballer said:
This isn't really the place for this post, but if you go back to the first post and look under Epilogue no.4, there's a link to the restore thread.
Click to expand...
Click to collapse
Thanks a lot!
I'm currently auto-nooted, which leaves the default Nook reader software intact. Will installing CM7 also leave the default Nook reader intact?

[Q] latest MIUI vs EXT2 partition and A2SD, problem

Hi!
Quick question to everybody. Recently I've installed MIUI 1.5.20 on my MM, before that parted SD into FAT32(7GB, primaty+active)+EXT2(1GB, primary). Now in Settings>System>SD, in section A2SD+ it says "This device does not support A2SD+", is there something more that I should have done to make it work properly?
DrNO[PL] said:
Hi!
Quick question to everybody. Recently I've installed MIUI 1.5.20 on my MM, before that parted SD into FAT32(7GB, primaty+active)+EXT2(1GB, primary). Now in Settings>System>SD, in section A2SD+ it says "This device does not support A2SD+", is there something more that I should have done to make it work properly?
Click to expand...
Click to collapse
Nothing is wrong with it as far as I know. I had the same "issue" as well and my ext2 partition worked fine. I think it might just be because of the ext2 partition not being a native feature to the Milestone? Everything is fine though, don't worry
ok... so how can I check if it works? afaik it should hold apps relocated to SD, so if i go via root explorer to sd-ext folder (mount point), .apks should be there, right?
DrNO[PL] said:
ok... so how can I check if it works? afaik it should hold apps relocated to SD, so if i go via root explorer to sd-ext folder (mount point), .apks should be there, right?
Click to expand...
Click to collapse
Yes. Also you can try looking at /system/app and it might be there as well.
thx a 1M going to try it out... after reflashing with own-modified version from a scratch :]
unfortunately, /sd-ext is still empty.
ok, can any one tell me what are the correct steps, am I missing something? here is what i did:
1. factory reset (org froyo)
2. partitioned SD:
a) FAT32 7GB primary active
b) EXT2 1GB primary
3. rsd lite > g.o.t. 2.2.1 + open recovery 1.46 + or-extfs-update2 + V6supercharge
4. full wipe
5. applied miui 1.5.20 + minor fixes
should it work already(?)
DrNO[PL] said:
unfortunately, /sd-ext is still empty.
ok, can any one tell me what are the correct steps, am I missing something? here is what i did:
1. factory reset (org froyo)
2. partitioned SD:
a) FAT32 7GB primary active
b) EXT2 1GB primary
3. rsd lite > g.o.t. 2.2.1 + open recovery 1.46 + or-extfs-update2 + V6supercharge
4. full wipe
5. applied miui 1.5.20 + minor fixes
should it work already(?)
Click to expand...
Click to collapse
Which MIUI are you using? Did you try rebooting the phone after you restored all your apps?
PROBLEM SOLVED
it's latest MIUI 1.5.20, solution as follows:
1. after installing MIUI, flash via AOR >>THIS script
2. reboot device to the OS and instal (from market) "A2SDGUI"
3. reboot device (just to be sure)
4. njoy
later in mentioned app, you can set dalvik location and/or initiate swap
(@Admins/Mods: for me thread to be closed, thx)
thanks goes to skwara for advice, tkirton for script and skadude66 for trying to help
DrNO[PL] said:
PROBLEM SOLVED
it's latest MIUI 1.5.20, solution as follows:
1. after installing MIUI, flash via AOR >>THIS script
2. reboot device to the OS and instal (from market) "A2SDGUI"
3. reboot device (just to be sure)
4. njoy
later in mentioned app, you can set dalvik location and/or initiate swap
(@Admins/Mods: for me thread to be closed, thx)
thanks goes to skwara for advice, tkirton for script and skadude66 for trying to help
Click to expand...
Click to collapse
Glad it works I'm guessing when you say latest 1.5.20, you're talking about miuiandroid.com's version of MIUI? Because eybee1970's version includes automatic app2ext scripts and shouldn't be that hard to use.
right... you asked about whose release is it, it's not quite original, but based on it. skwara@android.com.pl makes PL version better suited to our local demands, there's no preinstalled app2ext. maybe that's even better, rom is lighter, and more open to your own way of customisation ;P hope someone will find this thread useful if he/she is not using eybee1970's version

The Very Corrected CM7 & Stock 1.2 Dual Boot Guide

Hello Nookers,
I myself and pndo1 of XDA have posted guides for dual booting CM7 and Stock 1.2. My first one was crappy, my second one was a little less crappy, and pndo1's was pretty good, but had too many steps. So yeah, I decided to clear this up once and for all. Alright, enough of that garbage, let's get on with the guide!
0. Make a CWM sd card using these instructions.
1. Download CM7 to your sd card. I recommend the latest version from here. Also, if you would like to overclock download this. Lastly, if you would like to remap Volume + and - to Menu and Back, download this too. Also, your gonna want (duh) have a copy of Nook Color Stock 1.2. This one is the best in my opinion. Also, if you would like to root Stock 1.2, get this. Now get gapps from here. Almost! Download thishere. And now the multiuboot! Grr... this is tiring... but lasties! Get it here. Put ALL the files you downloaded on your SD Card.
1. Boot into CWM. Go into Backup+Restore and create a backup. Then go into Mounts+Storage and unmount the sd card. Put in an MicroSD reader in your computer. Navigate to /sdcard/clockworkmod/ and find the backup. Copy it to your computer. You can now delete it from the SD Card. Put the SD Card back in the nook. Go into Mounts+Storage and hit "Mount sd card" Now from the same place, wipe system, data, and cache. Now go to the root menu (hit the power button once). Hit "Install zip from sd card" then "Choose zip from sd card" Select prep.dualboot.zip. Then redo the choose zip Select your downloaded 1.2 Zip. It should be called "update_nc_stock_1.2_keepcwm.zip" Flash that. Now wait for it to install. Reboot your Nook. It will boot and will ask you to setup the Nook. Set it up but if you don't have wifi, follow these instructions. After setting up, boot back into CWM using your sd card.
2. Now Choose the zip from sd again, but select ManualNooter. That will take one minute to flash. Reboot again. Make sure your root is setup. To confirm, download an app from the market. Any app.
3. Once that is done, boot back into CWM. Flash the zip "eclair-to-dualboot-0.2.zip" It will duplicate Stock 1.2 to the Second partition. Now go into Mounts+Storage, and wipe system+data+cache. Now choose zip again, but this time pick CM7. Then Choose again, pick GAPPS. Then anything else, like that KeysMod or OC kernel. Now flash Multi-Uboot-0.3.zip. Now reboot without holding anything. It should boot CM7. Reboot, but this time hold the home button. BAM! Stock 1.2. Hope it worked for ya!
To those whom it doesn't work:
yelloguy said:
I had the same problems as everyone else is reporting on this thread. I did this on Tuesday without the benefit of this guide but with the help of other two mentioned in the OP.
So after talking to iKingBlack via PM, I tried it again yesterday. And here is the exact sequence of events in case it helps anyone.
Install removal script for dual boot found in these forums
Install stock 1.2 from the link mentioned in OP
Boot 1.2 and register the device
Sleep 7.5 hours and then chat with iKingBlack
Install manual nooter, then the apk enabler
Boot 1.2 to check root access
(no boot from now on)
Install prep dual boot
Install eclair to dual boot
Format system, data and cache
Install CM7 nightly
Install gapps
Install multi boot
Reboot holding N and check stock works as it used to
Reboot normally, check CM7 works and set it up
Since then I have used both partitions successfully.
Click to expand...
Click to collapse
Credits:
@GirLuvsDroid for the feedback and testing
@GabrialDestruir for 1.2 Manual Nooter
@Koush for ROM Manager and CWM Flashes
@yellowguy for telling us to flash prep.dualboot
@Anyone else who helped but escapes my mind at the moment
@pndo1 (Who has moved on to better things than our little NC's... aka Flyer) for this orignal project
I've been wanting to dual boot my NC for a while now, but I've read several sets of instructions and kept getting twisted up in them. I was also concerned that having a dual boot would make it difficult to impossible to continue installing the CM7 nightlies and the latest Dal kernels.
These instructions look really clear and easy to follow and I thank you for that!
I just want to clarify my understanding: both CM7 and stock 1.2 are run from eMMC, correct? And, because stock 1.2 is on the second partition, it's just business as usual to install the nightlies and the latest kernel on the first partition, right?
Again, thanks for taking the time to rework your instructions again. Your contributions are much appreciated!
Why a special uboot? Stock cm7 uboot (based on bn 1.2) already does multiboot... (hold down n on boot for info) and dalingrin's nook tweaks lets you set up default options from prefs menu...
That said, I didn't read the instructions carefully so maybe there's a reason...
@GirLuvsDroid Your welcome, and yes both run from the emmc. Flash nightlies and kernel like anything. Just nothing to the dual boot partition.
@fattire For me the CM7 Alternate boot option hangs. But again, that's me.
I may have just missed it, but I didn't see where in the instructions to download the Multi-Boot-Uboot-0.3.zip file.
I found and downloaded v0.4 file from this thread
http://forum.xda-developers.com/showthread.php?t=947698
and it doesn't quite work right. It boots CM7 fine, but it hangs on the Nook 'N' screen when booting into stock 1.2. I'm not sure if that's because of the v0.4 multi-boot file, or because of something else I did wrong. (It did boot into stock 1.2 correctly at the point where you said it would in the instructions).
Any thoughts, or the link to the v0.3 multi-boot zip and I'll flash that to see if it corrects the problem.
MHotovec said:
I may have just missed it, but I didn't see where in the instructions to download the Multi-Boot-Uboot-0.3.zip file.
I found and downloaded v0.4 file from this thread
http://forum.xda-developers.com/showthread.php?t=947698
and it doesn't quite work right. It boots CM7 fine, but it hangs on the Nook 'N' screen when booting into stock 1.2. I'm not sure if that's because of the v0.4 multi-boot file, or because of something else I did wrong. (It did boot into stock 1.2 correctly at the point where you said it would in the instructions).
Any thoughts, or the link to the v0.3 multi-boot zip and I'll flash that to see if it corrects the problem.
Click to expand...
Click to collapse
MH, it's the link in the OP that says this: "Last one (yes, really!) here." It's not the Multi-Boot-Uboot-0.3.zip but the eclair-to-dualboot-0.2.zip.
Disgregard this post -- I'm an idiot and apparently blind, as well.
Thanks GLD.
I'll reflash that one (I flashed both, just like the directions said ) and see if that makes it behave better.
MHotovec said:
Thanks GLD.
I'll reflash that one (I flashed both, just like the directions said ) and see if that makes it behave better.
Click to expand...
Click to collapse
I must be blind -- I don't see where it says to flash both. I only see the eclair-to-dualboot in the instructions.
Nevermind -- I found it. It's the last step. I stand corrected and I'm glad I do because I'm planning to do this when I get home from work tonight. Thanks for setting me straight!
Reflashing the eclair to dualboot wasn't the answer, now is doesn't even TRY to boot the stock 1.2.
Now where did I leave that drawing board....
I found the download link for the Multi-Boot-Uboot-0.3.zip:
http://api.viglink.com/api/click?fo...dified u-boot.bin based on B&N 1.2 source
GLD, if anyone tells you that you're not a goddess, you tell them that I said you are.
Of course, that didn't solve the problem. (sigh)
I ran the entire routine again, and this time used the v.03 multi-boot that you found, same problem. It will boot into CM7 just fine, but it hangs up when booting into stock.
ahhhhhh, that's just so sweet, MH!
I just went through the whole process myself and everything went perfectly right up until I tried to boot into stock 1.2. Exactly like you, it hangs on the N and won't boot up. CM7 boots just fine, though.
Well, at least I know it's not just me.
By any chance, have you run the app that changes your Nooks RAM from 'new way' to 'old way'? (1gb data, 5gb apps).
I have, I wondering if that has something to do with it (just fishing of course, it's not like I actually KNOW anything).
Yes, I had a blue dot NC that I repartioned, but I did it using the custom partition (around 2GB data).
Well, multi-boot link added.
Oh, to those whom it doesn't work (stuck on N), try flashing 1.2 zip and manual nooter without rebooting and then eclair2dualboot then wipe system,data, and cache. Then flash cm7 and goodies. Not one reboot. Try it and only then say if it works or doesn't.
I'll try this no-boot method when I get a chance tomorrow. One question for you -- assuming I get this to work, is there any reason I can't restore /data from the CWM backup of my original setup that I made before I started the dual boot process?
I get the same result with the no boot method. CM7 boots fine, Nook stock hangs on the 'N' screen.
I had the same problems as everyone else is reporting on this thread. I did this on Tuesday without the benefit of this guide but with the help of other two mentioned in the OP.
So after talking to iKingBlack via PM, I tried it again yesterday. And here is the exact sequence of events in case it helps anyone.
Install removal script for dual boot found in these forums
Install stock 1.2 from the link mentioned in OP
Boot 1.2 and register the device
Sleep 7.5 hours and then chat with iKingBlack
Install manual nooter, then the apk enabler
Boot 1.2 to check root access
(no boot from now on)
Install prep dual boot
Install eclair to dual boot
Format system, data and cache
Install CM7 nightly
Install gapps
Install multi boot
Reboot holding N and check stock works as it used to
Reboot normally, check CM7 works and set it up
Since then I have used both partitions successfully.
@GLD Yes, I think you can restore safely.
@yellowguy You don't need prep dual boot because eclair2dualboot already takes care of that. And if my instructions didn't work, try yellowguys, a slightly refined method.

Categories

Resources