[Q] Porting - General Questions and Answers

Hi guys, sorry if I'm posting in an incorrect section, I have a question for you.. if I want to port for example CM10 to a device which now has only gingerbread, how can I do it? I've seen many tutorials about porting but they said that the port works only for the same android version as the base rom..

dei.andrei98 said:
Hi guys, sorry if I'm posting in an incorrect section, I have a question for you.. if I want to port for example CM10 to a device which now has only gingerbread, how can I do it? I've seen many tutorials about porting but they said that the port works only for the same android version as the base rom..
Click to expand...
Click to collapse
you can't port roms like this..the hardware configurations must be similar of the phones...
and then there are more things like resolution...search for a tut on xda!

So I must take a CM10 from a device that has this rom and also has same resolution and hardware configuration, no?

dei.andrei98 said:
So I must take a CM10 from a device that has this rom and also has same resolution and hardware configuration, no?
Click to expand...
Click to collapse
Resolution is not a must.. But it is preferable to port from phone of same resolution!
Sent from my GT-S5830i using xda app-developers app

Sorry for asking so many questions but I want to start deving and porting.. for example, my phone has only GingerBread 2.3.6 , if I find a CM10 rom of another phone that has the same hardware and resution, can I port that rom ? This is what I didn't understand from many tutorials I have seen..
Sent from my GT-S6500D using xda app-developers app

Related

[ROM][2.3.7][GWK74] CyanogenMod 7 for Samsung Galaxy SL

