Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- raffy@debian-vm2:~$ cd Scrivania/lul/amonet
- raffy@debian-vm2:~/Scrivania/lul/amonet$ sudo ./bootrom-step.sh
- [sudo] password di raffy:
- [2019-02-07 22:56:00.750713] Waiting for bootrom
- [2019-02-07 22:56:28.459888] Found port = /dev/ttyACM0
- [2019-02-07 22:56:28.462034] Handshake
- [2019-02-07 22:56:28.464827] Disable watchdog
- * * * Remove the short and press Enter * * *
- [2019-02-07 22:56:29.963564] Init crypto engine
- [2019-02-07 22:56:30.004572] Disable caches
- [2019-02-07 22:56:30.005374] Disable bootrom range checks
- [2019-02-07 22:56:30.050400] Load payload from ../brom-payload/build/payload.bin = 0x4690 bytes
- [2019-02-07 22:56:30.052478] Send payload
- [2019-02-07 22:56:31.424037] Let's rock
- [2019-02-07 22:56:31.425436] Wait for the payload to come online...
- [2019-02-07 22:56:32.578731] all good
- [2019-02-07 22:56:32.579145] Check GPT
- [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)}
- [2019-02-07 22:56:32.927211] Check boot0
- [2019-02-07 22:56:33.173814] Check rpmb
- [2019-02-07 22:56:33.383837] Downgrade rpmb
- [2019-02-07 22:56:33.387215] Recheck rpmb
- [2019-02-07 22:56:34.286217] rpmb downgrade ok
- [2019-02-07 22:56:34.286654] Flash lk-payload
- [4 / 4]
- [2019-02-07 22:56:34.631852] Flash preloader
- [288 / 288]
- [2019-02-07 22:56:41.938896] Flash tz
- [6732 / 6732]
- [2019-02-07 22:59:21.010041] Flash lk
- [685 / 685]
- [2019-02-07 22:59:37.434145] Inject microloader
- [4 / 4]
- [2019-02-07 22:59:37.775853] Reboot to unlocked fastboot
- raffy@debian-vm2:~/Scrivania/lul/amonet$ cd ..
- raffy@debian-vm2:~/Scrivania/lul$ cd Fire/
- raffy@debian-vm2:~/Scrivania/lul/Fire$ sudo fastboot flash boot boot.img
- target reported max download size of 114294784 bytes
- sending 'boot' (8466 KB)...
- OKAY [ 0.627s]
- writing 'boot'...
- OKAY [ 0.388s]
- finished. total time: 1.015s
- raffy@debian-vm2:~/Scrivania/lul/Fire$ sudo fastboot flash system system-.img
- system-a.img system-orig/ system-orig.img
- raffy@debian-vm2:~/Scrivania/lul/Fire$ sudo fastboot flash system system-.img
- system-a.img system-orig/ system-orig.img
- raffy@debian-vm2:~/Scrivania/lul/Fire$ sudo fastboot flash system system-a.img
- target reported max download size of 114294784 bytes
- erasing 'system'...
- OKAY [ 0.080s]
- sending sparse 'system' 1/14 (111612 KB)...
- OKAY [ 8.336s]
- writing 'system' 1/14...
- OKAY [ 6.471s]
- sending sparse 'system' 2/14 (110054 KB)...
- OKAY [ 8.591s]
- writing 'system' 2/14...
- OKAY [ 8.425s]
- sending sparse 'system' 3/14 (111613 KB)...
- OKAY [ 8.923s]
- writing 'system' 3/14...
- OKAY [ 8.181s]
- sending sparse 'system' 4/14 (109009 KB)...
- OKAY [ 7.965s]
- writing 'system' 4/14...
- OKAY [ 7.932s]
- sending sparse 'system' 5/14 (111613 KB)...
- OKAY [ 7.240s]
- writing 'system' 5/14...
- OKAY [ 7.413s]
- sending sparse 'system' 6/14 (111612 KB)...
- OKAY [ 8.390s]
- writing 'system' 6/14...
- OKAY [ 7.406s]
- sending sparse 'system' 7/14 (102098 KB)...
- OKAY [ 7.630s]
- writing 'system' 7/14...
- OKAY [ 8.971s]
- sending sparse 'system' 8/14 (111286 KB)...
- OKAY [ 6.535s]
- writing 'system' 8/14...
- OKAY [ 6.120s]
- sending sparse 'system' 9/14 (111613 KB)...
- OKAY [ 9.410s]
- writing 'system' 9/14...
- OKAY [ 7.833s]
- sending sparse 'system' 10/14 (111612 KB)...
- OKAY [ 8.971s]
- writing 'system' 10/14...
- OKAY [ 7.084s]
- sending sparse 'system' 11/14 (100301 KB)...
- OKAY [ 8.530s]
- writing 'system' 11/14...
- OKAY [ 7.138s]
- sending sparse 'system' 12/14 (111614 KB)...
- OKAY [ 9.351s]
- writing 'system' 12/14...
- OKAY [ 7.668s]
- sending sparse 'system' 13/14 (98165 KB)...
- OKAY [ 8.536s]
- writing 'system' 13/14...
- OKAY [137.882s]
- sending sparse 'system' 14/14 (44596 KB)...
- OKAY [ 3.829s]
- writing 'system' 14/14...
- OKAY [ 2.056s]
- finished. total time: 342.898s
- raffy@debian-vm2:~/Scrivania/lul/Fire$ cd ../amonet-res/
- raffy@debian-vm2:~/Scrivania/lul/amonet-res$ sudo ./bootrom-step.sh
- [2019-02-07 23:08:58.971462] Waiting for bootrom
- [2019-02-07 23:09:30.199458] Found port = /dev/ttyACM0
- [2019-02-07 23:09:30.200692] Handshake
- [2019-02-07 23:09:30.202471] Disable watchdog
- * * * Remove the short and press Enter * * *
- [2019-02-07 23:09:31.971204] Init crypto engine
- [2019-02-07 23:09:32.021628] Disable caches
- [2019-02-07 23:09:32.022373] Disable bootrom range checks
- [2019-02-07 23:09:32.055197] Load payload from ../brom-payload/build/payload.bin = 0x4690 bytes
- [2019-02-07 23:09:32.057172] Send payload
- [2019-02-07 23:09:33.406584] Let's rock
- [2019-02-07 23:09:33.408252] Wait for the payload to come online...
- [2019-02-07 23:09:34.773932] all good
- [2019-02-07 23:09:34.774230] Check GPT
- [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)}
- [2019-02-07 23:09:35.111555] Check boot0
- [2019-02-07 23:09:35.358636] Check rpmb
- [2019-02-07 23:09:35.568581] Downgrade rpmb
- [2019-02-07 23:09:35.572513] Recheck rpmb
- [2019-02-07 23:09:36.463711] rpmb downgrade ok
- [2019-02-07 23:09:36.464102] Flash preloader
- [279 / 279]
- [2019-02-07 23:09:43.375589] Flash tz
- [6459 / 6459]
- [2019-02-07 23:12:15.660751] Flash lk
- [961 / 961]
- [2019-02-07 23:12:38.594432] Reboot to unlocked fastboot
- raffy@debian-vm2:~/Scrivania/lul/amonet-res$
Advertisement
Add Comment
Please, Sign In to add comment