> Attention!

New threads need to be created only inroot partition! In the future, they will be processed by moderators.

If you posted a new version of the program, please notify the moderator by clicking the "Complaint" button on your message.

Catalog of Android programs



В® bash | replacement of the standard command shell SH



Rep: (8)
bash
Version: 0.1

Last update of the program in the header:19.04.2011

Attached Image


For the operation of the program requires root user rights.

Short description:
Replacing the standard SH shell

Description:
Normal full functionalBash. replacement of the standard command shell SH. It supports the selection of commands by pressing the Tab key (the screenshot shows the output of commands after pressing the Tab button).

ATTENTION! The phone must be root and have BusyBox installed! All of the following you put at your own risk, the author of this post is not responsible for the breakdown of your phone or curved packages.

Installation
- after downloading the file, remove the "apk" extension from it
- if we install via Adb shell then:
a) Sash Bash right on the sd card
b)
mount -o remount, rw / system
cp / sdcard / bash / system / bin
chmod 0755 / system / bin / bash
mv / system / bin / sh / system / bin / sh0
ln -s / system / bin / bash / system / bin / sh

- if the installation is without an Adb shell, then we will need a root explorer and a terminal on the phone:
a) Sash Bash right on the sd card
b) launch the Root Explorer:
- go to the sd card and click copy file bash
- then go to / system / bin / and press the button at the top "mount R / W"
- insert the file and set the rights on it to 0755 (permissions - put ticks everywhere, after that the program is simply minimized)
c) run the console
mv / system / bin / sh / system / bin / sh0
ln -s / system / bin / bash / system / bin / sh



Download: Version: 0.1
Attached filebash.apk(2.45 MB)


Post has been editeddvoriki06 - 04.03.12, 21:36
Reason for editing: corrections



Rep: (935)
;) cheers, finally a less functional bash!



Rep: (8)
Crea @ 04/19/2011, 19:19*
Hurray, finally less functional bash!


Uraaaaa !! I have like-minded people))) otherwise I thought I’m the only one pervert: D



Rep: (76)
KwadroBait you are not alone: ​​D

Hurray, finally !!!



Rep: (935)
KwadroBait line users are accustomed to a functional console, and not cropping ..) =



Rep: (49)
not installed! error: there was a problem parsing the package.



Rep: (8)
scl , read the installation manual carefully. As soon as you download the APK extension from the file. The forum simply does not accept files without an extension.



Rep: (49)
KwadroBait @ 04/04/2011, 02:14*
scl, read the installation manual carefully. As soon as you download the APK extension from the file. The forum simply does not accept files without an extension.

oops :) did not see thanks :)



Rep: (11)
: happy: I'm happy! Thank you very much! :)



Rep: (24)
I'm sorry, I'm completely burdock in linux, what's the bash different from the obcho console (sh)?



Rep: (8)
read wiki;)



Rep: (80)
Bashik, darling !!



Rep: (218)
Wow, the idea was very long ago to compile a bash, but I forgot it completely.
KwadroBait your authorship?



Rep: (12)
I did not start (

Put on the 2nd option.
After that I tried to log in via ssh (putty) - after entering the password, the connection was dropped.
The same goes for local input through the terminal.
Link2SD does not work. Quick Boot does not work.
After the reboot, even before the boot animation did not reach, it hangs and everything.
I had to juggle the battery and restore nandroid.



Rep: (34)
Thanks for bash, but in general I already saw it in some firmware. He was very upset by his absence in others ...



Rep: (218)
GUID,
I was waiting for someone to start glitches =)
This is due to an attempt to make backward compatibility with a symlink.
ln -s / sytem / bin / bash / system / bin / sh

Therefore, I will immediately propose an alternative installation:
mount -o remount, rw / system
cp / sdcard / bash / system / bin
chmod 755 / system / bin / bash

then in the terminal just put the path to the shell / system / bin / bash
but in this embodiment, the use of bash is limited only to the terminal, all scripts will work through the old sh
well, not everything, you can just write in the beginning
#! / system / bin / bash

but with those that go in the programs do not work

Post has been editedOggy - 26.04.11, 15:45



Rep: (218)
not long happiness was

su does not work, attempts to change the owner: the bash group led to terminal forskloz



Rep: (162)
How did you build bash for android?
He's not friends with crosspickers!



Rep: (29)
Chegoto nothing happened. SU does not work, Droid2Bootstrap naturally also adb shell ... had to be flashed.



Rep: (0)
I also had a similar situation.
I entered the "recovery mode" command:
adb reboot recovery

From there, I mounted the "system" section and deleted the old symlink:
# cd / system / bin
# rm sh

and recreated the symlink on bash but in the form:
# ln -s bash sh


It seems that the kernel incorrectly handles the "full" symlinks because the old symlink was normal
# ls -al / system / bin / sh
lrwxrwxrwx 1 0 0 15 Aug 25 11:27 / system / bin / sh -> / sytem / bin / bash


Accordingly, the new:

sh-3.2 # ls -al / system / bin / sh
lrwxrwxrwx 1 0 0 4 Aug 25 11:53 / system / bin / sh -> bash



Rep: (162)
A little did not understand why the root.
And I do not advise you to replace sh (and generally touch). The init scripts may not go well, and it will also be difficult to fix.


Full version    

Help     rules

Now: 07/03/19 22:52