Post Reply

The Official RUU of M8 for Windows Phone (Verizon Edition)

OP sea-monsters

24th December 2014, 03:54 AM   |  #71  
Senior Member
Flag Tidioute PA
Thanks Meter: 114
 
483 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Quote:
Originally Posted by compu829

as long as the certificate info blown into the eFUSEs matches between the Android and Windows versions, You should be able to Goldcard flash using the Y-Cable method. that will put the whole nbh onto the device.

Is Goldcard flashing more complicated then it was under Windows 7 Phones? I accidentally flashed a HTC Arrive (GoldC) bootloader to my HTC Trophy (SparkW), and was able to recover my Trophy with Goldcard after changing my Goldcard to work with the the HTC Arrive bootloader (I caught the mistake fast as soon as it booted up, so the phone never booted past the loader... prob saved me a complete bricking).

Are there new checks in place that prevent cross flashing via Goldcard with a simple file name (my googlefu is failing me atm), or has no one discovered the proper name of the image on either the M8 or WPM8? I'll likely be buying the WPM8 soon, and will start investigating this matter once I have it.
Last edited by TheXev; 24th December 2014 at 03:57 AM.
31st December 2014, 05:22 PM   |  #72  
Senior Member
Thanks Meter: 255
 
305 posts
Join Date:Joined: Nov 2006
More
@TheXev on the Windows side, goldcard functions just the same as it used to on the Windows Phone 7-based devices. The name of the file for goldcard flashing is "W8ULDIAG.nbh"
The Following User Says Thank You to compu829 For This Useful Post: [ View ]
25th January 2015, 09:09 AM   |  #73  
Senior Member
Flag Tidioute PA
Thanks Meter: 114
 
483 posts
Join Date:Joined: Aug 2010
Donate to Me
More
I've read this entire thread again, and I'd just like to note that this image does flash on my true Windows based M8. Maybe I'll try attacking it from the other side, and try loading android on it?

Earlier in this thread, a link to ACDU was posted. I used that, and held both vol buttons on my M8 for Windows as I powered it on (don't start it with the USB cable already inserted, it doesn't like that for some reason). I'll record a video of the process from the Windows perspective because I have no clue if its similar to the Android side or not.

Restoring seemed to work perfectly in Windows 8.1, so all of my apps and settings came back right away! Since I don't have much to lose I'll do it again with video.

*edit* I slapped together a video. I apologize for some of the editing, but some of my MIED info would have displayed otherwise. :/

I'd be willing to try flashing Android to it if I could change the model number on the phone itself. :/
Last edited by TheXev; 25th January 2015 at 11:36 AM.
The Following User Says Thank You to TheXev For This Useful Post: [ View ]
27th January 2015, 09:14 PM   |  #74  
Senior Member
Thanks Meter: 7
 
165 posts
Join Date:Joined: Jul 2011
Hi there just wondering, is there a way to flash w8 on my vzw htc one m8? I'm already S-Off, rooted and right now have lollipop on it, but I have alway wanted to try windows phone! Any help would be nice if it's possible.
3rd February 2015, 07:12 AM   |  #75  
Senior Member
Flag Tidioute PA
Thanks Meter: 114
 
483 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Quote:
Originally Posted by Edu616

Hi there just wondering, is there a way to flash w8 on my vzw htc one m8? I'm already S-Off, rooted and right now have lollipop on it, but I have alway wanted to try windows phone! Any help would be nice if it's possible.

I wish I had the Android version of the phone as well. I get the feeling if you change the model number on the android version, and then attempt to flash the Windows rom from the recovery screen. it might work to turn an Android version into a Windows version. As for going the other way with Windows=>Android, We'd prob need a unlocked bootloader just to be able to terminal into the thing and change the model number so you could flash a different rom.

Still, I'd be worried about MIED etc being wiped in the processes, and I have yet to find a reliable way to back that information up or modify it using CDMA Workshop (which I own a legit copy of) or QPST. I can't even change something as simple as the DUN settings to bypass the tethering lock on VZW (which I can't see any reason why it wouldn't work since it worked on 3G phones.. just use the 4G username instead of the 3G big woop).

