[Q] How to make a Rom? - XPERIA X8 Q&A, Help & Troubleshooting

Please!!!

any answer?????'

Use the search button before you make a thread!

i haven't found anything about the x8

lucasiumej said:
i haven't found anything about the x8
Click to expand...
Click to collapse
And chances are that you won't find a tutorial about how to cook a ROM for the X8.
In theory you have all the information you're possibly looking for around in the General Android Forums section as well as in the Chef section.
To build from scratch you need the Android SDK/NDK, the Android source code (you're most likely looking for the CM7 git sources), a kitchen, maybe Eclipse (the Integrated Development Environment) and a whole lot of coding experience to tackle the task. EDIT: You also need: A computer featuring a CPU supporting 64-Bit, a 64-Bit Linux distro (i.e. Ubuntu or Linux Mint in their x86_64 edition) and AT LEAST 8GB RAM to successfully compile Gingerbread/ICS.
The easier task might be to mod a existing ROM (of course ONLY with the express permission of the author of the ROM as well as of all other developers whose modules you are using), but even this requires a solid knowledge about what you're doing.
Oh, and you also need a phone where you can test out your ROM creation (just because it works in the SDK Emulator does not mean it works on the real device), and you need to be able pull your phone back out of "bad flash" in case your ROM or Kernel creation bricked your phone.
In short, the answer to your question is nothing more than reading up on lots of stuff and adapting things to the specifics of the X8 and porting a whole lot of stuff to make it work with the X8 (you know, the vanilla AOSP sources don't come with X8 drivers to support camera and so on).

As B.Jay said You need a looooooooooooooooooot of patience because every time something will go wrong. Also you must know how to analyze logs from terminal. It's really complicated stuff.

eagleeyetom said:
You need a looooooooooooooooooot of patience because every time something will go wrong.
Click to expand...
Click to collapse
LOL...
Yeah, welcome to the fabulous world of open source software where there are always surprises upon invoking "make"

you have to become einstien of android if you want to make a rom!! lol

freshy wanna cook a rom..??
yeah U have learn from modify rom first
and when u aready know what the stuff very well
that is u r ready...

Or you could use ROMMODGEN.com
Sent from my X8 using xda premium

Why do you need 8 Gb of ram?

I was able to compile CM7 with 1,5 GB of RAM on virtual machine. It was compiling for about 4 hours + time to fix errors 8GB of RAM is needed to compile ICS, because it's a beast There's one rule - more RAM, quicker result for magic "make" command

Related

How Hard?

im so in the mood to learn and make some roms....i wanted to ask can somoene help me by guiding me or maybe linking me to the right direction because i really want to customize roms...not too hard but to be able to tweak a bit on roms...pleae can someone help???
I'd recommend starting with going to the Android Open Source Project. They have full docs on how to download and compile the source code. Once you've successfully built a stock image you can start mixing and matching or tweaking code.
You can also Google things like "building froyo source" and such to find tutorials. Many of those will be for specific phones but the general principals are similar.
If you want to jump in the deep end Cyanogen's wiki has a tutorial on building Cyanogenmod from source.
Sent from my Nexus One using XDA App
ok thanks alot!

[Q] So I want to port a rom......

What is porting a rom? I think it is just taking a rom from different phone and making it work on another device....is that right?
If that is right I want to port a rom or roms from the Nexus One to the HTC Hero CDMA.
But can anyone list what tools and knowledge I will need? I'm running windows 7. So any programs or books I need to read can someone give links to information about the book, or links to download/buy the program that I'll need to get started on porting roms to our HTC Hero CDMA.
Also can someone tell me the pros and cons of porting roms as well?
Thanks, I can't wait to get started on this
Try using the ultimate theme injector is what I've been using
Sent from my DROIDX using XDA App
If you really want to get into it I suggest running a Linux distro. I run ubuntu 10.04. Haven't had windows on my computer since August of last year. Took a little while to get use to, but I now like it better. Also gives you the ability to get repos, compile Android and kernels, and much more.
Depending on what you are porting it might require new drivers, xml edits and resizing, the theme injector will only do so much. I think it will only replace and resize images.
Sent from my dual-booted liquidsense 2.1
spleef said:
Try using the ultimate theme injector is what I've been using
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
so i use this for resizing/replacing images.....
unCoRrUpTeD said:
If you really want to get into it I suggest running a Linux distro. I run ubuntu 10.04. Haven't had windows on my computer since August of last year. Took a little while to get use to, but I now like it better. Also gives you the ability to get repos, compile Android and kernels, and much more.
Depending on what you are porting it might require new drivers, xml edits and resizing, the theme injector will only do so much. I think it will only replace and resize images.
Sent from my dual-booted liquidsense 2.1
Click to expand...
Click to collapse
and then you say use my linux distro for everything else.....but where are the links tutorials/books i need to read/tools i'll need to get started on the rest of the stuff for porting roms?
thanks for helping btw
Have you built any roms yet? I'd suggest getting a kitchen and playing around with a known good rom - get used to what's there, what you can change, things like that. I've been playing around with dsixda's HTC Android Kitchen (on WinXP using Cygwin) lately with a few ROMs (my stock rom, liquid sense, aosp, and CM6). That's the best way to learn IMO.
TJinWV said:
Have you built any roms yet? I'd suggest getting a kitchen and playing around with a known good rom - get used to what's there, what you can change, things like that. I've been playing around with dsixda's HTC Android Kitchen (on WinXP using Cygwin) lately with a few ROMs (my stock rom, liquid sense, aosp, and CM6). That's the best way to learn IMO.
Click to expand...
Click to collapse
OOOOOOOOOH!!!!!11
that sounds like that might actually work....once i get a kitchen set up on linux mint. play around with a few different roms and see what i'm able to change, find out what it is that i'm changing and what changing it does.....AAAAHHH YOU'RE A GENIUS!
That sounds like that will work for learning to begin to develope beginner roms, and improve roms.
But now that you've got me set for like the first few months of learning. I don't want to post another thread about porting roms, so anyone know any information on porting roms? I know the user above said use a theme injector but that is for resizing and editing the images of the rom im porting. There has to be more to porting a rom than just resizing images. I'm trying to get all my information ahead of time so that i can just jump into developing with little to no questions for our device
kifno, that kitchen also has "experimental" porting tools in the Advanced Menu. I meant to say that in my original post.
TJinWV said:
kifno, that kitchen also has "experimental" porting tools in the Advanced Menu. I meant to say that in my original post.
Click to expand...
Click to collapse
Thanks for letting me know. Now once I begin porting roms I'll have at least a start. Thanks everyone
Sent from my DROIDX using XDA App
kifno said:
Thanks for letting me know. Now once I begin porting roms I'll have at least a start. Thanks everyone
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
If your open to Suggestions... Try going to theunlockr.com, and Select the "How to's" Then Look for the Rom Development section... Know what, I'll do it for you!
Hold on!!
Ok here you go:
Watch these videos, see if they Help you out a bit!
http://theunlockr.com/category/howt...-development-how-tos/rom-development-how-tos/
Sent from my Hero using XDA App

[Q] kernel 2.6.32 ??

look im a n00b(still learning android stuff),
so this question is just out of curosity
why cant we have kernel 2.6.32 ??
well google said froyo needs atleast 2.6.32 to run
but we here are running gingerbread smoothly on 2.6.29(thnaks to all the awsoms devs )
can someone knowledgble reply
thank you ;p
Simply because the kernel drivers needed for the X8 only exist in Linux 2.6.29 as published by Sony Ericsson.
If you would want to use a newer Kernel release (i.e. the ones Google is using for their Android builds) you need to port the drivers to that kernel version - read: make them fit the kernel.
That's a very tedious process, so it's easier for the ROM and Kernel developers to base their work upon the original SEMC Linux 2.6.29 sources.
on short: its easier to port drivers from 2.6.32 or 35 or 38 than make the base 2.6.32.... working on our phone
as b.jay said, porting kernels takes a long time, and if you recive only a couple of errors in the middle of it, BOOM, you gotta go back to the sart and track what wrong command you typed or what code is wrong etc. thats why no one has ported 2.6.32 kernel.
to many drivers to cope with, to much errors that you will recive. porting roms is easyer
thanks guyz for the answers....in short it is possible to have kernel 2.6.32....maybe nAa can port it....he has already backported some stuff.
It is possibe given someone wants to spend an insane amount of time (edit: we're talking several weeks to several months here) in forward-porting the Shakira specific drivers and additions to the ARM Linux code base.
I don't see it happen as it's a enormous undertaking for a single developer to port the whole stuff - that would require a medium-sized team of coders a) knowing what to port / b) well versed in Linux Kernel hacking / c) knowing how to code for ARM (edit: as the existing sources most likely need to be adapted to the Kernel ABI (in this case 2.6.3.x), which is not exactly stable in Linux and changes erratically as Linus' maintainers see fit. Also, don't forget that the changes need to be tested to see if the kernel boots and works flawlessly).
Don't hang your hopes too high.
need to much time to update linux version of kernel
But for instance lg optimus p350 has almost same specs but runs .32 kernel.it has same qualcomm 600 mhz cpu,ardeno 200,and 140 mb ram.so x8 has even better specs.so i dont se why this wouldnt be possible.
Sent from my GT-I5800 using xda premium

