蒐集 MT7688 開發的相關資源
| De-Brick Redmi Note 8 And Unlock Bootloader From EDL | |
| After Flashing Wrong FW (Screen Flashing) Or Whatever Gives You HardBrick | |
| From Linux ..... | |
| Install QDL > | |
| https://www.96boards.org/documentation/consumer/guides/qdl.md.html | |
| git clone https://git.linaro.org/landing-teams/working/qualcomm/qdl.git QDL-ENG-Ginkgo | |
| cd QDL-ENG-Ginkgo ; make ; cd - |
| import cv2 | |
| import numpy as np | |
| import os | |
| import pyopencl as cl | |
| import pyopencl.array as cl_array | |
| import time | |
| from openpilot.common.basedir import BASEDIR |
| # instructions to install openpilot on a pixel 3 | |
| # enter fastboot with power + volume down | |
| # make sure bootloader is unlocked | |
| # make sure modern version of android platform tools is installed | |
| mkdir pixel | |
| wget https://dl.google.com/dl/android/aosp/blueline-pq3a.190801.002-factory-f3d66c49.zip | |
| unzip blueline-pq3a.190801.002-factory-f3d66c49.zip | |
| cd blueline-pq3a.190801.002/ | |
| ./flash-all.sh |
| #!/bin/bash | |
| # Usage: cas-get.sh {url} {username} {password} # If you have any errors try removing the redirects to get more information | |
| # The service to be called, and a url-encoded version (the url encoding isn't perfect, if you're encoding complex stuff you may wish to replace with a different method) | |
| DEST="$1" | |
| ENCODED_DEST=`echo "$DEST" | perl -p -e 's/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg' | sed 's/%2E/./g' | sed 's/%0A//g'` | |
| #IP Addresses or hostnames are fine here | |
| CAS_HOSTNAME=galaxy:9143 |
This guide uses my own repos from Mer Obs. I found it very hard to find information about this so hopefully someone sees this useful. This short guide was created as a side product while I was creating these RPM packages (which wasn't so clear to me either).
-
Add the repositories to the Mer SDK armv7hl and i486 targets (you'll have to ssh to the Mer SDK):
-
sb2 -t SailfishOS-2.1.3.7-armv7hl -m sdk-install -R zypper ar -f https://sailfish.openrepos.net/birdzhang/personal-main.repo -
sb2 -t SailfishOS-2.1.3.7-i486 -m sdk-install -R zypper ar -f https://sailfish.openrepos.net/birdzhang/personal-main.repo
-
-
Refresh
sb2 -t SailfishOS-2.1.3.7-i486 -m sdk-install -R zypper refandsb2 -t SailfishOS-2.1.3.7-armv7hl -m sdk-install -R zypper ref -
Install packages: