How to build your own custom Android ROM - Gary Explains!

Поділитися
Вставка
  • Опубліковано 1 лют 2025
  • Since all the source code is available for Android you can build your own personalized custom Android ROM.
    Get 75% off our official Android Development Course run by Gary Sims himself: dgit.academy/75off
    Article: www.androidaut...
    Music by Jeff Kaale - / jeff-kaale
    Download the AndroidAuthority App: play.google.co...
    Subscribe to our UA-cam channel: www.youtube.com...
    ----------------------------------------------------
    Stay connected to Android Authority:
    www.androidauth...
    google.com/+and...
    / androidauthority
    / androidauth
    / androidauthority
    Follow the Team:
    Josh Vergara: plus.google.co...
    Joe Hindy: plus.google.co...
    Lanh Nguyen: plus.google.co...
    Jayce Broda: plus.google.co...
    Gary Sims: plus.google.co...
    Kris Carlon: plus.google.com...
    Nirave Gondhia: plus.google.com...
    John Velasco: plus.google.com...
    Bailey Stein: plus.google.com...

КОМЕНТАРІ • 535

  • @fuzz33594
    @fuzz33594 8 років тому +400

    As someone who merely flashes ROMs, I gained an even greater appreciation of the knowledge, skills, and abilities employed by developers. Thank you.

  • @timetraveler_0
    @timetraveler_0 8 років тому +15

    I appreciate how you mentioned that changes to settings page was done in a hacky way, and not to do it when actually contributing to open source projects! Thanks for vids, keep going!

  • @sydjaguar
    @sydjaguar 8 років тому +142

    My favourite presenter on AA. Gary is the man!👌👌👌👌

    • @DAVID56399
      @DAVID56399 8 років тому

      great video

    • @sayantanbanerjee1644
      @sayantanbanerjee1644 8 років тому

      sydjaguar actually , on their note 7 Android authority suggestions video , really wanted his opinion

    • @oddi5486
      @oddi5486 3 роки тому

      You meaning 6666

  • @deanlevinson9853
    @deanlevinson9853 8 років тому +12

    Gary's videos are incredible. You can really see the passion and knowledge he has for this stuff. Keep up the good work Gary!

  • @venkypandu
    @venkypandu 8 років тому +220

    I'll stick to downloading then...

  • @Dexx1s
    @Dexx1s 8 років тому +111

    Green screen is on point. Keep it going.

    • @saumyemehrotra5852
      @saumyemehrotra5852 8 років тому

      Dexx the Duck. yes it looks good

    • @guillermojperea6355
      @guillermojperea6355 8 років тому

      Dunno what to add... The black and white backgrounds make it even more sober and less distracting, so it's on point.

    • @limitless1692
      @limitless1692 8 років тому

      it looks more profesional
      keep using it

  • @Yair
    @Yair 8 років тому +18

    this is the beginning of the beginning guide,so much can be done using git apply and git commit

  • @d370ur
    @d370ur 8 років тому +14

    THIS IS THE VIDEO I'VE BEEN WAITING FOR FOR AGES

  • @seefzi
    @seefzi 8 років тому +267

    *makes XDA account* YEAH GONNA MAKE A NOUGAT ROM FOR THE NOTE 4
    *looks at code*

    • @asdflkjgh
      @asdflkjgh 8 років тому +4

      lol xD

    • @AM-bq4jb
      @AM-bq4jb 8 років тому +1

      BioBelac thats not how android works

    • @USA-RedDragon
      @USA-RedDragon 8 років тому +2

      Even funnier because I already made one for the TMob Note 4

    • @AM-bq4jb
      @AM-bq4jb 8 років тому +2

      +Jacob McSwain its not a big deal, cm has pushed many changes to note 4's repo already.. Our point is that its not as easy as he thinks.

    • @JacobMcSwainDev
      @JacobMcSwainDev 8 років тому

      Adam Myczkowski note 4's official cm is dead. they can't get it stable enough and it's not compatible with the new bootloaders. CM forks, like CMRemix and such, yes they have started too. Unless you're talking about the exynos version of the note 4 I believe that is pretty up to date.

  • @nosbodeoj
    @nosbodeoj 8 років тому +22

    Gary is love, Gary is life.

    • @soundkk5480
      @soundkk5480 5 років тому

      Gray is gay but Garry is Great🤓

  • @glo10kazaka
    @glo10kazaka 8 років тому +30

    If you could make it as a series on AOSP.. so each episodes you teach us about different modifications...

  • @branagame4159
    @branagame4159 5 років тому +53

    Me: *Uuuh let me create my own OS..it's easy..just like writing a text*
    Also me: *wow gonna do it now*
    Also me: *saw the code* no nvm

    • @anilgoku5586
      @anilgoku5586 4 роки тому +1

      where did u find the code?

    • @udoy8377
      @udoy8377 4 роки тому +1

      @@anilgoku5586 GitHub

  • @MrNubshow
    @MrNubshow 8 років тому +297

    It sounds like a woman is moaning in the background in my right ear.

  • @DesignsbyBlanc
    @DesignsbyBlanc 8 років тому +4

    this is an act of God, I was looking for an updated tutorial for this now I know its meant to be

  • @RayZde
    @RayZde 5 років тому +3

    thanks for the video. It's still helpful in 2019. I believe the reason why you have a memory problem is that you specify the wrong number worker threads. if you run make without specifying number of threads it will choose the number of threads for you based on your CPU count.

  • @liambailey4556
    @liambailey4556 7 років тому

    Great starting point. The green screen is cool but the real winner was my ears!, that backing track [along with your explanatnion of course] was FIRE

  • @aure_eti
    @aure_eti 5 років тому +2

    I was searching for a compatible ROM for my Clust CL2C97 tablet and so i said to mysefl "Well i don't find anything i should probably try to make myself an android version" but then i find your video and now i have mixed feelings. I want to do it it looks easy but you say it's just a basic thing. But i'm totally crazy so i might try it one day just to see if i could revive my old devices :)

    • @ElektroHax
      @ElektroHax 4 роки тому +4

      Do it! It might look hard at first but trust me, after building your first ROM, you will never regret it.

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

      Fast forward 4 years later, i did not do it. But now i want to do it on a Huawei P30 Pro. Only problem is that it has a locked bootloader and i can't find how to generate it

  • @edrol2008
    @edrol2008 5 років тому +2

    Thanks for the description. But I do have a more complex situation, because I'm a happy owner of a PadFone 2. That is more complex to do transition between phone and tablet.
    We were abandoned by Asus, even by all those developers. But this device is amazing and works very fine, until news upgrades android. Now I have a good machine running 4.4.
    I'd really don't want to just leave such so good device without find out an solution.

  • @johansvartdal
    @johansvartdal 8 років тому +11

    I would also like to see a step by step guide, where are more detailed about how to make a rom

  • @vk4vip
    @vk4vip 8 років тому +2

    it is always very interesting watching Gary's InDepth tech videos to cater to us more tech savvy viewers

  • @Kristoff2005
    @Kristoff2005 3 роки тому +3

    I was envisioning of somehow tightly integrating Android with my device's hardware, which in turn, would help it run more efficiently. Though upon hearing the drivers, it made me realize that this might not work.
    I had thought that rewriting the drivers would help reduce the device's workload in certain areas, but then again, it might be impossible to do without a handful of professionals.

  • @arthurcuesta6041
    @arthurcuesta6041 8 років тому +12

    PLEASE MAKE A SERIES OF THAT

  • @bbnCRLB
    @bbnCRLB 2 роки тому +2

    This is really interesting to watch. Lineage OS seems to be doing a great job with customized android ROM. Thinking of building mine and removing some apps I don't need.

  • @ar2_
    @ar2_ 8 років тому

    As always very clear and easy to understand. I look forward to see more such videos from Gary. The background is good and suits the video. I suggest keep it up and thank you.

  • @jamaicandjnado
    @jamaicandjnado 8 років тому

    This guy has easily become the best person on the Android Authority team, for me anyways. Love his content.

  • @Russeljrjs
    @Russeljrjs 8 років тому +11

    Would love an Android Authority Custom ROM for nexus devices

  • @karthikk2719
    @karthikk2719 7 років тому

    This is the best part about android. You can see the source code most parts.

  • @DmytroBogdan
    @DmytroBogdan 8 років тому

    awesome explanation, just one more advise - move camera a bit further so that at least your chest is visible. Green screen definitely give more variety of background to choose from )

  • @LeonardoVargasL
    @LeonardoVargasL 8 років тому +3

    Keep using the green screen so in further videos put there more screenshots or any other media that shows your point.

  • @rachit6883
    @rachit6883 8 років тому +2

    Loved this video and it gave me the insights of rom development...
    by the way green screen is awesome...

    • @duck_that_quacks
      @duck_that_quacks 8 років тому

      Rachit Sanghani most of the time, rom development is much easier

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

    I was checking out WebOS on LG TV and it is really slick for the things it does (4k, 8k, av1, dolby vision, dolby atmos), and still starts in 5 seconds flat and switches off (hibernates) in 3 second. Even if you cut the bloat from android, this kind of performance is not possible. WebOS is based purely on Linux, so is Android. But WebOS does better by having a very stable core. It will be awesome if some one can fork on WebOS / its source and build OS. Google is driving android into a very closed space where there are lots of constraints in the name of security. Yet they habve kept open so many security vectors (like entire ad ecobsystem that does detailed user privacy broadcast), lots of permission related issues. We cant rely on Google do to the right thing. They used to till about 10 years back, not any more.

  • @sabri4450
    @sabri4450 8 років тому +1

    thank you needed a good video for learning how to build custom roms

  • @shiamjad
    @shiamjad 8 років тому

    Screen is optional......Your Informative video is what matters...Keep up the good work

  • @TheLuckyDingo
    @TheLuckyDingo 8 років тому +1

    Thanks for making this video! Also, the green screen looks great.

  • @MiguelY22
    @MiguelY22 8 років тому

    im not building roms soon, but thanks for this video, it gives good insight to what is done

  • @lwa.dev74
    @lwa.dev74 4 роки тому

    Thank you Gary for your Amazing content regarding AOSP and Android in general....Absolute Legend!!! :-)

  • @capt.proton5041
    @capt.proton5041 7 років тому

    keep calm and listen to Gary Sims

  • @ShivamJha00
    @ShivamJha00 7 років тому +4

    Well, u don't need to do a complete new build for just building that messaging app or setting app or any other small thing... just open Android.mk where u made the change and find a line saying
    LOCAL_MODULE :=
    and copy the value of the parameter and come back to root dir of the sources and do "make "
    WITHOUT BRACKETS

  • @johnnyfdes
    @johnnyfdes 8 років тому

    Gary make a tutorial series of this.. I loved ur explanation

  • @ArrayCodes
    @ArrayCodes 8 років тому +2

    i was waiting for this

    • @itswasabifox
      @itswasabifox 8 років тому

      Mr.tech guy why the hell are you Even on this video with an ios product In your pfp tho

    • @boringron5114
      @boringron5114 8 років тому

      AppleSpiice because people are able to own a android and apple device

    • @itswasabifox
      @itswasabifox 8 років тому

      raveneyo _ thats not what i really meant, i think i didn't word it right

    • @ArrayCodes
      @ArrayCodes 8 років тому

      AppleSpiice to prove that i am a tech guy.BTW i have a youtube channel

    • @itswasabifox
      @itswasabifox 8 років тому

      Mr.tech guy no no no thats not what i meant. ugh i should just edit that post because no one knows what i meant

  • @misterrevealator7729
    @misterrevealator7729 7 років тому

    Your green screen work looked rather professional, in my opinion.

  • @johncerpa3782
    @johncerpa3782 8 років тому +50

    Why does he keep looking to his left?

    • @BlastTheKidd
      @BlastTheKidd 8 років тому +1

      John Cerpa IKR

    • @ztekstudios2590
      @ztekstudios2590 8 років тому +39

      probably memes behind the camera

    • @BlastTheKidd
      @BlastTheKidd 8 років тому +1

      zTEK Studios Dude I think I see them...

    • @MrBoriqua2000
      @MrBoriqua2000 8 років тому +12

      Steve Jobs ghost is looking at him

    • @votaveri
      @votaveri 8 років тому +10

      John Cerpa that's were the gun is coming from

  • @J.J.455
    @J.J.455 8 років тому +1

    Love the green screen. Thanks, Gary!

  • @kelvinl534
    @kelvinl534 8 років тому

    UPLOAD MORE GARY EXPLAINS OR TUTORIALS BY GARY PLEASE THEY ARE VERY HELPFUL

  • @Prototype.abdullah
    @Prototype.abdullah 3 роки тому

    This information useful for beginner fresher and new developer (it) I like this

  • @sblijheid
    @sblijheid 6 років тому

    Love the name of the rom; it was very creative.

  • @rKringtonezone
    @rKringtonezone 7 років тому +6

    Sir can you make tutorial about everything to customized like layouts (visual changes) and functionality ??????????????????????????????????????????????????

    • @CopernicoTube
      @CopernicoTube 6 років тому +5

      rK ringtone zone Tou can learn this with any course teaching to programming for Android in Java language.
      Audacity, for instance, have several excelent courses about that.
      Anything in Android source code about visual is encoded in XML layouts (or Java code, for some dynamic details). You just need to locate the right code in the right package.
      Change an Android system application is exactly the same thing that work on any other Android application. No "tricks" or "gotchas" involved.

  • @mickey9347
    @mickey9347 5 років тому

    This is really great neat example! Thank you!

  • @heminder
    @heminder 4 роки тому

    Adds a toast to messaging app.
    Recompiles entire OS.

  • @ivanguerra1260
    @ivanguerra1260 6 років тому

    Great videos as always, but Gary , Have you tryed yourself this things.

  • @charlie54351
    @charlie54351 6 років тому

    This is what I've wanted all along

  • @sappurwolf283
    @sappurwolf283 7 років тому +8

    I just want to figure out how to modify LineageOS/Cyanogenmod to work on new phones that it doesn't work on yet.

    • @CopernicoTube
      @CopernicoTube 6 років тому +1

      Sappur Wolf hard work. You need someone to do it.

    • @Thomas-yv5yw
      @Thomas-yv5yw 5 років тому

      Find the git repository, official web page, look into "porting to a new device" in the documentation

  • @kurihara9023
    @kurihara9023 2 роки тому

    Thanks professor for this information 😀

  • @bpittman1
    @bpittman1 3 роки тому

    You can do it on Windows using WSL, just look up how to use WSL and make sure you choose Ubuntu as the Linux distro :)

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

      android is build on gentoo. why wouldnt you want to build a gentoo system to get your prerequisite experience. you have to make a custom linux kernel and the os starts as pure kernel and command line BASH

  • @d370ur
    @d370ur 8 років тому +3

    Next do a video on how to make a custom android launcher

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

    Ik i would look dumb but does this mesn that oneUI is a custom android rom?

  • @ganjiraja9407
    @ganjiraja9407 6 років тому +2

    So i just rename the someone else's hardwork and call it my custom rom? Why dont i sign the Mona Lisa painting first?

  • @yasinazizabir7140
    @yasinazizabir7140 8 років тому +1

    Yes The green screen is awesome,and nice video there garry! ;)

  • @nellornosmay784
    @nellornosmay784 6 років тому

    Thank you Garyyyyyy 😍😍😍

  • @ArchitKumar27
    @ArchitKumar27 8 років тому

    I liked the idea of *'green screen'* but you need to work a little bit on it's texture.

  • @LeGeNdErYblader
    @LeGeNdErYblader 8 років тому

    Can we have a tutorial series for making custom Android ROMs?

  • @PolkovnicEagle8128
    @PolkovnicEagle8128 7 років тому +1

    OMG an actually good video on ROMs that isn't in Gujarati

  • @TheRoadTaken
    @TheRoadTaken 5 років тому +1

    +1 for the BFG, Roald Dahl, reference. :)
    I'm looking at purchasing a phone and flashing it (because the cool kids are doing it) but I didn't really understand what "flashing" meant. I've watched a few videos on how to do it but it was just steps and i didn't really understand what was happening. Your video tied together all the pieces together for me. I also didn't realize Android was open source so yeah, I did enjoy this video. I'm looking forward to tinkering. Quick question though and this might be an entirely different video, how do you identify which file needs modifying based upon a change one would like to accomplish?

  • @SuperLieh
    @SuperLieh 6 років тому +18

    confuse for newbie like me :(

    • @akshar234
      @akshar234 5 років тому +1

      Need help I am newbie too

    • @Protyush01
      @Protyush01 4 роки тому +3

      You need basic knowledge of java programming language to understand.

  • @abhinabadak2000
    @abhinabadak2000 3 роки тому +4

    Is that Lester from GTA 5?

    • @Redhatmods
      @Redhatmods 3 роки тому +2

      LoL😂😂...Custom rom heists?

  • @jheszalminanajr6072
    @jheszalminanajr6072 8 років тому

    Your Awesome Gary !!!

  • @a2m0r10
    @a2m0r10 8 років тому +3

    Thank you for your effort.
    could you make a video about porting Rom's ?? I think it's easier from building Rom from starch.

  • @abymohanan2043
    @abymohanan2043 3 роки тому

    Thank you so much for this video 👍🏻👌🏻✌🏻

  • @limitless1692
    @limitless1692 8 років тому +1

    sir you are a veteran in codeing
    WOW

    • @davr1
      @davr1 6 років тому

      *coding

  • @sobhanbhowmick
    @sobhanbhowmick 4 роки тому

    Post more tutorials on android os development for any smartphone

  • @mastersofgaming5823
    @mastersofgaming5823 6 років тому +4

    what to do if you cant find your device in cyanogenmod git or even lineageOS git

    • @Thomas-yv5yw
      @Thomas-yv5yw 5 років тому +1

      You will have to do what's called "porting" the os to your device. Maybe there are some guides in the documentation, but you will have to work out the bugs on your own. Most probably.

  • @tbrew222
    @tbrew222 5 років тому +1

    5:26 Engelwood's That Day in the bg

  • @dylanloo6276
    @dylanloo6276 8 років тому

    Keep the greenscreen!!! Looks promising!

  • @RichardLadiana
    @RichardLadiana 8 років тому +3

    Great content Gary!
    Go keep using the green screen. 😊

  • @AbrarShaikh2741
    @AbrarShaikh2741 8 років тому

    You should continue the series.

  • @drjones694
    @drjones694 8 років тому

    I've been looking for this !! another video how to pull ROM off a device and customize it. I always wonder how CyanogenMod is able to get certain things to work or other versions of a Samsung ROM for other devices

  • @msin1000
    @msin1000 8 років тому

    Gary you're a genius.

  • @ralphalfonso3346
    @ralphalfonso3346 5 років тому

    Thanks, that was so helpful.

  • @tberry7348
    @tberry7348 6 років тому

    Nice vid but I would like to see more perhaps a playlist?

  • @Jason-dt8hq
    @Jason-dt8hq 4 роки тому

    Great video! Thank you!

  • @marvindavealcaraz4936
    @marvindavealcaraz4936 8 років тому +1

    this is so amazing!

  • @stevemiller6766
    @stevemiller6766 7 років тому +2

    Instead of building from scratch - how about fixing the factory ROM. Get rid of bloatware for instance. Thank you!

  • @izzrainy7410
    @izzrainy7410 8 років тому +1

    But how do you port it to a device?
    Haven't watched yet, but I somehow feel like he's not doing that.

  • @harishvk27
    @harishvk27 6 років тому +1

    How different is building custom android ROM for google pixel versus android one devices?. Do you have any tips on how to build custom ROM for android one devices?.

  • @saifallahchakroun6253
    @saifallahchakroun6253 4 роки тому +1

    is there solution just to update not to remake all the rom?

  • @SunnyChaudhari7
    @SunnyChaudhari7 8 років тому

    nice video, can you make a complete tutorial on ROM development

  • @woodydouglasv9185
    @woodydouglasv9185 4 роки тому +1

    @android authority how do you pull a ROM currently on my device. I have a tablet that has no support and running android 4. The company went under some time but the tablet has some really good hw. Currently there is a custom mods on it to give it Google play store but.... I can't use anything from today because of well... its Android 4. How could I pull the current and update it to a newer android?

  • @izzrainy7410
    @izzrainy7410 8 років тому

    For Windows, just use VirtualBox with Ubuntu (Or reboot and press TRY)

  • @busteraycan
    @busteraycan 6 років тому +2

    I came this deep trying to find a way to backup my WhatsApp images to my PC...
    Whatsapp...Images...
    Gotta love/hate android/windows.
    I'm confused both emotionally and literally.

  • @HunterCrim4767
    @HunterCrim4767 8 років тому

    I would love to be able to do this. Would have to start with the command line stuff. Most complicated thing i have done on a computer is build one from scraps and put Ubuntu on it... took me like 4 hours to make it actually run properly ha!

  • @TheYouTuberGuy
    @TheYouTuberGuy 7 років тому +75

    Anyone scrolling through the comments?

  • @anuragkushwaha6247
    @anuragkushwaha6247 3 роки тому +1

    Sir, I need to help in removing the default google search bar from the home screen of AOSP 10 But I am unable to find which section is containing that part of layout.
    Please help me by making a tutorial on customisation of android default launcher and it's icons and widget.
    Thank you 🙂

  • @sheendelute1855
    @sheendelute1855 3 роки тому

    my opinion is android version build issue because focus in update and development while some android version was update using air in mobile if can we hope.
    also don't forget build more different android version for get stronger.

  • @Anurag071188
    @Anurag071188 8 років тому

    Hey Gary , can you make some video on android app development??

  • @abymohanan9403
    @abymohanan9403 3 роки тому

    Thank you so much for this video

  • @codebeat4192
    @codebeat4192 3 роки тому

    Great video. I wonder if it is possible to install a custom rom and modify/change the contents of the flash on the device itself. That will save you tons of compiling time. Is it possible to boot an adroid device from a SD-card for example? That will be great.

  • @mycemiegh
    @mycemiegh 4 роки тому +3

    I might do this because I can’t find a lineageOS for my device lol

  • @killertruth186
    @killertruth186 8 років тому

    Well. It'll be a fun and hard experience to build a custom ROM.

  • @98luk45
    @98luk45 5 років тому +4

    Video starts at 3:36

  • @allu5346
    @allu5346 4 роки тому +1

    Lenovo has released the source code for my old tablet which runs Android 4.4.2 KitKat. So how hard would it be to just update the device to Android 9, 10 or 11? Im also considering Android Go for it since it has very outdated MediaTek processor, 1GB of RAM and only 8GB of internal storage.

    • @FAT8893
      @FAT8893 4 роки тому

      The source code release means that you have to start working on it. Companies wouldn't do it unless if your phone is in the update roadmap. As for Android Go, it depends on how light or heavy your Android usage. If you only want to use Android only for the sake of messaging apps like WhatsApp or Telegram, you can definitely consider having an Android Go phone.

    • @Fire-fu1lg
      @Fire-fu1lg 4 роки тому +1

      @@FAT8893 All companies are obliged to release their source code under the GPL licence.