building custom rom from source - Android Q&A, Help & Troubleshooting

hi there
i search the forum and every post about rom building from source
but all of it was not helping so anybody can help me with this ?

Read this:
http://forum.xda-developers.com/showthread.php?t=1762641
Sent from my HTC Desire using xda app-developers app

thanx but building rom must have ubuntu or not ?

You need a linux distro installed or you can use a virtual machine with a linux distro installed

abo hani said:
thanx but building rom must have ubuntu or not ?
Click to expand...
Click to collapse
Yes u need Linux for building from source. You can install in a virtual machine but I would highly recommend actually installing it on your PC in a dual boot or something.

thanx but i cant install ubuntu coz i have a lot of important apps
so how can i install virtual machine and do the codes ?:laugh::laugh:

abo hani said:
thanx but i cant install ubuntu coz i have a lot of important apps
so how can i install virtual machine and do the codes ?:laugh::laugh:
Click to expand...
Click to collapse
You can dualboot with windows so that you don't have to get rid of allthe stuff you have. That's what I've done and I'd highly recommend doing it this way. Here's how to set it up, its quite easy: link

abo hani said:
thanx but i cant install ubuntu coz i have a lot of important apps
so how can i install virtual machine and do the codes ?:laugh::laugh:
Click to expand...
Click to collapse
just download virtualbox or vmware player and follow the steps.

kashttl said:
If you don't wanna spend money over buying the full version of vmware try getting it from a torrent.. but beware..most torrents give you virus.. !!!
Sent from my HTC salsa operating on farrago!
Click to expand...
Click to collapse
you shouldnt be supporting software piracy on xda. And your statement "most torrents give you virus" is untrue. If you know what you are doing, you wont get any viruses.

thanks guys for helping me :laugh::laugh::laugh:

Related

[Q]Way to compile Linux Kernel using Windows ?

Hi XDA people,
I know my question is kind of stupid ....
I have a new passion for android and haven't already switched from Windows to Linux (Ubuntu I guess) and I would like to learn how to work on kernel.
Just wanted to know if tools have been built for windows ?
I read pulser_g2 has tried to, but don't know if he succeed ?
Thanks for answers
sicopat said:
Hi XDA people,
I know my question is kind of stupid ....
I have a new passion for android and haven't already switched from Windows to Linux (Ubuntu I guess) and I would like to learn how to work on kernel.
Just wanted to know if tools have been built for windows ?
I read pulser_g2 has tried to, but don't know if he succeed ?
Thanks for answers
Click to expand...
Click to collapse
Uhm... I've not worked on anything for building kernels on windows.
The solution is called Virtualbox though - just run Linux in a virtual machine
pulser_g2 said:
Uhm... I've not worked on anything for building kernels on windows.
The solution is called Virtualbox though - just run Linux in a virtual machine
Click to expand...
Click to collapse
Sorry, yesterday I was reading threads concerning compilation of kernels and found a How to using linux (crossposted) and read someone tried to do it on windoze lol.
Anyway, thanks. I am going to switch to Linux, using a dualboot. (not ready to leave Windows lol)
Sent from my GT-I9100 using XDA Premium App

[Q] Anyone using linux on their pc ?

Is anyone here uses linux ? is it working good with android devices ?
wiping, flashing, ect...
nathan96 said:
Is anyone here uses linux ? is it working good with android devices ?
wiping, flashing, ect...
Click to expand...
Click to collapse
yeah, with some apps its works, but do you wanna use odion or something like this?
nathan96 said:
Is anyone here uses linux ? is it working good with android devices ?
wiping, flashing, ect...
Click to expand...
Click to collapse
Nice user name bro. Look at mine I use linux but haven't tried anything with it yet.
Sent from my HTC Incredible S running Nik_IncredibleS_TriNiTy_SensationXL V 5.0 Final By Nikhil007 a.k.a Nikhil Dhayatkar, using XDA Premium.
Yes I have a Ubuntu partition dual booted on my laptop. I have not tried anything android related on it yet though.
naathaanb96 said:
Nice user name bro. Look at mine I use linux but haven't tried anything with it yet.
Sent from my HTC Incredible S running Nik_IncredibleS_TriNiTy_SensationXL V 5.0 Final By Nikhil007 a.k.a Nikhil Dhayatkar, using XDA Premium.
Click to expand...
Click to collapse
Haha nice
Thanks for the answers guy...
Im guessing that it shouldnt be an issue because android is linux based, right ?
Some stuff like building Android can only be done on Linux. For most operations bar official update methods with official installers (Kies, Pc Companion and the like), Linux is fine.
Swypexus
nathan96 said:
Haha nice
Thanks for the answers guy...
Im guessing that it shouldnt be an issue because android is linux based, right ?
Click to expand...
Click to collapse
Nothing should be an issue exactly for that reason...... However depends on your device with regards manufacturer linux support on updates etc, I know HTC like to issue updates as a windows installer bootstrapped exe. not a problem to work around and linux tools have been developed. .......
I never rely on the Manufacturer for anything tho, maybe because the first thing I do with most my devices is void the warranty
Personally I use nothing but linux, I had to stop using windows, It was wrecking my mind. I live most my life through the android debug shell, but I'm a little strange like that :laugh:
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A

[Q] How to fix ROM

Hi guys,
I need advice on how to fix bootloop (CM10) on Huawei u8800. Bootanimation works but after a while it reboot and again,again,... Maybe it's a bad boot img, no?
Please advice
Rom is here: http://www.mediafire.com/?m6sy82bufgdjok5
Thanks for the replies
Sorry for my bad english
Can you post a logcat? That would probably help more.
blazingwolf said:
Can you post a logcat? That would probably help more.
Click to expand...
Click to collapse
Sadly no. This isnt my rom, but other developer for my phone. This developer has stopped working on CM10 and i am only noob and I want to learn how to compile cyanogen roms.
Do you know how to learn it? Pleaase. :crying:
Mlopik said:
Do you know how to learn it? Pleaase. :crying:
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1762641
Brokn.Down said:
http://forum.xda-developers.com/showthread.php?t=1762641
Click to expand...
Click to collapse
On windows it does not work?
You can't build cyanogenmod on windows...has to be linux...
You can get a logcat on windows though by installing the android SDK, once that's installed just type adb logcat on the cmd prompt
You don't have to replace windows withinux btw...you can dual boot it...give linux about 100gb or more and the rest will be for windows
Sent from my HTC PH39100 using Tapatalk 2
Mlopik said:
On windows it does not work?
Click to expand...
Click to collapse
mg2195 said:
You can't build cyanogenmod on windows...has to be linux...
You can get a logcat on windows though by installing the android SDK, once that's installed just type adb logcat on the cmd prompt
You don't have to replace windows withinux btw...you can dual boot it...give linux about 100gb or more and the rest will be for windows
Sent from my HTC PH39100 using Tapatalk 2
Click to expand...
Click to collapse
Exactly, here I leave some links of various Linux distributions...
http://www.ubuntu.com/download/desktop/windows-installer
http://www.linuxmint.com/download.php
http://www.debian.org/CD/
Here are some that I use, but I recommend ubuntu, because it is the easiest to use for a newbie
Ok, i have ubuntu 12.04. Should I download cm compiler?
Mlopik said:
Ok, i have ubuntu 12.04. Should I download cm compiler?
Click to expand...
Click to collapse
That's a good place to start indeed.
One thing: it does NOT have an option to add new devices.
when you add a device directory, you will get LOTS of errors you need to fix.
With your experience, I think you can fix the first one.
You'll need to ask the community for the rest.
Everyone here posting in the Chef Central area is willing to guide you,
but some of the actions you should really think of yourself..
lark freeme 70.1
blazingwolf said:
Can you post a logcat? That would probably help more.
Click to expand...
Click to collapse
i have larkfreeme 70.1 but i lost android and boot loader
where can i get them
lark freeme 70.1
where can i get bootloader and android os on the lark freeme 70.1?
lark freeme 70.1
Ricardas25 said:
i have larkfreeme 70.1 but i lost android and boot loader
where can i get them
Click to expand...
Click to collapse
i download fastboot software and i remove everything
When I make a new jelly bean rom (according to this guide: http://forum.xda-developers.com/showthread.php?t=1762641). So how do I find and fix errors that will be there?
Thanks for reply
Sorry for my bad english :/
Mlopik said:
When I make a new jelly bean rom (according to this guide: http://forum.xda-developers.com/showthread.php?t=1762641). So how do I find and fix errors that will be there?
Thanks for reply
Sorry for my bad english :/
Click to expand...
Click to collapse
Just follow the guide, if there is any error during the build process it will list it and stop building, just copy and paste the error to pastebin.com and share the link here or even better in that tutorial thread, someone will hopefully tell you what's wrong and how to fix it
Once its built flash it, if the flash fails then while.in recovery go to advanced, then report error...upload that log here
Once it boots up, if something's not working start a logcat then send us the logcat
Sent from my HTC PH39100 using Tapatalk 2
lark freeme 70.1
mg2195 said:
Just follow the guide, if there is any error during the build process it will list it and stop building, just copy and paste the error to pastebin.com and share the link here or even better in that tutorial thread, someone will hopefully tell you what's wrong and how to fix it
Once its built flash it, if the flash fails then while.in recovery go to advanced, then report error...upload that log here
Once it boots up, if something's not working start a logcat then send us the logcat
Sent from my HTC PH39100 using Tapatalk 2
Click to expand...
Click to collapse
i can't turn on the tablet and i don't have flash tool and my pc can't see the tablet

[q] how to compile a rom from source on windows?????

Does any one know how to compile a rom from source on windows 7 tried virtual machine but dont work
J.E.abhishek kumar said:
Does any one know how to compile a rom from source on windows 7 tried virtual machine but dont work
Click to expand...
Click to collapse
The answer is no you cannot only virtual machine can be tried but it failed for you
It's A replica of another thread why don't you'll follow the rules and search before posting
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sorry for not readind the posts

[Q] Anyone Know Good Places

I can learn about developing roms/mods/themes/fixing bugs or porting and all that sort of stuff?? Find it quite interesting and it would be nice if in a few months I could be helping atis112 and co.
You can test CM builds on DX Developers Unite and test stuff by building if you have a good PC.
xpirt
xpirt said:
You can test CM builds on DX Developers Unite and test stuff by building if you have a good PC.
xpirt
Click to expand...
Click to collapse
I have a 32bit windows 7 I think minimum is 64 right?
MrRootGuy said:
I have a 32bit windows 7 I think minimum is 64 right?
Click to expand...
Click to collapse
He is more talking about Ram, CPU etc
MrRootGuy said:
I have a 32bit windows 7 I think minimum is 64 right?
Click to expand...
Click to collapse
With Windows will never be able to boot from source. You have to have Linux with x64.
xpirt
GtrCraft said:
He is more talking about Ram, CPU etc
Click to expand...
Click to collapse
It is a very humble
http://gyazo.com/9771f8f9c8887aeb13206644c7c534aa
http://gyazo.com/eef630aa644e27bb5ce2d457610bf409
MrRootGuy said:
It is a very humble
http://gyazo.com/9771f8f9c8887aeb13206644c7c534aa
//http://gyazo.com/eef630aa644e27bb5ce2d457610bf409.png
Click to expand...
Click to collapse
I don't think with your PC you can compile a Rom.
xpirt
xpirt said:
I don't think with your PC you can compile a Rom.
xpirt
Click to expand...
Click to collapse
It's quite old :crying:
I'll probably be buying a new one soon tbh, but as for now, will there be anything helpful i can do ??
MrRootGuy said:
It's quite old :crying:
I'll probably be buying a new one soon tbh, but as for now, will there be anything helpful i can do ??
Click to expand...
Click to collapse
As devs are waiting for atis112's device tree and new kernel source 3.4 (I think?). I don't think you can really do anything at the moment.
You can fix Sense 5 Bluetooth, btw.
xpirt
Wait, i might have a 32bit one with 6g of RAM and and like 2gh but its a vista
Then there is another 64bit one 4g of RAM windows 7 but not sure on the rest of the specs
would any of them manage?
Deleted
xpirt said:
As devs are waiting for atis112's device tree and new kernel source 3.4 (I think?). I don't think you can really do anything at the moment.
You can fix Sense 5 Bluetooth, btw.
xpirt
Click to expand...
Click to collapse
How can I do that :cyclops:
MrRootGuy said:
Wait, i might have a 32bit one with 6g of RAM and and like 2gh but its a vista
Then there is another 64bit one 4g of RAM windows 7 but not sure on the rest of the specs
would any of them manage?
Click to expand...
Click to collapse
You read my post? Devs don't need people for test until they will get device tree.
So try doing another works, like fix Bluetooth (like I said...)
xpirt
xpirt said:
You read my post? Devs don't need people for test until they will get device tree.
So try doing another works, like fix Bluetooth (like I said...)
xpirt
Click to expand...
Click to collapse
sorry i was writing that message whilst you posted that
MrRootGuy said:
sorry i was writing that message whilst you posted that
Click to expand...
Click to collapse
Ok.. So try doing what dominos_liberty said in mySENSE-dx5 thread.
If you are not able to do that, just wait for other releases.
xpirt
Listen Please:
1. YOU NEED LINUX DISTRO. UBUNTU/LIMUXMINT/ETC ETC and 64 bit (Not Windows, as compiling on it, EVEN IF YOU SOMEHOW DO IT, will be complex as hell)
2. Ram must be at least 3-5 gb, otherwise the compile will crash a lot. Then you have to restart and resume compile multiple times.
3. You are a total noob... Not saying in Offensive way, but its a fact. So dont hurry about anything. Better yet, search google and chat with any dev.
Sincere advice, Read lots of guide and learn linux first. If you havent used it till now, you wont be able to do a single thing on it..... it is TOTALLY unlike windows... except maybe a few GUI elements.
Learn about linux some more. Then follow some compile guides by searching google. I know you are eager to help and learn, but creating threads wont make you learn... reading will. Read, read and then read some more.
MrRootGuy said:
I can learn about developing roms/mods/themes/fixing bugs or porting and all that sort of stuff?? Find it quite interesting and it would be nice if in a few months I could be helping atis112 and co.
Click to expand...
Click to collapse
Well I recommend you to start from decompiling various apk's and making changes in them. That's how I started. You should not start directly with compiling and stuff yet.. make a stock based custom rom for your phone. That's the first step.

Categories

Resources