Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[PROJECT][PORT] GNU softwares on Android [15/02/2014 updated]

OP alireza7991

15th February 2014, 10:49 PM   |  #1  
alireza7991's Avatar
OP Senior Member
Flag Shahrekord
Thanks Meter: 2,273
 
769 posts
Join Date:Joined: Sep 2012
Donate to Me
More
Quote:

About


Android has being used in almost all type of devices from tiny smart watches to tablets , smart TVs and portable eboards like mk802 . It seems a complete operating system in term of games and useful applications but sth whichI think is a huge problem is that Android has very small parts of GNU, this makes Android not to be comfortable for advanced users , developers and programmers . also this would be a huge problem for users like me who do not access to their PCs but they want to have some capabilities in their phone . all this reasons made me to think about porting softwares from PC to my tiny Galaxy S Plus . but I had no PC and this was my huge problem in this road. finally I could get a small compiler and start porting more bigger softwares then I decided to make a project called GNU softwares on Android and gather all softwares under one project.

Quote:

Features / list of Softwares


all softwares are :

* Fully compiled with GCC 4.8.1/4.8.2 with Hardware floating point abi for better performance even comparing to similar smaller ones in busybox !
* Staticly linked with Musl Libc which is a lot more faster than Android's bionic or GNU's glibc with smaller size which makes them be small a lot more.
* Updated to latest ones in official repositories.

list of available softwares in my repository :

-bash -> a shell
-dash (not official GNU software but licenced under GPL) -> a shell
-patch -> generating patch files
-pexec -> parralel executing
-sed -> non-interactive stream editor
-grep -> finding patterns in files/streams
-gzip -> gnu z77 compressions algorithm implementation
-make -> makefile handler for creating automated build systems
-tar -> gnu tar archive software
-inet-utils -> utils for working with net (some utils of thid software has not been included)
-gawk -> gnu awk implementation
-marst -> algorithm 2 c convertor
-wget -> downloading files trough many protocols with proxy support
-units -> convert many units to each other

Quote:

Downloading & Installation


All softwares are stored in my public repository HERE

* For installing get softwares from their forlder in the repository , then unzip them and copy binaries to /system/xbin .
* For net related softwares there is also a reslov.conf which should be pushed to /etc/

Quote:

Changelog


--------15/02/2014:

*gzip: added new utilities and updated to R2.
*gzip: added new documentations to public repository.
*dash: disabled builtin printf to let ROM's printf be used instead.

---------14/02/2014

*initial release.



Quote:

Disclaimer


We distribute softwares in the hope that it will be useful, but without any warranty. No author or distributor of this software accepts responsibility to anyone for the consequences of using it or for whether it serves any particular purpose or works at all, unless they say so in writing. This is exactly the same warranty that proprietary software companies offer: none

Quote:

Help the project


maintaining a project with 2 millon lines of a code on a mobile is too difficult. this makes compiling large softwares like gcc impossible so I strongly need a donated VPS/dedicated server.

.........................
Last edited by alireza7991; 15th May 2014 at 04:04 PM.
The Following 35 Users Say Thank You to alireza7991 For This Useful Post: [ View ]
15th February 2014, 10:51 PM   |  #2  
alireza7991's Avatar
OP Senior Member
Flag Shahrekord
Thanks Meter: 2,273
 
769 posts
Join Date:Joined: Sep 2012
Donate to Me
More
reserved
The Following 8 Users Say Thank You to alireza7991 For This Useful Post: [ View ]
16th February 2014, 04:09 AM   |  #3  
RayySP's Avatar
Senior Member
Flag Toa Payoh
Thanks Meter: 111
 
354 posts
Join Date:Joined: Apr 2013
More
Awesome Job alireza7991! Hope this project is successful in the future.
The Following User Says Thank You to RayySP For This Useful Post: [ View ]
16th February 2014, 05:28 AM   |  #4  
aLNG's Avatar
Senior Member
Flag Munich
Thanks Meter: 154
 
