Developing my own Rom. - Nexus 4 Q&A, Help & Troubleshooting

Hello!
I'm a Nexus 4 user and I want to try and develop a rom for it.
The device still works good but without much XDA support as it used to be (new roms, updating roms, etc.), I would like to develop a new Rom for the Nexus 4.
I'm familiar with Android Developing but never tried to develop rom or anything like that.
Can someone give me direction on how to start?
How can I add things to the AOSP and edit existing apps or function?
Thanks in advance!

Just a few links
[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS]
How to Build an Android ROM
Getting Started: Building Android From Source
[DIY GUIDE] Create a personalized ROM yourself! [UPDATED: 28-07-2014]
[UltimateGUIDE][How-to]Create your Own Custom ROM an easy way|Android Secrets -_-
[GUIDE] How-To Cherry-Pick Features for your ROM (both GitHub and Gerrit)

dcop7 said:
Just a few links
[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS]
How to Build an Android ROM
Getting Started: Building Android From Source
[DIY GUIDE] Create a personalized ROM yourself! [UPDATED: 28-07-2014]
[UltimateGUIDE][How-to]Create your Own Custom ROM an easy way|Android Secrets -_-
[GUIDE] How-To Cherry-Pick Features for your ROM (both GitHub and Gerrit)
Click to expand...
Click to collapse
Thank you very much!

Related

[INDEX][ROMS/ KERNELS/ SCRIPTS] One Original Android Development

Hi everyone... :fingers-crossed: Welcome to HTC One General Section !
This is my little contribution to this great community. In this thread you will find all the ROMs and Kernels listed in HTC One Original Android Development Section. This thread is just an effort to have ease of access to your favorite ROM/Kernel. The thread will be updated daily. Please do not use this thread to compare best ROM/Kernel. Please dont ask me about questions related to these ROM/kernel as it will be discussed in their respective threads. Also I am not responsible for any damage (highly unlikely, still goto say this ) to your phone caused by these works.
If there is any update/new development that I have missed out please PM me or mention it in this thread.
Dont forget to hit thanks if you find the thread usefull :highfive:
Thanks to all developers for their wonderful work ! :good:
Have fun Flashing !!!:fingers-crossed: ​
Click to expand...
Click to collapse
~ ROMS ~
⊗ Jelly Bean ⊗
◄●AOSP●►
CyanogenMod 10.1 official nightlies
Slim Bean m7 [build 6.2][June 9th]
PARANOIDANDROID 3.57 (June8) | HALO10
TeamCarbon 4.2.2 AOSP Nightlies
★★★BaKeD RoM v1 [AOSP][CM10.1][UNOFFICIAL] June 10★★★
​
◄●AOKP●►
AOKP 4.2.2 - m7 builds
Vanilla RootBox M7 *unofficial* [06.08.13]
ReVolt JB M7 [NIGHTLIES][MultiUser+Hybrid+PIE]
★★★P.A.C. RoM v2.9 - June 11[UNOFFICIAL]★★★
[Jellybro] M7TMo Nightly Kangs
MysteriousROMS BIONIC LINARO
​
Kernels
~ Kernels ~
[002] One-M7 (UV/Intelliplug/dfsync/FauxSound/s2w/Hybrid Linux 3.4+) [May-25]
ElementalX 0.11 |OC|UV|GPU OC|S2W|L2W|DT2W|L2M|THERMAL|BLN [May23]
[Thoravukk][AOSP][v1.06] LZ4•CIFS•UC/UV•LINARO [11-JUNE]
[001] KozmiKKernel [CPU OC][GPU OC] [05/23/13]
[teaMSeven|V.4[2GHz|VC|BLINKBUTTONS|H2W|LINARO-o3|FULL-OTG] [12|05|13]
[AOSP][teaMsevenAOSP_v16|VC|Blink Buttons|S2W,DT2W,H2M|HP-CONTROL|] [6|6|13]
Beastmode M7 | Beats, S2W, L2M, Mpdec Sense 4.2.2
intersectRaven's Kernel - 20130602_07XX
[0.9][Thoravukk] CIFS•UC/UV•LINARO•BB•H2*•L2*•S2* [10-MAY]
[001] KozmiKKernel [CPU OC][GPU OC][04/24/13]
tbaldens kernel3.6[HOME2WAKE|HTCLogoMenu|CIFS|NTFS|NoOC/UV|OTG] [Apr27]
​
Recovery
~ Recoveries ~
ClockworkMod Touch v6.0.3.1 [OFFICIAL] [5/14/2013]
TWRP v2.5.0.0 [4/11/2013]
[CWM Advanced Edition] PhilZ Touch
[CWM][6.0.3.2] Sk8's CWM Touch Recovery v15.0.2 (05/15/13)
​
Scripts
~ Scripts ~
ROM Cleaner v1.4 | Remove Bloatware | Backup Apps | Install Apps/Mods
Ultimate Super-Cid Script
​
One more ..
« ¿What is an AOSP based ROM?
First of all, AOSP stands for Android Open Source Project.
These ROMs offer you the "stock" Android experience without all the extras provided by the manufacturers like Samsung, HTC, etc. they are based directly on the source code from Android. They may be tweaked but are, in their entirety, the closest to a "pure Google experience".
More information here: http://source.android.com/
« ¿What is an AOKP based ROM?
First of all, AOKP stands for Android Open Kang Project.
Well, AOKP is in essence AOSP, the main difference being all the added customization that AOSP ROMs lack. AOKP ROMs still maintain the "stock" Android experience, except with many possible customization options at your fingertips.
More information here: http://aokp.co/index.php/news
« ¿What is a MIUI based ROM?
Very basically, MIUI is the Chinese custom version of Android. The main difference that have from another ROM's is precisely their unique customization options.
The MIUI team hast their own launcher, widgets, apps, etc. If you really want a change from the Green/Gray of GB or the Black/Blue of ICS then take a look at MIUI ROMs.
More information here: http://en.miui.com/
« ¿What is CyanogenMod?
CyanogenMod it's a ROM pure based on AOSP, but have a main feature...it's a base too for many of the ROM's that you can see here, the Cyanogen Team works on innovative features that later are ported to different Devices / ROM's.
You can't see an independent category on this index but maybe you are receiving a touch of CM on the ROM that you have on your phone
More information here: http://www.cyanogenmod.com/
~~Thanks Exynoss for the details
Very nice work mate keep it up
Good start!
In the ROMs section pls add Sense based ROMs too apart from AOSP and AOKP.
dvsk69 said:
Good start!
In the ROMs section pls add Sense based ROMs too apart from AOSP and AOKP.
Click to expand...
Click to collapse
yes sure but i dint find any sense based roms in original android development section.

Mega downloader

For those who needs to download ROM's from MEGA and are having trouble...
Extract and install,
THIS IS NOT MY CREATION, IT IS JUST BEING SHARED BY ME TO HELP OTHER'S.
hit thanks if it helps...
just downloaded glamour s4 rom by henrylife which i was trying to download from 3 days but wasn't happening and it just helped me... and it will be nice if you guys post your feedback here
To help keep this forum section tidy and easy to use, here are some rules and guidelines.
Only the following topics are allowed in the DEVELOPMENT area:
[DEV] - Development for any projects or Apps.
[ROM] - Custom ROMs.
[KERNEL] - Custom Kernels.
[MOD] - Hack & Modifications for the phone. (See below for more details)
[FIX] - Fixes for known issues & bugs.
[R&D] - Research & Development for Devs only, when gathering data for a new projects.

[Index] Tutorial, tools and development guides Index - Updated 03082014

Sony Xperia SP Tutorial INDEX​Hi all, in this thread I will keep a list with all the relevant and usefull tutorials for our device. I do this so that we can find them more easy.
This Index contains not only device specific tutorials also some tutorials I believe are worth looking at. All the stuff has been sorted out into three posts. General tutorials, tools and development guides and tools!
So let's begin.​
> Yaay sticky Thanks mods
Tutorials!
Tutorials​These guides are mainly focussed on the Xperia SP (C530x). Other guides are moved to the development guides!​
[Guide] Easy back to stock guide (Mrjraider)
A small guide by me: Get the BE2 after bootloader unlock (cachanilla86)
[TUTORIAL][SCRIPT] Swap internal SD Card / External SD Card for Xperia SP (C530X) (dssmex)
[Tutorial] Alternative to Folder Mount (extend your internal memory) (jucares)
[ROOT][SP] How-to for rooting newest firmware 12.0.A.2.245 / 254 (DooMLoRD)
【ROOT】 Easily root Xperia SP firmware version 12.0.A.2.254. (Divaksh)
[REF][INFO] My Knowledge database (mrjraider)
[GUIDE] Flash Stock ROM with Flashtool (also Downgrading) (mrjraider)
[GUIDE] How to: Install CM10.2 on LOCKED bootloader [Xperia SP] (KeiranFTW)
[Tutorial][ROOT][4.3]Root your own stock 4.3 firmware (quetzalcoatl2435)
[LB/UBL] Root Your device with just an app! (Mrjraider)
[GUIDE] How to create custom boot animation for any Android device easily. (Tech N You)
[TUTE][TIPS] Android RAM Management (mrhnet)
Attention: If you want your tutorial here or want it to be removed please sent me a PM with link!​
Tools!
Tools​Here you can find some tools that may come in handy​
[TOOL] Backup TA Vx.x for Windows (DevShaft) / [TOOL] Backup TA for Mac OS X (limiter121)
[TOOL] Flashtool version x.x.xx.x - Windows / Linux / Mac (Androxyde)
[Drivers] FlashTool Xperia Driver Pack (DooMLoRD)
[TOOL] Updatechecker Xperia Devices (Macmol)
[TOOL] XperiFirm ~ Xperia Firmware Downloader (IaguCool)
Attention: If you want your tool here or want it to be removed please sent me a PM with link!​
Development Guides
Development Guids (and some tools)​Guides to develop your own stuff. These guides can be used on more Xperia devices!!​
[Tutorial] Xperia devices Bootloader Unlocking/Relocking (DooMLoRD)
[How-To] Make custom bootscreen/bootlogo (image to rle)/(rle to image) (DooMLoRD)
[NOOBS GUIDE] Create your own stock firmware FTF & Flashtool flashing guide[+ pics] (xl VipeR lx)
[Guide] Flashtool/Fastboot ADB Driver Fix For Windows 8 (neroyoung)
[WIN][TUTORIAL]HOW TO USE ADB,DDMS AND TAKE A LOGCAT {pictorial explanation} (Mr Gentleman)
[Tutorial] Kernel building instructions for Xperia devices (DooMLoRD)
[Guide] How to add banner in "About Phone" | Noob friendly (abo hani0)
[TUTORIAL] How to transform your settings.apk in perfect Honami Settings UPDATE 27/11[ (niaboc79)
[TUTORIAL] How to add Autostarts Option in Settings (DaRk-L0rD)
[TUT]How To Add/Port Various Framework Mods And Apps (sandy7)
[TUTORIAL] How to integrate recovery into your custom rom (DaRk-L0rD)
[TUTORIAL] Customization for Xperia Home JB 4.1/ 4.2/ 4.3 (Rajeev)
[DIY GUIDE] Create a personalized ROM yourself! ([NUT)
[DEV][TOOL] kernel.sin unpacker (DooMLoRD)
[TUTORIAL]Make 5 Button Navigation Bar Android 4.1, 4.2, 4.3 (Rajeev)
[TUTORIAL] Comprehensive Guide for AROMA Installer For Beginners!! | (Ayush Singh)
[TUTORIAL][JB] How to make FM Radio working without headset (DaRk-L0rD)
[GUIDE][HOW-TO]Add Invisible Power Button to Status Bar(dipesh1502)
Attention: If you want your guide here or want it to be removed please sent me a PM with link!​
~ Thread has recieved a massive update! ~
To all: If you want your guide here, or removed sent me a PM with link!!
Great compilation
By the way, do you know where I can find the latest firmware for flashing?? My PCC and SUS dont detect the 4.3 buil =( I'm unbranded and live in PT, a central Europe or a global version would do the trick, can you help me @mrjraider
Most of them are gatherd here: http://forum.xda-developers.com/showthread.php?t=2311964
Many Thanks my friend
thanks very much
its very good guidance
thanks
I've see my tools does not have in this thread...
Will try to update tomorrow
Verstuurd vanaf mijn C5303 met Tapatalk
http://forum.xda-developers.com/showthread.php?t=2685606
Can add this
Updated

[INDEX] Tutorials for ROM & Kernel Development

Beginner Level Tutorials for Android Development​
Hello fellow XDA Members
This is an Index of some of the great beginner level tutorials that are available for learning Android Development. I DO NOT own these threads, I'm just making a single thread where people can easily find the required tutorials.
These are some of the best tutorials available on XDA to help you to quench your thirst for development. Cheers :victory:
Setting Up The Platform
★ Setting up Android Development Environment [Windows]by XDAUniversity
★ Configuring Ubuntu for Compiling ROMs and Kernels by @sylentprofet
ROM Development Tutorials
★ Beginners Guide to Android ROM Development by @isidromxz
★ Build A Rom From Source by @Haze028
★ Porting AOSP ROMs using Source Code by XDAUniversity
★ Build Custom ROMs using Android Kitchen by @ePYK me.
★ How-To Cherry-Pick Features for your ROM by @jabza
★ Make Rooted Flashable ROM from FTF [Xperia] by @Knight47
★ Theming with UOT Kitchen by @Apex
Kernel Development Tutorials
★ Compiling a Kernel from Source by XDAUniversity
★ Building Your First Kernel by @thewadegeek
★ Adding features to your Kernel by XDAUniversity
★ Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs by @droidphile
Tools/Utilities
★ Android Kitchen
★ UOT Kitchen
★ Advanced ApkTool for Windows
★ Android Utility - [apktool|dex2jar|smali|more] for Mac & Linux​
I will be updating OP as per request
Hit Thanks if I saved you some time ​
Thanks I wanted to find something like this

AOSP Port to Qualcomm Note 4 (trltexx) - N910G

Greeting Developers :angel:,
I am new to this ROM building/porting process.
I want to install Vanilla Android on my note-4, so after questioning Google number of times, I came across official Android development guide on official Android website: https://source.android.com/source/downloading.html
I have downloaded the Android source locally and was following various Guides and tutorials from XDA-University & forums only for the development process. http://xda-university.com/as-a-developer/porting-aosp-roms-using-source-code
I discovered that for downloading/configuring the build for a specific device(trltexx), we need to create a localmanifest file that contains device tree, vendor and kernel configuration links for repo syncing.
Now, I want your expertise to guide me forward from this point. Questions being:
1. Can I use CM or other projects (eg. AICP etc.) device configurations for this AOSP project.
2. Can I use these configurations for cross-version android build, say if I want to compile version 6.x, can 5.x configs can be used. (Manufacturer will take several months to release version update)
or Create new configurations using some guide/tutorial/book or something.
In XDA, I know I'm at the write place posting my questions and asking for expertised help.:good:
Thanks!!

Categories

Resources