-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Magisk doesn't install after flashing patched boot.img #7390
Comments
Some "Legacy SAR" devices don't allow booting when one is added. Yours appears to fit this description, with hdr v2 and no ramdisk in the boot partition. Your only alternative would be to attempt to patch the recovery partition instead (if your device has one) and then you may boot rooted only by booting to recovery. Nothing else Magisk can do about these. |
yes, this device has recovery partition
|
I checked the patched image and found that the kernel was not patched. |
[ 0.000000@0] Kernel command line: init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 otg_device=1 reboot_mode_android=normal androidboot.selinux=enforcing logo=osd1,loaded,0x3d800000,576cvbs maxcpus=4 vout=576cvbs,enable hdmimode=1080p60hz frac_rate_policy=1 cvbsmode=576cvbs hdmitx=,444,8bit cvbsdrv=0 irq_check_en=0 androidboot.firstboot=0 jtag=disable androidboot.veritymode=enforcing androidboot.hardware=amlogic androidboot.bootloader=U-Boot 2015.01-g2daced4fd4 androidboot.build.expect.baseband=N/A page_trace=on androidboot.rpmb_state=0 androidboot.serialno=1234567890 mac=1e:a9:33:35:cd:08 androidboot.mac=1e:a9:33:35:cd:08 androidboot.wificountrycode=US ro rootwait skip_initramfs androidboot.selinux=permissive root=/dev/mmcblk0p18 androidboot.dtbo_idx=0 hdr_policy=1 otg_device=1 buildvariant=userdebug
|
Strange fish if this TV box is A only L-SAR... I never heard of any other than launched with Android 9... (Google only made SAR from A7, A/B)... Appears this box first had Android 6 and they're being sold currently with Android 8.1 stock... Should be (launched as) legacy ramdisk boot type now converted to '2SI ramdisk SAR' with A10+ by rights... |
Bootloader does what it does, can't change that. But ah, I see vvb found something interesting about the kernel patching. We shall see! 👍 |
@Cronick Attach |
Sorry. Wasn't aware the question was for me. |
The kernel sees |
Can't seem to get Magisk installed after flashing the boot.img with fastboot in the bootloader.
Could seem like it doesn't flash the boot partition, but can't seem to spot anything weird with UART.
Device: A95XF1 (Amlogic S905W)
Android version: 13 (LineageOS 20)
Magisk version name: 26.3
Magisk version code: 26301
boot.img.zip
magisk_patched-26301_wyWJB.img.zip
magisk_install_log_2023-09-27T12.11.21.log
dmesg.txt
uart-bootloader-flashing-reboot.txt
The text was updated successfully, but these errors were encountered: