yashsingh1/xdaforums huggingface dataset:
[Google Pixel Questions & Answers] aholeinthewor1d:
So I’ve been a member here since the Droid X days and I’ve learned a lot over the years with each device I’ve had but I never really looked into creating ROMs (I always wanted to learn but never got to it).

I know it’s going to be a learning process that takes some time but I’m looking for help on where I should start. Before anyone posts a whole bunch of random looks I’ll say right now that I am a complete beginner when it comes to this stuff. I’ve looked at a bunch on threads and it’s so overwhelming being completely new so I don’t know what’s relevant and what’s not.

From the research I’ve done today I learned about a program called Android Kitchen which from my understanding was used to create and compile ROMs. From what I found it looks like the original dev stopped updating it back in 2013. In the ChefCentral>Android forum it looks like someone else took over and maintains it for Linux. I also came across a variant there called “Assayyed_Kitchen”. Is this the same program just made by someone else? I don’t know you tell me? lol

I also plan to learn some Java in the coming months and Android App development. I don’t have a huge interest in making apps right now but who knows maybe I will down the road. I just figured learning Java can only help with learning to make ROMs? Do I even need to know any of it for this kind of stuff?

So basically I’m looking for some guidance on where to start as a complete beginner in learning ROM development. Even someone taking the time to type out a few basic steps explains what the whole process even involves from start to finish would help a lot. For example..

1. Download source

2. Open in this program and blah blah

3. Do your magic and customize this and that

4. Do some more magic and pack it back up and flash

Just understanding the steps would make a huge difference because then I know what to research and what to learn. Hoping this thread gets some good info in it and maybe at some point I can create a complete noob friendly guide in the OP to help others like me who don’t know where to begin. To anyone that takes the time to reply and help out.. THANK YOU!
[Google Pixel Questions & Answers] scryan:
You download the source, edit the code you want to edit, then you compile it.

If you have more questions then that it is because you don't know enough to be able to make a ROM. Where to start? Learn how to code and compile, start compiling other peoples Roms and look at their commits and source code to see what changes they made.

You can't really drag and drop then place your logo on it.
[Google Pixel Questions & Answers] aholeinthewor1d:
Not sure what the attitude is for I never implied that I could do simple things like drag and drop and use others people's stuff and do it with no programming experience.

Again it's all new to me so I was asking where to start with it all. I am starting to learn Java this week and I'm trying to figure out how it all works.. I'm not interested in making android apps so the android development tutorials all over the internet wouldn't help. Yes they would help with the Java stuff but not with the ROM stuff so that's what I was trying to understand. Imagine being a complete beginner with this stuff. All this talk of compiling and GitHub and commits is all jibberish at first. You gotta start somewhere so I'm trying to get a grasp on everything. My goal is to understand the steps needed to make my own ROM first. Because once I know Step 1: use this program to do this Step 2: do this, etc.. then I know the basic overview and can start the process of actually learning the details involved in doing step 1, 2, etc
[Google Pixel Questions & Answers] aholeinthewor1d:
If I was teaching someone how to change a tire on a car. They first would have to understand that it involves jacking the car up, loosening lug nuts, take tires off, put new tire on, tighten lug nuts, lower car off jack. Once they get the concept and process of what they are trying to do.. then they can start learning how to jack the car up. Then how to take the lug nuts off.. and so on

If they didn't first understand the general process they might start to learn how to take the lug nuts off first and do that right away
[Google Pixel Questions & Answers] arcardinal:
The best place to start is to google , "how to build Android from source." This will help set up your build environment and teach you the basics. The rest is pretty much trial and error.

I started back in 2013 with one of the guides and just started messing with code. I went from not knowing any coding to compiling my first ROM(slimroms) within 2 weeks of starting. I became an official member about 2 months after starting. Here is a link to one of the guides I used to start.

http://xdaforums.com/showthread.php?t=2223690
[Google Pixel Questions & Answers] aholeinthewor1d:
Thanks for the link! I've done some searching around also. So I would need Linux correct? Not an issue I can partition one of my PCs just want to make sure it's definitely needed.

I think my s5 is still running slim ROM haha so thank you! Did you have any programming (Java) experience when you started?
[Google Pixel Questions & Answers] arcardinal:
I had no coding experience at all before starting.

