MiCode / Xiaomi_Kernel_OpenSource

Xiaomi Mobile Phone Kernel OpenSource
8.67k stars 3.19k forks source link

[daisy-q-oss] kernel source brocken! #1207

Open Aarqw12 opened 4 years ago

Aarqw12 commented 4 years ago

hi !

After upgrade my daisy to android 10 my devices get black screen at all after splash , cant go to recovery too ... Before this upgrade I have compiled kernel xiaomi daisy-q-oss and get this same issue... Its over hard to give proper update and proper source kernel Q daisy? You can see dmesg error related to kernel ... thanks for your response its very big issue stock kernel....

dmesg(1).txt

Aarqw12 commented 4 years ago

found for fix issue need change dtsi ... https://github.com/Aarqw12/kernel_xiaomi_daisy-1/commit/367af53b5ee41d02e4061eed6644db4ff8995a10

Aarqw12 commented 4 years ago
Aarqw12 commented 4 years ago

why you no compile pure kernel source with only wifi added in 1st time for see? and better to make your kernel Image.gz-dtb into anykernel3 zip for flash in recovery its more simple and speed

also have you look in log for see what appened in your kernel?

Hello, could you tell me how to compile a bootable kernel ? My device is MI 6X (Wayne) with MIUI 11 20.3.26 . I downloaded the source code for Wayne Android 9 version 4.4.153 . I ran these command in the chroot environment ( Ubuntu 20.04 ARM64 ) on my phone . make wayne-perf_defconfig make menuconfig make CC=gcc-8 -j8 I enabled KVM feature & NTFS support in the config . After the process finished, I extracted the original boot.img with command 'abootimg -x boot.img' , and then generated a new one with command 'mkbootimg --kernel Image.gz-dtb --ramdisk initrd.img --cmdline bootimg.cfg -o new_boot.img' using the new Image.gz-dtb . I signed the new_boot.img with my key by the method on xda. After flashing the boot image, the phone stuck on the first screen showing 'unlocked' . What's the matter with my kernel ?

Aarqw12 commented 4 years ago

1 more issue found in kernel daisy-q-oss change in drivers/leds/leds-qpnp-flash.c have missing line after " turn_off: "

result for user : in offline charging leds no work !

fix? found line missing in daisy-p-oss change ...