I dunno, does DFT have a Windows Verzion M8 in hand? Maybe they can create a HSPL bootloader to make that kind of stuff possible. :/
11th February 2015, 02:41 PM   |  #76  
Member
Thanks Meter: 82
 
79 posts
Join Date:Joined: Sep 2009
just a heads up
I didn't read through every line of the thread but there are all kinds of things that get in the way on the RUU's I have found even on the m7 and android m8. Even when having s-off, super cid, matching cid and mid, the hboot can cause an RUU to not flash. On my spare m7 I converted the att blue one to t-mobile, to developer, and back to att. Even when the mid and cid matched, if the hboot was newer even if it wasn't from the same "model" the RUU would fail to restore. If i flashed an hboot from the same carrier / model, the next attempt would work. Same with super CID. I will mess around with a windows m8 later today that I will most likely pick up off someone with a trade and see what I can do with it.
15th February 2015, 09:44 AM   |  #77  
Junior Member
Thanks Meter: 2
 
9 posts
Join Date:Joined: Dec 2010
Has this gotten any further? (wp8.1 to vzw android m8) this is the best lead, and most lead I've found in 3 hours. Updates would be sweet.
Yesterday, 10:32 AM   |  #78  
HD2Owner's Avatar
Recognized Developer
Flag Neuhausen am Rheinfall
Thanks Meter: 2,182
 
2,152 posts
Join Date:Joined: Oct 2009
Donate to Me
here is the w8 (verizon) uefi memory map

Code:
# ============================Memory Map ======================================

#  +--------------------+
#  |                    |
#  |                    |
#  |                    |
#  | HLOS Mem 5         | HTC revised size
#  |                    |
#  |                    |
#  |                    |
#  +--------------------+  0x1060_0000
#  |                    |
#  | Modem Reserved     |       HTC
#  |  (6MB)             |
#  |                    |
#  +--------------------+  0x1000_0000
#  |   RPM Backup       |
#  +--------------------+  0x0FF0_0000
#  |                    |
#  | NonRelocatable 0   |
#  |  (3MB)             |
#  |  -RAM EFS          |
#  |  -TZ Image         |
#  |                    |
#  +--------------------+  0x0FC0_0000
#  |                    |
#  | SMEM               |
#  |  (2MB)             |
#  |                    |
#  +--------------------+  0x0FA0_0000
#  |                    |
#  | Subsystem          |
#  | Reserved 2         |
#  |  (5MB)             |
#  |  -Venus            |
#  |                    |
#  +--------------------+  0x0F50_0000
#  |                    |
#  | HLOS Mem 4         |
#  |  (5MB)             |
#  |                    |
#  +--------------------+  0x0F00_0000
#  |                    |
#  | Subsystem          |
#  | Reserved 1         |
#  |  (20MB)            |
#  |  -ADSP             |
#  |                    |
#  +--------------------+  0x0DC0_0000
#  |                    |
#  | HLOS Mem 3         |
#  |  (3MB)             |
#  |                    |
#  +--------------------+  0x0D90_0000
#  |                    |
#  | Subsystem          |
#  | Reserved 0         |
#  |  (89MB)            |
#  |  -WConnect         |
#  |  -Modem            |
#  |                    |
#  +--------------------+  0x0800_0000
#  |                    |
#  | TZ Apps            |
#  |  (3MB)             |
#  |                    |
#  +--------------------+  0x07D0_0000
#  |                    |
#  | TZ Data            |       HTC
#  |  (1MB)             |
#  |                    |
#  +--------------------+  0x07C0_0000
#  |                    |
#  | TZ Log             |       HTC
#  |  (512KB)           |
#  |                    |
#  +--------------------+  0x07B8_0000
#  |                    |
#  | Driver Global      |       HTC
#  |  (512KB)           |
#  |                    |
#  +--------------------+  0x07B0_0000
#  |                    |
#  | HTC Secure DDR     |       HTC
#  |  (1MB)             |
#  |                    |
#  +--------------------+  0x07A0_0000
#  |                    |
#  | TZ Reserved        |       HTC
#  |  (1MB)             |
#  +--------------------+  0x0790_0000
#  |                    |
#  | HLOS Mem 2         |  HTC revised size
#  |  (30MB)            |
#  |                    |
#  +--------------------+  0x05B0_0000
#  |                    |
#  | Smart Logging      |       HTC
#  |  (20MB)            |
#  |                    |
#  +--------------------+  0x0470_0000 ---- UEFI Memory Pool Top
#  |                    |
#  | HLOS Mem 1         |       HTC revised size
#  |  (58MB)            |
#  |                    |
#  +--------------------+  0x00D0_0000
#  | Reserved Cached 0  |
#  |  (704KB)           |
#  +--------------------+  0x00C5_0000
#  | CPU Vectors        |
#  |  (64KB)            |
#  +--------------------+  0x00C4_0000 ---- Stack Base
#  | UEFI Stack         |
#  |  (256KB)           |
#  +--------------------+  0x00C0_0000
#  | Display Reserved   |
#  |  (8MB)             |
#  +--------------------+  0x0040_0000
#  | Reserved           |
#  | Uncached 0         |
#  |  (472KB)           |
#  +--------------------+  0x0038_A000
#  | UEFI Info Block    |
#  |  (4KB)             |
#  |  -DBI Dump Table   |
#  |  -Release Info Str |
#  |  -Info Block       |
#  +--------------------+  0x0038_9000
#  | TPM Control Area   |
#  |  (12KB)            |
#  +--------------------+  0x0038_6000
#  | Capsule Header     |
#  |  (4KB)             |
#  +--------------------+  0x0038_5000
#  | DBG2               |
#  |  (16KB)             |
#  +--------------------+  0x0038_1000
#  | FBPT Payload       |
#  |  (4KB)             |
#  +--------------------+  0x0038_0000
#  | Reserved           |
#  | Uncached 1         |
#  |  (256KB)           |
#  +--------------------+  0x0034_0000
#  | MPPark Code        |
#  |  (256KB)           |
#  +--------------------+  0x0030_0000
#  | UEFI FD            |
#  |  (1MB)             |
#  +--------------------+  0x0020_0000
#  | HLOS Mem 0         |
#  |  (1MB)             |
#  +--------------------+  0x0010_0000
#  | unused             |
#  | give to HLOS       |
#  |  (892KB)            |
#  +--------------------+  0x0002_1000
#  | DBI Dump           |
#  |  (68KB)            |
#  +--------------------+  0x0001_0000
#  | Unused             |
#  |  (64KB)             |
#  +--------------------+  0x0000_0000

# =============================================================================

###############################################################################
## AddEntry = 0x1 actually adds the memory region; without this line it will
##  not add the entry. Parser simply updates static variables so it is possible
##  to just update only the different fields between subsequent regions.
##  For example:
##
## MemLabel          = "SOME LABEL"
## BaseOffset        = 0x08400000
## MemorySize        = 0x07600000
## BuildHobOption    = AddMem
## ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
## ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
## MemoryType        = EfiReservedMemoryType
## CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
## AddEntry          = 0x1
##
## BaseOffset        = 0x0FC00000
## MemorySize        = 0x00300000
## AddEntry          = 0x1
###############################################################################

[MemoryMap]
# This parameter should be first in the MemoryMap section, otherwise a default
#   number of memory regions will be allocated

MaxMemoryRegions = 50
MemMapVersion = 1

# ============================Memory Map ======================================
MemLabel          = "DBI Dump"
BaseOffset        = 0x00010000
MemorySize        = 0x00011000
BuildHobOption    = NoBuildHob
ResourceType      = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_INITIALIZED
MemoryType        = EfiConventionalMemory
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

MemLabel          = "HLOS Mem 0"
BaseOffset        = 0x00100000
MemorySize        = 0x00100000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiConventionalMemory
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry          = 0x1

