Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
rajendra82
Old
(Last edited by rajendra82; 21st December 2011 at 04:31 AM.)
#1  
rajendra82's Avatar
Senior Member - OP
Thanks Meter 141
Posts: 1,051
Join Date: Jul 2010
Location: Atlanta, GA
Default [ROM] B&N 1.4.1 upgrade through CWM [Dual Boot/Single Boot Compatible]

I had downloaded a version of this file from a post embedded deep inside one of the threads over here (sorry can't find it right now), but upon examination of its contents, I discovered some issues:

1. The checksums on the files in contained in the the original zip file showed that B&N had at least two versions of 1.3.0 update you can download from them, and the zip I got contained an older version so I put in the latest files in there.

2. There were unnecessary files included inside the original zip file, I deleted those, and only included what was needed.

3. There were errors in the script syntax, which I corrected, so that the proper commands are run during the update, and the proper sed substitutions are made during the editing of the unpacked init.rc inside the ramdisk.

What this zip will do is replace any older version of a B&N ROM on the alternate eMMC partitions of a dual booting configurations to the latest versions. This will prevent B&N from pushing the 1.3.0 update to you OTA, and messing up your dual boot setup. Just put the zip on your sdcard, boot into CWM recovery, and apply the zip. I apologize in advance for not giving credit to the original creators of the scripts here.

Note: There have been two different protocols for a dual booting u-boot.bin, with an older one relying on the files u-boot.altimg, and u-boot.altram to specify the names of the secondary boot ramdisk and kernel, and a newer one assuming that they are named uAltRam, and uAltImg respectively. This update conforms to the new u-boot.bin protocol. If you are still using the old one, you will have to get root access to /boot and edit the two files to point to uAltRam and uAltImg.

So if you want try it out, here it is:
http://www.mediafire.com/?gcrpzzc0kdoxcjx

MD5 Sum: 51e24c1e5eff11ba5ea481a63f7404eb



Update

I have now uploaded files for B&N Update 1.4.1.


The first file (MD5 Sum: 4ff1d9764663278c3f51e2e2c9d841a6) is meant to update a pre 1.4.1 Stock B&N ROM on secondary /system through CWM:
https://rapidshare.com/files/5213591...tock_1_4_1.zip

The second file (MD5 Sum: c1506816fbfb8c419fbbc4afe1b12887) is meant to update a pre 1.4.1 Stock B&N ROM on primary /system through CWM without messing with recovery;
https://rapidshare.com/files/8694352...1_keep_CWM.zip

The third file (MD5 Sum: ab1307c55a2c35c91d339c8037ce9a78) is meant to update a pre 1.4.1 Stock B&N ROM on primary /system through CWM, replacing recovery and all:
https://rapidshare.com/files/2059644...tock_1_4_1.zip

None of these files will wipe user apps and data, so if you wish to do that, boot into recovery and wipe from there. [This will work on primary /data partition only]

Please note: If the B&N Stock ROM is rooted, you will lose root upon updating.
The Following 6 Users Say Thank You to rajendra82 For This Useful Post: [ Click to Expand ]
 
TJNooker
Old
#2  
TJNooker's Avatar
Senior Member
Thanks Meter 6
Posts: 166
Join Date: Jan 2011
Location: Chicago
Thumbs up Thanks!

This worked beautifully! I flashed it from my sdcard after booting into CWM on my primary partition on emmc.
 
Taosaur
Old
#3  
Taosaur's Avatar
Senior Member
Thanks Meter 180
Posts: 774
Join Date: May 2011
Location: Ohiopolis
I'm betting you got the original from jasoraso in this dual boot thread: http://forum.xda-developers.com/show...&postcount=142

What I would love is a straight CWM-flashable 1.3 ROM, to include in my up-to-date (for now) guide for setting up the dual boot, rather than having to set up and move 1.2, then update to 1.3.
device________________Nook Color_________ Xperia X10_________ Nook HD+_________ Xperia Ion
last seen running_____CM10 Nightlies________CMX10___________CM10 on SD_______ rooted stock
status__________________gifted______________retired_____________active_____________active
 
rajendra82
Old
(Last edited by rajendra82; 12th September 2011 at 02:55 PM.)
#4  
rajendra82's Avatar
Senior Member - OP
Thanks Meter 141
Posts: 1,051
Join Date: Jul 2010
Location: Atlanta, GA
That is possible to do by combining three of the steps. You need commands from the scripts from the prepare dual boot zip to resize /media and create the secondary system and data partitions, then the part of the script from the file that copies the contents of /data from primary to secondary and replaces u-boot.bin , and then my file which formats secondary /system and puts 1.3.0 there, and copies the latest kernel and patched ramdisk onto /boot. I can put such a file together, but I wouldn't be able to test it. The Nook belongs to my wife, and and you get the rest of the drift.

PS - You can use my file as is after running prepare dual boot and copy stock to secondary. It is not necessary to update secondary to 1.2 before going to 1.3.

Sent from my SAMSUNG-SGH-I897 using XDA App
 
Taosaur
Old
#5  
Taosaur's Avatar
Senior Member
Thanks Meter 180
Posts: 774
Join Date: May 2011
Location: Ohiopolis
Quote:
Originally Posted by rajendra82 View Post
That is possible to do by combining three of the steps. You need commands from the scripts from the prepare dual boot zip to resize /media and create the secondary system and data partitions, then the part of the script from the file that copies the contents of /data from primary to secondary and replaces u-boot.bin , and then my file which formats secondary /system and puts 1.3.0 there, and copies the latest kernel and patched ramdisk onto /boot. I can put such a file together, but I wouldn't be able to test it. The Nook belongs to my wife, and and you get the rest of the drift.
Wait...what? What I'm talking about is a 1.3 zip made to work with CWM and in no way doctored to account for dual booting, just like the 1.2 zip one would otherwise use.

Quote:
Originally Posted by rajendra82 View Post
PS - You can use my file as is after running prepare dual boot and copy stock to secondary. It is not necessary to update secondary to 1.2 before going to 1.3.
Have you tested this theory? I found that when I did not register my B&N install while it was on the primary partition, I was unable to boot into it on the secondary partition.
device________________Nook Color_________ Xperia X10_________ Nook HD+_________ Xperia Ion
last seen running_____CM10 Nightlies________CMX10___________CM10 on SD_______ rooted stock
status__________________gifted______________retired_____________active_____________active
 
rajendra82
Old
#6  
rajendra82's Avatar
Senior Member - OP
Thanks Meter 141
Posts: 1,051
Join Date: Jul 2010
Location: Atlanta, GA
Quote:
Originally Posted by Taosaur View Post
Wait...what? What I'm talking about is a 1.3 zip made to work with CWM and in no way doctored to account for dual booting, just like the 1.2 zip one would otherwise use.
Are you talking about updating an already rooted 1.0/1.1/1.2 Nook Color. I am sure the scripting to do that is exactly the same as what is in the 1.2 zip file. Just replace the 1.2 files inside the zip with the equivalent files from the 1.3 update. Make sure the portions which install su and busybox are included, and build.prop spoofig is applied. I am not sure it is worth it building such a zip file though. One is better off just applying the B&N update, and then rerooting with manual nooter. What I created was for people that have already doctored the setup for dual booting. In such a case, the B&N update would either fail, or would replace the primary partition instead.

Quote:
Originally Posted by Taosaur View Post
Have you tested this theory? I found that when I did not register my B&N install while it was on the primary partition, I was unable to boot into it on the secondary partition.
No way to get around having to register the primary partition image first. Once that is done it could be moved to secondary and then updated straight to 1.3 instead of going 1.2 first.
 
yelloguy
Old
#7  
Member
Thanks Meter 12
Posts: 96
Join Date: Jun 2011
I have a dual boot eMMC NC. I am not sure which setup I use but the last time I updated the CM7 nightly, I lost the dual boot until I installed the u-Boot again. I suspect I have the setup that looks for altFImg. So this is not going to work for me. I have 1.2 rooted which I use only occasionally. I am not even sure what is in 1.3 but I am curious.
 
rajendra82
Old
(Last edited by rajendra82; 13th September 2011 at 04:29 AM.)
#8  
rajendra82's Avatar
Senior Member - OP
Thanks Meter 141
Posts: 1,051
Join Date: Jul 2010
Location: Atlanta, GA
Quote:
Originally Posted by yelloguy View Post
I have a dual boot eMMC NC. I am not sure which setup I use but the last time I updated the CM7 nightly, I lost the dual boot until I installed the u-Boot again. I suspect I have the setup that looks for altFImg. So this is not going to work for me. I have 1.2 rooted which I use only occasionally. I am not even sure what is in 1.3 but I am curious.
All you need to do is boot into CM7, mount /boot as root, and then rename uFImg to uAltImg, uFRam to uAltRam, and then change the text inside u-boot.altimg and u-boot.altram to point to the new names instead of the old ones. This will keep you dual booting under the old u-boot.bin, and even after a new protocol u-boot.bin (like that installed by CM7) gets pushed to your Nook Color. Once you have done that, you can update the secondary to 1.3 using my zip file if you want.
 
Taosaur
Old
#9  
Taosaur's Avatar
Senior Member
Thanks Meter 180
Posts: 774
Join Date: May 2011
Location: Ohiopolis
Quote:
Originally Posted by rajendra82 View Post
Are you talking about updating an already rooted 1.0/1.1/1.2 Nook Color. I am sure the scripting to do that is exactly the same as what is in the 1.2 zip file. Just replace the 1.2 files inside the zip with the equivalent files from the 1.3 update. Make sure the portions which install su and busybox are included, and build.prop spoofig is applied. I am not sure it is worth it building such a zip file though. One is better off just applying the B&N update, and then rerooting with manual nooter. What I created was for people that have already doctored the setup for dual booting. In such a case, the B&N update would either fail, or would replace the primary partition instead.
I wouldn't know what to change and what to leave alone, myself, but I think you're making this more complicated than it needs to be. I'm talking about installing 1.3 using CWM, regardless of how the device is partitioned or what was on the primary partition previously. Like the files in this thread, but 1.3: http://forum.xda-developers.com/show....php?t=1050520.

I understand that you were just cleaning up jaso's update-dualboot-to-1.3 file. I used the original and it worked fine, but it would have saved me a couple steps (and would be more useful in a guide for setting up dualboot) to simply install 1.3 rather than 1.2 to the primary partition when setting up. The reason I started with 1.2 is because it is the most current stock ROM available for CWM. What I would like is to avoid a historical re-enactment of stock OS development altogether. A general-purpose, CWM-flashable 1.3 ROM would be broadly useful, but is so far lacking as far as I've seen.
device________________Nook Color_________ Xperia X10_________ Nook HD+_________ Xperia Ion
last seen running_____CM10 Nightlies________CMX10___________CM10 on SD_______ rooted stock
status__________________gifted______________retired_____________active_____________active
 
rajendra82
Old
(Last edited by rajendra82; 13th September 2011 at 03:43 PM.)
#10  
rajendra82's Avatar
Senior Member - OP
Thanks Meter 141
Posts: 1,051
Join Date: Jul 2010
Location: Atlanta, GA
1. Do you envision this to be an uprooted stock 1.3 update ROM (either as primary or the only boot option) ? I just don't see the need for this to be CWM flashable. It is very easy to get there by resetting the device to stock, and then updating the device to 1.3.0 using the B&N file, and restoring dual boot as need be. If one has any older stock ROM running on primary, the B&N update will get them to 1.3 while losing root. There is no need to apply 1.2 update first.

2. Do you envision this to be for already rooted single or primary booting 1.1/1.2 users? There is once again no need to create any file for this. One can simply apply the B&N update, and then rerun manual nooter, and restore dual booting to the secondary.

3. The only users with no clear upgrade path are those who have already moved the B&N ROM to secondary. That's why I fixed up the zip file, and shared it. I am glad the original file worked for you despite the script errors. I can see other setups where it would have failed though.

I am not trying to make this more complicated than it needs to be. The Nook Color is just capable of being set up in so many ways, there isn't simply going to be a single update method that will work in all scenarios.

Sent from my SAMSUNG-SGH-I897 using XDA App

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...