2024年12月

https://saber422.blogspot.com/2022/01/sabercord-comma-twocomma-three.html

喜歡本文請押讚好,如果跳出確認視窗,要再押一次"確認"才能成功給我一個讚唷~

    上次介紹過openpilot的一件安裝與一鍵反安裝,雖然是很好用的工具,如果你是要開發openpilot的程式碼,就嫌不足。很久以前我寫過SSH與FTP的方法,也介紹了workbench的SSH連線,但是隨著時間更迭,workbench已經開始不敷使用,不支援win 32bit環境,原本內建公鑰需要手動改成私鑰,加上對於comma three支援性下降,加上workbench長時間沒有更新,使用者少了有力的openpilot工具。

    這時候comma community大神spektor56開發的OpenPilotToolKit(OPTK),肯定是你我的救贖。

一、安裝OPTK

Windows版OPTK安裝:

下載回來的7Z檔案,解壓縮以後就可以執行OpenpilotToolkit.exe

接著就可以進入OPTK的首頁,系統很聰明,一開始就會尋找同網域內的comma device。首先講一個直接連線的方式:

使用我公開的金鑰,把上面下載的vagopclubkey.zip檔案解壓縮,覆蓋OPTK資料夾opensshkey這個檔案,重新開啟OPTK就能連線你的C3了。

如果要重新產生自己的金鑰,請執行下面的步驟。

點選YES之後就會要求設定你的SSH私鑰也就是Github帳號(所以你必須要在Github註冊一個帳號)

這個SSH按鈕是進入自動產生SSH KEY的模式。依照指示輸入帳號,並且點選Login後,就會要求登入Github一次(只需要一開始註冊一次,但如果OT重新安裝,就需要產生私鑰一次,不要重複執行)

每點一次這個功能,就會清掉你原本opensshkeys內容,所以不要一直重複這個程序。你如果C3已經有新增vagopclub的key就不要點SSH這個功能,直接覆蓋之後,點選下方的終端機按鈕,就可以連線。

之後會要求授權給spektor56大神開發的OT,別想太多,當然要授權給OT使用,要不然怎麼用OT~

接著OPTK會通知已經產生新的SSH KEY在你的Github帳號。接下來,去O1的設定的Network選單內,把Enable SSH打開,而且你原本如果有SSH Key要刪除再新增一次(remove/add),O1的私鑰不會自動更新,如果OPTK又跑過一次私鑰產生器流程(或是點選新增),那就必須要在O1刪除再加入一次(remove/add),才會有最新的SSH Keys。

你去Github帳號可以看到底下新增了一個OT專用的SSH Key

只要設備重新掃描(Scan),就會找到在網域當中的設備

其他功能正在開發中,但是已經非常實用,也可以SSH連線,刷版本做設定~~

感謝spektor56大神,一邊下跪一邊打本文。

至於你的金鑰,當你透過OT引導連線過C2或C3時,就會在OT資料夾內出現opensshkey,這個就是可以FTP或SSH連線的金鑰檔。

二、接著是如何SSH FTP到你的C2或C3主機

A.Windows用FTP連接C2

如果要修改C2檔案,可以透過FTP上下傳檔案,這裡推薦用FileZilla。C2開機後,讓電腦與C2在相同Wifi網域之下,點選開啟站台管理員。

協定選擇SFTP-SSH,填入C2的IP與Port 8022,使用者填入root(C3為comma,金鑰檔案選擇上面從OPTK產生的金鑰檔案(vagopclub金鑰到這裡下載的vagopclubkey.zip檔案),然後就可以點選連線進入C2資料夾。

行車紀錄器檔案在/data/media/0/realdata/底下

B.Android用SSH連接C2

用手機連結C2我推薦用JuiceSSH,它是一個簡單小巧的APP。先把金鑰檔案放在手機某個目錄或是內存根目錄都可以。先把C2跟手機放在相同Wifi中(或是讓C2連線到手機分享的無線基地台),然後開啟JuiceSSH。(一樣匯入OT金鑰,vagopclub金鑰到這裡下載的vagopclubkey.zip檔案)

先點選管理連線Manage Connections,然後押右下方的+號新增連線。

連線類型改成SSH,主機就是C2的IP,然後把連接阜改成8022,再新增一個身份。身份的內容使用者名稱要用root(C3要改為comma),接著是私鑰設定匯入OT產生的金鑰,對右上方打勾儲存。接著就可以在連線頁面點選C2的IP用手機連入C2,可以跟PC一樣直接對C2下命令。

五.Android用FTP連接C2

    這裡推薦Android手機使用AndFTP來跟C2連線。在上方點選+號新增連線,接著填入C2的IP,然後類型選擇SCP,連接埠是8022,使用者名稱為root。然後進階的地方選擇被動與SSH金鑰,先前下載的OT金鑰(vagopclub金鑰到這裡下載的vagopclubkey.zip檔案)。儲存檔案後就可以透過FTP直接與C2連線上傳下載檔案。

    AndFTP除了使用OT的金鑰,還要到設定內的進階,選擇Expert FTP settings,將SSH provider改成 ED22519格式,這樣就可以連線了

https://xdaforums.com/t/live-iso-maid-v4-2-manage-all-your-android-devices-without-driver-hassle.3526755/

FWUL\_v3.2\_x86-64 (forgetful/ISO only)
Released: 2020-09-13
Reason: Maintenance release
Download: Go to the Download section in the OP
All closed issues for this release: see the Milestone tracking
Full Changelog (this version VS. previous): git commits
Summary Changelog:

  • Fresh Manjaro Arch Linux base from the day of release (means all OS packages are top current)
  • new look & feel by a new icon and desktop theme
  • backported from v4.0: new installer dialogs (goodbye ugly terminal outputs)
  • backported from v4.0: SALT's new requirements are pre-installed now
  • backported from v4.0: AMD graphic support for newer models
  • backported from v4.0: fully pre-pkg all installers. this one is incredible important to keep the installers working without doing a full system upgrade. Previously once times passes by and you wanted to use the installers the package (e.g. spflashtools, teamviewer) got downloaded by the normal way. As everything depends on each other that could result in hundreds of Megabytes if not a full system upgrade at the end. Useless and annoying for a live ISO. The new approach will fully pre-package all dependencies directly within the build process so they will always fit exactly to the release. That way even if you start v3.2 in 3 years it will just download the pre-packaged file which contains all you need.
  • Versions of the main FWUL components:

    Kernel -> version: 4.19.144-1
    ADB and fastboot: android-tools -> version: 30.0.3-1
    simple-adb GUI -> version: update6
    SALT -> version: 3.22-12
    ROME -> version: 1.1-0
    Firefox (bundled) -> version: 80.0.1-1
    TeamViewer (installer pre-packaged) -> version: 15.9.5-1
    SonyFlash tools (installer pre-packaged) -> version: 0.9.29.0-1
    SPFlash tools (installer pre-packaged) -> version: 5.2028-1
    Chromium (installer pre-packaged) -> version: 85.0.4183.102-1
    bootimgtool-git -> version: 20150607.g9ccd962-1
    heimdall-git -> version: 1.4.2.r7.ga2cfdaa-1
    lightdm -> version: 1:1.30.0-4
    xorg-server -> version: 1.20.8-4
    virtualbox-guest-utils -> version: 6.1.14-1
    hexchat -> version: 2.14.3-3
    testdisk-wip -> version: 7.2-1
    tmate -> version: 2.4.0-1
    xfce -> version: 4.14.2-2

  • there are more fixes/changes: follow the above full changelog/milestone link!

Older releases

FWUL\_v3.1\_x86-64
Released: 2019-01-23
Reason: Maintenance release
Download: Go to the Download section in the OP
All closed issues for this release: see the Milestone tracking on my gitlab
Full Changelog (this version VS. previous): gitlab commits
Summary Changelog:

  • FWUL has an own HOMEPAGE :)")
  • You may have noticed that I moved all code to an own gitlab server. The repositories on github.com will stay online but are archived, read-only and outdated.
  • Fresh Manjaro Arch Linux base from the day of release (means all OS packages are top current)
  • Versions of the main FWUL components for this release:

    Kernel -> version: 4.19.14-1
    ADB and fastboot: android-tools -> version: 9.0.0\_r18-1
    simple-adb GUI -> version: update6
    SALT -> version: 3.21-4
    ROME -> version: 1.0-1
    TeamViewer (req user install) -> version: 14.1
    bootimgtool-git -> version: 20150607.g9ccd962-1
    heimdall-git -> version: 1.4.2.r7.ga2cfdaa-1
    xfwm4 -> version: 4.12.5-1
    lightdm -> version: 1:1.28.0-1
    xorg-server -> version: 1.20.3-1
    virtualbox-guest-utils -> version: 6.0.2-99
    firefox -> version: 64.0.2-1
    hexchat -> version: 2.14.2-1
    testdisk-wip -> version: 7.1-1
    tmate -> version: 2.2.1-2

  • fix: since v3.0 the default language was not set to EN (issue)
  • fix: since v3.0 changing the language in persistent mode required a reboot (issue)
  • fix: LivePatcher repo URL (issue)
  • fix: since v3.0 shared folders stopped working when using VirtualBox (issue)
  • there are more fixes/changes: follow the above full changelog/milestone link!

FWUL\_v3.0.2\_x86-64 - PERSISTENT ONLY
Released: 2019-01-15
Reason: Maintenance release, ONLY for persistent builds
A patch has been released for FWUL

persistent

builds.
Patching a persistent build is handled by the FWUL LivePatcher which can be found on the desktop.
Due to many under-the-hood changes (mainly the repo URL path changed and that required adjusting several files) the following procedure is needed to upgrade correctly to the latest release:

  1. double-click "FWUL LivePatcher"
  2. click "Check & Download Patches" button!
  3. once finished click "Start LivePatcher" and wait until it finishes
  4. you will be prompted to re-open the LivePatcher as there was an update for the LivePatcher itself
  5. you should be informed that your FWUL version is now 3.0.1
  6. close the LivePatcher and re-open it
  7. click again on "Check & Download Patches" button!
  8. once finished click "Start LivePatcher" and wait until it finishes
  9. you should be informed that your FWUL version is now 3.0.2

if something goes wrong do this in a terminal:

Code:

tar cvzf flu.tgz /var/log/fwul

and attach the resulting flu.tgz file in your post.

Summary Changelog:

  • changed repository patch for FWUL LivePatcher to gitlab
  • workaround for issue #88

FWUL\_v3.0\_x86-64
Released: 2019-01-02
Reason: Feature & Maintenance release
Download: Go to the Download section in the OP
All closed issues for this release: see the Milestone tracking on my gitlab
Full Changelog (this version VS. previous): gitlab commits
Summary Changelog:

  • FWUL got an own HOMEPAGE :)")
  • You may notice that I moved all code to an own gitlab server. The repositories on github.com will stay but are archived, read-only and outdated.
  • Fresh Manjaro Arch Linux base from the day of release (means all OS packages are top current)
  • Versions of the main FWUL components for this release:

    Kernel -> version: 4.19.13-1 (major upgrade)
    ADB and fastboot: android-tools -> version: 9.0.0\_r18-1 (major upgrade)
    simple-adb GUI -> version: update6
    SALT -> version: 3.21-4
    ROME -> version: 1.0-1 (newly added)
    TeamViewer (req user install) -> version: 14.0 (major upgrade)
    bootimgtool-git -> version: 20150607.g9ccd962-1
    heimdall-git -> version: 1.4.2.r7.ga2cfdaa-1
    xfwm4 -> version: 4.12.5-1
    lightdm -> version: 1:1.28.0-1
    xorg-server -> version: 1.20.3-1
    virtualbox-guest-utils -> version: 6.0.0-1 (major upgrade)
    firefox -> version: 64.0-1
    hexchat -> version: 2.14.2-1
    testdisk-wip -> version: 7.1-1
    tmate -> version: 2.2.1-2

  • new: added MiFlash for Xiaomi devices - read the short summary in FWUL included tools & installers
  • new: finally pre-configured hexchat
  • new: added two android boot image manipulating tools
  • new: added an even more clear Virtualization warning in the welcome screen
  • new: added [ROM][E] an extract tool for ROMs - read the short summary in FWUL included tools & installers
  • new: polished up wallpaper
  • fix: from now on FWUL supports (partly) system upgrades (see issue #63)! This means:
    - you CAN update FWUL (using the desktop icon for adding/removing software or within a terminal: trizen -Syu --noconfirm)
    - you will NOT be able to update the kernel, virtualbox guest utils or any other kernel related module(s) (they are excluded automatically so just for info)
    - you will NOT be able to update to newer FWUL releases. This will ALWAYS require a re-install as changing that would require an incredible amount of work and resources, update servers etc.
  • there are more fixes/changes: follow the above full changelog/milestone link!

FWUL\_2.7\_x86-64
Released: 2018-07-03
Reason: Maintenance release
Download: Go to the Download section in the OP
All closed issues for this release: see the Milestone tracking on github
Full Changelog: on Github
Summary Changelog:

  • Fresh Manjaro Arch Linux base from the day of release (means all OS packages are top current)
  • Versions of the main FWUL components for this release:

    Kernel -> version: 4.14.40-rt30-MANJARO
    ADB and fastboot: android-tools -> version: 8.1.0\_r33-1
    simple-adb GUI -> version: update6
    SALT -> version: 3.16-0
    heimdall-git -> version: 1.4.2.r5.g5377b62-1
    xfwm4 -> version: 4.12.4-1
    lightdm -> version: 1:1.26.0-1
    xorg-server -> version: 1.19.6+24+g56547b196-1
    virtualbox-guest-utils -> version: 5.2.12-2
    firefox -> version: 61.0-1
    hexchat -> version: 2.14.1-2
    testdisk-wip -> version: 7.1-1
    tmate -> version: 2.2.1-2

  • new: added the graphical tool Qphotorec recovery (recovers ANY type of files not just photos ! --> Example HowTo Guide)
    Also read the short summary in FWUL included tools & installers
  • new: easing up the use of tmate (desktop icon, automatic session id info on startup) - read the short summary in FWUL included tools & installers
  • new: greatly enhanced the teamviewer install experience, speed and compatibility
  • new: added LG LAF fork of @runningnak3d (desktop -> folder LG)
  • there are more fixes/news: follow the above full changelog/milestone link!

FWUL\_2.6\_x86-64
Released: 2018-03-07
Reason: Maintenance release - main purpose was to update SALT due to the public release of UsU
Download: Go to the Download section in the OP
All closed issues for this release: see the Milestone tracking on github
Full Changelog: on Github
Summary Changelog:

  • Fresh Arch base from the day of release (means all OS packages are top current)
  • Versions of the main FWUL components for this release:

    Kernel -> version: 4.14-1
    ADB and fastboot: android-tools -> version: 8.1.0\_r7-1
    simple-adb GUI -> version: update6
    SALT -> version: 3.8-2
    heimdall-git -> version: 1.4.2.r5.g5377b62-1
    xfwm4 -> version: 4.12.4-1
    lightdm -> version: 1:1.24.0-3
    xorg-server -> version: 1.19.6+13+gd0d1a694f-1
    virtualbox-guest-utils -> version: 5.2.8-1
    firefox -> version: 58.0.2-1.1
    hexchat -> version: 2.12.4-8

  • new: updated SALT
  • fix: user icon login / password hint
  • there are more fixes/news: follow the above full changelog/milestone link!

FWUL\_2.5\_x86-64
Released: 2018-02-15
Download: Go to the Download section in the OP
All closed issues for this release: see the Milestone tracking on github
Full Changelog: on Github
Summary Changelog:

  • Fresh Arch base from the day of release (means all OS packages are top current)
  • Versions of the main FWUL components:

    Kernel -> version: 4.14-1
    ADB and fastboot: android-tools -> version: 8.1.0\_r7-1
    simple-adb GUI -> version: update6
    SALT -> version: 3.6-6
    heimdall-git -> version: 1.4.2.r5.g5377b62-1
    xfwm4 -> version: 4.12.4-1
    lightdm -> version: 1:1.24.0-3
    xorg-server -> version: 1.19.6+13+gd0d1a694f-1
    virtualbox-guest-utils -> version: 5.2.6-2
    firefox -> version: 58.0.1-1
    hexchat -> version: 2.12.4-7

  • new: Added the awesome LG tool SALT ;)")
  • new: replaces LTS kernel with the latest (better hardware support for many cpus, network/wifi cards etc)
  • new: added tmate as a TeamViewer alternative when no GUI is needed (no install needed)
  • new: full support for VirtualBox share folders (big thx to @sdembiske who brought up the idea!)
  • fix: user login icon
  • fix:
  • there are more fixes/news: follow the above full changelog/milestone link!

FWUL\_2.3\_x86-64
Released: 2017-09-23

  • Versions of the main FWUL components:

    ADB and fastboot: android-tools -> version: 7.1.2\_r27-1
    simple-adb GUI -> version: update4
    heimdall-git -> version: 1.4.2.r3.g9bcc42d-1
    xfwm4 -> version: 4.12.4-1
    lightdm -> version: 1:1.22.0-1
    xorg-server -> version: 1.19.3-3
    virtualbox-guest-utils -> version: 5.1.28-1
    firefox -> version: 55.0.3-1
    hexchat -> version: 2.12.4-6

  • Fixed an issue with adb
  • Fixed an issue with directory permissions
  • Added FWUL LivePatcher --> details and issue

FWUL\_2.2.x\_x86-64 (persistent only)
Released: 2017-09-20 (manual download/installation)

  • Fixed an issue with adb
  • Fixed an issue with directory permissions

FWUL\_2.1.1\_x86-64 (forgetful only)
Released: 2017-09-13

  • Fixed an issue where the persistent mode was shown in boot menu of forgetful ISO

FWUL\_2.1\_x86-64
Released: 2017-09-12

  • Fixed an issue within the build process making persistent builds non-persistent :p

FWUL\_2.0\_x86-64
Released: 2017-09-11
Download: Go to the Download section in the OP
Full Changelog: on Github
All closed issues for this release: see the Milestone tracking on github

  • Fresh Arch base from the day of release (means all packages are top current)
  • Versions of the main FWUL components:

    ADB and fastboot: android-tools -> version: 8.0.0\_r4-1
    simple-adb GUI -> version: update4
    heimdall-git -> version: 1.4.2.r1.g3b4f34e-1
    xfwm4 -> version: 4.12.4-1
    lightdm -> version: 1:1.22.0-1
    xorg-server -> version: 1.19.3-3
    virtualbox-guest-utils -> version: 5.1.26-1
    firefox -> version: 55.0.3-1
    hexchat -> version: 2.12.4-6

  • you may have noticed it already but FWUL has an own logo now and so goes a complete re-design of: boot menu screen and login screen
  • added FWUL version info and a welcome screen
  • added persistent mode (FAQ #4)
  • added a graphical installer (pamac) to ease the installation of new software in FWUL
  • added PT-br language
  • preparation for an eventually coming installer
  • replaced Otter Browser by Firefox
  • several bugfixes (check full changelog above)

FWUL\_1-4\_x86-64.iso
Released: 2017-05-03
Download: Go to the Download section in the OP
Full Changelog: on Github
All closed issues for this release: see the Milestone tracking on github
Hint: the main reason for the increased ISO size compared to v1.3 is missing qt libs etc.

  • Fresh Arch base from the day of release (means all packages are top current)
  • Versions of the main FWUL components:

    ADB and fastboot: android-tools -> version: 7.1.2\_r6-1
    heimdall-git -> version: 1.4.1.r37.gb6fe7f8-1
    xfwm4 -> version: 4.12.4-1
    xorg-server -> version: 1.19.3-2
    virtualbox-guest-utils -> version: 5.1.22-1

  • bugfix (issue #10) for Sony Flashtool preventing the latest patch to be applied
  • replaced Midori Browser by Otter Browser

FWUL\_1-3\_x86-64.iso
Released: 2017-04-19
Download: Go to the Download section in the OP
Full Changelog: on Github
All closed issues for this release: see the Milestone tracking on github

  • Fresh Arch base from the day of release (means all packages are top current)
  • updated heimdall to heimdall-git from AUR (user request)
  • Samsung and LG tools are moved to subfolders on the desktop
  • LG LAF shell is now fully usable (missed a python package) and now much more easily accessible by 2 desktop icons in the LG folder
  • fixed issue #5 (thunar volume manager was missing)
  • fixed issue #2 (compress/extract in file explorer thunar was not possible)
  • shrinked ISO size a LOT

FWUL\_1-2\_x86-64.iso
Released: 2017-04-11
Download: Go to the Download section in the OP
Full Changelog: on Github

  • Fresh Arch base from the day of release (means all packages are top current)
  • Turkish language added (user request)
  • Firefox installer added
  • Chromium installer added
  • some minor fixes

FWUL\_1-1\_x86-64.iso
Released: 2017-03-18
Download: Go to the Download section in the OP
Full Changelog: on Github

FWUL\_1-0\_x86-64.iso
Released: 2017-02-13
Download: Go to the Download section in the OP
Changes:

  • First stable release of FWUL (well the previous ones were stable too but we now feel like that all needed things are working as they should)
  • github changelog
    (wifi issues are fixed in this build :)") besides so many other things.. just read the above changelog)

FWUL\_BETA-3\_x86-64.iso
Released: 2017-01-17
Download: Go to the Download section in the OP
Changes:

  • Initial release based on Arch Linux
  • github changelog
  • The following known issue and workaround exists for this particular release:

    I cannot connect password protected wireless network...only free to air connects. When I click on password connected wireless network., it simply don't open.

FWUL\_BETA-2\_x86\_64.iso
Released: 2017-01-05
Changes:

  • now based on Ubuntu Mini Remix 16.04.1 + all updates/patches up to now
  • switched to 64bit arch because of JOdin mainly
  • reduced file size
  • added: TeamViewer, JOdin3, heimdall (GUI) and other tools
  • new wallpaper background

FWUL-i386-LM18\_b1
Released: 2016-12-28
Changes:

  • Initial release based on LM18.1 + all updates/patches up to now, removed some unnecessary stuff, added adb and fastboot etc

https://bbs.ixmoe.com/t/topic/27899

本方法也适合想要Root的人,只要准备好面具即可,只是省略了面具安装步骤。

Root的手机可以收到固件更新提醒,但是无法更新,不定期还提醒更新,只能取消。想要更新最新版本的,这里出个简易教程,跟着做很简单,这里是给和我一样小白准备的,大神笑笑飘过即可。

准备:1、固件 2、Fastboot工具

一、固件和工具

如果不知道怎么下载,下面有链接以及固件下载步骤:
Ⅰ、链接
工具下载地址:[Fastboot 工具] Tiny Fastboot Script v1.9.1 | 20221010 101
固件下载网址:lolinet mirrors - firmware, software, iso etc. 182

Ⅱ、固件下载步骤:
1、打开手机<设置>-<关于手机>-<软件通道>和<版本号>中的相关信息记下。例如软件通道:retch,版本号:S1SC32.52-69-24等。

2、关闭手机,按住音量下键不动,再开机,进入AP Fastboot Flash模式(方法很多哪种都可以)。

3、看自己手机BL,也就是红字下面的小写字母,例如我的X30:MBM-3.0-hiphic-XXX……… ,记下hiphic。

4、打开固件网站,选择对应的固件。如下图:

1

hiphic和RETCN就是我们刚刚记下的,在里面对照看看有没有自己记下的版本,如果有的话再找到合适的版本下载。看到这里有我的原始版本,这样就可放心下载最新版本了。最前面是手机型号。

2

*警告!!!期间要仔细核对对应自己手机的固件是否一致,不对应的固件刷机可能会变砖。

二、工具使用

1、工具下载以后解压到任意目录

2、固件下载好后解压全部文件到刚才的工具主目录下。插入数据线手机连接电脑。

3、运行flash.bat,启动工具箱,全中文,我这里全部默认,使用前要仔细看说明,方法错容易变砖。

4、我用[1] 刷入设备基本 AP(系统部分)。刷机完成后重新启动。这里说明一下,如果按照上面步骤,现在手机应该是AP Fastboot Flash模式,否则软件也会提示模式不对,不能刷机,请手动进入AP Fastboot Flash刷机模式。

三、恢复Root环境

1、手机再次插入电脑,进入文件传输模式,把新固件中的boot.img拷贝到手机Download目录。

2、打开面具软件,在安装页面选<选择并修补一个文件>,找到刚拷贝进去的boot.img打入补丁。

3、补丁打入完成,刷新电脑,重新打开手机Download目录,下面会多出一个打好补丁的img文件,文件名有个随机数值的就是。把它拷贝到Fastboot工具箱/tools目录下,改名为Patchedboot.img,改名就是为了命令方便统一,这时就可以删除Download里面不需要的文件了。

**还是要注意,工具软件tools目录要求<  title=本目录下的任何文件请不要直接执行或移动到其它位置,否则后果自负!!!  title=\>,如果害怕出问题的可以单独拷贝出来或运行后将多余文件删除即可。

4、在电脑<资源管理器> Fastboot工具主/tools目录下<地址栏>上输入cmd,回车确认,就会打开默认目录为工具箱/tools下的命令行模式。
Lily_Screenshot_1669614163

分别依次输入命令1)adb reboot bootloader 2)fastboot boot Patchedboot.img