MemLabel          = "UEFI FD"
BaseOffset        = 0x00200000
MemorySize        = 0x00100000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiBootServicesData
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry          = 0x1

MemLabel          = "MPPark Code"
BaseOffset        = 0x00300000
MemorySize        = 0x00040000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_MEMORY_RESERVED
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiRuntimeServicesCode
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1

MemLabel          = "Reserved Uncached 1"
BaseOffset        = 0x00340000
MemorySize        = 0x00040000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiBootServicesData
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1

MemLabel          = "FBPT Payload"
BaseOffset        = 0x00380000
MemorySize        = 0x00001000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiRuntimeServicesData
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1

MemLabel          = "DBG2"
BaseOffset        = 0x00381000
MemorySize        = 0x00004000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiLoaderData
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1

MemLabel          = "Capsule Header"
BaseOffset        = 0x00385000
MemorySize        = 0x00001000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiRuntimeServicesData
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1

MemLabel          = "TPM Control Area"
BaseOffset        = 0x00386000
MemorySize        = 0x00003000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiRuntimeServicesData
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1

MemLabel          = "UEFI Info Block"
BaseOffset        = 0x00389000
MemorySize        = 0x00001000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiRuntimeServicesData
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1

MemLabel          = "Reserved Uncached 0"
BaseOffset        = 0x0038A000
MemorySize        = 0x00076000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiBootServicesData
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1

MemLabel          = "Display Reserved"
BaseOffset        = 0x00400000
MemorySize        = 0x00800000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_MEMORY_RESERVED
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE
MemoryType        = EfiMaxMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_THROUGH
AddEntry          = 0x1

MemLabel          = "UEFI Stack"
BaseOffset        = 0x00C00000
MemorySize        = 0x00040000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiBootServicesData
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry          = 0x1

MemLabel          = "CPU Vectors"
BaseOffset        = 0x00C40000
MemorySize        = 0x00010000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiBootServicesData
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry          = 0x1

MemLabel          = "Reserved Cached 0"
BaseOffset        = 0x00C50000
MemorySize        = 0x000B0000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiBootServicesData
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry          = 0x1

MemLabel          = "HLOS Mem 1"
BaseOffset        = 0x00D00000  
MemorySize        = 0x03A00000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiBootServicesData
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry          = 0x1

# HTC_CSP_START
MemLabel          = "Smart Logging"
BaseOffset        = 0x04700000
MemorySize        = 0x01400000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiConventionalMemory
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry          = 0x1
# HTC_CSP_END

MemLabel          = "HLOS Mem 2"
# HTC_CSP_START
#BaseOffset        = 0x04000000
#MemorySize        = 0x03D00000
BaseOffset        = 0x05B0000
MemorySize        = 0x01E00000
# HTC_CSP_END
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiConventionalMemory
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry          = 0x1

# HTC_CSP_START
MemLabel          = "TZ Reserved"
BaseOffset        = 0x07900000
MemorySize        = 0x00100000
BuildHobOption    = AddMemForNonDebugOrNonCrashMode
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiReservedMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1

MemLabel          = "HTC Secure DDR"
BaseOffset        = 0x07A00000
MemorySize        = 0x00100000
BuildHobOption    = NoBuildHob
ResourceType      = EFI_RESOURCE_MEMORY_RESERVED
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiMaxMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1

MemLabel          = "Driver Global"
BaseOffset        = 0x07B00000
MemorySize        = 0x00080000
BuildHobOption    = AddMemForNonDebugOrNonCrashMode
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiReservedMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry          = 0x1

MemLabel          = "TZ Log"
BaseOffset        = 0x07B80000
MemorySize        = 0x00080000
BuildHobOption    = NoBuildHob
ResourceType      = EFI_RESOURCE_MEMORY_RESERVED
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiMaxMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1

MemLabel          = "TZ Data"
BaseOffset        = 0x07C00000
MemorySize        = 0x00100000
BuildHobOption    = NoBuildHob
ResourceType      = EFI_RESOURCE_MEMORY_RESERVED
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiMaxMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1
# HTC_CSP_END

