[Q] How to port from a device with different hardware? - General Questions and Answers

Hey XDA,
I have been around for a while, gone through two phones and have had no problems rooting, flashing ROMs, etc. thanks to all of the amazing people on the site. I have come to a point though, that I am interested in learning to port ROMs (and maybe even build a ROM from AOSP, but I am taking this one step at a time). I have looked all over the Chef Central -> Android section and the Q & A section and have been unable to find a solid guide on porting ROMs from a device with different hardware than the device you want to port to. I am sorry if this has been answered elsewhere and I try to contribute as much as I can. I hope I am not inconveniencing anyone too much. If a thread already exists that can help me out, I would greatly appreciate a link, then you can close this thread.
I am only trying to port between the ATT and internation GS3s, so it shouldn't be too hard, right?
The ROM I am trying to port is PA 2.99 beta8.
Thanks,
#TekGadgt

Have you read this guide?
http://forum.xda-developers.com/showthread.php?t=1908008

-star- said:
Have you read this guide?
http://forum.xda-developers.com/showthread.php?t=1908008
Click to expand...
Click to collapse
I will give it a go! Thanks. I had noticed this one, but was unsure if it would work between devices with different hardware. I see now that it does. I will work on that ASAP. One more question though, what do you do about devices with different resolutions? I noticed the guide is for devices with the same resolution.

Related

Question about porting a rom

Sorry in advance if this should be in Q&A (mod please move if inappropriate) but my question has to do with development so....
Anyway.. was wondering if anyone could point me in the direction of any guides or helpful threads that would help teach me how to port a rom. I am wanting to start to learn how to make custom ROMS and figured this would be a good place to start as the heavy lifting has already been done by the real devs...
Specifically looking to port lets say a nexus S rom for use with the NS4g for now.
Thanks in advance for any help you can give!
I was wondering the same thing. It seems like so much good is coming from the Nexus S section, that I would like to help bring it to the 4g side.
thefangedkanga said:
I was wondering the same thing. It seems like so much good is coming from the Nexus S section, that I would like to help bring it to the 4g side.
Click to expand...
Click to collapse
Yes, I know. Me too as well, but there's no guides on porting or I just can't find any. If anyone knows any guides on porting, point us fellows in that direction. thanks!
Man... kinda sux... no one can help at all?
First, this belongs in Q & A, hence no answer , second, it should be pretty easy, nandroid, switch out rild, and rils, make correct edits to build prop, and a kernel for ns4g and you should be good to go.
Are there any guides out there that perhaps detail this process a little bit, I would like to start porting some ns roms over to ns4g. I followed the steps provided by the previous post, and got most everything booting for the new miui rom with ICS however the wifi still doesn't work and it will not allow me to flash a different kernel as afterwards it refuses to boot. Any guidance would be greatly appreciated. Thanks

How to compile Android AOSP for the One S?

Question, I am getting the One S eventually and I want to just have Android AOSP on it for now. But I reckon there's more to the process than simply compiling it from source. What device specific challenges must I figure out first? Ive got plenty of experience with Android development but I havent really messed around with device specific stuff.. Any help much appreciated
Thread moved with a clean start
Or find answer here

I'd like to make you guys a ROM

Hello, I am new to XDA-Developers and so this isn't in the Development forum and I'm sorry for that. What I need to ask is about making a ROM. I want to make a ROM out of the AOSP Jelly Bean ROM, and port it to the Triumph:laugh:, but I don't know about compatibility issues. My question is: Do any of you guys know if the Triumph is compatible with dsixda's ROM Kitchen? It isn't on the supported devices list, but dsixda himself said that more devices might work with it, so if any of you have tried using the Kitchen I'd like your help. Thanks.
Good to see that you're motivated, but there's already a major roadblock to widespread ICS adoption on the Triumph because the camera won't work and the files needed to get it working aren't publicly available. You'll probably run into the same issues, making this project kinda dead in the water.
Good luck but the kitchen can only do so much. If you do use it, you will have to make manual edits to get things to work. But I don't think you can just port JB to our phones, especially with the kitchen. You will need to build from source, I am pretty sure. But don't let me stop you, just trying to give you a heads up. Try some things out and then ask some questions in the forums and somebody should be able to help you get on the right path.
BSydz said:
Good luck but the kitchen can only do so much. If you do use it, you will have to make manual edits to get things to work. But I don't think you can just port JB to our phones, especially with the kitchen. You will need to build from source, I am pretty sure. But don't let me stop you, just trying to give you a heads up. Try some things out and then ask some questions in the forums and somebody should be able to help you get on the right path.
Click to expand...
Click to collapse
I am going to try an experimental build on my friend's Triumph (I don't have one) and I'll post in this thread the results, and then I'll go from there.
I don't think that dsixda's kitchen works with the Motorola Triumph. I currently use it for the Galaxy S2 SGH-t989! But in the near future updates he may have add support for that device! And if you wanted to do Jelly Bean then you would have to get the android source code and build it from source! Building from source is much harder than building from port.
I really hope this helped and I wish you the best of luck with your development!

[Q] 2 roms questions

Hi, sorry if this thread is short, but i have two question blowing my mind.
1: Why don't whe have a 4.0.4 Cyanogenmod Rom?
2: And can we have a stock 4.1.2 rom? I mean, with motoblur, not cyanogenmod or that kinda variants
I know that motorola isn't collaborating with its upgrades. But, there is any chance?
First of all the boot loader is locked that means no custom kernel that means no proper CM builds, still there is an unofficial CM ROM in the development section take a look at it. And don't forget the funda "search before you post"..
Sent from my MB865 using xda app-developers app
tchsvy said:
First of all the boot loader is locked that means no custom kernel that means no proper CM builds, still there is an unofficial CM ROM in the development section take a look at it. And don't forget the funda "search before you post"..
Sent from my MB865 using xda app-developers app
Click to expand...
Click to collapse
You don't get me at all. I know that there's 3 roms of 4.1.2 CM.
And this was my comment about that, but no ones answers me:
I know that is hard, and i really really really apreciate the work that they're doing.
But, we have 3 roms of cyanogenmod, and the 3 roms have the same bugs.
I repeat. I know, they can't spend the whole free-time that you have working in the creation of the rom. But, why don't you team up and make a unique functional rom.
Or, am i missing something, and for the moment we can't have a functional rom because of motorola or whatever?
I repeat again, sorry if i'm bothering someone, but i ask this from my ignorance.
Click to expand...
Click to collapse
brianmoyano said:
You don't get me at all. I know that there's 3 roms of 4.1.2 CM.
And this was my comment about that, but no ones answers me:
Click to expand...
Click to collapse
brianmoyano said:
I know that is hard, and i really really really apreciate the work that they're doing.
But, we have 3 roms of cyanogenmod, and the 3 roms have the same bugs.
I repeat. I know, they can't spend the whole free-time that you have working in the creation of the rom. But, why don't you team up and make a unique functional rom.
Or, am i missing something, and for the moment we can't have a functional rom because of motorola or whatever?
I repeat again, sorry if i'm bothering someone, but i ask this from my ignorance.
Click to expand...
Click to collapse
Then learn how to build your own freaking ROM, and why even start a NEW thread with this junk, it all fits in the CM Q&A thread.
These types of threads are not cool to your dev team. We all work very hard to bring the stuff that we do, to you guys, for free.
If you do not like the bugs in the CM based roms that we have then do not use them and stick to stock and stop basically complaining about it, or do some reading and learn about the process and see why we have these issues, we have all posted about it so many times now it is not even funny.
I saw your post before and chose to ignore it, but now that you have posted a new thread like this, I just had to reply.
--EDIT--
And to answer the questions you put in the first post here:
1) because the source for CM10 with 4.0.4 is not out anymore
2) because motorola will not release a 4.1 or 4.2 stock ROM and kernel, so we can not port that, even our 4.1 and 4.2 CM based roms are still really 4.0.4 because we still have the 4.0.4 version of the kernel underneath.
Again all this has been spelled out too many times now and some reading and searching could have gotten your answers.
jimbridgman said:
Then learn how to build your own freaking ROM, and why even start a NEW thread with this junk, it all fits in the CM Q&A thread.
These types of threads are not cool to your dev team. We all work very hard to bring the stuff that we do, to you guys, for free.
If you do not like the bugs in the CM based roms that we have then do not use them and stick to stock and stop basically complaining about it, or do some reading and learn about the process and see why we have these issues, we have all posted about it so many times now it is not even funny.
I saw your post before and chose to ignore it, but now that you have posted a new thread like this, I just had to reply.
--EDIT--
And to answer the questions you put in the first post here:
1) because the source for CM10 with 4.0.4 is not out anymore
2) because motorola will not release a 4.1 or 4.2 stock ROM and kernel, so we can not port that, even our 4.1 and 4.2 CM based roms are still really 4.0.4 because we still have the 4.0.4 version of the kernel underneath.
Again all this has been spelled out too many times now and some reading and searching could have gotten your answers.
Click to expand...
Click to collapse
I already said this, but, i do not want you to get mad.
If you can't response a single question without freaking out, then, don't answer.
I just gave an opinion, like i said, from my ignorance.
brianmoyano said:
I already said this, but, i do not want you to get mad.
If you can't response a single question without freaking out, then, don't answer.
I just gave an opinion, like i said, from my ignorance.
Click to expand...
Click to collapse
I am not mad BTW, I am just tired of people not doing their own research. You are more than welcome to do some reading on compiling Cyanogenmod, so that you understand what we are up against. Also try searching for compiling cyanogenmod on locked bootloaders.
We (all the A2 devs), have answered these same questions so many times now, it is not even funny. It seems that as of late people have gotten more and more lazy in here, and we just keep hashing the same crap over and over again.
You say it is from your own ignorance, but you do not have to be ignorant, just use the search function or do some reading on your own and find what you need. And I do not want to hear excuses or complaints about the search function, I use it all the time, all you have to do is play with the wording until you find what you want. Also note other devs did not answer your original query either, for probably the same reason, not to put words in their mouth's either.
brianmoyano said:
But, why don't you team up and make a unique functional rom.
Click to expand...
Click to collapse
Also I hate to tell you but most of your devs do "team up" and we work together on our IRC chat room to do dev work, but again reading around the forms would have also told you that as well, as we talk about it quite often.
brianmoyano said:
You don't get me at all. I know that there's 3 roms of 4.1.2 CM.
And this was my comment about that, but no ones answers me:
Click to expand...
Click to collapse
I think only PA is 4.1.2 so far.. the others are 4.1.1, I think
And Jim's right, I also saw your post in the PA thread and started to reply, but discarded it because I felt I was sounding too mean.. let me try again:
I can say from my personal experience and (relatively low) skill level - it's a mess trying to get all the pieces in place to compile a working ROM from source code for our phone - specifically, the vendor and device files..
I know at least a few A2 devs are working to straighten things out for Edison directly - and a few others working on other Motos with similar hardware and locked bootloaders, which benefits us all.
It's probably safe to say that our phone is in the early stages of true ROM development (as opposed to derivative pseudo-roms and ports) - there is still a lot of work to be done to get something truly stable.
Again, please be patient, or learn and contribute... don't stir the pot.
Sent from my paranoid phone's mind

[Completed] Wish to know the difficulty porting a device from one CM build to another(12.1-13)

Hey I have a device that hasn't received Android M yet and have built ROM's and APK's from source before just haven't done a port, what is the difficulty in your opinion of doing this? for clarification its a SM-t520 built around a exnos little big processor that is currently being maintained on on CM 12.1 and i wish to bring it to 13.
also if a chose the wrong area to post please point me to where i should be, i'm a lurker for the most part so I haven't really posted in the forum all that much.
Hi,
Thanks for using XDA Assist.
jaykoerner said:
what is the difficulty in your opinion of doing this?
Click to expand...
Click to collapse
I'd say patience
Here are a few threads to learn how to port a rom:
http://forum.xda-developers.com/showthread.php?t=1941239
http://forum.xda-developers.com/showthread.php?t=1908008
http://forum.xda-developers.com/showthread.php?t=1957219
You could also build from source: http://forum.xda-developers.com/chef-central/android/git-how-to-create-rom-scratch-t3086435
Good luck!
Thanks for the input, but I've read a decent bit of those threads in the last few days, but i just wanted to know the perceived difficulty in building for a device with almost all of the groundwork laid and porting the existing work into it.
jaykoerner said:
Thanks for the input, but I've read a decent bit of those threads in the last few days, but i just wanted to know the perceived difficulty in building for a device with almost all of the groundwork laid and porting the existing work into it.
Click to expand...
Click to collapse
Try posting your question in those threads.

Categories

Resources