Porting android to a non listed Phone.

211 views
Skip to first unread message

florian cossu

unread,
Apr 7, 2014, 3:38:27 PM4/7/14
to android...@googlegroups.com
Hi everyone! 

I'm currently interested into porting kitkat to my personal phone. I would like to create a Kitkat AOSP rom for my phone to be precise. So to start off I've been looking out on google for hours now, creted a topic on XDA-devellopers, and I'm working on installing Linux and setting up my environment. I also got the sourcefiles from the vendor (Alcatel in my case, for the Alcatel 4030). There are a bunch of files and drivers. These are proprietary I guess. So I'm starting  rom from scratch. I think that I will be using every libraries, and the kernel provided in the sources. But I have A few questions: What do I need to do in order to generate a device tree from scratch? When, where and how do the sources I've been downloading, take part i the porting process. If someone could tell me more about that and explain me how all of that works, or just tell me where to look because I'm quite confused. I'm new to developing and porting. Thank you guys!

shridutt kothari

unread,
Apr 9, 2014, 7:26:02 AM4/9/14
to android...@googlegroups.com
Hi Florian,

Why are you getting confused? you just need to follow the steps mentioned on http://source.android.com/source/initializing.html that's it.

you just need binaries for your device, which you already have. so just follow the above link and you will be ok.

Thanks,
Shridutt Kothari
Impetus Infotech India Ltd.

Somdutta Roy

unread,
Apr 9, 2014, 10:42:36 AM4/9/14
to android...@googlegroups.com
Do you have an older android source code of your phone or only the linux. 

In case you have an older android version source code, you could start with doing a diff of the kitkat and the android source as given by the vendor and identify the elements that have been added/modified by the vendor. Once you get a feel of it, you need to either identify components and start porting them to the kitkat source from the vendor provided source. Most notably you might have to start with providing your product directory ( follow the crepso or the MSM products done in the AOSP ).

If you do not have the android source and only the linux source code, then be prepared for a huge assignment.....you basically have to identify each components, dig deep in the hardware dir of the AOSP and start integrating the linux device drivers + native libararies in the AOSP first followed by making relevant changes if any in the upper layers of the framework.

florian cossu

unread,
Apr 9, 2014, 1:06:50 PM4/9/14
to android...@googlegroups.com
Wow, thanks for being that quick! Well i have the source code, but its an MTK dualsim device. And I've been told on other forum that creating aosp for mtks isnt possible if i only have a kernel. However i'm really interested in tackling this issue using open source equivalent if any, as suggested by Somdutt Roy
Reply all
Reply to author
Forward
0 new messages