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

КОМЕНТАРІ • 161

  • @singhpratapaditya
    @singhpratapaditya  Рік тому +3

    Virtual machine creation and setting up Android build environment
    ua-cam.com/video/GdS74Uct8sE/v-deo.html

  • @TFP_SoundWave
    @TFP_SoundWave Рік тому +13

    Pretty Neat tutorial. I always come back to this whenever am attempting to compile a ROM, thanks a lot

  • @yashmargaje457
    @yashmargaje457 Рік тому +5

    Pro sir 🎉🔥 Thank you so much for this guide 😊

  • @7H07sAndH03s
    @7H07sAndH03s Рік тому +8

    Dang it. I don’t have the #5 prerequisite.

  • @GaneshAher1729
    @GaneshAher1729 Рік тому +2

    Pro Android Dev of Onclite Community making Pro videos 🔥🔥🔥

  • @The_Greatest_Technician
    @The_Greatest_Technician 3 місяці тому +2

    You Deserve a Subscribe And a Like Bro

  • @the_doctorstrange
    @the_doctorstrange Рік тому +1

    Well explained. Thanks for the video 🖐️. Noob friendly guide.

  • @shaik.sufiyan6472
    @shaik.sufiyan6472 Рік тому +2

    Good tuto for noob friendly

  • @Aditya-fq9ke
    @Aditya-fq9ke 5 місяців тому +1

    Pro sir ♥️♥️

  • @Mando-Otaku
    @Mando-Otaku Рік тому

    Yeah love it!❤

  • @mrtechnostart
    @mrtechnostart Рік тому +1

    Proooo++++++

  • @fpsensor
    @fpsensor 9 місяців тому

    will be cool to clarify that some devices has common trees (vendor and device) cuz no all know this
    anyways good video

    • @singhpratapaditya
      @singhpratapaditya  9 місяців тому

      the location for common tree will be same like device tree
      example-
      device/xiaomi/sdm660-common
      vendor/xiaomi/sdm660-common

  • @osamagayak8864
    @osamagayak8864 Рік тому +1

    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

  • @mrandroidzone2099
    @mrandroidzone2099 9 місяців тому +1

    Could we use kernel tree of eg Arrow OS for PixelEXP? of the same device. (VRedmi Note 7 Pro - violet)

  • @KK-4ever
    @KK-4ever 9 місяців тому +1

    How do I use prebuilt kernel aka gki kernel image in place of kernel tree?

  • @022manish
    @022manish Рік тому +1

    Thanks brother

  • @BYSOFTWARETR
    @BYSOFTWARETR 25 днів тому

    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?

  • @The_Greatest_Technician
    @The_Greatest_Technician 3 місяці тому

    Will you make a video to build a recovery like pixelos recovery or lineage os Recovery?

  • @Sukunauser2002
    @Sukunauser2002 9 місяців тому +1

    Can u pls tell how much for root and how much for swap needed in linux

  • @tanvirr007
    @tanvirr007 10 місяців тому +1

    @sayann70 bro suggested me your channel. Very clean & neat guide video for beginner like me. Thanks.
    #ProjectBlaze

  • @abdallahibbi
    @abdallahibbi 11 місяців тому +1

    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

  • @jayryantangpos793
    @jayryantangpos793 Рік тому +2

    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.....

  • @Domniak
    @Domniak Рік тому +1

    What if for example safetynet is not passing, is there any method to bypass it to think my device is certified?

    • @singhpratapaditya
      @singhpratapaditya  Рік тому +1

      try changing device fingerprint in the device tree

    • @Domniak
      @Domniak Рік тому

      @@singhpratapaditya makes sense, thx

  • @samsami221
    @samsami221 Рік тому +1

    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 ....?

  • @duoduoo6732
    @duoduoo6732 6 місяців тому

    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?

  • @KartikUnfilteredMax
    @KartikUnfilteredMax 4 місяці тому

    bro can you make a full guide video on porting rom

  • @Gigachad-xu2hp
    @Gigachad-xu2hp 2 дні тому

    Very informative video but is it still same method to build rom for poco x3pro android 14 is there any changes

    • @singhpratapaditya
      @singhpratapaditya  2 дні тому

      @@Gigachad-xu2hp same method

    • @Gigachad-xu2hp
      @Gigachad-xu2hp День тому

      Thank you very much if I have any doubt regarding it can you help me .

  • @omegaarcex2527
    @omegaarcex2527 22 дні тому

    Is there any problem in speaking why can't people use ai

  • @noman8765
    @noman8765 Рік тому

    Thanks

  • @jishnu9551
    @jishnu9551 Рік тому

    How do I solve error 28 : No space left , when running the repo sync command halfway through it just stops .

    • @singhpratapaditya
      @singhpratapaditya  Рік тому

      Free up some space on your server or the pc

    • @jishnu9551
      @jishnu9551 Рік тому

      ​@@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?

    • @singhpratapaditya
      @singhpratapaditya  Рік тому

      @@jishnu9551 increase the space from disk menu in azure

    • @jishnu9551
      @jishnu9551 Рік тому

      @@singhpratapaditya Got it

  • @Fevirre
    @Fevirre Рік тому

    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

  • @milapkhatri1988
    @milapkhatri1988 2 місяці тому

    Si4 i have intel i5 with 8gb ram can i compile rom ? No server

  • @thangnguyenxuan1549
    @thangnguyenxuan1549 Рік тому

    i build pixel experience android 13, and required config kernel, how to do it?

  • @Nikitaaa007
    @Nikitaaa007 3 місяці тому

    How To Create Flashable Zip File Full Tutorial Pro Please

  • @TechKaran
    @TechKaran Рік тому

    Why so Pro?

  • @amanjeetshrivastava1448
    @amanjeetshrivastava1448 Рік тому

    Bhai custom recovery ksa bnye batyo with decryption for A13. I am sick of provided unofficial twrp interface.

    • @singhpratapaditya
      @singhpratapaditya  Рік тому +1

      Jaise rom banate hai waise hi example orangefox ka recovery making guide read Karo

  • @ivnzqq
    @ivnzqq 2 місяці тому

    how if i have only 256gb is it fine?

  • @dumps1300
    @dumps1300 Рік тому

    How can I perform a ROM from another device (SPES) to mine (sweet)?

  • @DebabrataMondal-xu9dk
    @DebabrataMondal-xu9dk 5 місяців тому

    My device don't have kernel tree😢

  • @nakamura2868
    @nakamura2868 10 місяців тому

    where to clone device common tree path on the build directory?

    • @nakamura2868
      @nakamura2868 10 місяців тому

      planning to build a11 for whyred and found that other dev using device common tree

    • @singhpratapaditya
      @singhpratapaditya  10 місяців тому

      @@nakamura2868 device/xiaomi/sdm660-common
      same like for vendor instead of the word vendor/xiaomi/sdm660-common

    • @nakamura2868
      @nakamura2868 10 місяців тому

      ​@@singhpratapadityaone more thing, do you know some kind of wiki for local_manifest and $rom_dependencies references?

    • @singhpratapaditya
      @singhpratapaditya  10 місяців тому

      @@nakamura2868 no

  • @linuxblog8308
    @linuxblog8308 5 місяців тому

    manifest local error pls halp

  • @aakashdeepbhengra8136
    @aakashdeepbhengra8136 7 місяців тому

    Can you make a video on how to compile ProjectBlaze?

  • @musicfreeker
    @musicfreeker 10 місяців тому

    Nice one bro 🎉
    But its there any way we can add apps to rom?

    • @singhpratapaditya
      @singhpratapaditya  10 місяців тому

      yes

    • @musicfreeker
      @musicfreeker 10 місяців тому

      ​@@singhpratapadityabro can you make video for vm machine in Google cloud platform?

    • @singhpratapaditya
      @singhpratapaditya  10 місяців тому

      @@musicfreeker Okay it will take a little time as I am busy these days most probably till December but I will try

  • @DedyCahyadi12
    @DedyCahyadi12 10 місяців тому

    Are those commands still work to build custom rom A14 for now? Or any command update?

  • @dogpoopy
    @dogpoopy Рік тому

    So where did the file go after entering the command to upload it?

    • @singhpratapaditya
      @singhpratapaditya  Рік тому

      now that command is not working it is out of date and dead.

    • @etherealmonk007
      @etherealmonk007 Рік тому

      ​@@singhpratapadityawhich command now

    • @DedyCahyadi12
      @DedyCahyadi12 10 місяців тому

      ​@@singhpratapadityawhich command bro?

  • @fpsensor
    @fpsensor 9 місяців тому

    plz clone lineage packages/resources/devicesettings sir

  • @gamertek4427
    @gamertek4427 Рік тому

    device tree and kernel vidoeso also would be good

  • @Vimal227
    @Vimal227 Рік тому

    Any gapps repo available for 32 bit devices

  • @androidandlinuxdevelopment5704

    Thanks for the video. But my pc is not capable of doing compiling, i tried.
    How can I do on servers?

  • @AK_GOD965
    @AK_GOD965 Рік тому

    Make video with voice over and the all setps is also for another roms I want to build my own corvus os

    • @singhpratapaditya
      @singhpratapaditya  Рік тому

      Will do voice over video later on

    • @singhpratapaditya
      @singhpratapaditya  Рік тому

      @@AK_GOD965 check my build environment setup video it is available in that description

  • @saurabhvishwakarma6676
    @saurabhvishwakarma6676 8 місяців тому

    Is it possible to compile the rom in 4core pc

  • @adityayadav3057
    @adityayadav3057 8 місяців тому

    bro how can i create dt ? from scratch?

    • @singhpratapaditya
      @singhpratapaditya  8 місяців тому

      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

  • @rajeevranjan52
    @rajeevranjan52 8 місяців тому

    Is 100 mbps and 16 gb ram is compulsory??

    • @singhpratapaditya
      @singhpratapaditya  8 місяців тому

      After Android 14 Release RAM Requirements is increased to minimum 32GB
      AND yeah 100Mbps is mandatory as Android AOSP source size is around 100GB

  • @televiziya7
    @televiziya7 Рік тому +1

    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)?

    • @singhpratapaditya
      @singhpratapaditya  Рік тому +1

      It means that it does not support vendor partition and then it is not required for building.

    • @televiziya7
      @televiziya7 Рік тому

      @@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

    • @singhpratapaditya
      @singhpratapaditya  Рік тому +1

      @@televiziya7 checkout another video in the description about server and pc building

  • @YassinTECH01
    @YassinTECH01 Місяць тому

    Please, how can I contact you?

    • @singhpratapaditya
      @singhpratapaditya  Місяць тому +1

      @@YassinTECH01 join my telegram group t.me/afterallafkbuilds

  • @user-vu3zw2vv9o
    @user-vu3zw2vv9o 7 місяців тому

    what if using termux?

  • @rikxdragneel5290
    @rikxdragneel5290 4 місяці тому

    is 500gb of free space really needed?

    • @singhpratapaditya
      @singhpratapaditya  4 місяці тому

      yes

    • @rikxdragneel5290
      @rikxdragneel5290 4 місяці тому

      @@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?

    • @singhpratapaditya
      @singhpratapaditya  4 місяці тому

      @@rikxdragneel5290 no 150gb will be occupied by rom source itself

    • @rikxdragneel5290
      @rikxdragneel5290 4 місяці тому

      @@singhpratapaditya any free server or something which I can use?

  • @pradipmaurya8606
    @pradipmaurya8606 Рік тому

    please make a tutorial to make device tree from scratch

  • @tsrust3902
    @tsrust3902 Рік тому

    Bro zip files ko break kasa Kara kima password laga hon ? In android

  • @GameX_009
    @GameX_009 10 місяців тому

    I have no this specific pc, can i this work with RDP?

  • @bruhroul
    @bruhroul 10 місяців тому

    Is this tutorial still relevant?

  • @gurlalwraich7526
    @gurlalwraich7526 Рік тому

    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😁😁😁😁

    • @singhpratapaditya
      @singhpratapaditya  Рік тому +1

      i mean u can install clock application and we cannot make any rom with only that is a prebuilt application.

    • @kicktroll
      @kicktroll Рік тому

      tf

    • @gurlalwraich7526
      @gurlalwraich7526 Рік тому

      @@singhpratapaditya touch not working,and OTG not support,how am i gonna install clock😂

    • @aquibsayyed9186
      @aquibsayyed9186 Рік тому

      You can use a mouse to install clock application

  • @JiraiyaSensei7406
    @JiraiyaSensei7406 Рік тому

    please make me your disciple

  • @Luciu333
    @Luciu333 10 місяців тому

    hello i got error after i run $ lunch aosp_$device-userdebug

    • @singhpratapaditya
      @singhpratapaditya  10 місяців тому

      how why

    • @Luciu333
      @Luciu333 10 місяців тому

      @@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.

    • @Luciu333
      @Luciu333 10 місяців тому

      @@singhpratapaditya do you have telegram i will send the screen shot of error

    • @singhpratapaditya
      @singhpratapaditya  10 місяців тому

      @@Luciu333 send in my group @afterallafkbuilds

  • @armujaddid894
    @armujaddid894 Рік тому

    How can i communicate with you. I Wana port MIUI rom.. please give me a telegram number.where i found you

    • @singhpratapaditya
      @singhpratapaditya  Рік тому

      porting is different thing

    • @armujaddid894
      @armujaddid894 Рік тому

      @@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

    • @singhpratapaditya
      @singhpratapaditya  Рік тому

      @@armujaddid894 no I don't know porting