第一个命令是控制手机进入AP Fastboot Flas模式,如果手动进入请忽略,第二个是刷入打补丁后的镜像。

5、手机自动重启后再次进入面具,重新安装补丁,选择直接安装重启即可。

至此手机升级完美,Root的插件全部都存在。

https://bbs.ixmoe.com/t/topic/27302

已经在别的帖子回复过了,但是还有小伙伴不明白,特地整理了下发出来,仅供参考。
用OTA升级保留ROOT的办法:
1:打开magisk主页 — 点击“卸载Magisk”,在弹出的界面下选择“还原原厂映像”。
2:还原完原厂映像后,紧接着然后OTA升级,一定注意升级完成后千万别重启手机!别重启手机!
3:需要点击面具主页右上“安装”,在弹出的界面下选择 “安装到未使用的槽位(OTA后)”。
4:重启手机。

1

2

3

PS:自己的EDGES在ROOT后,就是这么OTA升级了三次。

之前几个版本都可以,今天一直提示找不到原厂boot

今天才看到OTA跨版本11升级到了12;我去OTA升级试了,没问题的。

Screenshot_20220630-210801

我的Edge S完全按照这个步骤操作,为什么升级不了?显示以下提示:

微信图片_20220714105358

你这个是不是还原原厂镜像失败了?或者是因为BL版本与系统版本不一致(刷机的时候只刷了AP部分),这样是无法OTA升级的。