NEW THREAD: http://forum.xda-developers.com/showthread.php?t=1374340
Thanx a lot bro... nw m going to test it...
i'm sure the audio quality would b better
A cleaner thread. I guess this is better than moving the previous one.
I've tested bro... bt please fix all bugs as soon as possible... than agn..
Aaditya2 said:
I've tested bro... bt please fix all bugs as soon as possible... than agn..
Click to expand...
Click to collapse
Don't worry, he will fix it when he has the time, Please don't rush him.
Just had a brief test and the back facing camera had a little problem tho.
The screen is totally black and can't see a thing but front facing one is ok. If I take a snapshot the camera crashes.
Sent from my GT-I9003 using Tapatalk
d8nnii said:
Just had a brief test and the back facing camera had a little problem tho.
The screen is totally black and can't see a thing but front facing one is ok. If I take a snapshot the camera crashes.
Sent from my GT-I9003 using Tapatalk
Click to expand...
Click to collapse
Can you read the 1st post again sir??? Pls to all tester pls dont repeat such problem you encounter.. Youre just making this thread annoying to all the members who visits..
IF YOU ARE NOOb PLS READ THE FIRST POST!!!
We want a clean cm7 thread..
Sent from my GT-I9003 using xda premium
i am expecting someone to port icecream sandwich on samsung galaxy SL
so if anyone is interested
lets do it
Sent from my GT-I9003 using xda premium
mjbri0613 said:
Can you read the 1st post again sir??? Pls to all tester pls dont repeat such problem you encounter.. Youre just making this thread annoying to all the members who visits..
IF YOU ARE NOOb PLS READ THE FIRST POST!!!
We want a clean cm7 thread..
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
Alright, apologies I missed that part. My bad..
Sent from my GT-I9003 using Tapatalk
manishnraj said:
i am expecting someone to port icecream sandwich on samsung galaxy SL
so if anyone is interested
lets do it
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
And how is this CM7 related? Have you read the rules? or just decided this was IRC?
Cyanogen mod will do it for our device
manishnraj said:
i am expecting someone to port icecream sandwich on samsung galaxy SL
so if anyone is interested
lets do it
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
Sent from my GT-I9003 using XDA App
manishnraj said:
i am expecting someone to port icecream sandwich on samsung galaxy SL
so if anyone is interested
lets do it
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
no sources, no port. wait till december.
but then we'll work on the top devices first (i9000, i9100), so you'll maybe get ICS in middle of next year.
codeworkx said:
no sources, no port. wait till december.
but then we'll work on the top devices first (i9000, i9100), so you'll maybe get ICS in middle of next year.
Click to expand...
Click to collapse
ICS code will be completely diffrent from GB. Then while porting cynogen mod of ICS do we still have to face problems that time also (like broken camera)...?
vishal24387 said:
ICS code will be completely diffrent from GB. Then while porting cynogen mod of ICS do we still have to face problems that time also (like broken camera)...?
Click to expand...
Click to collapse
I wouldn't say completely different.
But if i'm not able to get the camera on gingerbread working, i'll not work on ICS for this phone. Waste of time...
codeworkx said:
I wouldn't say completely different.
But if i'm not able to get the camera on gingerbread working, i'll not work on ICS for this phone. Waste of time...
Click to expand...
Click to collapse
oh sad...! Just a last question Is Amit also working with u? Since he is working on this project from long time may be he can help u in a better way. Also in all samsung android devices is galaxy I9003 is the most unlucky device or are there some similar examples of devices exists which face unsuccessful camera porting in CM7...?
vishal24387 said:
oh sad...! Just a last question Is Amit also working with u? Since he is working on this project from long time may be he can help u in a better way. Also in all samsung android devices is galaxy I9003 is the most unlucky device or are there some similar examples of devices exists which face unsuccessful camera porting in CM7...?
Click to expand...
Click to collapse
amit is on vacations.
i'm sure he'll help, but he's a beginner on cm.
if i look at the stuff he has done, it reminds me of my first attempts. ;-)
don't know if there are any devices out. there are not much developers on samsung phones. every phone we've done is running fine, but we never ported a low activity device like i9003.
codeworkx said:
amit is on vacations.
i'm sure he'll help, but he's a beginner on cm.
if i look at the stuff he has done, it reminds me of my first attempts. ;-)
don't know if there are any devices out. there are not much developers on samsung phones. every phone we've done is running fine, but we never ported a low activity device like i9003.
Click to expand...
Click to collapse
really samsung has messed with our phone. They have given strong hardware support but bad complex coding has messed everything. Amit has really great knowledge of kernal coding. He also tried alot differents stuffs related to kernal such as overclocking. But he always failed like skin in getting a stable overclock kernal. They are also frustrated because they never come to know what was missing or messed in kernal codes.
I am sure that if Amit give more time for developement to u then ur both effort's will do some magic.
codeworkx said:
I wouldn't say completely different.
But if i'm not able to get the camera on gingerbread working, i'll not work on ICS for this phone. Waste of time...
Click to expand...
Click to collapse
Any update on the camera?
Sent from my GT-I9003 using XDA App
vishal24387 said:
really samsung has messed with our phone. They have given strong hardware support but bad complex coding has messed everything. Amit has really great knowledge of kernal coding. He also tried alot differents stuffs related to kernal such as overclocking. But he always failed like skin in getting a stable overclock kernal. They are also frustrated because they never come to know what was missing or messed in kernal codes.
I am sure that if Amit give more time for developement to u then ur both effort's will do some magic.
Click to expand...
Click to collapse
overclocking.... kernel coding.... hmmkay
this is really important. -.-

I needd help with ParanoidAndroid v1.9.2b!

