Hello there ladies and gentlemen, just wanted to show how to compile an android kernel since its pretty cool stuff. You will need to use twrp to install the kernel running "fastboot boot Image.gz-dtb" wont actually boot the phone lol ( this is the recommended way in the android website ) This method works for android 9 version 1910.64 since Asus didn't release any sources for android 10 yet. Thanks for watching
dude can you compile me oneplus 6 kernel with 4 big core disable my phone is bootlooping and the only way to disable core is by rooting anbd using termux and entering " stop mpdecision chmod 664 /sys/devices/system/cpu/cpu4/online echo 0 > /sys/devices/system/cpu/cpu4/online chmod 444 /sys/devices/system/cpu/cpu4/online chmod 664 /sys/devices/system/cpu/cpu5/online echo 0 > /sys/devices/system/cpu/cpu5/online chmod 444 /sys/devices/system/cpu/cpu5/online chmod 664 /sys/devices/system/cpu/cpu6/online echo 0 > /sys/devices/system/cpu/cpu6/online chmod 444 /sys/devices/system/cpu/cpu6/online chmod 664 /sys/devices/system/cpu/cpu7/online echo 0 > /sys/devices/system/cpu/cpu7/online chmod 444 /sys/devices/system/cpu/cpu7/online start mpdecision " every time my device reboot and i have to give this device to my lil brother and i dont want him to bother with this kind of stuff . so i am thinkin to disable core from kernel source .
I recommend you clone Google's clang using --depth 1 in the git clone command. Cuts the size down significantly. Mine was only about 3GB. It works because it only downloads the latest commit from the repo, rather than the entire history of the pre-built binaries, which is massive. Or maybe the size has shrunk heaps since this video came out. Dunno.
Hello, Can I follow this tutorial for other devices (non asus) as well? I am trying for so long, but I guess google has moved from Gcc to clang... I found your tutorial updated one only, if it can be done, I'll start downloading CLANG :-D. Thanks.
Yep it should work for any phone. Best if you can find a kernel that has been compiled using clang originally otherwise there will be alot of changes you will need to do in order to make it work
Where do I start to debug if my kernal flash is not successful? To be specific, I receive "Updater process ended with ERROR: 1". Sadly, I could not find a list of errors to tell me what error 1 actually is. Edit 1: Okay I think you forgot to tell us that we need to specify "device.name=" and "block=" in "anykernel3.sh". I did that and am now stuck at "Dumping/splitting image failed. Aborting..."
please. Is it possible to modify the ROM or unlock the security around it so that I cannot use Lucky Patcher? When patching the dalvik or billing the cell phone returns to normal, a roll back.
what do you mean returns to normal? if you are trying to use lucky patcher for stuff that stores coins on a server it wont work since game needs to store coins on your phone
@@TerminalHeatSink but i was having problem in the script saying some gcc error even when i am using clang and if i didnt specify gcc then it was again error
Yep it is. Also depends on your computer, the more cpu Cores you have the faster it will go. In my case I have 4 Cores so it takes like 1 hour if I remember correctly
My friend, us it possible to add x86 files to an app that doesn't have? I'm trying to get that since long time ago, is for an app, I'll explain you, the app is called Agario and I'm trying to use it on an emulator and I'm trying to use GameGuardian app to use "speed hack" but game guardian can't be use with an app that doesn't have x86 files, I'm sorry for asking you about this but you're advanced on this and you may have a solution? Thx and about the video, Man that's amazing, I would like to see a tutorial installing the best room you think for the Asus
@@ktraxD x86 executable is different to arm executables. If you have the source code for the app it should be possible to recompile for arm. I haven't heard of emulating x86 on arm though don't think it's possible since x86 is more advanced and heavy chipset
I think i didn't explain correctly or you misunderstood me, I'm not trying to emulate x86 on arm, im trying to make te app have x86 files to run the app with the emulator which is x86 since is running on windows like BlueStacks, yes, can you make it possible by decompiling the apk and getting the sources you need? So can be recompiled to x86? I've heard of that but that will be too complicated right?
@@sayanbiswas8497 Nope, I haven't tried compiling android kernel again after making that video. primarily because there aren't any custom kernels out that support the custom rom I am using at the moment. I'll get back into it when I get a new phone later on towards the end of this year
Hey, I'm getting notifications for your comments but every time I click reply the comment doesn't exist. I think TH-cam is auto deleting your comments for some reason lol
@@TerminalHeatSink , I have tried to get the script to work: (build_kirisakura.sh) It doesn't work for me, because I think the directory doesn't match, maybe because of the version
OK now I can see your comments fully lol. And yea since android 4.4 is quite old I don't think it even uses clang which is what the build script in the video uses. You will most likely need to use gcc and probably and older version of gcc too. The best bet is if you can find a build script for another android 4.4 kernel and go from there, it shouldn't need to be specifically for your phone but it will give you an idea of what the tools and version of those tools were used
I tried doing everything used latest weeb clang was compiling from latest Xîàomi source all was a success but than i got Image and Image . gz no Image . gz - dts can i still make it a flashable zip 😭
This video is very old, so the process most likely changed. I haven't used the tool to generate a flashable zip in ages. But if the kernel itself compiled just fine you probably just need to check the readme for the new instructions to package it up
@@TerminalHeatSink just gonna leave the old casual "same" here. I know that you can checkout an older version of the ndk, but it would be better to know how to "tell" the "whatever" (lol) to only use clang... any ideas?
Hello there ladies and gentlemen, just wanted to show how to compile an android kernel since its pretty cool stuff.
You will need to use twrp to install the kernel running "fastboot boot Image.gz-dtb" wont actually boot the phone lol ( this is the recommended way in the android website )
This method works for android 9 version 1910.64 since Asus didn't release any sources for android 10 yet.
Thanks for watching
dude can you compile me oneplus 6 kernel with 4 big core disable my phone is bootlooping and the only way to disable core is by rooting anbd using termux and entering " stop mpdecision
chmod 664 /sys/devices/system/cpu/cpu4/online
echo 0 > /sys/devices/system/cpu/cpu4/online
chmod 444 /sys/devices/system/cpu/cpu4/online
chmod 664 /sys/devices/system/cpu/cpu5/online
echo 0 > /sys/devices/system/cpu/cpu5/online
chmod 444 /sys/devices/system/cpu/cpu5/online
chmod 664 /sys/devices/system/cpu/cpu6/online
echo 0 > /sys/devices/system/cpu/cpu6/online
chmod 444 /sys/devices/system/cpu/cpu6/online
chmod 664 /sys/devices/system/cpu/cpu7/online
echo 0 > /sys/devices/system/cpu/cpu7/online
chmod 444 /sys/devices/system/cpu/cpu7/online
start mpdecision "
every time my device reboot and i have to give this device to my lil brother and i dont want him to bother with this kind of stuff . so i am thinkin to disable core from kernel source .
You can make an app that runs those commands on phone startup. App will need to request root privileges though
@@TerminalHeatSink same i want to unroot the device as i have to use banking apps that doesnt even run with unlocked bootloader
amazing intro, love the vibe lol 😂 thanks for this!
thank you from the heart💜
I recommend you clone Google's clang using --depth 1 in the git clone command. Cuts the size down significantly. Mine was only about 3GB. It works because it only downloads the latest commit from the repo, rather than the entire history of the pre-built binaries, which is massive.
Or maybe the size has shrunk heaps since this video came out. Dunno.
it's saying unable to locate repo , I did apt-get update still the error exist , Using latest Ubuntu 20.04.1
Hello,
Can I follow this tutorial for other devices (non asus) as well?
I am trying for so long, but I guess google has moved from Gcc to clang...
I found your tutorial updated one only, if it can be done, I'll start downloading CLANG :-D.
Thanks.
Yep it should work for any phone. Best if you can find a kernel that has been compiled using clang originally otherwise there will be alot of changes you will need to do in order to make it work
@@TerminalHeatSink okay thanks again!
very sad i just saw
@@TerminalHeatSink plz make a video of compiling from source
Where do I start to debug if my kernal flash is not successful? To be specific, I receive "Updater process ended with ERROR: 1". Sadly, I could not find a list of errors to tell me what error 1 actually is.
Edit 1:
Okay I think you forgot to tell us that we need to specify "device.name=" and "block=" in "anykernel3.sh".
I did that and am now stuck at "Dumping/splitting image failed. Aborting..."
please. Is it possible to modify the ROM or unlock the security around it so that I cannot use Lucky Patcher? When patching the dalvik or billing the cell phone returns to normal, a roll back.
what do you mean returns to normal? if you are trying to use lucky patcher for stuff that stores coins on a server it wont work since game needs to store coins on your phone
@@TerminalHeatSink th-cam.com/video/VBzQMEenzsc/w-d-xo.html
Please, I make one vídeo. View the occurred
@@UDZERAA try turning off magisk core. since with magisk core you don't have access to modules.
@@TerminalHeatSink Not work for me. Please check you. I've tried everything. It seems that there is a protection to not change anything of the system.
Are the steps same for compiling Android 10 kernel? if no then what is the difference? Please tell
Yep should be the same
@@TerminalHeatSink okay mate
@@TerminalHeatSink but i was having problem in the script saying some gcc error even when i am using clang and if i didnt specify gcc then it was again error
@@nparashar150 I don't think it's a good idea to use gcc and clang together since they are different compilers
@@TerminalHeatSink well i am only using clang and if i donot specify arm32 then also error comes
my device configs placed on configs/vendor what should I do?
You change speed the video? Actually compile kernel is solong
Yep it is. Also depends on your computer, the more cpu Cores you have the faster it will go. In my case I have 4 Cores so it takes like 1 hour if I remember correctly
My friend, us it possible to add x86 files to an app that doesn't have? I'm trying to get that since long time ago, is for an app, I'll explain you, the app is called Agario and I'm trying to use it on an emulator and I'm trying to use GameGuardian app to use "speed hack" but game guardian can't be use with an app that doesn't have x86 files, I'm sorry for asking you about this but you're advanced on this and you may have a solution? Thx and about the video, Man that's amazing, I would like to see a tutorial installing the best room you think for the Asus
Agario Mobile
@@ktraxD x86 executable is different to arm executables. If you have the source code for the app it should be possible to recompile for arm. I haven't heard of emulating x86 on arm though don't think it's possible since x86 is more advanced and heavy chipset
I think i didn't explain correctly or you misunderstood me, I'm not trying to emulate x86 on arm, im trying to make te app have x86 files to run the app with the emulator which is x86 since is running on windows like BlueStacks, yes, can you make it possible by decompiling the apk and getting the sources you need? So can be recompiled to x86? I've heard of that but that will be too complicated right?
@@TerminalHeatSink thank you for answering 🙌
@@ktraxD so you are running agario mobile in an android emulator on pc? Isn't there speed hacks for the browser version you can use
hey there, i want to know that if this method works for Android 12 ??
The tools will have updated by now so you probably won't be able to follow the video to a t. I haven't tried compiling a kernel recently.
@@TerminalHeatSink yea, it didn't work.. do you have any alternative method ?
@@sayanbiswas8497 Nope, I haven't tried compiling android kernel again after making that video. primarily because there aren't any custom kernels out that support the custom rom I am using at the moment.
I'll get back into it when I get a new phone later on towards the end of this year
If you wanted to compile the kernel of a phone with Android version 4.4.4, how could you do it?
Find android 4.4 kernel source
Hey, I'm getting notifications for your comments but every time I click reply the comment doesn't exist. I think TH-cam is auto deleting your comments for some reason lol
@@TerminalHeatSink ,
true, it's something weird
@@TerminalHeatSink ,
I have tried to get the script to work: (build_kirisakura.sh)
It doesn't work for me, because I think the directory doesn't match, maybe because of the version
OK now I can see your comments fully lol. And yea since android 4.4 is quite old I don't think it even uses clang which is what the build script in the video uses. You will most likely need to use gcc and probably and older version of gcc too.
The best bet is if you can find a build script for another android 4.4 kernel and go from there, it shouldn't need to be specifically for your phone but it will give you an idea of what the tools and version of those tools were used
How to make nethunter kernel in sm-g935f
Add nethunter sources to your phones kernel
Unable to locate package repo
what should i do now bro?
Copy the clone url properly
and 1 more bro
How can i use clang 11 instead of clang10?
Point the script to where you downloaded clang 11
Can i download clang repo in zip format and extract it to working,without doing "git clone URL" ?
+ABOOTHAHIR U yep but it's easier to update if you clone since you won't need to download everything again
I tried doing everything used latest weeb clang was compiling from latest Xîàomi source all was a success but than i got Image and Image . gz no Image . gz - dts can i still make it a flashable zip 😭
This video is very old, so the process most likely changed. I haven't used the tool to generate a flashable zip in ages. But if the kernel itself compiled just fine you probably just need to check the readme for the new instructions to package it up
make: (path)/aarch64-linux-android-gcc: Command not found
any help would be appreciated
make sure (path) is full path to the files
@@TerminalHeatSink i can cd into the folder, but i cant find aarch64-linux-android-gcc
i think they removed gcc entirely from ndk
Hmm yea you are correct. Strange though I didn't need it when compiling the kernel
@@jookzie3026 Have you solved it? I got same error when compiling android 10 kernel
@@TerminalHeatSink just gonna leave the old casual "same" here. I know that you can checkout an older version of the ndk, but it would be better to know how to "tell" the "whatever" (lol) to only use clang... any ideas?