I want to learn - Introductions

I would like to learn from the best

Welcome to XDA.
As Android is heavily based around Unix, a good way to start learning how it all ticks is to start tinkering. Purchase a second donor device like a Google Pixel 2 or OnePlus 5 as they're great for installing custom ROMs, rooting and more.
May I suggest you install the platform-tools SDK from Android Developers? That'll give you ADB and Fastboot, a must-have for Android tinkering.
Happy modding!

Related

How To Create A Community Rom

Hey recentrly i made the " b6gsix gude for noobs: how to theme a rom " and one reply from a guy said SO YOU ARE TRYING TO MAKE A COMMUNITY ROM ?
i wasnt but thats sounds nice. ive seen one community rom b4 and i like the concept but im no dev lol so how do i go about doing so?
You don't. Don't hop right into making a ROM. You need to at least know how to program it. Let me quote something cyanogen said:
Here's my advice for those looking to make their own Android ROMs.. Stop. Write an app or two first, learn how the system works from a developer standpoint. Learn some Java. Read the developer documentation. Learn how to use Git. Then learn how to build AOSP from source. Read the porting guides, and learn how the build system works (the links below have almost everything you could possibly want to know). Now try to put your new found skills to work on enhancing the platform by writing code or making theme overlays. And share! And put that **** on your resume. There is a *ton* of information out there but any kind of "step-by-step rom cooking guide" is going to be a complete fail- it's too broad of a subject.
Android Developer Guides: http://d.android.com
Working with AOSP source: http://source.android.com
Platform Developer Guide: http://pdk.android.com
Android Gitweb: http://android.git.kernel.org
Git Ready (Git tips and tricks): http://www.gitready.com/
Building CyanogenMod: http://wiki.cyanogenmod.com/index.php/Building_from_source
How Dexopt works and what are those odex files: http://android.git.kernel.org/?p=pl...bcd225e47b2cc7abb2a366112d3aeb45936;hb=master
The PDK site is absolutely vital if you are going to work on custom ROMs. Read every single page. Twice. Some of the info isn't up to date, but you'll get a really good idea about what goes into actually configuring Android to work on a real device.
Click to expand...
Click to collapse
I'm seeing you're having problems themeing. Understandable - you're new. However, if you can't even theme, you need to just take it slow. Master Android deving little by little until you can write an app - as useful one at that - and can write it well.
As for starting a community ROM - I don't think many people will just hop on it with you if you yourself can't even program the ROM.

modifying android platform and building

Hi, I'm newbie in developing android platform.
I want to modify parts of android platform, build it, and install it my gt-n7000.
I could find several instructions for building and porting kernel part into the device using odin, however, I cannot find how to install entire part of platform.
I think custom ROM is kind of modified android platform, am I right??
The thing is,
1. I want to know hwo to install the files produced by building android platform in the galaxy note gt-n7000.
2. is Custom ROM the modified version of android platform?? what is the clear definition??
Here are a few guides to get you started :
http://forum.xda-developers.com/showthread.php?t=633246
http://www.xda-developers.com/androi...e-galaxy-s-ii/
http://forum.xda-developers.com/show....php?t=1069868
Everything you need to know will be on XDA somewhere**
Good reply
Thanks!! but the two links of above two are broken..
(
http://www.xda-developers.com/androi...e-galaxy-s-ii/
http://forum.xda-developers.com/show....php?t=1069868
)
Can you give me correct URL again please/?
http://forum.xda-developers.com/showthread.php?t=633246
http://www.xda-developers.com/android/learn-to-build-kernels-and-roms-for-the-galaxy-s-ii/
http://forum.xda-developers.com/showthread.php?t=1069868
Good Luck :good:

[Q] Help for a Newbie in P7

