已解锁 BootLoader,在没有 custom recovery 的情况下如何 root 手机? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Awes0me
V2EX    Android

已解锁 BootLoader,在没有 custom recovery 的情况下如何 root 手机?

  •  
  •   Awes0me 2019 年 9 月 8 日 14566 次点击
    这是一个创建于 2335 天前的主题,其中的信息可能已经有所发展或是发生改变。
    手机是 Redmi note 8 pro,已解锁,但是目前没有 custom recovery,尝试过 用 magisk patch boot.img ,但是刷入后 bootloop,对比下发现原版 boot.img 有 60 多 mb,patch 以后的只有 10m 左右。
    14 条回复    2019-09-12 08:29:19 +08:00
    mnssbe
        1
    mnssbe  
       2019 年 9 月 8 日
    看你这个用户名应该是有能力自己 root 的
    ysc3839
        2
    ysc3839  
       2019 年 9 月 8 日
    你的 boot.img 哪来的?再者,如果 patch 后出现问题,你用 recovery 刷入也会出问题,因为那是在 recovery 环境下 patch 再刷入的。
    Awes0me
        3
    Awes0me  
    OP
       2019 年 9 月 8 日
    @ysc3839 官方固件解包来的,magisk 这个教程就是免 recovery 刷入 patched boot 啊

    In order to use this method, you are required to obtain a copy of the stock boot image, which can be found by extracting OEM provided factory images or extracting from OTA update zips. If you are unable to obtain one yourself, someone on the Internet might share it somewhere. The following instructions will guide you through the process after you have the copy of boot image.

    Copy the boot image to your device
    Download and install the latest Magisk Manager
    Press Install → Install → Select and Patch a File, and select your stock boot image file
    Magisk Manager will install Magisk to your boot image, and store it in [Internal Storage]/Download/magisk_patched.img
    Copy the patched boot image from your device to your PC. If you can’t find it via MTP, you can pull the file with ADB:
    adb pull /sdcard/Download/magisk_patched.img
    Flash the patched boot image to your device and reboot. Here is the command if using fastboot on most devices:
    fastboot flash boot /path/to/magisk_patched.img
    ysc3839
        4
    ysc3839  
       2019 年 9 月 8 日
    @Awes0me 问题是你这设备哪来的官方固件?官网没看到呀?
    Awes0me
        5
    Awes0me  
    OP
       2019 年 9 月 8 日   3
    @ysc3839

    小米所有的官方固件都可以在这找到,国际版国内版都有
    https://mirom.ezbox.idv.tw/phone/begonia/
    ysc3839
        6
    ysc3839  
       2019 年 9 月 8 日
    @Awes0me 是我孤陋寡闻了。不过这种情况我也不知道怎么解决。
    Laforet
        7
    Laforet  
       2019 年 9 月 8 日 via Android
    magisk 修改 boot.img 后文件变小是正常的,主要是去掉了填零的部分。确定底包没有选错的话注意一下 AB 分区的问题,有些机型不指定分区是刷不进的。
    fvckDaybyte2
        8
    fvckDaybyte2  
       2019 年 9 月 9 日 via iPhone
    magisk patch boot.img 不是用来刷入的吧,直接临时 boot 就好了
    podel
        9
    podel  
       2019 年 9 月 9 日
    已经解锁 bootloader 了 就可以用 fastboot 加载 自己得 recovery 或者 boot.img 了
    huaxianyan
        10
    huaxianyan  
       2019 年 9 月 9 日 via Android
    patch 后的 boot.img 不是用来刷进去的,而是用 fastboot 引导这个 boot 去启动
    zzutmebwd
        11
    zzutmebwd  
       2019 年 9 月 9 日
    fastboot boot boot.img
    dalabenba
        12
    dalabenba  
       2019 年 9 月 9 日 via Android
    解锁是去掉了开机时候对镜像的检验,要是 fastboot 支持比较全的话可以直接用 fastboot 刷镜像
    但是厂商可能会修改 fastboot 导致刷不了
    bsfmig
        13
    bsfmig  
       2019 年 9 月 10 日
    这里的问题是 Android Verified Boot,需要给 Linux kernel zImage 打二进制补丁,或者等小米开源内核之后自己编译。
    zzzzz005
        14
    zzzzz005  
       2019 年 9 月 12 日
    你都有 magisk 之后 boot.img 了,bootloader 界面,fastboot 进去应该可以吧。
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2748 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 41ms UTC 04:58 PVG 12:58 LAX 20:58 JFK 23:58
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86