644 posts
Join Date:Joined: Jul 2011
Great will try this

Sent from my Nexus 5 using Tapatalk

Edit : because of busyboy installed in system/xbin, so I have to put the binaries in system/bin. and what can I say, ITS WORKING GREAT!
Last edited by aLNG; 16th February 2014 at 06:51 AM.
The Following User Says Thank You to aLNG For This Useful Post: [ View ]
16th February 2014, 11:15 AM   |  #5  
alireza7991's Avatar
OP Senior Member
Flag Shahrekord
Thanks Meter: 2,273
 
769 posts
Join Date:Joined: Sep 2012
Donate to Me
More
Quote:
Originally Posted by aLNG

Great will try this

Sent from my Nexus 5 using Tapatalk

Edit : because of busyboy installed in system/xbin, so I have to put the binaries in system/bin. and what can I say, ITS WORKING GREAT!

Most GNU softwares has no similar ones in busybox software set. so you should not worry about conflicting issues.
The Following User Says Thank You to alireza7991 For This Useful Post: [ View ]
16th February 2014, 12:57 PM   |  #6  
eimoc's Avatar
Junior Member
Thanks Meter: 4
 
29 posts
Join Date:Joined: Sep 2012
I've tried to push this file to xbin grep, patch, sed, tar and wget, but I got this : destination file exists. Enter new name. (These files from busybox)

So, what I have to do? Should I overwrite the file?

Sent from my LT15i using Tapatalk
16th February 2014, 01:47 PM   |  #7  
alireza7991's Avatar
OP Senior Member
Flag Shahrekord
Thanks Meter: 2,273
 
769 posts
Join Date:Joined: Sep 2012
Donate to Me
More
Quote:
Originally Posted by eimoc

I've tried to push this file to xbin grep, patch, sed, tar and wget, but I got this : destination file exists. Enter new name. (These files from busybox)

So, what I have to do? Should I overwrite the file?

Sent from my LT15i using Tapatalk

1- rename files to another thing , e.g. patch -> gnu.patch
or
2- remove busybox ones(/system/xbin/*) and replace GNU ones . It's completely safe .

don't forget to push resolv.conf to /etc/ for wget.
The Following User Says Thank You to alireza7991 For This Useful Post: [ View ]
16th February 2014, 03:07 PM   |  #8  
alireza7991's Avatar
OP Senior Member
Flag Shahrekord
Thanks Meter: 2,273
 
769 posts
Join Date:Joined: Sep 2012
Donate to Me
More
Clock
Project status update.

2 new softwares added (inetutils + dash).

OP updated for more information.
The Following 2 Users Say Thank You to alireza7991 For This Useful Post: [ View ]
16th February 2014, 03:34 PM   |  #9  
eimoc's Avatar
Junior Member
Thanks Meter: 4
 
29 posts
Join Date:Joined: Sep 2012
Quote:
Originally Posted by alireza7991

1- rename files to another thing , e.g. patch -> gnu.patch
or
2- remove busybox ones(/system/xbin/*) and replace GNU ones . It's completely safe .

don't forget to push resolv.conf to /etc/ for wget.

When I pushed resolving.conf to system/etc, I'm also getting the msg that the same file name exist.
Is there any suggestions? Tq

Sent from my LT15i using Tapatalk
16th February 2014, 04:15 PM   |  #10  
alireza7991's Avatar
OP Senior Member
Flag Shahrekord
Thanks Meter: 2,273
 
769 posts
Join Date:Joined: Sep 2012
Donate to Me
More
Quote:
Originally Posted by eimoc

When I pushed resolving.conf to system/etc, I'm also getting the msg that the same file name exist.
Is there any suggestions? Tq

Sent from my LT15i using Tapatalk

no , I think you understood my post incorrectly;

do this steps :

1- Copy GNU softwares to /system/xbin/ and replace them with busybox ones.
2- If you are installing a wget or inet-utils then also copy resolv.conf to /system/etc

The Following User Says Thank You to alireza7991 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes