From 80d91e0cf5cd544aec8f081543204749c9a08238 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 8 Jan 2017 12:30:46 +0100 Subject: nwztools: add A35 model and KAS We don't know the encryption method, the KAS is completely different but it might be useful to record it anyway for future purposes. MID extracted from device, Japanese NW-A35. Change-Id: I4c4bb5b063da99003b5c316061d8c490b77428a4 --- utils/nwztools/database/nwz_db.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'utils/nwztools/database/nwz_db.c') diff --git a/utils/nwztools/database/nwz_db.c b/utils/nwztools/database/nwz_db.c index 9e45988189..1c93739e22 100644 --- a/utils/nwztools/database/nwz_db.c +++ b/utils/nwztools/database/nwz_db.c @@ -207,6 +207,7 @@ struct nwz_model_info_t nwz_model[NWZ_MODEL_COUNT] = { 0x1d000007, "NW-A28" }, { 0x20000007, "NW-WM1A" }, { 0x21000008, "NW-WM1Z" }, + { 0x22000004, "NW-A35" }, }; static int nvp_index_0ac81d[NWZ_NVP_COUNT] = @@ -1014,7 +1015,7 @@ static unsigned long models_nwz_a10[] = { 0x1a000001, 0x1a000002, 0x1a000004, static unsigned long models_nw_a20[] = { 0x1d000001, 0x1d000002, 0x1d000004, 0x1d000005, 0x1d000006, 0x1d000007 }; -static unsigned long models_nw_a30[] = { }; +static unsigned long models_nw_a30[] = { 0x22000004 }; static unsigned long models_nwz_a720[] = { 0x3030001, 0x3030002, 0x3030004, 0x3020001, 0x3020002, 0x3020004 }; @@ -1111,7 +1112,7 @@ struct nwz_series_info_t nwz_series[NWZ_SERIES_COUNT] = { { "nwz-a10", "NWZ-A10 Series", 10, models_nwz_a10, &nvp_index_92faee }, { "nw-a20", "NW-A20 Series", 6, models_nw_a20, &nvp_index_92faee }, - { "nw-a30", "NW-A30 Series", 0, models_nw_a30, &nvp_index_398250 }, + { "nw-a30", "NW-A30 Series", 1, models_nw_a30, &nvp_index_398250 }, { "nwz-a720", "NWZ-A720 Series", 6, models_nwz_a720, 0 }, { "nwz-a810", "NWZ-A810 Series", 3, models_nwz_a810, 0 }, { "nwz-a820", "NWZ-A820 Series", 6, models_nwz_a820, 0 }, -- cgit v1.2.3