[HELP] Trying to build LineageOS kernel - Xiaomi Redmi Note 3 Questions & Answers

Hello everyone !
I have been trying for several days to compile my own (first) custom kernel for the Redmi Note 3 Pro based on the latest LineageOS kernel.
Only to every time I run a compilation there is always an error and this even that I make no modification to the kernel.
I proceed as follows (in a terminal):
export ARCH = arm64
export SUBARCH = arm64
export CROSS_COMPILE = the location of the toolchain (I tried with the google NDK as well as with different versions of Linaro GCC and it gives the same result)
make lineageos_kenzo_defconfig
make -j4
The compilation starts then after about 2 minutes I get this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And impossible to find how to solve the problem ...
Do you have the solution?
Thank you in advance !

Related

[Q] Building CM from source is failing

Okay, so I'm trying to build CM from source for the Galaxy S4 i9505 using the official guide here. I am doing this inside a newly set up Ubuntu 12.04 64 bit virtual machine.
Everything seems to be working fine until I actually run the build. I sit there and let it do its thing but eventually after around 40 minutes "make" gives me an error saying one of the .dex files is killed, then I'm returned to my prompt. I look in the $OUT directory (~/android/system/out/target/product/jfltexx) and some images are there, but no actual .zip for the built system.
It seems like something is going wrong before the build can complete and the computer just gives up, but I have no idea why.
Here is a screenshot which should hopefully provide more information:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks in advance if anyone can help me out

[Q]Optimized Lollipop build makes sometime play service crashes.cannt debug/trace.

Hello everyon, here is my problem:
here is my problem:
Quote:
sup guys I would like to get some help to debug my device running cm12. It is a exynos5250 ( nexus 10). I have compiled with extra opt that seems to provoke crashes of google play services. adb logcat doesn't help me to trace the broken code nor figure out who is the culprit. . What should/can I debug better and or to trace this? thx
I am using a rom build very close to sabermod's projects.
This is my repo https://github.com/Khaon/android_build/commits/cm-12.0
I am using O3, graphite and gcconly. I had to add like 50++ modules to your graphite list as I guess there are more modules here.
I would like to know which part of the code yields this bug.
If there is a better place/topic to disscuss such things would be nice to show me
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Kernel sources released!

Good News
Hey folks - big news - the kernel sources are now available - I've mirrored them over at:
https://github.com/cawilliamson/samsung_sm907b_kernel
Branches:
master = Samsung original images with a few patches to allow them to build properly (fixing Samsung's mess)
custom = My custom kernel which I'm working on right now (avoid this for now)
My build scripts are at:
https://github.com/cawilliamson/buildkernel_sm907b
Bad News
So far I've been unsuccessful in getting my kernel build to actually boot on the device and I haven't figured out why. If anyone has any ideas please do let me know - I'm familiar with Exynos kernel development but not Qualcomm.
This is from a different device (can't take a picture of my device with itself ) but it's the same error screen as I get on the Fold:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Damn we need recovery

Repo Tools Stuck on - Fetching: 96% (1103/1139) platform/tools/test/openhst

Hello Everyone,
I'm trying to build lineageos using WSl2.
I followed the instructions on the official lineageos website.
Though, When i use repo sync, it keeps stopping at 96%, And gets stuck there.
Things I've Tried:
1)Removing the Windows scaling limit in TCP
2) deleting the openhst.git from the folders
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I would welcome any help to solve this issue.
EDIT: I Redid Everything, got to 98%
it's stuck again now, at:
Fetching: 98% (1127/1139) LineageOS/android_vendor_qcom_opensource_wfd-commonsys
help, anyone?
again i tried removing the folder to download it again
i used the command:
sudo repo sync -j8 -c
Running Ubuntu on windows 10
FYI : Fixed

Help me modify kernel commandline in my Samsung A105G to boot non-Android OS

I'm trying to boot non-Android OS in my Samsung A105G. preferably Debian-based.
I tried stopping android and do chroot to a extracted rootfs that I put at /data/debian, generated by using Debootstrap in my Ubuntu host.
chroot complains that /bin/sh is not exist when it is actually there. after a bit of google research, I found that the debian binaries dont work with Android because of libc stuff (bionic vs libc?).
so after that, I have a different idea. what if I put a debootstrap generated rootfs in some ext4 formatted partition, and tell the kernel to boot from it.
I need to modify this commandline that i highlighted, to be able to use any partition i want
Code:
root=/dev/mmcblk0pX
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How can I achieve that?

Categories

Resources