[Toolkit] [Linux] Android Linux Tools - Easy TWRP install for Linux users - Nexus 6P General

Android Linux Tools
Pardon me not being the best at making threads!
What is it?
Android Linux Tools is a project I've been working on for a while now. It is an easy way for users running Linux (must support bash and apt-get) to install TWRP on their Android device. I've seen a few of these before, but this one is just a simple ".sh" download, without any installation needed.
Who can use this?
Doing "sudo sh alt.sh -l" will give you a list of currently supported devices. The list is growing!\
Where can I download this?
Right here:
Andriod Linux Tools v1.0
DISCLAIMER: I am not responsible for bricked devices, or anything else that may come out of using my software.

Reserved

That would be extremely helpful for Linux users :good:
There are barely any Linux-based toolkits available.

Related

[Q] How to write drivers for Android?

Hi guys i have been trying to know about android driver development.. i know driver development is not an easy job but i'd like to learn.. Is there any tutorials for that or any simple examples??
[Q] How to write drivers for Android
Ashok,
Writing android drivers is no different then writing drivers for linux. In fact many linux drivers would simply just work on the android.
Here is a little reading list for you if you want to find out more about linux driver development:
http://kernelnewbies.org/New_Kernel_Hacking_HOWTO
http://www.ibm.com/developerworks/linux/library/l-linux-kernel/?
http://www.amazon.com/gp/product/0596100795
http://www.amazon.com/Linux-Device-Drivers-Jonathan-Corbet/dp/0596005903
Hope this helps
thanks for the tutorials and the book suggestions I appreciate the help.
If you are familiar with Linux kernel and Linux based development then it will not that tough for you since Android uses modified version of Linux kernel. For tutorial source for Android kernel go to:
http://android.git.kernel.org/
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Memsgr religious
Mr.Wrong said:
If you are familiar with Linux kernel and Linux based development then it will not that tough for you since Android uses modified version of Linux kernel. For tutorial source for Android kernel go to:
Hello, sorry for raising the dead, but this topic is rare.
I have a project where I basically need to write a mouse cursor driver. Would you have any specific information on how the mouse is actually drawn on the system level, as in between activities/programs/windows/etc. ? And would it be possible to include this as part of an app, so that it can be downloaded by an average user? (not as vital)
Click to expand...
Click to collapse

[Q] Install firefox (.bin or .deb)?

hello, I was wondering, since Android is based on linux, if we can install a full version of Firefox (Linux version) on the tab. Does anyone know if this is possible?
I've never seen anyone run any linux apps in Android. That would surely be something we'd see if it were possible. I don't know the technical reasons why it isn't, but I'm pretty sure you can't.
You can't install desktop Firefox because much of the required software is missnig, all the UI stuff of regular Linux distro's aren't in Android, stuff like the X windows system, KDE or Gnome, and probably a bunch of other libraries.
The Linux portion of Android handles really low level stuff like file permissions, talking with the hardware, memory management but really nothing to do with the user experience.
you could just run ubuntu through chroot. it works okay.
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Facegarden said:
I've never seen anyone run any linux apps in Android. That would surely be something we'd see if it were possible. I don't know the technical reasons why it isn't, but I'm pretty sure you can't.
Click to expand...
Click to collapse
Commandline stuff with few library dependencies can be ported fairly easily - busybox, bash, etc.
Graphical stuff - not nearly as easy as that depends on graphics toolkits not present in Android.
People forget that Linux is just the kernel. As you increase the number of abstraction layers used by software, Linux as implemented by Android and Linux as implemented by most desktop distros diverge more and more.

[Q] running OS Ubuntu on Samsung Galaxy S Wifi 4.0 a.k.a Samsung YP-G1CW/XSE

Hello guys, before the question, i am sorry if i am little english. i look some website that running Ubuntu on Android Device.
I am sorry i am new user in this site, so i can't using outside links in this posting, but you will find if you search on google about this.
i have some question about this case:
1. i am using Samsung Galaxy S Wifi 4.0 a.k.a Samsung YP-G1CW/XSE what ubuntu can running on my device?
2. How with OS Windows? what windows can running on my Device? Windows XP may be, or Windows 7..
Please Help me, i need to running other OS on my Android Device.. Thank's Before for your answer
There are two ways to run another OS on your device: chroot and qemu. You can run Ubuntu (or any Linux distribution that supports ARM processors) with little effort using the chroot method. Look up "Ubuntu installer free" in the store and it will walk you through. It may not work on the stock kernel, so make sure you have the kernel from these forums that fits your device.
The only way to run an OS like Windows is by virtualization through qemu, because it doesn't natively support the chip in your Galaxy S Wifi. This method requires a version of qemu compiled for ARM and additional libraries, which I have not gotten to work successfully on this device. (Anyone else?)
So I'd suggest just trying to get Ubuntu running. It won't be very fast or easy to use on a device that small, but it will work.
Sent from my YP-G70
Mevordel said:
There are two ways to run another OS on your device: chroot and qemu. You can run Ubuntu (or any Linux distribution that supports ARM processors) with little effort using the chroot method. Look up "Ubuntu installer free" in the store and it will walk you through. It may not work on the stock kernel, so make sure you have the kernel from these forums that fits your device.
The only way to run an OS like Windows is by virtualization through qemu, because it doesn't natively support the chip in your Galaxy S Wifi. This method requires a version of qemu compiled for ARM and additional libraries, which I have not gotten to work successfully on this device. (Anyone else?)
So I'd suggest just trying to get Ubuntu running. It won't be very fast or easy to use on a device that small, but it will work.
Sent from my YP-G70
Click to expand...
Click to collapse
Thanks Very much for your solution, i will try search, qemu method or chroot methode.. hope i will can do it, because i am new for it. i am not a developer, or programmer. i just want to know more about gad-get
so thanks a lot.

[Q] Why Linux?!

I'm trying to get into development of custom ROM's and whatnot and am following CM's build guide, however I've read numerous people attest to using a distribution of Linux for all development.
I do a little Java and c++ development as I study Software Engineering and to be honest considering Mac is UNIX also, I've never found any difference between me using my MBP or running one of the many linux distro's i've experimented with.
I was just wondering if anyone can actually give some valid reasons and justifications for all the people who state that it's almost a -must- to develop on 64-bit linux installation.
I know this question has probably been asked before but I've been searching and can't find any non-flamey posts.
Cheers!
Developing on Linux isn't a MUST, but I highly recommend it. With Linux you can set up servers to test connectivity with ease, and there is a plethora of built in support for Linux on distributions like Ubuntu. Different distributions, such as Kali (formerly BackTrack) are good for hacking and stuff. Simply using 'sudo apt-get install' you can get amazing tools to help you out.
Blog: http//konvey.blogspot.com | Sent from the Nokia 3310
vyper91 said:
I'm trying to get into development of custom ROM's and whatnot and am following CM's build guide, however I've read numerous people attest to using a distribution of Linux for all development.
I do a little Java and c++ development as I study Software Engineering and to be honest considering Mac is UNIX also, I've never found any difference between me using my MBP or running one of the many linux distro's i've experimented with.
I was just wondering if anyone can actually give some valid reasons and justifications for all the people who state that it's almost a -must- to develop on 64-bit linux installation.
I know this question has probably been asked before but I've been searching and can't find any non-flamey posts.
Cheers!
Click to expand...
Click to collapse
the only reason is that as most android developers work from linux so they have built most tools for that platform, on other platforms you'll find only the most rudimentary tools.
so you can do the same on mac or windows or beos if you want but you'll have to create all the missing tools by yourself probably.

[TOOL] [SYSTEM] Debdroid V5 Linux Sub-System KALI Linux

Debdroid V4
Linux Chroot Daemon for Android
Supports Android 2.3 through 5.0​
Debdroid is a tool for the Android platform which runs a full Linux distribution as a daemon.
Any rooted device can run fully supported ARM distributions such as Kali, Debian, Ubuntu, etc.
Debdroid has been successfully tested on Android 2.3 and up to 5.0. Confirmed working on the N9.
How To Install:
1. Download the git repo
2. Place ARM image at /sdcard/linux.img
3. Flash the zip file in twrp
How To Use:
1. debshell "any command goes here" - run any command under linux
2. debshell "passwd" - change root pass
3. debshell "/etc/init.d/ssh restart" - starts ssh
4. debshell bash - full access to a bash chroot
Downloads:
https://github.com/dasmoover/debdroid
KALI ARM Images:
http://cdimage.kali.org/
Donations:
If you find this tool useful send a coffee my way
DONATE TO THE DEBDROID PROJECT
There is a project that is doing this too made by Offensive Security (The guys who make Kali). It's still in beta, but there's some pretty cool stuff! There is a custom kernel that adds other features as well.
Site: http://nethunter.com/
Github: https://github.com/offensive-security/kali-nethunter
I know, I'm part of the project!
I've worked on BT5 ARM a few years ago.
From my understanding the Nexus 9 builds of nethunter aren't fully functional yet.
This can also be used with a barebones debian system for apt, etc.
What status is the N9 with Nethunter?
dasmoover said:
I've worked on BT5 ARM a few years ago.
From my understanding the Nexus 9 builds of nethunter aren't fully functional yet.
This can also be used with a barebones debian system for apt, etc.
What status is the N9 with Nethunter?
Click to expand...
Click to collapse
Mostly working. Everything except the external wifi is running fine (from what I understand. Someone else makes the kernels.). NetHunter itself is running fine, but the custom android kernel is where the good stuff is!
Supposedly the N9 supports monitor mode with its built in chipset. We'll have to try that later though.
Awesome, going to try and contribute to that.
This lightweight install is multi-purpose and can be used for much more than just booting Kali
dasmoover said:
Awesome, going to try and contribute to that.
This lightweight install is multi-purpose and can be used for much more than just booting Kali
Click to expand...
Click to collapse
I think it's actually pretty cool! I'm looking around for some good ARM Linux images to try it out!
I may contribute to your project a bit. It has some awesome potential!
Does nethunter support custom kernels on the n9 yet?
I'm trying to get that installed.
dasmoover said:
Does nethunter support custom kernels on the n9 yet?
I'm trying to get that installed.
Click to expand...
Click to collapse
Yes and no. NetHunter itself will work without the kernel, but you won't get many of the added features that the (still incomplete) kernel provides.
Armhf or armhl?
Does an 64bit .img work?
USBhost said:
Does an 64bit .img work?
Click to expand...
Click to collapse
It has to be ARM based. So either armhl or armhf. Preferably armhf.
Can someone here who knows how to configure Debdroid on nexus 9 and give us thoroughly easy, step by step instructions as possible?

Categories

Resources