which linux version is best for making android rom? - Android Q&A, Help & Troubleshooting

Hi
I'm learning how to make my own android rom.
my only question is which Linux version is better for making an android rom?
I've basic knowledge to start as beginner so just wanna know which version would be better for Android.
Thanks.

niravnn said:
Hi
I'm learning how to make my own android rom.
my only question is which Linux version is better for making an android rom?
I've basic knowledge to start as beginner so just wanna know which version would be better for Android.
Thanks.
Click to expand...
Click to collapse
if you are developing for phones you should use the stock kernel of your phone as base. if you want to build android for an intel based notebook, the newest "normal" linux kernel should be your choice.

Not sure if he means the actual kernel for android or if he is asking which LInux version is best to install for his development environment.
If you mean the latter then you can't go wrong with ubuntu/xubuntu/linux mint. Many people go with Xubuntu/Ubuntu 12.04. The only difference between those 2 is what the desktop looks like. I recommend following a guide like this one: http://forum.xda-developers.com/showthread.php?t=2355078
To get you started

jrdoming said:
Not sure if he means the actual kernel for android or if he is asking which LInux version is best to install for his development environment.
If you mean the latter then you can't go wrong with ubuntu/xubuntu/linux mint. Many people go with Xubuntu/Ubuntu 12.04. The only difference between those 2 is what the desktop looks like. I recommend following a guide like this one: http://forum.xda-developers.com/showthread.php?t=2355078
To get you started
Click to expand...
Click to collapse
Thanks a million
Sent from my Desire S using xda app-developers app

Related

Latest Linux kernel 3.3 comes with added Android

Latest Linux kernel 3.3
mutant13 said:
Latest Linux kernel 3.3
Click to expand...
Click to collapse
Does that mean that with that kernel you can run Android programs in like Ubuntu? Because that would just be awesome.
Many apps are there for Android but not desktop Linux ( Android is still Linux ).
DexterMorganNL said:
Does that mean that with that kernel you can run Android programs in like Ubuntu? Because that would just be awesome.
Many apps are there for Android but not desktop Linux ( Android is still Linux ).
Click to expand...
Click to collapse
Ubuntu for Android has been out for a few weeks, but I think this new kernel will allow easier programming between Android and Linux....
easier crossprogramming and easier porting of new features / fixes between linux and android kernels
mutant13 said:
Ubuntu for Android has been out for a few weeks, but I think this new kernel will allow easier programming between Android and Linux....
Click to expand...
Click to collapse
Yes but we can not get it. They didnt release any source code yet. In ubuntu for Android you can indeed open Android apps in ubuntu.
But what about on Ubuntu for pc's? There it is not possible.
3.3? Cool I thought the higest avalible is 2.6....
mutant13 said:
Ubuntu for Android has been out for a few weeks, but I think this new kernel will allow easier programming between Android and Linux....
Click to expand...
Click to collapse
When you say been out for weeks, can you install it? It seems like its still being developed and will come out later this year.
DarkManX4lf said:
When you say been out for weeks, can you install it? It seems like its still being developed and will come out later this year.
Click to expand...
Click to collapse
They want to bundle it with phone manufacturers, so that they can have Ubuntu for Android on there devices.

[q][linux] does the os version really matter

hi guys
im using precise pangolin and i im looking to get started with source builds....but i heard that building on ubuntu 12.04 is experimental will it actuall\y work shall i stick to the current os install a fresh copy of an older one...or will the issues eventually get fixed i need your help guys
speed_bot said:
hi guys
im using precise pangolin and i im looking to get started with source builds....but i heard that building on ubuntu 12.04 is experimental will it actuall\y work shall i stick to the current os install a fresh copy of an older one...or will the issues eventually get fixed i need your help guys
Click to expand...
Click to collapse
if you're looking to compile only jellybean and future builds, ubuntu 12.04 will be fine.
f2prateek said:
if you're looking to compile only jellybean and future builds, ubuntu 12.04 will be fine.
Click to expand...
Click to collapse
im trying for cm7 and above as i'm a part of a legacy forum which doesnt have officuial ics...so any suggestions ?

Google Edition Rom or totally clean android rom - is it possible?

Hello, I'm searching for totally clean ROM. That means ROM builded from source code without any improvements or Google Edition ROM. Is it possible to build this ROM? And what do I need? And what cloud be barrier? Thanks for reply.
Whats the problem with CM?
Sent from my HTC Desire X using xda app-developers app
banan1 said:
Hello, I'm searching for totally clean ROM. That means ROM builded from source code without any improvements or Google Edition ROM. Is it possible to build this ROM? And what do I need? And what cloud be barrier? Thanks for reply.
Click to expand...
Click to collapse
You would need, command and skills on coding, Ubuntu or any linux os, and a source.
micu13 said:
Whats the problem with CM?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
there is already a project and it aint anywhere near completion maybe or perhaps hes not fond of cm
Sent from my HTC Desire X using xda app-developers app
I dont have any problem with CM. But I think that it is a little bit unstable. I don't know anything about android development, but at first I think that it works like windows or linux. You have OS and drivers and together it works well. Where is problem with build clean android rom + add drivers?
banan1 said:
I dont have any problem with CM. But I think that it is a little bit unstable. I don't know anything about android development, but at first I think that it works like windows or linux. You have OS and drivers and together it works well. Where is problem with build clean android rom + add drivers?
Click to expand...
Click to collapse
It's not exactly like you said. And for clean rom, its name is AOSP. And when our CM will be bugfree also an AOSP rom, or like you name it a clean rom, will be available.
xpirt
great. So now I'm waiting for AOSP rom. Can I donate somebody for support in development?
banan1 said:
great. So now I'm waiting for AOSP rom. Can I donate somebody for support in development?
Click to expand...
Click to collapse
Atis112 is the man
xpirt

Android 5 ?

Any luck for this phone to see android 5 ?
Thanks
XGate said:
Any luck for this phone to see android 5 ?
Thanks
Click to expand...
Click to collapse
We didn't even get Kitkat, so I wouldn't get my hopes up if I were you
Darn, i think android 5 will work better on this phone. Anyway, i'll keep hoping
XGate said:
Darn, i think android 5 will work better on this phone. Anyway, i'll keep hoping
Click to expand...
Click to collapse
We'll have to wait until the androidarmv6 team can modify the legacy msm7x2x code for Android 5.0. Google has removed legacy msm7x2x code since ICS.
Guys dont search for miricals. The best rom for this phone model so far is optimus nexus me v6 by todonormal. Just search it in forum. If you want the latest version of android just buy a new one. They have better qualifications and hardware. Anyone who wants information about flashing root and others just read carefully older threads from this forum.
Gkost said:
Guys dont search for miricals. The best rom for this phone model so far is optimus nexus me v6 by todonormal. Just search it in forum. If you want the latest version of android just buy a new one. They have better qualifications and hardware. Anyone who wants information about flashing root and others just read carefully older threads from this forum.
Click to expand...
Click to collapse
Yeah. Optimus nexus me v6 final (not lite version)
In best rom for x10 mini pro
And after install this rom from cwm recovery naa v14 gb. Should be flash naa 12 for best speed and less lags on game

Installing Roms on any Android device by just knowning the processor?

Hello. I have doogee dg800 which has mt6582. I want to install lollipop rom.
and I would like to know if you could install on it or any android unknown devices by just knowing the processor which is mt6582?
if yes than can you send me a link of how you can do it?
Will someone knowledgeable answer this question please!!
Sent from my N9521 using Tapatalk
tnomtlaw said:
Will someone knowledgeable answer this question please!!
Sent from my N9521 using Tapatalk
Click to expand...
Click to collapse
ShOgIBaRiBoA said:
Hello. I have doogee dg800 which has mt6582. I want to install lollipop rom.
and I would like to know if you could install on it or any android unknown devices by just knowing the processor which is mt6582?
if yes than can you send me a link of how you can do it?
Click to expand...
Click to collapse
You Can't Simply Install ROMS on Just By Seeing The SOC Only.. .. There Are So Many Custom ROMs for MT6582 You should See The Kernel & Stock ROM of That Particular Device .. For Example Iam On MT6592 Running 4.4.x As Stock ROM With 3.4.67 Kernel & A Device With Same Kernel & Stock ROM But its MT6582 in That Case it Can Be Cross Ported & Used .. But When , The SOC is The Same(6592),Stock ROM is the Same(4.4.x) But the Kernel is 3.10.54 ..You can't Do That Even When the SOC(6592) is the Same as You Said ..it Can't be Done .. You need to see the Other Things Too(Kernel Especially) ..
Sent from my Nitro using Tapatalk
LoverBoy2415 said:
You Can't Simply Install ROMS on Just By Seeing The SOC Only.. .. There Are So Many Custom ROMs for MT6582 You should See The Kernel & Stock ROM of That Particular Device .. For Example Iam On MT6592 Running 4.4.x As Stock ROM With 3.4.67 Kernel & A Device With Same Kernel & Stock ROM But its MT6582 in That Case it Can Be Cross Ported & Used .. But When , The SOC is The Same(6592),Stock ROM is the Same(4.4.x) But the Kernel is 3.10.54 ..You can't Do That Even When the SOC(6592) is the Same as You Said ..it Can't be Done .. You need to see the Other Things Too(Kernel Especially) ..
Sent from my Nitro using Tapatalk
Click to expand...
Click to collapse
so I have mt6582
and kernel 3.4.67
Android 4.4.2
1. based by only two of those I can put any rom that I want?
2. in my karnel version I have something called "eng.release.1416304660" do I need it?
3. do I need build id?
4. do I need the java VM?
5. do I need kernel architecture? (armb7l)
thanks a lot for answering
ShOgIBaRiBoA said:
so I have mt6582
and kernel 3.4.67
Android 4.4.2
1. based by only two of those I can put any rom that I want?
2. in my karnel version I have something called "eng.release.1416304660" do I need it?
3. do I need build id?
4. do I need the java VM?
5. do I need kernel architecture? (armb7l)
thanks a lot for answering
Click to expand...
Click to collapse
What you are looking for can be found here. It takes patience but it pays off.
L3R0N said:
What you are looking for can be found here. It takes patience but it pays off.
Click to expand...
Click to collapse
sorry for asking too much question but I need to know so I won't have brick.
it says I don't need kernel while the other comment says I have to have the same kernel version.
ShOgIBaRiBoA said:
sorry for asking too much question but I need to know so I won't have brick.
it says I don't need kernel while the other comment says I have to have the same kernel version.
Click to expand...
Click to collapse
I don't really know how much the version matters. For example, I have never gotten a ROM built for the 2.6 kernel to run on my device which uses a 3.1 kernel version even though they both use the same SoC. However, I have gotten ROMs for kernel version 3.4 to run pretty fine on mine which is kernel version 3.1. Some will work and some will not. If you are going to try porting your own ROMs then its important to not be afraid of getting bricked...that happens. Porting is mostly trial and error until it works.
L3R0N said:
I don't really know how much the version matters. For example, I have never gotten a ROM built for the 2.6 kernel to run on my device which uses a 3.1 kernel version even though they both use the same SoC. However, I have gotten ROMs for kernel version 3.4 to run pretty fine on mine which is kernel version 3.1. Some will work and some will not. If you are going to try porting your own ROMs then its important to not be afraid of getting bricked...that happens. Porting is mostly trial and error until it works.
Click to expand...
Click to collapse
I have on my Chinese smartphone android 4.4.2 KitKat. I want to install 5.1 or 6.0.1 Rom.
I know the processor (mtk) and the kernel.
all I want to know is how to do it
ShOgIBaRiBoA said:
I have on my Chinese smartphone android 4.4.2 KitKat. I want to install 5.1 or 6.0.1 Rom.
I know the processor (mtk) and the kernel.
all I want to know is how to do it
Click to expand...
Click to collapse
What's your Kernel Version & MTK SoC ?
LoverBoy2415 said:
What's your Kernel Version & MTK SoC ?
Click to expand...
Click to collapse
MT6582
kernel 3.4.67
ShOgIBaRiBoA said:
MT6582
kernel 3.4.67
Click to expand...
Click to collapse
Then Port A ROM to Your Device, A ROM Which is For The Same SoC & Kernel & Stock 4.4.2..There Are So Many Custom ROMs for This Combo..
LoverBoy2415 said:
Then Port A ROM to Your Device, A ROM Which is For The Same SoC & Kernel & Stock 4.4.2..There Are So Many Custom ROMs for This Combo..
Click to expand...
Click to collapse
ok if I understood correctly Soc=processor.
kernel is the 3.4.67 version.
but do I really need stock? I mean I want to change my android version to 6.0.1.
I don't really understand what stock means but of what I understood stock is the companies rom? I don't want another android 4.4.2 kitkat I want 6.0.1 marshmellow.
XD sorry for so many questions. but thank you a lot for helping me
ShOgIBaRiBoA said:
ok if I understood correctly Soc=processor.
kernel is the 3.4.67 version.
but do I really need stock? I mean I want to change my android version to 6.0.1.
I don't really understand what stock means but of what I understood stock is the companies rom? I don't want another android 4.4.2 kitkat I want 6.0.1 marshmellow.
XD sorry for so many questions. but thank you a lot for helping me
Click to expand...
Click to collapse
Yes by Soc he means processor. Stock refers to the ROM your phone came with. If you want marshmallow, find another mt6582 device that is similar to yours which has M and try porting using the guide I pointed you to some posts back. The kernel you would use in this case is the kernel from your stockrom. You would of course need to modify it's ramdisk to try and get M to boot. As I mentioned before, it is trial and error and when doing this you must not be afraid of a brick.
L3R0N said:
Yes by Soc he means processor. Stock refers to the ROM your phone came with. If you want marshmallow, find another mt6582 device that is similar to yours which has M and try porting using the guide I pointed you to some posts back. The kernel you would use in this case is the kernel from your stockrom. You would of course need to modify it's ramdisk to try and get M to boot. As I mentioned before, it is trial and error and when doing this you must not be afraid of a brick.
Click to expand...
Click to collapse
thank you a lot LoverBoy2415 and L3RON, and yeah I am not afraid of brick. I have lg g3 and galaxy s3 and my doogee dg800 is an old smartphone and I want to learn those things.
you are really helpful and a nice people I clicked thanks on your comments and other's people comments who helped me, you said I need to modify it's ramdisk. how do I do that? is there any guide?
ShOgIBaRiBoA said:
thank you a lot LoverBoy2415 and L3RON, and yeah I am not afraid of brick. I have lg g3 and galaxy s3 and my doogee dg800 is an old smartphone and I want to learn those things.
you are really helpful and a nice people I clicked thanks on your comments and other's people comments who helped me, you said I need to modify it's ramdisk. how do I do that? is there any guide?
Click to expand...
Click to collapse
There are existing roms for your phone including CM12.1. See here. In you wanna diy then you'd need a tool to extract the ramdisk from the boot.img. I use Carliv Image Kitchen, it's available here on xda. You also need a tool like notepad++ to edit the files inside the ramdisk (init.rc and the rest). The idea is to compare the two and make changes to yours based on what's in the other (boot.img from the ROM you are porting) ramdisk. As I said, it's trial and error. If your device is really similar to another device as in they're basically identical twins then you can simply replace the boot.img with yours and modify build.prop to fit your device and you are good to go. But that's only if your devices are very very similar...like the Galaxy Tab 8.9 and the Galaxy Tab 10.1 they're basically the same device with some differences in their kernels hence you replace the boot.img in the ROM you are porting with one from your stock (modified accordingly of course).
ShOgIBaRiBoA said:
thank you a lot LoverBoy2415 and L3RON, and yeah I am not afraid of brick. I have lg g3 and galaxy s3 and my doogee dg800 is an old smartphone and I want to learn those things.
you are really helpful and a nice people I clicked thanks on your comments and other's people comments who helped me, you said I need to modify it's ramdisk. how do I do that? is there any guide?
Click to expand...
Click to collapse
See this Website MTKROMS , For Stable CM13 & CM12.1 & Based ROMs for 6582 & So Many New ROMs & You Will be Having All Guides for porting & so on in this & Join this MTK Facebook Group, to Ask Help Means Regarding Anything About MTK ..
Good Luck Mate, Welcome to the MTK World & Happy Porting..
thanks a lot guys
ShOgIBaRiBoA said:
thanks a lot guys
Click to expand...
Click to collapse
Welcome Mate..
#Anytime ? ✌..
LoverBoy2415 said:
Welcome Mate..
#Anytime ? ✌..
Click to expand...
Click to collapse
thanks @LoverBoy2415 for helping you help me too unknowingly :d ..
Sent from my A311 using XDA Free mobile app
DaniP619 said:
thanks @LoverBoy2415 for helping you help me too unknowingly :d ..
Sent from my A311 using XDA Free mobile app
Click to expand...
Click to collapse
..Thanks Mate ..
#Anytime..

Categories

Resources