While the nvflash commands are identical on Linux and Windows, the method for getting nvflash set up is not. Additionally, there is no bash shell script included with Honeystreak to flash the device.
PREPARATION
Device *must* be in APX mode. You do NOT need to install any drivers.
To put the device in APX mode:
1) Power off the device.
2) Disconnect the cable from the device.
3) Press and hold BOTH Volume buttons.
4) Press and hold the Power button.
The hardware buttons of the Streak will start to glow approx 8 seconds after pressing the power button.
If the buttons glow right away you may not be not in APX mode.
Now connect the device to your USB port.
As of August 19, 2011 the latest Linux For Tegra is here.
Direct link to Linux for Tegra
Instead of using tar -xzvf for file extraction I prefer unp (apt-get install unp). You may of course extract files any way you like.
Extract nvflash and drop it in your $PATH. I used /usr/local/bin/
Code:
$ unp tegra-linux-12.alpha.1.0.tar.gz
$ su
# cp ldk/bootloader/nvflash /usr/local/bin/
Download the latest Honeystreak HD7
(get the wifi-only if you have that device)
FLASHING
Prior to calling nvflash, you'll need to copy the appropriate Region_**.img to RC_download.img. I'm in the US so:
Code:
$ unp Streakdroid-HD7-2.0R2-wifionly.zip
$ cd Streakdroid\ HD7-2.0R2-wifionly/
$ cp region_img/RC_us.img RC_download.img
Currently, there are 4 different partitioning schemes contained within the .cfg files. The gb quantity refers to how much space is alloted to internal app storage. This partition will be mounted to /data. The remainder will be mounted to /mnt/sdcard
Code:
android_2gb.cfg
android_3gb.cfg
android_4gb.cfg
android_5gb.cfg
Call nvflash with your preferred *.cfg as an argument to the --configfile switch.
Flash as root!
Code:
Code:
$ su
# nvflash --bct Streak7.bct --setbct --configfile android_4gb.cfg --create --bl bootloader.bin --odmdata 0x8b0c0011 --go
A sample output from nvflash
Code:
Nvflash started
rcm version 0X20001
System Information:
chip name: t20
chip id: 0x20 major: 1 minor: 3
chip sku: 0x8
chip uid: 0x028040c642e13517
macrovision: disabled
hdcp: enabled
sbk burned: false
dk burned: false
boot device: emmc
operating mode: 3
device config strap: 0
device config fuse: 0
sdram config strap: 0
sending file: Streak7.bct
- 4080/4080 bytes sent
Streak7.bct sent successfully
downloading bootloader -- load address: 0x108000 entry point: 0x108000
sending file: bootloader.bin
| 1208404/1208404 bytes sent
bootloader.bin sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully
setting device: 2 3
creating partition: BCT
creating partition: PT
creating partition: EBT
creating partition: EB1
creating partition: NVC
creating partition: NV1
creating partition: MBR
creating partition: SOS
creating partition: LNX
creating partition: APP
creating partition: CAC
creating partition: MSC
creating partition: FDR
creating partition: UDA
creating partition: OLG
creating partition: LGF
creating partition: RES
creating partition: RGN
creating partition: VAR
creating partition: USP
creating partition: SDC
Formatting partition 2 BCT please wait.. done!
Formatting partition 3 PT please wait.. done!
Formatting partition 4 EBT please wait.. done!
Formatting partition 5 EB1 please wait.. done!
Formatting partition 6 NVC please wait.. done!
Formatting partition 7 NV1 please wait.. done!
Formatting partition 8 MBR please wait.. done!
Formatting partition 9 SOS please wait.. done!
Formatting partition 10 LNX please wait.. done!
Formatting partition 11 APP please wait.. done!
Formatting partition 12 CAC please wait.. done!
Formatting partition 13 MSC please wait.. done!
Formatting partition 14 FDR please wait.. done!
Formatting partition 15 UDA please wait.. done!
Formatting partition 16 OLG please wait.. done!
Formatting partition 17 LGF please wait.. done!
Formatting partition 18 RES please wait.. done!
Formatting partition 19 RGN please wait.. done!
Formatting partition 20 VAR please wait.. done!
Formatting partition 21 USP please wait.. done!
Formatting partition 22 SDC please wait.. done!
done!
sending file: bootloader.bin
| 1208404/1208404 bytes sent
bootloader.bin sent successfully
sending file: bootloader.bin
| 1208404/1208404 bytes sent
bootloader.bin sent successfully
sending file: microboot.bin
\ 115880/115880 bytes sent
microboot.bin sent successfully
sending file: microboot.bin
\ 115880/115880 bytes sent
microboot.bin sent successfully
sending file: recovery.img
/ 3612672/3612672 bytes sent
recovery.img sent successfully
sending file: boot.img
- 3459072/3459072 bytes sent
boot.img sent successfully
sending file: system.img
/ 352321536/352321536 bytes sent
system.img sent successfully
sending file: logfilter.img
\ 131072/131072 bytes sent
logfilter.img sent successfully
sending file: RC_download.img
- 120/120 bytes sent
RC_download.img sent successfully
sending file: variables.img
- 144/144 bytes sent
variables.img sent successfully
Once all files have been 'sent', press and continue to hold the Power button until the device powers on.
Partition layout after using the 4gb.cfg file:
Code:
Filesystem Size Used Available Use% Mounted on
tmpfs 182.5M 32.0K 182.5M 0% /dev
tmpfs 182.5M 0 182.5M 0% /mnt/asec
tmpfs 182.5M 0 182.5M 0% /mnt/obb
/dev/APP 330.7M 217.6M 113.1M 66% /system
/dev/UDA 3.9G 428.1M 3.5G 11% /data
/dev/CAC 108.4M 9.4M 99.0M 9% /cache
/dev/SDC 10.2G 793.6M 9.4G 8% /mnt/sdcard
*Note* Disc space usage above does not reflect disc usage after a fresh flash.
Bookmarks