Hi Guys
I have my tf201 rooted and better terminal emulator installed with busybox (bash shell being used) and Im desperately trying to find a way to setup permanent alias's that can be used when openning terminal, ie alias sh='ssh -l user 192.168.1.1' and anything similiar. I have tried to search for a way to do this or to find out the correct file to edit (similar to editing .profile on linux). Also is .cloginrc supported, where would I find the correct file to edit for usernames & passwords for certain hosts for automated ssh logins?
Please guys, this is something that would be extremely useful for me, please help if you can
Sent from my Transformer Prime TF201 using xda premium
Related
Hi:
I've recently started to develop my own comic reader. The problem I've come up with is cbr files, which are esentially rar files. Now I know there are comic readers out there (all of them, I think) that support cbr files. So there is a way of doing this, I just can't find how.
In the rarlabs official page (search google rar addons and it's the first page) there are several options. I would like to know if I download the commandline arm unrar how I could install it on Android (I have a motorola Xoom, it would be for Honeycomb), assuming that is correct.
If this is not an option is there a command line unrar application that I could call from my own? and How would the code be (to call an external application, that is)?
If the above is not possible, what is the way to get to unrar something in android?
The only real option I've seen would be to use junrar (hosted on github)
But it seems complicated and I'm not sure it works very well as I've seen a lot of conflicting reports.
Thanks for any help!
Try http://www.all-freeware.com/results/rar/for/android to unpack rar on Android.
Success,
Senax
Hi:
I'm not exactly sure what you wanted me to try. There is nothing in that page that would allow me to uncompress a rar file on android. Only a bunch of unrar utitilities and some android things but they are not related, that is, there is nothing that says unrar that also works on android.
thanks anyway.
Unrar
great app available here: androidzoom (dot) com/android_applications/tools/unrar_dhpu.html
Cheers,
Romuloxiii
Hi:
It's seems that I didn't make myself clear.
I want to develop an android application that needs to unrar files. Is there a way to call the unrar application from my own code?
If so, can you tell me how?
Otherwise, I appreciate the effort, but I can't use that.
Thank you very much!
You can bring the unrar binary along in the /asset of your app,
on first launch copy it to your apps /file directory, chmod +x it, and use exec("sh") to unrar the files from shell.
oh, I see. I think I get the the idea but I don't understand all the instructions.
What did you mean by importing thebinary on my asset?
If I do the step above why do I need to copy the binary on first launch?
Don't I need root privileges too chmod it? And how do I do it from my source code?
And finally where can I find the command line use of the application? Or is it the same as the Linux version?
I know there are a lot of questions, but please keep in mind that I'm very new at doing this.
Thanks for all the help!
You need to put it as asset to bring it along.
You need to copy it because asset files are not directly accessable.
You don't need root to chmod the file in your own directory.
You do it by using a shell from your code i.e. Process.exec("sh")
And finally you want to program the app not me,
so don't be lazy and invest some time.
Google google google google...
If there are still questions left after that, you may ask again .
Ok, I'll try it and get back to you!
Thanks!
Sorry for my lazyness, but I've been Googling for a good half hour without finding a simple 'unrar' binary executable compiled to run from terminal on rooted ARMx32 device. I don't want bloated GUI APK's or libraries for development implementation, but just the plain command line interface executable. Anyone, please? It's a pity they haven't baked it into Busybox as an applet, IMO.
Hello
I installed the telnet client aTelnet from the android market. I have a lot of telnet server that i have to add witch have all similar adjustments but there is no copy function on this app. So I want to see if there is a config file that I can edit but the only thing I found was on the app administration that its installed at install.Standard. I seached on the net where this install.Standard folder in my SGS2 is but also nothing.
So can anybody help me to find the config file?
Thx!
Ok friends, I am actually at a lost for myself this time. I have managed to successfully unpack a boot.img on my android device, however, I cannot unpack the ramdisk because my device does not have a CPIO applet.
Are you familiar with busybox and the applets which are installed and thus symlinked? Good, then you know in some ways what I mean by a CPIO applet.
My need of help from you guys?
To retrieve this applet so that I may be able to finally and completely unpack the boot.img successfully on my android device. I have the ability to pack the boot.img so that part is not the issue. I just need an applet in regards to CPIO.
Now I am aware that many of you reading this is like talking a foreign language but any help is welcomed.
Anyways, there you go lol.
I don't expect to get much help with this but worth a shot
Sent from my K2_CL using Tapatalk
Nevermind, I solved it.
Sent from my K2_CL using Tapatalk
I need to modify a URL and redirect automatically.
Say If I enter the web address
Code:
http://www.somedb.com/index.html
I would like it to redirect it to
Code:
http://ezproxy.yourlib.org/www.somedb.com/index.html
In PC I use a greasemonkey userscript (replace url()) to achieve this.
I haven't seen android browsers which support userscripts. I think a .sh file could be a solution. Perhaps modifying the host file.
Can someone suggest me a method to achieve this.
I'm searching, 3 days of research, but it seems there is not an app, a simple thing for listing the content of a directory to make a text document or similar.
Tons of software for windows, freeware or not, but nothing for android. Is it possible???
I need to list my music direcory content (many many files, about 2k) and no windows software can manage the external sd of my phone (asus zenfone 3 with nougat); i can read, transfer, erase or play files but i can't make a list o musical files.
I'm getting nervous, can someone help me???
bibbomio said:
I'm searching, 3 days of research, but it seems there is not an app, a simple thing for listing the content of a directory to make a text document or similar.
Tons of software for windows, freeware or not, but nothing for android. Is it possible???
I need to list my music direcory content (many many files, about 2k) and no windows software can manage the external sd of my phone (asus zenfone 3 with nougat); i can read, transfer, erase or play files but i can't make a list o musical files.
I'm getting nervous, can someone help me???
Click to expand...
Click to collapse
1. Download terminal emulator.
2. Go to the directory using "cd" command. I hope you know basic linux.commands
3. type "ls > filename.txt"
I'm not sure it would work on Android. I don't have my phone right now to check this. Atleast you can try.
psxda97 said:
1. Download terminal emulator.
2. Go to the directory using "cd" command. I hope you know basic linux.commands
3. type "ls > filename.txt"
I'm not sure it would work on Android. I don't have my phone right now to check this. Atleast you can try.
Click to expand...
Click to collapse
Many thanks, i tried on i9300 and this doesn't work for me. Tried putting spaces on various positions (i know dos, so...) but nothig to do...
bibbomio said:
Many thanks, i tried on i9300 and this doesn't work for me. Tried putting spaces on various positions (i know dos, so...) but nothig to do...
Click to expand...
Click to collapse
I tried it using Termux app and it worked. You need to give storage permission to the app to access sd card.
Yes, i do, writing "su" as first command in terminal... is it correct? Then various cd till music folder and the "ls..."...
bibbomio said:
Yes, i do, writing "su" as first command in terminal... is it correct? Then various cd till music folder and the "ls..."...
Click to expand...
Click to collapse
su
cd /
ls ( to check whether you're on the root directory)
cd /sdcard/*YOUR MUSIC FOLDER*/
ls ( this will list all the files in the corrent folder)
ls > ./music.txt
If this didn't work can you tell me the address to your music directory? Let me give you exact steps.
Cheers!