Hello Xda!
I've recently gotten the ParanoidAndroid ROM (forum.xda-developers.com/showthread.php?t=1672198) and it's great! I have one minor problem and that is the absence of the CRT animation. Is it not in the ROM and if not, will it be added later on?
Thank you for the help!
Hi, it's best to ask this question on the Rom developers site, as they know the information about their particular Rom. Go to android development, find your Rom , then that community will be able to answer questions regarding that particular Rom. I hope this helps. I've never used that Rom , so I cannot answer your question, however on the developers site that whole community uses that Rom so they know all about it. Best wishes .
Sent from my Sensation Z710e using xda premium
Kevinvlau said:
Hello Xda!
I've recently gotten the ParanoidAndroid ROM (forum.xda-developers.com/showthread.php?t=1672198) and it's great! I have one minor problem and that is the absence of the CRT animation. Is it not in the ROM and if not, will it be added later on?
Thank you for the help!
Click to expand...
Click to collapse
CRT is not possible ..as some one said earlier ..HTC has messed up something which prevents the CRT .there is a dirty CRT animation in sensation dev section ..search there ..it has some issues so ..do read the OP
realsis said:
Hi, it's best to ask this question on the Rom developers site, as they know the information about their particular Rom. Go to android development, find your Rom , then that community will be able to answer questions regarding that particular Rom. I hope this helps. I've never used that Rom , so I cannot answer your question, however on the developers site that whole community uses that Rom so they know all about it. Best wishes .
Sent from my Sensation Z710e using xda premium
Click to expand...
Click to collapse
Ah, sorry. The development site didn't let me post because I didn't meet the requirement yet, so I posted here.
ganeshp said:
CRT is not possible ..as some one said earlier ..HTC has messed up something which prevents the CRT .there is a dirty CRT animation in sensation dev section ..search there ..it has some issues so ..do read the OP
Click to expand...
Click to collapse
Is this just for the ParanoidAndroid ROM? I have a few other ROMs that have the CRT animation. They might the dirty CRT animation but, I don't know.

[REQUEST] Pls port Sense UI to our beloved R