MemLabel          = "TZ Apps"
BaseOffset        = 0x07D00000
MemorySize        = 0x00300000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiReservedMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

MemLabel          = "Subsystem Reserved 0"
BaseOffset        = 0x08000000
MemorySize        = 0x05900000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiReservedMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

MemLabel          = "HLOS Mem 3"
BaseOffset        = 0x0D900000
MemorySize        = 0x00300000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiConventionalMemory
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry          = 0x1

MemLabel          = "Subsystem Reserved 1"
BaseOffset        = 0x0DC00000
MemorySize        = 0x01400000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiReservedMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

MemLabel          = "HLOS Mem 4"
BaseOffset        = 0x0F000000
MemorySize        = 0x00500000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiConventionalMemory
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry          = 0x1

MemLabel          = "Subsystem Reserved 2"
BaseOffset        = 0x0F500000
MemorySize        = 0x00500000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiReservedMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

MemLabel          = "SMEM"
BaseOffset        = 0x0FA00000
MemorySize        = 0x00200000
BuildHobOption    = NoBuildHob
ResourceType      = EFI_RESOURCE_MEMORY_RESERVED
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiMaxMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1

MemLabel          = "NonRelocatable 0"
BaseOffset        = 0x0FC00000
MemorySize        = 0x00300000
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiReservedMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

# HTC_CSP_START
MemLabel          = "Modem Reserved"
BaseOffset        = 0x10000000
MemorySize        = 0x00600000
BuildHobOption    = AddMemForNonDebugOrNonCrashMode
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiReservedMemoryType
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED
AddEntry          = 0x1
# HTC_CSP_END

MemLabel          = "HLOS Mem 5"
# HTC_CSP_START
#BaseOffset        = 0x0FF00000
BaseOffset        = 0x10600000
# HTC_CSP_END
MemorySize        = 0xFFFFFFFF
BuildHobOption    = AddMem
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES
MemoryType        = EfiConventionalMemory
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK
AddEntry          = 0x1

###################### Other Memory Regions ##########################
#ImemBootBase - cache only
MemLabel          = "IMEM Boot Base"
BaseOffset        = 0xFE800000
MemorySize        = 0x00040000
BuildHobOption    = NoBuildHob
ResourceType      = EFI_RESOURCE_SYSTEM_MEMORY
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_INITIALIZED
MemoryType        = EfiConventionalMemory
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

#Imem Cookie Base - Hob Only
MemLabel          = "IMEM Cookie Base"
BaseOffset        = 0xFC42B000
MemorySize        = 0x00001000
BuildHobOption    = HobOnlyNoCacheSetting
ResourceType      = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_INITIALIZED
MemoryType        = EfiConventionalMemory
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

#Imem Cookie Base - Hob Only - For V2
MemLabel          = "IMEM Cookie Base 2"
BaseOffset        = 0xFE805000
MemorySize        = 0x00001000
BuildHobOption    = HobOnlyNoCacheSetting
ResourceType      = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_INITIALIZED
MemoryType        = EfiConventionalMemory
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

#RPM CODE_DATARAM Dump - carveout only
MemLabel          = "RPM CODE_DATARAM Dump"
BaseOffset        = 0xFC100000
MemorySize        = 0x00100000
BuildHobOption    = CacheSettingCarveOutOnly
ResourceType      = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_INITIALIZED
MemoryType        = EfiConventionalMemory
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

######################## Register Regions ############################
MemLabel          = "SOC REGISTER REG 1"
BaseOffset        = 0xF9000000
MemorySize        = 0x02000000
BuildHobOption    = AddPeripheral
ResourceType      = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiMemoryMappedIO
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

MemLabel          = "SOC REGISTER REG 2"
BaseOffset        = 0xFC400000
MemorySize        = 0x00002000
BuildHobOption    = AddPeripheral
ResourceType      = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiMemoryMappedIO
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

MemLabel          = "SOC REGISTER REG 3"
BaseOffset        = 0xFC428000
MemorySize        = 0x00008000
BuildHobOption    = AddPeripheral
ResourceType      = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiMemoryMappedIO
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

MemLabel          = "SOC REGISTER REG 4"
BaseOffset        = 0xFC4AB000
MemorySize        = 0x00001000
BuildHobOption    = AddPeripheral
ResourceType      = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiMemoryMappedIO
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

MemLabel          = "SOC REGISTER REG 5"
BaseOffset        = 0xFC4C0000
MemorySize        = 0x00040000
BuildHobOption    = AddPeripheral
ResourceType      = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiMemoryMappedIO
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

MemLabel          = "SOC REGISTER REG 6"
BaseOffset        = 0xFD400000
MemorySize        = 0x00D00000
BuildHobOption    = AddPeripheral
ResourceType      = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiMemoryMappedIO
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

MemLabel          = "SOC REGISTER REG 7"
BaseOffset        = 0xFC4B8000
MemorySize        = 0x00008000
BuildHobOption    = AddPeripheral
ResourceType      = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiMemoryMappedIO
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

MemLabel          = "SOC REGISTER REG 8"
BaseOffset        = 0xFC4A9000
MemorySize        = 0x00001000
BuildHobOption    = AddPeripheral
ResourceType      = EFI_RESOURCE_MEMORY_MAPPED_IO
ResourceAttribute = EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE
MemoryType        = EfiMemoryMappedIO
CacheAttributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE
AddEntry          = 0x1

# NOTE: EarlyInitCache section is required to initialize cache early, 
#       This should be at end of MemoryMap section
EarlyInitCache = 1

# ============================Configuration Paramenters =======================

[ConfigParameters]
# Update count if more than default 30 entries #
ConfigParameterCount = 30

## UEFI CORE ##
PlatConfigFileName = "uefiplatWPBlue.cfg"
OsTypeString = "WP"
SerialPortBufferSize = 0x8000
SOC_HW_VERSION_RegAddr = 0xFD4A8000

## Turn on/off display while charging: 0=DISPLAY ON, 1=DISPLAY OFF ###
ChargingDispControl = 0

## Shared IMEM (Cookies, Offsets)
SharedIMEMBaseAddr = 0xFC42B000
MassStorageCookieAddr = 0xFC42B000
MassStorageCookieOffset = 0x0
MemoryCaptureModeOffset = 0xC
AbnormalResetOccurredOffset = 0x20
# HTC_CSP_START, #21487(Dybert_Wang), Add
WarmResetMagicOffset = 0xC4
# HTC_CSP_END

## MPPark ##
NumCpus = 4

## USB ##
USBHS1_Config = 0x1
UsbFnIoRevNum = 0x00010001

## Buttons / KeyPad ##
PwrBtnShutdownFlag = 0x0

## SDCC ##
Sdc1GpioConfigOn = 0x1E92
Sdc2GpioConfigOn = 0x1E92
Sdc1GpioConfigOff = 0xA00
Sdc2GpioConfigOff = 0xA00
## SDCC DDR Mode 0:Disabled, Non-zero: Enabled ##
SdccDDRModeEnable = 0x1
## SDHC Mode 0:Legacy Mode, Non-zero: SDHC Mode ##
EnableSDHCSwitch = 0x1

## RPMB Half Sector Granularity (for one RPMB transfer) ##
RpmbHalfSectorGranularity = 2

## TSENS ##
TsensHighTemp = 85
TsensLowTemp = 70
TsensWaitTimeus = 500000

## Reset ##
PSHoldOffset = 0xB000
PSHoldSHFT = 0x0

## Offline Crash Dump ##
OCDReservedMemorySize = 0x00200000

[HWVersionConfig.0x00000200]
## UEFI CORE ##
MassStorageCookieAddr = 0xFE805000
SharedIMEMBaseAddr = 0xFE805000

## NOTE: Do not remove last newline, required by parser ##

The Following User Says Thank You to HD2Owner For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
htc m8, verizon, windows phone
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes