# oneplus3t_root **Repository Path**: imagg/oneplus3t_root ## Basic Information - **Project Name**: oneplus3t_root - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-11 - **Last Updated**: 2025-01-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [software](https://gitee.com/imagg/oneplus3t_root__software.git) ### 相关前提 1. [救砖线刷 OnePlus3t android9](https://gitlab.com/software0/OnePlus3T_28_A_83_200220-brick-H9_0_3_tar_bz2.git) 2. [OTA卡刷 OnePlus3t android9](https://gitlab.com/software0/OnePlus3THydrogen_28_OTA_083_all_2002201900_bf0fc8385b5547c0-HOS-9_0_3-zip.git) 3. [APatch root](https://gitee.com/imagg/oneplus3t_root/blob/master/README.md) 4. debian11(标准GNU工具集) arm 工具盘(chroot 风格rootfs, 含有 比如sshd 、gdb) : [tinan/eadb.git](https://gitee.com/imagg/tiann--eadb/blob/z/main/README.md) ### 搭配 `OnePlus3T_28_A.83_200220.tar.bz2` + `/OnePlus3THydrogen_28_OTA_083_all_2002201900_bf0fc8385b5547c0--HOS-9.0.3.zip` + `APatch_a548f7b_10253-release-signed.apk | APatch_10570_10570-release-signed.apk` ### oneplus3 线刷(救砖) 步骤 0. pc电脑上打开 `XXX.zip/MsmDownloadTool XXX.exe` 1. 彻底关机 后, 2. 按音量加 不放 3. usb线连接 手机 、 PC电脑, 此时 `设备管理器` 出现 `Com x ... 9008` 设备 4. `MsmDownloadTool ` 点击`Start` 开始线刷 ### 3. 开发者模式 版本号 4次连续点击 打开开发者模式 开发者模式中 启用OEM解锁、启用USB调试 ### BL解锁 ```shell adb reboot bootloader #进fastboot fastboot oem unlock #会重置手机, 需要重做 '3. 开发者模式' ``` ### 5.从同版本的OTA包提取boot.img 不需要提取 直接用 `software/OnePlus3THydrogen_28_OTA_083_all_2002201900_bf0fc8385b5547c0--HOS-9.0.3.zip/boot.img` ### 6.APatch ```shell adb install software/APatch_a548f7b_10253-release-signed.apk adb push software/OnePlus3THydrogen_28_OTA_083_all_2002201900_bf0fc8385b5547c0--HOS-9.0.3/boot.img /sdcard/ ``` android中打开APatch --> Patch --> 密码`1234qwer` --> `/sdcard/boot.img` ```shell #修补后的boot.img adb pull /sdcard/Download/apatch_10253_yptb_boot.img #刷入 修补后的boot.img fastboot flash boot apatch_10253_yptb_boot.img fastboot reboot #若OTA包和线刷包版本不一致,则手机变砖头。 ``` 正常进入android 重启进android --> APatch(SetKey) --> 输入密码 `1234qwer` --> 获得root权限 --> 修改su路径为陌生名 ### (可选) 刷入LineageOS-16 , 并用APatch 对其boot.img打补丁 仿照 5、6 两 步骤 #### L5. 刷入LineageOS-16 ```bash adb sideload lineage-16.0-20200325-nightly-oneplus3-signed.zip ``` 其余 内容 仿照 步骤5 #### L6. 用APatch对其boot.img打补丁 ```bash adb install APatch_10570_10570-release-signed.apk md5sum lineage-16.0-20200325-nightly-oneplus3-signed/boot.img #b0e74c5751890792f490df22cd98411e *lineage-16.0-20200325-nightly-oneplus3-signed/boot.img sha256sum.exe lineage-16.0-20200325-nightly-oneplus3-signed/boot.img #e1e3faddcbc8a9ff8d929d5b7a4727d9cf7bfa9e86b8b8bb7f5f4e44a055df13 *oneplus3t/lineage-16.0-20200325-nightly-oneplus3-signed/boot.img ``` 其余 内容 仿照 步骤6 ### 7. 后续可能步骤 debian11(标准GNU工具集) arm 工具盘(chroot 风格rootfs, 含有 比如sshd 、gdb) : [tinan/eadb.git](https://gitee.com/imagg/tiann--eadb/blob/z/main/README.md)