Question Kernel source - Moto G Power (2021)

Has anyone been able to build a kernel for this phone.. I can't seem to get mine to work.. I'm going to try again and work on fixing the twrp issue we all have no promises I didn't wasn't able to get anything to boot after I repacked my boot.img.

Kernel Source for Borneo

Have you been able to build the kernel source at all? I keep running into issues.

What steps did you use to attempt the build and what errors are you receiving?

Related

[Q] Trouble getting custom built kernel to boot

Hello,
I have compiled custom kernel based on samsung update1 drop. I am able to compile and build the kernel along with initramfs based on the stock kernel. However, I get stuck at the booloader screen.
My searches so far did not turn up a way for being able to get some sort of early console communication to see where the problem is. Can someone give me a guidance on how I can figure out where the problem lies.
Thank you in advance
Ordered parts to get access to UART for console messages. As explained in
http://forum.xda-developers.com/showthread.php?t=1143190&highlight=serial+cable
and
http://forum.xda-developers.com/showthread.php?t=1010314
hopefully that will help

[Q] Kernel compiled in Ubuntu 12.04 fails to boot

So i havent worked on a kernel in a while and decided id start workin on one again. Well I recently updated to 12.04 lts and no changes to my old source I just did a test compile and it wont boot. Same toochain, source, ramdisk, etc.
Is there some sort of issue with compiling on 12.04?
Even redownloaded the source from my github and tried the toolchain recommended by samsung, and i still get nuthin. Just trying to compile a 2.2 kernel for the vibrant. No source i download works am i missing something?

Self solving kernel boot loop?

Hello friends. So I am officially stumped. I have an issue with my kernel bootlooping. The interesting thing is, eventually it boots. After about 5-10 minutes of bootloop, it just boots. Weird right?
See, I merged a lot of code with my kernel and I'm not sure what is causing the bootloop. Here is my source: https://github.com/Snepsts/kernel_e980
It started on the add intelli-plug commit (which also includes intelli-thermal) it is probably important to mention disabling intelli-plug and thermal (and only one of each) all have the same outcome. I have also tried wiping the board back to its original state. I'm assuming its one of the core changes or nr_running changes. But I cannot find any way to get a log of the issue as it is not in a stable state during bootloop to give me logs from adb. I also cannot compile intelli-plug without the changes I made. And I really want to have it. I have looked for code I may be missing but cannot find any. I have made many different test kernels and taken the ramdisk and config from the latest official cm build for my device. Does anybody have any ideas? If you need anymore info please let me know. Thanks for any help in advance.
Sent from my LG-E980 running Carbon KitKat & E980 Kernel+

Kernel Compiles Successfully but Won't Boot

Hi all,
I have been trying to port TWRP for my device (a somewhat dated tablet, the Toshiba AT100 Thrive) but am running into problems with the kernel. It seems that no matter what I try, I am unable to get a kernel that actually boots.
I have the full OmniROM 4.4 source (with the end intention of building OmniROM for the tablet) as well as the kernel source from Toshiba (it is their patched version of 2.6.39.4). I also have a known working recovery (built around CWM with a 2.6.39 kernel) and stock boot.img and ICS ROM for the tablet.
I have extracted the kernel config from the ICS ROM as well as the kernel command line parameters.
Additionally, I also have access to two other ports (CyanogenMod) with kernel sources for this tablet and have found the AOSP source for the 2.6.39 and 3.10 kernels.
I am using CentOS 6.7 64-bit as my build OS, as that is what I have running on my Linux machine. I have OpenJDK 1.6 installed as opposed to the Oracle version (this might affect building OmniROM, but certainly shouldn't affect the kernel build).
I can successfully compile the kernel from the Toshiba sources using the tablet's config, as well as the CM-based port kernel sources and the 3.10 kernel (2.6.39 has some bugs straight out of the Google repository, which I can only get around if I disable yaffs2 in that kernel config or replace the yaffs2 source for it with the equivalent from the Toshiba sources).
I have the Android emulator set up on my Windows machine with both a ICS and KitKat AVD. After being unable to get the Toshiba-based kernel to start on my tablet, I thought I'd try building a kernel from the sources to run in the emulator.
At this stage, not a single one of my kernels has successfully booted either the tablet or the emulator. I have tried using the kernel config from the ICS AVD to build both the Toshiba 2.6.39 and AOSP 3.10 sources. The compile completes with no errors and a zImage is produced. However, it fails to boot the emulator.
Out of desperation, I have tried downloading the toolchains for Gingerbread and ICS and using those to build the kernels instead of the toolchain provided with OmniROM 4.4. That hasn't made a difference, either.
On the tablet, I have tried extracting the known working recovery kernel from the CWM recovery and using it as a prebuilt kernel. TWRP fails to load and the tablet always reboots after a few seconds, regardless of whether I set the kernel commandline parameters or not.
I am puzzled by this. Clearly there is something wrong but I am at a loss as to how to debug it, especially as do not appear to be able to produce a working kernel either for the tablet or emulator, despite having the sources and the kernel configs.
If anyone has any suggestions, they would be much appreciated.
Still have the same problem.
I've now tried building an Ubuntu 12.04 VM and compiling the kernels within that, but still get the same results.
Does anyone have any ideas or has anyone else ever run into this problem?
Did it ever work? I am experiencing this with SM-G950F. Very keen.
Unfortunately I was not able to resolve the issue. After spending a fair bit of time on it, I gave up and moved onto other projects. I've still got everything I need to try again, so at some point I may do so (especially as a use case for my tablet is possible again in the near future).

Moto E 2015 - no baseband, wifi with self compiled kernel

Hi,
I am pretty new when it comes to android development and linux kernels but nevertheless I managed to compile my first linux kernel.
And best of it, my phone even boots with the new kernel and works fine so far
However no baseband is detected (baseband version unknown in the settings), same goes for wifi.
Not even my simcard is detected.
Here is what I did sofar:
I flashed my phone with the following firmware: XT1524_SURNIA_RETDE_6.0_MPI24.65-39_cid7_subsidy-DEFAULT_CFC.xml
Everything works fine.
Then I flashed only the boot section and the sparsechunk files from the following firmware: XT1524_SURNIA_RETEU_5.1.1_LPI23.72-66_cid7_subsidy-DEFAULT_CFC.xml
I didnt flash the modem or other parts and everything still worked fine.
I got the official kernel source from motorola and changed the branch to lollipop-5.1.1-release-surnia
I used the msm8916_defconfig and the precompiled google toolchain arm-eabi-4.8 from google to compile the kernel.
It compiled fine without errors and got my zImage file as output.
Then I used Android kitchen to repack the boot.img from the RETEU 5.1.1 firmware with my new zImage and flashed it.
As I said in the beginning my phone boots but no baseband, wifi, simcard is detected.
I also tried to flash other modem versions, to no avail.
My guess is that there are some compiling options missing to use the correct baseband but unfortunetly I wasent able to come up with a solution nor did I find something on google.
So what am I missing?
Thank you in advance
Robert

Categories

Resources