INADYN for Android - EVO 4G Themes and Apps

This is simple cross compile of INADYN 1.96.2 for Android.
"INADYN is a free DynDNS client. It gives the possibility to have your own fixed hostname registered on the internet, although your IP might be changing. It checks periodically whether the IP address stored by the DNS server is the real current IP address of the machine that is running INADYN."
http://www.inatech.eu/inadyn/
To install:
1) extract inadyn.zip to your sdcard
2) copy inadyn to /system/bin
You have two ways to run it:
1) from the shell, run: inadyn --username <DynDNS username> --password <DynDNS password> --alias <DynDNS alias>
e.g. inadyn -u test -t test -a test.thruhere.net
2) create inadyn.conf in /etc with the following contents: "--username <DynDNS username> --password <DynDNS password> --alias <DynDNS alias>" then run inadyn
You may want to use the following commands
--iterations 1 (this will cause inadyn to update the ip and exit)
--background (inadyn will run in the background)
--update_period 6000 (how often the IP is checked. The period is in [ms]. Default is about 1 min. Max is 10 days)

Reserved for build instructions
Reserved for build instructions

Reserved for inadyn-mt
Reserved for inadyn-mt

Good, thank you for sharing.
Work fine on milestone, motofrenzy (froyo whit kernel eclair).

Is there any chance you would add support for zone edit?
Sent from my ADR6300 using XDA App

error
followed instructions but no joy; keep getting:
[1] Illegal instruction
Running Froyo on LG Optimus S. Any ideas?

I have not installed this, but I would like to know the answer to this question before I do:
Is this supposed to work over cellular/3G? Or is it just wifi?

Does this work on all phones ? anybody get this to connect on tmobile?

i get error too
daflores63 said:
followed instructions but no joy; keep getting:
[1] Illegal instruction
Running Froyo on LG Optimus S. Any ideas?
Click to expand...
Click to collapse
I have the same problem running Gingerbread on HTC Wildfire S
'pidof inadyn' repeats the error message
'pidof inadyn' again returns no result

Related

[17/12][UPDATE]OPENVPN.zip!!FLASH WITH CWM-ANY SENSE ROM

OpenVPN on SENSE & Buzz OC/UV 1.51Ghz 1.1.4 HOW TO
NEW UPDATE: 17/12/2010
OpenVpn.zip - FLASH IN CLOCKWORK MOD AND FOLLOW ON FROM STEP 4!!
WHAT IT DOES.
- New iptables
- New Openvpn binary
- All Symlinks created.
- All Permissions.
- Folders Created.
REQUIREMENTS:
-ROOT
-CWM-RECOVERY
-BusyBox
-OpenVpn config files, certs etc in /sdcard/openvpn
CONFIRMED WORKING ON :
-LeeDroid 1.2
-[RUU_Ace_HTC_WWE_1.32.405.6 Stock Sense Rom] - thanks to Walker Street For Testing.
Please inform me if you can confirm this working on Other ROM'S Thank you.
I AM USING ,
[KERNEL]Buzz OC/UV 1.51Ghz CFS+BFQ+SmartAss+TUN+EXT4+.27 ACE 1.1.4 [15/12/2010]
IN THEORY THIS SHOULD WORK WITH ANY SENSE ROM & KERNEL..
JUST MAKE SURE YOU THE KERNEL HAS A TUN.KO ETC CONFIGURED FOR IT.
DOWNLOAD :
http://dl.dropbox.com/u/15057375/mero01-xda/OpenVPN.zip
And a BIG thanks to ecips for helping with this
NO LONGER NEED TO DO ANY OF THIS , JUST USE OpenVPN.zip & FOLLOW ON FROM STEP 4!!
Ok guys had alot of problems gettings this too were it working, hopefully you guys might see some errors/fix's to improve on this
Requirements:
OpenVPN-Settings - Market
OpenVpn Binary File - Located in the openvpn4DesireHD.ZIP
LeeDrOiD HD v1.2 - http://forum.xda-developers.com/showthread.php?t=842802
Buzz OC/UV 1.51Ghz 1.1.4 - http://forum.xda-developers.com/showthread.php?t=835616
UPDATED 17/12/2010: CONFIRMED WORKING ON, LeeDroiD HD v1.2 & Buzz OC/UV 1.51Ghz 1.1.4
A) Not sure if this matters or not but i copied LeeDroids iptables file from the Desire.
B) Copy your client.conf or .ovpn file and certs to /sdcard/openvpn
C) Implementation:
1. Unzip/copy openvpn binary file to device.
1.b replace the current openvpn file in /system/xbin with this new one
1.c -- chmod +x with it.
Code:
adb remount
adb push openvpn /system/xbin/
adb shell
chmod +x /system/xbin/openvpn
exit
If " adb remount " didnt work
Code:
su
mount -o rw,remount -t yaffs2 /dev/block/mmcblk0p25 /system
in order to mount system as read/write
2. Make folder /system/xbin/bb
Code:
adb remount
adb shell mkdir /system/xbin/bb
exit
3. Make symbolic links to ifconfig and route & busy box.
THIS IS WERE THE PROBLEMS ALL COME FROM AND IF YOU HAVE ISSUES THIS IS WHAT WILL BE CAUSEING IT! SOMETHING TO DO WITH LINK BETWEEN BUSY BOX AND IFCONFIG......BUT I TRIED FROM FRESH BOOT AND IT WORKS FLAWLESSLY NOW WILL TALK TOO LEE ABOUT GETTING EVERYTHING INBUILT IN LEEDROID
Code:
adb remount
adb shell
ln -s /system/xbin/ifconfig /system/xbin/bb/ifconfig
ln -s /system/xbin/route /system/xbin/bb/route
ln -s /system/xbin/busybox /system/xbin/ifconfig
reboot
4. Install/Configure OpenVPN-Settings
4.0 Install OpenVPN-Settings from "Market" its free dont worrie
Code:
4.1 On device, launch OpenVPN Settings.
4.2 Long press openvpn.conf, Preferences.
4.3 Check "Use VPN DNS Server"
4.4 Enter your VPN DNS Server
4.5 Script Security Level Select Built-in + scripts
4.5 press back
4.6 Click click the sub-menu option select Advanced
4.7 Load tun kernel module and make it 'insmod /system/lib/modules/tun.ko' before starting openvpn.
7.8 Change path to openvpn binary to /system/xbin/openvpn
Click " Fix HTC Routes "
You should now be connected
IF I FORGOT ANYTHING PLS LET ME KNOW VERY TIRED WHEN I DID THIS HAHA
Here is my config anyways for reference and here is my client config
Code:
client
dev tun
proto udp
remote XXX.XXX.XXX.XX 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert mero-android.crt
key mero-android.key
comp-lzo
verb 6
script-security 2
Have also realised if you go terminal and do following gives you nice log
basicly , su root, cd to your openvpn folder location, run openvpn on your client conf
Code:
su
cd /sdcard/openvpn
openvpn client.ovpn
For added security. To make the OpenVPN request a password on connect. do the following
change step 4.5 to Script Security Level Select Built-in + scripts + passwords
add the following to your server conf.
Code:
username-as-common-name
plugin /usr/lib/openvpn/openvpn-auth-pam.so login
and this to your client
Code:
auth-user-pass
Change Log:
Use OpenVPN.zip & step 4 and beyond.
17/12/2010
DOWNLOAD:
http://dl.dropbox.com/u/15057375/mero01-xda/OpenVPN.zip
Out of curiosity, what is OpenVPN used for?
Then i will know if i have to use your spot on tutorial
no1male said:
Out of curiosity, what is OpenVPN used for?
Then i will know if i have to use your spot on tutorial
Click to expand...
Click to collapse
It's a VPN (virtual private network). I can access my home and work computers from my android.
I am super-impressed mero. But I wasn't able to get it to work .... I think it's my fault .... I've stuffed around so much. I'm right now starting a clean install.... It should work..... I hope.
Walker Street said:
I am super-impressed mero. But I wasn't able to get it to work .... I think it's my fault .... I've stuffed around so much. I'm right now starting a clean install.... It should work..... I hope.
Click to expand...
Click to collapse
thanks
I did alot of stuffing around aswell thats why i wanted to test it.
So i did a full wipe. then flash to 1.2 reboot. flash to 1.0.1.fix. and then first thing i did was follow those steps.
connection worked first go
please update me, as im sure i can help.
Walker Street,
I attached a screen shot of the actual adb session i did just incase. the bottom 3 commands to my knowledge and what i can see dont work so i ommited them from the tut. but they might do somthign and not display it so thought i might upload incase.
mero01 said:
Walker Street,
I attached a screen shot of the actual adb session i did just incase. the bottom 3 commands to my knowledge and what i can see dont work so i ommited them from the tut. but they might do somthign and not display it so thought i might upload incase.
Click to expand...
Click to collapse
Silly me. I forgot to set 'Fix HTC Routes'. Now I've done that and your method rules.
You're a genius mero. It works.
I changed permissions for the new openvpn and iptables using root explorer so they could execute. Maybe you didn't need to because you were doing adb push from linux (I was doing it from windows).
I don't have a DNS server, so I didn't need to specify one.
I would highly recommend these changes to LeeDroid for his rom. Have you messaged him yet?
Walker Street said:
Silly me. I forgot to set 'Fix HTC Routes'. Now I've done that and your method rules.
You're a genius mero. It works.
Click to expand...
Click to collapse
+1
Thank you very much
Walker Street said:
I changed permissions for the new openvpn and iptables using root explorer so they could execute. Maybe you didn't need to because you were doing adb push from linux (I was doing it from windows).
I don't have a DNS server, so I didn't need to specify one.
I would highly recommend these changes to LeeDroid for his rom. Have you messaged him yet?
Click to expand...
Click to collapse
to be honest the only part i did in adb was the symlinks did everything else in root explorer.i didnt change any permissions :S
Yes i have PM'd him, awaiting a reply
just updated to Buzz 1.0.2 , everything still works
Walker Street said:
It's a VPN (virtual private network). I can access my home and work computers from my android.
Click to expand...
Click to collapse
Yes and tunnel all your internet traffic back through the VPN encrypted in many ways
also works with buzz 1.0.8.
and after pushing the openvpn binary, you need to do chmod +x with it.
raw235 said:
also works with buzz 1.0.8.
and after pushing the openvpn binary, you need to do chmod +x with it.
Click to expand...
Click to collapse
No worries thanksss, i shall update
anyone tried with 1.1.0 ?
Hello,
i'm in trouble....
At first, i have an error when i try the adb remount command : Operation not permitted
Then i have a second message when i try to create the "bb" folder : mkdir failed for bb. Read-only file system.
I'm confused because tel is rooted, S-OFF and suped-CID. I even changed the Kernel with Buzz's one 1,2Ghz.
Did i miss something?
Thanks for your help
Lionel
EFCAugure said:
Hello,
i'm in trouble....
At first, i have an error when i try the adb remount command : Operation not permitted
Then i have a second message when i try to create the "bb" folder : mkdir failed for bb. Read-only file system.
I'm confused because tel is rooted, S-OFF and suped-CID. I even changed the Kernel with Buzz's one 1,2Ghz.
Did i miss something?
Thanks for your help
Lionel
Click to expand...
Click to collapse
hmm thats very strange... adb remount should work...
actually quite puzzled at that dunno why it wouldnt work if you do have root etc.
only other thing i can think of is have you got busybox installed ?
what state is your phone in when your trying to do this ? ie off. on, recovery mode.
Hi,
thanks for reply!
I have a branded SFR phone in France but i managed to root it and S-OFF it without problem.
I switched to another Kernel with the tun.ko file and that's all.
When i tried adb remount, the phone was ON (no recovery or anything else).
I will try in recovery mode.
Busybox is installed.
Note : impossible to connect adb while in recovery.
This seems to be the problem :
when switching kernel only, i don't change the property ro.secure because it's nested (of what i read) in the boot.img. I have a branded phone and this property is set to 1.
Is there a way to change this property without changing the whole ROM? I would llike to stay with this one.
Thanks for your advice
lionel
Ok,
switched to Leedroid 1.2 and re-changed kernel to Buzz 1,22Ghz.
This tutorial is awesome!
Thanks mero01!!!
Is there a way to use the WIFI connection instead of 3G?
EFCAugure said:
Ok,
switched to Leedroid 1.2 and re-changed kernel to Buzz 1,22Ghz.
This tutorial is awesome!
Thanks mero01!!!
Is there a way to use the WIFI connection instead of 3G?
Click to expand...
Click to collapse
no worries
yer just disable 3g and use wifi. just make sure that its not using the same wifi your openvpn server is on...
Yes, of course!
I will try from a friend's wifi this afternoon!
Thanks
lionel

Ettercap for Android ARM

Hi guys, just to let you know, i successfully compiled ettercap for android!
This is a command-line tool only(for now) so if you never used ettercap, try it first on your PC.
What is working now (that i've tested):
- Text only support
- ARP spoofing
- ...
Not Working:
- Plugin Loading (should be easy to fix)
- Curses (is it really necessary?)
Sample usage on my galaxy S:
Code:
./ettercap -i eth0 // // -qT -M ARP
Now, use with care
I'd appreciate if someone write a how-to for "non-geeks", and a better mirror.
Download 0.11
Mirror (courtesy of a1Pha)
Cheers
How did You do that?
Hi,
How did you cross compile it, and did you upload the diff back to ettercap project ? They would benefit from the changes.
I did the following to get it to work so I could execute the file from the sdcard.
# mount -o remount,rw,dirsync,nosuid,nodev,exec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro -t vfat /dev/block/vold/179:1 /mnt/sdcard
# ./ettercap -i eth0 // // -qT -M ARP
Can you reupload the file. Thanks.
Link updated.
There is only one line of code modified from the original project, which sets the uid and gid to another than root, and prevents ettercap from working correctly, so i commented it and now it works well. Later ill make a tutorial on how to build it.
Cheers
Great work onaips. But how to install it? Do you have any guide ready?
I can not find out a way to install it.
Great job here, I use Ettercap on my laptop pretty frequently, and have been waiting for an Android port. The only problem is that I keep on getting a permission error using my personal terminal emulator.
After getting su permissions, I type:
# ./ettercap -i eth0 // // -qT -M AR
Then, it just spits out:
./ettercap: permission denied
Any thoughts?
Try to give it executable permissions,
chmod 777 ettercap
onaips said:
Try to give it executable permissions,
chmod 777 ettercap
Click to expand...
Click to collapse
No luck, but thanks for the suggestion. It still gives the same permission denied error. None of the other files in the folder have permission as well, not even with the chmod command.
Still no luck with the plugins? Can someone help?
@skafan2 you probably are trying to run it from your sdcard, on a fat partition. Try to move it to the /system directory, or any other place formatted as ext-*
dazdaz said:
Hi,
How did you cross compile it, and did you upload the diff back to ettercap project ? They would benefit from the changes.
I did the following to get it to work so I could execute the file from the sdcard.
# mount -o remount,rw,dirsync,nosuid,nodev,exec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro -t vfat /dev/block/vold/179:1 /mnt/sdcard
# ./ettercap -i eth0 // // -qT -M ARP
Click to expand...
Click to collapse
Hey.... Many many many thanks, but i have a question..
i run debian-ubuntu-bt5 on my HTC DesireZ and i can not run ettercap because of some Fatal error with the Layer 3 (wich is the internet layer). Then, i was suspicious with the interface (eth0). Eth0 refers to ethernet connection and i am connected wireless (is this the problem)????? i tried to change my eth0 interface with the wlan0 but without luck.... please help me how to make it work....
Thank u again
thank you!
ettercap layer 2 error
come on guys please someone answer me, i really need this to work
dude on most mobiles wifi= eth0 or tiwlan0 so quit trying to change it to wlan0. Also, are you talking about the android ettercap binary or the debian chroot version? also post exactly what it says if you can
working but not package received, cant put in promicious mode...
Hi, the binary is working but is telling me 0 plugins, any one knows how to deal with the plugins
links dead
Both links are dead. Can you fix it?
You can mail me the app, i can mirror it for you if you'd like.
Reup please ....
Jah. reup please
I'm also interested in testing this on an android phone, but the links are dead.

[DEV] Boot Ubuntu on your HTC Desire HD - WIP

Ububtu for you HTC Desire HD
In June 2010, XDA zedomax got Ubuntu 9.04 running on Nexus One, tutorial is available at this thread:
http://forum.xda-developers.com/showthread.php?t=718952
[email protected] then continued studying the tutorial and worked out a way to make Ubuntu 9.04 running better, smoother and cause less errors, here's hes post:
http://forum.xda-developers.com/showthread.php?t=815532
Recently HTC_Linux team has released version 0.3 of their Ubuntu image, compare to the original guide provided by zedomax, the v0.3 release is based on the latest Ubuntu 10.10 and is a WIP, V0.4 is currently undergiong testing.​
What benefits will you get from running Ubuntu 10.10 on your DHD (at least):
1. Fully functional Linux terminal, with all standard Linux command line utilities
2. Fully functional desktop browser Firefox 3.6.13
3. Ability to compile and run native Linux applications
4. Bunch of graphical Internet and utility applications as shown in the screenshots
As promised, here is a little guide to get Ubuntu Desktop running on you DHD, The image used is a WIP and has been built for use with the HTC HD2. the scripts, from the above threads modified by my self to work with the DHD
Credits:
Thanks to the great XDA-developers community.
Thanks to Zedomax for providing the original tutorial of running Ubuntu on Nexus One.
Thanks to HTC_Linux team for creating the optimised Ubuntu 10.10 image file.
Basic requirements
A Rooted HTC Desire HD (Ace)
A MicroSD with minimum 3GB free space
A Custom kernel wit LoopBack support (I have attatched mine )
The Below Ubuntu.rar which contains ubuntu.img & the required scripts (modified by my self)
An android terminal emulator -from the market
Android VNC - from the market
If you're using Froyo App2SD, move all your applications which are on SD card back to Internal Storage and ensure FroYo A2SD install location is set to internal(1) by typing #"pm setInstallLocation 1" into your android terminal. If you fail to do so, you won't be able to enter Ubuntu.
LeeDrOiD V2.0.6 custom Kernel - 21/02/11 5:25pm GMT(MultiUpload)(2.46mb)
MD5# ba511a40ef17352b9a8a35013eb16674
Ubuntu.rar (Torrent)​
How to​
1. Extract the Ubuntu.rar that you have just downloaded to an "ubuntu" folder on the root of your SD card.
2. Open your Android Terminal Emulator
3. Type “cd sdcard/ubuntu” (enter)
4. Type su to go to superuser mode
3. Type “sh ubuntu.sh
4. If you see “Type 'bootubuntu' to boot Ubuntu”, then you're almost there!
5. Type “bootubuntu” (enter)
6. You should now see “"[email protected]:/#"” Congratulations! Now you're running Ubuntu 10.10
Whenever you want to enter Ubuntu again, simply cd to the ubuntu directory and type “bootubuntu” (enter) in your Android Terminal.
To properly exit Ubuntu, you must type exit from the Ubuntu terminal.
If your Android terminal application gets killed by Android system (i.e. you lost Ubuntu terminal), you need to go back to Android terminal, type “exit” (enter), that will properly unmount Ubuntu.
Very often you can get “loop device busy” error when exiting from Ubuntu, in that case, type “exit” (enter) multiple times (it's harmless to run the“exit” script multiple times, don't worry). If still you get “loop device busy”error, don't worry, just ignore it.
Loading the GUI (Gnome desktop) ​1. Install “android-vnc-viewer” from Market (free)
2. Enter Ubuntu terminal
3. Make sure that you have network connection (Wi-fi recommended)
4. type “apt-get update” (enter), and wait till it finishes
5. type “apt-get install tightvncserver” (enter) and answer “y” to the question
6. After you have installed tightvncserver, type “cd /bin” (enter)
7. Type the following commands (all are case-sensitive!):
“cat > x” (enter)
“rm -r -f /tmp” (enter)
“mkdir /tmp” (enter)
“chmod 777 /tmp” (enter)
“export USER=root” (enter)
“export XKL_XMODMAP_DISABLE=1” (enter)
“vncserver -geometry 1024x800” (enter)
(enter)
(At this point you will need to configure "vol-" as Ctrl in Android terminal emulator preferences)
(Now hold volume down and press D on your keypad)
“chmod 777 x” (enter)
8. The above procedure makes a script named “x”, whenever you want to start GUI, you need to type “x” (enter).
Notice that the first time (only the first time) you run “x” script you'll be prompt to enter a password for VNC connection, then you'll be asked whether to create a “view-only” password, since it is not necessary, answer “n” to the question.
9. Start “android-vnc-viewer”, create a new connection with the following settings:
Nickname: (anything you like to identify the connection)
Password: the VNC connection password that you created when ran the “x”script
Address: localhost
Port: 5901
Color format: 24-bit color (4 bpp)
Click “Connect” button, and in about a minute, you'll see your Ubuntu 10.10 desktop!
10. We still need to create one final script called “s”, now go back to your Ubuntu terminal and type:
“cd /bin” (enter)
“cat > s” (enter)
“export USER=root” (enter)
“vncserver -kill :1” (enter)
“vncserver -kill :2” (enter)
“sudo reboot” (enter)
“sudo halt” (enter)
(enter)
(press and hold Vol- & click “D” on keyboard)
“chmod 777 s” (enter)
11. If you have GUI running, you * MUST * type “s” (enter) to stop VNC server before you exit from Ubuntu terminal!
In case that your Android kills your Android Terminal application and you still have VNC server running, do the following steps:
a. Start Android Terminal
b. type “bootubuntu” (enter) to bring back Ubuntu terminal
c. type “s” (enter) to stop VNC server
d. type “exit” (enter) to exit from Ubuntu terminal
Fail to do so you will have problem with VNC connection next time you use it.
What's not currently working in Ubuntu:
1. Sound
2. Some applications may not run (I guess, due to Android memory management mechanism)
A little trick to access SD card from your Ubuntu:
1. Install “SwiFTP” from Market (freeware)
2. Set up FTP server using SwiFTP
3. In Ubuntu, “Places → Connect to Server” then:
Service type: FTP (with login)
Server: localhost
Port: (port number specified in SwiFTP, default is 2121)
Folder: /
User Name: (user name specified in SwiFTP)
Then press “Connect” and enter your password specified in SwiFTP. Now feel free to access your phone's file system!
This is a rough guide for the time being, I will hopefully continue work on this in the future (time permitting of course)
ENJOY!! ​
Thank you Lee!
I'll try this ASAP.
we needed a DHD specific guide written by a reliable and trusted member.
YEAH Lee! THANKS!
Downloading atm, but only one seed, guess its you? But 2.0kb/s and 3 days...hm...
Looking good so far, hoepfully this works, running linux is far better than android!!!
Yeah man this looks pretty cool!
It's cool, but a little fiddly..
Would recommend grabbing virtual tracked from the market, makes it a little easier.. I'm egarly awaiting the new .4 image, ill keep yall posted if I hear anything
P s... please help seed the torrent
Sent from my LeeDrOiD loaded HTC Desire HD
Il be playing with the honeycomb Rom next
Sent from my LeeDrOiD loaded HTC Desire HD
LeeDroid said:
Il be playing with the honeycomb Rom next
Sent from my LeeDrOiD loaded HTC Desire HD
Click to expand...
Click to collapse
That'll be great!! greater than great.
your awesome mate!
Nice. Was just downloading something like this from Demonoid.
LeeDroid said:
Il be playing with the honeycomb Rom next
Sent from my LeeDrOiD loaded HTC Desire HD
Click to expand...
Click to collapse
THAT... would be totally awesome.
awesome lee i really wanted to try this but i dont have 3gb free need to save for a 16gb damn
downloading now will seed as soon as it has
finished downloading now seeding not to fast though 5kb/s
A5J4DX said:
awesome lee i really wanted to try this but i dont have 3gb free need to save for a 16gb damn
Click to expand...
Click to collapse
same here.. bummer.
Yes! Downloading using swarm on my phone now
Hm, weird...everything is fine until i write bootubuntu after i get a wall of text with many errors consisting of "Device or resource busy" for example "mount: mounting /dev/block/loop1 on /data/local/ubuntu failed: device or resource busy"
or
mounting sysfs on /data/local/ubuntu/sys failed: no such file or directory
any ideea?
You have apps installed to the fat 32 partition as per FroYo A2SD.
Go to settings - applications - manage applications - select the sd tab, and move them to internal
Sent from my LeeDrOiD loaded HTC Desire HD
Damn you are right, my bad for not reading everything, was too excited , thanks.
robE9 said:
Damn you are right, my bad for not reading everything, was too excited , thanks.
Click to expand...
Click to collapse
ordered a 16micro sd card today and i see this
now the delivery date seems very far i really want to try ubuntu this is another sucker punch to the iphone user
sounds like fun downloading just now will seed with my seedbox
"exit" wont work. Your file is named "exitu"
one other question...i had ubuntu launched, but then i messed up with the CTRL and so on, tried to "exit" ubuntu, rebootet phone, but now i cant "bootubuntu" gives me the error " cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexistent" and two other directories

Linux Installer

There is this linux installer app in the market (link).
As it needs root, and I haven't done it yet, is there anyone here that have tried it??
Thanks,
Thanks, gonna give it a try later.
What about this?
Oh crap, I completely forgot.. Got mixed up with other stuff
Gonna put a reminder.
EDIT: Done. Screenshots attached, one for the standard terminal, the other from aptitude, before updating packages.
Anyone else tried this? I'm having some issues with getting mysql up and running. If anyone is asking well, I'm trying to transform my phone into a server and host my own site
Just because I CAN! *evil laughter*
It seems we now have a computer much more than a smartphone...
Maybe it's time to root to test this.
If it has aircrack-ng then it will worth the work.
Managed to connect via SSH from PC. Still haven't looked into the MySQL issues though.
I finally unbootlocked and rooted my ChaCha and installed this.
I installed Debian, and I'm ready to start testing things.
I installed stable but manually upgraded to testing. But I couldn't setup a SSH server.
Where did you got from??
What do you have in your sources.list?
Update apt from the Distribution Manager and afterwards:
Code:
apt-get check
apt-get update
apt-get upgrade
apt-get install ssh
I still couldn't get MySQL server 5.1 up and running; I have a strange feeling there's something wrong with the distribution, as I've just installed it on my ubuntu box without any errors.
Can you give it a try?
Code:
apt-get install mysql-server-5.1
It should print out something about package not configured yet at some point.
EDIT: Forgot to add
Code:
apt-get install openssh-server
Start the ssh server with
Code:
/usr/sbin/sshd
with "sshd" only you'll get the following error:
Code:
sshd re-exec requires execution with absolute path
Afaik, the sshd $PATH is defined wrong for the service so that's why running it simply with sshd won't work.
Test the functionality afterwards with:
Code:
ssh localhost
Forgot to add the info you requested for sources.list:
Code:
deb http://ftp.debian.org/debian squeeze main non-free
deb-src http://ftp.debian.org/debian squeeze main non-free
deb http://ftp.debian.org/debian squeeze/squeeze main non-free
deb-src http://ftp.debian.org/debian squeeze/squeeze main non-free
Should be the same though I think. What's yours?
Ok. I'll try that.
I already installed psmisc so I could try the lsdev command.
But as it uses /proc and /dev folders, and none of them are in the chroot, they are useless...
But I will try to somehow link from inside the chroot to the actual folders, to try if they work.
EDIT:
I tried mysql server, and I had an error just in the very final stage of setup.
Is this the same for you??
someone got succes?
tokafondo said:
EDIT:
I tried mysql server, and I had an error just in the very final stage of setup.
Is this the same for you??
Click to expand...
Click to collapse
Yep, it's the same.
I'm thinking that mysql 5.0 is already installed and when trying to upgrade to 5.1 a know issue is occurring, where my.cnf does not contain a skip-bdb command at the end, but it doesn't seem to work either; also tried chmod a+r on the my.cnf file as permissions were not granted properly on my device.
@dr. - success on what?
sorry i meant to boot gnome or lxde on htc chacha
dr.ilijevski said:
sorry i meant to boot gnome or lxde on htc chacha
Click to expand...
Click to collapse
Modifying the init scripts in the boot partition, I think it could be done.
Take a look here to have the information that could lead you to do it:
http://www.androidenea.com/2009/06/android-boot-process-from-power-on.html
http://www.androidenea.com/2009/08/init-process-and-initrc.html
Well, that is really the tip of the iceberg, because you would have then to port the X.org server, searching/porting/writing for the drivers for it to work, and finding a desktop enviroment that would run smoothly and with enough room in such a small screen with such a low resolution.
And not only that... What about the radio? Not the FM radio, but the GSM or CDMA radio that allows you to make voice calls and have mobile internet.
Funny thing is that if you check the market app screenshots, there is a screenshot of a running deb dist, apparently on a device.
Alex C. said:
Funny thing is that if you check the market app screenshots, there is a screenshot of a running deb dist, apparently on a device.
Click to expand...
Click to collapse
I sent the developer a couple of questions and had no answer...
This was a kind of experiment, but I think it won't last that much in my ChaCha, because it has no practical use -- for me.
Hmm, got a few extras:
mysqld (the mysql server's main program)
[ERROR]: Can't create IP socket: Permission denied
[ERROR]: Aborting.
So the ld ain't turning on since it has no "permission" to open up sockets, therefore both the mysql-server and the mysql-server-5.1 won't be able to install, since both of them require the mysqld to start first.
Addendum: missing socket file mysqld.sock in /var/run/mysqld/ seems to be the cause of this problem.
Alex C. said:
Yep, it's the same.
I'm thinking that mysql 5.0 is already installed and when trying to upgrade to 5.1 a know issue is occurring, where my.cnf does not contain a skip-bdb command at the end, but it doesn't seem to work either; also tried chmod a+r on the my.cnf file as permissions were not granted properly on my device.
@dr. - success on what?
Click to expand...
Click to collapse
Hi, reviving this question after all this time, aka message in a bottle out to anyone....
so, the stage: debian wheezy fully upgraded in a chroot jail on a nexus 7. ssh, lxde, vnc, zsh, nodejs, erlang, more stuff installed, no problems.
tried to install mysql-server 5.5, got the exact same error as in the image above. drilled a little bit, after the failed install, i ran this:
[1] % sudo mysqld --console --verbose &
[1] 18920
(ssh)[email protected] : ~
[0] % 130415 15:34:48 [Note] Plugin 'FEDERATED' is disabled.
130415 15:34:48 InnoDB: The InnoDB memory heap is disabled
130415 15:34:48 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130415 15:34:48 InnoDB: Compressed tables use zlib 1.2.7
130415 15:34:48 InnoDB: Using Linux native AIO
130415 15:34:48 InnoDB: Initializing buffer pool, size = 128.0M
130415 15:34:48 InnoDB: Completed initialization of buffer pool
130415 15:34:48 InnoDB: highest supported file format is Barracuda.
130415 15:34:48 InnoDB: Waiting for the background threads to start
130415 15:34:49 InnoDB: 5.5.30 started; log sequence number 1595675
130415 15:34:49 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
130415 15:34:49 [Note] - '0.0.0.0' resolves to '0.0.0.0';
130415 15:34:49 [Note] Server socket created on IP: '0.0.0.0'.
130415 15:34:49 [ERROR] mysqld: Can't create/write to file '/home/deimosaffair/mysqlhome/var/run/my
sqld/mysqld.pid' (Errcode: 2)
130415 15:34:49 [ERROR] Can't start server: can't create PID file: No such file or directory
note the two last lines. it seems that there are no permissions somehow to create the PID file. i edited the my.cnf file to point to that dir, tried to change the user from "mysql" to "root", nothing worked.
the dir is valid and has wide open access (i made chmod a+rw on it just to be sure), so the permissions should be ok.
the wall is starting to be bloodied from so much headbumping. any ideas in this?
dr.ilijevski said:
someone got succes?
Click to expand...
Click to collapse
Yes, I sincerely apologize for kicking an old thread but I ran into this issue today and nobody seemed to know the answer.
The fix is:
adduser mysql AID_INET
It adds the mysql user to the AID_INET group. After this MySQLd will start just fine.

[GUIDE][CWM] WLAN Calibration and MAC address fix [CM]

This is for CyanogenMod and its derivates. Stock ROMs should be fine.
If you are inrested in editing your MAC address, there's a guide linked below. I don't know if stock ROMs will automcatically correct the MAC. In this case I think you have to edit /efs/imei/.nvmac.info (read more something about /efs before playing with it!)
Click to expand...
Click to collapse
The easiest way to do the calibration is:
Turn wifi ON and run
Code:
tiwlan_plts -n
This is the script called from a oneshot init service in my init.latona.rc if someone is interested. It will calibrate and correct the MAC automatically, even after a data wipe:
Code:
#!/system/bin/sh
if [ ! -f /data/misc/wifi/nvs_map.bin ]; then
insmod /system/lib/modules/tiwlan_drv.ko
/system/bin/tiwlan_loader -i /system/etc/wifi/tiwlan.ini -f /system/etc/wifi/firmware.bin
/system/bin/tiwlan_plts -n
rmmod tiwlan_drv
fi
____________________________________
Older method
Click to expand...
Click to collapse
UPDATE: I found an easy way to get the real MAC.
Download the apk attached or run the following commands:
Code:
su
mount -o remount,rw /system
ln -s /system/lib/modules/tiwlan_drv.ko /system/etc/wifi/tiwlan_drv.ko
#Make sure wifi is off
./mfgloader -l #Take the binary from a stock ROM
./mfgloader -u
rm /system/etc/wifi/tiwlan_drv.ko
mount -o remount,ro /system
After that your MAC address shoud begin with D0:C1:B1 and not 08:00:28.
To see your current MAC: System Settings > About phone > Status (turn wifi on)
Click to expand...
Click to collapse
____________________________________
This is the first post with some more informations about the calibration
Click to expand...
Click to collapse
While I was reading some logs, I noticed these lines
Code:
TIWLAN: 1089.979242: Starting to process NVS...
TIWLAN: 1089.983698: No Nvs, Setting default MAC address
TIWLAN: 1089.989007: pHwInit->uEEPROMCurLen: 1c
TIWLAN: 1089.993462: ERROR: If you are not calibating the device, you will soon get errors !!!
...
TIWLAN: 1094.726827: Station ID : 08-00-28-12-03-58
...
You can see that the device is not calibrated and that the default MAC address is assigned.
Each device should have a unique MAC address, two devices with the same MAC address in the same network will give problems.
________
UPDATE
I made two flashable files:
wlan_calibration.zip will only do the calibration
wlan_calibration_rand.zip will do the calibration and will randomize the last three octets of the address
Click to expand...
Click to collapse
If you still want to do it on your own, here the guide:
_______________
WLAN Calibration
Here the steps you need to follow (taken from: WLAN Calibration):
1) Turn wifi off
2) From ADB/terminal emulator run the following commands [1]:
Code:
$ su
# cd /data/misc/wifi
# insmod /system/lib/modules/tiwlan_drv.ko
# start wlan_loader
# ifconfig tiwlan0 up
# tiwlan_cu -b
/ w p 1 l 2 f 2
/ t b v 21
/ t b t 1 0 0 0 0 0 0 0
/ q
# rmmod tiwlan_drv
This will create this file: /data/misc/wifi/nvs_map.bin. If it's not there, you did something wrong.
After that you should not get the error while turning wifi ON.
________
MAC address fix
Even after the calibration, you'll still have the default MAC address (Station ID : 08-00-28-12-03-58). But no problem, you can 'easly' change it: Editing the MAC Address.
You need to get the newly created /data/misc/wifi/nvs_map.bin and edit it with an hex editor as described in the guide linked above.
I still don't know if the calibration will improve anything, but it surely won't hurt:
For optimal Wi-Fi performance it is mandatory to calibrate the Wi-Fi hardware
Click to expand...
Click to collapse
NOTE: nvs_map.bin is in /data, so if you do a factory reset you have to do this again.
___
[1]
ADB: System settings > Developers options (ON) > Root access > Apps and ADB
Wow...good solution buddy. I think u shouldpost this in development thread. People dont look much in general thread.
this should be added to the cm9/10 instalation .zip file
I did flash the zip file, ran the other commands thru terminal and see the file /data/misc/wifi/nvs_map.bin.
I don't understand the next step to be done.
I cannot open the bin file using hexeditor, I gave it root access.
And, in case i open it what mac address should i use? Is some address hard coded to each phone?
Hetalk said:
I did flash the zip file, ran the other commands thru terminal and see the file /data/misc/wifi/nvs_map.bin.
I don't understand the next step to be done.
I cannot open the bin file using hexeditor, I gave it root access.
And, in case i open it what mac address should i use? Is some address hard coded to each phone?
Click to expand...
Click to collapse
I don't know how MAC are assigned, I simply randomized the last part of the address (I kept the first part: 80:00:28).
Anyway I just uploaded a new zip file to make things even simpler. It will automatically randomize the last four three groups. If you want to use it, you need to delete /data/misc/wifi/nvs_map.bin first. EDIT: I changed the script, now you can do the calibration without removing the file.
Anyway I don't know what's wrong with your editor, I did it from my computer.
I tried using hex editor from play store.
I'll try the new zip tomorrow..
As I wrote in the OP, today I found the way to get the original MAC.
I don't know what is needed to make the commands work while in recovery (services needed etc...), so I made a dummy app (I simply adapted the code of an app I made few days ago to do a similar thing).
No fancy icon (it's the default one), no checks, ugly etc... It simply does the job (my Java knowledge is almost zero)
EDIT:
I almost forgot to say that the real MAC is in /efs/imei/.nvmac.info. It was the first place where I looked, but it's an hidden file an I didn't see at first.
bam....
Dear @loSconosciuto
I following this guide to solve the problem that actually I have in my phone with CM 11. In the Status menu, "non available" appears in my device WIFI mac. I following the guide step by step and I couldn't change it.
Could you help me?
carniman78 said:
Dear @loSconosciuto
I following this guide to solve the problem that actually I have in my phone with CM 11. In the Status menu, "non available" appears in my device WIFI mac. I following the guide step by step and I couldn't change it.
Could you help me?
Click to expand...
Click to collapse
This guide is for the kernel 2.6.35 which uses a completely different driver, it's quite an old thread. The calibration is done in a different way and I don't think that's the problem.
I'm not using CM11, so it's quite hard for me to know exactly what's wrong.
loSconosciuto said:
This guide is for the kernel 2.6.35 which uses a completely different driver, it's quite an old thread. The calibration is done in a different way and I don't think that's the problem.
I'm not using CM11, so it's quite hard for me to know exactly what's wrong.
Click to expand...
Click to collapse
Ok, sir. Thank you for your help.
Hi there
trying to fix Samsung s4 active i9295 wifi problem. at least got the MAC address showing (was 02:lots of zeroes) still unable to start wifi. is there anything else I should search for? tiwlan_drv.ko was not there so I downloaded it sepparately. do I need some more modules to be added? using stock 4 file engineering FW Android 5.0.1

Categories

Resources