Guest User

Untitled

a guest
Feb 7th, 2019
631
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.81 KB | None | 0 0
  1. raffy@debian-vm2:~$ cd Scrivania/lul/amonet
  2. raffy@debian-vm2:~/Scrivania/lul/amonet$ sudo ./bootrom-step.sh
  3. [sudo] password di raffy:
  4. [2019-02-07 22:56:00.750713] Waiting for bootrom
  5. [2019-02-07 22:56:28.459888] Found port = /dev/ttyACM0
  6. [2019-02-07 22:56:28.462034] Handshake
  7. [2019-02-07 22:56:28.464827] Disable watchdog
  8.  
  9. * * * Remove the short and press Enter * * *
  10.  
  11.  
  12. [2019-02-07 22:56:29.963564] Init crypto engine
  13. [2019-02-07 22:56:30.004572] Disable caches
  14. [2019-02-07 22:56:30.005374] Disable bootrom range checks
  15. [2019-02-07 22:56:30.050400] Load payload from ../brom-payload/build/payload.bin = 0x4690 bytes
  16. [2019-02-07 22:56:30.052478] Send payload
  17. [2019-02-07 22:56:31.424037] Let's rock
  18. [2019-02-07 22:56:31.425436] Wait for the payload to come online...
  19. [2019-02-07 22:56:32.578731] all good
  20. [2019-02-07 22:56:32.579145] Check GPT
  21. [2019-02-07 22:56:32.926835] gpt_parsed = {'userdata': (4383744, 26393567), 'system': (208896, 3306496), 'lk2': (17408, 1024), 'cache': (3515392, 868352), 'kb': (187392, 2048), 'MISC': (191488, 1024), 'tee1': (86016, 10240), 'dkb': (189440, 2048), 'tee2': (96256, 10240), 'reserved': (192512, 16384), 'recovery': (51200, 34816), 'proinfo': (1024, 6144), 'boot': (18432, 32768), 'PMT': (7168, 9216), 'lk': (16384, 1024), 'metadata': (106496, 80896)}
  22. [2019-02-07 22:56:32.927211] Check boot0
  23. [2019-02-07 22:56:33.173814] Check rpmb
  24. [2019-02-07 22:56:33.383837] Downgrade rpmb
  25. [2019-02-07 22:56:33.387215] Recheck rpmb
  26. [2019-02-07 22:56:34.286217] rpmb downgrade ok
  27. [2019-02-07 22:56:34.286654] Flash lk-payload
  28. [4 / 4]
  29. [2019-02-07 22:56:34.631852] Flash preloader
  30. [288 / 288]
  31. [2019-02-07 22:56:41.938896] Flash tz
  32. [6732 / 6732]
  33. [2019-02-07 22:59:21.010041] Flash lk
  34. [685 / 685]
  35. [2019-02-07 22:59:37.434145] Inject microloader
  36. [4 / 4]
  37. [2019-02-07 22:59:37.775853] Reboot to unlocked fastboot
  38. raffy@debian-vm2:~/Scrivania/lul/amonet$ cd ..
  39. raffy@debian-vm2:~/Scrivania/lul$ cd Fire/
  40. raffy@debian-vm2:~/Scrivania/lul/Fire$ sudo fastboot flash boot boot.img
  41. target reported max download size of 114294784 bytes
  42. sending 'boot' (8466 KB)...
  43. OKAY [ 0.627s]
  44. writing 'boot'...
  45. OKAY [ 0.388s]
  46. finished. total time: 1.015s
  47. raffy@debian-vm2:~/Scrivania/lul/Fire$ sudo fastboot flash system system-.img
  48. system-a.img system-orig/ system-orig.img
  49. raffy@debian-vm2:~/Scrivania/lul/Fire$ sudo fastboot flash system system-.img
  50. system-a.img system-orig/ system-orig.img
  51. raffy@debian-vm2:~/Scrivania/lul/Fire$ sudo fastboot flash system system-a.img
  52. target reported max download size of 114294784 bytes
  53. erasing 'system'...
  54. OKAY [ 0.080s]
  55. sending sparse 'system' 1/14 (111612 KB)...
  56. OKAY [ 8.336s]
  57. writing 'system' 1/14...
  58. OKAY [ 6.471s]
  59. sending sparse 'system' 2/14 (110054 KB)...
  60. OKAY [ 8.591s]
  61. writing 'system' 2/14...
  62. OKAY [ 8.425s]
  63. sending sparse 'system' 3/14 (111613 KB)...
  64. OKAY [ 8.923s]
  65. writing 'system' 3/14...
  66. OKAY [ 8.181s]
  67. sending sparse 'system' 4/14 (109009 KB)...
  68. OKAY [ 7.965s]
  69. writing 'system' 4/14...
  70. OKAY [ 7.932s]
  71. sending sparse 'system' 5/14 (111613 KB)...
  72. OKAY [ 7.240s]
  73. writing 'system' 5/14...
  74. OKAY [ 7.413s]
  75. sending sparse 'system' 6/14 (111612 KB)...
  76. OKAY [ 8.390s]
  77. writing 'system' 6/14...
  78. OKAY [ 7.406s]
  79. sending sparse 'system' 7/14 (102098 KB)...
  80. OKAY [ 7.630s]
  81. writing 'system' 7/14...
  82. OKAY [ 8.971s]
  83. sending sparse 'system' 8/14 (111286 KB)...
  84. OKAY [ 6.535s]
  85. writing 'system' 8/14...
  86. OKAY [ 6.120s]
  87. sending sparse 'system' 9/14 (111613 KB)...
  88. OKAY [ 9.410s]
  89. writing 'system' 9/14...
  90. OKAY [ 7.833s]
  91. sending sparse 'system' 10/14 (111612 KB)...
  92. OKAY [ 8.971s]
  93. writing 'system' 10/14...
  94. OKAY [ 7.084s]
  95. sending sparse 'system' 11/14 (100301 KB)...
  96. OKAY [ 8.530s]
  97. writing 'system' 11/14...
  98. OKAY [ 7.138s]
  99. sending sparse 'system' 12/14 (111614 KB)...
  100. OKAY [ 9.351s]
  101. writing 'system' 12/14...
  102. OKAY [ 7.668s]
  103. sending sparse 'system' 13/14 (98165 KB)...
  104. OKAY [ 8.536s]
  105. writing 'system' 13/14...
  106. OKAY [137.882s]
  107. sending sparse 'system' 14/14 (44596 KB)...
  108. OKAY [ 3.829s]
  109. writing 'system' 14/14...
  110. OKAY [ 2.056s]
  111. finished. total time: 342.898s
  112. raffy@debian-vm2:~/Scrivania/lul/Fire$ cd ../amonet-res/
  113. raffy@debian-vm2:~/Scrivania/lul/amonet-res$ sudo ./bootrom-step.sh
  114. [2019-02-07 23:08:58.971462] Waiting for bootrom
  115. [2019-02-07 23:09:30.199458] Found port = /dev/ttyACM0
  116. [2019-02-07 23:09:30.200692] Handshake
  117. [2019-02-07 23:09:30.202471] Disable watchdog
  118.  
  119. * * * Remove the short and press Enter * * *
  120.  
  121.  
  122. [2019-02-07 23:09:31.971204] Init crypto engine
  123. [2019-02-07 23:09:32.021628] Disable caches
  124. [2019-02-07 23:09:32.022373] Disable bootrom range checks
  125. [2019-02-07 23:09:32.055197] Load payload from ../brom-payload/build/payload.bin = 0x4690 bytes
  126. [2019-02-07 23:09:32.057172] Send payload
  127. [2019-02-07 23:09:33.406584] Let's rock
  128. [2019-02-07 23:09:33.408252] Wait for the payload to come online...
  129. [2019-02-07 23:09:34.773932] all good
  130. [2019-02-07 23:09:34.774230] Check GPT
  131. [2019-02-07 23:09:35.111351] gpt_parsed = {'userdata': (4383744, 26393567), 'boot': (18432, 32768), 'tee1': (86016, 10240), 'tee2': (96256, 10240), 'PMT': (7168, 9216), 'MISC': (191488, 1024), 'system': (208896, 3306496), 'kb': (187392, 2048), 'metadata': (106496, 80896), 'recovery': (51200, 34816), 'lk2': (17408, 1024), 'dkb': (189440, 2048), 'reserved': (192512, 16384), 'cache': (3515392, 868352), 'proinfo': (1024, 6144), 'lk': (16384, 1024)}
  132. [2019-02-07 23:09:35.111555] Check boot0
  133. [2019-02-07 23:09:35.358636] Check rpmb
  134. [2019-02-07 23:09:35.568581] Downgrade rpmb
  135. [2019-02-07 23:09:35.572513] Recheck rpmb
  136. [2019-02-07 23:09:36.463711] rpmb downgrade ok
  137. [2019-02-07 23:09:36.464102] Flash preloader
  138. [279 / 279]
  139. [2019-02-07 23:09:43.375589] Flash tz
  140. [6459 / 6459]
  141. [2019-02-07 23:12:15.660751] Flash lk
  142. [961 / 961]
  143. [2019-02-07 23:12:38.594432] Reboot to unlocked fastboot
  144. raffy@debian-vm2:~/Scrivania/lul/amonet-res$
Advertisement
Add Comment
Please, Sign In to add comment