Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

刷了op系统以后如何升级,adb默认未开启,无法进入fastboot。 #30

Open
kalagxw opened this issue Jan 31, 2023 · 5 comments

Comments

@kalagxw
Copy link

kalagxw commented Jan 31, 2023

每次都要9008刷回Android进fastboot,再用批处理刷新版本 很麻烦。。
有没有快捷的办法

@dukexinaw
Copy link

1 你进入这个https://github.com/msm8916-mainline/lk2nd
2 修改aboot.c 中的aboot_init()fastboot 默认false 改为true
3 将生产的lk2nd.img 和 aboot_emmc*.img 改为aboot.bin 替换下载包的
4 重刷
5 1-4 完成,就可以进入debug 模式,每次手动运行 fastboot boot boot.img 启动

@woshichenghaibo
Copy link

1 你进入这个https://github.com/msm8916-mainline/lk2nd 2 修改aboot.c 中的aboot_init()fastboot 默认false 改为true 3 将生产的lk2nd.img 和 aboot_emmc*.img 改为aboot.bin 替换下载包的 4 重刷 5 1-4 完成,就可以进入debug 模式,每次手动运行 fastboot boot boot.img 启动

这个功能也是刚需,希望默认开启,否则我这种小白不会编译

@dukexinaw
Copy link

首次烧写:
1 把aboot.bin 替换到你当前的下载包中的aboot.bin
2 把Disable_Fastboot.bin、 放到你当前的下载包
2 在你flash.bat 增加fastboot erase devinfo
fastboot flash devinfo Disable_Fastboot.bin

二次烧写:
下次准备烧写 HandsomeMod 的固件前,把Enable_Fastboot.bin 放到你的HandsomeMod 机器上
dd if=/tmp/upload/Enable_Fastboot.bin of=/dev/mmcblk0p13 bs=512 count=4
reboot
随身wifi 再次开机会进入aboot 的 Fastboot

@MageDelfador
Copy link

其实不用这么麻烦,只要掌握按按钮的时机就可以进fastboot。
插上USB后0.5秒左右按下按钮,不行就多试几次

@jackadam1981
Copy link

反正是openwrt,已经是13区的分区方案了。

直接9008模式,擦除boot分区即可。

再插上就是fastboot模式了,刷。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants