[Q] ROM cooking for LG P500(Optimus One) from level 0? - General Questions and Answers

Hey I know languages C,c++, Java, some python.
I have never developed in Android environment.
Can anybody please tell me sted by step that how can I start building my own rom, from Android source code.....also tell me all the stuff I need to download before starting(LG Source, android source, IDE etc etc).......also tell me that are there any handset specific requirements for each rom or you can just put it like an operating system on anyone?
Eg. If I happen to get hands on ROM of Galaxy Fit can I run it on my LG P500, like we can install any operating system on computers.
Guys be patient with me I am a n00b at mobile dev.
Thanxx

Related

[Q] Android Source Code Training

Hi,
I'm an advanced Android developer but now I was required to create a custom Android Build for a client, but I have no experience with this.
Does anyone know any training or any hacker that could give me a training on this? Basically, it would be like using the busybox tools, download and build custom Android images, install images on the device and everything related.
I'm from Brazil but I can travel to US if necessary.
Thanks for any help with this.
Marcio Alexandroni.

Creating a rom based off CM(Galaxy S4), How ?

A bit of infos before starting this thread. I'm using a Samsung Galaxy S4 Canadian, I have a high end computer(maybe that helps for coding,stuff like that) and I have "medium" knowledge on rooting/flashing,etc. I am a great designer, well for myself, I think i'm good. So I can edit or create icons and themes for new rom!
I say medium, because the only thing I really know about this kind of stuff,is rooting,flashing,installing roms and pretty much that honestly.
I already downloading the Android SDK to test those custom roms i'd like to create. I thought of doing like a couple of guys on here, using the CM Source? and just adding stuff,etc.
--
What i'm looking to do, is creating a rom based of CM for the Galaxy S4 and just in general a little side project for myself and adding some infos in my head; Some may laugh because of the lack of knowledge, but hey! we all started somewhere
I'm asking the community of dev's or just users, do you have some threads or some stuff to download to "Start" this project ?
Some things I should read before, I won't test rom's on my phone as it's a daily phone, i'll use the emulator instead(AVD or SDK) and i'm already searching on how to run it.
If you have any useful youtube videos i'll gladly accept them
I found a tutorial on how to build a rom but for the Nexus 4, I guess it's the same process but different sources ?
I'll search for the sources of Cm for the Galaxy s4 but if anyone reads this thread and knows where to get it, please link me!
Thanks to the community, this may also be useful for other users. Thanks!
Okay, I will help
1st off, let me teach you some basics.
1.) You cannot test roms on the android sdk, the android sdk has nothing to do with roms, its for building apps and java programming. It will not help you with anything if an issue goes wrong in a rom, well only the adb (android debugging bridge) for taking locats.
2.) You cannot compile a rom on windows, only linux, preferably ubuntu. So you need to just download cm11 for your device and extract the rom zip.
I will tell you more later, but its like 1pm here Goodnight

[Q] How do companies like HTC & Samsung build android frm scratch

Dear Sir,
Lets say I want to start a company which sells android phones. For which I need to choose a chipset and then integrate the necessary hardware which suits the chipset. I also understand that some of the following software needs to be developed for the device and some the software is already available. I want to assemble a device on my own and build a custom ROM based on android. I want to know what is provided by the hardware manufacturer's and how can I assemble them to create my own rom. How do I edit the software provided by the hardware manufacturer to fine tune the device according to my needs.
vijay.canvas2plus said:
Dear Sir,
Lets say I want to start a company which sells android phones. For which I need to choose a chipset and then integrate the necessary hardware which suits the chipset. I also understand that some of the following software needs to be developed for the device and some the software is already available. I want to assemble a device on my own and build a custom ROM based on android. I want to know what is provided by the hardware manufacturer's and how can I assemble them to create my own rom. How do I edit the software provided by the hardware manufacturer to fine tune the device according to my needs.
Click to expand...
Click to collapse
First,
download the AOSP source.
Then, create a device tree.
After that, make your vendor, with blobs and drivers.
Then compile.
I could go really in depth here but this says it all perfectly: http://source.android.com/devices/index.html
I want to learn android
Sir, I want to learn.
Will you be able to teach me.
I can setup the environment and download the source from Google.
I would like learn what are hardware specific things needed and where to put them and what changes have to be made.
I would also like to know how we can change Icons, replace default apps and root level integration of apps like launcher & keyboard.
How to compile, debug and create image files like the stock rom.
Sir can you please share your knowledge and help me learn android.
vijay.canvas2plus said:
Sir, I want to learn.
Will you be able to teach me.
I can setup the environment and download the source from Google.
I would like learn what are hardware specific things needed and where to put them and what changes have to be made.
I would also like to know how we can change Icons, replace default apps and root level integration of apps like launcher & keyboard.
How to compile, debug and create image files like the stock rom.
Sir can you please share your knowledge and help me learn android.
Click to expand...
Click to collapse
I would but I have almost no time :s just pm me if you have questions.
It would be very difficult...
Sent from my MI 2S using XDA premium mobile app >,< (fake)

Best tablet for custom android development?

Hi,
I‘m looking for a tablet as a development platform for gettting into custom android firmware development. What device (current or discontinued) is the most painless to compile a custom rom for with a current android regarding unlocking and driver support in 2021?
I‘m an electronics engineer and have worked on firmware for arm microcontrollers and did some kernel development for embedded linux (yocto) before.
I have the idea of creating an open source custom android for elderly people and small children that is pretty much locked down and has a simplified interface without cryptic messages. All settings, app installation and user support should be done from an app on another device. I think all the building blocks for this exists, I just want to put them together in one package. If you have suggestions for an existing base rom to build this on I‘d be happy to hear about it.
Cheers,
Rick

Question Is there an easy way to make a custom rom?

I know how to root and install legit custom OS as long as it works on my device. Is there a easier way to make a custom rom through Windows 11?
https://forum.xda-developers.com/t/all-kinds-of-errors-when-flashing-a-rom.4545717/
If you can't figure out these simple errors, how are you planning on building custom ROMs and debugging?
*Just wondering*
I was wondering the same. Building a custom ROM is not an easy task. You should really know the ins and outs of Android to even attempt it. Not knocking you, there are around 10 custom ROMs in just this forum. What would you add or build that isn't already available?
Not that you can't and cannot learn how but as stated above. Building a custom ROM can be quite the undertaking and you have to ask... What can you provide and offer that's not already available?
Firstly you need a decent PC for your build environment. One with plenty of RAM and storage. Ability to run or dual boot Linux and know commands. Can be built in windows environment though.
Secondly you need a device that you're willing to troubleshoot, bootloop, soft brick and or hard brick. Plus know how to recover from the above (hard brick excluded)
If you're willing, it's definitely fun, challenging and can be rewarding. I use to build my own personal ROMs a couple of years ago.
You can look at ROM development from beginning to end here and android kitchen here
Best of luck!!
Building Android | Android Open Source Project
source.android.com
Downloading the Source | Android Open Source Project
source.android.com

Categories

Resources