Jump to content


Photo

NVFLASH explained?


  • Please log in to reply
3 replies to this topic

#1 raidzero

raidzero

    Member

  • Jr. Member
  • PipPip
  • 17 posts

Posted 15 June 2011 - 04:39 PM

How do you modify an nvflash cfg file to only flash a single partition? I am not sure what they all are.. here is what I have come up with by inspecting the files and cfg file

BCT = .bct file - boot config table (binary file - not sure what to do with it) - part2.img
PT = partition table (also binary, it seems to contain addresses where each partition starts) - part3.img
EBT - ? - part4.img
MBT - ? - part5.img (some kind of second stage?)
BLO - bootloader? - part6.img
MSC - misc? - part7.img
OGO - ? - part8.img
SOS - recovery - part9.img
LNX - boot - part9.img
CAC - ? - part10.img
APP - system - system.img

LNX and CAC seem to share a zImage though ramdisks are different

"Success is going from failure to failure without loss of enthusiasm"


- Winston Churchill


#2 butchconner

butchconner

    G-Tab Moderator

  • Moderator
  • PipPipPip
  • 216 posts
  • LocationNorthwest Louisiana

Posted 15 June 2011 - 08:59 PM

raidzero,

You don't.

Suggestion: Go to one of the threads on how to nvflash ClockWorkMod (CWM)
and it should give you a good example of how to flash an individual
partition and the naming conventions, etc.

RevBC

P. S. -- I don't know of anyone -- including the devs -- who really
thoroughly understands all the partitions, etc. If you do some
Web searching, there is a command you can give in a nfflash batch
file which will save a listing of nvflash commands, etc. to a file which
you can then print out.

If I can find it, I'll edit this.

Edited by butchconner, 15 June 2011 - 09:00 PM.


#3 raidzero

raidzero

    Member

  • Jr. Member
  • PipPip
  • 17 posts

Posted 16 June 2011 - 07:11 PM

good info, I never thought about using nvflash outside of batch mode, perhaps it can be used in a way similar to fastboot. I'll check into it. thanks.

"Success is going from failure to failure without loss of enthusiasm"


- Winston Churchill


#4 Kameo

Kameo

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 262 posts

Posted 26 September 2011 - 02:32 AM

BLO is not the bootloader but the Boot LOgo, the splashscreen (birds).

So here's what it should look like:

BCT (Boot Configuration Table)

PT (Partition Table)

EBT (Bootloader Table)

MBT (Another Bootloader Table?)

BLO (Boot LOgo)

MSC (MiSCellaneous hardware settings)

OGO (Another boot logo file)

SOS (Recovery)

LNX ( Kernel),

CAC (CAChe)

APP (Applications in System or Rom)


Edited by Kameo, 26 September 2011 - 03:47 AM.

HTC Sensation - Viper Rom v1.6.3 [Android v4.0.4 + Sense 4.1]
HTC Desire - Runnymede AIO v6.1.1 [Android v2.3.5 + Sense v3.6]
Hannspad SN10T1/1653 -
TeamDRH Dirty BEAN [Android v4.2.2 + Kazpar Kernel v1]