How to compile Custom ROM from Source | NOOB FRIENDLY | DETAILED VIDEO
Вставка
- Опубліковано 29 сер 2024
- Hi Guys !
In this video I have shown you how to compile Custom ROM from it's source code.
For compiling you need good specs PC or a virtual machine with high end specs or the basic minimum specs which I told you in the video.
One more thing before compiling ROM the user must be familiar with the Linux commands.
This guide is self explanatory as I have tried my best to explain you all through my best possible way. One more thing this is the original or the main process to build a Custom ROM or the Custom OS. Rest other methods are just porting or they use some kind of tools to port already builded ROMS.
Upload Command for the ROM
curl -sL git.io/file-tr... | sh && ./transfer wet out/target/product/devicecodename/ROM_NAME.zip
Link to video on how to create server and setup build environment
• Android Build Environm...
Credits: Thanks @lofitimer5029 for the music
Virtual machine creation and setting up Android build environment
ua-cam.com/video/GdS74Uct8sE/v-deo.html
I have a Linux laptop. Can I use it to build!
@@AgentX-dh3lf yes
Can you make video for it?
@@aakashdeepbhengra8136 video for what?
@@singhpratapaditya local Linux laptop
Pretty Neat tutorial. I always come back to this whenever am attempting to compile a ROM, thanks a lot
Thanks man
did you successfully compiled rom using this tutorial?
Pro sir 🎉🔥 Thank you so much for this guide 😊
My pleasure
Dang it. I don’t have the #5 prerequisite.
Pro Android Dev of Onclite Community making Pro videos 🔥🔥🔥
You Deserve a Subscribe And a Like Bro
Well explained. Thanks for the video 🖐️. Noob friendly guide.
Glad it was helpful!
Sar😂😂 pro stamp of approval
Good tuto for noob friendly
Pro sir ♥️♥️
Yeah love it!❤
Thanks Man 😊♥️
Proooo++++++
yes you pro youtuber
will be cool to clarify that some devices has common trees (vendor and device) cuz no all know this
anyways good video
the location for common tree will be same like device tree
example-
device/xiaomi/sdm660-common
vendor/xiaomi/sdm660-common
nice you earned a subscriber, dude can you show us also how to make our own device trees like yours and if ever there is a bug in the final output how can we fix them
Could we use kernel tree of eg Arrow OS for PixelEXP? of the same device. (VRedmi Note 7 Pro - violet)
yes ofcourse
How do I use prebuilt kernel aka gki kernel image in place of kernel tree?
Thanks brother
Hello, unfortunately I do not have a computer good enough to compile a Custom ROM. Can you create a Samsung Note 3 Neo (N7500Q) (hl3g) build for me?
Will you make a video to build a recovery like pixelos recovery or lineage os Recovery?
That's a different thing
Can u pls tell how much for root and how much for swap needed in linux
@sayann70 bro suggested me your channel. Very clean & neat guide video for beginner like me. Thanks.
#ProjectBlaze
Thanks for the review 🙂
Thanks a lot bro for your efforts however im stuck in the last 2 code mka bacon jX i try everything but no success my pc freeze. Thanks for your help
simply do make bacon
I have compile the ROM successfully, thanks to your tutorial, but as I flashed it on my device it stuck in boot animation and won't boot, any possible solution to it??
Much appreciated if I get solution and I already subscribe btw.....
Maybe kernel panic
check logs
What if for example safetynet is not passing, is there any method to bypass it to think my device is certified?
try changing device fingerprint in the device tree
@@singhpratapaditya makes sense, thx
thnx bro
i just smile for last text in video
"i hope understand "😊
so can build android for lumia 640 lte while not any source at net ....?
or with aosp?
how to make aosp flashable to certain device? I just need to find three trees (device, vendor, kernel) for my certain device from anywhere/from anyother roms? and do this steps?
what?
bro can you make a full guide video on porting rom
Very informative video but is it still same method to build rom for poco x3pro android 14 is there any changes
@@Gigachad-xu2hp same method
Thank you very much if I have any doubt regarding it can you help me .
Is there any problem in speaking why can't people use ai
Thanks
How do I solve error 28 : No space left , when running the repo sync command halfway through it just stops .
Free up some space on your server or the pc
@@singhpratapaditya I am using the same azure VM as in your build environment video , but it gets occupied too quickly let me try with temp storage but even with temp storage there's only like 180 Gigs , shouldn't there be like 300 gigs for ROM building?
@@jishnu9551 increase the space from disk menu in azure
@@singhpratapaditya Got it
Is it by codename or by soc chip? Since I have a tab s8 should I search by the chip's codename? Eg sm8450 is a 8gen1
codename is device specific
Si4 i have intel i5 with 8gb ram can i compile rom ? No server
then upgrade your ram buddy to 16GB atleast
i build pixel experience android 13, and required config kernel, how to do it?
How To Create Flashable Zip File Full Tutorial Pro Please
Why so Pro?
not more than you sir
Bhai custom recovery ksa bnye batyo with decryption for A13. I am sick of provided unofficial twrp interface.
Jaise rom banate hai waise hi example orangefox ka recovery making guide read Karo
how if i have only 256gb is it fine?
Atleast 300GB
How can I perform a ROM from another device (SPES) to mine (sweet)?
what to perform?
@@singhpratapadityaport
@@etherealmonk007already mentioned that port and rom build from source is different
@@singhpratapaditya ikr ?
@@etherealmonk007 mentioned wrong guy sorry
My device don't have kernel tree😢
Use prebuilt kernel then
where to clone device common tree path on the build directory?
planning to build a11 for whyred and found that other dev using device common tree
@@nakamura2868 device/xiaomi/sdm660-common
same like for vendor instead of the word vendor/xiaomi/sdm660-common
@@singhpratapadityaone more thing, do you know some kind of wiki for local_manifest and $rom_dependencies references?
@@nakamura2868 no
manifest local error pls halp
Can you make a video on how to compile ProjectBlaze?
Same method
Nice one bro 🎉
But its there any way we can add apps to rom?
yes
@@singhpratapadityabro can you make video for vm machine in Google cloud platform?
@@musicfreeker Okay it will take a little time as I am busy these days most probably till December but I will try
Are those commands still work to build custom rom A14 for now? Or any command update?
Still working
So where did the file go after entering the command to upload it?
now that command is not working it is out of date and dead.
@@singhpratapadityawhich command now
@@singhpratapadityawhich command bro?
plz clone lineage packages/resources/devicesettings sir
device tree and kernel vidoeso also would be good
yeah sure very soon
@@singhpratapaditya build environment setup missing on this video
@@gamertek4427 yes that is pending for the other part
@@gamertek4427 build environment setup video has been uploaded
Any gapps repo available for 32 bit devices
check opengapps website
Thanks for the video. But my pc is not capable of doing compiling, i tried.
How can I do on servers?
check the server setup video link in description
Make video with voice over and the all setps is also for another roms I want to build my own corvus os
Will do voice over video later on
@@AK_GOD965 check my build environment setup video it is available in that description
Is it possible to compile the rom in 4core pc
yes but will take very much time
bro how can i create dt ? from scratch?
Scratch that's a professional task and it requires very much experience and I am not that much experienced just 3 years experienced and still not able to make it tried once but failed
Is 100 mbps and 16 gb ram is compulsory??
After Android 14 Release RAM Requirements is increased to minimum 32GB
AND yeah 100Mbps is mandatory as Android AOSP source size is around 100GB
Yaay! Now I can build my rom. But what should I do if my phone has no vendor partition like Samsung Galaxy Grand Prime (device_samsung_grandprimeve3g)?
It means that it does not support vendor partition and then it is not required for building.
@@singhpratapaditya Thanks, I will reply right after completing and testing my build. My PC's specs are too low than you showed in video, so it will take too much time to complete
@@televiziya7 checkout another video in the description about server and pc building
Please, how can I contact you?
@@YassinTECH01 join my telegram group t.me/afterallafkbuilds
what if using termux?
will work
is 500gb of free space really needed?
yes
@@singhpratapaditya I can get most 150gb free in my ssd. there's no way to build a rom for my poco f4 in that space?
@@rikxdragneel5290 no 150gb will be occupied by rom source itself
@@singhpratapaditya any free server or something which I can use?
please make a tutorial to make device tree from scratch
I am not so much pro to make that yet
@@singhpratapaditya oh OK thanku for replying😀
Bro zip files ko break kasa Kara kima password laga hon ? In android
u cannot break password for that type of zips
I have no this specific pc, can i this work with RDP?
yes
Is this tutorial still relevant?
heh what a question yes still same
Bro I have an old Intex smartphone touch is broken but screen is working and doesn't support OTG. Can u show tutorial how to make custom rom with only clock.
As i wanted to use phone as clock😁😁😁😁
i mean u can install clock application and we cannot make any rom with only that is a prebuilt application.
tf
@@singhpratapaditya touch not working,and OTG not support,how am i gonna install clock😂
You can use a mouse to install clock application
please make me your disciple
ohh no lol
@@singhpratapaditya 🥲🥲
hello i got error after i run $ lunch aosp_$device-userdebug
how why
@@singhpratapaditya also how do i update repo it always showing this .. a new version of repo (2.37) is available. /home/admin1/pixel/.repo/repo/main.py:580: deprecationwarning: the 'warn' method is deprecated, use 'warning' instead logger.warn( ... new version is available at: /home/admin1/pixel/.repo/repo/repo ... the launcher is run from: /usr/local/bin/repo !!! the launcher is not writable. please talk to your sysadmin or distro !!! to get an update installed.
@@singhpratapaditya do you have telegram i will send the screen shot of error
@@Luciu333 send in my group @afterallafkbuilds
How can i communicate with you. I Wana port MIUI rom.. please give me a telegram number.where i found you
porting is different thing
@@singhpratapadityadear brother, I have LG V40 thinQ. I want to change it to MIUI.. and it has a similar phone of MI (mi8) both are same processor. so could you please help to build it? Please reply
@@armujaddid894 no I don't know porting