Anybody willing to guide a newbie?

Hi everyone!
I'm looking to become a future dev of the Samsung Captivate Glide, but as we're awaiting the official ICS from AT&T the forum right now is pretty dead. We have a project going but nobody to guide us, and we wish to compile CM9 or AOSP ICS. Would anyone take me in and teach me the basics of ROMing? I would greatly appreciate it! I have a Mac and Windows, I'm not sure if Linux is required :|
~Aquethys
the rom is the least of the worries to get dev going on your phone, getting the kernel going is the hard part. does your phone have the source code released?
I don't believe so, people in our ics port thread are saying we don't have a working ics kernel. We do have a gingerbread kernel though... :/
How would I start?
Sent from my SAMSUNG-SGH-I927R using xda premium
well you take parts from the GB kernel and apply it to parts from the AOSP kernel, and troubleshoot until it boots. then you troubleshoot all the other issues, there will be issues, then you can start doing fancy things like add cwm. then tweak the kernel....
start reading on kernels, ramdisk, rils, libs, and drivers, linux, compiling, AOSP, github repositories.
you might be ready to take on this task in 6 months.... minimum
dont take that as snooty, ive been on here over a year, and know jack squat about half the things i just told you to study. though i have no desire to build kernels myself. there is lots of great info scattered all over xda. but you will need an experienced dev, to port ICS. you need to know basic kernel modification stuff before trying to do something as big as porting a new android version from out your but.
automated compiling isnt as automated as it sounds.
Alright. What programs will I need to begin with? Hopefully an experienced dev can guide me, I'm not too good @ following guides/tutorials but I'll try my best!
Sent from my SAMSUNG-SGH-I927R using xda premium
EDIT: Made a dropbox account, hopefully you could guide me through the basics?
So, is this the source code for SGH-I927 you were talking about? I downloaded it, what do I do with it? Is it different for ICS and GB?

What is Kernel ?

I am new here, and I am very confuse about kernel.
I know what ROM is, and the benefit of custom ROM. But I am not sure about kernel. What is it exactly? Please give me a simple explanation.
Is the kernel included in rom when I install a custom rom?
Beside THat i don't have the ability to unlock bootloader coz manuf above 29 w11a32 so what is the issue.
and i think kernel is the reason that coz my phone soft brick more than a time coz this what is called kernel any help ???
1st: Hi, and welcome to the forum hope you enjoy your stay
2nd. Ok, a kernel is what the phone manages its power from. it controls the power and battery on your phone.
press the thanks button if i helped
hello..
you should have searched and read before asking.. i mean i am also new but i have successfully learnt what a 'noob' can maximally know like about roms, kernels. etc..
refer to this very guide... it will give all answers required by you related to kernel roms bootloader etc..... hopefully..
http://forum.xda-developers.com/showthread.php?t=1590266
and about the bootloader thing... its just that its not recommended to unlock it after 11w29 series..
These phones ship with a revamped chipset configuration having the security hole the boot loader unlock uses effectively closed. This means that upon unlocking the boot loader your phone will end up as a hard brick - and you will have NO means to revive the phone yourselves. You either have to send it off to Sony Ericsson for repair (recommended solution) or find a phone repair shop being able to resurrect shot devices!
refer to the foll thread:
http://forum.xda-developers.com/showthread.php?t=1481630
kernel is something like bridge between HW and the SW. SW (ROM, apps,...) communicates with HW (camera, display, digitizer,...) through kernel
if you want some more info, look here
Hi, welcome to XDA!
The X8 phone runs Android.
Android is a Google led variation of Linux kernel.
Linux is an Open Source (a share and share a like philosophy) kernel that can run on pretty much anything. It is like the engine of a car (though I wouldn't take the analogy too far).
On top of the Kernel, various layers of software are placed to either form a desktop environment, a server environment, the X8 stock software or any other Android phone. (Like the differing body shapes of cars, though again I would not take the analogy past this loose interpretation! )
This software consists of things like drivers (enabling inputs such as the touchscreen to interact with the Kernel) through to your homescreen, through to Apps you download.
So to recap, the Kernel is the core of the phone's software and any collection of software on top of the kernel is known as a ROM! They are not entirely separate though and very much linked together, joined at the hip, so to speak.
The phone when you buy it comes with a Kernel and ROM, both created by Sony Ericsson from the software (code) that Google provides, they customise it the way they feel is best for the look they want from their phones.
If you want a different look or feel, a custom ROM (a ROM not created by SE but another team of people who create software, known as developers!) is a good option.
A custom Kernel goes that one step further and allows for greater tweaking on the part of the developers. Some ROMS require a custom kernel for parts of the ROM software to work properly.
Hope that helps
Hi nlao,
Welcome to the community.
Please take some time to Introduce Yourself and read FORUM RULES.
Hope you enjoy your stay here, and help others in the future.
Have you already learned what kernel is and its benefits?
For me : Kernel = BIOS and ROM is windows
Sent from my X8 running nAa and D_d piece of art called MiniCM9
CosminAdriaan said:
For me : Kernel = BIOS and ROM is windows
Click to expand...
Click to collapse
Whilst I like the analogy its not so accurate as Windows has a Kernel too! When using either windows or Linux on a PC you have this basic model:
BIOS --> Kernel --> Software Collection
A somewhat detailed but better written explanation than I could achieve can be found at History of GNU, Linux and Gnome, the relevant section has been pasted below:
"A fundamental misunderstanding is the relationship between Linux and operating systems. Linux is the low level code that interacts with and controls the hardware of the computer (whether it is an Intel 486, Pentium, Sun Sparc, or a Merced). This is the kernel of the operating system, providing routines to help applications talk to each other, allowing many applications to share the CPU at the same time, and managing the use of memory, allowing many different applications to run at the same time without interfering with other applications. Linus Torvalds wrote the first Linux kernel in 1991 and it continues to be actively developed today by Linus and a core team of international developers.
While the kernel is crucial, it is the larger suite of software that sits on top of the kernel that provides the functional operating system."
---------- Post added at 10:36 AM ---------- Previous post was at 10:32 AM ----------
deedii said:
Hi nlao,
Welcome to the community.
Please take some time to Introduce Yourself and read FORUM RULES.
Hope you enjoy your stay here, and help others in the future.
Have you already learned what kernel is and its benefits?
Click to expand...
Click to collapse
Hi deedii, thanks for the Hi! I have posted a little hi message! I have been using Linux for years and have played about with custom kernels for my PC but am new to Android hacking as it has its own nuances and is different to something like Debian!
I got now What is the kernel mean. thanks to all of u for ur replies.
there's so many ROM that i can't flsh it on my phone due to kernel and i think to flash kernel u have to unlock bootloader. and manufacture of my phone doesn't support unlock coz will make a hard brick . for instance i want to flash prime hd8 i tried but it coz a soft brick>>>>>???? what to do
nlao said:
Hi deedii, thanks for the Hi! I have posted a little hi message! I have been using Linux for years and have played about with custom kernels for my PC but am new to Android hacking as it has its own nuances and is different to something like Debian!
Click to expand...
Click to collapse
what flavor do you use dude?

Categories

Resources