Linux packages on Android - Samsung Galaxy Tab A series Questions & Answers

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.

Related

Poking around the Source Code

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?

[Q]andriod kernel of mega is same like wildfire by proof!!!

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

[Q] test roms on emulator

Hi,
I would like to test the roms I can find here, on an emulator.
for that, I will need something like the SDK for the Acer tablet A500.
(to build my AVD)
I can't find it. anyone have an idea where I can find it ?
thanks
Olivier
http://lmgtfy.com/?q=android+sdk
ah ah ah . so fun )
unfortunatly, it is not provided by google !
I know well the android SDK, I am talking about a small part which is sometime provided by constructor in order to help the developper to build application with android SDK.
for example, Sony provides the SDK part for some of its device. it has to be added to the android SDK.
I think it could comes from Acer, or developer who has it because they are working near or far from this (in the same way, the Leak comes from someone which is near from developer team)
I am still looking for that.
thanks
Olivier
Im totally confused as to what you are looking for.. If its reference sdk from acer . They have not provided this.. I think its something they provide to google then google adds it to the sdk. or acer will provide a repo to add to your sdk.
now here is what setup i have..
1 download the sdk tools from developer.android.com/sdk i think is the url (use search )
2. download eclipse (there is a link on the developer.android.com site)
3 download the correct FULL Java library abe sure to read the requirements on the version of eclipse you use for what jave version you need )
4 Read read READ .. Read the how to install sdk development environment in Eclipse for your EXACT OS . Pay close attention to every detail. like is is x86 x64 and so on.
5 Follow the instructions word for word on again the install and setup for android development platform for your OS Version.
This is what i use as well as CYGWIN (this is for advanced users) As well as there are other tools that make developing much easier. YES IM NEW TO all of this as well.But have learned alot over the last year.
The above only gets you ready. Once you get to this point . KEEP . WELL YOU KNOW THIS Part already KEEP READING.. in a few weeks you will on your way.
GOOD LUCK developer.android.com has everything your asking and beyond.
If any of the above is incorrect Blame it on developer.android.com or the mighty thor. god of the universe..

[Q]Which linux OS the the best to create custom roms for our phone ?

Hey everyone, everything is in the title. I recently installed Ubuntu 14.04 via VirtualBox, and now i would like to start create some roms, after a long time spent in front of the developement section. Today i would like to see my name in this section, so i need advices about which linux should i get ( if Ubuntu is not the right distribution ) and the tools you use in Linux to make wonderful roms !
Thanks everyone
I see Biel and savie using Ubuntu, so why not?
OxygeenHD said:
Hey everyone, everything is in the title. I recently installed Ubuntu 14.04 via VirtualBox, and now i would like to start create some roms, after a long time spent in front of the developement section. Today i would like to see my name in this section, so i need advices about which linux should i get ( if Ubuntu is not the right distribution ) and the tools you use in Linux to make wonderful roms !
Thanks everyone
Click to expand...
Click to collapse
Ubuntu/Linux dist is required to build a project from a source code, and it requires a pro to build and debug a project/ROM frm source! To make a simple/normal custom, you may even use Kitchen(in Cygwin for Windows) or even in Linux!
For ur question, Ubuntu is better choice!
Ubuntu is not a must,but its easy because it have the most tools preinstalled for this.
GREEETZ FROM TEAM-OPTIMA!!!
@lionelsuyog for now, i simply want to build a custom rom basedon stock or CM. not a complete project from souce ( not enough experience ) 
 @-CALIBAN666- Do you have some tuts in mind to help me to start training ?
Thanks
OxygeenHD said:
@lionelsuyog for now, i simply want to build a custom rom basedon stock or CM. not a complete project from souce ( not enough experience )
@-CALIBAN666- Do you have some tuts in mind to help me to start training ?
Thanks
Click to expand...
Click to collapse
if you are not building from source all you need is
apktool
java jdk
android kitchen
cygwin (if using windows)
notepad++
winrar
There are many guides - best you do some searching for example
http://forum.xda-developers.com/showthread.php?t=1801690
Well theming a custom ROM takes a lot of time and for completing the work on time you obviously gonna need some niggas to help you in your work.Well if you have a good internet connection then you can sync up sources and compile ROMs like Carbon,Pac or AOKP Kitkat for this device since we're getting closer to a stable CM11.There are a lot of guides on how to sync a ROM source code on the computer.Search down the threads and start syncing.