Hello ,
I got my P7 for about 4 Months now,
and I wanted to have the EMUI 3.0 and Lolipop
but I think the Original System is 4.4.2 and Emui 2
I want to ask What can I do to Root or make a ROM (Sorry I really dont know he defrance total newbie ) , but I dont want to lose the support of Google or the Google Market , what should I do , can anyone help me in that ???
give me details and tell me what to do
thanks
look at this: http://forum.xda-developers.com/asc...7en-rom-v3-0-emui-3-0-4-4-2-18-11-14-t2945104
darkzero2022 said:
Hello ,
I got my P7 for about 4 Months now,
and I wanted to have the EMUI 3.0 and Lolipop
but I think the Original System is 4.4.2 and Emui 2
I want to ask What can I do to Root or make a ROM (Sorry I really dont know he defrance total newbie ) , but I dont want to lose the support of Google or the Google Market , what should I do , can anyone help me in that ???
give me details and tell me what to do
thanks
Click to expand...
Click to collapse
If you are newbie than do nothing ! Wait for official upgrade ! Because you will cry !
Sent from my HUAWEI P7-L10
Ziolek67 said:
If you are newbie than do nothing ! Wait for official upgrade ! Because you will cry !
Sent from my HUAWEI P7-L10
Click to expand...
Click to collapse
Really ???? Why ?? Huawei is too slow in making the Updates , all now is Andoird 5 and P7 is stuck in 4.4.2
It's proberly better staying on 4.4.2 than on lolipop. Many bugs on lolipop.
Sent from my HUAWEI P7-L10 using XDA Free mobile app
darkzero2022 said:
Really ???? Why ?? Huawei is too slow in making the Updates , all now is Andoird 5 and P7 is stuck in 4.4.2
Click to expand...
Click to collapse
Ok than lest go to update.... I will waiting for yours requests for help
darkzero2022 said:
Really ???? Why ?? Huawei is too slow in making the Updates , all now is Andoird 5 and P7 is stuck in 4.4.2
Click to expand...
Click to collapse
Wow do you realize android 5 has been out officially for a week or two and pretty much every phone apart from nexus which uses the software directly from Google themselves who make android, still don't run it yet and expect to be running it in 2015.
Not even big teams that use the aosp code directly such as cyanogen or paranoid have got a stable fully functional rom out yet.
It takes time for the 3rd party developers to customize and test android for there devices once the official version gets released as they all use the final source code which only has been out 3-4 weeks.
Also no company apart from Google is much better, Samsung are still rolling out 4.4 to some of there devices with some like the s2 still on 4.2 and end of life presumably others will jump straight to lollipop from 4.3 etc.
Also on rooting what do you wish to achieve by doing so?
Rooting can be very dangerous if you don't know what your doing with devices like ours.
Take a look for example at all the posts in this forum asking to downgrade their l10's from emui 3 to 2 which they upgraded to custom versions etc without thinking and the issues they now have with boot loops and stuff.
If you want to run xposed you can find many people with similar things recently in this forum that can't get it to work.
Also rooting etc you lose the ability for any future updates via OTA and recovery and would need to manually update your device potentially bricking it every single time which bricking means you can no longer use your device and have to buy a new one.
Also are you capible on the PC with using it, command prompt Linux shell etc and doing things like installing Windows and other things.
If not then rooting is not for you.
Also do you know how to code in Linux C etc and know the workings of the Linux os, if not then there is no way you are going to make a custom rom. All you might be able to achieve is just repackaging someone else's ROM with minor edits and even then the tools to do that mainly use Linux to run as it's native windows doesn't have all the stuff Linux has natively in this regard.
Ziolek67 said:
If you are newbie than do nothing ! Wait for official upgrade ! Because you will cry !
Sent from my HUAWEI P7-L10
Click to expand...
Click to collapse
drguild said:
Wow do you realize android 5 has been out officially for a week or two and pretty much every phone apart from nexus which uses the software directly from Google themselves who make android, still don't run it yet and expect to be running it in 2015.
Not even big teams that use the aosp code directly such as cyanogen or paranoid have got a stable fully functional rom out yet.
It takes time for the 3rd party developers to customize and test android for there devices once the official version gets released as they all use the final source code which only has been out 3-4 weeks.
Also no company apart from Google is much better, Samsung are still rolling out 4.4 to some of there devices with some like the s2 still on 4.2 and end of life presumably others will jump straight to lollipop from 4.3 etc.
Also on rooting what do you wish to achieve by doing so?
Rooting can be very dangerous if you don't know what your doing with devices like ours.
Take a look for example at all the posts in this forum asking to downgrade their l10's from emui 3 to 2 which they upgraded to custom versions etc without thinking and the issues they now have with boot loops and stuff.
If you want to run xposed you can find many people with similar things recently in this forum that can't get it to work.
Also rooting etc you lose the ability for any future updates via OTA and recovery and would need to manually update your device potentially bricking it every single time which bricking means you can no longer use your device and have to buy a new one.
Also are you capible on the PC with using it, command prompt Linux shell etc and doing things like installing Windows and other things.
If not then rooting is not for you.
Also do you know how to code in Linux C etc and know the workings of the Linux os, if not then there is no way you are going to make a custom rom. All you might be able to achieve is just repackaging someone else's ROM with minor edits and even then the tools to do that mainly use Linux to run as it's native windows doesn't have all the stuff Linux has natively in this regard.
Click to expand...
Click to collapse
Thanks For your Valuable words,
I really enjoyed them and get my mind open
well I do have Good Experience in linux and Command line , C Programming actually didnt go deep with it really ,
But i think I will stick to your opinion and wait ,and while I do so I will learn more about the whole subject ,and maybe increase my knowledge in this Field . (Android Programming - the C Programming - how things work in Android , ROMS , ETC)
but would you mind telling me from where to start ???
darkzero2022 said:
Thanks For your Valuable words,
I really enjoyed them and get my mind open
well I do have Good Experience in linux and Command line , C Programming actually didnt go deep with it really ,
But i think I will stick to your opinion and wait ,and while I do so I will learn more about the whole subject ,and maybe increase my knowledge in this Field . (Android Programming - the C Programming - how things work in Android , ROMS , ETC)
but would you mind telling me from where to start ???
Click to expand...
Click to collapse
Apologies if I came across about abit hard this forum has had allot of impatient people jumping in recently trying to run Emui 3 on l10's then asking to downgrade as you may have noticed the other teams like paranoid are already dealing with lots of people saying there to slow for not having lollipop out within a hour of aosp.
I had the same issue running a custom Minecraft server that people got really angry then refused to play and bad mouth the server if we didn't update that day when update time for us was about a week given the number of customizations we had 41 plugin's in the end, sometimes longer if there were more changes the mod and custom server devs had to deal with.
Emui 3 and lollipop has more bugs more as it's new from what I found I may start a proper consolidated emui talk thread later for those running it opposed to all the l10 when are we getting it out help me downgrade threads.
The place I think you should start is to download the source code for your version from the emui webpage and start analyzing it out of interest.
There's another Dev on here doing the same thing so you might want to contact him for info.
Also there are tools on Linux that easily let you unpack stock image files and the ext container and repack them.
That way you can see the full file structure and how a rom is packaged.
It's good just to see what's inside roms and how the first roms are usually made by a repackage before source.
I will stress the same as above that while these are starting points you would need to know what you are doing and something more hackable like a cheap nexus or or Chinese tab (about $50 USD) with easy upgradable firmware something would be better to start on.
Also grab down the android tools with eclypse for Linux, the sdk virtual device and have a play around making a app and stuff also you can edit the virtual rom safely etc.
The Linux version of the tools is far superior as you can natively mount the virtual ext cards for host file transfer and do other things which you can't under windows.
By ext above I mean the virtual partition files which are either ext 3 or 4 last time I looked.
I'm not a coder myself and I only did basic stuff in the past as I had a Chinese android 2.2 tablet the MID ones as my first device, I used a custom rom on which was just a repack with file system changes with bloat removed etc.
I looked into this out of interest and curiosity, each rom update I repacked it with the apps I used so I didn't need to reinstall them, there was probably a better (proper) way than just unpacking the ext file system from the img adding my apps in to the deploy folder and repacking.
Also I unpacked a APK weather app etc to make changes and use a custom background and others like themes to grab icons and assets this is a good start with looking at app packages and how that all works as well as making your own app in various tools eclipse for one which is the official tool but there's hundreds of android programming softwares online even to do simple stuff as make a stand alone html5 app from a webpage.
The tools on Windows I found were lacking and harder to find for the rom stuff, with Linux it was built into the system a lot of things.
What Linux is the best for doing Android stuff I don't know so that will need to be researched.
As mentioned devices can be dangerous for custom stuff especially newer ones with bootloader security, the older Chinese style ones and some others you could reflash easily from sdcard with a update.img file as they didn't contain that lock out security on boot and debugging.
I nearly bricked a few devices in the past, once having to rely on the bootloader and Android Commander a powerful tool and device terminal to mount the partition rw while in the bootloader to rename a file backI renamed as a test that caused the system to stop booting.
You can still get some tabs that do that about 50 USD on eBay etc I think.
darkzero2022 said:
Hello ,
I got my P7 for about 4 Months now,
and I wanted to have the EMUI 3.0 and Lolipop
but I think the Original System is 4.4.2 and Emui 2
I want to ask What can I do to Root or make a ROM...
Click to expand...
Click to collapse
I'd strongly advise that you wait. My experience. You can root v4.4.2 VERY easily using vroot. Wait for lollipop, honestly. Is a nightmare recovering your position if you try to move now.
Sent from my HUAWEI P7-L10 using XDA Premium HD app

