[AOSP] Bootloader: failed to load kernel - Moto G4 Plus Questions & Answers

Heya again.
I'm compiling my own AOSP ROM for porting with the less rejects possible Flyme MM. I ported the device tree to work in AOSP but when I'm going to boot the ROM flashed, it get stucks in the bootloader status of 'cannot load kernel' when everything in boot.img seems same as any ROM.
Suggestions? I dunno where to ask or search because I haven't found any threads with this issue.

Related

Rom compilation Help : not passing the bootlogo on A116

I'm trying to compile PAC for Micromax A116
I used these sources :
https://github.com/zeetherocker/android_device_micromax_a116
https://github.com/zeetherocker/android_vendor_micromax_a116
I haven't used a kernel during compilation But the sources are here :
https://github.com/zeetherocker/android_kernel_micromax_a116
The kernel sources are a little different for the mediatek devices... I didn't get the procedure for compiling it so I just removed it and didn't use it for compilation...
The rom compiled without any probs... But then when I flashed it it didn't go beyond the Canvas logo... And I'm not even able to take log... ADB doesn't detect it... I flashed a custom kernel too but no luck still stuck in the same state...
I downloaded cm11 for the device which was ported from a different device for A116... I unzipped it changed a few files from the etc, lib and bin folders.... Then it started showing the bootanimation... But still didn't boot up and still no luck with ADB...
I need help with this... Thanks in advance..!!

am getting crazy because of my op5 please help

hi
my phone was running oos with an open bootloader and i have installed twrp 3.2.2.1 and tried to flash many roms inlcuding xos and nolimits and pixel experience and resurrection remix they all have problems like when i tried to reboot after flashing the system its give me a black screen with white led or it get me back to bootloader or it gets stuck at the logo the only rom that worked for me was lineage os i dont know why please help
and it gives me error 7 with some roms failed to update system image
If you can get in recovery copy youre stuff to PC (pictures, muzic, etc.).
Install in FASTBOOT latest twrp blu spark. Or directly from recovery.
Format data in recovery.
Instal what ever rom you want.
Max435 said:
hi
my phone was running oos with an open bootloader and i have installed twrp 3.2.2.1 and tried to flash many roms inlcuding xos and nolimits and pixel experience and resurrection remix they all have problems like when i tried to reboot after flashing the system its give me a black screen with white led or it get me back to bootloader or it gets stuck at the logo the only rom that worked for me was lineage os i dont know why please help
and it gives me error 7 with some roms failed to update system image
Click to expand...
Click to collapse
What were you coming from? Base version? Were you on nougat moving to Oreo?
Have you updated your firmware?
Use the newest version of TWRP.
Are you encrypted? Decrypted?
If you're on nougat, follow the now relatively up to date guide In my signature.
You'll need to back up first.

custom kernel not booting

Hello friends
Today i have made a kernel from https://github.com/LineageOS/android_kernel_motorola_msm8952
and i used soo many methods like anykenrnel2 zip and boot img tools,android image kitchen
and then when i installed it my phone is stucks at "Your Device Have Been Unlocked" place and it is booting when i flash previous kernel.
can i get solution for how to fix that and use my own build kernel
Thanks in advance

[FIXED] Can't install any custom rom, but stock Lolipop is ok

I tried to install a custom rom on a a6000. I installed the lolipop stock rom on top of the KitKat stock rom, and managed to boot to it without a problem. I then installed TWRP installed is: 3.3.1-0, and tried to install a custom rom (more specifically I tried this unofficial Lineage). For some reason, the installation fails with:
e3004: This package is for device: Kraft-T, a6000, K30-T,A6000, Kraft-W, Kraft-C, k30t, msm8916,Kraft-A6000,wt86518; this device is .
Updated process ended with ERROR 7
Click to expand...
Click to collapse
when booting into the stock lolipop rom installed I can see that the device is the A6000. I find it strange how the recovery doesn't write which device it is on this error message.
What am I missing here? Usually with other phones, as long as you manage to install a custom recovery then it's a breeze. I cannot figure out how the custom roms don't get installed. Any help appreciated
Managed to flash it in the end. The flash files contain assertions checking if the zip is okay to be flashed on the device (whether the model is the one intended for example).
I found it strange that the error message did not show the model of my device as I was 100% sure it is a A6000 and that is a ROM intended for it.
I ended up overriding the assertion in the file, which seemed to be straightforward to do and the image was flashed without any issues.
DO NOT TRY THIS AT HOME unless you are 10000% sure the image is intended for the device. ?
runningdap said:
I tried to install a custom rom on a a6000. I installed the lolipop stock rom on top of the KitKat stock rom, and managed to boot to it without a problem. I then installed TWRP installed is: 3.3.1-0, and tried to install a custom rom (more specifically I tried this unofficial Lineage). For some reason, the installation fails with:
when booting into the stock lolipop rom installed I can see that the device is the A6000. I find it strange how the recovery doesn't write which device it is on this error message.
What am I missing here? Usually with other phones, as long as you manage to install a custom recovery then it's a breeze. I cannot figure out how the custom roms don't get installed. Any help appreciated
Click to expand...
Click to collapse
Hi... Actually you can flash custom ROM on Lenovo a6000.
Im also using Lenovo a6000 and I'm running custom ROM.... feel free to Reply if u need any help..I'm glad to see that you will.?

ROM Request

HI,
I want to install custom rom on my redmi note 4G(dior) but failing every time,
I downloaded more than 12 rom , specially designed for my device but only 2 of them get flashed, namely, Official MIUI rom and Resurction remix and other 10 roms fail everytime i install
Some say error:Unknown Command[log]
some say error in updater binary [tried every fix of removing/editing "assert and all that" but still fail]
some say error installing zip: name.zip
some fail without any error just say failed
I am using Twrp recovery,
the magical part is that if i download ressurction remix rom even that does not flash, only thr rom i have get flashed
It look like someone spelled on all other roms
So i here request you to provide me a solution(A tried almost every on the internet)
and also "Request developer to develope a rom for my device just like pixel experience as pixel exerience do not support my device"
I will be very thankful to you:angel:

Categories

Resources