I would like to have an scp/ssh client and some basic command line tools installed, without cross compiling or compiling on the phone.
Anyone knows where to get dropbear and busybox pre-compiled for I927 ICS?
Thanks
Pre compiled? Well I dunno about dropbear but I have a binary of busybox installer if that would help?
Samsung SGH-i927:
CWMR Touch v4.0.0.1
Keyboard fix
Superuser 3.2r3 ARM Optimized
Samsung SGH-i897:
A work in progress…
Stock & Rooted (need kernel and update)
hazard1nc said:
Pre compiled? Well I dunno about dropbear but I have a binary of busybox installer if that would help?
Click to expand...
Click to collapse
Did you compile it yourself?
I would prefer to get it from some reliable source, like some site that would host binaries...
Related
hi,
did anyone find a way to use openvpn on htc hero?
Catscrash said:
hi,
did anyone find a way to use openvpn on htc hero?
Click to expand...
Click to collapse
Not yet, but I am using the CyanogenMod 4.0.1 on my Dream and I have seen Donut on the HTC Click -- in both cases, Settings --> Wireless Controls is showing an option for VPN Settings, so I'm guessing that it would be a matter of time before this is available on the Hero and Magic firmware
Be patient, or wait for someone to cook a ROM with this feature
VPN wil be in Donut.
For now, it seems possible to implement it.
For the program GUI, it should good to extand that program to support openvpn and pptp vpn.
First of all tun driver is needed, you'll find it here.
Install and, as root, type:
# insmod /system/lib/modules/tun.ko
lsmod command should give you:
tun 11300 0 - Live 0xbf000000
That should load the tun kernel module.
I think we should then have to compile openvpn using android ndk.
A guy did it for the dream. Worth trying it. Maybe someone else could tell if binaries compiled for Dream can work on Hero
OpenVPN ist working on hero. I used the binaries for the G1. But the CIPHER is different: AES-256-CBC. I'm now testing it and if it's stable, perhaps I'm gonna compile openvpn with complete static openssl, so all functions should work.
If someone is interested, I can post my scripts and settings.
gogh57 said:
OpenVPN ist working on hero. I used the binaries for the G1. But the CIPHER is different: AES-256-CBC. I'm now testing it and if it's stable, perhaps I'm gonna compile openvpn with complete static openssl, so all functions should work.
If someone is interested, I can post my scripts and settings.
Click to expand...
Click to collapse
I am REALLY interested to now how you compiled it.
Hi!
I haven't compiled openvpn until now. I used this one:
https://www.digital-bit.ch/wiki/OpenVPN_auf_dem_G1
Just tried, may work. But i can't connect to my astaro because the key needs auth wit user and pw.
This Version hasnt been compiled with --auth-ask-pass. And reading from commandline doesn't work either..
I did compile it on my G1 with CyanogenMod ROM.
As far as I can see, it is working perfectly: I'm using it with certificates for 3 different VPNs.
Only issue: I wasn't able to complile a shared version of liblzo, so the binary is statically linked against liblzo.a (751 KB... )
Ah, yes, of course no GUI interface, shell only...
Hi!
Cool, could you post the binary? Could you give me a hint how you did it? I had several problems.
Would be perfect if someone could compile openvpn with " --enable-password-save"
Please post it, when a OpenVPN GUI for the HTC Hero / Magic is available.
Thans alot
wolfiedk said:
Please post it, when a OpenVPN GUI for the HTC Hero / Magic is available.
Thans alot
Click to expand...
Click to collapse
The great spam protection measures in this forum deny posting links for new users, so you have to manually follow them.
See: github.com/fries/android-external-openvpn
There is also an app and a statically linked openvpn binary at github.com/fries/android-external-openvpn/downloads
The openvpn binary has the following features:
* --enable-password-save
* statically linked against a blowfish enabled openssl
* statically linked against liblzo
Build:
* openvpn-static.bz2 was build on a donut-tree (1.6) for htc-magic
* openvpn-android-2.1.tar.bz2 was build on a cupcake (1.5) tree for htc-magic
* should run on a verity of (rooted) phones, please try it an give feedback.
A dynamically linked version is also available. The above git repo integrates seamless into the android build system. Some instructions may be found here: wiki.github.com/fries/android-external-openvpn/
Any feedback is welcome. Enjoy.
read this first -> http://sourceforge.net/projects/tunneldroid/files/README/download
First make sure kernel is compile with tun module
install tunneldroid from market
binary download -> http://sourceforge.net/projects/tunneldroid/files/openvpn-binary.zip/download
The newest version of my 'OpenVPN Settings' app is available at github.com/fries/android-external-openvpn/downloads
This is the kernel module for smb/cifs mount.(windows shares)
You need it for example for this: hxxp://forum.xda-developers.com/showthread.php?t=756158
I didn't found a compatible cifs.ko for samsung s anywhere so I had to compile it.
[recommended] cifs.zip - Eclair(2.1)
[recommended] froyo.zip - Froyo(2.2) - cifs.ko & slow-work.ko (insmod slow-work.ko first)
cifs_froyo_slow_work.zip - Froyo(2.2) - cifs & slow_work in one .ko Do NOT use this because its buggy (slow, reboots when rmmod)
could you pls explain what is this for? Experts needn't, but there're lots of newbies hangin aroud here, like me . Thanks
It's a kind of file system like ext2/3/4, for example.
Sent from my GT-I9000 using Tapatalk
This is the kernel module for smb/cifs mount.(windows shares)
You need it for example for this: hxxp://forum.xda-developers.com/showthread.php?t=756158
I didn't found a compatible cifs.ko for samsung s anywhere so I had to compile it.
Awsome. We can now mount samba shares! Freakin awsome
Sent from my Apple Newton 2100
You have my gratitude
Very usefull! thank you!
i'm back, when i'm trying an insmod i have cifs.ko : invalid module format
i use a jm5 samset 1.9f roms.
I use jm5 (mimocam's fix + root) and I've compiled the module from source-code provided by samsung (opensource.samsung.com) using arm-none-eabi-(Sourcery G++ from codesourcery.com). Maybe samset used something else which is incompatible.
ickyboo said:
Sent from my Apple Newton 2100
Click to expand...
Click to collapse
Bwahahahaha
ethanfel said:
i'm back, when i'm trying an insmod i have cifs.ko : invalid module format
i use a jm5 samset 1.9f roms.
Click to expand...
Click to collapse
Setenza said he'll add Cifs in the next SamSet release.
can you make one that is compatible with the Vibrant version? Either stock Vibrant kernel or any working kernel compatible.
Greatly appreciated
I've tried the module, but also get the "invalid module format" message.
However, I'm using JM5 + root using kernel 2.6.29 built on Fri Jul 30 15:12:44 KST 2010 armv71 GNU/Linux
Can you tell us for which kernel you've build this module?
thoriam said:
I've tried the module, but also get the "invalid module format" message.
However, I'm using JM5 + root using kernel 2.6.29 built on Fri Jul 30 15:12:44 KST 2010 armv71 GNU/Linux
Can you tell us for which kernel you've build this module?
Click to expand...
Click to collapse
I've compiled for kernel 2.6.29.2 using samsung's sources
my phone says he has kernel 2.6.29 [email protected] #1
I'm attaching the module compiled with latest toolchain I could find(binutils-2.20.1, gcc-4.5.1,newlib-1.18.0)
ctran81 said:
can you make one that is compatible with the Vibrant version? Either stock Vibrant kernel or any working kernel compatible.
Greatly appreciated
Click to expand...
Click to collapse
No idea if will work bc I don't have a Vibrant.
In the mean time I've also compiled my own version of the cifs.ko module.
I've used the Samsung sources and used the Sourcery G++ Lite 2010q1-188 for ARM EABI toolchain.
I've only enabled cifs in the kernel config and compiled the module.
I've attached the compiled result.
Thanks for your effort. I'm using JM5 +samset1.9f and couldn't get the cifsmanager to work with all 3 of your cif.ko . I've just dont know why the size the last 2 versions are huge compare to the first one? Thanks anyway. Hope you can come up with something.
thoriam said:
In the mean time I've also compiled my own version of the cifs.ko module.
I've used the Samsung sources and used the Sourcery G++ Lite 2010q1-188 for ARM EABI toolchain.
I've only enabled cifs in the kernel config and compiled the module.
I've attached the compiled result.
Click to expand...
Click to collapse
darkbyt3 said:
no idea if will work bc i don't have a vibrant.
Click to expand...
Click to collapse
thank you very much. It's working on my stock vibrant kernel! YOU ROCK SIR! (using attached vibrant.zip)
Now I can stream all my media files!
(I'm vary curious how you did this, if you can point me to some guides that would be awesome, (I can write some C/C++ code))
Works great for me - had been looking around to see if anybody had compiled the CIFS module for the Galaxy S. I started reading up on how to cross compile kernel modules myself but didn't get very far.
Anyway; I have a slight problem. while mounting and browsing from the terminal as root and through adb as non-root work, I can't seem to browse in any mounted folders actually on the device using either the stock 'My Files' or Astro which was what I was aiming to do.
What I do to mount said:
\\\\192.168.0.0\\Directory /sdcard/smbshare -o user=Username,pass=password,uid=1000,gid=1015
Click to expand...
Click to collapse
Without setting the user and group settings I can't browse unprivileged as everything in the share is 'owned' by root.
I also tried using mount -t smbfs //192.168.0.0/Directory /sdcard/smbshare with the same result.
Anybody else having a similar problem? Maybe it's just something obscure about my setup.
thoriam said:
In the mean time I've also compiled my own version of the cifs.ko module.
I've used the Samsung sources and used the Sourcery G++ Lite 2010q1-188 for ARM EABI toolchain.
I've only enabled cifs in the kernel config and compiled the module.
I've attached the compiled result.
Click to expand...
Click to collapse
Sorry for the noob questions:
- Can you please give more details on how to enable cifs in the kernel config?
- Is there a specific plate to copy the cifs.ko module?
- Is there a simple (one-click) way to install this?
- is the module dependent on the kernel version? has to be exactly the same?
- is there a easy way to check if it's working (I'm using cifsmanager and get some error saying cannot access device / folder not found -not sure about the exact message text)
Thanks in advance
Here is a kernel for Froyo intercept.
Features:
root
busybox
ext2/ext4 support
FUSE support
CIFS support
branch prediction
ARM V6k processor extensions
FASTFPE floating point emulation
To be real honest, this kernel offers nothing that CrapKernel doesn't already offer. I am posting this early version to announce that I am working on intercept, and also track my own progress. Any feedback is appreciated.
Huge thanks to JosephMother, who all but built it for me. Also thanks to rxaaron for help along the way, joeykrim for the moment guides and .config references, and to everyone in #sdx-developers.
Changelog:
0.2.4:
first beta release
add ext2/ext4 support
0.2.5:
add FUSE support
add CIFS support
move to gcc 4.4.5
gcc flags -O3
optimize for arm1176jzf-s
0.3.0:
reduce kernel log buffer size
remove parallel port
include my busybox binary
0.4.0:
enable ARM V6k processor extensions
replace NWFPE with FASTFPE
Download:
0.2.4: http://www.megaupload.com/?d=VMGMB9WV
0.2.5: http://www.megaupload.com/?d=C7WGZ1M6
0.4.0: http://www.megaupload.com/?d=KI29NSTX
question
How to install? This affects me some funsion the phone? I have to have custom recovery? A prerequisite?
henrydcc said:
How to install? This affects me some funsion the phone? I have to have custom recovery? A prerequisite?
Click to expand...
Click to collapse
Copy the zip to your sd card and install using a custom recovery. Will not work without custom recovery.
dcd1182 said:
Copy the zip to your sd card and install using a custom recovery. Will not work without custom recovery.
Click to expand...
Click to collapse
I beg to differ, you can pull the zimage from the zip file, place it on your sd card, and use terminal, connectbot, or adb to run:
flash_image boot /sdcard/zImage
But since you're an intercept rookie you're forgiven dcd
yes
i'm rookie intecept user, but my first cel. was a htc hero and i now fully management it.
Hi!
Have someone compiled a running openvpn binary with needed tun.ko for the stock firmware (1.28) ?
I would like to use openvpn with my one x.
prodigy7
One ROM says it's openvpn compatible. I can't post a link, so this is the thread title/rom name:
[ROM] Android Revolution HD 3.0.0 | ICS | High Quality & Performance | 1.28.401.9
Lemme know how it works
Hmm k ... i wait for final s-off and try to compile openvpn, if no one hasn't done at this time or try to get the files from this ROM.
prodigy7 said:
Hi!
Have someone compiled a running openvpn binary with needed tun.ko for the stock firmware (1.28) ?
I would like to use openvpn with my one x.
prodigy7
Click to expand...
Click to collapse
Just download OpenVPN Installer and OpenVPN Settings
and install busybox
No need for tun.ko (CONFIG_TUN=y in the kernel)
of course you need a rooted phone.
richardtrip said:
Just download OpenVPN Installer and OpenVPN Settings
and install busybox
No need for tun.ko (CONFIG_TUN=y in the kernel)
of course you need a rooted phone.
Click to expand...
Click to collapse
Really cool!!!!!!!!! Thank you very much for this hint. I'll try it next time
Definitely will try this..I can see it have a good rating (more than 4.0)..
Would anyone be interested in a busybox for stock Nexus 7?
I have used CM 11 but I like stock for some reason lol. However, busybox is obviously not included in stock.
The only way to get it is via an app from the market.
There are many ways to compile busybox which I have done, however they are limited or broke.
For example compiling busybox from a chroot on the device semi works. There are a few things that are broken, like wget nslookup etc.
Because it is not compiled using the bionic libs.
I have compiled busybox with the NDK toolchain, however it is very limited. Trying to add more applets breaks the build.
So from what I have been reading, and googling, is to build busybox using a rom which will have the required source files needed to properly build busybox.
So, if anyone interested in a busybox for Nexus 7 or would like to help, or contribute, or know of a better way I am listening.
UPDATE: Busybox compiled and so far working, not seeing any issues.
Reason I want a specific busybox was for chroot on my device..
If anyone is interested in the busybox binary for a stock nexus let me know.
it was compiled using cyanogen sources, so I dont want to take credit for it. Just cpu, memory usage.. lol