OK, I know this isn't generally the route you go with this install, but I've seen other people do something similar so I'm pretty sure it's possible:
I want to do a dual boot ubuntu and android installation, but I want to use cm9 as my android rom rather than primed. It is my understanding that you can backup your current rom with nvflash and use that as your nvflash-able rom for the dual boot installation. My problem is I have not found any information on how to do this with a windows pc, or been successful with my own tinkering.
I previously used this method
http://androidroot.mobi/2011/06/13/nvflash-on-asus-transformer/ to root my transformer from a windows pc, and it worked just fine.
I found information on doing a nvflash backup from a linuxu pc here
http://xdaforums.com/showpost.php?p=14840464&postcount=1 , and tried to edit the .sh file from the attached zip on that post as directed by this post
http://xdaforums.com/showpost.php?p=16150275&postcount=61. I then edited the resulting .sh file in an attempt to create a .bat file that would be usable from a pc, using the .bat file from the first link that rooted my transformer as reference. I have so far been unsuccessful.
Yes, I understand it would just be easiest to install ubuntu on my pc, or to create a live cd, but those two options are not options for me unfortunately. Can anybody offer some direction or help in this regard?
Here are the files I've been working with just for reference:
The original download.bat from the first link:
Code:
cd %~dp0
"nvflash.exe" --bct transformer.bct --setbct --configfile flash.cfg --create --bl bootloader.bin --odmdata 0x300d8011 --sbk 0x1682CCD8 0x8A1A43EA 0xA532EEB6 0xECFE1D98 --go
The origianl tf-backup.sh from the second link
Code:
#!/bin/bash
BACKUP_DIR="tf101-backup-`date +%Y%m%d%H%M%S`"
mkdir $BACKUP_DIR
./nvflash.exe --bct transformer.bct --setbct --configfile flash.cfg --bl bootloader.bin --odmdata 0x300d8011 --sbk 0x1682CCD8 0x8A1A43EA 0xA532EEB6 0xECFE1D98 --sync
./nvflash.exe --resume --getpartitiontable $BACKUP_DIR/partitiontable.txt
./nvflash.exe --resume --read 2 $BACKUP_DIR/02_BCT_raw.img
./nvflash.exe --resume --read 3 $BACKUP_DIR/03_PT_raw.img
./nvflash.exe --resume --read 4 $BACKUP_DIR/04_EBT_raw.img #bootloader
./nvflash.exe --resume --read 5 $BACKUP_DIR/05_SOS_raw.img #recovery
./nvflash.exe --resume --read 6 $BACKUP_DIR/06_LNX_raw.img #kernel
./nvflash.exe --resume --read 7 $BACKUP_DIR/07_BAK_raw.img
./nvflash.exe --resume --read 8 $BACKUP_DIR/08_GP1_raw.img
./nvflash.exe --resume --read 9 $BACKUP_DIR/09_APP_raw.img #system
./nvflash.exe --resume --read 10 $BACKUP_DIR/10_CAC_raw.img
./nvflash.exe --resume --read 11 $BACKUP_DIR/11_MSC_raw.img
./nvflash.exe --resume --read 12 $BACKUP_DIR/12_USP_raw.img
./nvflash.exe --resume --read 13 $BACKUP_DIR/13_PER_raw.img
./nvflash.exe --resume --read 14 $BACKUP_DIR/14_YTU_raw.img
#./nvflash.exe --resume --read 15 $BACKUP_DIR/15_UDA_raw.img #media (/!\ ~14/30GB large)
./nvflash.exe --resume --read 16 $BACKUP_DIR/16_GPT_raw.img
My final edited tf-backup.bat:
Code:
cd %~dp0
"nvflash.exe" --bct transformer.bct --setbct --configfile flash.cfg --bl bootloader.bin --odmdata 0x300d8011 --sbk 0x1682CCD8 0x8A1A43EA 0xA532EEB6 0xECFE1D98 --sync
"nvflash.exe" --resume --getpartitiontable nvflashbackup/partitiontable.txt
"nvflash.exe" --resume --read 5 nvflashbackup/05_SOS_raw.img
"nvflash.exe" --resume --read 6 nvflashbackup/06_LNX_raw.img
"nvflash.exe" --resume --read 9 nvflashbackup/09_APP_raw.img
The result of this code is it stops at resume mode while executing the line with read 5 in it.