[Q] Rom Porting - General Questions and Answers

Hi,
I'd like to familiarize myself with rom development and porting.
Before anyone asks, I am an extensive linux user (gentoo), I know how to work with adb and fastboot, I am good at C/C++ and Java. I even know a little about kernels.
From my understanding, in order to port a rom from device A to device B, I need to swap the kernel and configure a kernel for device B. One includet into the ported rom, the rom should at least boot.
If the kernel is good and device A and device B are not too far apart from each other, everything should work the same.
Please do correct me, if I am wrong.
What I need is a point to start. Doesn't need to be a trivial one.
And I'd like to get some more info on kernel development.
Please help me find a good starting point.

ClericLeech said:
Hi,
I'd like to familiarize myself with rom development and porting.
Before anyone asks, I am an extensive linux user (gentoo), I know how to work with adb and fastboot, I am good at C/C++ and Java. I even know a little about kernels.
From my understanding, in order to port a rom from device A to device B, I need to swap the kernel and configure a kernel for device B. One includet into the ported rom, the rom should at least boot.
If the kernel is good and device A and device B are not too far apart from each other, everything should work the same.
Please do correct me, if I am wrong.
What I need is a point to start. Doesn't need to be a trivial one.
And I'd like to get some more info on kernel development.
Please help me find a good starting point.
Click to expand...
Click to collapse
you have reason... for do rom, or kernal port you need Devices seemed..
example: you can port a DESIRE S rom to DESIRE HD
but can´t port it to another device without the same characteristics..
(exceptional case: one XDA developer was ported an HTC desire S rom TO nexus S with the htc sense environment!!! BUT ITS the only one case... )
okay man... first thing that i recommend its browse all that you need in the especific android hack and development forum: thake this link:
http://forum.xda-developers.com/forumdisplay.php?f=565
welcome mate, XDA needs developers and learners

I want to port a rom from desire s to the desire z.
Or a rom from desire to desire z.
That's it for starters.

ClericLeech said:
I want to port a rom from desire s to the desire z.
Or a rom from desire to desire z.
That's it for starters.
Click to expand...
Click to collapse
are you going to thematize the rom or something similar?
because in the desire z dev. forum are availables at least 2 or 3 roms porteds from desire s... someone with sense 3.0 included... if you want you can download them and explore for to start...
you can browse your questions in the link that i posted avobe.icluded de kernel dev.
cheers

Related

Where can download newest Cooking Kits and OEM Packages?

Where can download newest Cooking Kits and OEM Packages? I would like to using Blackstone to flash into Xperia X1.
You cannot just flash a rom from one phone into another (unless you want to brick your device). If you know how to port the roms, then just look into the phone's forum. Otherwise, if you like your device [highlight]do not[/highlight] flash your phone with another device's rom.
I hope I just prevented you from doing something you would otherwise regret.
So how to join the programm into X1 ROM. Like i like the TF3D.
Look into the Development and Hacking forums [highlight](just don't post new threads with questions in there)[/highlight] since they have ported TF3D for several different devices. If I am not mistaken, your device is a VGA one with graphics acceleration so it should work rather well. Just look around some and you will find it. Good luck.
but i would like to build my own ROM with blackstone or raphael programm in Xperia X1. So which Cooking Kit i should use. Like i like the TF3D or footprint i would like to build into my own ROM.
Search through this and see if you can find what you are looking for...
http://forum.xda-developers.com/showthread.php?t=438456
Good Luck!
After i download and add the item i need in to the ROM and i build it by HTC ROM Tools? So is it done? And i can be flash on Xperia? If unsuccessfully will the phone brick?
jianwei87 said:
After i download and add the item i need in to the ROM and i build it by HTC ROM Tools? So is it done? And i can be flash on Xperia? If unsuccessfully will the phone brick?
Click to expand...
Click to collapse
Ask one of the cooks. I personally have never cooked a rom and honestly don't know for sure. What I do know is that if the base rom is not designed for your device, you will brick it for certain.
My recommendation to you would be to make sure that you know what you are doing (cooking a rom) before doing so. From what I have read so far, you do not seem to be too familiar with the cooking process (I apologize if it is not the case), but I would read a lot if I were you (the Xperia is a pretty expensive device to use it as a test bed).
Good luck to you!
After i have cook the htc rom when it pop up the htc rom builder. I need to select the device as KOVSKY* so i can be flash into Xperia and modify?

roms and devices

i bought an android tablet (witstech a81-e) and i know its not going to have the market, or other important pieces, so my question is, if i go into the g1 forum and find a rom to flash on my newly rooted tablet, will it work?
if not, how do i know which ones will work? if none of em work, how do i make one that will work?
help?
Flashing a Rom from g1 section won't work.
... but you should be able to take apps (like Market) from roms to use
.... and building roms is difficult work if you don't know how. No, sorry, it would be difficult for ME to learn all the ins and outs... but if you want to have a go there are some tuts in the "Android chef central" section.
Good luck!
Sent from my HTC Hero using XDA App
ddotpatel said:
Flashing a Rom from g1 section won't work.
... but you should be able to take apps (like Market) from roms to use
.... and building roms is difficult work if you don't know how. No, sorry, it would be difficult for ME to learn all the ins and outs... but if you want to have a go there are some tuts in the "Android chef central" section.
Good luck!
Sent from my HTC Hero using XDA App
Click to expand...
Click to collapse
thanks, now i have a direction
first thing you have to do is getting root access. when that's done, try compiling a running kernel and after that you can go to the software-part=)...mfg coach
PS: that's what i think is the order, have never done this on my own (except for building linux kernels^^)
das_coach said:
first thing you have to do is getting root access. when that's done, try compiling a running kernel and after that you can go to the software-part=)...mfg coach
PS: that's what i think is the order, have never done this on my own (except for building linux kernels^^)
Click to expand...
Click to collapse
Is there a guide to rooting an android 2.1 operating system? Or are all of the guides device-specific....I'm trying to root a witstech a81-e with android 2.1

[DEV] HELP: Porting AOSP ROM to HTC Explorer

So, i currently have an HTC Explorer A310.
The device already has a valid method to unlock the Bootloader, and the "only" thing missing is CUSTOM ROMS.
There was already one called MasterMind, but, unfortunately, the dev sold his device and development was discontinued. Even if this was a custom rom, it still had all that HTC/Sense crap which most of us hate.
So, i was wondering, what do we have to do to build an AOSP based ROM (CM maybe..?), as clean as possible, to this device?
I have some programming knowledge (c, c++, java...) and i'm currently studying IT @ university.
I just need someone to guide me, so i won't turn my phone into a small brick.
I was thinking that a good start would be to find a similar divice which already had AOSP ROM's. With some search i found out that some HTC Aria users were trying to Port the Sense 3.5 of the Explorer to their phone, and that Aria already has CM7, for example.
Sorry for my "not so good" english, but if you have some knowledge in this subject, please, help
Nobody?
come on! :\
kernel source is already in Htcdev site if that help in building an AOSP rom
What is your status?
- Have you found information about a similar device?
- Have you successfully rooted your device?
- Did you already compile some existing AOSP rom?
- Have you found/read a guide/post about porting android?
- Did you backup your original firmware?
Don't own the phone anymore, but, as i said on the op, the HTC Aria seems quite similar.
so you have given up porting to htc explorer?
Since i don't have it anymore it would be quite difficult to do it.
Besides, nobody showed any interest in this...
would love to see it

Hello Desire People :)

As the title say Hello Desire People .
I have just changed my SE Xperia x10
to _>>>>>>>>>>>>>>>>>>>>>>>>>>
HTC Desire S.
1)_Ok so i obviously changed it becouse i liked its specs more, but as it is known specs are not all that matters so tell me what you think about this device and what i have gotten myself into, by getting one.
2)_I was with xda for over a year now with my x10, so i know basics (Such as what rom is, why y need to unlock bootloader, whats up with phone rooting , and generally all basics about flashing.) Please gimme some tips bout what Custom kitchenware you use to Flash whose fresh ROM's to your devises, and which rom would be best for starters (most stable compared to perfomance) (would be best ics if its complete on this device, couse its not on x10)
Please dont rage on me much couse i come with love. And i will be staying with this development section of Desire S for some time now
TeddyOFLove said:
As the title say Hello Desire People .
I have just changed my SE Xperia x10
to _>>>>>>>>>>>>>>>>>>>>>>>>>>
HTC Desire S.
1)_Ok so i obviously changed it becouse i liked its specs more, but as it is known specs are not all that matters so tell me what you think about this device and what i have gotten myself into, by getting one.
2)_I was with xda for over a year now with my x10, so i know basics (Such as what rom is, why y need to unlock bootloader, whats up with phone rooting , and generally all basics about flashing.) Please gimme some tips bout what Custom kitchenware you use to Flash whose fresh ROM's to your devises, and which rom would be best for starters (most stable compared to perfomance) (would be best ics if its complete on this device, couse its not on x10)
Please dont rage on me much couse i come with love. And i will be staying with this development section of Desire S for some time now
Click to expand...
Click to collapse
Welcome :good: You need to read, read and read some more.
There are some great ROMs out there. If you want stability then stick with a GB-based one for the moment (Reaper for non-Sense and Endymion for Sense). If you want to be a bit more adventurous then try Fallout v5.0, based on the ICS RUU.
TO learn what you are doing - there are plenty of guides out there so make sure you read and understand exactly what you are doing and why before you risk doing anything to your phone.
Gratz on getting yourself the Ds, first if all!
1. First of all, by getting the mobile you just got into friendliest forum in xda!
2. And Secondly, before you start asking questions, there's some comprehensive guide about the specs, guides and tutorials, info, etc stickied in the general section
Edit : ah already see Simon has beat me to the welcoming committee
Vodka69er said:
Gratz on getting yourself the Ds, first if all!
1. First of all, by getting the mobile you just got into friendliest forum in xda!
2. And Secondly, before you start asking questions, there's some comprehensive guide about the specs, guides and tutorials, info, etc stickied in the general section
Edit : ah already see Simon has beat me to the welcoming committee
Click to expand...
Click to collapse
Thx for kind words of welcome, and just so to let you know i am reading all the beginers guides (not done yet). And at the same time i saw that ICS is officially on this phone now. So i am trying to install it but as it seems i need adb drivers and i have some difficulty finding them on my windows8. I found some for windows 7 but is says unsuported os on win8
UPDATE: grabed my Moms laptop with win7 and started to install this official ICS, but i cant keep doing that every time i need to flash rom (mom would come and turn it off right in middle )
Welcome, see link in my signature for the INDEX thread that should hopefully contain links to all you seek.
I'll echo what is said above in read read and read some more
Enjoy and there is an OFF TOPIC thread for social chat etc
Sywepd form my DsereiS
Hello man)
ROM installed on my device is ICE_DS 5.0 with kernel Tweaked 7.1 (battery life is great!)
ROM on 4.0.4 version need update manualy.
p.s. its older to buy
hey there, welcome to the club! if you want great stability and also ICS experience, and don't want to experiment, you can also flash Ice Cream Saga v1. you get the latest HTC stock rom, rooted, with only the most basic tweaks. you can customise it if you wish with amidabudha's tweaked kernel or leave it as it is.
TeddyOFLove said:
As the title say Hello Desire People .
I have just changed my SE Xperia x10
to _>>>>>>>>>>>>>>>>>>>>>>>>>>
HTC Desire S.
1)_Ok so i obviously changed it becouse i liked its specs more, but as it is known specs are not all that matters so tell me what you think about this device and what i have gotten myself into, by getting one.
2)_I was with xda for over a year now with my x10, so i know basics (Such as what rom is, why y need to unlock bootloader, whats up with phone rooting , and generally all basics about flashing.) Please gimme some tips bout what Custom kitchenware you use to Flash whose fresh ROM's to your devises, and which rom would be best for starters (most stable compared to perfomance) (would be best ics if its complete on this device, couse its not on x10)
Please dont rage on me much couse i come with love. And i will be staying with this development section of Desire S for some time now
Click to expand...
Click to collapse
i'd recomment this http://forum.xda-developers.com/showthread.php?t=1502508 for now as it is stable
and this http://forum.xda-developers.com/showthread.php?t=1903496 in the near future after fixin some bugs (i hope)
kesh_33 said:
i'd recomment this http://forum.xda-developers.com/showthread.php?t=1502508 for now as it is stable
and this http://forum.xda-developers.com/showthread.php?t=1903496 in the near future after fixin some bugs (i hope)
Click to expand...
Click to collapse
Hi Kesh,
When you post a link, it gives you the option to change the text that appears 'above' the hyperlink . Well worth using the feature as it shows people exactly what you are linking to, rather than just the actual URL. :thumbup:
TeddyOFLove said:
As the title say Hello Desire People .
I have just changed my SE Xperia x10
to _>>>>>>>>>>>>>>>>>>>>>>>>>>
HTC Desire S.
1)_Ok so i obviously changed it becouse i liked its specs more, but as it is known specs are not all that matters so tell me what you think about this device and what i have gotten myself into, by getting one.
2)_I was with xda for over a year now with my x10, so i know basics (Such as what rom is, why y need to unlock bootloader, whats up with phone rooting , and generally all basics about flashing.) Please gimme some tips bout what Custom kitchenware you use to Flash whose fresh ROM's to your devises, and which rom would be best for starters (most stable compared to perfomance) (would be best ics if its complete on this device, couse its not on x10)
Please dont rage on me much couse i come with love. And i will be staying with this development section of Desire S for some time now
Click to expand...
Click to collapse
hello, the desire s is a beautiful phone that will give you much satisfaction, I think that the best rom is the fallout 5 and ICE DS 5.0. But made ​​a little culture by reading the forum.

[Completed] Building A Custom Android ROM

HI! I'm wondering how I would get started creating a custom ROM for Android. Not necessarily a ROM as big as CyanogenMod, but a custom ROM nonetheless, that can evolve and get bigger. Thanks
NateDev473 said:
HI! I'm wondering how I would get started creating a custom ROM for Android. Not necessarily a ROM as big as CyanogenMod, but a custom ROM nonetheless, that can evolve and get bigger. Thanks
Click to expand...
Click to collapse
Hi,
Check out this thread http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
Art Vanderlay said:
Hi,
Check out this thread http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
Click to expand...
Click to collapse
That mentions needing the device tree, vendor and kernel, and says that is on GitHub, however my device, the BLU Energy X 2 isn't very well known so there is no device tree or vendor. All I could get was the kernel source from BLU. I saw that there might be no device tree because the kernel version is only 3.10.74+, but there must be a way.
If I want to use CyanogenMod as a base, would having a CM ROM for my phone that I ported (copying over files from stock to port) help with the process? Because the original CM ROM that I used to port was for a phone with the same kernel version of mine, so there was a way that they got it, without device tree or vendor, right?
Sorry for this long + confusing wall of text, I'm just trying to explain my situation here. If you need me to clarify something, just ask.
Thanks,
Nate
NateDev473 said:
That mentions needing the device tree, vendor and kernel, and says that is on GitHub, however my device, the BLU Energy X 2 isn't very well known so there is no device tree or vendor. All I could get was the kernel source from BLU. I saw that there might be no device tree because the kernel version is only 3.10.74+, but there must be a way.
If I want to use CyanogenMod as a base, would having a CM ROM for my phone that I ported (copying over files from stock to port) help with the process? Because the original CM ROM that I used to port was for a phone with the same kernel version of mine, so there was a way that they got it, without device tree or vendor, right?
Sorry for this long + confusing wall of text, I'm just trying to explain my situation here. If you need me to clarify something, just ask.
Thanks,
Nate
Click to expand...
Click to collapse
If you want to work on a ROM then you need to have a device tree and vendor blobs. There's no way around this, its very different to porting a ROM. Try making a new thread in http://forum.xda-developers.com/android/help
Maybe some experts can help you there
Art Vanderlay said:
If you want to work on a ROM then you need to have a device tree and vendor blobs. There's no way around this, its very different to porting a ROM. Try making a new thread in http://forum.xda-developers.com/android/help
Maybe some experts can help you there
Click to expand...
Click to collapse
Ok, I will. Just wondering, how are these files usually acquired? I know they can usually be found on GitHub, but who originally puts them there? Where are they originally acquired from? The phone manufacturer?
NateDev473 said:
Ok, I will. Just wondering, how are these files usually acquired? I know they can usually be found on GitHub, but who originally puts them there? Where are they originally acquired from? The phone manufacturer?
Click to expand...
Click to collapse
They're built by developers. Since no ones developing for your device someone with some knowledge of ROM building would have to work on. I'm no expert so my advice would be to make a new thread in the section that I linked you.
Art Vanderlay said:
They're built by developers. Since no ones developing for your device someone with some knowledge of ROM building would have to work on. I'm no expert so my advice would be to make a new thread in the section that I linked you.
Click to expand...
Click to collapse
I've just done that

Categories

Resources