[Completed] [Q] Beaglbone android 4.4 with 3.14 kernel - XDA Assist

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

Related

How to create a ROM...

Hi all, i'm new to this forum so i will first give an introduction of my Android experience.
I have been developing apps and android for the ADP1 (g1) phone, these are mainly for gaining access to telephony data and displaying it for Telecom engineers. I would like to port this code into the Magic/Sapphire, though (please correct me if i am wrong) there is no support for building the android code for a magic and it appears you cannot flash system.img onto the magic.
I have been looking at the ROM's that are about and was wondering how you managed to make them?
If there is already a thread for this can someone point me in the right direction as i have been unable to find it, otherwise can someone post a guide on how to approach this. Thanks.
Liam

Creating a rom based off CM(Galaxy S4), How ?

A bit of infos before starting this thread. I'm using a Samsung Galaxy S4 Canadian, I have a high end computer(maybe that helps for coding,stuff like that) and I have "medium" knowledge on rooting/flashing,etc. I am a great designer, well for myself, I think i'm good. So I can edit or create icons and themes for new rom!
I say medium, because the only thing I really know about this kind of stuff,is rooting,flashing,installing roms and pretty much that honestly.
I already downloading the Android SDK to test those custom roms i'd like to create. I thought of doing like a couple of guys on here, using the CM Source? and just adding stuff,etc.
--
What i'm looking to do, is creating a rom based of CM for the Galaxy S4 and just in general a little side project for myself and adding some infos in my head; Some may laugh because of the lack of knowledge, but hey! we all started somewhere
I'm asking the community of dev's or just users, do you have some threads or some stuff to download to "Start" this project ?
Some things I should read before, I won't test rom's on my phone as it's a daily phone, i'll use the emulator instead(AVD or SDK) and i'm already searching on how to run it.
If you have any useful youtube videos i'll gladly accept them
I found a tutorial on how to build a rom but for the Nexus 4, I guess it's the same process but different sources ?
I'll search for the sources of Cm for the Galaxy s4 but if anyone reads this thread and knows where to get it, please link me!
Thanks to the community, this may also be useful for other users. Thanks!
Okay, I will help
1st off, let me teach you some basics.
1.) You cannot test roms on the android sdk, the android sdk has nothing to do with roms, its for building apps and java programming. It will not help you with anything if an issue goes wrong in a rom, well only the adb (android debugging bridge) for taking locats.
2.) You cannot compile a rom on windows, only linux, preferably ubuntu. So you need to just download cm11 for your device and extract the rom zip.
I will tell you more later, but its like 1pm here Goodnight

[Completed] [Q] Develop Custom ROM & Recovery for Logic X3

I would like to develop custom roms and recoveries for the Logic X3. Unfortunately, this device is quite unknown so I can't find any drivers for it
It is currently on Android KitKat 4.4.2, and with its limited internal memory I am limited to the number of apps I can install. I have tried EVERY app/mod this forum and Google has to offer. None works.
I really would like to begin by making a custom recovery for it. Attached is a screenshot of some of its features.
Anyone who can help with this is greatly appreciated.
Hello there
You will find a lot of information in the XDA University pages, especially this one: Getting Started: Building Android From Source
There are lots of resources throughout the XDA forum, for instance this one: [UltimateGUIDE][How-to]Create your Own Custom ROM an easy way|Android Secrets -_- and this one [ GUIDE ] How to Prepare Ubuntu 14.04 LTS Trusty Tahr to Compile Android ROMs
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.

How to create a distribution of crDroid for the tablet Teclast t40 pro (rooted, unlocked bootloader)

Hello,
Could somebody give me links, initial instructions or an overview of how to adapt the crDroid custom rom to be able to install also on the Teclast t40 pro ?
Or in other words... Which changes should be made (and a general how-to) to that rom once obtained its source code, to add support for a new device, in this case that tablet ?
I am a software developer in .NET with some linux experience also, and this could give me the opportunity to learn something big'n new...
Thanks in advance !
It's so sad that nobody can give me a hand on this; At least a general intro. Ok, I will forget about it and I'll change my little goals in life to something more useful and productive.
Have a nice day.
Hello try this
[GUIDE] Build crDroid ROM from source
Because I saw some requests for a build guide for crDroid (ROM with many added features based on CM) I decided to make one. Please report if it worked. If you have errors I will try my best to resolve them. Please read everything carefully...
forum.xda-developers.com
and this below this information below.
Thanks
I hope you are very successful in this process.
I hope you are very successful in this process.

Categories

Resources