Question about compiling AOSP Gingerbread - Sony Ericsson XPERIA X10 Mini

Hi all,
I am trying to compile AOSP GB for the MP but I am wondering where I get the mimmi and msm7x27 files to add. When compiling CM for a supported device you just clone the files from the CM github and run ./extract-files.sh but this doesn't apply to our Mini Pro. I have seen in paul-xxx's compiling ICS ROM topic about adding it but I am wondering if these files will work for GB or are ICS specific.
Thanks for your help,
x10man

x10man said:
Hi all,
I am trying to compile AOSP GB for the MP but I am wondering where I get the mimmi and msm7x27 files to add. When compiling CM for a supported device you just clone the files from the CM github and run ./extract-files.sh but this doesn't apply to our Mini Pro. I have seen in paul-xxx's compiling ICS ROM topic about adding it but I am wondering if these files will work for GB or are ICS specific.
Thanks for your help,
x10man
Click to expand...
Click to collapse
You need make a lot patches for using some libs from eclair rom.
For example libaudio and libcamera.
CM source have some. AOSP no.
And you need make new configuration data for AOSP.
/device/semc/mimmi

thanks paul,
I will have a go at that now. created the folder but I need to create the config now.
X10man

Related

[DEV] Need help porting CM5 to the mini pro.

Hello, I am trying to compile CyanogenMod 5.0.8 (eclair) to the mini pro.
I chose this version because it will probably have almost everything working since the latest kernel on the x10 mini pro supports eclair.
however when I try to compile the eclair branch from the cyanogenmod source I get the following error.
Code:
error: revision eclair in CyanogenMod/android_external_webkit not found
I've looked on the internet for a solution and found something about removing a line from manifest.xml, but I haven't been able to locate it. Is there no hope for porting CM5 over then?
Greetings, Mike
what manifest.xml do you mean coz every app has an manifest.xml
please give us some information about this
edit:
i think you need the manifest.xml from browser.apk
coz its a problem with the external webkit this is the browser
and if you decompile browser.apk there is an manifest.xml (like every app has xD)
edit 2:
i've attached the original 2.1 SE Manifest.xml
Thanks, but this goes beyond my knowledge.
I think I'm going to start up trying to port a nice gingerbread theme including animations and will take a look at porting CM6 over. I have owned an android tablet before so I have some basic knowledge.

[Q] what diferences between compile form source & porting?!

can anyone help me to learn a bit more than android!
I heared about compile form source and biuld form source...And I can't understand what diferences between compile from source and port! can U explain easily?
for example should I want to bring superOxygen Rom in my x10 , should I port it with cm as base or compile form source?!
thx
for short:
porting means you are making rom to your device from another device, you will be just moving libs, editing ramdisk, etc.
compiling from source means you make a complete rom from scratch including programming own drivers, libs in some situations.
If source is avaiable fot superOxygen then you can try compiling it yourself, but editing, or adding your drivers is necessary, and anyway its harder than porting, but gives better result in fact because you can program everything to make it work and you aren't dependant on binary files like in porting.
When porting, hardware should be close to one you have in your X10, because most things will not work when processor differs, wifi modules, gsm etc. You take files from any X10 rom and replace ones that are with same name in another rom (oxygen here).
Thanks very much man!
I took your advices...it was good advices but what is your idea about this:
If I port Superoxygen from Nexus1 for my x10 and (use stable AOSP as base) , then can I say I make a superOxygen Rom?
compiling from source is how much difficult?! I'm 17...! , I have a link that teach compile from source... Is it need some Knowledges that is impossible for me?!
heh, im 17 too and I don't have much knowledge, but looking on pcfighter(a gt540 developer) im impressed, hes 17 too and does a great job, so it depends on time spent and interests
when you port oxygen, you can just say that you ported and not made it. credits go to the maker and you for just making it work on x10
I'm looking now how to compile for gt540 but can't find any idea how to make it strict for gt540 compiling from source tutorials are mostly for nexus s and nexus 4g because most of are just remade of what you can find on official android developer page and its easier. For unsupported device its even harder, you have to work with what you already have and add it first to sources then ... more things to do. I'm beginner with that too, just pulled sources yesterday and looking how to make it work :] so don't expect so much help in this way :]. Just telling you overall how this looks
For compiling you need to know Java and C programing language.
Sent from my Xoom using Tapatalk
@mesaj! do you know c and gava programing languge?! ofcourse I worked c++ a little...
Thanks now I also know what the difference is.
In easy terminology. Compiling a ROM is building a ROM from the source code so it means you are building a ROM from the ground up. Porting a ROM to your phones means to take a ROM built for another phone and to get it working on yours. That's the simplest way to think of it. I have in my signature a guide for compiling a ROM. Oh and I'm newly 18
私のEVO 3Dから送信される。
Thanks for this thread
Thanks now I also know what the difference is.
Click to expand...
Click to collapse
Thanks for this thread
Click to expand...
Click to collapse
just press the thanks button if you like this thread

How to compile a CM rom for unsupported devices?

Hi
I'm quite new to android so be gentle.
I,ve been trying to compile a CM ROM for my device Huawei g300 (u8815) and I found two Devs sources, Dazzozo and Kra1o5. They have their repos in github and its easy to download them and compile a CM Rom.
BUT, what i want to do is to create my own repos. I mean, i want to make a CM ROM just from source and from a Stock Rom without using any devs sources.
I cant find any guide.. could you help me to build a port of CM to a unsupported device?
Thanks in advance.
Mazrim Taim said:
Hi
I'm quite new to android so be gentle.
I,ve been trying to compile a CM ROM for my device Huawei g300 (u8815) and I found two Devs sources, Dazzozo and Kra1o5. They have their repos in github and its easy to download them and compile a CM Rom.
BUT, what i want to do is to create my own repos. I mean, i want to make a CM ROM just from source and from a Stock Rom without using any devs sources.
I cant find any guide.. could you help me to build a port of CM to a unsupported device?
Thanks in advance.
Click to expand...
Click to collapse
No one? Please help me
Mazrim Taim said:
No one? Please help me
Click to expand...
Click to collapse
Watch this video... http://www.youtube.com/watch?feature=player_embedded&v=fN0v5H0Eoe4 ,next time try to do a little searching.I found it pretty quick,3 threads under yours.
How to compile for unsupported devices
I have a nice guide here: http://forum.xda-developers.com/showthread.php?t=1935162
It hase links tot other great compile guides to!

[Q] How to build CM11 for a legacy device?

I have a LG P350 which development has stopped but i want to keep it updated, i have my computer ready for building, also i have kernel sources, Cyanogenmod 11 and 10.1 sources too, (I don't know exactly if 10.1 sources could help) and i know that i need to apply patches to work on Armv6 but i don't know how to apply them to the source code, also i don't know if i would just need the pure source code to build or i need to do more modifications to it and finally, i don't know if the rom would work with 2.36 kernel which it's the most stable one for this device, i'm very new in this but i know that i can keep update my little phone, thank you all in advance for help.
DiegoConD said:
I have a LG P350 which development has stopped but i want to keep it updated, i have my computer ready for building, also i have kernel sources, Cyanogenmod 11 and 10.1 sources too, (I don't know exactly if 10.1 sources could help) and i know that i need to apply patches to work on Armv6 but i don't know how to apply them to the source code, also i don't know if i would just need the pure source code to build or i need to do more modifications to it and finally, i don't know if the rom would work with 2.36 kernel which it's the most stable one for this device, i'm very new in this but i know that i can keep update my little phone, thank you all in advance for help.
Click to expand...
Click to collapse
Hello, looking at your situation here is what I can conclude. First off you will need to change things for building on ARMv6 architecture, check this out for example. But your biggest problem will be that Android 4.0+ uses Linux kernel version 3.0+, and with the 2.36 kernel you have a lot of things will be broken and need fixing. That being said if your up for the challenge for it cause that's what were all about .
shimp208 said:
Hello, looking at your situation here is what I can conclude. First off you will need to change things for building on ARMv6 architecture, check this out for example. But your biggest problem will be that Android 4.0+ uses Linux kernel version 3.0+, and with the 2.36 kernel you have a lot of things will be broken and need fixing. That being said if your up for the challenge for it cause that's what were all about .
Click to expand...
Click to collapse
Well, i got this http://forum.xda-developers.com/showthread.php?t=2144790 that is the most similar phone talking about hardware, it has 3.0 kernel working well so i thought i could port it, i found this http://stackoverflow.com/questions/15961306/porting-kernel-from-another-device so i think i would have less problems due hardware similarities (Look here http://www.gsmarena.com/compare.php3?idPhone1=3516&idPhone2=3735 ) so, if i have cm11 pure sources, i add this kernel sources and some patches i would have it booting? Sorry for this very dumb question but, i didn't get at all about the armv6 part, how to apply patches, which i would need and all that, i really want to learn about this so thank you for this answer and the next ones :good:
DiegoConD said:
Well, i got this http://forum.xda-developers.com/showthread.php?t=2144790 that is the most similar phone talking about hardware, it has 3.0 kernel working well so i thought i could port it, i found this http://stackoverflow.com/questions/15961306/porting-kernel-from-another-device so i think i would have less problems due hardware similarities (Look here http://www.gsmarena.com/compare.php3?idPhone1=3516&idPhone2=3735 ) so, if i have cm11 pure sources, i add this kernel sources and some patches i would have it booting? Sorry for this very dumb question but, i didn't get at all about the armv6 part, how to apply patches, which i would need and all that, i really want to learn about this so thank you for this answer and the next ones :good:
Click to expand...
Click to collapse
The best way to start is use the ARMv6 branch of Cyanogenmod 11, replace the CM 10.1 in the previous linked build guide with cm-11.0 ("repo init -u git://github.com/androidarmv6/android.git -b cm-11.0"), and then to direct the build to use your kernel take a look at this guide on integrated kernel building with Cyanogenmod.

[Q] Building an AOSP ROM for device with Cyanogenmod Device Tree

So I am trying to build AOSP 5.0 for Redmi 1s. I downloaded the AOSP source. I also downloaded the device tree and vendor tree from github. Now what changes I have to make to build AOSP????
You need to edit the make files, edit .sh and vendor.
I used this answer to get my AOSP running on my G2 using CM sources. It's not very hard to manage this because CM is not quite different in these aspect, but you need to know some stuff about programming and solve the errors. Good luck.
GalaticStryder said:
You need to edit the make files, edit .sh and vendor.
I used this answer to get my AOSP running on my G2 using CM sources. It's not very hard to manage this because CM is not quite different in these aspect, but you need to know some stuff about programming and solve the errors. Good luck.
Click to expand...
Click to collapse
Can you explain...cause I can't understand that post

Categories

Resources