Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help me and pull request from GitHub ( US ) #18

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
url = git://github.com/hiikezoe/libdiagexploit.git
[submodule "device_database"]
path = device_database
url = git://github.com/fi01/android_device_database.git
url = git://github.com/android-rooting-tools/android_device_database.git
[submodule "libperf_event_exploit"]
path = libperf_event_exploit
url = git://github.com/hiikezoe/libperf_event_exploit.git
url = git://github.com/android-rooting-tools/libperf_event_exploit.git
[submodule "libmsm_acdb_exploit"]
path = libmsm_acdb_exploit
url = git://github.com/fi01/libmsm_acdb_exploit.git
39 changes: 25 additions & 14 deletions cred.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,31 @@ typedef struct _supported_device {
} supported_device;

static supported_device supported_devices[] = {
{ DEVICE_IS17SH_01_00_04, 0xc01c66a8, 0xc01c5fd8 },
{ DEVICE_SH04E_01_00_02, 0xc008d86c, 0xc008d398 },
{ DEVICE_SH04E_01_00_03, 0xc008d99c, 0xc008d4c8 },
{ DEVICE_SO01E_9_1_C_0_473, 0xc009843c, 0xc0097f60 },
{ DEVICE_SOL21_9_1_D_0_395, 0xc0098584, 0xc00980a8 },
{ DEVICE_HTL21_1_29_970_1, 0xc00ab9d8, 0xc00ab4c4 },
{ DEVICE_HTL22_1_05_970_1, 0xc00b2688, 0xc00b2174 },
{ DEVICE_HTL22_1_07_970_4, 0xc00b26a0, 0xc00b218c },
{ DEVICE_HTX21_1_20_971_1, 0xc00a6e54, 0xc00a6940 },
{ DEVICE_LT26W_1265_3909_6_2_B_0_200, 0xc00b261c, 0xc00b2140 },
{ DEVICE_LT26I_1257_8080_6_2_B_0_211, 0xc00b19d8, 0xc00b14fc },
{ DEVICE_C6603_1269_5309_10_1_1_A_1_307, 0xc0093dd4, 0xc00938f8 },
{ DEVICE_C5302_1272_1092_12_0_A_1_284, 0xc009ec08, 0xc009e72c },
{ DEVICE_N05E_A1000311, 0xc0094430, 0xc0093ebc }
{ DEVICE_IS17SH_01_00_04, 0xc01c66a8, 0xc01c5fd8 },
{ DEVICE_SC01E_LJ3, 0xc01244b8, 0xc0123d6c },
{ DEVICE_SC04E_MDI, 0xc0096068, 0xc0095b54 },
{ DEVICE_SC04E_MF1, 0xc00960d0, 0xc0095bbc },
{ DEVICE_SGP312_10_1_C_0_370, 0xc009363c, 0xc0093160 },
{ DEVICE_SH04E_01_00_02, 0xc008d86c, 0xc008d398 },
{ DEVICE_SH04E_01_00_03, 0xc008d99c, 0xc008d4c8 },
{ DEVICE_SO01E_9_1_C_0_473, 0xc009843c, 0xc0097f60 },
{ DEVICE_SO02E_10_1_D_0_343, 0xc009ca34, 0xc009c558 },
{ DEVICE_SO03E_10_1_E_0_265, 0xc00938a0, 0xc00933c4 },
{ DEVICE_SO03E_10_1_E_0_269, 0xc00938b0, 0xc00933d4 },
{ DEVICE_SO04E_10_1_1_D_0_179, 0xc009d500, 0xc009d024 },
{ DEVICE_SOL21_9_1_D_0_395, 0xc0098584, 0xc00980a8 },
{ DEVICE_SOL22_10_2_F_3_43, 0xc009d3f8, 0xc009cf1c },
{ DEVICE_HTL21_1_29_970_1, 0xc00ab9d8, 0xc00ab4c4 },
{ DEVICE_HTL22_1_05_970_1, 0xc00b2688, 0xc00b2174 },
{ DEVICE_HTL22_1_07_970_4, 0xc00b26a0, 0xc00b218c },
{ DEVICE_HTX21_1_20_971_1, 0xc00a6e54, 0xc00a6940 },
{ DEVICE_LG_E975_V10e, 0xc00a0f90, 0xc00a0b6c },
{ DEVICE_LT26W_1265_3909_6_2_B_0_200, 0xc00b261c, 0xc00b2140 },
{ DEVICE_LT26I_1257_8080_6_2_B_0_211, 0xc00b19d8, 0xc00b14fc },
{ DEVICE_C6603_1269_5309_10_1_1_A_1_307, 0xc0093dd4, 0xc00938f8 },
{ DEVICE_C6603_1275_1562_10_1_1_A_1_253, 0xc0093dd4, 0xc00938f8 },
{ DEVICE_C5302_1272_1092_12_0_A_1_284, 0xc009ec08, 0xc009e72c },
{ DEVICE_N05E_A1000311, 0xc0094430, 0xc0093ebc },
};