还原原厂镜像提示成功了,刷机是用services.xml脚本,相比flashfile.xml,少了erase userdata
和erase metadata两步,是否跟这个有关?

多谢楼主,昨晚试过了,好用,之前是每次要ota 升级的时候电脑重新刷一下boot.img,这下方便了。

那是什么原因呢?

微信图片_20220715085601

真是太管用了,方便。升级12也是能这般操作的,不过要先把magisk升级到magisk canary版本,停用所有模块再升级。升级完成后还得把RIRU和LSPOSEED都升级才能正常使用。

针对没有rec只能fb刷修补过的boot导致卸载时提示不存在原厂映像的问题,可以这样解决。
最新版本的固件网上不一定有,但机子上当前版本的绝对是有的(废话,不然哪来的修补过的boot)。把当前包的原厂boot用fb刷到未启用的槽里,然后在有root的槽位用magisk直接修补那个槽位里的boot后重启。这时候就有原厂映像的备份了,可以照着楼主讲的走了。
别想着自己找原厂备份路径,magisk在备份的时候计算sha1加压缩处理,自己放总会出现玄学问题而失败。

十分感谢 今天2023年10月23的新补丁用这个方法依然有效

newbee啊!这问题困扰我多年了,路过无意中看到,忍不住注册个号感叹一番,感谢分享!