[Q] Which Device to Choose for Kernel Development - General Questions and Answers

As part of a project I have to develop an application to replace android default lock screen or tweak it. From my interaction with seniors kernel development on samsung is tricky because of lack of documentation and flexibility.
I have to buy a device for specific purpose. Which device should I buy
> Nexus 4
> HTC
I am following these sources:
kernelnewbies
Generally good resource for starting out learning linux kernel
(Which is what the android is built off of)
android.kernel
Android Kernel Source
Linux kernel
Online guide to driver development among many other related to

suresh301190 said:
As part of a project I have to develop an application to replace android default lock screen or tweak it. From my interaction with seniors kernel development on samsung is tricky because of lack of documentation and flexibility.
I have to buy a device for specific purpose. Which device should I buy
> Nexus 4
> HTC
I am following these sources:
kernelnewbies
Generally good resource for starting out learning linux kernel
(Which is what the android is built off of)
android.kernel
Android Kernel Source
Linux kernel
Online guide to driver development among many other related to
Click to expand...
Click to collapse
samsung might be your only way to get the best for making kernals or roms. they are almost impossible to brick but i always seem to brick them x)

I say sony,bit sensitive but effective!
Sent by 桑傑庫馬爾 :stirthepot:

Related

[HELP]AOSP

Hello,
Here I have a small question since AOSP ROMs are most popular with Nexus phones.
I have worked around with custom ROMs..now if I want to try AOSP...
Can anyone just give me a brief explanation on how I can compile AOSP from source.. Lets take nexus s as an example...
Also is C++ or any other programming language necessary?
Thnks in advance for helping!
Sent from my GT-I9003 using XDA App
I am also interested in learning to compile AOSP from source. If there is a dev out there willing to help us out that would be awesome!
I have done work with Custom ROMs .. Just wanna learn aosp..
Sent from my GT-I9003 using XDA App
You'll want to know java.
And you'll want to read thru the stuff on source.android.com
As for setting up from source, start here: Initializing a Build Environment
As for guides, there's literally hundreds of them - excluding the one off of the Official google source site. Search xda, google, etc.
Here's just one example: [TUTORIAL] Setting up and Compiling ICS from AOSP (for the galaxy nexus) which follows the guide found on -> How to Compile ICS (Ubuntu)
Catch my drift the information is all out there. You just have to take the time to search and read.
One last thing, for setting up for dev environment. A lot of people seem to go for ubuntu (my recommendation so it might be the most user friendly.
Personally I use arch linux so the w/e flavor you choose shouldn't hinder you.
kyouko said:
You'll want to know java.
And you'll want to read thru the stuff on source.android.com
As for setting up from source, start here: Initializing a Build Environment
As for guides, there's literally hundreds of them - excluding the one off of the Official google source site. Search xda, google, etc.
Here's just one example: [TUTORIAL] Setting up and Compiling ICS from AOSP (for the galaxy nexus) which follows the guide found on -> How to Compile ICS (Ubuntu)
Catch my drift the information is all out there. You just have to take the time to search and read.
One last thing, for setting up for dev environment. A lot of people seem to go for ubuntu (my recommendation so it might be the most user friendly.
Personally I use arch linux so the w/e flavor you choose shouldn't hinder you.
Click to expand...
Click to collapse
Thanks man! I have my computer set up so it dual boots Windows and Ubuntu, so I'm going to try my hand at this!
Thanks man ! Will give it a try ..
Still learning Java Though
Sent from my GT-I9003 using XDA App

[Q] Noob trying to become a dev.

This thread may be pointless but I don't care. I can't find a straight general answer.
I am kind of new to Android modding but have ok skills with coding and decent skills with Linux (I know how to survive in a shell).
What are good code examples or what are the best methods(exploits) used to privilege escalate a shell?
Do I need to find a hole in the Linux kernel or try to hijack an active process running as root?
What is needed to crack the bootloader? I know I'm asking a lot and most of my terms used may be wrong but I find it hard to take that next step. Would I find answers by reading an Android developers book?
Please, where do I start???
There are many options in the development criteria, the two main consist of OS Development (Roms) and Application Development.
Judging by what you're stating, I think you're trying to work towards OS Development? Correct me if I'm wrong.
I know I'm being a bit cheap by not typing out everything needed, as I will have to put some time into that... But the official CyanogenMod wiki shows you how to set up a building environment on Mac, Windows and Linux.
From there they explain in detail on what shell commands you must use to run exploits and such. They also explain what specific components and files do and how you can modify and update them from what I have previously seen. The site also shows you how to build a ROM for your device itself, using the CyanogenMod source of course, the method applies to all source to be honest.
Here's a link to the website - http://wiki.cyanogenmod.org/w/Main_Page
If this wasn't what you were asking for let me know so I can explain furthermore.
Krish.
Sent from my Nexus 5 using Tapatalk

[Completed] Question about creating an Android based Robot

Hi,
I'm working on an Android Based Robot, and I have difficulties to find answer to my questions.
I would like to use a SoC (system on chip, basicly creating a device from the chip) with android to manage all the controle.
I'm wondering what are the constraintes and limitations for using the android system.
(for instance can I use all the services such as android voice recognition ? Is there any declaration/fee to use android as OS ?)
I have been looking online already but it seems I'm not using the right keywords.
And it seems really uneasy to contact people from android.
Do you have any idea where should I look ?
Also if you have experience/answer, I would be happy to hear it.
Best Regards;
Hi !
We appreciate your enthusiastic attitude but unfortunately there is not much help here on building devices , xda is about software development basically rather than hardware
Some hint can be found here
https://forum.xda-developers.com/general/xda-university
https://www.xda-developers.com/xda-university-building-your-own-android-rom/
More help might come from Google and other enthusiasts
Good luck !
Thank you for your answer,
concerning android I will have a look to the custom builds tuto,
concerning the feature I will post specific questions for each topic.

Infinix Zero 5 (X603 MT6575) Andoird 10 Build

Greetings Srs,
I'm the Zero 5 Pro owner which I guess, most of the Zero series owners, we are a little disappointed about the support from the vendor.
For this matter, I'm starting to compile from ASOP with the latest source code for this device.
I found Infinix already removed the stock firmware from the official website, so I can't find the current firmware which the device is currently running x603-h575b-n-190610v136 (if any of you have it back up and don't mind sharing the flashable version please add a link for the binaries, it could be useful).
I'm figuring the device tree, new kernel, and MT6575 documentation (along with the other device's documentation the phone it's built with) so I can customize as much as I can to make a clean build, no blobs, and trash, just to have a feel of the new Android in which I think a phone that could live a couple of years more.
Since the Android Studio AVD is not that customizable as I would like to replicate the phone components I0m looking for a decent emulator where I can specify the devices I know the phone has, and try it there first before going to the hardware itself.
Since I can't post directly in the Infinix Zero 5 Thread, if you please move the post to that thread, do so for me.
Also if you want to share advice, tips or suggestions, tools, etc, please feel free to let your comment below.
If I have news and advances in this process I'll be sharing under this same thread.
Cheers,
crappy OS GREAT HARDWARE...
Phronesis ROM had more useful function than the 05

Best phone for android app development

I'm currently developing an android app that needs to communicate with a device over Bluetooth, so using the emulator is out of the question.
What is the best android device to buy for testing/development, if you don't have any specific recommendations what are the things to look out for? Coming from the iOS world here.
Any help would be appreciated
joshualowe1002 said:
I'm currently developing an android app that needs to communicate with a device over Bluetooth, so using the emulator is out of the question.
What is the best android device to buy for testing/development, if you don't have any specific recommendations what are the things to look out for? Coming from the iOS world here.
Any help would be appreciated
Click to expand...
Click to collapse
Any device will do the job, there is no need to use a specific device. Apps are apps and they work on all phones, provided that the app is compatible with the android version on the device. Some apps require at least a certain version of android but that should not be an issue as long as you are using a relatively recently released device and if you are working with current android versions.

Categories

Resources