Skip to content
This repository has been archived by the owner on Aug 18, 2022. It is now read-only.

Commit

Permalink
HTC One (U, UL) support.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdm committed Apr 9, 2013
1 parent 3f30131 commit 00d2c79
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -31,6 +31,9 @@ The following devices are currently supported by ruuveal:-
* HTC One XC (jel\_dd)
* HTC Evo 4G LTE (jewel)
* HTC One SV (k2\_ul)
* HTC One U (m7\_u)
* HTC One UL (m7\_ul)
* HTC Desire SV (magnids)
* HTC Droid DNA (monarudo)
* HTC Desire X (proto)
* HTC Desire V (protodug)
Expand Down
16 changes: 9 additions & 7 deletions htc/devices.c
Expand Up @@ -17,13 +17,15 @@ htc_device_t htc_devices[] = {
{ "jel_dd", "HTC One XC", 12 },
{ "jewel", "HTC Evo 4G LTE", 13 },
{ "k2_ul", "HTC One SV", 14 },
{ "magnids", "HTC Desire SV", 15 },
{ "monarudo", "HTC Droid DNA", 16 },
{ "proto", "HTC Desire X", 17 },
{ "protodug", "HTC Desire V", 18 },
{ "prototd", "HTC T329t", 19 },
{ "tc2", "HTC One VX", 20 },
{ "ville", "HTC One S", 21 },
{ "m7_u", "HTC One U", 15 },
{ "m7_ul", "HTC One UL", 16 },
{ "magnids", "HTC Desire SV", 17 },
{ "monarudo", "HTC Droid DNA", 18 },
{ "proto", "HTC Desire X", 19 },
{ "protodug", "HTC Desire V", 20 },
{ "prototd", "HTC T329t", 21 },
{ "tc2", "HTC One VX", 22 },
{ "ville", "HTC One S", 23 },
{ 0, 0, 0 }
};

Expand Down
18 changes: 17 additions & 1 deletion htc/keydata.h
Expand Up @@ -122,6 +122,22 @@ unsigned char htc_keydata[] = {
0xa6, 0x2a, 0xa4, 0x94, 0x5e, 0x24, 0x94, 0x6a, 0x25, 0x2f, 0x8d, 0x6f,
0x85, 0x01, 0x7f, 0xa4, 0x0a, 0x49, 0x6c, 0xcf, 0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x40, 0x88, 0x47, 0xaf, 0x39, 0x45, 0x54, 0x01, 0x1c, 0x5a, 0x26,
0x9d, 0x53, 0xcf, 0xb2, 0x73, 0xa3, 0xab, 0xf7, 0x58, 0x1a, 0x16, 0x8e,
0x0d, 0x33, 0x90, 0x7d, 0x5b, 0xc6, 0xa3, 0x1e, 0x28, 0x8a, 0x12, 0xe4,
0xdc, 0x9d, 0x8f, 0x88, 0xd9, 0x24, 0xbd, 0xf4, 0xf6, 0xed, 0x43, 0x03,
0x2f, 0x53, 0x1e, 0x88, 0x9b, 0x62, 0x3b, 0x91, 0x9e, 0x3c, 0x45, 0xed,
Expand Down Expand Up @@ -180,5 +196,5 @@ unsigned char htc_keydata[] = {
0xc5, 0xda, 0x9d, 0xfb, 0xde, 0x70, 0x7c, 0xc4, 0x94, 0x5b, 0xd1, 0xc0
};

unsigned int htc_keydata_len = 2112;
unsigned int htc_keydata_len = 2304;
#endif

0 comments on commit 00d2c79

Please sign in to comment.