You need Linux. You will also want a decently speced computer. I have an 8-core processor and 24 gbs of RAM and it takes about 20-30 minutes to compile a build. The computer I started on took about 4 hours.
[Google Pixel Questions & Answers] aholeinthewor1d:
Yikes. I have a PC I built a few years back running Windows 7 currently

-Asus P8Z77 Pro motherboard

-Intel core i5 3570k

-8GB RAM

I know I could use some more RAM but I was considering getting an SSD first. I have an ancient HDD in there now. Not sure on the exact speed but it's slow
[Google Pixel Questions & Answers] danielt021:
If I was you I'd start with kernel compiling before you get into rom developing. That's what I'm doing anyway, seems like getting a rom to compile is more involving.

You would need to read up on 'git' (it's a version control program) learn some C language and also read up on another program called 'make' what it does and how it does it.

Learn about 'toolchains' how they do and which one to use. I think you can get latest toolchains by downloading android-ndk (it should be one of the folders in the zip file).

With that said you need Linux and depending on the distro you use (Ubuntu,Fedora etc) you would need to download extra packages for development and that you would have to google it to find out which ones. Also you would need to know how to navigate within Linux, use that distro's programs or tools (although 95% are the same across all distros) and all of it using only the terminal.

Google is your friend. I know it is mine. Good luck.
[Google Pixel XL Questions & Answers] aholeinthewor1d:
So Iâ€™ve been a member here since the Droid X days and Iâ€™ve learned a lot over the years with each device Iâ€™ve had but I never really looked into creating ROMs (I always wanted to learn but never got to it).

I know itâ€™s going to be a learning process that takes some time but Iâ€™m looking for help on where I should start. Before anyone posts a whole bunch of random looks Iâ€™ll say right now that I am a complete beginner when it comes to this stuff. Iâ€™ve looked at a bunch on threads and itâ€™s so overwhelming being completely new so I donâ€™t know whatâ€™s relevant and whatâ€™s not.

From the research Iâ€™ve done today I learned about a program called Android Kitchen which from my understanding was used to create and compile ROMs. From what I found it looks like the original dev stopped updating it back in 2013. In the ChefCentral>Android forum it looks like someone else took over and maintains it for Linux. I also came across a variant there called â€œAssayyed_Kitchenâ€. Is this the same program just made by someone else? I donâ€™t know you tell me? lol

I also plan to learn some Java in the coming months and Android App development. I donâ€™t have a huge interest in making apps right now but who knows maybe I will down the road. I just figured learning Java can only help with learning to make ROMs? Do I even need to know any of it for this kind of stuff?

So basically Iâ€™m looking for some guidance on where to start as a complete beginner in learning ROM development. Even someone taking the time to type out a few basic steps explains what the whole process even involves from start to finish would help a lot. For example..

1. Download source

2. Open in this program and blah blah

3. Do your magic and customize this and that

4. Do some more magic and pack it back up and flash

Just understanding the steps would make a huge difference because then I know what to research and what to learn. Hoping this thread gets some good info in it and maybe at some point I can create a complete noob friendly guide in the OP to help others like me who donâ€™t know where to begin. To anyone that takes the time to reply and help out.. THANK YOU!
[Google Pixel XL Questions & Answers] npjohnson:
Here is my blog on the topic. I've also got some interesting* Android Security Research on there that acts as a good Segway into reverse engineering, etc.

The one I am linking is for 6.0.x, and I'll be updating it to 7.x soon, though, the only real difference is the branch you checkout (you should understand what this means after reading my guide), and you'll need to install OpenJDK8 instead of the linked 7 (as 7.x requires this).

http://odste.blogspot.com/2016/04/guide-to-compiling-android-on-ubuntu.html
[LeEco Le 2 Questions & Answers] Hemanshu_Patel:
I have seen some people started getting updates 20s on there S3 (x522) on other XDA forum. Anybody? If yes can somebody make zip file and upload it.

Thanks.
[LeEco Le 2 Questions & Answers] Romman0:
What's new in the update?
[LeEco Le 2 Questions & Answers] Hemanshu_Patel:
Here is the link, check it out, it has bug fixes and lot more. Hope its good. I am still on 19s.

http://forum.le.com/us/index.php?threads/december-update-5-8-020s.4492/
[LeEco Le 2 Questions & Answers] Murshad007:
I am on 5.8.015s Stable on Letv Le 2 x522.

No OTA Update. Please Guide me.
[LeEco Le 2 Questions & Answers] mmarinc:
Someone tried to update from leeco recovery or file manager the official ROM of this thread? I'm asking here because can't post in development.

https://xdaforums.com/le-2/development/le-s3-factory-image-5-8-020s-directly-t3527790

Can someone confirm which languages are available in this ROM?

Thanks in advance!
[General Questions and Answers] ejsorl85:
Gltools likes app list..... please. Samsung game launcher graphic quitaly size Adjustable application. Adb gfx size app. ???
[LG V20 Questions & Answers] wbexpress:
I got a Verizon v20 about 2 weeks ago. Whenever I dial a call, whether on the standard dialer , True Caller or one or two others that I tested, once it starts ringing the speaker immediately comes on. It's a quick fix (toggle the speaker off/if using bluetooth, toggle bluetooth on). I don't recall this happening the first few days. I've checked what I believe to be every possible setting on the phone and each of these dialer apps, and I can't find anything. I spoke to Verizon to ask if it is more likely an issue with the phone itself or a Nougat bug, and they have no clue. It's not a big deal, just very annoying. TIA...
[General Topics] CharlyV:
For 24 hours you will be able to buy as new customer SKTools for half (50% discount) price.

This offer is available at Pocketland webshop.

PocketLand.net

PocketLandFrance.com

PocketLand.it

PocketLand.nl

PocketLand.de

PocketLandSpain
[Huawei P9 Lite Questions & Answers] stevegtrlmk:
This works I have done same thing more than I can remember. Get the toolkit from Rom section flash the twrp onto it if you connect to comp and go to restore phone ir will tell you how to fastboot.

Downliad stock firmware for your phone than flash it through twrp your still going to be in bootloop so turn phone off hold power and vol up till logo appears let go of power button and then factory reset and reboot. I have done it dozens time it works
[Huawei P9 Lite Questions & Answers] rann77:
while DC_Phoenix flashing update.app,

you can Use Sysinternals Process Explorer suspend the process, and flash a proper oeminfo.like:

fastboot flash oeminfo oeminfo_vns-l31.img

Then you can use dload method flash update.app
[Huawei P9 Lite Questions & Answers] aspot72:
Yeah, but I don't have USB debug enabled and boot loader is locked. ?
[Huawei P9 Lite Questions & Answers] aspot72:
Actually I was thinking about it. The DC-Phoenix temporary unlocks the boot loader and frp. But not sure if unplug and then start again will it stay unlocked?
[Huawei P9 Lite Questions & Answers] Chisetdel31260:
Have you tested this

Put the phone in bootloader mode, connect to the toolkit 0.0.0.8, unlock the bootloader even if it says it is already there.

Install twrp, wipe, check all, wipe.

Install oeminfo, turn off. Restarted with dload.
[Huawei P9 Lite Questions & Answers] rann77:
It possible,I didnt try.

I got the same problem before and after flash oeminfo. Dload flashing is okey.

---------- Post added at 10:14 PM ---------- Previous post was at 10:03 PM ----------

When frp is locked, It is impossile to unlock bootloader use traditional methods but DC pheonix.
[Huawei P9 Lite Questions & Answers] aspot72:
Can't unlock boot loader as can't retrieve phone's ID.
[Huawei P9 Lite Questions & Answers] aspot72:
What's wrong with Phoenix? I found it quite good.

How did you flash oeminfo?
[Huawei P9 Lite Questions & Answers] rann77:
Am I expressed not clearly?

I mean dc phoenix can unlock bootloader temporarily even frp is locked.

Then,You can suspend DC Phoenix

Process and flash oeminfo use fastboot flash command. Just as I said before.
[Huawei P9 Lite Questions & Answers] Chisetdel31260:
I have just seen this,

If its can help.

http://xdaforums.com/mate-8/help/frp-locked-bootloader-update-to-n-t3524202
[OnePlus 2 General] Brandon Indar:
reserved
[OnePlus 2 General] Woodzrul:
So I've decided to give this a try today. Run into a slight problem though.

1. When I execute make msm8994-OnePlus2_defconfig I receive an error 'make: Nothing to be done for msm8994-OnePlus2_defconfig'. This file did already exist under the folder structure.

2. When I execute make menuconfig I receive an error 'No rule to make target menuconfig. Stop'.

Any ideas to what I am doing wrong?

Thanks in advance.
[OnePlus 2 General] Dr_DjEnder:
It been a while but I'll try to help ima assume you building the latest lineage kernel right? If so use

make oneplus2_defconfig

Then

make -j4

The menu config is to name the kernel if you want to it appears after the Linux version default is often perf+, but not required

example: 3.10.93 perf+
[OnePlus 2 General] Woodzrul:
Appreciate the prompt response. I shall give this ago. Have clicked the Thanks! button. :)
[OnePlus 2 General] Prathamesh Kapure:
Sir I'm trying to compile from boeffla kernel sources But I'm just stuck here...i also tried "make cm_oneplus2_defconfig" but no use :confused: I followed all the below steps also installed java and I'm on Ubuntu 17.04 (dualboot)..

