Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: nvflash Honeystreak on Streak 7 from Debian GNU Linux

  1. #1
    ugh
    ugh is offline
    Member
    Join Date
    Aug 2011
    Location
    Colorado Springs, CO USA
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    nvflash Honeystreak R2 - Debian GNU Linux

    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.
    Last edited by ugh; 09-01-2011 at 09:48 PM.

  2. #2
    Member
    Join Date
    Sep 2011
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts
    thanks man , i think we should make a script for this so dj_steve can package it with his rom... (honeystreaklinux.sh?) what do you think ?

    I am a total n00b at shell but check out what I put on pastebin as a template, i don't know all of the syntax yet so i'm hoping some other DS7 users that like linux can jump on this with me before the next one of dj_steves' RCs

    http://pastebin.com/rSuc0XZ2
    Last edited by ShawnArthur; 09-03-2011 at 12:55 AM.

  3. #3
    TR ELITE TEAM
    Join Date
    Apr 2011
    Posts
    249
    Thanks
    0
    Thanked 222 Times in 48 Posts
    sounds like a plan to me, if someone can package up a barebones zip with the files required for nvflash in linux ill add it in
    Devices: 2 x Dell Streak(O2), Dell Streak 7(WiFi+4G Thanks to hellzya), Nokia N900(T-Mobile Contract)| Notion Ink Adam (x 2 - one with nuked touchscreen) | HTC Wildfire | Nexus One
    Developing Android/Cyanogenmod for Streak/Streak 7 - Please feel free to Donate : GBP Donate | USD Donate
    Developing Officially For Notion Ink Adam (Honeycomb + froyo tweaks) - Please feel free to Donate: GBP Donate | USD Donate
    Twitter: http://www.twitter.com/dmonsterprod

  4. #4
    Member
    Join Date
    Sep 2011
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by StephenH View Post
    sounds like a plan to me, if someone can package up a barebones zip with the files required for nvflash in linux ill add it in
    cool , i've been working on it, I have it working for myself, but I'm a n00b at bash shell, so if anybody can take a look at my pastebin script and make it better please check it out

    [Bash] honeystreaklinuxinstall.sh - Pastebin.com

  5. #5
    TR ELITE TEAM
    Join Date
    Apr 2011
    Posts
    249
    Thanks
    0
    Thanked 222 Times in 48 Posts
    id personally rephrase the options for data size
    Devices: 2 x Dell Streak(O2), Dell Streak 7(WiFi+4G Thanks to hellzya), Nokia N900(T-Mobile Contract)| Notion Ink Adam (x 2 - one with nuked touchscreen) | HTC Wildfire | Nexus One
    Developing Android/Cyanogenmod for Streak/Streak 7 - Please feel free to Donate : GBP Donate | USD Donate
    Developing Officially For Notion Ink Adam (Honeycomb + froyo tweaks) - Please feel free to Donate: GBP Donate | USD Donate
    Twitter: http://www.twitter.com/dmonsterprod

  6. #6
    Member
    Join Date
    Sep 2011
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by StephenH View Post
    id personally rephrase the options for data size
    what is the diff between the android_#gb.cfg and android_noreg_#gb.cfg ?

  7. #7
    TR ELITE TEAM
    Join Date
    Apr 2011
    Posts
    249
    Thanks
    0
    Thanked 222 Times in 48 Posts
    ones without region stuff (not entriely certain whats in the region images anyway lol
    Devices: 2 x Dell Streak(O2), Dell Streak 7(WiFi+4G Thanks to hellzya), Nokia N900(T-Mobile Contract)| Notion Ink Adam (x 2 - one with nuked touchscreen) | HTC Wildfire | Nexus One
    Developing Android/Cyanogenmod for Streak/Streak 7 - Please feel free to Donate : GBP Donate | USD Donate
    Developing Officially For Notion Ink Adam (Honeycomb + froyo tweaks) - Please feel free to Donate: GBP Donate | USD Donate
    Twitter: http://www.twitter.com/dmonsterprod

  8. #8
    ugh
    ugh is offline
    Member
    Join Date
    Aug 2011
    Location
    Colorado Springs, CO USA
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ShawnArthur View Post
    cool , i've been working on it, I have it working for myself, but I'm a n00b at bash shell, so if anybody can take a look at my pastebin script and make it better please check it out

    [Bash] honeystreaklinuxinstall.sh - Pastebin.com
    Very good start. 2 suggestions:

    1) Instead of asking end user for nvflash use test to see if nvflash is in the path already, if not then you need it. DJ Steve could include nvflash with his download. Your script could either call nvflash directly from the directory it's unpacked in or it could copy it into the $PATH if required.

    2) Not everyone uses sudo. Force user to call script with sudo or run as root. Something like:

    Code:
    if [ "$(id -u)" != "0" ]; then
        echo "Run script as root or use sudo."
        exit 1
    fi
    Streak 7
    Honeystreak HD7 2.0 RELEASE 2

  9. #9
    TR ELITE TEAM
    Join Date
    Apr 2011
    Posts
    249
    Thanks
    0
    Thanked 222 Times in 48 Posts
    Yea i always use root myself...i know i know very bad. And i dont mind including the nvflash binarys in my build either
    Devices: 2 x Dell Streak(O2), Dell Streak 7(WiFi+4G Thanks to hellzya), Nokia N900(T-Mobile Contract)| Notion Ink Adam (x 2 - one with nuked touchscreen) | HTC Wildfire | Nexus One
    Developing Android/Cyanogenmod for Streak/Streak 7 - Please feel free to Donate : GBP Donate | USD Donate
    Developing Officially For Notion Ink Adam (Honeycomb + froyo tweaks) - Please feel free to Donate: GBP Donate | USD Donate
    Twitter: http://www.twitter.com/dmonsterprod

  10. #10
    Member
    Join Date
    Sep 2011
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ugh View Post

    1) Instead of asking end user for nvflash use test to see if nvflash is in the path already, if not then you need it. DJ Steve could include nvflash with his download. Your script could either call nvflash directly from the directory it's unpacked in or it could copy it into the $PATH if required.
    yea, i wasn't sure what would be better, to include it or download it as part of the script
    if steve puts it in do we do cp nvflash /usr/local/bin/ or use ./nvflash ?