Most Customs for G800F

, lets be honest: are ****.
Unstable, Buggy and **** like that.
And instead of just complaining about the devs* I want to know the following:
If I want to contribute on the code what do I need to learn? Since a while I'm teaching myself Java and Python via Solo Learn. What would I need to learn to contribute to the Android OS Code itself NOT APPS!!
It will take me months, years I am aware of that. But I'm just tired of only trying different Custom ROMS, only to see that most of them aren't a real alternative of the Stock Roms, without having the possibility to do something about it.
So feed me with some input. What are good sites to learn that?
Happy for your feedback!
*Because damn I know that the Devs are doing an amazing job!
Google is a good start.. that search engine can point you in the right direction ?
Ghost1607 said:
And instead of just complaining about the devs* I want to know the following:
If I want to contribute on the code what do I need to learn? Since a while I'm teaching myself Java and Python via Solo Learn. What would I need to learn to contribute to the Android OS Code itself NOT APPS!!
It will take me months, years I am aware of that. But I'm just tired of only trying different Custom ROMS, only to see that most of them aren't a real alternative of the Stock Roms, without having the possibility to do something about it.
So feed me with some input. What are good sites to learn that?
Click to expand...
Click to collapse
It really depends on what you want to do with Android. The upper layers are in Java. The lower layers are in C++ or C. If you want to adjust the stock libs you might have to understand ARM assembler code. Also a basic knowledge of microcontrollers and linux kernel does help (especially if it comes to the graphic and camera subsystems).
There is almost no documentation for Android (the code is the documentation) and the subsystems change from version to version. The best way (and probably only one) to learn Android is hands on. Just try to fix the most annoying bug you encounter. Try to understand how the source-code works. Check how the Java, C++ layers, kernel and the stock libs interact with each other.
Also try to understand the adb logcat output.
Also try to understand the G800F device tree. A first step is also to compile the source yourself.
hennymcc said:
It really depends on what you want to do with Android. The upper layers are in Java. The lower layers are in C++ or C. If you want to adjust the stock libs you might have to understand ARM assembler code. Also a basic knowledge of microcontrollers and linux kernel does help (especially if it comes to the graphic and camera subsystems).
There is almost no documentation for Android (the code is the documentation) and the subsystems change from version to version. The best way (and probably only one) to learn Android is hands on. Just try to fix the most annoying bug you encounter. Try to understand how the source-code works. Check how the Java, C++ layers, kernel and the stock libs interact with each other.
Also try to understand the adb logcat output.
Also try to understand the G800F device tree. A first step is also to compile the source yourself.
Click to expand...
Click to collapse
Thank you for the reply I appreciate it!
TWRP
hennymcc said:
It really depends on what you want to do with Android. The upper layers are in Java. The lower layers are in C++ or C. If you want to adjust the stock libs you might have to understand ARM assembler code. Also a basic knowledge of microcontrollers and linux kernel does help (especially if it comes to the graphic and camera subsystems).
There is almost no documentation for Android (the code is the documentation) and the subsystems change from version to version. The best way (and probably only one) to learn Android is hands on. Just try to fix the most annoying bug you encounter. Try to understand how the source-code works. Check how the Java, C++ layers, kernel and the stock libs interact with each other.
Also try to understand the adb logcat output.
Also try to understand the G800F device tree. A first step is also to compile the source yourself.
Click to expand...
Click to collapse
Dear hennymcc,
it is about your TWRP for G800F.
Everthing is ok, till it comes to a restore of a TWRP backup.
After the restore the S5 Mini is in a bootloop.
I have tried it with the version August 2015 and March 2016.
Is there any solution?
Thank you.

Categories

Resources