Any help would be appreciated :)
[OnePlus 2 General] Brandon Indar:
Hi...

What error exactly u are getting when u running the command:

"make cm_oneplus2_defconfig"
[OnePlus 2 General] Prathamesh Kapure:
The error wguch i get always is "make: *** No rule to make target 'cm_oneplus2_defconfig'. Stop"

Edit:the error can be seen in the attachment

---------- Post added at 04:17 AM ---------- Previous post was at 04:11 AM ----------

Edit 2:At first one of my developer frnd said try "make boeffla_defconfig" it didn't work thwn he said try "make cm_oneplus2_defconfig" this also didn't work so i thought i might post it here and get some help.. :(
[OnePlus 2 General] Dr_DjEnder:
Look at the arch/boot/arm64/configuration inside the kernel source and the files in there will give you an idea what you can build the usually one is oneplus2_defconfig sometimes developers will make another Defconfig and you'll find it there. typically for LineageOS oneplus2_defconfig is the one used.

After looking at boeffla source cm Defconfig is old and prob will break something, "make boeffla_defconfig" should work and make sure your inside the kernel source as you do the make Defconfig command
[OnePlus 2 General] Prathamesh Kapure:
Ok Thank you sir.. I'll try and report :)

Offtopic: Do u know any of our whatsapp and telegram group? If so can u plz add me:o
[OnePlus 2 General] Prathamesh Kapure:
Sir i tried but no use i get same error :eek: but i just noticed some bottom commands show a bit different error "make: Nothing to be done for 'oneplus_2' and also for 'make boeffla_defconfig'
[OnePlus 2 General] Brandon Indar:
Have u set up the cross compiler and run the commands in the root of the kernel source folder before using make command. If so, run command: "make menuconfig".

If that fails that means the cross compiler isn't set up right.
[OnePlus 2 General] Prathamesh Kapure:
Yaa sir it already setup cross compiler... Then after i downloaded los sources and tried with them and the kernel got compiled successfully...:)

