[Q] Android port to Satio - General Questions and Answers

Firstly, apologies but as a new member I cannot post to the developers area.
I want to know if anyone has put any effort into a port of android to satio? I believe the first part shouldn't be too challenging as Android has already been compiled to the OMAP3430 SoC. I am familiar with setting up an arm cross-compiling toolchain and have worked with the arm9260 chipset in this regard (including writing kernel drivers).
As I haven't developed for a phone before, I'm not sure how easy it is to access the bootloader and download a new kernel.
Beyond that I'm in new territory regards the neceeasry drivers and accessibility to the information to develop the kernel code required
I look forward to your comments.
Regards, Steve

Please use the Q&A Forum for questions Thanks
Moving to Q&A

Related

[Q] Android kernel programming

Hi All
I am a newbi to kernel programming , especially to android kernel.
Can you tell me some good places on the net , that can be great sources for getting in touch with that thing.
I want to become familiar with the android kernel , dalvic etc. ( I speak english and german )
thanks in advance.
Sz_gergo
I am too interested in this subject. I am learning slowly as and when I get time.
kernelnewbies.org
Generally good resource for starting out learning linux kernel
(Which is what the android is built off of)
android.git.kernel.org
Android Kernel Source
lwn.net/Kernel/LDD3/
Online guide to driver development among many other related topics.
pdk.android.com
This guide provides an under-the-hood introduction to the Android platform, and is designed for platform developers and manufacturers building Android-powered devices.
Sorry for not providing the links...xda won't allow me to post links since I have less posts.
Android kernel
Dear All
as i understand, the android kernel source, what you can download from Google , should be enough for building a new kernel to some phone.
If i am right, does that mean that the Linux kernel sources are already included?
Or am i totally wrong?
Thanks for your answers
I am also interested in learning the Kernel Development and ROM development. Can Any one Help.
sz_gergo;11673408 begin_of_the_skype_highlighting 11673408 end_of_the_skype_highlighting said:
Dear All
as i understand, the android kernel source, what you can download from Google , should be enough for building a new kernel to some phone.
If i am right, does that mean that the Linux kernel sources are already included?
Or am i totally wrong?
Thanks for your answers
Click to expand...
Click to collapse
I have the answere for the question above.
After i have inspected the Android kernel sources, it came out, that i have been right.The only source you need for creating a new kernel for a phone, is the complete android kernel.
The linux kernel is allready included.
I think if you want to build a kernel, specific for your phone. you have to overwrite the default dirs with the specific sources of your phone. If it is not allready done by others.
Android Kernel
Hi,
We need to distinguish between Linux and Android. Android was forked from Linux, and now those are managed as separate products. Android usually takes the updates from linux, but there are features in Android which Linux refused to get (such as wakelocks).
So the android kernel source includes all needed to build a working kernel.

[Completed] Porting KitKat from NS-15at08 to NS-14T002

Hi everyone. I was given this NS-14T002 tablet for Christmas and after speaking to an insignia employee they promised the update from 4.2.2 to KitKat to be sometime in early summer or late April. Well as you can tell they're a bunch of liars. They recently release a new tablet called NS-15at08 with almost the exact same specs, the only difference being it has a rear camera and it has 1.4 GHz instead of a 1.2 GHz processor. Most importantly the NS-15at08 runs on KitKat. The tasty chocolate I so desire!
Anyways I'm curious as to how difficult it would it be to port it over. I've never ever ported a thing so I'm a bit worried about that but I need myself some chocolate.
My next thought was finding a well-known tablet with the same specs as mine and flashing a custom ROM made for that device. Would this or would this not work? This was actually my preferred way of solving this horrible issue since it would be mean I would most likely also receive Android L. I scoured the web for a device with similar specs but returned empty handed.
Maybe you can help? Here's the specs let me know if you need more information.
Height0.4"
Width8.2"
Depth6.2"
Weight1.2 lbs.
Wi-Fi Built In
InternalHDMI
Ports1Bluetooth
cell lithium-ionpolymer
Operating System 4.2 Jelly Bean
DriveCapacity8GB
Capacity8GBProcessor
BrandRockchipGPS
(RAM)1GBDisplay
TypeCapacitive touch panel (1024 x 768)Processor
Speed1.2GHz
Front Facing WebcamPixels2.0MP
I think this thread [GUIDE]How To Port Different ROMS to Your Device (Simplest and Fastest) would be of help to you.
Perseus71 said:
I think this thread [GUIDE]How To Port Different ROMS to Your Device (Simplest and Fastest) would be of help to you.
Click to expand...
Click to collapse
I appreciate your reply but I was wondering if it would be possible to just flash rom without having to port. A ROM from a device with identical specs.
No. Never. Not unless you love expensive paperweights.
Perseus71 said:
No. Never. Not unless you love expensive paperweights.
Click to expand...
Click to collapse
Okay but I just read the thread and it said I won't be able to upgrade to a newer android version which is kinda the point of me trying to port.
No you can not upgrade unless you have got Source from the Manufacturer.
Perseus71 said:
No you can not upgrade unless you have got Source from the Manufacturer.
Click to expand...
Click to collapse
If I ask for source code they have to give it to me don't they?
developer209 said:
If I ask for source code they have to give it to me don't they?
Click to expand...
Click to collapse
It depends on the manufacturer. Some might others may not.
Perseus71 said:
It depends on the manufacturer. Some might others may not.
Click to expand...
Click to collapse
They said yes and they will email me the source code in a few hours. Now what? ?
You will have to Set up a Linux Build environment and start reading. A lot of reading is required in order not to brick your tablet unless you have good development background.
Here's a Starting point on some of the articles from XDA University. Please note this is just starting point.
Getting Started : Setting up Android Development Environment
How to Build an Android ROM
Porting AOSP ROMs using Source Code
Now please note the mission of XDA Assist is
The mission of XDA Assist is to provide basic help to those who have tried searching but can't find what they are looking for and need assistance. This is not a "helpdesk" providing technical assistance but more to point you in the correct direction with your problem. Perhaps you can't find posts on how to root your phone, install custom recovery or maybe you have questions about how to navigate and use features on the site
Click to expand...
Click to collapse
So we are not able to help you more than this. However if you have further questions on development, you can post in
Android Development and Hacking > Android Software and Hacking General [Developers Only]
or Android Software Development
Perseus71 said:
You will have to Set up a Linux Build environment and start reading. A lot of reading is required in order not to brick your tablet unless you have good development background.
Here's a Starting point on some of the articles from XDA University. Please note this is just starting point.
Getting Started : Setting up Android Development Environment
How to Build an Android ROM
Porting AOSP ROMs using Source Code
Now please note the mission of XDA Assist is
So we are not able to help you more than this. However if you have further questions on development, you can post in
Android Development and Hacking > Android Software and Hacking General [Developers Only]
or Android Software Development[/QUOTEfun.
Gosh this sounds so much fun ??
Click to expand...
Click to collapse

[Completed] [Q] Beaglbone android 4.4 with 3.14 kernel

Hi All,
I've been reading these forums for sometime now. Until now I've only been here as a user of roms not as a developer.
However, on my current project I had the requirement to get an android distribution running on a beaglebone black embedded board. As there are a lot of experienced rom developers here I would like to ask my question here.
Currently I'm successfully booting the kernel. It also seems to get to the actual homescreen. However, it seems that I'm currently in a bootloop a when I reach the homescreen. I get thrown back to the boot animation.
My guess is that there is some kind of memory issue here. More specifically the vmalloc part.
I get the following error in the dmesg when the homescreen crashes:
binder: 1804: binder_alloc_buf failed to map pages in userspace, no vma
Can anyone confirm that this is good explanation and tell me how I should adres this issue? Or maybe provide me with some other tips?
I tried to increase the vmalloc size but I'm not really able to do so. if I enter the vmalloc=512M command on the uboot it doesn't really change the size...
Thanks
Hi there,
You must read some guides and tutorials for that. Starting from:
1. This guide about how to port different ROMs to your device.
2. This guide about how to port AOSP ROMs to your device.
3. This guide about how to port a ROM to your device.
4. This guide about how to create a new ROM for your device.
5. This guide for ROM development beginners.
6. This guide in xda university for building your own android rom.
7. This guide in xda university for porting an aosp rom from source.
There are also instructions on the cyanogen mod wiki site about it.
A good place to ask if you have questions about it or need help, is Chef Central - Android. Many devs are watching this forum and can help quickly.
Good luck

[Completed] Getting into android.

Hi,
So I've been getting into android the past month and really started liking it. I have however some questions about how an android (or Linux) operating system works. I also have some questions about how the Kernel and the OS work together and what I need to know about it before I start learning more about and getting into developing.
1. Does the Kernel command the OS or the other way around?
2. Can I create a custom Kernel specifically for an OS?
3. How much experience do I need to create a custom Kernel and is it phone specific in the sense that if I make Kernel A for phone A will it be easier to create Kernel B for phone B?
I'm not native speaking, so please ignore any grammar issues.
I'd love to hear something from you all!
Kind regards,
Pinnekeshaar
pinnekeshaar said:
Hi,
So I've been getting into android the past month and really started liking it. I have however some questions about how an android (or Linux) operating system works. I also have some questions about how the Kernel and the OS work together and what I need to know about it before I start learning more about and getting into developing.
1. Does the Kernel command the OS or the other way around?
2. Can I create a custom Kernel specifically for an OS?
3. How much experience do I need to create a custom Kernel and is it phone specific in the sense that if I make Kernel A for phone A will it be easier to create Kernel B for phone B?
I'm not native speaking, so please ignore any grammar issues.
I'd love to hear something from you all!
Kind regards,
Pinnekeshaar
Click to expand...
Click to collapse
Hello,
1) Yes
2) Yes
3) You really need to have an in depth knowledge of your device, linux kernel and you should know how to use git. Depending on how you want to get started, you can add more governors, hotplugs, upstream updates and more..
Regards
Vatsal,
Forum Moderator.
Thanks for your reply and also aswering my questions. I have no more questions.

Best tablet for custom android development?

Hi,
I‘m looking for a tablet as a development platform for gettting into custom android firmware development. What device (current or discontinued) is the most painless to compile a custom rom for with a current android regarding unlocking and driver support in 2021?
I‘m an electronics engineer and have worked on firmware for arm microcontrollers and did some kernel development for embedded linux (yocto) before.
I have the idea of creating an open source custom android for elderly people and small children that is pretty much locked down and has a simplified interface without cryptic messages. All settings, app installation and user support should be done from an app on another device. I think all the building blocks for this exists, I just want to put them together in one package. If you have suggestions for an existing base rom to build this on I‘d be happy to hear about it.
Cheers,
Rick

Categories

Resources