[Q] Making my own ROM from AOSP (school project) - Galaxy S I9000 Q&A, Help & Troubleshooting

Hi guys/girls,
I would like to create a Galaxy S (I9000) ROM for a school project from AOSP.
There are a few to I would like to know before I start:
Because I can't work on it for more than 80 hours (including research), would this be do-able for a person with no real programming experience (yet)?
What version of Android do you recommend me to make? (which is the best for a beginner)
Does it cost me money? (drivers from samsungs?)
Will you be able to help me if I can't figure it out with Google/XDA?
My goal is to make it work, not to make it the fastest ROM on XDA or something professional.
Thank you for your answer.

No one?
10 charsss

Hi,
Sounds like an exiting project. I think the easiest way to get started would be to use dsixda's Android Kitchen.
http://forum.xda-developers.com/showthread.php?t=1257297

Interesting, i'll follow this thread

I would say no to less than 80 hours, especially if you have no experience.

Download any rom from here modify bootanimation and some
Minor GUI elements as well as add some apks and submit it. Nobody's gonna know a thing (since this is a school project)
Sent from my GT-I9000 using Tapatalk

snapper.fishes said:
I would say no to less than 80 hours, especially if you have no experience.
Click to expand...
Click to collapse
Hmm okay thank you for the answer, that was my main point..
Then I'll have to figure something out for a new subject, because I can't just do what Gcuhiha sais (60-100 hours min-max and you can do that in 5 min) and Dsixda's Android Kitchen sounds great but not for this sort of project, from what I read about it and saw on video it's not really advanced and you're finished kinda soon. I do have to write a report about it on how I did it and that kind of things and ofcourse I can't say I pressed 1 and 2 and installed it..
Is making an app different? I mean is it possible to make one in ~80 hours? (for the samsung galaxy s GT I9000)
For making a simple game, i.e. Snake.

The reason why I said no is that compiling Android from aosp source is a massive project. It took some of the most experienced developers months just to get cm7 working on the i9000. The codes for the drivers are a nightmare to work out, and not something that you want to deal with in a 80 hour time scale. You might well have something working by the end, but it's going to be buggy to the point that it might not be useable.
As for building a stock ROM like someone else has suggested, now that's easy. The framework is already there, so all you are really doing is some theming, adding a few extra apps and may be tweaking some kernel values. It's not really cheating, but probably not very satisfying.
As for writing your own app, well that should definitely be doable, especially if you make use of tools like app builder. Android programming is a lot like java, so knowing that will help, but not necessary. High level programming language is very similar to normal English.
Knowledge is Power. Guard it well.

Related

Individual Phone power.

I honestly couldn't think of a good title, and I was half and half about posting this in the themes/wallpaper section or developement.
But ever since we started partitioning our sd cards I always felt like that was something we should be able to do through our phones, mainly because I lacked resources to download and run everything.
And now I'm thinking it would be very nice if we had a feature to customize our phones without using our PC's or MAC's! I could go into detail about what to include but I'm sure we all know what we want to see done.
And besides, the HTC Sapphire has that FreshFace app that looks ok, but lets out due that app already and build something along these lines of deeper, better, more personal customization.
No offense to any theme makers I appreciate all your work.
This should be in the apps section, definitely not development.
How about Open Home or aHome?
Or better yet, you can create your own theme and it would be completely customized
Diceman4 said:
This should be in the apps section, definitely not development.
How about Open Home or aHome?
Or better yet, you can create your own theme and it would be completely customized
Click to expand...
Click to collapse
Lol I would if I was educated enough in the manner, I'd pretty much make whatever anyone wanted because I think its pretty interesting. Just given my enviorment of a family p.c. and a small notebook, I doubt I'll have the right time to learn and all that buddy.
android being open source "is" what you speak of in terms of customization already.. problem is that it "is" customization only by the ones who speak the language of Java.
Themes or whatnot can be done with resigning new images into a update.zip without too much learning curve if you know how to do graphics.
The ones without the talent.. like hyenas.. just take what they can get and get by on xda lurking.
I started closest to the last statement and am now currently at the second where I can comfortably change graphics and use adb and signing apk as I please. This lets me pretty much change anything minus the rom and os itself that requires coding. I just got my second bill from t-mo.
Just do it.

Android Devs: What are the biggest challenges in porting Android to Xperia X1?

The intent of this thread was to provide a consolidated answer to all of those waiting patiently (some, not so patient) for a complete Android ROM for the SE Xperia X1.
Many perceive Android as "a hacker's OS" because it is both open source, and supported on so many other HTC devices. Because of this, I suspect many of the "spectators" here (like me) incorrectly assumed that Android on Kovsky (or, any HTC smartphone) would be a straight forward affair, considering some of the amazing work done here with the Windows Mobile ROMs.
It seems, however, that creating a usable Android ROM for Xperia is far more difficult than creating WM6 ROMs? Android has been out for quite some time and there's still no widely available Android ROM for Xperia X1. It is for this reason that I've started this thread.
I'd like to hear from those that have/are working on Android about the challenges in putting together an Android ROM for Xperia X1. What has contributed to this being a difficult OS to port to Kovsky?
Is it driver support? Perhaps Kovsky has a unique selection of hardware that complicates the process? Or, has much of the effort been directed towards Haret vs. a native ROM? If so, why? Can the Haret work be merged into an effort to create an Android ROM or are these different approaches completely exclusive to one another?
Perhaps there are IP/DRM/license issues that are complicating the effort? I'd very much like to hear from ROM chef and devs working on this port.
While it may seem like a idealist perspective, I wonder if some dialog on the issues surrounding an Android port/ROM might result in greater community involvement, and ultimately a stellar Android ROM for one of HTC's most beautiful smartphones. I'm certain that interest in Android on Kovsky is very high. Are there areas where the community might be able to assist with direct hardware, financial or other contributions?
So please, sound off. I'm very interested to hear about chefs/devs experiences with Android and I'm certain there are many here that would like to hear more about this port.
I just didnt know how to tell all you told here... I really want to know because I love my x1 and I love Android.. but i can"t help
i have just check out the Kovsky project from Gitorious, but still don't know how to work on it. 'cause i don't have much knowledge about develop kernel and open source, why don't we have a tutorial thread about this?
You people asking when a Android rom is coming just about every day are so funny. First of all their are still major issues that need to be worked out. Android running from haret is not even every day usable yet so what is the freakin point of expecting a rom now or asking about it? Do you guys want a rom where you phone won't even last 2-3 hours, GPS dosen't work along with the camera etc......? We need All the issues fixed before we can even be thinking about a rom. When Android from Haret is everyday usable then lets start talking about a rom. So can we please give the Devs a break about this rom nonsense and let them work in peace, when their ready to release a Android rom they will release a Android rom.
wphoenix said:
i have just check out the Kovsky project from Gitorious, but still don't know how to work on it. 'cause i don't have much knowledge about develop kernel and open source, why don't we have a tutorial thread about this?
Click to expand...
Click to collapse
would like that too, i've only been reading for some good time about the advances, and would like very much to take part in the development of the kernel, but don't really know where to start from
Also, what Viper says its very true... the work is probably a long way from done, depending on how much help the dev's get, which is, from what i've seen, not much.
about Toe_Cutter's comment "I wonder if some dialog on the issues surrounding an Android port/ROM might result in greater community involvement, and ultimately a stellar Android ROM for one of HTC's most beautiful smartphones" ... well, yeah, i think it could... at least i hope so.
xD
cool down all your heads and lets just help in every way we can
...as (ilgreco112) does xD... cheering up isn always bad hahaha
ps: first post!! ... Hi!
Viper89 said:
You people asking when a Android rom is coming just about every day are so funny. First of all their are still major issues that need to be worked out. Android running from haret is not even every day usable yet so what is the freakin point of expecting a rom now or asking about it? Do you guys want a rom where you phone won't even last 2-3 hours, GPS dosen't work along with the camera etc......? We need All the issues fixed before we can even be thinking about a rom. When Android from Haret is everyday usable then lets start talking about a rom. So can we please give the Devs a break about this rom nonsense and let them work in peace, when their ready to release a Android rom they will release a Android rom.
Click to expand...
Click to collapse
As a dev, I bet it IS tiring hearing all the spectators asking about an Android ROM.
But what do you expect when spectators ask about the issues, and receive nothing in response?
In my original post, I chose my words very, very carefully, because if you go back and read it again, I never asked when, I only asked the why and how.
Why is it that no one can provide a response to this question? I searched the forum, and read thru dozens of posts trying to understand what this port might require, and I got nada (except several polls asking about an Android ROM, and a few more posts telling the spectators to quit asking about an Android ROM).
Anyone care to break the cycle and help the community understand the issues?
Well, the problem is that you can never guess what's required and how to achieve it. First of all, developers really know nothing about the hardware before they begin hacking it. Until you finish the job, you can't estimate the time it takes to complete. The major problem is that most of us devote just a tiny bit of our time to the porting, because there are lots of interesting things to learn and to do except it, but mostly because everyone's either studying or working (or even both).
But if you really want to know what's needed.. well
1. Fix the LCD panel (add the initialisation code)
2. Fix the power saving (that's the greatest PITA right now) and 3D (the latter should be easy and is not really critical)
3. Implement Bluetooth, FM Radio, Camera (Should not be really hard on the driver side, but rather on the RPC protocol side)
4. Fix USB (should be easy.. actually, everything's done on the device driver side, the problem seems to be with the msm usb driver itself.. just needs real debugging)
5.Make a version of rom that boots from NAND (well, once you get the LCD to work correctly it's not a problem. It actually boots very well off nand, but without LCD and USB working it's not much fun, to tell the truth)
6.Clean up the code, drop the ****ty-droid and head forwards to SHR/Maemo MER/Meego or some other real linux distro with X11 and other things
7.Write up misc stuff (like optical joystick, illumination, new keypad driver and others)
But really, it you want to help, just begin researching everything yourself and exploring wince drivers. You know, Theo de Raadt once said: "shut up and hack", and that's the only way to get things done.
full ack
@sp3dev
full ack your post. the main problems ar not at android 2.x this source we have. but the kernel an its's modules (for kovsky) are the problem.
regards
Toe_Cutter said:
As a dev, I bet it IS tiring hearing all the spectators asking about an Android ROM.
But what do you expect when spectators ask about the issues, and receive nothing in response?
In my original post, I chose my words very, very carefully, because if you go back and read it again, I never asked when, I only asked the why and how.
Why is it that no one can provide a response to this question? I searched the forum, and read thru dozens of posts trying to understand what this port might require, and I got nada (except several polls asking about an Android ROM, and a few more posts telling the spectators to quit asking about an Android ROM).
Anyone care to break the cycle and help the community understand the issues?
Click to expand...
Click to collapse
The ROM question has been answered time and again throughout various threads on xda-dev.
There is no real issue "porting" Android to kovsky. Android is a virtualized environment running on a linux
kernel and it is that kernel that has to be ported. "Android" runs 100% on kovsky with minimal modification.
So. There is only one issue with the linux kernel - that issue is when the linux kernel for kovsky
is good enough for someone to make the effort to pack up a ROM with that kernel,
a bootloader and the android system.
Now, the consensus is the kernel isn't as yet good enough for daily use -
if someone with the skills decides it is and makes a ROM, then they will
obviously do so.
The list of kernel stuff to be fixed is broadcast all over this board and asking kernel devs
to repeat themselves ad nauseum won't get it done any faster

CM6/Froyo + Sense UI (Development & Funding)

To all:
I am very interested in getting balls deep into the development/"porting" of the Sense UI to CM6 or a vanilla 2.2 kernel for the Moto Droid. I realize that none of the Sense UI based official source is available at this time - but it will be. I am willing to invest time and money into this effort. I think it will be a great learning experience too. Please let me know if you're interested and what your current skillset is.
My android experience is limited to compiling kernels and medicore java development. I've been doing *nix development for ~5 years now and would like transition deeper into the android (low level) development world.
Thanks.
sounds great i am a huge fan of zusedroid and 2.2 i swich between the to all the time and seeing that someone is willing to work on it is great because i saw the zd team slowly fall apart or as it seems i think they just gave up on it or somthing or they all just got a droid x but great news i would be willing to healp but i dont know what i would have to offer o well i think u should port frome the droid incredible because it is gsm and not cdma like the diser or the nexusthiss one should be hard but easyer than what zd had to put wp with
id love to see this go into a full port. i've been using the zeusdroid for now, the drawbacks suck but i love the htc sense so i put up with the flaws.
helping financially is tough as i am a full time student, however i am upon my last year of electrical engineering, but no major programing or developing experience however if there's something i can tackle i'll be happy to try
monty_boy said:
To all:
I am very interested in getting balls deep into the development/"porting" of the Sense UI to CM6 or a vanilla 2.2 kernel for the Moto Droid. I realize that none of the Sense UI based official source is available at this time - but it will be. I am willing to invest time and money into this effort. I think it will be a great learning experience too. Please let me know if you're interested and what your current skillset is.
My android experience is limited to compiling kernels and medicore java development. I've been doing *nix development for ~5 years now and would like transition deeper into the android (low level) development world.
Thanks.
Click to expand...
Click to collapse
umm i just started a thread where i have PORTED sense 2.2 to the droid it IS NOT fully working and i need more devs to help me.
Does it boot up fully or boot loop because if it fully boots I would love to try
bmx24 said:
Does it boot up fully or boot loop because if it fully boots I would love to try
Click to expand...
Click to collapse
It boots up fully to sense ui but it's not fully functional yet.
i would LOVE a completely working 2.2 sense rom for the droid. i think the droid incredible would definitely be the thing to work with to make it happen. I cant help do it, but i will definitely donate a ton AFTER a completely working rom is made, and i think a lot of other people would too.
maybe you could recruit someone from the original zeusdroid team.
please please make this work, that would be amazing. good luck, and donations would come, if its completed
Just a bit of random knowledge - CM is an EXCELLENT rom, as a project of its own. It is built from source and heavily modified. With great power, comes great responsibility. It can be further modified, but is in no way a good start point for porting a pre-built rom. I am speaking from experience in saying that it is a VERY customized build. You are FAR better starting with sense, and a stock rom to splice in. I made the mistake of thinking I could use a CM build as a start when porting sense to the mytouch. 3 Migraines later, I realized what the issue was, and while parts of CM could be ported to sense, sense was not being ported to CM.
Example - Take the stock 84B Boot image and slap it on any rom and you will see that all of them function except CM. The boot and system are built together, which is efficient when it is released as a complete package, but again, not good for using as a start to any hack and slash project.
That said, the best option is to get parts from Zeusdroid Alpha, parts from Milestone MotoSense, and have a chat with barak and eugene about how they ported the original Milestone firmware to Droid, and combine this knowledge

Where have all the ROMs gone.....

Not to get on a rant here guys, but I came from Win mo and those guys really work it over there......
Roms galore of every size and shape. I kinda expected that from this really open platform.
No new looks , no new feel.
Wassup, are we waiting for things to shake loose or what.
Must every one roll their own?
Just asking......
Sent from my SAMSUNG-SGH-I897 using XDA App
ryoung101 said:
Not to get on a rant here guys, but I came from Win mo and those guys really work it over there......
Roms galore of every size and shape. I kinda expected that from this really open platform.
No new looks , no new feel.
Wassup, are we waiting for things to shake loose or what.
Must every one roll their own?
Just asking......
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=786532
Where is your rom?
Have you read anything on this forum?
And fyi, you can dl launchers and home screens to change looks without a rom right from app store. Search = friend
Sent from my SAMSUNG-SGH-I897 using XDA App
Also, I doubt much ROM development will happen (except for a few champions of the people, like DG) until the Samsung official Android 2.2 comes out, and more importantly, the source code for that 2.2 version is released.
But to be honest, with a piece of hardware this capable, even the 2.1 ROMs are pretty sweet. That and other projects are currently ongoing. Take for example the Vodoo project, which basically has entirely scrapped the default filesystem, and gone with EXT2. And will soon be coming with other tweaks and options for the awesome SAMOLED screen in our phones. Those aren't exactly simple bits of code being whipped up.
Yes, I come from the WinMo side of XDA as well, but around here, it's quality not quantity that counts.
Yikes.
http://forum.xda-developers.com/showthread.php?t=786532
http://forum.xda-developers.com/showthread.php?t=787194
http://forum.xda-developers.com/showthread.php?t=787194
just some ideas... when froyo gets to the captivate, im sure they will start cranking them out even more...
When ryoung checks in again in a year there will surely be more roms.
Sent from my SAMSUNG-SGH-I897 using XDA App
Everyone is so mean to the OP. He cant help it he is sofa king we tar did.
It's actually understandable why the OP is asking. I too spent a lot of time with WinMo and was used to having 10+ ROMs available. But I quickly realized that WinMo NEEDed modified ROMs just to give it functionality and performance. When I got my HTC Touch HD I thought I had the pinnacle of mobile phone technology, but yet I was still always trying new ROMS because I wasn't satisfied with the performance and functionality.
This Captivate is my first Android phone and from what I can tell we don't actually NEED a ROM to make the phone awesome.
WinMo needed ROMs to be a good experience, hence there was a lot of people focused on that aspect of development.
Android, and especially our awesome phone, doesn't need a new ROM to be a good experience so most of the genius developers are able to focus on other projects like various applications rather than just simply trying to get our phones to function.
WinMo required lots of hacking and ROMs to get the same functionality that our phone has by simply installing a new widget or app.
So to the OP, if you ever check back, you don't see a ton of ROMs because frankly they're not required. Welcome to Android! It's a much smoother and satisfying experience than your previous WinMo experience. I can say that because I was just like you just a couple months ago.
sschrupp said:
It's actually understandable why the OP is asking. I too spent a lot of time with WinMo and was used to having 10+ ROMs available. But I quickly realized that WinMo NEEDed modified ROMs just to give it functionality and performance. When I got my HTC Touch HD I thought I had the pinnacle of mobile phone technology, but yet I was still always trying new ROMS because I wasn't satisfied with the performance and functionality.
This Captivate is my first Android phone and from what I can tell we don't actually NEED a ROM to make the phone awesome.
WinMo needed ROMs to be a good experience, hence there was a lot of people focused on that aspect of development.
Android, and especially our awesome phone, doesn't need a new ROM to be a good experience so most of the genius developers are able to focus on other projects like various applications rather than just simply trying to get our phones to function.
WinMo required lots of hacking and ROMs to get the same functionality that our phone has by simply installing a new widget or app.
So to the OP, if you ever check back, you don't see a ton of ROMs because frankly they're not required. Welcome to Android! It's a much smoother and satisfying experience than your previous WinMo experience. I can say that because I was just like you just a couple months ago.
Click to expand...
Click to collapse
and not all of us know how to make a rom quite yet
tbae2 said:
and not all of us know how to make a rom quite yet
Click to expand...
Click to collapse
Yeah, I don't doubt that there WILL be more ROMs. Especially with the scrabble to get Froyo before Samsung releases it. This is a new phone after all. I just know that with my old WinMo phones the first thing I would do with them is feel unsatisfied and attempt to install some hacked ROM to feel a little less satisfied.
With this phone I'm just happy right out of the box. Of course I don't use the GPS so maybe if I did I'd grumble a bit. But otherwise I think this phone is just incredible.

Rom Port Team Effort - Let's bring a diversity of roms to our P880.

Rom Port Team Effort
Hello P880 community.
This post has the purpose to put together a group of users / developers, who are willing to participate into bringing a different set of roms into our community.
These set of roms that I'm thinking, can range from complete Sense ports to more customized and maybe less popular roms (like ColorOS, LiGux, FlymeOS, FluidUI, etc..).
What's valid on this thread:
- CM / AOSP (any base we already have) themed (like Samsung TouchUI, Optimus, Blur, etc..). So you can grab any rom (with author authorization), theme it (i mean, not just shove an apk as default theme, I mean neat theming ).
- Ports from other devices (evert port needs to have clear authors permission to port it).
- All users are very welcome, everyone can participate, users with porting / developing skills are needed as well.
The idea is simple, we're not going to use this thread to post the work, this is just a thread to talk about possible projects.
We can start by listing which devices are hardware compatible and the port is "easily" possible.
Roms that can be used as a base for eventual future ports.
CM10.2 - thanks to laufersteppenwolf for compiling this build promptly for this purpose
http://goo.im/devs/laufersteppenwolf/CM10.2//cm-10.2-20140305-UNOFFICIAL-p880.zip
- - - - -
I strongly recommend the use of MultiRom for testing ports and other roms. That way you can maintain your working rom and whenver feeling adventurous you can without going through the hassle of backup / restore / yada yada yada that we are all too familiar with.
http://forum.xda-developers.com/showthread.php?t=2655988
- - List of Devices with hardware similar / close / identical to the 4X - -
- HTC One X
- HTC One X +
- More ??
- Possible roms to port:
Right now would be nice to see a OEM rom, such a touchwiz or Sense
Work in Progress
N/A available
(awaiting sugestions
So, what do you guys think? ? Any users with good porting skills ? I know we have good developers! Ideas? Sugestions?
Write away
A few guides from XDA - They may not be all you need to get the job done, but a LOT of important information is written here. Don't forget to thanks their authors
Guides / Tutorials
How to Port Roms by @saywhatt
How to Port Manufacturer Rom. by @GalaxyUser
How to port Stock/GB/CM7/CM9/ICS/CM10/JB Based ROMs by @Peteragent5
PS - Every work that is possible to port and if someone decides to invest time in it, it needs explicit authors permission.
Sure if a few people want a particular rom i can bring it to our device, but i would much prefer helping first time rom builders do this own their own then they can maintain it also
JoinTheRealms said:
Sure if a few people want a particular rom i can bring it to our device, but i would much prefer helping first time rom builders do this own their own then they can maintain it also
Click to expand...
Click to collapse
Well, I though about some sort of "voting" to bring a "specific" rom.
Personally, I'd love to have Sense on our device. I had two HTC's before and I miss that Sense interface :b
But far as I'm aware, isn't an easy thing to port.
About your offer, this thread stands mostly with learning. The idea is everyone being able to contribute and more users start bringing roms as their first times. So, thank you so much for lending your help and know how, I'm sure we'll have a fine list of possible ports and then we can talk about how to port them over
Everyone can ask for help and the idea is to everyone who is able to - help.
I like the idea of this thread, but what would also be quite usefull is a list of available ROMs and their maintainer(s).
Also the list should include ROMs someone is working on ATM, so it cannot happpen that 2 devs are working on the same ROM
However, your idea is good, but porting a ROM not from sorce is quite hard, and might need some smali "hacking" in order to resolve bugs.
But well, we're a community, and I guess we can help each other if needed, right
laufersteppenwolf said:
I like the idea of this thread, but what would also be quite usefull is a list of available ROMs and their maintainer(s).
Also the list should include ROMs someone is working on ATM, so it cannot happpen that 2 devs are working on the same ROM
However, your idea is good, but porting a ROM not from sorce is quite hard, and might need some smali "hacking" in order to resolve bugs.
But well, we're a community, and I guess we can help each other if needed, right
Click to expand...
Click to collapse
That's correct! :good:
The main point is to learn helping each other who knows in a month or so, today's whiners are tomorrow's contributors
Jokes aside, the first post will be edited in order to structure and add information.
I'm gonna start with compatible devices (the ones that allow porting in a easy way). Ideas? Besides the HTC One X ? I'm guessing the grouper (N7 2012) besides having the same soc, doesn't have the same screen...
PS - (this would be better with an experienced porter) - Maybe we could start with a easy one, and go on from there
I know we have "how to port" threads all around xda ,but each port is different so we can't use "one hat to fit them all" ... or a ring to rule them all, so we should treat each port differently.
However.. I'm gonna put some xda links about porting to bring some light into the matter for who is "new" on this subject... or for whom's feeling adventurous and can't wait to have "their" rom on "our" device
Oh yes finally, have been waiting for a thread like this for a long time me as well would love to see a sense rom on this phone
cm/aosp roms are not that hard to port most of the time u only need the same screen resolution for it to work. (ported a nexus s touchwiz rom over to my old lg optimus 2x) but would have loved to see some oem roms ported over as well, even though it would be a lot harder to port over. but as a wonderful community as this is we might be able to pull it off
MidnightDevil said:
That's correct! :good:
The main point is to learn helping each other who knows in a month or so, today's whiners are tomorrow's contributors
Jokes aside, the first post will be edited in order to structure and add information.
I'm gonna start with compatible devices (the ones that allow porting in a easy way). Ideas? Besides the HTC One X ? I'm guessing the grouper (N7 2012) besides having the same soc, doesn't have the same screen...
PS - (this would be better with an experienced porter) - Maybe we could start with a easy one, and go on from there
I know we have "how to port" threads all around xda ,but each port is different so we can't use "one hat to fit them all" ... or a ring to rule them all, so we should treat each port differently.
However.. I'm gonna put some xda links about porting to bring some light into the matter for who is "new" on this subject... or for whom's feeling adventurous and can't wait to have "their" rom on "our" device
Click to expand...
Click to collapse
You can add the HOX+ to the list as well
About porting, you need to seperate it in two halfs, porting from source, and "winzipping". TBH, I'm no fas of winzipping at all, but some stuff (like sense or TW) can only be winzipped...
BTW, if you need a 2nd/3rd post, just let me know
Personally, I'd like to see a GFlex or even better, a G2 (/mini) ROM for our phone (KitKat, of course )
This thread has potential
I'm new to this forum,so i dont know whats going on about roms,i see there are few devs working full time.
I think this is the best way to go: Port ALL open source roms,such as we have already,but we need them all.
Second,make a badass kernel,with all features and customizations,possibly 3.4.
Third,and just a suggestion,Make a community ROM?
I really like this thread,and i even more like this OX4 community,you all get along,and i've missed that,i was on a forum that has no frendly people whatsoever.
And,about the roms,the idea is awesome,but i always think of the clash of clans rule,max everything out before going on a higher level.
Sent from my LG-P880 using XDA Premium 4 mobile app
Regarding stock roms, it's an interesting thing, but I'm guessing stock roms are more trouble to port comparing to AOSP or CM.
I remember on the HTC Sensation forums the headaches sense brought to many developers and porters, the bunch of files that needed to be edited, kernel changes (aosp kernel is different from stock / sense kernel in that case).. so Stock roms are maybe harder to port fully.
Right now we have some apks from the G2 (lock screen, messaging, etc..), maybe someone will port some things from the Flex, but the whole base.. hum
@DeHuMaNiZeD , thanks for your reply
The other roms based of AOSP and CM, in my opinion, unless they're different (modded, themed, customized - etc..) but if not, if they are "clean" roms with no changes, then - we have them already I believe you'll agree. (Unless the idea is to test something).
A 3.4 kernel would be something, but perhaps a developer can shed some light here - what benefits would we have from a 3.4 kernel ?
A community rom is indeed long due. This thread is a different subject because it's about *several* roms, ports and tutorials, maybe you would like to create a thread here on General about that? You can start with votes (i believe it's a proper way to do it) with which base should we use (Cm, AOSP, Stock, etc..), included apps (or not), possibly aroma maybe and so on
DeHuMaNiZeD said:
This thread has potential
I'm new to this forum,so i dont know whats going on about roms,i see there are few devs working full time.
I think this is the best way to go: Port ALL open source roms,such as we have already,but we need them all.
Second,make a badass kernel,with all features and customizations,possibly 3.4.
Third,and just a suggestion,Make a community ROM?
I really like this thread,and i even more like this OX4 community,you all get along,and i've missed that,i was on a forum that has no frendly people whatsoever.
And,about the roms,the idea is awesome,but i always think of the clash of clans rule,max everything out before going on a higher level.
Sent from my LG-P880 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well, this sounds quite good, but the real problem is: this is a hell lot of work. Also, it needs resources. The sourcecode of a ROM is ~25-30GB. When it's compiled it's about double the size, and takes my PC (8 cores @ 4GHz) about 75Min to compile. Not to mention the time 'til the sources are Downloaded. My 500GB HDD is near to its limit very soon, so sooner or later I will need a new HDD, then I might be able to get another ROM ported, but right now, hard...
Also, why do you need a 3.4 kernel?
MidnightDevil said:
Regarding stock roms, it's an interesting thing, but I'm guessing stock roms are more trouble to port comparing to AOSP or CM.
I remember on the HTC Sensation forums the headaches sense brought to many developers and porters, the bunch of files that needed to be edited, kernel changes (aosp kernel is different from stock / sense kernel in that case).. so Stock roms are maybe harder to port fully.
Right now we have some apks from the G2 (lock screen, messaging, etc..), maybe someone will port some things from the Flex, but the whole base.. hum
@DeHuMaNiZeD , thanks for your reply
The other roms based of AOSP and CM, in my opinion, unless they're different (modded, themed, customized - etc..) but if not, if they are "clean" roms with no changes, then - we have them already I believe you'll agree. (Unless the idea is to test something).
A 3.4 kernel would be something, but perhaps a developer can shed some light here - what benefits would we have from a 3.4 kernel ?
A community rom is indeed long due. This thread is a different subject because it's about *several* roms, ports and tutorials, maybe you would like to create a thread here on General about that? You can start with votes (i believe it's a proper way to do it) with which base should we use (Cm, AOSP, Stock, etc..), included apps (or not), possibly aroma maybe and so on
Click to expand...
Click to collapse
For stock ROMs to work, it's your best bet to use AOSP as your base, and then look for what's missing/broken. This, however, means you need an AOSP base first to work with. And AOSP is not always the easiest thing to get properly running.
About the benefits of an 3.4 kernel: None IMO. All you get is a higher version-number, and that's it. We actually already have some 3.4 features backported, and also tweaked the 3.1 kernel quite a lot. So the actual benefits are all in your head (well, except you count bugs as benefits )
Community ROM? Meh, what for? We have so many ROMs already, so everyone should find the one that suits him/her best
BTW: Thread stuck
laufersteppenwolf said:
Well, this sounds quite good, but the real problem is: this is a hell lot of work. Also, it needs resources. The sourcecode of a ROM is ~25-30GB. When it's compiled it's about double the size, and takes my PC (8 cores @ 4GHz) about 75Min to compile. Not to mention the time 'til the sources are Downloaded. My 500GB HDD is near to its limit very soon, so sooner or later I will need a new HDD, then I might be able to get another ROM ported, but right now, hard...
Also, why do you need a 3.4 kernel?
For stock ROMs to work, it's your best bet to use AOSP as your base, and then look for what's missing/broken. This, however, means you need an AOSP base first to work with. And AOSP is not always the easiest thing to get properly running.
About the benefits of an 3.4 kernel: None IMO. All you get is a higher version-number, and that's it. We actually already have some 3.4 features backported, and also tweaked the 3.1 kernel quite a lot. So the actual benefits are all in your head (well, except you count bugs as benefits )
Community ROM? Meh, what for? We have so many ROMs already, so everyone should find the one that suits him/her best
BTW: Thread stuck
Click to expand...
Click to collapse
Why dont you set up that build server,i think they're cheap atm,or someone could borrow you? It would take a lot less time and effort. that's why i think offical rom support is important,once it's merged to the build bot,its their responsibility.
Sent from my LG-P880 using XDA Premium 4 mobile app
DeHuMaNiZeD said:
Why dont you set up that build server,i think they're cheap atm,or someone could borrow you? It would take a lot less time and effort. that's why i think offical rom support is important,once it's merged to the build bot,its their responsibility.
Sent from my LG-P880 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It's not as easy as you might think
I do have access to a buildserver, however I only have 100GB as it's a shared one, so this is genious for official builds, or quick tests/ports. But it isn't ideal for the long terms.
Also, having it official doesn't mean you're done you need to update it, and also fix it when it's broken. 'cause when it's broken, it can mess up the whole build process of the buildbot
But in general, you're right, having it official does help a lot
{fd}ware said:
Does anyone of you have a link to the latest CM10.2 (Android 4.3) for our device?
It seems like it's not anymore on get.cm and I wanted to start porting a TouchWiz (Note 3) ROM to our phone when I have free time
Click to expand...
Click to collapse
I can't find them either, but I'm on a tablet so I can't look properly. 
 @laufersteppenwolf, do you have any *spare* 4.3 build?
MidnightDevil said:
I can't find them either, but I'm on a tablet so I can't look properly.
@laufersteppenwolf, do you have any *spare* 4.3 build?
Click to expand...
Click to collapse
LOL, no, I do not, but gimme a few hours and I'll have one
Syncing right now
laufersteppenwolf said:
LOL, no, I do not, but gimme a few hours and I'll have one
Syncing right now
Click to expand...
Click to collapse
Thank you
{fd}ware said:
BTW, did anyone tried to port a ROM this way? http://forum.xda-developers.com/showthread.php?t=2245786
Click to expand...
Click to collapse
Nope, I actually never "winzipped" a ROM
Lot of things to comment on here. Very good initiative I have to admit. I'm sure I'll have more ideas as the discussion evolves.
Similar hardware: You can add HOX+ as laufer said. Very minor differences are there only.
What I would personally prefer is TouchWiz, at least Nature UX 2.0, but new S5 UI is also really awesome. I liked Sense till 4.5, but 5.0+ versions are now out of my 'inner circles'. Especially what I don't like is the UI.
Few suggestions:
FlymeOS (from Meizu MX) - I got 2.0 booting last summer, but had touchkey issues (they were freezing the device lol) and never released it. Nobody ever booted 2.0+ on other Android devices yet.
Porting LG roms might be the best start, I think porting full Optimus G system wouldn't be that hard. Just a pain in the *ss merging process.
What we mainly need is same screen size (unless you wanna resizing 100+ apps ). Similar SoC is a good extra, but that's very limited. Also, it's better to avoid Qualcomm SoCs to port from, it's extremely hard, there are a lot of code changes in low-level code which just make the device get into deep segfault cycles. :cyclops: Even Exynos is easier to port from, trust me. I got SGS3 leaked 4.2 booting on the O4X last autumn.
Big issue we have to note: In 4.2, Google radically changed graphics libraries code. We have old, 4.1.2 blobs and those need hacks in libgui.so and libsurfaceflinger.so to function properly (in 4.4+ libEGL.so, libGLES_v1_CM.so and libGLES_v2.so also need a change). Here comes the problem: Manufacturers do change these libraries, mainly adding Wi-Fi display and HDMI support code which other blobs rely on. Of course we can't just replace these libs, graphics wouldn't function that way. Either we have to guess those function signatures and reimplement some stub in the code, or use new blobs, i.e. what I did in Omni. But y'all now those are not perfect _yet_.
Regarding newer kernels: If, I emphasize, IF it's properly ported, it would cause a noticeable effect on overall performance, battery life, etc. What do I mean by proper porting: All machine-specific code must be updated to Nvidia/Google upstream, no excuses! I don't say anything for sure, I didn't check it much, but kholk didn't do this merge. His kernel still uses 3.1 files with slight modifications to be 3.4-compatible. What I mean would be a very long and painful process, but would surely benefit after all. 3.4 has no Android branch, mainline Nvidia Tegra kernel does only have Linux support, it might be even harder. 3.10 is maintained by Google for Android, issues I have found so far: No graphics driver support for T2 and T3, have to forward-port it and I didn't find core Android components like wakelocks, earlysuspend, etc. Weird.
A little related story: I initially started working on MultiROM so I can test and port different roms while I can keep a stable rom for myself and there'd be no need for reflash then. That's what I can suggest. Use MultiROM, it has so many capabilities! Maybe it's better with kernel sharing so you don't have to wait for hardboot on every reboot (which one needs a lot if porting). @MidnightDevil you could add this to the OP maybe.
MidnightDevil said:
I can't find them either, but I'm on a tablet so I can't look properly.
@laufersteppenwolf, do you have any *spare* 4.3 build?
Click to expand...
Click to collapse
Here you are! Compiled this because wanted to start porting from Note 2, but finally worked on Omni more and abandoned it.
{fd}ware said:
BTW, did anyone tried to port a ROM this way? http://forum.xda-developers.com/showthread.php?t=2245786
Click to expand...
Click to collapse
That's way too generic unfortunately.
Quick suggestion for you port: Use Note 2 base with Note 3 features. Note 2 has the same resolution and you won't need to resize.
Adam77Root said:
Lot of things to comment on here. Very good initiative I have to admit. I'm sure I'll have more ideas as the discussion evolves.
Similar hardware: You can add HOX+ as laufer said. Very minor differences are there only.
What I would personally prefer is TouchWiz, at least Nature UX 2.0, but new S5 UI is also really awesome. I liked Sense till 4.5, but 5.0+ versions are now out of my 'inner circles'. Especially what I don't like is the UI.
Few suggestions:
FlymeOS (from Meizu MX) - I got 2.0 booting last summer, but had touchkey issues (they were freezing the device lol) and never released it. Nobody ever booted 2.0+ on other Android devices yet.
Porting LG roms might be the best start, I think porting full Optimus G system wouldn't be that hard. Just a pain in the *ss merging process.
What we mainly need is same screen size (unless you wanna resizing 100+ apps ). Similar SoC is a good extra, but that's very limited. Also, it's better to avoid Qualcomm SoCs to port from, it's extremely hard, there are a lot of code changes in low-level code which just make the device get into deep segfault cycles. :cyclops: Even Exynos is easier to port from, trust me. I got SGS3 leaked 4.2 booting on the O4X last autumn.
Big issue we have to note: In 4.2, Google radically changed graphics libraries code. We have old, 4.1.2 blobs and those need hacks in libgui.so and libsurfaceflinger.so to function properly (in 4.4+ libEGL.so, libGLES_v1_CM.so and libGLES_v2.so also need a change). Here comes the problem: Manufacturers do change these libraries, mainly adding Wi-Fi display and HDMI support code which other blobs rely on. Of course we can't just replace these libs, graphics wouldn't function that way. Either we have to guess those function signatures and reimplement some stub in the code, or use new blobs, i.e. what I did in Omni. But y'all now those are not perfect _yet_.
Regarding newer kernels: If, I emphasize, IF it's properly ported, it would cause a noticeable effect on overall performance, battery life, etc. What do I mean by proper porting: All machine-specific code must be updated to Nvidia/Google upstream, no excuses! I don't say anything for sure, I didn't check it much, but kholk didn't do this merge. His kernel still uses 3.1 files with slight modifications to be 3.4-compatible. What I mean would be a very long and painful process, but would surely benefit after all. 3.4 has no Android branch, mainline Nvidia Tegra kernel does only have Linux support, it might be even harder. 3.10 is maintained by Google for Android, issues I have found so far: No graphics driver support for T2 and T3, have to forward-port it and I didn't find core Android components like wakelocks, earlysuspend, etc. Weird.
A little related story: I initially started working on MultiROM so I can test and port different roms while I can keep a stable rom for myself and there'd be no need for reflash then. That's what I can suggest. Use MultiROM, it has so many capabilities! Maybe it's better with kernel sharing so you don't have to wait for hardboot on every reboot (which one needs a lot if porting). @MidnightDevil you could add this to the OP maybe.
Here you are! Compiled this because wanted to start porting from Note 2, but finally worked on Omni more and abandoned it.
That's way too generic unfortunately.
Quick suggestion for you port: Use Note 2 base with Note 3 features. Note 2 has the same resolution and you won't need to resize.
Click to expand...
Click to collapse
Dang, you've beaten me but mine's as fresh as it could be
HERE you guys go, for all who need the newest CM10.2
laufersteppenwolf said:
Dang, you've beaten me but mine's as fresh as it could be
HERE you guys go, for all who need the newest CM10.2
Click to expand...
Click to collapse
Just don't delete the sources, you might need them in the close future.
I think we should create a schedule about what to do. As you all know, good buildings all have good grounding. So let's get started from the very beginning I say. First fix remaining bugs in MultiROM, then create a unified kernel so users don't have to choose. Very likely this is not possible as people think different so just make all kernels hardboot compatible. After these we have a solid base for starting all the work. Of course this cannot be done if not everybody is involved. Both devs and users should share a part in this magnificent journey.
(High expectations, I know. )
Sent from my OmniROM-powered LG Optimus 4X HD

Categories

Resources