static int n_supported_devices = sizeof(supported_devices) / sizeof(supported_devices[0]);
Expand Down
2 changes: 1 addition & 1 deletion device_database
Submodule device_database updated 2 files
+16 −5 device_database.c
+15 −4 device_database.h
2 changes: 1 addition & 1 deletion libdiagexploit
Submodule libdiagexploit updated from 80d0ad to 5ee183
2 changes: 1 addition & 1 deletion libperf_event_exploit
Submodule libperf_event_exploit updated 1 files
+12 −0 perf_event.c
39 changes: 25 additions & 14 deletions mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,31 @@ typedef struct _supported_device {
} supported_device;

static supported_device supported_devices[] = {
{ DEVICE_IS17SH_01_00_04, 0xc0208a34 },
{ DEVICE_SH04E_01_00_02, 0xc00e458c },
{ DEVICE_SH04E_01_00_03, 0xc00e46bc },
{ DEVICE_SO01E_9_1_C_0_473, 0xc010e1f4 },
{ DEVICE_SOL21_9_1_D_0_395, 0xc010e33c },
{ DEVICE_HTL21_1_29_970_1, 0xc00ff32c },
{ DEVICE_HTL22_1_05_970_1, 0xc0128b10 },
{ DEVICE_HTL22_1_07_970_4, 0xc0128b28 },
{ DEVICE_HTX21_1_20_971_1, 0xc00fa8b0 },
{ DEVICE_LT26W_1265_3909_6_2_B_0_200, 0xc0136294 },
{ DEVICE_LT26I_1257_8080_6_2_B_0_211, 0xc0135650 },
{ DEVICE_C6603_1269_5309_10_1_1_A_1_307, 0xc0109894 },
{ DEVICE_C5302_1272_1092_12_0_A_1_284, 0xc011445c },
{ DEVICE_N05E_A1000311, 0xc0105800 }
{ DEVICE_IS17SH_01_00_04, 0xc0208a34 },
{ DEVICE_SC01E_LJ3, 0xc0192124 },
{ DEVICE_SC04E_MDI, 0xc011383c },
{ DEVICE_SC04E_MF1, 0xc01138a4 },
{ DEVICE_SGP312_10_1_C_0_370, 0xc01090fc },
{ DEVICE_SH04E_01_00_02, 0xc00e458c },
{ DEVICE_SH04E_01_00_03, 0xc00e46bc },
{ DEVICE_SO01E_9_1_C_0_473, 0xc010e1f4 },
{ DEVICE_SO02E_10_1_D_0_343, 0xc01124f4 },
{ DEVICE_SO03E_10_1_E_0_265, 0xc0109360 },
{ DEVICE_SO03E_10_1_E_0_269, 0xc0109370 },
{ DEVICE_SO04E_10_1_1_D_0_179, 0xc0112fc0 },
{ DEVICE_SOL21_9_1_D_0_395, 0xc010e33c },
{ DEVICE_SOL22_10_2_F_3_43, 0xc0112230 },
{ DEVICE_HTL21_1_29_970_1, 0xc00ff32c },
{ DEVICE_HTL22_1_05_970_1, 0xc0128b10 },
{ DEVICE_HTL22_1_07_970_4, 0xc0128b28 },
{ DEVICE_HTX21_1_20_971_1, 0xc00fa8b0 },
{ DEVICE_LG_E975_V10e, 0xc0116598 },
{ DEVICE_LT26W_1265_3909_6_2_B_0_200, 0xc0136294 },
{ DEVICE_LT26I_1257_8080_6_2_B_0_211, 0xc0135650 },
{ DEVICE_C6603_1269_5309_10_1_1_A_1_307, 0xc0109894 },
{ DEVICE_C6603_1275_1562_10_1_1_A_1_253, 0xc0109894 },
{ DEVICE_C5302_1272_1092_12_0_A_1_284, 0xc011445c },
{ DEVICE_N05E_A1000311, 0xc0105800 },
};

