宝塔反代不支持多线程
https://github.com/AlistGo/alist/issues/3382
我把官网的所有Nginx参数都一个一个加上去看看是哪个参数有问题。
如果反代参数中没有
proxy_set_header Range $http_range;
Range是支持分段的一个参数,然后SB宝塔默认不加。
https://github.com/AlistGo/alist/issues/3382
我把官网的所有Nginx参数都一个一个加上去看看是哪个参数有问题。
如果反代参数中没有
proxy_set_header Range $http_range;
Range是支持分段的一个参数,然后SB宝塔默认不加。
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),肯定是你我的救贖。
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連線的金鑰檔。
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格式,這樣就可以連線了
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:
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
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:
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
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:
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:
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:
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
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:
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
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:
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
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:
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
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
FWUL\_2.2.x\_x86-64 (persistent only)
Released: 2017-09-20 (manual download/installation)
FWUL\_2.1.1\_x86-64 (forgetful only)
Released: 2017-09-13
FWUL\_2.1\_x86-64
Released: 2017-09-12
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
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
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.
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
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
FWUL\_1-2\_x86-64.iso
Released: 2017-04-11
Download: Go to the Download section in the OP
Full Changelog: on Github
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:
FWUL\_BETA-3\_x86-64.iso
Released: 2017-01-17
Download: Go to the Download section in the OP
Changes:
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:
FWUL-i386-LM18\_b1
Released: 2016-12-28
Changes:
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、打开固件网站,选择对应的固件。如下图:
hiphic和RETCN就是我们刚刚记下的,在里面对照看看有没有自己记下的版本,如果有的话再找到合适的版本下载。看到这里有我的原始版本,这样就可放心下载最新版本了。最前面是手机型号。
*警告!!!期间要仔细核对对应自己手机的固件是否一致,不对应的固件刷机可能会变砖。
二、工具使用
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目录要求< 本目录下的任何文件请不要直接执行或移动到其它位置,否则后果自负!!!
\>,如果害怕出问题的可以单独拷贝出来或运行后将多余文件删除即可。
4、在电脑<资源管理器> Fastboot工具主/tools目录下<地址栏>上输入cmd,回车确认,就会打开默认目录为工具箱/tools下的命令行模式。
分别依次输入命令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:重启手机。
PS:自己的EDGES在ROOT后,就是这么OTA升级了三次。
之前几个版本都可以,今天一直提示找不到原厂boot
今天才看到OTA跨版本11升级到了12;我去OTA升级试了,没问题的。
我的Edge S完全按照这个步骤操作,为什么升级不了?显示以下提示:
你这个是不是还原原厂镜像失败了?或者是因为BL版本与系统版本不一致(刷机的时候只刷了AP部分),这样是无法OTA升级的。
还原原厂镜像提示成功了,刷机是用services.xml脚本,相比flashfile.xml,少了erase userdata
和erase metadata两步,是否跟这个有关?
多谢楼主,昨晚试过了,好用,之前是每次要ota 升级的时候电脑重新刷一下boot.img,这下方便了。
那是什么原因呢?
真是太管用了,方便。升级12也是能这般操作的,不过要先把magisk升级到magisk canary版本,停用所有模块再升级。升级完成后还得把RIRU和LSPOSEED都升级才能正常使用。
针对没有rec只能fb刷修补过的boot导致卸载时提示不存在原厂映像的问题,可以这样解决。
最新版本的固件网上不一定有,但机子上当前版本的绝对是有的(废话,不然哪来的修补过的boot)。把当前包的原厂boot用fb刷到未启用的槽里,然后在有root的槽位用magisk直接修补那个槽位里的boot后重启。这时候就有原厂映像的备份了,可以照着楼主讲的走了。
别想着自己找原厂备份路径,magisk在备份的时候计算sha1加压缩处理,自己放总会出现玄学问题而失败。
十分感谢 今天2023年10月23的新补丁用这个方法依然有效
newbee啊!这问题困扰我多年了,路过无意中看到,忍不住注册个号感叹一番,感谢分享!