Hey guys (adam,grarak,vikram,selva and other gr8 developers)
I have seen many ppl talking abt sense ui which made me think dat it mite be gud. So finally one day i saw the sense uo and was amazed it was gr8. I even tried to use the guide in the general thread dis 1 http://forum.xda-developers.com/showthread.php?t=1721539
But honestly i dont know a think abt porting and the kitchen et cetera, et cetera can any of you pls pls port sense ui to our Galaxy R. It will look absolutely stunning. I am sure many ppl would want to try sense on our R. So guys if u have time pls try and port the sense ui to our device. Possibly whoever wants the sense ui can +1 in dis thread wat u say?
Thanks and regards.
Sent from my GT-I9103 using xda premium
Even i m thinking the same. Sense UI is something different from others. Great transitions and what a nice widgets it have.. But let wait if any intersted dev would say yes for this..
Sent from my GT-I9103 using xda premium
Sense UI is definitely very great. But it is a huge beast having a lot of custom modifications to the core system. Extremely hard to port. Even Sense4All project has many issues.
Adam77Root said:
Sense UI is definitely very great. But it is a huge beast having a lot of custom modifications to the core system. Extremely hard to port. Even Sense4All project has many issues.
Click to expand...
Click to collapse
Exactly. The matter which complicates things even more is that no Samsung and HTC devices share a chipset, making it impossible to find a common denominator so to say
Sent from my GT-I9100
If I helped you, please hit the thanks button!
Sense UI is really something.. We all know that.. Even i would love to see it in our SGR.. If the developers are interested, i think we can conduct a poll question for this topic.. What do u say guys?
Poll for what my friend? Just read Adam's post. This is a hell lot of work. We might as well port the S2 Official JB ROM before we are even half way through this. As it is Adam has his hands filled with CM, Karthik is resuming AOSP soon, Grarak has multiple ROM's and so has MJ. I suggest we focus on getting stable ROM's rather than a myriad of unstable/unusable ones. Just imagine, all that work and what you get in the end is a Sense Look Alike, half stable that a FEW people MAY/WOULD like to try. Not a good deal I feel.
So d point is we wont get sense
Sent from my GT-I9103 using xda premium
Sense doesnt make sense
No offence to anyone but personally i do not like sense. Hell ! even my friends with htc dont like it cuz it eats resources and battery! Id take CM10 or 10.1 over sense anyday . If we are talking about launchers , I feel the need for a customized version of trebuchet in which there is an option for rearranging icons and making folders in the menu.
Bhavik Jain said:
So d point is we wont get sense
Sent from my GT-I9103 using xda premium
Click to expand...
Click to collapse
Not now wait for all the devs to make their rom stable
Kartik pat said:
Not now wait for all the devs to make their rom stable
Click to expand...
Click to collapse
but den in the guide it says we can use cm7 for ports. Instead cant we use cm 10/10.1?
Sent from my GT-I9103 using xda premium
I wanted to know this.
As said "Porting official JB of SGS2"
Will that be like an official JB to our phone without samsungs permission?
As in can we make it something without using root access or anything?
I am very desperate to get official JB because i am scared of using ROMs.
I have tried them all (PAC, CAMP, SLIM, CM10.1) but then the root and custom mods which voids the warranty makes me feel insecured.
Because what if my charging jack died on me and im not able to revert to the stock rom. Has happened once. So...
Sent from my GT-I9103 using xda premium
DeepankarS said:
I wanted to know this.
As said "Porting official JB of SGS2"
Will that be like an official JB to our phone without samsungs permission?
As in can we make it something without using root access or anything?
I am very desperate to get official JB because i am scared of using ROMs.
I have tried them all (PAC, CAMP, SLIM, CM10.1) but then the root and custom mods which voids the warranty makes me feel insecured.
Because what if my charging jack died on me and im not able to revert to the stock rom. Has happened once. So...
Sent from my GT-I9103 using xda premium
Click to expand...
Click to collapse
U simply cannot port it from SGS2 bro.. Our SGR h/w is entirely different from SGS2.. It aint possible for us to port from other devices.. If we have to port jelly bean, then Samsung have to release a source for us or build jelly bean for us which is highly unlikely..
sudhindrakv said:
U simply cannot port it from SGS2 bro.. Our SGR h/w is entirely different from SGS2.. It aint possible for us to port from other devices.. If we have to port jelly bean, then Samsung have to release a source for us or build jelly bean for us which is highly unlikely..
Click to expand...
Click to collapse
I know this.. :'(
That is why i am still unhappy :'(
And so i just asked this..
Making something which does not require root access..
Is this IMPOSSIBLE?
Sent from my GT-I9103 using xda premium
DeepankarS said:
Making something which does not require root access..
Is this IMPOSSIBLE?
Click to expand...
Click to collapse
I didn't get you ... what exactly you want...
mj.vikram said:
I didn't get you ... what exactly you want...
Click to expand...
Click to collapse
Wait.
I messed it all up.
Mj, samsung has a problem with anything custom than root access right?
As in samsung voids warranty if we use anything CUSTOM, be it rooted or unrooted?
[QUERY] Is there any device having h/w exactly matching to our SGR?
Sent from my GT-I9103 using xda premium
DeepankarS said:
[QUERY] Is there any device having h/w exactly matching to our SGR?
Sent from my GT-I9103 using xda premium
Click to expand...
Click to collapse
Nope, there's no anything like a twin brother, unfortunatelly. Even LG Optimus 2x differs a lot.
m.kochan10 said:
Nope, there's no anything like a twin brother, unfortunatelly. Even LG Optimus 2x differs a lot.
Click to expand...
Click to collapse
I wouldnt have been so stupid had i studied android/linux.
Finance people you see..
But still i am like..
Why cant we modify stock s2 jb rom or any other stock jb rom and make it compatible with our device.
Tell me why because i dont know anything about porting.
Okay agreed at a point that hardware does not match..it is completely different..
But cant those things be edited so as to make compatible?
Sent from my GT-I9103 using xda premium
Nobody said its impossible. Its just super-difficult. We cannot port official JB for approx the same reason why we couldn't port the official ICS. Samsung implements a completely different set of framework and libraries for each of its devices depending on what its hardware is. If you wanted to port an official Samsung ROM you would have to re-write most of these framework and library files which are hardware dependent, which eventually culminates into a mountain of work. Sound Good?
The-Droidster said:
Nobody said its impossible. Its just super-difficult. We cannot port official JB for approx the same reason why we couldn't port the official ICS. Samsung implements a completely different set of framework and libraries for each of its devices depending on what its hardware is. If you wanted to port an official Samsung ROM you would have to re-write most of these framework and library files which are hardware dependent, which eventually culminates into a mountain of work. Sound Good?
Click to expand...
Click to collapse
This is THE BEST EXPLAINATION i could ever get.
So like if 10 or more devs work together on a particular stock rom..then only we can have it all?
Then another question is why would any dev waste time on stock roms when they can make better roms
Bdw it sounds tough..doing must be tougher.
Sent from my GT-I9103 using xda premium

[Q] Can I Port S2 Custom Rom To S2 Plus GT-I9105??

Sorry I Am New To Android Development
Yousufs2 said:
Sorry I Am New To Android Development
Click to expand...
Click to collapse
Before porting any rom, i do advise to go through few tutorials to see how android is build etc.
Basically you try to port a rom from any device, but it is strongly recommended to port rom from a similiar spec device.
ptothej said:
Before porting any rom, i do advise to go through few tutorials to see how android is build etc.
Basically you try to port a rom from any device, but it is strongly recommended to port rom from a similiar spec device.
Click to expand...
Click to collapse
Well I don't think the s2 is very much different from our phone
Sent from my GT-I9105P using xda premium
Brian_SGW_CM9 said:
Well I don't think the s2 is very much different from our phone
Sent from my GT-I9105P using xda premium
Click to expand...
Click to collapse
Well both phones are running on different processor, s2 has more storage.
Similiair to s2+ i i9082 known as grand duos or something like that
Brian_SGW_CM9 said:
Well I don't think the s2 is very much different from our phone
Sent from my GT-I9105P using xda premium
Click to expand...
Click to collapse
Lol
its entirely different
S2 has exynos
S2p has broadcomm
Entire soc is different
Well, it wouldn't be too much of a problem at all. Porting devices with Cyanogenmod as a base is easy, a lot of tutorials available... but make sure the device has the same resolution and the ROM you're trying to port is also based on Cyanogenmod (AOKP, PA, PAC, MIUI etc.).
But i could install S2 rom to S2+? or better not even to try?
D0MIS said:
But i could install S2 rom to S2+? or better not even to try?
Click to expand...
Click to collapse
sure,why not? just don't cry if you brick ur device.

[DEV-ONLY] Android L Port

Hi guys,
First I must begin by saying that I am not a developer. However, using this: (http://forum.xda-developers.com/showthread.php?t=1908008) thread, I have managed to "port" Android L to the One, though I have no clue if it even boots. There are a few problems that need to be discussed:
1) AOSP ROMs are around 400 mb? This one is 900+ mb.
2) When I was zipping the ROM, I saw Prism.apk was also in it, and a heck lot of other HTC related things.
3) Will the current kernel for KitKat work smoothly on L?
Anyway, this is my first step to being a potential developer and hope you all get excited for this. I do have one request though, if I can get a few devs to work with me on this, we can get to new heights on our One.
You can download the zip I created here: https://drive.google.com/file/d/0B4JA1Kc3xlxiZUw2XzNzM1NKMVU/edit?usp=sharing
DISCLAIMER:
I AM NOT RESPONSIBLE IF YOUR DEVICE GETS BRICKED.
Thanks in advance,
the playa!
Can you attach the Build.prop file?
If you're going to post it at least try it yourself first man, this could brick everyone's device.
Sent from my HTC One using XDA Premium 4 mobile app
jukiewalsh said:
If you're going to post it at least try it yourself first man, this could brick everyone's device.
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Did you miss the [Dev-Only] in the title? Every flash on your device could brick it if you aren't careful, nothing unique with this build. If you don't want to risk it, don't flash. Simple as that.
eaglerazor123 said:
Can you attach the Build.prop file?
Click to expand...
Click to collapse
Sure: https://drive.google.com/file/d/0B4JA1Kc3xlxiWHJOV1JnS3FCRzg/edit?usp=sharing
But as far as I remember, I did not do anything to it. The base ROM that I used was a stock deodexed Sense 6 ROM and the port ROM I used was the system dump from Android L, if that helps.
Snusdus said:
Did you miss the [Dev-Only] in the title? Every flash on your device could brick it if you aren't careful, nothing unique with this build. If you don't want to risk it, don't flash. Simple as that.
Click to expand...
Click to collapse
Okay fine, all I'm saying is there's already a thread on this in the general section so its almost pointless to post something else if it hasn't even been tested or is just like the other. There's already work being done on this...
Sent from my HTC One using XDA Premium 4 mobile app
jukiewalsh said:
Okay fine, all I'm saying is there's already a thread on this in the general section so its almost pointless to post something else if it hasn't even been tested or is just like the other. There's already work being done on this...
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Whoops. Seems like I missed that. Mods please close this thread then.
Sent from my HTC One using XDA Free mobile app
http://forum.xda-developers.com/showthread.php?t=2799195
That's the other thread
Sent from my HTC One using XDA Premium 4 mobile app
---------- Post added at 04:34 PM ---------- Previous post was at 04:31 PM ----------
Im not a dev just a general user but I don't think we should be creating these types of threads if you don't know what you're doing. Let the real devs do their work if it was as easy as following a copy/pasting port guide every device would already have a l build. Just be patient and eventually a nice dev will maybe make some magic happen for us.
Sent from my HTC One using XDA Premium 4 mobile app
the playa! said:
Sure: https://drive.google.com/file/d/0B4JA1Kc3xlxiWHJOV1JnS3FCRzg/edit?usp=sharing
But as far as I remember, I did not do anything to it. The base ROM that I used was a stock deodexed Sense 6 ROM and the port ROM I used was the system dump from Android L, if that helps.
Click to expand...
Click to collapse
This ROM will not work, period. The reason is because you did not follow step 1 of the guide which states quite clearly:
"Take any clean CM9, AOSP, CM7, CM10, CM11 ROM which is running on your device as Base ROM."
Now, don't know about you but I do not think a stock deodexed Sense 6 ROM counts as any of those mentioned in step 1... that is why you are seeing HTC things in the ROM.
Jonny said:
This ROM will not work, period. The reason is because you did not follow step 1 of the guide which states quite clearly:
"Take any clean CM9, AOSP, CM7, CM10, CM11 ROM which is running on your device as Base ROM."
Now, don't know about you but I do not think a stock deodexed Sense 6 ROM counts as any of those mentioned in step 1... that is why you are seeing HTC things in the ROM.
Click to expand...
Click to collapse
Ah. Thanks for pointing that out. I will update the zip file today.
the playa! said:
Ah. Thanks for pointing that out. I will update the zip file today.
Click to expand...
Click to collapse
It will not work just by using that guide; The bases are just too different.
the playa! said:
Ah. Thanks for pointing that out. I will update the zip file today.
Click to expand...
Click to collapse
no man, you can not do this because we have not a base for L! so it should be ported compiling source and fixing bug and issues...is not a thing that you find in a guide
estabien said:
I think your best bet would be to download the Nexus 5 sources and then do some "patchwork" with HTC One libs and whatnot, when needed. The good thing is that they are both at the same resolution and have similar specs.
And after you're done with that, you should be able to build with a couple of adjustments to various build-related things.
EDIT: Also, there will probably be issues with kernels? so you'll have to work through that also.
Click to expand...
Click to collapse
You can't be patching and copy/pasting libs. No zip modding when it comes to porting big base changes
You'll need to decompile and redo your ramdisk etc. And like jonny said you can't be using sense and gpe parts
Sent from my HTC One using XDA Premium 4 mobile app
Android L Keyboard in Play Store
I just wanted to note that there's a third-party application "Android L Keyboard" by Shen Le in the Play Store which I've been using on the latest CM11 nightlies that works great.
I understand that's not the point of this project but I just wanted to make sure other users are aware. Also, it's kind of scary to have to trust that a keyboard from the Play Store isn't logging and reporting your keystrokes but that's another issue entirely... anyways I added a screenshot, good luck with the project!
:good:
Thread has been closed at OP's request,
Many thanks,
Ghost

Categories

Resources