I am trying to find information on how to poke around my own phone's source code (if possible, Sprint HTC Hero) and also the Android Source Code which is downloadable.
I'd like to see how the apps look, and how I could change them. I also want to know how to go about editing and loading that source code up on a phone.
Is this possible with my phone? Or do I need a special phone to do so? I'd like to know how these folks are going about creating these special ROMs for phones, and how someone can edit it to their liking, and then compile it for a specific device.
source.android.com is where you should find what you need.
I did find that, and it works someone, but the address isn't right, and for some reason I can't install an older version of Java on my Ubuntu VM. Maybe because it's 10.4? Has anyone else been able to download the source code via Google's instructions? On a newer machine?
sstrickland816 said:
I did find that, and it works someone, but the address isn't right, and for some reason I can't install an older version of Java on my Ubuntu VM. Maybe because it's 10.4? Has anyone else been able to download the source code via Google's instructions? On a newer machine?
Click to expand...
Click to collapse
If you add the Jaunty repositories to your sources.list file you should be able to download sun-java5-*
If i find the exact apt lines I will post them later.
Another thought - Switch to Debian Lenny - I switched from Ubuntu after I upgraded to 10.04 and absolutely hated 10, but I am loving Lenny.
EDIT:
add
deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
to your /etc/apt/sources.list
then do
apt-get update
apt-get install sun-java5-jre sun-java5-jdk
Thanks for the update, I'll try that and see how far I get.
From what I gathered, Ubuntu was the only supported Linux operating system that I'd be able to get the source code of Android for...
I understand that the size of Android is so massive, an organized way to download it is necessary, but why isn't this just simple like FTP access?
Related
hey all,
does anyone know how to compile an SDL app under linux for MW6? I've tried building cegcc but the build fails and I cant find updated info on their site...
Well, i did it a while ago (used CeeGCC). To be honest, i don't remember what exactly i needed to change, but a good starting point would be to get SDL version working with windows mobile. Arisme did a port, which you can get here (that's the one i used):
http://arisme.free.fr/ports/SDL.php
As you can see on the linked page, the port is discontinued, so you could also try grabbing a newer winCE-compatibile SDL version used by scummVM (they use CeGCC too).
Theoretically, the standard version of SDL from libsdl.org should have winCE support, but i couldn't get it to work and had to use Arisme's version instead.
Since windows mobile version of ScummVM is compiled using CeGCC, it might be a good idea to ask for details at their forums, or take a look at their wiki (with links to modified SDL version - both patches to standard release, and precompiled libs):
http://wiki.scummvm.org/index.php/Compiling_ScummVM/Windows_CE
Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Richard_Xeli said:
Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Click to expand...
Click to collapse
Hello,
i am having problems with the linker too! i am using the NDK (because it actually does C / C++ code) and the code compiles with very few warnings on some instructions but works well otherwise, it just WOULD NOT LINK the stuff together!! one interesting setting i noticed in some public makefiles for the NDK i noticed is that they actually set the linker to /system/bin/linker, which is obviously a file on the target device. but i don't know how it would access it? any ideas?
BTW: post your error(s) please
Try this
The system won't let me post a link (as a new user), however there is a really good tutorial on native android development and debugging using the AOSP build system. Search on Aton International Incorporated and click on blogs in the menubar. I am in no way associated with the company, just happy to finally be able to cross-compile, link and debug for android.
Maybe someone who has more posts could post a link here.
http://www.aton.com/android-native-development-using-the-android-open-source-project/
http://htc-linux.org/wiki/index.php?title=Mega
i read that the kernel is same wont that help porting andriod with respect to some drivers change!!!
no one answered
the problem is our first developer can't keep the android project...
hi
how can i debug this files and run???
currently I'm trying to cross-compile a most recent wildfire kernel I found on htc server using a configuration I personally made for our mega. The problem is there are many errors in the source code...
re.:
In my opinion we start build android from beginning. My problem is in my OS on my PC. I have Windows XP and building and modifing found only on Linux. I find this page with porting guide. It is step by step How to create boot screen, How to setup Connectivity...
source.android.com/porting/bring_up.html
On this page are programs for debug and download android source code...
Anyone write.
Move to general as not rom development
I'm using linux, this is why I want to try to cross-compile a kernel for our device, like I just said, source code has a large number of errors, I don't know why...
if you are interested, I can share the kernel configuration I made myself...
Now I install Ubuntu 10. It was compilation found in this version of Linux??? Where programs can I download? Now I have Git, Eclipse and Python 2.7. How can I install .tar packs on Ubuntu zito882000?
if you are new as a linux user it's quite difficult to explain, you need gcc plus the same programs a normal user has to compile a kernel.
The difference is in the way of compilation, a parameter that does a compilation for arm architectures....do you have some kernel compilation experience?
re.:
zito882000 said:
if you are new as a linux user it's quite difficult to explain, you need gcc plus the same programs a normal user has to compile a kernel.
The difference is in the way of compilation, a parameter that does a compilation for arm architectures....do you have some kernel compilation experience?
Click to expand...
Click to collapse
windows is gold.
with compilation i haven't any experience. I only begin in programming languages C, C++ and VB. I compile only my apps in visual studio. And i have nice experience with photoshop.
it isn't exactly the same thing, in a kernel you have a large number of drivers to compile, not a only one program...
Here cyberciti.biz/tips/compiling-linux-kernel-26.html you can find a simple guide!
The most important part is the command "make" that need some different parameters to do a cross-compilation for ARM processors ^^
thx
I saw the instructions and understand him. If I somehow help you write to my icq: 484038954 or Skype: vasek-smekal.
So far, thanks
I just bought an HTC Hero with native android.
If you want to try again I share with you my kernel configuration file and a link where you can download the kernel source I used.
(remember to rename "config.txt" in ".config" with the point and without the extension)
KERNEL SOURCE -> http://developer.htc.com/ (must choose "HTC Wildfire - Froyo - 2.6.32 kernel source code")
ARM LINUX GCC -> http://www.handhelds.org/download/projects/toolchain/archive/arm-linux-gcc-3.3.1-030820.tar.bz2
Hello everybody!
I've been thinking a while of running my own bèta channel and decided to start one.
There is something that I've wondered, how do I keep the original and bèta code seperated?
Is there a sdk for a beta channel or do I need to use a private Github repository?
If yes, can somebody please tell me how I set it up?
I've been trying and dying to get Github work with Eclipse, but it doesn't work
Thank you in advance!
Git is definitely the best way to do this, basically make a beta and release branch. Switching between the two is really easy once you have it all setup.
What are the specific problems you have been having with Git?
I got GitLab instald on a local server and I have a beta ans a master branch. The problen with git is that i know the basics, push, pull, add and commit thats is. I really don't know how to seperate the code of different versions (eg v.1 and v.2) in the same branch.
Let me give another exame the GitLab is a wonderfull project, but I can't delete a folder (all the magic happens within a webinterface), but I can delete the files one by one ... Nope takes to much time
How do I manage files trough git, from my workstation (remove directory's for example)
Is there a guide about git somewere? When i search for it on Google all i get is github results but i want git results.
Thanks for helping me out!
Appriciate it!!
Why do you need GitLab? From your requirements you just need Git client and remote repository (which can be github.com).
You might want to check Git Branching - Basic Branching and Merging.
I wanted an east to use git software. When installing GitLab the setup setups everything for you, so I don't have to run commands etc. which saves me a great amount of time.
Thanks for the link, I'll check it out later today!
I see. Basically to get started with GitHub you just need Git package (e.g. msysgit for windows).
Yeah, I got GitLab installed on a networked server.
Can you learn me a few tips 'n tricks?
Sure, you can start from here: https://help.github.com/articles/good-resources-for-learning-git-and-github/
Thanks!
Hi Everyone! My name is Selim.
I am new around here.
My question is I want to use linux packages on Android.
There are some project about like Botbrew.
There is a very long XDA post about it.You can look at it from here.
Since then ,2012, lot of things have changed.
I think that, can I do anything like this.
I have installed Busybox but Busybox has a very limited packets counts. I want to use Nmap ,Metasploit ,Airodump-ng anything you can imagine of.
I have searched lot of programs like Botbrew because lot of links were broken I couldn't do anything about it.
Nowadays no one is doing this type of thing. But I want to do it.
I have a linux background so i didn't have a hard time using Android shell via ADB but i want to do a program like Busybox or Botbrew.
What should I learn.I don't know how to learn so can you help me. Like how to program them.How did they do this.Like you need to learn Java ,C ,etc.
The sources aren't important.I have a T278, have installed custom firmware, TWRP ,Magisk.
If you want to learn how to root this device I can post about it.
I will be very happy if you can post here
The thing that I want is in this links:
Compile, Install, Run Linux Apps on Android
The advantage of using a POSIX based mobile OS is that you can run and install any Linux applications on your mobile (smartphone) with ease. And thanks to Open Source, its even easier to Compile, ... Read more
geeknizer.com
Thanks.
Selim
Welcome everyone as I asked you.
I found a solution about this problem. It is Kali Nethunter you can find it here.
Get Kali | Kali Linux
Home of Kali Linux, an Advanced Penetration Testing Linux distribution used for Penetration Testing, Ethical Hacking and network security assessments.
www.kali.org
You can download the files from kali.org and then you can flash it with TWRP.
If you want i can post a detailed thread about this.