Page 1 of 2 12 LastLast

Remove Ads

Similar Threads

  1. Setup adb & fastboot - Debian GNU Linux
    By ugh in forum Streak 7 Frequently Asked Questions
    Replies: 2
    Last Post: 02-06-2012, 09:48 PM
  2. Nvflash Official 3.2 Honeycomb 19534 - Debian GNU Linux
    By ugh in forum Streak 7 Frequently Asked Questions
    Replies: 0
    Last Post: 10-26-2011, 11:04 AM
  3. Nvflash official Dell 3.2 Wifi only version - Debian GNU Linux
    By ugh in forum Streak 7 Frequently Asked Questions
    Replies: 0
    Last Post: 10-25-2011, 10:57 AM
  4. Factory Restore Wifi only version - Debian GNU Linux
    By ugh in forum Streak 7 Frequently Asked Questions
    Replies: 0
    Last Post: 09-01-2011, 09:14 PM
  5. Setup nvflash - Debian GNU Linux
    By ugh in forum Streak 7 Frequently Asked Questions
    Replies: 0
    Last Post: 09-01-2011, 06:42 PM

Search tags for this page

apx drivers for dell streak 7
,
debian on dell tablet streak 7
,
dell streak 7 apx driver
,

dell streak 7 nvflash mode

,
dell streak 7 nvflash recovery free download
,
dell streak7 apx driver
,

nvflash dell streak 7

,

nvflash streak 7

,
streak 7 apx drivers
,
streak7 nvflash package
Click on a term to search for related topics.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •