[Q] Build a new os! Please help - Android Q&A, Help & Troubleshooting

Hello every one
I have made my own little kernel for x86 PCs. But it doesnt do much thing!!!
I just want to port it to smart phones but I dont know how. In android there is a bootloader that loads linux kernel or recovery images. I want to know is it possible to replace the linux kernel with any other kernels like mine? For example I have written a very simple kernel in assembly that only shows a bitmap on a x86 PC and I want to port it to my Desire HD. What should I do for this?
You can see some devices like HTC HD2 can boot many OSs like android, windows phone7/8, ubuntu, mego and some more I guess. So it should be possible to do something like this on a android device.
Please help and sorry for my bad English

The kernel will only boot if it is linux

eugeneeaster18 said:
The kernel will only boot if it is linux
Click to expand...
Click to collapse
So what if its not based on linux? I just want to overwrite the bootloader and the android OS with something else but I don't know how

MadZarx said:
So what if its not based on linux? I just want to overwrite the bootloader and the android OS with something else but I don't know how
Click to expand...
Click to collapse
If it isn't linux based the kernel won't communicate with the board, it is impossible. It won't boot at all

Okay thanks

Related

[Q] How to begin developing android ROM

I am new in XDA developer forum. I knew java and android at the immediate level. Now I'm interested in creating my own Android smartphone ROM. After searching in google, I see that there are a thing which is called "Default ROM" released by google. Base on this ROM, different companies created different ROM in their own style such as Sense, Motoblur, TouchWiz, etc.
So where could I download such a default ROM, and how could I begin with ROM developer. It is kind from my if anybody could give me a tutorial.
(Sorry if the question is exist in the forum, because I could not find it)
Thanks a lot.
Best regards,
me too, i have the same question, can someone help? thx
Your best bet is to have a look at compiling the aosp from source which you will need a Linux os for. The android sdk is a good place to start.
zelendel said:
Your best bet is to have a look at compiling the aosp from source which you will need a Linux os for. The android sdk is a good place to start.
Click to expand...
Click to collapse
Also are there no different way but Linux OS?
I still have the Android SDK, but do not know how to begin to custom a ROM via code.
Regards,
detno29 said:
Also are there no different way but Linux OS?
I still have the Android SDK, but do not know how to begin to custom a ROM via code.
Regards,
Click to expand...
Click to collapse
Yes to build android from Google's source you will have to have a Linux os. Either stand alone Linux or a version like ubuntu
zelendel said:
Yes to build android from Google's source you will have to have a Linux os. Either stand alone Linux or a version like ubuntu
Click to expand...
Click to collapse
In your experience, which linux os should i used. I m also a bit confuse because i did not have to much experience with linux...
detno29 said:
In your experience, which linux os should i used. I m also a bit confuse because i did not have to much experience with linux...
Click to expand...
Click to collapse
Me too, trying to learn. Just installed dual boot Ubuntu 10.1 to my comp and trying to figure it out. Big change coming from win7. Ubuntu 11 I couldn't figure out
Sent from my Desire HD using xda premium
One place you can start by checking and has a lot of good info is http://freeyourandroid.com/
I learned how to port from them although I still need to ask questions but it can get you started.
If you just want to get Ubunto going in a virtual machine for now and have NO IDEA take a look at this: http://theunlockr.com/2010/03/26/ho...om-for-android-part-1-setting-up-the-kitchen/
Old release links but Ubunto will update itself

[Q][DEV] Linux on P760?

Hello everyone!
I have a few questions for our great devs out there.
I would very much like to see Linux running on our hardware (and of course build it in progress), but I have a few questions to ask you all.
First of all - how does our bootloader work? I mean - it's unlocked, right? This should mean we can flash any kernel we want (including an Android-free linux) and all should be fine? From what I understand there is no risk of bricking our device?
The bootloader's blocks aren't vulnerable to overwriting by a bad kernel?
Secondly - Since our SoC is the same as Pandaboard and Pandaboard has Ubuntu built for it - it's just a matter of drivers and libraries, right?
I want to take on Ubuntu ARM first to see how far can I get, but eventually I would love to use Sailfish OS when it comes out.
Do you guys think it's even possible on our bootloader to run this stuff? I'm not really sure how all this works at the "ground" level and I don't want to brick my phone just by trying fastboot commands.
Any pointers or just comments appreciated.

[Q] Green Orange NX Aliyun OS

Hi people
Doe's anybody can say me how difficult it would be to replace the Aliyun OS with android for this phone?
http://www.fastcardtech.com/Green-Orange-NX
I read on Wikipedia that Aliyun OS is based on Android, so this should not be a big problem right?
greez Furby
afkfurby said:
Hi people
Doe's anybody can say me how difficult it would be to replace the Aliyun OS with android for this phone?
http://www.fastcardtech.com/Green-Orange-NX
I read on Wikipedia that Aliyun OS is based on Android, so this should not be a big problem right?
greez Furby
Click to expand...
Click to collapse
read this bro,
droidinterest said:
read this bro,
Click to expand...
Click to collapse
thanks, so nobody knows exactly what it is? It's a crappy linux and android fork :silly:
But I saw a thread somewhere on the net where they replaced Aliyun by Android on a ZOPO device.
Is it possible to do that here too or is it device specific?
afkfurby said:
thanks, so nobody knows exactly what it is? It's a crappy linux and android fork :silly:
But I saw a thread somewhere on the net where they replaced Aliyun by Android on a ZOPO device.
Is it possible to do that here too or is it device specific?
Click to expand...
Click to collapse
i think if this OS based on linux you can try to flash with any phone which have same spec with yours.
but DWYOR ,and don't forget to make backup first
droidinterest said:
i think if this OS based on linux you can try to flash with any phone which have same spec with yours.
but DWYOR ,and don't forget to make backup first
Click to expand...
Click to collapse
It's have to be basen on linux, otherwise no android apps would run on the device.
I think it's possible but I would like to get the most information before I spend 200$ for this device.
If anyone has more information, it would be nice to share this.
I found a Aliyun OS Rom here : http://pan.baidu.com/share/link?shareid=509654&uk=2650968838
Looking at the structure of the rom, it's clearly an android fork.
- framework-res.lar
- libandroid.so
- libandroid_runtime.so
It think they just changed the extension from apk to lar and maybe changed some things on the UI side.
Bad it's based on android 2.3.3.
When I'm at home I will look at the boot.img.
afkfurby said:
I found a Aliyun OS Rom here : http://pan.baidu.com/share/link?shareid=509654&uk=2650968838
Looking at the structure of the rom, it's clearly an android fork.
- framework-res.lar
- libandroid.so
- libandroid_runtime.so
It think they just changed the extension from apk to lar and maybe changed some things on the UI side.
Bad it's based on android 2.3.3.
When I'm at home I will look at the boot.img.
Click to expand...
Click to collapse
Did you ever find out more? I'm kinda looking for the same thing.
Cheers
Hello? Any motivation to continue this?

How to create a ROM?

Hi guys! I have an android kitkat 4.2.2 on my computer and it's in an .iso format. I was just wondering if you could teach me how to run that kitkat on my alcatel one touch t10? thanks guys
gmarlon7 said:
Hi guys! I have an android kitkat 4.2.2 on my computer and it's in an .iso format. I was just wondering if you could teach me how to run that kitkat on my alcatel one touch t10? thanks guys
Click to expand...
Click to collapse
iso format for android...? I don't believe there are any iso formats for android phones or tablets. Maybe a version of x86 for the PC or something perhaps. Anyway, don't think there are any options for KK for it, as without source, it would be a HUGE undertaking, even for a skilled developer, to be able to get all the drivers and stuff updated without the source code from the manufacturers. I suggest to read through this thread for info on available versions of CyanogenMod that are compatible as well as tools and files to install a custom recovery or to return to stock if needed: http://forum.xda-developers.com/showthread.php?t=2016643
hey! thanks for the reply but i already did that thing above. Anyway, I just figured out that i really can't do the thing. thanks

Understand what’s happend if I use ROM from another phone dev know but not me :)

Hello
People say to not flash a rom on another phone, ok I can understand that a firmware is for a specific hardware.
Imagine a smartphone with the same gpu and same cpu as a nexus and thus same arm architecture, Why did the nexus rom will not run on that new phone ?
I just want to understand...
Did android kernel is modular like linux kernel and contain all drivers like linux ?
Thanks
sorry for my bad english
neo_mat said:
Hello
People say to not flash a rom on another phone, ok I can understand that a firmware is for a specific hardware.
Imagine a smartphone with the same gpu and same cpu as a nexus and thus same arm architecture, Why did the nexus rom will not run on that new phone ?
I just want to understand...
Did android kernel is modular like linux kernel and contain all drivers like linux ?
Thanks
sorry for my bad english
Click to expand...
Click to collapse
Because of different kernel and processor may be

Categories

Resources