Advertisement
Guest User

Untitled

a guest
Oct 14th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. include "lib.asm"
  2. include "x.inc"
  3.  
  4. ;K800 SW-R8BF003
  5. ; Fully operational phone without a SIM-card
  6. ; Everything works except the functions that require cellular communication
  7. ; Fixed "Protection of the phone" when you turn on without a SIM-card
  8. ; (!) To work "Protection of the phone" need to patch "Fix password verification phone if there is no SIM-card"
  9. ; v.1.3
  10. ; © KrasH
  11. ; (p) PRO
  12.  
  13.  
  14.  
  15. org 0x44758480
  16.         B   loc_44758496
  17.  
  18. org 0x453dbdea
  19.         B   loc_453DBDF2
  20. org 0x45c504d0
  21.         dw loc_45D69420+1
  22. ;===============================;
  23. org 0x45d69420
  24. loc_45D69420:  
  25.         push    {R4,LR}
  26.         sub SP, SP, 0x1C
  27.         add R4, R1, 0
  28.         mov R2, 0
  29.         mov R1, SP
  30.         strb    R2, [R1]
  31.         str R2, [R1,4]
  32.         add R0, SP, 4
  33.         bl  sub_45D69478
  34.         ldr R0, [SP,4]
  35.         cmp R0, 0
  36.         bne loc_45D6945E
  37.         mov R1, 0
  38.         mov R0, SP
  39.         strb    R1, [R0]
  40.         bl  sub_45D69480
  41.         mov R0, SP
  42.         ldrb    R0, [R0]
  43.         cmp R0, 0
  44.         beq loc_45D69466
  45.         add R0, R4, 0
  46.         bl  sub_45D6947C
  47.         ldr R3, dword_45D69474
  48.         mov R2, 2
  49.         mov R1, 4
  50.         bl  sub_45D6948C
  51.         B   loc_45D6946C
  52.  
  53.  
  54. loc_45D6945E:  
  55.         add R1, R4, 0
  56.         bl  sub_45D69484
  57.         B   loc_45D6946C
  58.  
  59.  
  60. loc_45D69466:  
  61.         add R1, R4, 0
  62.         bl  sub_45D69488
  63.  
  64. loc_45D6946C:  
  65.  
  66.         mov R0, 1
  67.         add SP, SP, 0x1C
  68.         pop {R4,PC}
  69.  
  70.         align 4
  71. dword_45D69474  dw 0x1649      
  72.  
  73.  
  74.  
  75.  
  76. sub_45D69478:  
  77.         ldr R3, off_45D69498
  78.         bx  R3
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85. sub_45D6947C:  
  86.         ldr R3, off_45D6949C
  87.         bx  R3
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94. sub_45D69480:  
  95.         ldr R3, off_45D694A0
  96.         bx  R3
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103. sub_45D69484:  
  104.         ldr R3, off_45D694A4
  105.         bx  R3
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112. sub_45D69488:  
  113.         ldr R3, off_45D694A8
  114.         bx  R3
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121. sub_45D6948C:  
  122.         push    {R3}
  123.         ldr R3, off_45D694AC
  124.         mov R12, R3
  125.         pop {R3}
  126.         bx  R12
  127.  
  128.  
  129.  
  130.         align 4
  131. off_45D69498    dw sub_44ED4788+1  
  132. off_45D6949C    dw sub_453AEEB0+1  
  133. off_45D694A0    dw sub_4475B070+1  
  134. off_45D694A4    dw sub_453C16A0+1  
  135. off_45D694A8    dw sub_453C16B0+1  
  136. off_45D694AC    dw sub_44ED14E8+1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement