+ Reply to Thread
Page 11 of 31 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 301
  1. #101
    Administrator LeshaK is on a distinguished road
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,712

    Default Re: How to get Root on Samsung i5700 [EN] (01/09 - v.LK07.2)

    Quote Originally Posted by SpH1nX
    I noticed that you wanna add OpenVPN support in v.08.
    I tried TunelDroid ( http://sourceforge.net/projects/tunneldroid/ ) using tun support added by you (via kernel module) in your kernel image but it didn't work correctly due to some permission issue (ifconfig permission denied).
    Did you make some similar test? With which results?
    Sorry, but v.08 is not ready
    at the moment I am working on OpenVPN (+TunnelDroid)
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!

  2. #102
    Administrator LeshaK is on a distinguished road
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,712

    Default Re: How to get Root on Samsung i5700 [EN] (01/09 - v.LK07.2)

    2SpH1nX
    Preliminary testing OpenVPN + tunneldroid
    - Start
    - Tun driver is loaded
    - It starts connection to the openvpn server
    final testing and results - tomorrow, there is no access to the server to generate new keys
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!

  3. #103
    Member SpH1nX
    Join Date
    Dec 2009
    Location
    Milano - Italy
    Posts
    41

    Default Re: How to get Root on Samsung i5700 [EN] (01/09 - v.LK07.2)

    Yes I know that v.08 is not ready yet. I forgot to mention that i ran my test on v.05 and that was my results.
    In details:
    Starts, tun module loaded and succesfully connected to server using specified keys.
    But whenever openvpn tries to set received configuration details (local and remote server ip address) it fails complaining about some missing permission.
    Do your tests when you can and let me know the results.
    Samsung GT-i5700 Galaxy Lite
    Lux Team Member - My Site

  4. #104
    Junior Member zefie
    Join Date
    Jan 2010
    Posts
    4

    Default Re: How to get Root on Samsung i5700 [EN] (01/09 - v.LK07.2)

    my kernel for moment v8.2 has a new datatool if you want to check if the sdcard has enough space before attempting a backup.

    We should probably work together since the hardware in our devices is similar

    Specifically, we are interested in your custom /sbin/recovery

  5. #105
    Administrator LeshaK is on a distinguished road
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,712

    Default Re: How to get Root on Samsung i5700 [EN] (01/09 - v.LK07.2)

    Quote Originally Posted by zefie
    my kernel for moment v8.2 has a new datatool if you want to check if the sdcard has enough space before attempting a backup.
    We should probably work together since the hardware in our devices is similar
    Specifically, we are interested in your custom /sbin/recovery
    no problem,
    full source code - http://github.com/leshak/i5700_recovery
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!

  6. #106
    Administrator LeshaK is on a distinguished road
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,712

    Default Re: How to get Root on Samsung i5700 [EN] (01/09 - v.LK07.2)

    Quote Originally Posted by SpH1nX
    Yes I know that v.08 is not ready yet. I forgot to mention that i ran my test on v.05 and that was my results.
    In details:
    Starts, tun module loaded and succesfully connected to server using specified keys.
    But whenever openvpn tries to set received configuration details (local and remote server ip address) it fails complaining about some missing permission.
    Do your tests when you can and let me know the results.
    I tested openvpn,
    where is a problem when openvpn run by tunneldroid, if you run from command line (adb) - everything ok, openvpn ran, connect, up interface and set ipaddress & route
    but tunneldroid....
    i seeking...
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!

  7. #107
    Member SpH1nX
    Join Date
    Dec 2009
    Location
    Milano - Italy
    Posts
    41

    Default Re: How to get Root on Samsung i5700 [EN] (01/09 - v.LK07.2)

    I tried running via adb shell but i got the same results.
    I'll try again and let you know asap.
    Thx.
    Samsung GT-i5700 Galaxy Lite
    Lux Team Member - My Site

  8. #108
    Administrator LeshaK is on a distinguished road
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,712

    Default Re: How to get Root on Samsung i5700 [EN] (01/09 - v.LK07.2)

    Quote Originally Posted by SpH1nX
    I tried running via adb shell but i got the same results.
    I'll try again and let you know asap.
    Thx.
    from adb I simple run
    Code:
    openvpn --config /sdcard/openvpn/myconfug.ovpn
    and everything is ok,
    tun0 is up, set ipaddress and i can ping remote server (everything over EDGE, Moscow doesn't have 3G :shock: )
    but if openvpn run from tunneldroid...
    i'm working...
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!

  9. #109
    Member SpH1nX
    Join Date
    Dec 2009
    Location
    Milano - Italy
    Posts
    41

    Default Re: How to get Root on Samsung i5700 [EN] (01/09 - v.LK07.2)

    Ok man! As soon as i'll be at home i'll try! Here at office i've internet connection but OpenVPN server is currently turned off.
    Samsung GT-i5700 Galaxy Lite
    Lux Team Member - My Site

  10. #110
    Administrator LeshaK is on a distinguished road
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,712

    Default Re: How to get Root on Samsung i5700 [EN] (01/09 - v.LK07.2)

    Quote Originally Posted by SpH1nX
    Ok man! As soon as i'll be at home i'll try! Here at office i've internet connection but OpenVPN server is currently turned off.
    Ha, ha, ha!
    I'm stupid man...
    Simple install last kernel LK07_2 + Superuser (required to install!!!!!)
    now tunnel droid can't load only tun.ko
    but you can do it once after boot
    Code:
    su
    insmod /lib/modules/tun.ko
    in next kernel will load this modules automaticaly at boot

    and tunneldroid work very well!
    Code:
    Thu Jan 14 07:25:16 2010 us=279225 Current Parameter Settings:
    Thu Jan 14 07:25:16 2010 us=283594   config = '/sdcard/openvpn/cl-android.ovpn'
    Thu Jan 14 07:25:16 2010 us=283876   mode = 0
    Thu Jan 14 07:25:16 2010 us=284076   persist_config = DISABLED
    Thu Jan 14 07:25:16 2010 us=284262   persist_mode = 1
    Thu Jan 14 07:25:16 2010 us=284438   show_ciphers = DISABLED
    Thu Jan 14 07:25:16 2010 us=284607   show_digests = DISABLED
    Thu Jan 14 07:25:16 2010 us=284780   show_engines = DISABLED
    Thu Jan 14 07:25:16 2010 us=284955   genkey = DISABLED
    Thu Jan 14 07:25:16 2010 us=285148   key_pass_file = '[UNDEF]'
    Thu Jan 14 07:25:16 2010 us=285322   show_tls_ciphers = DISABLED
    Thu Jan 14 07:25:16 2010 us=286128 Connection profiles [default]:
    Thu Jan 14 07:25:16 2010 us=286388   proto = udp
    Thu Jan 14 07:25:16 2010 us=286607   local = '[UNDEF]'
    Thu Jan 14 07:25:16 2010 us=286835   local_port = 0
    Thu Jan 14 07:25:16 2010 us=287021   remote = '------------------------'
    Thu Jan 14 07:25:16 2010 us=287207   remote_port = ----
    Thu Jan 14 07:25:16 2010 us=287376   remote_float = DISABLED
    Thu Jan 14 07:25:16 2010 us=287567   bind_defined = DISABLED
    Thu Jan 14 07:25:16 2010 us=289000   bind_local = DISABLED
    Thu Jan 14 07:25:16 2010 us=289191 NOTE: --mute triggered...
    Thu Jan 14 07:25:16 2010 us=289493 187 variation(s) on previous 20 message(s) suppressed by --mute
    Thu Jan 14 07:25:16 2010 us=289696 OpenVPN 2.1_rc15 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] built on Dec 12 2009
    Thu Jan 14 07:25:16 2010 us=290330 MANAGEMENT: TCP Socket listening on 127.0.0.1:7171
    Thu Jan 14 07:25:16 2010 us=309286 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
    Thu Jan 14 07:25:16 2010 us=310075 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
    Thu Jan 14 07:25:16 2010 us=331913 WARNING: file '/sdcard/openvpn/client2.key' is group or others accessible
    Thu Jan 14 07:25:16 2010 us=348649 LZO compression initialized
    Thu Jan 14 07:25:16 2010 us=357375 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
    Thu Jan 14 07:25:17 2010 us=70670 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
    Thu Jan 14 07:25:17 2010 us=72807 Local Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
    Thu Jan 14 07:25:17 2010 us=73792 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
    Thu Jan 14 07:25:17 2010 us=75323 Local Options hash (VER=V4): '41690919'
    Thu Jan 14 07:25:17 2010 us=80813 Expected Remote Options hash (VER=V4): '530fdded'
    Thu Jan 14 07:25:17 2010 us=81826 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
    Thu Jan 14 07:25:17 2010 us=83147 Socket Buffers: R=[110592->131072] S=[110592->131072]
    Thu Jan 14 07:25:17 2010 us=84193 UDPv4 link local: [undef]
    Thu Jan 14 07:25:17 2010 us=90781 UDPv4 link remote: ------------------:----
    Thu Jan 14 07:25:17 2010 us=93521 MANAGEMENT: Client connected from 127.0.0.1:7171
    Thu Jan 14 07:25:17 2010 us=986795 MANAGEMENT: >STATE:1263451217,AUTH,,,
    Thu Jan 14 07:25:17 2010 us=988442 TLS: Initial packet from -------------------:---, sid=94b09c85 3650b1c3
    Thu Jan 14 07:25:21 2010 us=270592 VERIFY OK: depth=1, /C=US/ST=CA/L=SanFrancisco/O=Fort-Funston/CN=Fort-Funston_CA/emailAddress=me@myhost.mydomain
    Thu Jan 14 07:25:21 2010 us=280699 VERIFY OK: depth=0, /C=US/ST=CA/L=SanFrancisco/O=Fort-Funston/CN=server/emailAddress=me@myhost.mydomain
    Thu Jan 14 07:25:28 2010 us=418144 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
    Thu Jan 14 07:25:28 2010 us=418512 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
    Thu Jan 14 07:25:28 2010 us=419555 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
    Thu Jan 14 07:25:28 2010 us=419909 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
    Thu Jan 14 07:25:28 2010 us=466652 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
    Thu Jan 14 07:25:28 2010 us=467319 [server] Peer Connection Initiated with -----------------:----
    Thu Jan 14 07:25:29 2010 us=706249 MANAGEMENT: >STATE:1263451229,GET_CONFIG,,,
    Thu Jan 14 07:25:29 2010 us=708970 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
    Thu Jan 14 07:25:30 2010 us=482242 PUSH: Received control message: 'PUSH_REPLY,route 192.168.99.0 255.255.255.0,route 10.210.210.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 10.210.210.6 10.210.210.5'
    Thu Jan 14 07:25:30 2010 us=482901 OPTIONS IMPORT: timers and/or timeouts modified
    Thu Jan 14 07:25:30 2010 us=483128 OPTIONS IMPORT: --ifconfig/up options modified
    Thu Jan 14 07:25:30 2010 us=483311 OPTIONS IMPORT: route options modified
    Thu Jan 14 07:25:30 2010 us=484662 ROUTE default_gateway=10.216.109.1
    Thu Jan 14 07:25:30 2010 us=487562 TUN/TAP device tun0 opened
    Thu Jan 14 07:25:30 2010 us=487887 TUN/TAP TX queue length set to 100
    Thu Jan 14 07:25:30 2010 us=488259 MANAGEMENT: >STATE:1263451230,ASSIGN_IP,,10.210.210.6,
    Thu Jan 14 07:25:30 2010 us=488589 /system/xbin/ifconfig tun0 10.210.210.6 pointopoint 10.210.210.5 mtu 1500
    Thu Jan 14 07:25:30 2010 us=575059 MANAGEMENT: >STATE:1263451230,ADD_ROUTES,,,
    Thu Jan 14 07:25:30 2010 us=576065 /system/xbin/route add -net 192.168.99.0 netmask 255.255.255.0 gw 10.210.210.5
    Thu Jan 14 07:25:30 2010 us=596444 /system/xbin/route add -net 10.210.210.0 netmask 255.255.255.0 gw 10.210.210.5
    Thu Jan 14 07:25:30 2010 us=610795 GID set to root
    Thu Jan 14 07:25:30 2010 us=611091 UID set to root
    Thu Jan 14 07:25:30 2010 us=611310 Initialization Sequence Completed
    Thu Jan 14 07:25:30 2010 us=611597 MANAGEMENT: >STATE:1263451230,CONNECTED,SUCCESS,10.210.210.6,-------------
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts