unrar 4.0.0 compiled for arm linux (android) - Android Apps and Games

I can't believe theres an app in the market that makes you pay for an unrar library..
here is the arm binary freshly compiled so you may use it with android term.
tar xf unrar.tar -C /data/local/tmp/
chmod 777 /data/local/tmp/unrar
cd /data/local/tmp/unrar
<test it out> (aka ./unrar)
move to system/xbin or wherever.. just not sdcard.
perhaps this has been posted before.. but probably not version 4. woo post whore.

thanks, this is much faster than unrar pro on the market
btw, can you tell me how can I extract only ONE file from a rar with this utility?
thanks in advance

Adolf1994 said:
thanks, this is much faster than unrar pro on the market
btw, can you tell me how can I extract only ONE file from a rar with this utility?
thanks in advance
Click to expand...
Click to collapse
Pretty sure its unrar x file.rar -n file/youwant/to/extract/
Or unrar x file.rar [email protected]
its a lengthly --help output.. its all there!

Maybe U cud write a UI app too ( a rooted one ) ..that wud make it cooler

Blades said:
Pretty sure its unrar x file.rar -n file/youwant/to/extract/
Or unrar x file.rar [email protected]
its a lengthly --help output.. its all there!
Click to expand...
Click to collapse
nope, it doesn't work
I get this everytime
Code:
$ unrar x System\ 3.0.A.2.181.rar -n /system/app/textinput-tng.apk /sdcard/download/play
UNRAR 4.00 freeware Copyright (c) 1993-2011
Alexander Roshal
Extracting from System 3.0.A.2.181.rar
No files to extract
edit: oh god, wildcard that made it
-n *textinput-tng.apk worked well

sarfaraz1989 said:
Maybe U cud write a UI app too ( a rooted one ) ..that wud make it cooler
Click to expand...
Click to collapse
Oh ****. Serious?

i could probably work something up pretty easily..might look at it later.

Illegal Instruction
On x10 mini pro, getting 'illegal instruction' error...

hi there,
I tried this and it does work on my phone which is really cool. But it doesn't work on the emulator and someone reported it doesn't work on the x10? Hmm shouldn't this work on all devices if its compiled for the arm architecture? Also I tried to run the binaries that are posted by RarLabs found here and they do not run either
(Ok I cannot actually post the link but you should be able to find it)
Command line freeware ARMEL v4 Linux UnRAR.
Command line freeware ARM Linux UnRAR.
These are different architectures too? I was considering using this binary in my app but wonder how many devices it will be incompatible with

I extracted "unrar" to /system/xbin, and tried it there from my PC with adb shell and from phone with terminal emulator... it says "cannot execute - Permission denied".
I'm on a rooted verizon lte samsung galaxy nexus.
I tried "unrar x file.rar" at the command line...
edit: I executed "chmod 777 /system/xbin/unrar" b/c thats where I put the unrar command/shell file, and that fixed it... i guess that makes it executable.
Sweet! Thanks!!! +100

yep you can't run on sd card.
i tested this executable on many many devices, it works on about 50% of them only though
Any geniuses out there know how to compile it to make it 100% compatible?

Thank you, very helpful

govindadas said:
I executed "chmod 777 /system/xbin/unrar" ...... and that fixed it... i guess that makes it executable.
Sweet! Thanks!!! +100
Click to expand...
Click to collapse
Hi
when I do chmod 777 on the file,
I get
"Operation not permitted"
That's because my phone is not rooted? :/
I there anyway to succeed in doing chmod when the phone is not rooted?
Thank you

unrar 5.1.6 file for android arm
Blades said:
I can't believe theres an app in the market that makes you pay for an unrar library..
here is the arm binary freshly compiled so you may use it with android term.
tar xf unrar.tar -C /data/local/tmp/
chmod 777 /data/local/tmp/unrar
cd /data/local/tmp/unrar
<test it out> (aka ./unrar)
move to system/xbin or wherever.. just not sdcard.
perhaps this has been posted before.. but probably not version 4. woo post whore.
Click to expand...
Click to collapse
hi there this works perfecty on my android system...
but i have a question would it bee possible to make another one for version 5.1.6? this would realy help me

