Post Reply

[Dual-Boot SDCard | CM7.2 Source | Guides | Recovery | Stock 1.4.2 ]

OP succulent

21st April 2012, 01:59 AM   |  #21  
lavero.burgos's Avatar
Senior Member
Flag Guayaquil
Thanks Meter: 1,315
 
2,513 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Ahah thanks a bunch, you're the man @succulent yup

~ Veronica

Sent from my Nook Tablet using xda premium
25th April 2012, 06:50 PM   |  #22  
Junior Member
Thanks Meter: 9
 
16 posts
Join Date:Joined: Apr 2012
Thank you for the tutorial! I finished building my first ROM from scratch last night thanks to you.

Just a couple problems I ran into, perhaps I can help some others avoid them:
-You must run vendor/cyanogen/get-rommanager before compiling
-For Arch Linux users: mv /usr/bin/python /usr/bin/python.bak & ln -s /usr/bin/python2 /usr/bin/python
-to compile with gcc 4.7 check this commit.

I am looking forward to making some contributions to the community and improving the environment for this excellent little tablet. Thanks again!
26th April 2012, 12:12 AM   |  #23  
succulent's Avatar
OP Senior Member
Thanks Meter: 448
 
241 posts
Join Date:Joined: Dec 2010
Quote:
Originally Posted by Prof. Penguin

Thank you for the tutorial! I finished building my first ROM from scratch last night thanks to you.

Just a couple problems I ran into, perhaps I can help some others avoid them:
-You must run vendor/cyanogen/get-rommanager before compiling
-For Arch Linux users: mv /usr/bin/python /usr/bin/python.bak & ln -s /usr/bin/python2 /usr/bin/python
-to compile with gcc 4.7 check this commit.

I am looking forward to making some contributions to the community and improving the environment for this excellent little tablet. Thanks again!

Good,

I've added codes so that when you build CM7, it will include recovery.img, MLO, and u-boot.bin in the output zip. This way, it'll flash recovery into internal when you flash the rom.
The Following 2 Users Say Thank You to succulent For This Useful Post: [ View ]
26th April 2012, 03:18 AM   |  #24  
Junior Member
Thanks Meter: 9
 
16 posts
Join Date:Joined: Apr 2012
Help me understand why you would want that every time you flash? If I am flashing roms in the first place wouldn't I already have a working recovery.img, MLO, and u-boot.bin?
26th April 2012, 03:59 AM   |  #25  
succulent's Avatar
OP Senior Member
Thanks Meter: 448
 
241 posts
Join Date:Joined: Dec 2010
Quote:
Originally Posted by Prof. Penguin

Help me understand why you would want that every time you flash? If I am flashing roms in the first place wouldn't I already have a working recovery.img, MLO, and u-boot.bin?

It was suggested to me. Just like BN update, it contains recovery, mlo, and u-boot.bin. MLO load u-boot and u-boot load boot.img. MLO and u-boot are different in each BN update. You want people to have the latest one flash to their device so they run properly. Latest one worked on both 8gb/16gb unlike old one that doesn't work on 8gb.
26th April 2012, 02:39 PM   |  #26  
Junior Member
Thanks Meter: 9
 
16 posts
Join Date:Joined: Apr 2012
I was thinking about installing cyanoboot, wouldn't including these things break the ability to use an alternative bootloader, ie cyanoboot? Perhaps adding a compile time flag would be a better way to go about adding this feature.

As a comparison, does the Team B release include these pieces?
26th April 2012, 10:55 PM   |  #27  
Senior Member
Thanks Meter: 44
 
276 posts
Join Date:Joined: Mar 2011
Succulent, you might want to add a warning about how flash-restore-stock.zip will wipe the ROM partition (which as you know has some irreplaceable unique data). I don't think it will be possible to register the NT with B&N after doing this and actually use the stock ROM.
Last edited by swaaye; 26th April 2012 at 11:03 PM.
26th April 2012, 11:32 PM   |  #28  
succulent's Avatar
OP Senior Member
Thanks Meter: 448
 
241 posts
Join Date:Joined: Dec 2010
Quote:
Originally Posted by swaaye

Succulent, you might want to add a warning about how flash-restore-stock.zip will wipe the ROM partition (which as you know has some irreplaceable unique data). I don't think it will be possible to register the NT with B&N after doing this and actually use the stock ROM.

Correct. It's is there because some people decided to format their Rom nd Bootdata partitions. You might be able to register your device if you do the factory reset and restore. Your Rom and Bootdata might have backup in your factory partition. Anyway, you can skip the registration screen.
27th April 2012, 12:24 AM   |  #29  
Senior Member
Thanks Meter: 44
 
276 posts
Join Date:Joined: Mar 2011
Quote:
Originally Posted by succulent

You might be able to register your device if you do the factory reset and restore. Your Rom and Bootdata might have backup in your factory partition.

Can you explain this further? Which factory reset and restore method? Is there an automated way to restore the ROM and BOOTDATA files from the factory partition?
27th April 2012, 12:53 AM   |  #30  
succulent's Avatar
OP Senior Member
Thanks Meter: 448
 
241 posts
Join Date:Joined: Dec 2010
Quote:
Originally Posted by swaaye

Can you explain this further? Which factory reset and restore method? Is there an automated way to restore the ROM and BOOTDATA files from the factory partition?

Factory partition:

>file factory.zip
Restore partition 1,2,3,4,9 (x-loader, bootloader, recovery, boot, system)
re-install system files, same as update.zip

>file qutarun.txt

>file rombackup.zip
Backlight,
BatteryType,
DateManufactured,
DeviceAttribute,
DeviceID,
EAN,
EventTpe,
HashofPrivateKey,
MACAddress,
MainboardSN,
ModelNumber,
OperatingMode,
Platform,
ProductID,
PublicKey,
SerialNumber,
WifiBackupCalibration

>file romrestore.zip
Restore partition 5 (Rom)

>file runin_end_batt_capacity_record
>file runin_raw_log.txt
>file runin_start_batt_capacity_record

Rom partition:

>folder defconf:
Backlight,
BatteryType,
DateManufactured,
DeviceAttribute,
DeviceID,
EAN,
EventTpe,
HashofPrivateKey,
MACAddress,
MainboardSN,
ModelNumber,
OperatingMode,
Platform,
ProductID,
PublicKey,
SerialNumber,
WifiBackupCalibration

>folder log:
aft1_log
bc002log.txt
qutadlog.txt
qutalog.txt

> file rom (0 byte)

Bootdata partition:
>file BCB
>file BootCnt
>file bootdata
>file max17042.bin

To initialize factory restore (Rom/Bootdata restore), you need to search the 9 failed boot attempts. To initialize Factory reset you need to turn off device. Hold both power and n button until device turn on and off. Power on again to go to stock recovery.
Last edited by succulent; 27th April 2012 at 01:07 AM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes