getprop("ro.product.device") == "msm8909" || abort("E3004: This package is for \"msm8909\" devices; this is a \"" + getprop("ro.product.device") + "\".");
ui_print("Source: qcom/msm8909/msm8909:7.1.2/137/brian07022358:userdebug/test-keys");
ui_print("Target: qcom/msm8909/msm8909:7.1.2/136/brian03110818:userdebug/test-keys");
ui_print("Verifying current system...");
getprop("ro.build.fingerprint") == "qcom/msm8909/msm8909:7.1.2/137/brian07022358:userdebug/test-keys" ||
    getprop("ro.build.fingerprint") == "qcom/msm8909/msm8909:7.1.2/136/brian03110818:userdebug/test-keys" ||
    abort("E3001: Package expects build fingerprint of qcom/msm8909/msm8909:7.1.2/137/brian07022358:userdebug/test-keys or qcom/msm8909/msm8909:7.1.2/136/brian03110818:userdebug/test-keys; this device has " + getprop("ro.build.fingerprint") + ".");
apply_patch_check("EMMC:/dev/block/bootdevice/by-name/boot:16276776:499b1c498024b2a8c666e8fa0198fb563a15fa85:16276776:2b72e12ade635847e49097f5e862883dae7a0078") || abort("E3005: \"EMMC:/dev/block/bootdevice/by-name/boot:16276776:499b1c498024b2a8c666e8fa0198fb563a15fa85:16276776:2b72e12ade635847e49097f5e862883dae7a0078\" has unexpected contents.");
apply_patch_space(33554432) || abort("E3006: Not enough free space on /cache to apply patches.");
if (range_sha1("/dev/block/bootdevice/by-name/system", "5824,1,80,81,306,2816,2817,2818,2819,2820,2821,2822,2823,2832,2833,2940,2941,2942,2943,3036,3037,3045,3046,3047,3048,3049,3050,3051,3052,3069,3070,3089,3090,3091,3092,3102,3103,3157,3158,3159,3160,3172,3173,3177,3178,3179,3180,3190,3191,3205,3206,3207,3208,3244,3245,3254,3255,3256,3257,3300,3301,3327,3328,3329,3330,3382,3383,3392,3393,3394,3395,3433,3434,3446,3447,3448,3449,3450,3451,3530,3531,3532,3533,3766,3767,3768,6943,6944,6945,6946,8086,8087,8088,8089,8311,8312,8313,8314,9151,9152,9153,9154,9156,9157,9158,9159,9160,9161,9168,9169,9170,9171,9177,9178,9179,9180,9181,9182,9208,9209,9210,9211,9274,9275,9276,9277,9278,9279,9345,9346,9347,9348,9354,9355,9356,9357,9358,9359,9386,9387,9388,9389,9393,9394,9395,9396,9397,9398,9417,9418,9419,9420,9422,9423,9424,9425,9426,9427,9433,9434,9435,9436,9440,9441,9442,9443,9444,9445,9461,9462,9463,9464,9467,9468,9469,9470,9471,9472,9482,9483,9484,9485,9488,9489,9490,9491,9492,9493,9506,9507,9508,9509,9513,9514,9515,9516,9517,9518,9529,9530,9531,9532,9533,9534,9535,9536,9600,9601,9612,9613,9614,9615,9616,9617,9618,9619,9626,9627,9629,9630,9631,9632,9634,9635,9636,9637,9638,9639,9640,9641,9688,9689,9698,9699,9700,9701,9702,9703,9704,9705,9757,9758,9768,9769,9770,9771,9772,9773,9774,9775,10520,10521,21723,21724,21726,21727,21738,21739,21750,21751,21755,21756,21760,21761,21768,21769,21774,21775,21779,21780,21781,21782,21788,21789,21826,21827,21828,21829,21830,21831,21837,21838,21847,21848,21857,21858,21865,21866,21872,21873,21884,21885,21891,21892,21897,21898,21899,21900,21909,21910,21919,21920,21926,21927,21932,21933,21934,21935,21939,21940,21945,21946,21950,21951,21963,21964,21971,21972,21978,21979,21987,21988,22036,22037,22042,22043,22044,22045,22050,22051,22132,22133,22138,22139,22151,22152,22158,22159,22164,22165,22198,22199,22218,22219,22223,22224,22229,22230,22237,22238,22242,22243,22250,22251,22257,22258,22265,22266,22271,22272,22282,22283,22306,22307,22341,22342,22343,22344,22352,22353,22395,22396,22403,22404,22413,22414,22454,22455,22459,22460,22469,22470,22476,22477,22482,22483,22490,22491,22506,22507,22516,22517,22538,22539,22549,22550,22562,22563,22573,22574,22720,22721,22734,22735,22743,22744,22749,22750,22785,22786,22797,22798,22832,22833,22945,22946,22957,22958,22967,22968,22969,22970,22999,23000,23005,23006,23043,23044,23072,23073,23074,23075,23076,23077,23104,23105,23117,23118,23173,23174,23237,23238,23299,23300,23305,23306,23347,23348,23403,23404,23405,23406,23411,23412,23417,23418,23423,23424,23446,23447,23452,23453,23461,23462,23469,23470,23599,23600,23755,23756,23762,23763,23780,23781,23790,23791,23809,23810,23812,23813,23821,23822,23919,23920,23946,23947,23952,23953,23961,23962,24002,24003,24009,24010,24145,24146,24147,24148,24153,24154,24161,24162,24167,24168,24173,24174,24181,24182,24191,24192,24201,24202,24206,24207,24234,24235,24261,24262,24280,24281,24287,24288,24294,24295,24302,24303,24312,24313,24372,24373,24407,24408,24416,24417,24422,24423,24431,24432,24433,24434,24453,24454,24461,24462,24466,24467,24472,24473,24521,24522,24829,24830,24834,24835,24873,24874,24882,24883,24891,24892,24897,24898,24902,24903,24907,24908,24912,24913,24918,24919,24937,24938,24949,24950,24961,24962,24967,24968,24969,24970,24980,24981,24989,24990,24999,25000,25010,25011,25056,25057,25066,25067,25076,25077,25086,25087,25088,25089,25093,25094,25099,25100,25105,25106,25111,25112,25117,25118,25123,25124,25129,25130,25135,25136,25141,25142,25148,25149,25155,25156,25162,25163,25169,25170,25175,25176,25181,25182,25209,25210,25239,25240,25248,25249,25254,25255,25259,25260,25305,25306,25310,25311,25323,25324,25328,25329,25330,25331,25344,25345,25351,25352,25357,25358,25365,25366,25373,25374,25379,25380,25385,25386,25391,25392,25418,25419,25427,25428,25434,25435,25439,25440,25446,25447,25453,25454,25455,25456,25460,25461,25492,25493,25539,25540,25541,25542,25550,25551,25566,25567,25572,25573,25578,25579,25586,25587,25592,25593,25595,25596,25600,25601,25624,25625,25626,25627,25632,25633,25651,25652,25660,25661,25666,25667,25672,25673,25678,25679,25684,25685,25707,25708,25778,25779,25784,25785,25790,25791,25797,25798,25804,25805,25807,25808,25824,25825,25830,25831,25837,25838,25943,25944,25968,25969,25975,25976,25982,25983,25987,25988,25989,25990,26012,26013,26326,26327,26495,26496,26513,26514,26517,26518,26519,26520,26582,26583,26584,26585,26586,26587,26588,26589,26605,26606,26610,26611,26612,26613,26667,26668,26669,26670,26691,26692,26753,26754,26755,26756,26766,26767,26771,26772,26774,26775,26824,26825,26826,26827,26846,26847,26895,26896,26898,26899,26900,26901,26917,26918,26922,26923,26924,26925,26982,26983,26984,26985,27009,27010,27072,27073,27074,27075,27091,27092,27096,27097,27098,27099,27154,27155,27156,27157,27181,27182,27244,27245,27246,27247,27263,27264,27268,27269,27270,27271,27333,27334,27335,27336,27360,27361,27424,27425,27585,27586,27587,27588,27590,27591,27592,27593,27595,27596,27601,27602,27605,27606,27607,27608,27609,27610,27611,27612,27620,27621,27623,27624,27866,27867,27868,27869,27870,27871,27872,27873,27878,27879,27880,27881,27882,27883,27886,27887,27890,27891,27894,27895,27898,27899,27900,27901,27904,27905,27908,27909,27912,27913,27916,27917,27920,27921,27922,27923,27926,27927,27930,27931,27934,27935,27938,27939,27942,27943,27946,27947,28030,28031,28032,28033,28040,28041,28060,28061,28067,28068,28069,28070,28071,28072,28073,28074,28075,28076,28077,28078,28079,28080,28085,28086,28087,28088,28089,28090,28093,28094,28097,28098,28099,28100,28103,28104,28105,28106,28109,28110,28112,28113,28116,28117,28121,28122,28126,28127,28131,28132,28136,28137,28138,28139,28142,28143,28144,28145,28146,28147,28148,28149,28150,28151,28152,28153,28174,28175,28180,28181,28195,28196,28213,28214,28218,28219,28220,28221,28223,28224,28381,28382,28384,28385,28386,28387,28549,28550,28552,28553,28554,28555,28556,28557,28560,28561,28562,28563,28567,28568,28569,28570,28573,28574,28575,28576,28577,28578,28579,28580,28581,28582,28583,28584,28595,28596,28597,28598,28599,28600,28601,28602,28604,28605,28606,28607,28608,28609,28610,28611,28612,28613,28614,28615,28616,28617,28618,28619,28620,28621,28622,28623,28624,28625,28626,28627,28628,28629,28630,28631,28632,28633,28634,28635,28636,28637,28638,28639,28640,28641,28642,28643,28644,28645,28646,28647,28648,28649,28650,28651,28652,28653,28654,28655,28656,28657,28658,28659,28660,28661,28663,28664,28667,28668,28669,28670,28671,28672,28673,28674,28675,28676,28677,28678,28699,28700,28701,28702,28703,28704,28706,28707,28712,28713,28714,28715,28716,28717,28719,28720,28721,28722,28723,28724,28727,28728,28730,28731,28732,28733,28735,28736,28738,28739,28741,28742,28748,28749,28757,28758,28766,28767,28774,28775,28782,28783,28791,28792,28800,28801,28809,28810,28818,28819,28837,28838,28839,28840,28841,28842,28843,28844,28845,28846,29952,29953,29954,29955,29956,29957,29958,29959,29960,29961,29962,29963,29964,29965,29966,29967,29968,29969,29970,29971,29972,29973,29974,29975,29976,29977,29978,29979,29980,29981,29982,29983,29984,29985,29986,29987,29988,29989,29990,29991,29992,29993,29994,29995,29996,29997,29998,29999,30000,30001,30002,30003,30004,30005,30006,30007,30008,30009,30010,30011,30012,30013,30014,30015,30016,30017,30018,30019,30020,30021,30022,30023,30024,30025,30026,30027,30028,30029,30030,30031,30032,30033,30034,30035,30036,30037,30038,30039,30040,30041,30042,30043,30044,30045,30046,30047,30048,30049,30050,30051,30063,30064,30065,30066,30067,30068,30069,30070,30071,30072,30073,30074,30231,30232,30233,30234,30235,30236,30237,30238,30239,30240,30243,30244,30247,30248,30249,30250,30251,30252,30253,30254,30255,30256,30257,30258,30259,30260,30261,30262,30263,30264,30265,30266,30267,30268,30269,30270,30271,30272,30273,30274,30275,30276,30277,30278,30279,30280,30281,30282,30283,30284,30285,30286,30287,30288,30289,30290,30291,30292,30293,30294,30295,30296,30297,30298,30299,30300,30301,30302,30303,30304,30305,30306,30307,30308,30309,30310,30311,30312,30313,30314,30315,30316,30317,30318,30319,30320,30321,30322,30323,30324,30325,30326,30327,30328,30329,30330,30332,30333,30334,30335,30336,30337,30338,30339,30342,30343,30344,30345,30346,30347,30348,30349,30350,30351,30352,30353,30354,30355,30356,30357,30358,30359,30360,30361,30362,30363,30364,30365,30366,30367,30368,30369,30370,30371,30375,30376,30377,30378,30379,30380,30381,30382,30383,30384,30841,30842,30843,30844,30846,30847,30848,30849,30850,30851,30853,30854,30856,30857,30859,30860,30862,30863,30864,30865,30867,30868,30870,30871,30873,30874,30875,30876,30878,30879,30881,30882,30884,30885,30887,30888,30890,30891,30893,30894,30896,30897,30899,30900,30902,30903,30905,30906,30908,30909,30911,30912,30915,30916,30918,30919,30921,30922,30924,30925,30927,30928,30930,30931,30932,30933,30934,30935,30937,30938,30940,30941,30944,30945,30948,30949,30951,30952,30954,30955,30957,30958,30960,30961,30963,30964,30966,30967,30969,30970,30972,30973,30975,30976,30979,30980,30982,30983,30985,30986,30988,30989,30991,30992,30994,30995,30997,30998,31000,31001,31003,31004,31006,31007,31009,31010,31012,31013,31015,31016,31017,31018,31020,31021,31023,31024,31026,31027,31029,31030,31032,31033,31034,31035,31037,31038,31040,31041,31043,31044,31046,31047,31049,31050,31052,31053,31055,31056,31057,31058,31060,31061,31063,31064,31066,31067,31069,31070,31072,31073,31075,31076,31078,31079,31081,31082,31084,31085,31087,31088,31090,31091,31093,31094,31096,31097,31099,31100,31102,31103,31104,31105,31107,31108,31110,31111,31113,31114,31116,31117,31118,31119,31121,31122,31124,31125,31127,31128,31130,31131,31133,31134,31136,31137,31139,31140,31142,31143,31145,31146,31149,31150,31152,31153,31155,31156,31158,31159,31161,31162,31164,31165,31166,31167,31169,31170,31172,31173,31175,31176,31178,31179,31181,31182,31183,31184,31186,31187,31189,31190,31192,31193,31195,31196,31198,31199,31200,31201,31203,31204,31206,31207,31209,31210,31272,31273,31275,31276,31278,31279,31280,31281,31283,31284,31286,31287,31289,31290,31292,31293,31295,31296,31297,31298,31300,31301,31303,31304,31306,31307,31309,31310,31311,31312,31314,31315,31317,31318,31320,31321,31323,31324,31326,31327,31329,31330,31332,31333,31335,31336,31338,31339,31341,31342,31343,31344,31346,31347,31349,31350,31352,31353,31355,31356,31358,31359,31361,31362,31364,31365,31367,31368,31370,31371,31372,31373,31374,31375,31376,31377,31378,31379,31381,31382,31385,31386,31388,31389,31390,31391,31392,31393,31395,31396,31398,31399,31401,31402,31404,31405,31407,31408,31410,31411,31413,31414,31416,31417,31418,31419,31420,31421,31422,31423,31424,31425,31427,31428,31436,31437,31445,31446,31454,31455,31463,31464,31472,31473,31474,31475,31476,31477,31478,31479,31480,31481,31482,31483,31484,31485,31486,31487,31491,31492,31493,31494,31496,31497,31507,31508,31523,31524,31541,31542,31571,31572,31601,31602,31676,31677,31749,31750,31800,31801,31841,31842,31869,31870,31898,31899,31931,31932,31985,31986,32005,32006,32061,32062,32091,32092,32121,32122,32151,32152,32181,32182,32186,32187,32191,32192,32200,32201,32234,32235,32239,32240,32242,32243,32245,32246,32258,32259,32265,32266,32272,32273,32282,32283,32289,32290,32326,32327,32362,32363,32368,32369,32374,32375,32379,32380,32382,32383,32388,32389,32394,32395,32405,32406,32408,32409,32418,32419,32428,32429,32438,32439,32449,32450,32458,32459,32467,32468,32476,32477,32485,32486,32511,32512,32515,32516,32518,32519,32533,32534,32548,32549,32563,32564,32578,32579,32583,32584,32588,32589,32617,32618,32623,32624,32628,32629,32631,32632,32634,32635,32640,32641,32679,32680,32720,32721,32724,32725,32729,32730,32734,32735,32747,32748,32750,32751,32754,32755,32759,32760,32764,32765,32766,32768,32770,32849,32850,48416,48419,48424,48425,48442,48443,48472,48473,65531,65532,65533,65534,65536,65537,66182,66183,66184,66185,66186,66187,66188,66493,66494,66558,66559,66560,66561,66648,66649,67312,67313,67318,67319,67324,67325,67335,67336,67349,67350,67365,67366,67394,67395,67405,67406,67443,67444,67716,67717,67718,67719,67720,67721,67722,67723,67796,67797,67870,67871,67914,67915,67916,67917,67920,67921,67922,67923,67924,67925,67926,67927,67928,67929,67931,67932,67938,67939,67944,67945,68020,68021,68024,68025,68030,68031,68032,68033,68034,68035,68036,68037,68038,68039,68040,68041,68047,68048,68049,68050,68071,68072,68095,68096,68097,68098,68109,68110,68153,68154,68205,68206,68525,68526,68633,68634,68635,68636,68644,68645,68650,68651,68663,68664,68678,68679,68722,68723,68736,68737,68782,68783,68794,68795,68902,68903,69219,69220,69318,69319,69356,69357,69386,69387,69406,69407,69415,69416,69600,69601,69743,69744,69754,69755,69772,69773,69782,69783,69917,69918,69924,69925,69954,69955,69985,69986,70175,70176,70182,70183,70189,70190,70195,70196,70200,70201,70214,70215,70223,70224,70228,70229,70259,70260,70277,70278,70308,70309,70363,70364,70381,70382,70412,70413,70432,70433,70441,70442,70449,70450,70473,70474,70523,70524,70535,70536,70540,70541,70545,70546,71351,71352,71356,71357,71361,71362,71378,71379,71383,71384,71390,71391,71395,71396,71401,71402,71407,71408,71412,71413,71418,71419,71424,71425,71429,71430,71434,71435,71440,71441,71446,71447,71452,71453,71458,71459,71463,71464,71469,71470,71475,71476,71480,71481,71486,71487,71492,71493,71497,71498,71503,71504,71509,71510,71514,71515,71520,71521,71526,71527,71531,71532,71537,71538,71543,71544,71548,71549,71554,71555,71560,71561,71565,71566,71571,71572,71577,71578,71582,71583,71588,71589,71594,71595,71599,71600,71605,71606,71611,71612,71616,71617,71622,71623,71628,71629,71633,71634,71639,71640,71645,71646,71653,71654,71661,71662,71675,71676,71681,71682,71704,71705,71734,71735,71777,71778,71814,71815,71821,71822,71880,71881,71885,71886,71904,71905,71909,71910,72083,72084,72253,72254,72260,72261,72275,72276,72285,72286,72295,72296,72305,72306,72315,72316,72325,72326,72335,72336,72345,72346,72355,72356,72365,72366,72380,72381,72390,72391,72400,72401,72415,72416,72425,72426,72435,72436,72445,72446,72455,72456,72465,72466,72475,72476,72485,72486,72495,72496,72505,72506,72520,72521,72530,72531,72540,72541,72550,72551,72560,72561,72575,72576,72585,72586,72595,72596,72605,72606,72620,72621,72630,72631,72640,72641,72650,72651,72665,72666,72675,72676,72685,72686,72695,72696,72705,72706,72720,72721,72730,72731,72740,72741,72750,72751,72760,72761,72770,72771,72779,72780,72794,72795,72804,72805,72814,72815,72824,72825,72834,72835,72844,72845,72854,72855,72864,72865,72874,72875,72889,72890,72899,72900,72909,72910,72919,72920,72929,72930,72939,72940,72949,72950,72959,72960,72969,72970,72979,72980,72989,72990,73004,73005,73014,73015,73024,73025,73034,73035,73044,73045,73054,73055,73069,73070,73079,73080,73089,73090,73099,73100,73109,73110,73119,73120,73129,73130,73139,73140,73154,73155,73164,73165,73174,73175,73184,73185,73199,73200,73214,73215,73224,73225,73234,73235,73244,73245,73254,73255,73264,73265,73274,73275,73289,73290,73299,73300,73309,73310,73319,73320,73334,73335,73344,73345,73354,73355,73364,73365,73379,73380,73389,73390,73399,73400,73409,73410,73424,73425,73434,73435,73444,73445,73454,73455,73464,73465,73474,73475,73489,73490,73499,73500,73509,73510,73519,73520,73529,73530,73544,73545,73554,73555,73564,73565,73574,73575,73584,73585,73594,73595,73609,73610,73619,73620,73629,73630,73639,73640,73649,73650,73659,73660,73674,73675,73684,73685,73694,73695,73704,73705,73714,73715,73724,73725,73734,73735,73744,73745,73754,73755,73764,73765,73779,73780,73789,73790,73799,73800,73809,73810,73819,73820,73829,73830,73839,73840,73849,73850,73859,73860,73869,73870,73884,73885,73894,73895,73904,73905,73914,73915,73924,73925,73934,73935,73944,73945,73954,73955,73964,73965,73974,73975,73989,73990,73999,74000,74009,74010,74019,74020,74029,74030,74039,74040,74049,74050,74059,74060,74069,74070,74084,74085,74094,74095,74104,74105,74114,74115,74124,74125,74134,74135,74144,74145,74154,74155,74164,74165,74174,74175,74184,74185,74194,74195,74204,74205,74219,74220,74229,74230,74239,74240,74249,74250,74259,74260,74269,74270,74279,74280,74289,74290,74299,74300,74314,74315,74324,74325,74334,74335,74344,74345,74354,74355,74364,74365,74374,74375,74389,74390,74399,74400,74409,74410,74419,74420,74429,74430,74439,74440,74449,74450,74459,74460,74469,74470,74479,74480,74489,74490,74499,74500,74514,74515,74524,74525,74534,74535,74544,74545,74554,74555,74564,74565,74574,74575,74584,74585,74594,74595,74604,74605,74619,74620,74629,74630,74639,74640,74649,74650,74664,74665,74674,74675,74684,74685,74694,74695,74704,74705,74714,74715,74724,74725,74734,74735,74744,74745,74754,74755,74769,74770,74779,74780,74789,74790,74799,74800,74809,74810,74819,74820,74829,74830,74839,74840,74854,74855,74864,74865,74874,74875,74884,74885,74894,74895,74904,74905,74919,74920,74929,74930,74939,74940,74949,74950,74959,74960,74969,74970,74979,74980,74989,74990,74999,75000,75014,75015,75024,75025,75034,75035,75044,75045,75155,75156,75219,75220,75224,75225,75231,75232,75245,75246,75252,75253,75311,75312,75333,75334,75347,75348,75380,75381,75474,75475,75489,75490,75499,75500,75544,75545,75577,75578,75588,75589,75595,75596,75601,75602,75715,75716,75735,75736,75741,75742,76418,76419,76438,76439,76451,76452,76465,76466,76529,76530,76535,76536,76542,76543,76549,76550,76557,76558,76627,76628,76636,76637,76644,76645,76664,76665,76686,76687,76956,76957,81779,81780,81809,81810,81817,81818,81932,81933,81955,81956,82006,82007,82036,82037,82061,82062,82075,82076,82081,82082,82095,82096,82100,82101,82136,82137,82143,82144,82150,82151,82159,82160,82169,82170,82178,82179,82235,82236,82254,82255,82286,82287,82292,82293,82304,82305,82360,82361,82373,82374,82542,82543,82557,82558,82633,82634,82692,82693,82714,82715,82759,82760,82774,82775,82779,82780,82785,82786,82791,82792,82797,82798,82803,82804,82809,82810,82817,82818,83120,83121,83125,83126,83153,83154,83167,83168,83172,83173,83179,83180,83189,83190,83221,83222,83227,83228,83234,83235,83242,83243,83250,83251,83255,83256,83260,83261,83267,83268,83274,83275,83281,83282,83287,83288,83293,83294,83299,83300,83305,83306,83311,83312,83316,83317,83322,83323,83328,83329,83334,83335,83340,83341,83347,83348,83353,83354,83359,83360,83364,83365,83371,83372,83378,83379,83385,83386,83395,83396,83405,83406,83413,83414,83419,83420,83433,83434,83443,83444,83449,83450,83457,83458,83463,83464,83469,83470,83475,83476,83482,83483,83487,83488,83493,83494,83499,83500,83504,83505,83510,83511,83516,83517,83521,83522,83526,83527,83532,83533,83537,83538,83545,83546,83552,83553,83557,83558,83563,83564,83706,83707,83719,83720,83748,83749,83770,83771,83809,83810,83951,83952,83985,83986,83992,83993,84128,84129,84147,84148,84184,84185,84194,84195,84216,84217,84466,84467,84508,84509,84521,84522,84529,84530,84536,84537,84542,84543,84551,84552,84558,84559,84590,84591,84608,84609,84623,84624,84632,84633,84639,84640,84646,84647,84665,84666,84697,84698,84722,84723,84771,84772,84783,84784,84790,84791,84805,84806,84808,84809,84816,84817,84826,84827,84833,84834,84859,84860,84879,84880,84897,84898,84927,84928,84932,84933,84937,84938,84942,84943,84956,84957,84959,84960,87425,87426,87428,87429,87433,87434,87439,87440,87446,87447,87502,87503,87505,87506,87917,87918,89137,89138,89145,89146,89324,89325,89329,89330,89337,89338,89381,89382,89403,89404,89408,89409,89413,89414,89423,89424,89429,89430,89435,89436,89444,89445,89479,89480,89484,89485,89495,89496,89503,89504,89508,89509,89514,89515,89695,89696,89732,89733,89740,89741,89759,89760,89786,89787,89815,89816,89823,89824,89829,89830,89841,89842,89862,89863,89869,89870,89898,89899,89938,89939,89946,89947,89958,89959,90024,90025,90043,90044,90077,90078,90082,90083,90091,90092,90097,90098,90107,90108,90113,90114,90143,90144,90283,90284,90294,90295,90299,90300,90305,90306,90325,90326,90327,90328,90339,90340,90348,90349,90360,90361,90368,90369,90375,90376,90382,90383,90394,90395,90401,90402,90409,90410,90417,90418,90424,90425,90429,90430,90436,90437,90441,90442,90449,90450,90456,90457,90468,90469,90473,90474,90482,90483,90490,90491,90497,90498,90504,90505,90512,90513,90520,90521,90526,90527,90533,90534,90540,90541,90542,90543,90580,90581,90618,90619,90658,90659,90661,90662,90663,90664,90665,90666,90678,90679,90680,90681,90682,90683,90704,90705,90716,90717,90718,90719,90720,90721,90845,90846,90847,90848,90854,90855,90856,90857,90858,90859,90860,90861,90862,90863,90864,90865,90873,90874,90879,90880,90886,90887,90893,90894,90906,90907,90913,90914,90934,90935,90946,90947,90948,90949,90999,91000,91006,91007,91012,91013,91067,91068,91073,91074,91079,91080,91086,91087,91092,91093,91267,91268,91275,91276,91281,91282,91287,91288,91294,91295,91304,91305,91359,91360,91372,91373,91402,91403,91408,91409,91415,91416,91421,91422,91429,91430,91435,91436,91441,91442,91447,91448,91524,91525,91543,91544,91619,91620,91625,91626,91632,91633,91838,98304,98306,98385,98386,104958,104970,104971,104975,104976,104981,104982,104988,104989,104994,104995,105001,105002,105094,105095,105194,105195,105199,105200,105216,105217,105248,105249,105310,105311,105376,105377,105438,105439,105500,105501,105576,105577,105658,105659,105734,105735,105816,105817,105898,105899,105975,105976,106058,106059,106134,106135,106216,106217,106292,106293,106368,106369,106449,106450,106524,106525,106606,106607,106688,106689,106764,106765,106847,106848,106923,106924,106926,106927,106935,106936,106937,106938,106944,106945,106952,106953,106961,106962,106982,106983,107119,107120,107121,107122,107123,107124,107149,107150,107517,107518,107554,107555,107974,107975,107997,107998,108175,108176,108179,108180,108195,108196,108341,108342,110115,110116,110163,110164,110500,110501,111143,111144,120049,120050,120062,120063,120134,120135,120137,120138,120145,120146,120162,120163,120380,120381,120407,120408,120670,120671,120675,120676,120707,120708,120710,120711,120718,120719,120855,120856,122055,122056,122058,122059,122069,122070,122077,122078,122143,122144,122439,122440,124547,124548,124551,124552,124682,124683,124684,124685,124686,124687,124689,124690,124691,124692,124696,124697,124699,124700,124701,124702,124704,124705,124717,124718,124724,124725,124731,124732,124737,124738,124770,124771,124806,124807,124810,124811,124814,124815,125211,125212,125659,125660,125661,125662,125665,125666,125668,125669,125672,125673,126177,126178,127784,127785,127786,127787,127800,127801,127803,127804,127806,127807,127809,127810,127818,127819,127821,127822,127835,127836,127837,127838,127839,127840,127899,127900,127908,127909,127950,127951,127993,127994,128044,128045,128151,128152,128160,128161,128178,128179,128189,128190,128198,128199,128207,128208,128227,128228,128238,128239,128246,128247,128258,128259,128296,128297,128327,128328,128343,128344,128353,128354,128374,128375,128384,128385,128395,128396,128444,128445,128457,128458,128541,128542,128548,128549,128581,128582,128598,128599,128675,128676,128783,128784,128998,128999,129019,129020,129036,129037,129193,129194,129543,129544,129569,129570,129580,129581,129593,129594,129604,129605,129661,129662,129674,129675,129685,129686,129773,129774,129790,129791,129802,129803,129815,129816,129914,129915,130704,130705,130715,130716,130717,130718,130763,130764,130818,130819,130820,130821,130826,130827,130830,130831,130841,130842,130851,130852,130866,130867,130870,130871,130901,130902,130905,130906,130909,130910,130933,130934,130988,130989,130993,130994,130999,131000,131003,131004,131006,131007,131009,131010,131011,131012,131039,131040,131042,131043,131045,131046,131047,131048,131049,131050,131052,131053,131065,131066,131068,131069,131070,131072,131073,163840,163842,163921,163922,168362,168369,168370,168374,168375,168381,168382,168384,168385,168388,168389,168391,168392,168394,168395,168397,168398,168401,168402,168405,168406,168408,168409,168414,168415,168433,168434,168452,168453,168457,168458,168461,168462,168466,168467,168478,168479,168485,168486,168499,168500,168510,168511,168518,168519,168522,168523,168527,168528,168532,168533,168536,168537,168540,168541,168545,168546,168550,168551,168554,168555,168559,168560,168563,168564,168568,168569,168573,168574,168586,168587,168591,168592,168593,168594,169624,169625,169630,169631,169639,169640,169645,169646,169648,169649,169650,169651,169658,169659,169677,169678,169683,169684,169688,169689,169694,169695,169706,169707,169713,169714,169719,169720,169730,169731,169736,169737,169738,169739,169740,169741,169742,169743,169747,169748,169750,169751,169757,169758,169761,169762,169769,169770,169773,169774,169803,169804,169817,169818,169842,169843,169879,169880,169906,169907,169951,169952,169976,169977,169988,169989,170017,170018,170044,170045,170057,170058,170059,170060,170063,170064,170066,170067,170069,170070,170073,170074,170077,170078,170085,170086,170088,170089,170093,170094,170103,170104,170108,170109,170114,170115,170119,170120,170125,170126,170129,170130,170134,170135,170139,170140,170147,170148,170153,170154,170157,170158,170163,170164,170168,170169,170172,170173,170178,170179,170183,170184,170188,170189,170192,170193,170199,170200,170203,170204,170209,170210,170216,170217,170220,170221,170231,170232,170234,170235,170240,170241,170245,170246,170261,170262,170265,170266,170270,170271,170276,170277,170282,170283,170288,170289,170294,170295,170299,170300,170302,170303,170309,170310,170316,170317,170323,170324,170328,170329,170336,170337,170343,170344,170347,170348,170354,170355,170361,170362,170369,170370,170373,170374,170384,170385,170388,170389,170400,170401,170404,170405,170409,170410,170415,170416,170421,170422,170428,170429,170437,170438,170443,170444,170451,170452,170456,170457,170459,170460,170464,170465,170470,170471,170476,170477,170484,170485,170492,170493,170496,170497,170505,170506,170507,170508,170515,170516,170523,170524,170530,170531,170587,170588,170610,170611,170618,170619,170628,170629,170636,170637,170645,170646,170658,170659,170670,170671,170681,170682,170694,170695,170703,170704,170712,170713,170723,170724,170734,170735,170743,170744,170752,170753,170757,170758,170765,170766,170776,170777,170787,170788,170798,170799,170850,170851,170859,170860,170868,170869,170884,170885,170889,170890,170903,170904,170912,170913,170956,170957,170970,170971,170987,170988,170997,170998,171006,171007,171035,171036,171048,171049,171059,171060,171073,171074,171084,171085,171096,171097,171111,171112,171123,171124,171141,171142,171148,171149,171153,171154,171195,171196,171206,171207,171216,171217,171228,171229,171239,171240,171247,171248,171257,171258,171269,171270,171281,171282,171286,171287,171296,171297,171306,171307,171317,171318,171325,171326,171334,171335,171349,171350,171378,171379,171389,171390,171412,171413,171471,171472,171486,171487,171492,171493,171537,171538,171551,171552,171567,171568,171583,171584,171590,171591,171604,171605,171616,171617,171629,171630,171638,171639,171650,171651,171661,171662,171689,171690,171768,171769,171780,171781,171791,171792,171803,171804,171812,171813,171835,171836,171843,171844,171854,171855,171864,171865,171883,171884,171927,171928,171937,171938,171950,171951,171958,171959,171995,171996,172042,172043,172051,172052,172057,172058,172066,172067,172087,172088,172094,172095,172096,172097,172099,172100,172102,172103,172105,172106,172109,172110,172112,172113,172115,172116,172118,172119,172122,172123,172127,172128,172130,172131,172134,172135,172137,172138,172140,172141,172143,172144,172147,172148,172150,172151,172154,172155,172156,172157,172158,172159,172221,172222,172223,172224,172225,172226,172236,172237,172238,172239,172280,172281,172282,172283,172284,172285,172504,172505,172506,172507,172540,172541,172542,172543,172544,172545,172780,172781,172782,172783,172791,172792,172793,172794,172795,172796,172809,172810,172811,172812,172844,172845,172846,172847,172848,172849,172856,172857,172858,172859,173467,173468,173469,173470,173471,173472,173556,173557,173558,173559,173625,173626,173627,173628,173629,173630,173724,173725,173726,173727,175682,175683,175684,175685,175686,175687,177212,177213,177214,177215,177362,177363,177364,177365,177366,177367,178057,178058,178059,178060,178067,178068,178069,178070,178071,178072,178073,178074,178075,178076,178088,178089,178090,178091,180679,180680,180681,180682,180683,180684,183048,183049,183050,183051,183534,183535,183536,183537,183538,183539,184434,184435,184436,184437,184594,184595,184596,184597,184598,184599,184875,184876,184877,184878,185861,185862,185863,185864,185865,185866,186452,186453,186454,186455,186461,186462,186463,186464,186465,186466,186476,186477,186478,186479,186492,186493,186494,186495,186496,186497,186531,186532,186533,186534,186540,186541,186542,186543,186544,186545,186556,186557,186558,186559,186619,186620,186621,186622,186623,186624,186630,186631,186632,186633,186867,186868,186869,186870,186871,186872,187029,187030,187031,187032,187079,187080,187081,187082,187083,187084,187217,187218,187219,187220,188899,188900,188901,188902,188903,188904,190211,190212,190213,190214,190224,190225,190226,190227,190228,190229,190280,190281,190282,190283,190319,190320,190321,190322,190323,190324,190325,190326,190327,190328,190384,190385,190386,190387,190392,190393,190394,190395,190396,190397,190420,190421,190422,190423,191837,191838,191839,191840,191841,191842,192891,192892,192893,192894,192897,192898,192899,192900,192901,192902,192915,192916,192917,192918,192924,192925,192926,192927,192928,192929,192945,192946,192947,192948,192960,192961,192962,192963,192964,192965,193045,193046,193047,193048,193049,193050,193051,193052,195450,195451,195452,195453,195496,195497,195498,195499,195500,195501,195618,195619,195620,195621,195624,195625,195626,195627,195628,195629,195640,195641,195642,195643,195704,195705,195706,195707,195708,195709,195798,195799,195800,195801,195934,195935,195936,195937,195938,195939,196185,196186,196187,196188,196199,196200,196201,196202,196203,196204,196247,196248,196249,196250,196251,196252,196253,196254,196255,196256,196257,196258,196259,196260,196261,196262,196263,196264,196265,196266,196267,196268,196269,196270,196271,196272,196273,196274,196283,196284,196285,196286,196287,196288,196297,196298,196299,196300,196357,196358,196359,196360,196361,196362,196537,196538,196539,196540,196541,196542,196543,196544,196545,196546,196570,196571,196572,196573,196574,196575,196585,196586,196587,196588,196589,196590,196591,196592,196593,196594,196595,196596,196597,196598,196605,196608,196609,229376,229378,229457,229458,251811,252679,252680,252714,252715,252716,252717,252718,252719,252720,252721,252753,252754,252808,252809,252844,252845,252846,252847,252848,252849,252850,252851,252852,252853,252854,252855,252856,252857,252858,252859,252860,252861,252862,252863,252864,252865,252866,252867,252868,252869,252870,252871,252872,252873,252874,252875,252876,252877,252878,252879,252880,252881,253037,253038,253146,253147,253290,253291,253392,253393,253583,253584,253743,253744,253807,253808,253956,253957,254161,254162,254256,254257,254411,254412,254474,254475,254476,254477,254478,254479,254480,254481,254482,254483,254484,254485,254486,254487,254496,254497,254498,254499,254501,254502,254503,254504,254531,254532,254533,254534,254560,254561,254562,254563,254590,254591,254592,254593,254605,254606,254607,254608,254616,254617,254618,254619,254623,254624,254625,254626,254632,254633,254634,254635,254636,254637,254638,254639,254641,254642,254643,254644,254653,254654,254655,254656,254657,254658,254659,254660,254661,254662,254663,254664,254665,254666,254667,254668,254746,254747,254748,254749,254750,254751,254752,254753,254754,254755,254756,254757,254758,254759,254760,254761,254763,254764,254765,254766,254767,254768,254769,254770,254806,254807,254808,254809,254845,254846,254847,254848,254849,254850,254851,254852,254853,254854,254855,254856,254857,254858,254860,254861,254863,254864,254865,254866,254867,254868,254869,254870,254871,254872,254873,254874,254875,254876,254877,254878,254879,254880,254881,254882,254883,254884,260305,260306,260307,260308,260309,260310,260311,260312,260313,260314,260315,260316,260320,260321,260324,260325,260329,260330,260334,260335,260339,260340,260341,260342,260343,260344,260347,260348,260349,260350,260351,260352,260353,260354,260355,260356,260357,260358,260359,260360,260361,260362,260363,260364,260365,260366,260367,260368,260369,260370,260371,260372,260373,260374,260375,260376,260377,260378,260379,260380,260381,260382,260383,260384,260385,260386,260387,260388,260389,260390,260391,260392,260393,260394,260395,260396,260397,260398,260399,260400,260401,260402,260403,260404,260405,260406,260407,260408,260409,260410,260411,260412,260413,260414,260415,260416,260417,260418,260419,260420,260421,260422,260423,260424,260428,260429,260434,260435,260436,260437,260560,260561,260562,260563,260564,260565,260566,260567,260568,260569,260570,260571,260572,260573,260575,260576,260577,260578,260580,260581,260582,260583,260585,260586,260587,260588,260590,260591,260592,260593,260595,260596,260597,260598,260600,260601,260602,260603,260605,260606,260607,260608,260609,260610,260611,260612,260613,260614,260615,260616,260622,260623,260624,260625,260626,260627,260633,260634,260635,260636,260717,260718,260719,260720,260721,260722,261108,261109,261110,261111,261113,261114,261115,261116,261117,261118,261124,261125,261126,261127,261132,261133,261134,261135,261136,261137,261154,261155,261156,261157,261187,261188,261189,261190,261191,261192,261211,261212,261213,261214,261224,261225,261226,261227,261228,261229,261252,261253,261254,261255,261256,261257,261258,261259,261261,261262,261263,261264,261268,261269,261270,261271,261273,261274,261275,261276,261278,261279,261280,261281,261283,261284,261285,261286,261288,261289,261290,261291,261293,261294,261295,261296,261298,261299,261300,261301,261304,261305,261306,261307,261309,261310,261311,261312,261315,261316,261317,261318,261320,261321,261322,261323,261333,261334,261335,261336,261337,261338,261339,261340,261341,261342,261343,261344,261345,261346,261351,261352,261353,261354,261355,261356,261363,261364,261365,261366,261388,261389,261390,261391,261392,261393,261438,261439,261440,261441,261455,261456,261457,261458,261459,261460,261476,261477,261478,261479,261480,261481,261482,261483,261496,261497,261498,261499,261501,261502,261503,261504,261506,261507,261508,261509,261511,261512,261513,261514,261516,261517,261518,261519,261521,261522,261523,261524,261526,261527,261528,261529,261531,261532,261533,261534,261536,261537,261538,261539,261541,261542,261543,261544,261551,261552,261553,261554,261556,261557,261558,261559,261560,261561,261562,261563,261564,261565,261566,261567,261568,261569,261574,261575,261576,261577,261578,261579,261586,261587,261588,261589,261593,261594,261595,261596,261597,261598,261605,261606,261607,261608,261609,261610,261611,261612,261614,261615,261616,261617,261619,261620,261621,261622,261624,261625,261626,261627,261629,261630,261631,261632,261634,261635,261636,261637,261639,261640,261641,261642,261750,261751,261752,261753,261754,261755,261756,261757,261758,261759,261760,261761,261762,261763,261764,261765,261766,261767,261768,261769,261770,261771,261772,261773,261781,261782,261783,261784,261792,261793,261794,261795,261796,261797,261804,261805,261806,261807,261814,261815,261816,261817,261818,261819,261820,261821,261822,261823,261824,261825,261834,261835,261836,261837,261838,261839,261855,261856,261857,261858,261860,261861,261862,261863,261865,261866,261867,261868,261870,261871,261872,261873,261878,261879,261880,261881,261883,261884,261885,261886,261887,261888,261889,261890,261895,261896,261897,261898,261899,261900,261910,261911,261912,261913,261938,261939,261940,261941,261942,261943,262029,262030,262031,262032,262095,262096,262097,262098,262099,262100,262101,262102,262117,262118,262119,262120,262121,262122,262141,262144,262145,294912,294914,294993,294994,295487,295488,300403,300405,300406,300407,300408,300409,300410,300411,300421,300422,300423,300424,300459,300460,300466,300467,300468,300469,300482,300483,300496,300497,300498,300499,300514,300515,301303,301304,301305,301306,301307,301308,301309,301310,305216,305217,305275,305276,305277,305278,305279,305280,305281,305282,305460,305461,305468,305469,305470,305471,305487,305488,305498,305499,305500,305501,305520,305521,305533,305534,305535,305536,305556,305557,305578,305579,305580,305581,305598,305599,305606,305607,305608,305609,305636,305637,305665,305666,305667,305668,305719,305720,305753,305754,305755,305756,305772,305773,305782,305783,305784,305785,305795,305796,305899,305900,305901,305902,305933,305934,306479,306480,306481,306482,308207,308208,308223,308224,308225,308226,308241,308242,308308,308309,308310,308311,308324,308325,308335,308336,308337,308338,308360,308361,308464,308465,308466,308467,308514,308515,308521,308522,308523,308524,308532,308533,308542,308543,308544,308545,308567,308568,308578,308579,308580,308581,308591,308592,308624,308625,308626,308627,308653,308654,313384,313385,313386,313387,313388,313389,313390,313391,314050,314051,314415,314416,314417,314418,314419,314420,314438,314439,314440,314441,314468,314469,314470,314471,314472,314473,314553,314554,314555,314556,314557,314558,314559,314560,314567,314568,314569,314570,314571,314572") == "4c5ac809450a8f257e83ba38c507e9e1120df71f" || block_image_verify("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat")) then
ui_print("Verified system image...");
else
check_first_block("/dev/block/bootdevice/by-name/system");
ifelse (block_image_recover("/dev/block/bootdevice/by-name/system", "5824,1,80,81,306,2816,2817,2818,2819,2820,2821,2822,2823,2832,2833,2940,2941,2942,2943,3036,3037,3045,3046,3047,3048,3049,3050,3051,3052,3069,3070,3089,3090,3091,3092,3102,3103,3157,3158,3159,3160,3172,3173,3177,3178,3179,3180,3190,3191,3205,3206,3207,3208,3244,3245,3254,3255,3256,3257,3300,3301,3327,3328,3329,3330,3382,3383,3392,3393,3394,3395,3433,3434,3446,3447,3448,3449,3450,3451,3530,3531,3532,3533,3766,3767,3768,6943,6944,6945,6946,8086,8087,8088,8089,8311,8312,8313,8314,9151,9152,9153,9154,9156,9157,9158,9159,9160,9161,9168,9169,9170,9171,9177,9178,9179,9180,9181,9182,9208,9209,9210,9211,9274,9275,9276,9277,9278,9279,9345,9346,9347,9348,9354,9355,9356,9357,9358,9359,9386,9387,9388,9389,9393,9394,9395,9396,9397,9398,9417,9418,9419,9420,9422,9423,9424,9425,9426,9427,9433,9434,9435,9436,9440,9441,9442,9443,9444,9445,9461,9462,9463,9464,9467,9468,9469,9470,9471,9472,9482,9483,9484,9485,9488,9489,9490,9491,9492,9493,9506,9507,9508,9509,9513,9514,9515,9516,9517,9518,9529,9530,9531,9532,9533,9534,9535,9536,9600,9601,9612,9613,9614,9615,9616,9617,9618,9619,9626,9627,9629,9630,9631,9632,9634,9635,9636,9637,9638,9639,9640,9641,9688,9689,9698,9699,9700,9701,9702,9703,9704,9705,9757,9758,9768,9769,9770,9771,9772,9773,9774,9775,10520,10521,21723,21724,21726,21727,21738,21739,21750,21751,21755,21756,21760,21761,21768,21769,21774,21775,21779,21780,21781,21782,21788,21789,21826,21827,21828,21829,21830,21831,21837,21838,21847,21848,21857,21858,21865,21866,21872,21873,21884,21885,21891,21892,21897,21898,21899,21900,21909,21910,21919,21920,21926,21927,21932,21933,21934,21935,21939,21940,21945,21946,21950,21951,21963,21964,21971,21972,21978,21979,21987,21988,22036,22037,22042,22043,22044,22045,22050,22051,22132,22133,22138,22139,22151,22152,22158,22159,22164,22165,22198,22199,22218,22219,22223,22224,22229,22230,22237,22238,22242,22243,22250,22251,22257,22258,22265,22266,22271,22272,22282,22283,22306,22307,22341,22342,22343,22344,22352,22353,22395,22396,22403,22404,22413,22414,22454,22455,22459,22460,22469,22470,22476,22477,22482,22483,22490,22491,22506,22507,22516,22517,22538,22539,22549,22550,22562,22563,22573,22574,22720,22721,22734,22735,22743,22744,22749,22750,22785,22786,22797,22798,22832,22833,22945,22946,22957,22958,22967,22968,22969,22970,22999,23000,23005,23006,23043,23044,23072,23073,23074,23075,23076,23077,23104,23105,23117,23118,23173,23174,23237,23238,23299,23300,23305,23306,23347,23348,23403,23404,23405,23406,23411,23412,23417,23418,23423,23424,23446,23447,23452,23453,23461,23462,23469,23470,23599,23600,23755,23756,23762,23763,23780,23781,23790,23791,23809,23810,23812,23813,23821,23822,23919,23920,23946,23947,23952,23953,23961,23962,24002,24003,24009,24010,24145,24146,24147,24148,24153,24154,24161,24162,24167,24168,24173,24174,24181,24182,24191,24192,24201,24202,24206,24207,24234,24235,24261,24262,24280,24281,24287,24288,24294,24295,24302,24303,24312,24313,24372,24373,24407,24408,24416,24417,24422,24423,24431,24432,24433,24434,24453,24454,24461,24462,24466,24467,24472,24473,24521,24522,24829,24830,24834,24835,24873,24874,24882,24883,24891,24892,24897,24898,24902,24903,24907,24908,24912,24913,24918,24919,24937,24938,24949,24950,24961,24962,24967,24968,24969,24970,24980,24981,24989,24990,24999,25000,25010,25011,25056,25057,25066,25067,25076,25077,25086,25087,25088,25089,25093,25094,25099,25100,25105,25106,25111,25112,25117,25118,25123,25124,25129,25130,25135,25136,25141,25142,25148,25149,25155,25156,25162,25163,25169,25170,25175,25176,25181,25182,25209,25210,25239,25240,25248,25249,25254,25255,25259,25260,25305,25306,25310,25311,25323,25324,25328,25329,25330,25331,25344,25345,25351,25352,25357,25358,25365,25366,25373,25374,25379,25380,25385,25386,25391,25392,25418,25419,25427,25428,25434,25435,25439,25440,25446,25447,25453,25454,25455,25456,25460,25461,25492,25493,25539,25540,25541,25542,25550,25551,25566,25567,25572,25573,25578,25579,25586,25587,25592,25593,25595,25596,25600,25601,25624,25625,25626,25627,25632,25633,25651,25652,25660,25661,25666,25667,25672,25673,25678,25679,25684,25685,25707,25708,25778,25779,25784,25785,25790,25791,25797,25798,25804,25805,25807,25808,25824,25825,25830,25831,25837,25838,25943,25944,25968,25969,25975,25976,25982,25983,25987,25988,25989,25990,26012,26013,26326,26327,26495,26496,26513,26514,26517,26518,26519,26520,26582,26583,26584,26585,26586,26587,26588,26589,26605,26606,26610,26611,26612,26613,26667,26668,26669,26670,26691,26692,26753,26754,26755,26756,26766,26767,26771,26772,26774,26775,26824,26825,26826,26827,26846,26847,26895,26896,26898,26899,26900,26901,26917,26918,26922,26923,26924,26925,26982,26983,26984,26985,27009,27010,27072,27073,27074,27075,27091,27092,27096,27097,27098,27099,27154,27155,27156,27157,27181,27182,27244,27245,27246,27247,27263,27264,27268,27269,27270,27271,27333,27334,27335,27336,27360,27361,27424,27425,27585,27586,27587,27588,27590,27591,27592,27593,27595,27596,27601,27602,27605,27606,27607,27608,27609,27610,27611,27612,27620,27621,27623,27624,27866,27867,27868,27869,27870,27871,27872,27873,27878,27879,27880,27881,27882,27883,27886,27887,27890,27891,27894,27895,27898,27899,27900,27901,27904,27905,27908,27909,27912,27913,27916,27917,27920,27921,27922,27923,27926,27927,27930,27931,27934,27935,27938,27939,27942,27943,27946,27947,28030,28031,28032,28033,28040,28041,28060,28061,28067,28068,28069,28070,28071,28072,28073,28074,28075,28076,28077,28078,28079,28080,28085,28086,28087,28088,28089,28090,28093,28094,28097,28098,28099,28100,28103,28104,28105,28106,28109,28110,28112,28113,28116,28117,28121,28122,28126,28127,28131,28132,28136,28137,28138,28139,28142,28143,28144,28145,28146,28147,28148,28149,28150,28151,28152,28153,28174,28175,28180,28181,28195,28196,28213,28214,28218,28219,28220,28221,28223,28224,28381,28382,28384,28385,28386,28387,28549,28550,28552,28553,28554,28555,28556,28557,28560,28561,28562,28563,28567,28568,28569,28570,28573,28574,28575,28576,28577,28578,28579,28580,28581,28582,28583,28584,28595,28596,28597,28598,28599,28600,28601,28602,28604,28605,28606,28607,28608,28609,28610,28611,28612,28613,28614,28615,28616,28617,28618,28619,28620,28621,28622,28623,28624,28625,28626,28627,28628,28629,28630,28631,28632,28633,28634,28635,28636,28637,28638,28639,28640,28641,28642,28643,28644,28645,28646,28647,28648,28649,28650,28651,28652,28653,28654,28655,28656,28657,28658,28659,28660,28661,28663,28664,28667,28668,28669,28670,28671,28672,28673,28674,28675,28676,28677,28678,28699,28700,28701,28702,28703,28704,28706,28707,28712,28713,28714,28715,28716,28717,28719,28720,28721,28722,28723,28724,28727,28728,28730,28731,28732,28733,28735,28736,28738,28739,28741,28742,28748,28749,28757,28758,28766,28767,28774,28775,28782,28783,28791,28792,28800,28801,28809,28810,28818,28819,28837,28838,28839,28840,28841,28842,28843,28844,28845,28846,29952,29953,29954,29955,29956,29957,29958,29959,29960,29961,29962,29963,29964,29965,29966,29967,29968,29969,29970,29971,29972,29973,29974,29975,29976,29977,29978,29979,29980,29981,29982,29983,29984,29985,29986,29987,29988,29989,29990,29991,29992,29993,29994,29995,29996,29997,29998,29999,30000,30001,30002,30003,30004,30005,30006,30007,30008,30009,30010,30011,30012,30013,30014,30015,30016,30017,30018,30019,30020,30021,30022,30023,30024,30025,30026,30027,30028,30029,30030,30031,30032,30033,30034,30035,30036,30037,30038,30039,30040,30041,30042,30043,30044,30045,30046,30047,30048,30049,30050,30051,30063,30064,30065,30066,30067,30068,30069,30070,30071,30072,30073,30074,30231,30232,30233,30234,30235,30236,30237,30238,30239,30240,30243,30244,30247,30248,30249,30250,30251,30252,30253,30254,30255,30256,30257,30258,30259,30260,30261,30262,30263,30264,30265,30266,30267,30268,30269,30270,30271,30272,30273,30274,30275,30276,30277,30278,30279,30280,30281,30282,30283,30284,30285,30286,30287,30288,30289,30290,30291,30292,30293,30294,30295,30296,30297,30298,30299,30300,30301,30302,30303,30304,30305,30306,30307,30308,30309,30310,30311,30312,30313,30314,30315,30316,30317,30318,30319,30320,30321,30322,30323,30324,30325,30326,30327,30328,30329,30330,30332,30333,30334,30335,30336,30337,30338,30339,30342,30343,30344,30345,30346,30347,30348,30349,30350,30351,30352,30353,30354,30355,30356,30357,30358,30359,30360,30361,30362,30363,30364,30365,30366,30367,30368,30369,30370,30371,30375,30376,30377,30378,30379,30380,30381,30382,30383,30384,30841,30842,30843,30844,30846,30847,30848,30849,30850,30851,30853,30854,30856,30857,30859,30860,30862,30863,30864,30865,30867,30868,30870,30871,30873,30874,30875,30876,30878,30879,30881,30882,30884,30885,30887,30888,30890,30891,30893,30894,30896,30897,30899,30900,30902,30903,30905,30906,30908,30909,30911,30912,30915,30916,30918,30919,30921,30922,30924,30925,30927,30928,30930,30931,30932,30933,30934,30935,30937,30938,30940,30941,30944,30945,30948,30949,30951,30952,30954,30955,30957,30958,30960,30961,30963,30964,30966,30967,30969,30970,30972,30973,30975,30976,30979,30980,30982,30983,30985,30986,30988,30989,30991,30992,30994,30995,30997,30998,31000,31001,31003,31004,31006,31007,31009,31010,31012,31013,31015,31016,31017,31018,31020,31021,31023,31024,31026,31027,31029,31030,31032,31033,31034,31035,31037,31038,31040,31041,31043,31044,31046,31047,31049,31050,31052,31053,31055,31056,31057,31058,31060,31061,31063,31064,31066,31067,31069,31070,31072,31073,31075,31076,31078,31079,31081,31082,31084,31085,31087,31088,31090,31091,31093,31094,31096,31097,31099,31100,31102,31103,31104,31105,31107,31108,31110,31111,31113,31114,31116,31117,31118,31119,31121,31122,31124,31125,31127,31128,31130,31131,31133,31134,31136,31137,31139,31140,31142,31143,31145,31146,31149,31150,31152,31153,31155,31156,31158,31159,31161,31162,31164,31165,31166,31167,31169,31170,31172,31173,31175,31176,31178,31179,31181,31182,31183,31184,31186,31187,31189,31190,31192,31193,31195,31196,31198,31199,31200,31201,31203,31204,31206,31207,31209,31210,31272,31273,31275,31276,31278,31279,31280,31281,31283,31284,31286,31287,31289,31290,31292,31293,31295,31296,31297,31298,31300,31301,31303,31304,31306,31307,31309,31310,31311,31312,31314,31315,31317,31318,31320,31321,31323,31324,31326,31327,31329,31330,31332,31333,31335,31336,31338,31339,31341,31342,31343,31344,31346,31347,31349,31350,31352,31353,31355,31356,31358,31359,31361,31362,31364,31365,31367,31368,31370,31371,31372,31373,31374,31375,31376,31377,31378,31379,31381,31382,31385,31386,31388,31389,31390,31391,31392,31393,31395,31396,31398,31399,31401,31402,31404,31405,31407,31408,31410,31411,31413,31414,31416,31417,31418,31419,31420,31421,31422,31423,31424,31425,31427,31428,31436,31437,31445,31446,31454,31455,31463,31464,31472,31473,31474,31475,31476,31477,31478,31479,31480,31481,31482,31483,31484,31485,31486,31487,31491,31492,31493,31494,31496,31497,31507,31508,31523,31524,31541,31542,31571,31572,31601,31602,31676,31677,31749,31750,31800,31801,31841,31842,31869,31870,31898,31899,31931,31932,31985,31986,32005,32006,32061,32062,32091,32092,32121,32122,32151,32152,32181,32182,32186,32187,32191,32192,32200,32201,32234,32235,32239,32240,32242,32243,32245,32246,32258,32259,32265,32266,32272,32273,32282,32283,32289,32290,32326,32327,32362,32363,32368,32369,32374,32375,32379,32380,32382,32383,32388,32389,32394,32395,32405,32406,32408,32409,32418,32419,32428,32429,32438,32439,32449,32450,32458,32459,32467,32468,32476,32477,32485,32486,32511,32512,32515,32516,32518,32519,32533,32534,32548,32549,32563,32564,32578,32579,32583,32584,32588,32589,32617,32618,32623,32624,32628,32629,32631,32632,32634,32635,32640,32641,32679,32680,32720,32721,32724,32725,32729,32730,32734,32735,32747,32748,32750,32751,32754,32755,32759,32760,32764,32765,32766,32768,32770,32849,32850,48416,48419,48424,48425,48442,48443,48472,48473,65531,65532,65533,65534,65536,65537,66182,66183,66184,66185,66186,66187,66188,66493,66494,66558,66559,66560,66561,66648,66649,67312,67313,67318,67319,67324,67325,67335,67336,67349,67350,67365,67366,67394,67395,67405,67406,67443,67444,67716,67717,67718,67719,67720,67721,67722,67723,67796,67797,67870,67871,67914,67915,67916,67917,67920,67921,67922,67923,67924,67925,67926,67927,67928,67929,67931,67932,67938,67939,67944,67945,68020,68021,68024,68025,68030,68031,68032,68033,68034,68035,68036,68037,68038,68039,68040,68041,68047,68048,68049,68050,68071,68072,68095,68096,68097,68098,68109,68110,68153,68154,68205,68206,68525,68526,68633,68634,68635,68636,68644,68645,68650,68651,68663,68664,68678,68679,68722,68723,68736,68737,68782,68783,68794,68795,68902,68903,69219,69220,69318,69319,69356,69357,69386,69387,69406,69407,69415,69416,69600,69601,69743,69744,69754,69755,69772,69773,69782,69783,69917,69918,69924,69925,69954,69955,69985,69986,70175,70176,70182,70183,70189,70190,70195,70196,70200,70201,70214,70215,70223,70224,70228,70229,70259,70260,70277,70278,70308,70309,70363,70364,70381,70382,70412,70413,70432,70433,70441,70442,70449,70450,70473,70474,70523,70524,70535,70536,70540,70541,70545,70546,71351,71352,71356,71357,71361,71362,71378,71379,71383,71384,71390,71391,71395,71396,71401,71402,71407,71408,71412,71413,71418,71419,71424,71425,71429,71430,71434,71435,71440,71441,71446,71447,71452,71453,71458,71459,71463,71464,71469,71470,71475,71476,71480,71481,71486,71487,71492,71493,71497,71498,71503,71504,71509,71510,71514,71515,71520,71521,71526,71527,71531,71532,71537,71538,71543,71544,71548,71549,71554,71555,71560,71561,71565,71566,71571,71572,71577,71578,71582,71583,71588,71589,71594,71595,71599,71600,71605,71606,71611,71612,71616,71617,71622,71623,71628,71629,71633,71634,71639,71640,71645,71646,71653,71654,71661,71662,71675,71676,71681,71682,71704,71705,71734,71735,71777,71778,71814,71815,71821,71822,71880,71881,71885,71886,71904,71905,71909,71910,72083,72084,72253,72254,72260,72261,72275,72276,72285,72286,72295,72296,72305,72306,72315,72316,72325,72326,72335,72336,72345,72346,72355,72356,72365,72366,72380,72381,72390,72391,72400,72401,72415,72416,72425,72426,72435,72436,72445,72446,72455,72456,72465,72466,72475,72476,72485,72486,72495,72496,72505,72506,72520,72521,72530,72531,72540,72541,72550,72551,72560,72561,72575,72576,72585,72586,72595,72596,72605,72606,72620,72621,72630,72631,72640,72641,72650,72651,72665,72666,72675,72676,72685,72686,72695,72696,72705,72706,72720,72721,72730,72731,72740,72741,72750,72751,72760,72761,72770,72771,72779,72780,72794,72795,72804,72805,72814,72815,72824,72825,72834,72835,72844,72845,72854,72855,72864,72865,72874,72875,72889,72890,72899,72900,72909,72910,72919,72920,72929,72930,72939,72940,72949,72950,72959,72960,72969,72970,72979,72980,72989,72990,73004,73005,73014,73015,73024,73025,73034,73035,73044,73045,73054,73055,73069,73070,73079,73080,73089,73090,73099,73100,73109,73110,73119,73120,73129,73130,73139,73140,73154,73155,73164,73165,73174,73175,73184,73185,73199,73200,73214,73215,73224,73225,73234,73235,73244,73245,73254,73255,73264,73265,73274,73275,73289,73290,73299,73300,73309,73310,73319,73320,73334,73335,73344,73345,73354,73355,73364,73365,73379,73380,73389,73390,73399,73400,73409,73410,73424,73425,73434,73435,73444,73445,73454,73455,73464,73465,73474,73475,73489,73490,73499,73500,73509,73510,73519,73520,73529,73530,73544,73545,73554,73555,73564,73565,73574,73575,73584,73585,73594,73595,73609,73610,73619,73620,73629,73630,73639,73640,73649,73650,73659,73660,73674,73675,73684,73685,73694,73695,73704,73705,73714,73715,73724,73725,73734,73735,73744,73745,73754,73755,73764,73765,73779,73780,73789,73790,73799,73800,73809,73810,73819,73820,73829,73830,73839,73840,73849,73850,73859,73860,73869,73870,73884,73885,73894,73895,73904,73905,73914,73915,73924,73925,73934,73935,73944,73945,73954,73955,73964,73965,73974,73975,73989,73990,73999,74000,74009,74010,74019,74020,74029,74030,74039,74040,74049,74050,74059,74060,74069,74070,74084,74085,74094,74095,74104,74105,74114,74115,74124,74125,74134,74135,74144,74145,74154,74155,74164,74165,74174,74175,74184,74185,74194,74195,74204,74205,74219,74220,74229,74230,74239,74240,74249,74250,74259,74260,74269,74270,74279,74280,74289,74290,74299,74300,74314,74315,74324,74325,74334,74335,74344,74345,74354,74355,74364,74365,74374,74375,74389,74390,74399,74400,74409,74410,74419,74420,74429,74430,74439,74440,74449,74450,74459,74460,74469,74470,74479,74480,74489,74490,74499,74500,74514,74515,74524,74525,74534,74535,74544,74545,74554,74555,74564,74565,74574,74575,74584,74585,74594,74595,74604,74605,74619,74620,74629,74630,74639,74640,74649,74650,74664,74665,74674,74675,74684,74685,74694,74695,74704,74705,74714,74715,74724,74725,74734,74735,74744,74745,74754,74755,74769,74770,74779,74780,74789,74790,74799,74800,74809,74810,74819,74820,74829,74830,74839,74840,74854,74855,74864,74865,74874,74875,74884,74885,74894,74895,74904,74905,74919,74920,74929,74930,74939,74940,74949,74950,74959,74960,74969,74970,74979,74980,74989,74990,74999,75000,75014,75015,75024,75025,75034,75035,75044,75045,75155,75156,75219,75220,75224,75225,75231,75232,75245,75246,75252,75253,75311,75312,75333,75334,75347,75348,75380,75381,75474,75475,75489,75490,75499,75500,75544,75545,75577,75578,75588,75589,75595,75596,75601,75602,75715,75716,75735,75736,75741,75742,76418,76419,76438,76439,76451,76452,76465,76466,76529,76530,76535,76536,76542,76543,76549,76550,76557,76558,76627,76628,76636,76637,76644,76645,76664,76665,76686,76687,76956,76957,81779,81780,81809,81810,81817,81818,81932,81933,81955,81956,82006,82007,82036,82037,82061,82062,82075,82076,82081,82082,82095,82096,82100,82101,82136,82137,82143,82144,82150,82151,82159,82160,82169,82170,82178,82179,82235,82236,82254,82255,82286,82287,82292,82293,82304,82305,82360,82361,82373,82374,82542,82543,82557,82558,82633,82634,82692,82693,82714,82715,82759,82760,82774,82775,82779,82780,82785,82786,82791,82792,82797,82798,82803,82804,82809,82810,82817,82818,83120,83121,83125,83126,83153,83154,83167,83168,83172,83173,83179,83180,83189,83190,83221,83222,83227,83228,83234,83235,83242,83243,83250,83251,83255,83256,83260,83261,83267,83268,83274,83275,83281,83282,83287,83288,83293,83294,83299,83300,83305,83306,83311,83312,83316,83317,83322,83323,83328,83329,83334,83335,83340,83341,83347,83348,83353,83354,83359,83360,83364,83365,83371,83372,83378,83379,83385,83386,83395,83396,83405,83406,83413,83414,83419,83420,83433,83434,83443,83444,83449,83450,83457,83458,83463,83464,83469,83470,83475,83476,83482,83483,83487,83488,83493,83494,83499,83500,83504,83505,83510,83511,83516,83517,83521,83522,83526,83527,83532,83533,83537,83538,83545,83546,83552,83553,83557,83558,83563,83564,83706,83707,83719,83720,83748,83749,83770,83771,83809,83810,83951,83952,83985,83986,83992,83993,84128,84129,84147,84148,84184,84185,84194,84195,84216,84217,84466,84467,84508,84509,84521,84522,84529,84530,84536,84537,84542,84543,84551,84552,84558,84559,84590,84591,84608,84609,84623,84624,84632,84633,84639,84640,84646,84647,84665,84666,84697,84698,84722,84723,84771,84772,84783,84784,84790,84791,84805,84806,84808,84809,84816,84817,84826,84827,84833,84834,84859,84860,84879,84880,84897,84898,84927,84928,84932,84933,84937,84938,84942,84943,84956,84957,84959,84960,87425,87426,87428,87429,87433,87434,87439,87440,87446,87447,87502,87503,87505,87506,87917,87918,89137,89138,89145,89146,89324,89325,89329,89330,89337,89338,89381,89382,89403,89404,89408,89409,89413,89414,89423,89424,89429,89430,89435,89436,89444,89445,89479,89480,89484,89485,89495,89496,89503,89504,89508,89509,89514,89515,89695,89696,89732,89733,89740,89741,89759,89760,89786,89787,89815,89816,89823,89824,89829,89830,89841,89842,89862,89863,89869,89870,89898,89899,89938,89939,89946,89947,89958,89959,90024,90025,90043,90044,90077,90078,90082,90083,90091,90092,90097,90098,90107,90108,90113,90114,90143,90144,90283,90284,90294,90295,90299,90300,90305,90306,90325,90326,90327,90328,90339,90340,90348,90349,90360,90361,90368,90369,90375,90376,90382,90383,90394,90395,90401,90402,90409,90410,90417,90418,90424,90425,90429,90430,90436,90437,90441,90442,90449,90450,90456,90457,90468,90469,90473,90474,90482,90483,90490,90491,90497,90498,90504,90505,90512,90513,90520,90521,90526,90527,90533,90534,90540,90541,90542,90543,90580,90581,90618,90619,90658,90659,90661,90662,90663,90664,90665,90666,90678,90679,90680,90681,90682,90683,90704,90705,90716,90717,90718,90719,90720,90721,90845,90846,90847,90848,90854,90855,90856,90857,90858,90859,90860,90861,90862,90863,90864,90865,90873,90874,90879,90880,90886,90887,90893,90894,90906,90907,90913,90914,90934,90935,90946,90947,90948,90949,90999,91000,91006,91007,91012,91013,91067,91068,91073,91074,91079,91080,91086,91087,91092,91093,91267,91268,91275,91276,91281,91282,91287,91288,91294,91295,91304,91305,91359,91360,91372,91373,91402,91403,91408,91409,91415,91416,91421,91422,91429,91430,91435,91436,91441,91442,91447,91448,91524,91525,91543,91544,91619,91620,91625,91626,91632,91633,91838,98304,98306,98385,98386,104958,104970,104971,104975,104976,104981,104982,104988,104989,104994,104995,105001,105002,105094,105095,105194,105195,105199,105200,105216,105217,105248,105249,105310,105311,105376,105377,105438,105439,105500,105501,105576,105577,105658,105659,105734,105735,105816,105817,105898,105899,105975,105976,106058,106059,106134,106135,106216,106217,106292,106293,106368,106369,106449,106450,106524,106525,106606,106607,106688,106689,106764,106765,106847,106848,106923,106924,106926,106927,106935,106936,106937,106938,106944,106945,106952,106953,106961,106962,106982,106983,107119,107120,107121,107122,107123,107124,107149,107150,107517,107518,107554,107555,107974,107975,107997,107998,108175,108176,108179,108180,108195,108196,108341,108342,110115,110116,110163,110164,110500,110501,111143,111144,120049,120050,120062,120063,120134,120135,120137,120138,120145,120146,120162,120163,120380,120381,120407,120408,120670,120671,120675,120676,120707,120708,120710,120711,120718,120719,120855,120856,122055,122056,122058,122059,122069,122070,122077,122078,122143,122144,122439,122440,124547,124548,124551,124552,124682,124683,124684,124685,124686,124687,124689,124690,124691,124692,124696,124697,124699,124700,124701,124702,124704,124705,124717,124718,124724,124725,124731,124732,124737,124738,124770,124771,124806,124807,124810,124811,124814,124815,125211,125212,125659,125660,125661,125662,125665,125666,125668,125669,125672,125673,126177,126178,127784,127785,127786,127787,127800,127801,127803,127804,127806,127807,127809,127810,127818,127819,127821,127822,127835,127836,127837,127838,127839,127840,127899,127900,127908,127909,127950,127951,127993,127994,128044,128045,128151,128152,128160,128161,128178,128179,128189,128190,128198,128199,128207,128208,128227,128228,128238,128239,128246,128247,128258,128259,128296,128297,128327,128328,128343,128344,128353,128354,128374,128375,128384,128385,128395,128396,128444,128445,128457,128458,128541,128542,128548,128549,128581,128582,128598,128599,128675,128676,128783,128784,128998,128999,129019,129020,129036,129037,129193,129194,129543,129544,129569,129570,129580,129581,129593,129594,129604,129605,129661,129662,129674,129675,129685,129686,129773,129774,129790,129791,129802,129803,129815,129816,129914,129915,130704,130705,130715,130716,130717,130718,130763,130764,130818,130819,130820,130821,130826,130827,130830,130831,130841,130842,130851,130852,130866,130867,130870,130871,130901,130902,130905,130906,130909,130910,130933,130934,130988,130989,130993,130994,130999,131000,131003,131004,131006,131007,131009,131010,131011,131012,131039,131040,131042,131043,131045,131046,131047,131048,131049,131050,131052,131053,131065,131066,131068,131069,131070,131072,131073,163840,163842,163921,163922,168362,168369,168370,168374,168375,168381,168382,168384,168385,168388,168389,168391,168392,168394,168395,168397,168398,168401,168402,168405,168406,168408,168409,168414,168415,168433,168434,168452,168453,168457,168458,168461,168462,168466,168467,168478,168479,168485,168486,168499,168500,168510,168511,168518,168519,168522,168523,168527,168528,168532,168533,168536,168537,168540,168541,168545,168546,168550,168551,168554,168555,168559,168560,168563,168564,168568,168569,168573,168574,168586,168587,168591,168592,168593,168594,169624,169625,169630,169631,169639,169640,169645,169646,169648,169649,169650,169651,169658,169659,169677,169678,169683,169684,169688,169689,169694,169695,169706,169707,169713,169714,169719,169720,169730,169731,169736,169737,169738,169739,169740,169741,169742,169743,169747,169748,169750,169751,169757,169758,169761,169762,169769,169770,169773,169774,169803,169804,169817,169818,169842,169843,169879,169880,169906,169907,169951,169952,169976,169977,169988,169989,170017,170018,170044,170045,170057,170058,170059,170060,170063,170064,170066,170067,170069,170070,170073,170074,170077,170078,170085,170086,170088,170089,170093,170094,170103,170104,170108,170109,170114,170115,170119,170120,170125,170126,170129,170130,170134,170135,170139,170140,170147,170148,170153,170154,170157,170158,170163,170164,170168,170169,170172,170173,170178,170179,170183,170184,170188,170189,170192,170193,170199,170200,170203,170204,170209,170210,170216,170217,170220,170221,170231,170232,170234,170235,170240,170241,170245,170246,170261,170262,170265,170266,170270,170271,170276,170277,170282,170283,170288,170289,170294,170295,170299,170300,170302,170303,170309,170310,170316,170317,170323,170324,170328,170329,170336,170337,170343,170344,170347,170348,170354,170355,170361,170362,170369,170370,170373,170374,170384,170385,170388,170389,170400,170401,170404,170405,170409,170410,170415,170416,170421,170422,170428,170429,170437,170438,170443,170444,170451,170452,170456,170457,170459,170460,170464,170465,170470,170471,170476,170477,170484,170485,170492,170493,170496,170497,170505,170506,170507,170508,170515,170516,170523,170524,170530,170531,170587,170588,170610,170611,170618,170619,170628,170629,170636,170637,170645,170646,170658,170659,170670,170671,170681,170682,170694,170695,170703,170704,170712,170713,170723,170724,170734,170735,170743,170744,170752,170753,170757,170758,170765,170766,170776,170777,170787,170788,170798,170799,170850,170851,170859,170860,170868,170869,170884,170885,170889,170890,170903,170904,170912,170913,170956,170957,170970,170971,170987,170988,170997,170998,171006,171007,171035,171036,171048,171049,171059,171060,171073,171074,171084,171085,171096,171097,171111,171112,171123,171124,171141,171142,171148,171149,171153,171154,171195,171196,171206,171207,171216,171217,171228,171229,171239,171240,171247,171248,171257,171258,171269,171270,171281,171282,171286,171287,171296,171297,171306,171307,171317,171318,171325,171326,171334,171335,171349,171350,171378,171379,171389,171390,171412,171413,171471,171472,171486,171487,171492,171493,171537,171538,171551,171552,171567,171568,171583,171584,171590,171591,171604,171605,171616,171617,171629,171630,171638,171639,171650,171651,171661,171662,171689,171690,171768,171769,171780,171781,171791,171792,171803,171804,171812,171813,171835,171836,171843,171844,171854,171855,171864,171865,171883,171884,171927,171928,171937,171938,171950,171951,171958,171959,171995,171996,172042,172043,172051,172052,172057,172058,172066,172067,172087,172088,172094,172095,172096,172097,172099,172100,172102,172103,172105,172106,172109,172110,172112,172113,172115,172116,172118,172119,172122,172123,172127,172128,172130,172131,172134,172135,172137,172138,172140,172141,172143,172144,172147,172148,172150,172151,172154,172155,172156,172157,172158,172159,172221,172222,172223,172224,172225,172226,172236,172237,172238,172239,172280,172281,172282,172283,172284,172285,172504,172505,172506,172507,172540,172541,172542,172543,172544,172545,172780,172781,172782,172783,172791,172792,172793,172794,172795,172796,172809,172810,172811,172812,172844,172845,172846,172847,172848,172849,172856,172857,172858,172859,173467,173468,173469,173470,173471,173472,173556,173557,173558,173559,173625,173626,173627,173628,173629,173630,173724,173725,173726,173727,175682,175683,175684,175685,175686,175687,177212,177213,177214,177215,177362,177363,177364,177365,177366,177367,178057,178058,178059,178060,178067,178068,178069,178070,178071,178072,178073,178074,178075,178076,178088,178089,178090,178091,180679,180680,180681,180682,180683,180684,183048,183049,183050,183051,183534,183535,183536,183537,183538,183539,184434,184435,184436,184437,184594,184595,184596,184597,184598,184599,184875,184876,184877,184878,185861,185862,185863,185864,185865,185866,186452,186453,186454,186455,186461,186462,186463,186464,186465,186466,186476,186477,186478,186479,186492,186493,186494,186495,186496,186497,186531,186532,186533,186534,186540,186541,186542,186543,186544,186545,186556,186557,186558,186559,186619,186620,186621,186622,186623,186624,186630,186631,186632,186633,186867,186868,186869,186870,186871,186872,187029,187030,187031,187032,187079,187080,187081,187082,187083,187084,187217,187218,187219,187220,188899,188900,188901,188902,188903,188904,190211,190212,190213,190214,190224,190225,190226,190227,190228,190229,190280,190281,190282,190283,190319,190320,190321,190322,190323,190324,190325,190326,190327,190328,190384,190385,190386,190387,190392,190393,190394,190395,190396,190397,190420,190421,190422,190423,191837,191838,191839,191840,191841,191842,192891,192892,192893,192894,192897,192898,192899,192900,192901,192902,192915,192916,192917,192918,192924,192925,192926,192927,192928,192929,192945,192946,192947,192948,192960,192961,192962,192963,192964,192965,193045,193046,193047,193048,193049,193050,193051,193052,195450,195451,195452,195453,195496,195497,195498,195499,195500,195501,195618,195619,195620,195621,195624,195625,195626,195627,195628,195629,195640,195641,195642,195643,195704,195705,195706,195707,195708,195709,195798,195799,195800,195801,195934,195935,195936,195937,195938,195939,196185,196186,196187,196188,196199,196200,196201,196202,196203,196204,196247,196248,196249,196250,196251,196252,196253,196254,196255,196256,196257,196258,196259,196260,196261,196262,196263,196264,196265,196266,196267,196268,196269,196270,196271,196272,196273,196274,196283,196284,196285,196286,196287,196288,196297,196298,196299,196300,196357,196358,196359,196360,196361,196362,196537,196538,196539,196540,196541,196542,196543,196544,196545,196546,196570,196571,196572,196573,196574,196575,196585,196586,196587,196588,196589,196590,196591,196592,196593,196594,196595,196596,196597,196598,196605,196608,196609,229376,229378,229457,229458,251811,252679,252680,252714,252715,252716,252717,252718,252719,252720,252721,252753,252754,252808,252809,252844,252845,252846,252847,252848,252849,252850,252851,252852,252853,252854,252855,252856,252857,252858,252859,252860,252861,252862,252863,252864,252865,252866,252867,252868,252869,252870,252871,252872,252873,252874,252875,252876,252877,252878,252879,252880,252881,253037,253038,253146,253147,253290,253291,253392,253393,253583,253584,253743,253744,253807,253808,253956,253957,254161,254162,254256,254257,254411,254412,254474,254475,254476,254477,254478,254479,254480,254481,254482,254483,254484,254485,254486,254487,254496,254497,254498,254499,254501,254502,254503,254504,254531,254532,254533,254534,254560,254561,254562,254563,254590,254591,254592,254593,254605,254606,254607,254608,254616,254617,254618,254619,254623,254624,254625,254626,254632,254633,254634,254635,254636,254637,254638,254639,254641,254642,254643,254644,254653,254654,254655,254656,254657,254658,254659,254660,254661,254662,254663,254664,254665,254666,254667,254668,254746,254747,254748,254749,254750,254751,254752,254753,254754,254755,254756,254757,254758,254759,254760,254761,254763,254764,254765,254766,254767,254768,254769,254770,254806,254807,254808,254809,254845,254846,254847,254848,254849,254850,254851,254852,254853,254854,254855,254856,254857,254858,254860,254861,254863,254864,254865,254866,254867,254868,254869,254870,254871,254872,254873,254874,254875,254876,254877,254878,254879,254880,254881,254882,254883,254884,260305,260306,260307,260308,260309,260310,260311,260312,260313,260314,260315,260316,260320,260321,260324,260325,260329,260330,260334,260335,260339,260340,260341,260342,260343,260344,260347,260348,260349,260350,260351,260352,260353,260354,260355,260356,260357,260358,260359,260360,260361,260362,260363,260364,260365,260366,260367,260368,260369,260370,260371,260372,260373,260374,260375,260376,260377,260378,260379,260380,260381,260382,260383,260384,260385,260386,260387,260388,260389,260390,260391,260392,260393,260394,260395,260396,260397,260398,260399,260400,260401,260402,260403,260404,260405,260406,260407,260408,260409,260410,260411,260412,260413,260414,260415,260416,260417,260418,260419,260420,260421,260422,260423,260424,260428,260429,260434,260435,260436,260437,260560,260561,260562,260563,260564,260565,260566,260567,260568,260569,260570,260571,260572,260573,260575,260576,260577,260578,260580,260581,260582,260583,260585,260586,260587,260588,260590,260591,260592,260593,260595,260596,260597,260598,260600,260601,260602,260603,260605,260606,260607,260608,260609,260610,260611,260612,260613,260614,260615,260616,260622,260623,260624,260625,260626,260627,260633,260634,260635,260636,260717,260718,260719,260720,260721,260722,261108,261109,261110,261111,261113,261114,261115,261116,261117,261118,261124,261125,261126,261127,261132,261133,261134,261135,261136,261137,261154,261155,261156,261157,261187,261188,261189,261190,261191,261192,261211,261212,261213,261214,261224,261225,261226,261227,261228,261229,261252,261253,261254,261255,261256,261257,261258,261259,261261,261262,261263,261264,261268,261269,261270,261271,261273,261274,261275,261276,261278,261279,261280,261281,261283,261284,261285,261286,261288,261289,261290,261291,261293,261294,261295,261296,261298,261299,261300,261301,261304,261305,261306,261307,261309,261310,261311,261312,261315,261316,261317,261318,261320,261321,261322,261323,261333,261334,261335,261336,261337,261338,261339,261340,261341,261342,261343,261344,261345,261346,261351,261352,261353,261354,261355,261356,261363,261364,261365,261366,261388,261389,261390,261391,261392,261393,261438,261439,261440,261441,261455,261456,261457,261458,261459,261460,261476,261477,261478,261479,261480,261481,261482,261483,261496,261497,261498,261499,261501,261502,261503,261504,261506,261507,261508,261509,261511,261512,261513,261514,261516,261517,261518,261519,261521,261522,261523,261524,261526,261527,261528,261529,261531,261532,261533,261534,261536,261537,261538,261539,261541,261542,261543,261544,261551,261552,261553,261554,261556,261557,261558,261559,261560,261561,261562,261563,261564,261565,261566,261567,261568,261569,261574,261575,261576,261577,261578,261579,261586,261587,261588,261589,261593,261594,261595,261596,261597,261598,261605,261606,261607,261608,261609,261610,261611,261612,261614,261615,261616,261617,261619,261620,261621,261622,261624,261625,261626,261627,261629,261630,261631,261632,261634,261635,261636,261637,261639,261640,261641,261642,261750,261751,261752,261753,261754,261755,261756,261757,261758,261759,261760,261761,261762,261763,261764,261765,261766,261767,261768,261769,261770,261771,261772,261773,261781,261782,261783,261784,261792,261793,261794,261795,261796,261797,261804,261805,261806,261807,261814,261815,261816,261817,261818,261819,261820,261821,261822,261823,261824,261825,261834,261835,261836,261837,261838,261839,261855,261856,261857,261858,261860,261861,261862,261863,261865,261866,261867,261868,261870,261871,261872,261873,261878,261879,261880,261881,261883,261884,261885,261886,261887,261888,261889,261890,261895,261896,261897,261898,261899,261900,261910,261911,261912,261913,261938,261939,261940,261941,261942,261943,262029,262030,262031,262032,262095,262096,262097,262098,262099,262100,262101,262102,262117,262118,262119,262120,262121,262122,262141,262144,262145,294912,294914,294993,294994,295487,295488,300403,300405,300406,300407,300408,300409,300410,300411,300421,300422,300423,300424,300459,300460,300466,300467,300468,300469,300482,300483,300496,300497,300498,300499,300514,300515,301303,301304,301305,301306,301307,301308,301309,301310,305216,305217,305275,305276,305277,305278,305279,305280,305281,305282,305460,305461,305468,305469,305470,305471,305487,305488,305498,305499,305500,305501,305520,305521,305533,305534,305535,305536,305556,305557,305578,305579,305580,305581,305598,305599,305606,305607,305608,305609,305636,305637,305665,305666,305667,305668,305719,305720,305753,305754,305755,305756,305772,305773,305782,305783,305784,305785,305795,305796,305899,305900,305901,305902,305933,305934,306479,306480,306481,306482,308207,308208,308223,308224,308225,308226,308241,308242,308308,308309,308310,308311,308324,308325,308335,308336,308337,308338,308360,308361,308464,308465,308466,308467,308514,308515,308521,308522,308523,308524,308532,308533,308542,308543,308544,308545,308567,308568,308578,308579,308580,308581,308591,308592,308624,308625,308626,308627,308653,308654,313384,313385,313386,313387,313388,313389,313390,313391,314050,314051,314415,314416,314417,314418,314419,314420,314438,314439,314440,314441,314468,314469,314470,314471,314472,314473,314553,314554,314555,314556,314557,314558,314559,314560,314567,314568,314569,314570,314571,314572") && block_image_verify("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat"), ui_print("system recovered successfully."), abort("E1004: system partition fails to recover"));
endif;

# ---- start making changes here ----

ui_print("Patching system image after verification.");
show_progress(0.900000, 0);
block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") ||
  abort("E1001: Failed to update system image.");
ui_print("Patching boot image...");
show_progress(0.100000, 10);
apply_patch("EMMC:/dev/block/bootdevice/by-name/boot:16276776:499b1c498024b2a8c666e8fa0198fb563a15fa85:16276776:2b72e12ade635847e49097f5e862883dae7a0078",
            "-", 2b72e12ade635847e49097f5e862883dae7a0078, 16276776,
            499b1c498024b2a8c666e8fa0198fb563a15fa85,
            package_extract_file("patch/boot.img.p")) ||
    abort("E3008: Failed to apply patch to EMMC:/dev/block/bootdevice/by-name/boot:16276776:499b1c498024b2a8c666e8fa0198fb563a15fa85:16276776:2b72e12ade635847e49097f5e862883dae7a0078");

# ---- radio update tasks ----

ui_print("Patching firmware images...");
set_progress(1.000000);