EagleEyeX said:
hi there this works perfecty on my android system...
but i have a question would it bee possible to make another one for version 5.1.6? this would realy help me
Click to expand...
Click to collapse
Nobody?

EagleEyeX said:
hi there this works perfecty on my android system...
but i have a question would it bee possible to make another one for version 5.1.6? this would realy help me
Click to expand...
Click to collapse
Hi, I know this is an old post, but I need desperately an Unrar command line module for Android, using the latest version. Is there any possibility to generate it again?
Many thanks in advance!

Related

get multitouch in jf 1.51 US..the easy way

to fix the multitouch bug you just have to run these few commands in terminal emulator:
Code:
su
mount -o rw,remount /system
rm /system/app/Browser.odex
reboot
myabe im doing something wrong but i keeo getting
rm: cannot remove '/system/app/Browser.obex' : Nosuch file or directory
any suggestion?
Try Browser.odex instead
Browser.odex worked for me
lol, the original poster should edit his post.
No joy either file types
Denkai said:
No joy either file types
Click to expand...
Click to collapse
same here.
No odex files in my JFv1.51
# ash
ash
/ # find . -name "*.odex"
find . -name "*.odex"
/ # id
id
uid=0(root) gid=0(root)
/ #
That's because if you just recently downloaded JFv1.51, JF re-packaged it to not include the file that needed to be deleted.
From here:
Note: I’ve updated the US and UK downloads in the v1.51 release blog post to an updated version that has this fix. I didn’t update the version number since this is a small problem that is easily fixed. I believe jf updater has been updated with the fixed builds as well.
Click to expand...
Click to collapse
Don't you people bother confirming whether you have multi-touch already before you try fixing something that isn't broken? If the file's not there you should already be good to go.
And they're not different file types, "obex" was a typo, "odex" is correct.
What are those odex files? Seems like every system app has one.
DOHCtor said:
What are those odex files? Seems like every system app has one.
Click to expand...
Click to collapse
http://groups.google.com/group/andr.../567d69603d2ef3f4?show_docid=567d69603d2ef3f4
If you need that deciphered further... just ask
awesome thanks guys odex worked for me!
momentarylapseofreason said:
http://groups.google.com/group/andr.../567d69603d2ef3f4?show_docid=567d69603d2ef3f4
If you need that deciphered further... just ask
Click to expand...
Click to collapse
Me confused lol
I was checking the jf build info and it said us version didn't have multitouch, come to find out it does. Thanks for the tip.
The easiest way to get multitouch in the browser is to just go to http://www.wise-projects.com/android/browser.apk on your phone, and download that, then install it.
And you should have multitouch!

HTC Footprints In Espresso

question to those with a little more knowledge than I.
Running Kings Espresso 1.3 with 160mb swap (this motha flies off teh chain..had to treat myself for a first degree burn on my thumb) on my MT3G and i was wanting to add HTC Footprints back into the build. He had it in V0.1 and then removed it. How would I put it back into the build using adb? would i have to include the odex file along with the apks for footprints and the footprints widget?
just looking to learn a little more
i would say...adb push it? lol but i never use it or need it so i wouldnt know...
the1gladiator said:
question to those with a little more knowledge than I.
Running Kings Espresso 1.3 with 160mb swap (this motha flies off teh chain..had to treat myself for a first degree burn on my thumb) on my MT3G and i was wanting to add HTC Footprints back into the build. He had it in V0.1 and then removed it. How would I put it back into the build using adb? would i have to include the odex file along with the apks for footprints and the footprints widget?
just looking to learn a little more
Click to expand...
Click to collapse
Maybe ask in the appropriate thread instead of starting a new development thread for a question about a rom.
bkmo said:
Maybe ask in the appropriate thread instead of starting a new development thread for a question about a rom.
Click to expand...
Click to collapse
if you can't answer the question how about just remaining quiet?
the1gladiator said:
if you can't answer the question how about just remaining quiet?
Click to expand...
Click to collapse
I see what you did thar.
the1gladiator said:
if you can't answer the question how about just remaining quiet?
Click to expand...
Click to collapse
I believe you can take the apk for v0.1 and copy it into your tools folder open either cmd if on windows or terminal if on linux and for windows type adb install filename.apk and for linux ./adb install filename.apk
ps: forgot remember to cd to your tools folder in your sdk also I haven't done mac because I haven't used adb and mac XD However I bleieve mac and linux commands for adb may be similar or the same 0o
xillius200 said:
I believe you can take the apk for v0.1 and copy it into your tools folder open either cmd if on windows or terminal if on linux and for windows type adb install filename.apk and for linux ./adb install filename.apk
ps: forgot remember to cd to your tools folder in your sdk also I haven't done mac because I haven't used adb and mac XD
Click to expand...
Click to collapse
i thank you my friend. i think that would be it...i did adb push and just pushed it there and OOPSIE, it went bye bye so i had to reflash mi rom.
let me ask this, so my syntax would be....
adb remount
adb install filename.apk
is that it or do i need to give it a destination?
i'm just now relearning some of this stuff...i'm an older school programmer so i'm just now familiarizing myself with linux and source codes / packages for this type of development
the1gladiator said:
i thank you my friend. i think that would be it...i did adb push and just pushed it there and OOPSIE, it went bye bye so i had to reflash mi rom.
let me ask this, so my syntax would be....
adb remount
adb install filename.apk
is that it or do i need to give it a destination?
i'm just now relearning some of this stuff...i'm an older school programmer so i'm just now familiarizing myself with linux and source codes / packages for this type of development
Click to expand...
Click to collapse
Nope just adb install filename.apk you shouldn't even need to adb remount as it does not mess with /system files also you don't need to give it a directory
XD don't worry I understand you lol Im still learning
xillius200 said:
Nope just adb install filename.apk you shouldn't even need to adb remount as it does not mess with /system files also you don't need to give it a directory
XD don't worry I understand you lol Im still learning
Click to expand...
Click to collapse
now that leads me to ask the age old question...can one use the Package Manager to do this as well? just curious, although i prefer adb just for sheer intellectual purposes
the1gladiator said:
now that leads me to ask the age old question...can one use the Package Manager to do this as well? just curious, although i prefer adb just for sheer intellectual purposes
Click to expand...
Click to collapse
Yep package manager should be ok never used it guessing it is a file manager for android lol also if you use file managers I suggest androzip people suggest others like astro manager but what they don't relise is that androzip supports .rar files etc. unlike others
ps: Don't tell me you are talking about synaptic package manager on ubuntu please no 0o lol if thats the case no but im guessing it isnt
xillius200 said:
Yep package manager should be ok never used it guessing it is a file manager for android lol also if you use file managers I suggest androzip people suggest others like astro manager but what they don't relise is that androzip supports .rar files etc. unlike others
ps: Don't tell me you are talking about synaptic package manager on ubuntu please no 0o lol if thats the case no but im guessing it isnt
Click to expand...
Click to collapse
Nah meant to say Package Installer native to android or Astro. Thanks for the heads up, was thinking too far ahead with the adb commands. Ripped them and looks like they are loaded and working...appreciate your input
the1gladiator said:
Nah meant to say Package Installer native to android or Astro. Thanks for the heads up, was thinking too far ahead with the adb commands. Ripped them and looks like they are loaded and working...appreciate your input
Click to expand...
Click to collapse
No Problem just glad I could help

updae script to remove apks

im getting tired of having to pull apks every time i flash a new rom. i found a thread that said that you can add a few lines to the update script to remove the apks prior to boot. how do you do that? when i added the lines in the thread i got a wrong digest meta-inf/comgoogle/android/update-script verification failed instillation aborted
i think my issue is i unpacked my signed zip modded the updatescript and rezipped it.
anyone have a better way to remove those apk, not one by one!
please if you could detailed instructions
recognize_atm said:
anyone have a better way to remove those apk, not one by one!
Click to expand...
Click to collapse
Why would you need to modify the ROM? You *do* realize that if you were going to go to the trouble of modifying the ROM to add removing things via the update script, you could just remove what you wanted removed in the first place?
No, of course you don't.
please if you could detailed instructions
Click to expand...
Click to collapse
Gods, that's what adb and a batch file (or a shell script, if you think you should be using Linux) are for.
you can create a .bat file to run and remove all the apks you dont want. here is mine
RemoveApp.bat said:
cd C:\android-sdk-windows\tools
adb remount
adb shell rm system/app/Facebook.apk
adb shell rm system/app/Gallery3DMT.apk
adb shell rm system/app/GenieWidget.apk
adb shell rm system/app/HtcFacebook.apk
adb shell rm system/app/HtcTwitter.apk
adb shell rm system/app/SocialNetworkProvider.apk
adb shell rm system/app/Sprint_TVWidget.apk
adb shell rm system/app/Sprint_TV.apk
adb shell rm system/app/Sprint_Nscar.apk
adb shell rm system/app/Sprint_NFL.apk
adb shell rm system/app/Stock.apk
adb shell rm system/app/com.htc.TwitterWidget.apk
adb shell rm system/app/Flickr.apk
adb shell rm system/app/FriendStream.apk
adb shell rm system/app/com.htc.FriendStreamWidget.apk
Click to expand...
Click to collapse
posguy99 said:
Why would you need to modify the ROM? You *do* realize that if you were going to go to the trouble of modifying the ROM to add removing things via the update script, you could just remove what you wanted removed in the first place?
No, of course you don't.
God, that's what adb and a batch file (or a shell script, if you think you should be using Linux) are for.
Click to expand...
Click to collapse
your username suits you well... minus the 99.
don't be mean like that man.
I figured it out thanxs
Yea its best to make a seperate update.zip with an edited script that you can flash any time with any rom. So if you flash a new rom, you can then flash the update.zip. Mine would remove a bunch of apps and install a theme and a bootscreen after installing a new rom.
I also see that you got it, but yea you have to resign the zip after you change something in it.
And to the posguy.. If you are NO where near a computer, you can always run the .zip file with the edited script. Comes in handy if you download a rom from your phone, like a rom from DamageControls Updater or just on the web.
Yes i know you can do a terminal, but thats just long and dumb. Make a update script.
Jus10o said:
Make a update script.
Click to expand...
Click to collapse
Yes, that's a good idea. Of course, that's not what the OP thought he should do, he thought he should modify the script in the original ZIP file.
Jus10o said:
And to the posguy.. If you are NO where near a computer, you can always run the .zip file with the edited script. Yes i know you can do a terminal, but thats just long and dumb. Make a update script.
Click to expand...
Click to collapse
my point! thats why i wanted to edit the script. i know how to do it with the terminal/ .bat file. but i cant figure out how to get the zip to work
recognize_atm said:
my point! thats why i wanted to edit the script. i know how to do it with the terminal/ .bat file. but i cant figure out how to get the zip to work
Click to expand...
Click to collapse
Here is a update zip that removes some apps already.. Its my old one.
If you edit any of the lines then you must re-sign the .zip.
If you cant figure it out, or just want someone to sign it really quick. Post your .zip here and I will sign it for you so it will be flashable.
View attachment update.zip
hey thanks... i normailly sign zips using the old fresh kitchen but it doesnt seem to sign roms and im guessing zips that have meta-inf already in them cant get signed thru kitchen. i think i might be wrong, but ho do you sign your zips?
recognize_atm said:
hey thanks... i normailly sign zips using the old fresh kitchen but it doesnt seem to sign roms and im guessing zips that have meta-inf already in them cant get signed thru kitchen. i think i might be wrong, but ho do you sign your zips?
Click to expand...
Click to collapse
http://androidforums.com/developer-101/8665-how-signing-roms.html

FFMPEG Android - standalone, usable in terminal

Does anybody know about ffmpeg, which can be used from terminal emulator directly in phone? I found just these compiled libraries
Any ideas?
Kokesh has been successful?
I also want an ffmpeg binary to run inside the terminal
Nope, still stitching my videos in PC
Sent from my LG-P500 using XDA App
Any news on this? If at least the demo client from the ffmpeg4android app (the one for referred libraries, I guess) it would be awesome.
Or has anybody got the demo client fixed?
Sent from my Xoom using xda app-developers app
I compiled ffmpeg last year when I was trying to compile every app under the sun for android. Kinda got sidetracked on that a little. Here's the version I compiled last year.
FFmpeg binaries
http://d-h.st/4VD
FFmpeg libraries
http://d-h.st/iLh
You need to extract the libraries to a folder, then add it to the LD_LIBRARY_PATH variable
For example:
LD_LIBRARY_PATH=/data/tmp/lib;$LD_LIBRARY_PATH
Does anybody has a recent version compiled statically?
This should work:
[HOWTO]Use ffmpeg on android
Hi Guys
There is one i found on app store its call:
FFmpeg Media Encoder by SilentLexx
You can extract binary from that app and use it in terminal works good
but im still looking for different one cos that one cant record screen of my phone
This is good for compressing videos demuxing muxing everythink works great very usefull. Just need to figure all commands out
Let me know if somebody have better one
Have fun guys
dd_command said:
Hi Guys
There is one i found on app store its call:
FFmpeg Media Encoder by SilentLexx
You can extract binary from that app and use it in terminal works good
but im still looking for different one cos that one cant record screen of my phone
This is good for compressing videos demuxing muxing everythink works great very usefull. Just need to figure all commands out
Let me know if somebody have better one
Have fun guys
Click to expand...
Click to collapse
Could you tell me the name of the binary? I only could find libffmpeg.so archives for armeaby-v7a and x86.
scandiun said:
Could you tell me the name of the binary? I only could find libffmpeg.so archives for armeaby-v7a and x86.
Click to expand...
Click to collapse
Thats the binary libffmpeg.so just do:
Code:
cp libffmpeg.so /system/xbin/ffmpeg
chmod 777 /system/xbin/ffmpeg
and you got it
dd_command said:
Thats the binary libffmpeg.so just do:
Code:
cp libffmpeg.so /system/xbin/ffmpeg
chmod 777 /system/xbin/ffmpeg
and you got it
Click to expand...
Click to collapse
I see, but would be possible to use ffmpeg from terminal without the need of being root?
Use it as terminal app
scandiun said:
I see, but would be possible to use ffmpeg from terminal without the need of being root?
Click to expand...
Click to collapse
You just need to copy ffmpeg binary to terminals folder my is there /data/data/jackpal.androidterm/

[Q] ADB android to android?

Hi I was wondering if it were possible to run adb on my infinity so I can hook my phone up to it.
I'm getting real tired of firing my old laptop to use adb for my phone.
shaggydiamond said:
Hi I was wondering if it were possible to run adb on my infinity so I can hook my phone up to it.
I'm getting real tired of firing my old laptop to use adb for my phone.
Click to expand...
Click to collapse
I found this a while ago, but never tried it:
http://forum.xda-developers.com/showthread.php?t=2033722
_that said:
I found this a while ago, but never tried it:
http://forum.xda-developers.com/showthread.php?t=2033722
Click to expand...
Click to collapse
Thanks, but this won't work for me, it's a flashable zip and I don't want to unlock my bootloader(yet)
shaggydiamond said:
Thanks, but this won't work for me, it's a flashable zip and I don't want to unlock my bootloader(yet)
Click to expand...
Click to collapse
Shouldn't need to flash anything. Just download the zip file, extract the contents, copy the `kadb' file to /system/bin (or /system/xbin), and finally set permissions (chmod 0755 /system/bin/kadb). To use, just open a terminal emulator and run the binary.
Haven't tried it myself, but it looks like what you're looking for.
becomingx said:
Shouldn't need to flash anything. Just download the zip file, extract the contents, copy the `kadb' file to /system/bin (or /system/xbin), and finally set permissions (chmod 0755 /system/bin/kadb). To use, just open a terminal emulator and run the binary.
Haven't tried it myself, but it looks like what you're looking for.
Click to expand...
Click to collapse
Oh i might have misread it then. i'll give it a go this weekend

Categories

Resources