Thank You for the wonderful and simple guide :good:
[OnePlus 2 General] Vaas_FC:
first of all thanks for guide :)

i tried to give it a try(using lineage os 14.1) and went through exact steps and when i gave command make or make - j2 then i am getting this error

Makefile:805: *** multiple target patterns. Stop.

And This is In Makefile

# Include targets which we want to
# execute if the rest of the kernel build went well.
line 805 >> vmlinux: scripts/link-vmlinux.sh $(vmlinux-deps) FORCE
ifdef CONFIG_HEADERS_CHECK
$(Q)$(MAKE) -f $(srctree)/Makefile headers_check
endif
ifdef CONFIG_SAMPLES
$(Q)$(MAKE) $(build)=samples
endif
ifdef CONFIG_BUILD_DOCSRC
$(Q)$(MAKE) $(build)=Documentation
endif
+$(call if_changed,link-vmlinux)

Hope you will help me :)
[OnePlus 2 General] Brandon Indar:
What it shows before that error.

If u run; make menuconfig and u get same error, check back the command used to configure the toolchain and make sure the path to the folder is set right.
[OnePlus 2 General] Pierre2324:
deleted
[OnePlus 2 General] Pierre2324:
I flashed my kernel and it boots in fastboot mode ??
[OnePlus 2 General] Chandandas9353r:
used "make -j2" but got error see in pic

I've created kernel/oneplus2 folder, git cloned in this folder and then extracted the aarch64 zip file and follow all instructions. Used "make -j2" but got error. Please see in pic. I'm trying "make", if it is going right, then ill hit thanks and reply. Thanks
[OnePlus 2 General] Chandandas9353r:
also got error in "make"

I've told that I've got error in "make -j2" and so i tried the "make" and got error again. Please see in this pic.
[OnePlus 2 General] ravit2839:
So Im a book i just want to ask don't we need to learn c and make kernel using c language and

What is the zeal or feel if we blindly follow the tutorial and make kernel and i want to ask does Franco or boeffla create their own kernel like this ??:confused:
[Moto Z Questions & Answers] x000x:
right now the moto z on verizon is dirt cheap at bestbuy ($120 w/o a 2yr agreement) and couldn't resist picking one up. Thinking about getting a second for a family member, but they are on at&t. Anyone have experience using the verizon moto z on gsm or at&t? (I'm assuming it doesn't have all the gsm bands like most verizon phones)
[Moto Z Questions & Answers] xterminater07:
Works great for me... Picking up lte at my area at 60mbps
[Moto Z Questions & Answers] zholbrook526:
I researched this when a friend was offering me his Z Force Droid for a great deal, but I'm on AT&T. It supports a few of the GSM LTE bands, but does not support the main LTE band for AT&T (17 maybe?). I think it does depend on the area, so you could always try it out and return it if it doesn't work well with AT&T!
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] dook13:
tried to install twrp from app.. got the "software not authorized..." message.. tried to boot from download mode as others have suggested but still recieve "software not authorized..." message..

phone was loki`ed from begining and never took at&t updates. in odin 3.09 phone shows as a com..

is there anything i can do to bring this phone back to life??
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] audit13:
If the bootloader isn't locked, flash a stock rom from sammobile.com.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] dook13:
thanks for your response... holding the up-volume and power only results with the same "not authorized" screen.. also adb does not list it as a device but odin does add it..
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] audit13:
Download mode is power and volume down.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] dook13:
sorry confused it with recovery.. the file from sammobile will leave 100% stock?? also whch of the 2 files mdl is the newest of the two

will i need to start over like in http://xdaforums.com/showthread.php?t=2297900 ??
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] audit13:
Just flash the stock rom in Odin and perform a factory wipe before booting the stock rom for the first time.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] dook13:
well that worked brilliantly. what should i use to get twrp and root back?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] audit13:
You can use Odin to flash twrp and root with an unlocked bootloader.

Twrp: https://dl.twrp.me/jflteatt/

Flash SuperSU from twrp: http://xdaforums.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] StoneyJSG:
Towel root works with the MDL bootloader for rooting. Can't tell you how to get TWRP, I use CWM on my at&t S4.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] dook13:
i just used the CASUAL app i linked earlier.. it worked to get root and installed twrp..

now i'm looking for a decent rom to install.. all the ones i used to use aren't supported any longer..
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] StoneyJSG:
I hear Thor ROM and Golden eye ROM are nice and fast TW roms. For non touch wiz there is probably an CM or AOSP rom out there somewhere.
[XDA Assist] rcrc001:
I've downloaded the Dev Studio then it says I need the JDK. So, I downloaded it and now it's saying I need the JVM. The dialog box also says if I have already downloaded the JDK then I have to go into System Settings and point to it. How do I do that?
[XDA Assist] Razvan:
Hi there and welcome to Assist,

Here is few guides where you can start from:

[Tutorial] Install Sun Java JDK 6 on Ubuntu 12.04 LTS

[GUIDE][DEV] How to install Sun Java Oracle 1.6.0 - 1.7.0 jdk on Ubuntu 12.04+

[UBUNTU] SDK,JDK,ADB Script

Good luck