Skip to content

Commit 79a1c6e

Browse files
committed
Add: noPass3.310: new Patch for fw v3.1.0
1 parent 2c092b8 commit 79a1c6e

File tree

3 files changed

+41
-5
lines changed

3 files changed

+41
-5
lines changed

sd-bootloader-ng/bootmanager/sd/revvox/boot/ngCfg.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
"watchdog": true,
3030
"ofwFix": true,
3131
"ofwSimBL": true,
32-
"patches": ["blockCheck.310", "blockCheckRemove.310", "noCerts.305", "noChargWake.305", "noHide.308", "noPass3.305", "noPrivacy.305", "uidCheck.307"]
32+
"patches": ["blockCheck.310", "blockCheckRemove.310", "noCerts.305", "noChargWake.305", "noHide.308", "noPass3.310", "noPrivacy.305", "uidCheck.307"]
3333
},
3434
"ofw3": {
3535
"checkHash": true,
3636
"hashFile": false,
3737
"watchdog": true,
3838
"ofwFix": true,
39-
"patches": ["blockCheck.310", "blockCheckRemove.310", "noCerts.305", "noChargWake.305", "noHide.308", "noPass3.305", "noPrivacy.305", "uidCheck.307"]
39+
"patches": ["blockCheck.310", "blockCheckRemove.310", "noCerts.305", "noChargWake.305", "noHide.308", "noPass3.310", "noPrivacy.305", "uidCheck.307"]
4040
},
4141
"cfw1": {
4242
"checkHash": false,
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"general": {
3+
"_desc": "After two failed tag passwords attempts, the box may try it without a password and shut down the rfid for a moment.",
4+
"_memPos": "",
5+
"_fwVer": "3.1.0+"
6+
},
7+
"positions": [{
8+
"_id": 0,
9+
"_name": "rfidFieldRegisterSet?",
10+
"offset": 0,
11+
"search": ["??", "b5", "11", "??", "??", "78", "2a", "b9", "??", "??", "??", "??", "4f", "f4", "a9", "50"]
12+
},{
13+
"_id": 1,
14+
"_name": "rfidReset?",
15+
"offset": 0,
16+
"search": ["??", "b5", "??", "??", "??", "78", "??", "46", "33", "b1", "00", "22"]
17+
},{
18+
"_id": 2,
19+
"_name": "bne LAB_AfterPwSuccess",
20+
"offset": 4,
21+
"search": ["05", "28", "??", "46"],
22+
"deasmAddress": true
23+
}],
24+
"searchAndReplace": [{
25+
"search": ["4f", "f0", "??", "31", "??", "aa", "00", "20", "??", "91", "??", "??", "??", "??", "05", "28",
26+
"??", "46", "??", "d1",
27+
"??", "49",
28+
"??", "48", "??", "??",
29+
"??", "??"],
30+
"replace": ["??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "??", "00", "26",
31+
{"asm":{"instr": "bl", "param":"p0", "length": 4}},
32+
"10", "20",
33+
{"asm":{"instr": "bl", "param":"p1", "length": 4}},
34+
{"asm":{"instr": "b", "param":"p2", "length": 2}}
35+
]
36+
}]
37+
}

wiki/OFWPatches.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ Usally the toniebox checks if the tag has exactly 8 blocks. The check allows the
1414
### Block count <=8 ([blockCheckRemove.310.json](https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch/blockCheckRemove.310.json) / [blockCheckRemove.308.json](https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch/blockCheckRemove.308.json))
1515
Usally the toniebox checks if the tag has exactly 8 blocks. The check allows the tag to have less than that.
1616

17-
### No privacy password ([noPass3.305.json](https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch/noPass3.305.json))
18-
*Deprecated replaced with noPass3.305*
17+
### No privacy password ([noPass3.310.json](https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch/noPass3.310.json) / [noPass3.305.json](https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch/noPass3.305.json))
1918
Usally doesn't allow tags without the boxine specific or the NXP specific privacy mode password. With the patch you can use tags without having privacy password support (ex. SLIX). It disables the rf field for a moment when the second privacy password failed. This patch uses the new dynamic patching engine to generate dynamic arm asm bytecode.
2019

2120
### Second privacy password to 00000000 ([secondPwZero.305.json](https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch/secondPwZero.305.json))
@@ -54,5 +53,5 @@ Handy patch to debug the OFW and to verify and test patches.
5453
Usally doesn't allow tags without the boxine specific or the NXP specific privacy mode password. With the patch you can use tags without having privacy password support (ex. SLIX).
5554

5655
### No privacy password ([noPass2.308.json](https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch/noPass2.308.json))
57-
*Deprecated replaced with noPass3.305*
56+
*Deprecated replaced with noPass3*
5857
Usally doesn't allow tags without the boxine specific or the NXP specific privacy mode password. With the patch you can use tags without having privacy password support (ex. SLIX). It disables the rf field for a moment when the second privacy password failed.

0 commit comments

Comments
 (0)