Rom Building Tool

What is the best tool to make a rom for my HTC Desire 510
bcbradley12 said:
What is the best tool to make a rom for my HTC Desire 510
Click to expand...
Click to collapse
If you're planning on using a kitchen, please don't. Do it right.
CM/PAC/Slim/PA/etc is still in the works for this phone so you'll have to do a lot of leg work. I suggest @r3pwn's repo since he's apparently got a functioning CM12.1 WIP
From cyanogen:
cyanogen said:
I really dislike the "chef" moniker when it comes to Android, since we are more of an open-source community. I think it implies a "file pusher" mentality. But then again, I am biased against proprietary versions of Android like Sense, so feel free to disregard all of this.
Here's my advice for those looking to make their own Android ROMs.. Stop. Write an app or two first, learn how the system works from a developer standpoint. Learn some Java. Read the developer documentation. Learn how to use Git. Then learn how to build AOSP from source. Read the porting guides, and learn how the build system works (the links below have almost everything you could possibly want to know). Now try to put your new found skills to work on enhancing the platform by writing code or making theme overlays. And share! And put that **** on your resume. There is a *ton* of information out there but any kind of "step-by-step rom cooking guide" is going to be a complete fail- it's too broad of a subject.
Android Developer Guides: http://d.android.com
Working with AOSP source: http://source.android.com
Platform Developer Guide: http://pdk.android.com
Android Gitweb: http://android.git.kernel.org
Git Ready (Git tips and tricks): http://www.gitready.com/
Building CyanogenMod: http://wiki.cyanogenmod.com/index.php/Building_from_source
How Dexopt works and what are those odex files: http://android.git.kernel.org/?p=pl...bcd225e47b2cc7abb2a366112d3aeb45936;hb=master
The PDK site is absolutely vital if you are going to work on custom ROMs. Read every single page. Twice. Some of the info isn't up to date, but you'll get a really good idea about what goes into actually configuring Android to work on a real device.
Click to expand...
Click to collapse
Other useful links:
[GUIDE][COMPLETE] Android ROM Development From Source To End
Official CM Dev page: http://wiki.cyanogenmod.org/w/Development
For repos: https://github.com/search?o=desc&q=htc+desire+510&s=updated&type=Repositories&utf8=✓
[HOW TO] Beginners Guide to Android ROM Development
Chef Central Android forum
Custom ROM Central
Android Development and Hacking forum
If you don't have very much development knowledge and you don't really wanna learn then just wait. It's going to take a lot of time, a lot of reading, and a lot of work. It's not easy-peasy. Just forewarning.
Depends on what you mean by "functioning". To me, functioning = booting (even if some Core features are not working). With my stuff, WiFi/camera/FM radio does not work, so everything's still a WIP.
r3pwn said:
Depends on what you mean by "functioning". To me, functioning = booting (even if some Core features are not working). With my stuff, WiFi/camera/FM radio does not work, so everything's still a WIP.
Click to expand...
Click to collapse
Yeah, that's what I meant. It's pretty much where @rbheromax was/is at.
What tool do you use to make cyagenmod
bcbradley12 said:
What tool do you use to make cyagenmod
Click to expand...
Click to collapse
If you have to ask that then you didn't read what was posted.

[reference]learning android rom development basics

This is not a guide but a portal or a reference on how to learn the basics to start your road on creating your own ROMs and kernels.
I will be listing down the things you would need to understand android development !
1] UNDERSTANDING LINUX
to compile from source learning linux is recommended .
There are many video tutorials as well as guide on xda to show you how to compile from source .but having a good deal of knowledge in Linux will help u understand the root problems your ROM might face in later stages of development.
A good place to start learning Linux for free is edx.org
Click here :
https://www.edx.org/course/introduction-linux-linuxfoundationx-lfs101x-2
2] App development :
A basic knowledge of creating applications gives us an idea about intents ,permissions as well as views ,activities and styles . such knowledge is helpful in theming ROMs .[experience in Photoshop or gimp is also needed]
A good place to start learning it on your tablet or phone is by downloading an ap called aide which is available on Google play store.[paid but has a good and helpful Google plus community]
You could also learn android programming using coursera :
https://www.coursera.org/course/androidpart1
Which is completely free!!!!
3] learning edify :
A basic knowledge of edify would help you understand updater script and update binary code and hence would be helpful in tackling various problems when flashing your ROM..
4]XDA-U :
Xda university website is purely amazing and very simple to understand.
http://xda-university.com
4]C LANGUAGE AND C++
this object oriented programming language is needed fr developing kernels.
With mastery over these languages you would be set for hand on development theming and debugging ROMs kernels and recoveries.
Hope this guide helps all who reads it and bridges the wide gap between users and developers
If you have any queries about these websites ,please feel free to ask them and hit the thanks button :sly:!!!
Happy Developing!!!
Great post
Thanks for this, all the sites you have listed are very user friendly!!!

Categories

Resources