static int n_supported_devices = sizeof(supported_devices) / sizeof(supported_devices[0]);
Expand Down
55 changes: 33 additions & 22 deletions ptmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,43 @@ typedef struct _supported_device {

static supported_device supported_devices[] = {
// F10D: Fujitsu added a method in struct file_operations
{ DEVICE_F10D_V21R48A, 0xc09a60dc + 4 },
{ DEVICE_F10D_V21R48A, 0xc09a60dc + 4 },

{ DEVICE_F11D_V24R40A, 0xc1056998 },
{ DEVICE_ISW12K_010_0_3000, 0xc0dc0a10 },
{ DEVICE_SCL21_KDALJD, 0xc0c71dc0 },
{ DEVICE_F11D_V24R40A, 0xc1056998 },
{ DEVICE_ISW12K_010_0_3000, 0xc0dc0a10 },
{ DEVICE_SCL21_LJD, 0xc0c71dc0 },
{ DEVICE_SC01E_LJ3, 0xc10a5a48 },
{ DEVICE_SC04E_MDI, 0xc1169808 },
{ DEVICE_SC04E_MF1, 0xc1169848 },

// ISW13F: Fujitsu added a method in struct file_operations
{ DEVICE_ISW13F_V69R51I, 0xc09fc5fc + 4 },
{ DEVICE_ISW13F_V69R51I, 0xc09fc5fc + 4 },

{ DEVICE_IS17SH_01_00_04, 0xc0edae90 },
{ DEVICE_SONYTABLET_S_RELEASE5A, 0xc06e4d18 },
{ DEVICE_SONYTABLET_P_RELEASE5A, 0xc06e6da0 },
{ DEVICE_SH04E_01_00_02, 0xc0eed190 },
{ DEVICE_SH04E_01_00_03, 0xc0eed190 },
{ DEVICE_SO01E_9_1_C_0_473, 0xc0d03208 },
{ DEVICE_SO04D_7_0_D_1_137, 0xc0c9d8a0 },
{ DEVICE_SOL21_9_1_D_0_395, 0xc0d030c8 },
{ DEVICE_HTL21_1_29_970_1, 0xc0d1d944 },
{ DEVICE_HTL22_1_05_970_1, 0xc0df467c },
{ DEVICE_HTL22_1_07_970_4, 0xc0df52bc },
{ DEVICE_HTX21_1_20_971_1, 0xc0ccc0b4 },
{ DEVICE_LT26W_1265_3909_6_2_B_0_200, 0xc0cc3dc0 },
{ DEVICE_LT26I_1257_8080_6_2_B_0_211, 0xc0cc37e8 },
{ DEVICE_C6603_1269_5309_10_1_1_A_1_307, 0xc0d37488 },
{ DEVICE_C5302_1272_1092_12_0_A_1_284, 0xc0e3bed8 },
{ DEVICE_N05E_A1000311, 0xc0f58700 },
{ DEVICE_IS17SH_01_00_04, 0xc0edae90 },
{ DEVICE_SONYTABLET_S_RELEASE5A, 0xc06e4d18 },
{ DEVICE_SONYTABLET_P_RELEASE5A, 0xc06e6da0 },
{ DEVICE_SH04E_01_00_02, 0xc0eed190 },
{ DEVICE_SH04E_01_00_03, 0xc0eed190 },
{ DEVICE_SGP312_10_1_C_0_370, 0xc0d35ca8 },
{ DEVICE_SO01E_9_1_C_0_473, 0xc0d03208 },
{ DEVICE_SO02E_10_1_D_0_343, 0xc0e38620 },
{ DEVICE_SO03E_10_1_E_0_265, 0xc0d36aa8 },
{ DEVICE_SO03E_10_1_E_0_269, 0xc0d36aa8 },
{ DEVICE_SO04D_7_0_D_1_137, 0xc0c9d8a0 },
{ DEVICE_SO04E_10_1_1_D_0_179, 0xc0f392d8 },
{ DEVICE_SOL22_10_2_F_3_43, 0xc0e389b0 },
{ DEVICE_SOL21_9_1_D_0_395, 0xc0d030c8 },
{ DEVICE_HTL21_1_29_970_1, 0xc0d1d944 },
{ DEVICE_HTL22_1_05_970_1, 0xc0df467c },
{ DEVICE_HTL22_1_07_970_4, 0xc0df52bc },
{ DEVICE_HTX21_1_20_971_1, 0xc0ccc0b4 },
{ DEVICE_LG_E975_V10e, 0xc0f9da70 },
{ DEVICE_LT26W_1265_3909_6_2_B_0_200, 0xc0cc3dc0 },
{ DEVICE_LT26I_1257_8080_6_2_B_0_211, 0xc0cc37e8 },
{ DEVICE_C6603_1269_5309_10_1_1_A_1_307, 0xc0d37488 },
{ DEVICE_C6603_1275_1562_10_1_1_A_1_253, 0xc0d37488 },
{ DEVICE_C5302_1272_1092_12_0_A_1_284, 0xc0e3bed8 },
{ DEVICE_N05E_A1000311, 0xc0f58700 },
};

static int n_supported_devices = sizeof(supported_devices) / sizeof(supported_devices[0]);
Expand Down