Related
Hi everyone,
i'm not sure if this should be posted here or someone did it before.
So please delete this thread if this is a known fact or does not belong here
During experiments with haret on various platforms, i thought about a simple method to get access to the haret console without the need of a host computer.
There's a little trick to make this work:
Every device with some networking features has a loopback IP-address.
The IP of this "network device" is 127.0.0.1 and can be used to access haret console locally, right on your mobile device.
1. Start a version of haret suitable for your mobile device.
2. Tap on the button "Listen for network connection".
3. Start a telnet client on your device (e.g pocketputty).
4. Connect to 127.0.0.1:9999.
That's it!
Works perfect with my hermes and universal, when i'm on the road and need to verify of some internal settings or some register settings
I hope this maybe helpful for anyone.
Cheers,
scholbert
scholbert said:
3. Start a telnet client on your device (e.g pocketputty).
Click to expand...
Click to collapse
you may provide a link to the putty .cab file here
It would be nice to at least tell the ignorant ones wtf is haret...
Hi,
thanks for the remarks!
So here's the pocketputty cab.
Have a look for updates here:
http://www.pocketputty.net/
aiiro said:
It would be nice to at least tell the ignorant ones wtf is haret...
Click to expand...
Click to collapse
O.K. nice entry
HaRET stands for Handheld Reverse Enginering Tool.
Have a look here to get deeply involved:
http://www.handhelds.org/moin/moin.cgi/HaRET
It may be used to debug and do other investigation on settings in the processor's registers, as well as start some binaries other than wince or winmob applications on windows based devices.
One of it's common purpose is to start a linux kernel on your mobile device for the first time (and much more often afterwards ).
At least it's mainly used by linux developers to check out what has to be done and set to make a linux kernel boot on your device!
Best regards,
scholbert
hi guys, i somehow tried a guide to connect tattoo to ad-hoc network... but i am struck at vi editor.... i want to edit .ini file using vi editor....
it says permission denied....
can anyone help me regarding this please.... i am using windows 7 32bit ultimate.....
guide would be appreciable...
Maybe a stupid question, but are your Tattoo rooted?
kaleun said:
Maybe a stupid question, but are your Tattoo rooted?
Click to expand...
Click to collapse
stupid question ???
Click to expand...
Click to collapse
i dont know why u r saying that.... but let me tell u first, my tattoo is rooted & i installed 5faif's 1.5 cooked ROM & its running fine here....
does this rooting solves wifi connection problem which was there before ???
i also have one question for you, now tattoo is rooted, can i transfer files & receive files through bluetooth ???? if yes which is the best software to do so ???
Bluetooth OBEX
Bluetooth OBEX probably doesn't work on 1.6 as there are dependencies issue.
i have made roms with adhoc before...
i put thise 2 files into /system/etc/wifi/
overwrite the 2 others
REBOOT and then it will connect to a PC adhoc ...but only if its a shared pc adhoc
THX
Marsdroid
marsdroid said:
i have made roms with adhoc before...
i put thise 2 files into /system/etc/wifi/
overwrite the 2 others
REBOOT and then it will connect to a PC adhoc ...but only if its a shared pc adhoc
THX
Marsdroid
Click to expand...
Click to collapse
ok i will do that... thanks marsdroid.
marsdroid said:
i have made roms with adhoc before...
i put thise 2 files into /system/etc/wifi/
overwrite the 2 others
REBOOT and then it will connect to a PC adhoc ...but only if its a shared pc adhoc
THX
Marsdroid
Click to expand...
Click to collapse
What did you exactly do?
In tiwlan.ini did you change 0 to 1 for WiFiAdhoc?
In wpa_supplicant.conf you wrote
Code:
network={
ssid="Adhoc"
scan_ssid=1
key_mgmt=NONE
mode=1
}
Is it enough?
5[Strogino] said:
What did you exactly do?
In tiwlan.ini did you change 0 to 1 for WiFiAdhoc?
In wpa_supplicant.conf you wrote
Code:
network={
ssid="Adhoc"
scan_ssid=1
key_mgmt=NONE
mode=1
}
Is it enough?
Click to expand...
Click to collapse
yes, its enough.
How to configure HTC and PC to use Adhoc wireless connection
Hi to everybody,
i'm trying to use the two files Marsdroid uploaded on the forum, i was able to upload them on the system/etc/wifi folder in my HTC Tattoo, but i can't anyway configure the Adhoc connection between PC and HTC.
Do i have to manually set up an open SSID named Adhoc with no security, both on the HTC and on the Windows XP PC?
Are there some configuration to be made to configure correctly the ad hoc connection? IP address etc...?
Thanks in advance for your help,
Andrea
hi..
i have try to copied the downloaded file, but the tattoo says that there's not enough space to paste the file.. fyi, i'm also have rooting the tattoo
any suggestions?
andreabianchi1984 said:
Hi to everybody,
i'm trying to use the two files Marsdroid uploaded on the forum, i was able to upload them on the system/etc/wifi folder in my HTC Tattoo, but i can't anyway configure the Adhoc connection between PC and HTC.
Do i have to manually set up an open SSID named Adhoc with no security, both on the HTC and on the Windows XP PC?
Are there some configuration to be made to configure correctly the ad hoc connection? IP address etc...?
Thanks in advance for your help,
Andrea
Click to expand...
Click to collapse
u have to manually create the PC "Adhoc" shared on xp first...
then if your system is mounted RW u can paste and overwrite the 2 others..
then after 1 reboot.. try turn wifi off/on 2-3 times.. then it connect without any modifications on HTC
THX
hi there..
bcoz i'm a new member, moderator couldn't let me show what have been happen with my tattoo...
i still can't paste a file in /system/etc/wifi although it has been mount R/W. before i'm trying to paste the file, the system shows it still has 9.59MB free, but after paste-ing the file, and error message showing that it has no enough space, and then it shows that the system had no space, a.k.a 0K free space..
can anybody help me?
thanks
kongkows said:
hi there..
bcoz i'm a new member, moderator couldn't let me show what have been happen with my tattoo...
i still can't paste a file in /system/etc/wifi although it has been mount R/W. before i'm trying to paste the file, the system shows it still has 9.59MB free, but after paste-ing the file, and error message showing that it has no enough space, and then it shows that the system had no space, a.k.a 0K free space..
can anybody help me?
thanks
Click to expand...
Click to collapse
U need to chmod something ..and use a boot.img that workd better or just a new Rom.. i use fyodor 0.5 and root explorer , amon ra recovery... start there
...it migth be u need the tattoohack.so module to RW system
Thx
Marsdroid
marsdroid said:
u have to manually create the PC "Adhoc" shared on xp first...
then if your system is mounted RW u can paste and overwrite the 2 others..
then after 1 reboot.. try turn wifi off/on 2-3 times.. then it connect without any modifications on HTC
THX
Click to expand...
Click to collapse
Done all that but:
On phone wifi manager app keeps asking me for password after i choose connect.
It also displays: Channel:1, Security: [IBSS], BSS: ba:88:7d:ed:52:47
It tries to connect for few secs and that goes to Disconnecting... state
On XP connection for
Network Authentication I tried with both Shared and Open and for
Data Encryption tried with both Disabled and WEP.
I even tried
network={
key_mgmt=NONE
}
I rooted phone by using 27-may-r3-modaco-custom-rom-for-tattoo-with-online-kitchen
I know that post is a bit old story but this thing ruined my Saturday. Please help me save what is possible
lol u guys r going threw alot for adhoc why not install connectify and create a wifi hotspot instead?(note connectify only works with windows 7)
SAuRoN92 said:
lol u guys r going threw alot for adhoc why not install connectify and create a wifi hotspot instead?(note connectify only works with windows 7)
Click to expand...
Click to collapse
Im still on XP (because half of my good equipment wont work on win7 (marketing thing)).
I used Conectify on other machine up until I updated conectify to latest version few days ago after which it just wont connect.
I will go and by access point hardware (which wont work on win8
I'll post the setting that should be done in the Xperia X10, so that it Internet share of the notebook (or netbook) through an AD-HOC network. I spent several hours trying, but I did what many say is impossible!
1. The android X10 must be root;
2. Have installed a program that allows editing of files (here I am using the Root Explorer);
3. Create an AD-HOC network in notebok and allow sharing the internet with other devices;
4. Enable Wi-Fi X10;
5. Add Wi-Fi network, the SSID setting the exact name of the AD-HOC network notebook and also the type of security (Open, WEP, WPA/WPA2 PSK, EAP or 802.1x);
6. Disable Wi-Fi X10;
7. Go to the folder "data / misc / wifi", it contains the wpa_supplicant.conf file that should open with text editor (click it and hold, then open up a menu where you have the option to open the file with text editor);
8. Edit and save the file so that it is as follows:
ctrl_interface=DIR=/data/system/
wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="put the name of your AD-HOC network"
scan_ssid=1
key_mgmt=NONE
mode=1
auth_alg=SHARED
wep_key0=PUT YOUR KEY TO SAFETY
frequency=2412
}
9. Go to the folder "system / etc / wifi" (click on "Mount R/W," is at the top right of screen). This folder contains the wpa_supplicant.conf file that should open with text editor (click it and hold, then open up a menu where you have the option to open the file with text editor);
10. Edit and save the file so that it is as follows:
ctrl_interface=wlan0/
wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="put the name of your AD-HOC network"
scan_ssid=1
key_mgmt=NONE
mode=1
auth_alg=SHARED
wep_key0=PUT YOUR KEY TO SAFETY
frequency=2412
}
11.After saving changes, click the file "wpa_supplicant.conf" and hold until the menu of options. Click "Permissions" and leave only the option marked "READ" in Owner, Group and Others, then click OK.
This last step is not executed lose all changes made since the system returns the initial values.
Note: When editing the files "NOT" leave spaces between the function and value. EX: mode=1 (correct), mode = 1 (wrong).
In step 10 in "ctrl_interface=wlan0/" DO NOT confuse "ZERO" with the letter "o". Read "wlan(ZERO)/"
12. Restart X10.
Once restarted just turn on AD-HOC network and turn on the notebook's Wi-Fi X10 that it undertakes to find the ip to connect.
Im gonna test tomorrow, thanks
For those who can't edit the wpa_supplicant.conf file like me, simply copy it to the sdcard and edit it there. then simply copy to the desire locations and then set permissons there.
OBS: don't forget to set root explorer to Remount as R/W!!!
Working 100% for me now. Thanks
someone2kill said:
For those who can't edit the wpa_supplicant.conf file like me, simply copy it to the sdcard and edit it there. then simply copy to the desire locations and then set permissons there.
OBS: don't forget to set root explorer to Remount as R/W!!!
Working 100% for me now. Thanks
Click to expand...
Click to collapse
I have 2.3.3 stock and Vista, it doesnt work, I tried 20 times
Attached files for editing.
Notice how the data should be.
good job!
Cristiano123.
Cristiano123 said:
Attached files for editing.
Notice how the data should be.
good job!
Cristiano123.
Click to expand...
Click to collapse
it doesnt work for me, when wifi is activating, it doesnt see my network...I will buy a cheap wifi router.
Hello "chriscx", you set up your ad hoc network to share the signal with other devices?
Which version of its Windows Vista?
Cristiano123 said:
Hello "chriscx", you set up your ad hoc network to share the signal with other devices?
Which version of its Windows Vista?
Click to expand...
Click to collapse
It's Vista home premium. Wifi Analyzer app sees the network as ad-hoc (for that it's better than gingerbread wifi scanner) but it cannot connect because of android.
I dont know which permissions on data/misc/wifi ?
And also when I edit, it says OPEN SHARED, I deleted OPEN to keep SHARED
Today I tried again, but I overwrite on files, I renamed bak to conf but it didn't work, so I had to restore my system on x10, then I restored my data apps and I've lost superuser rights, it was the mess, man. now my phone is ok.
chriscx said:
I have 2.3.3 stock and Vista, it doesnt work, I tried 20 times
Click to expand...
Click to collapse
For me it's working fine... Just sometimes it show as it can't find the network, but i just have to disable wifi on my xperia x10 and turn it on again, and if i don't have the ad-hoc network created, it tries to connect to it anyway and says "obtaining IP adress from "asdasd"... I use stock android 2.3.3 with Win7 and the android stock wifi software...
I created a ad-hoc network on my notebook with the name "asdasd" and password with WEP security as "1234567890". That's how i have my both files equal. I only see now that they shouldn't be exactly the same as Cristiano123 show in his post. I have both files in system and data like this, try it so maybe it should work. For me it works fine Don't forget to save the stock files!!! Try this for both files:
ctrl_interface=DIR=/data/system/
wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="asdasd"
scan_ssid=1
key_mgmt=NONE
mode=1
auth_alg=SHARED
wep_key0=1234567890
frequency=2412
}
with win 7, you can use connectify or virtual router, some people said it works.
for Vista: I read this:
/system/etc/wifi/tiwlan.ini
WiFiAdhoc = 1
dot11DesiredSSID = MonSSID
dot11DesiredBSSType = 0
http://forum.frandroid.com/topic/14502-tuto-root-connecter-son-android-en-wifi-a-son-pc-en-ad-hoc/
I dont have time to check today
This tutorial from the link (forum.frandroid.com/topic/14502-tuto-root-connecter-son-android-en-wifi-a-son-pc-en-ad-hoc) is for a Motorola Milestone, the tutorial I posted is for the SONY ERICSSON XPERIA X10 !!!!!
It is not necessary to use any third party program to connect to the AD-HOC network, use only the settings of the post.
Are you following the steps correctly?
Cristiano123 said:
This tutorial from the link (forum.frandroid.com/topic/14502-tuto-root-connecter-son-android-en-wifi-a-son-pc-en-ad-hoc) is for a Motorola Milestone, the tutorial I posted is for the SONY ERICSSON XPERIA X10 !!!!!
It is not necessary to use any third party program to connect to the AD-HOC network, use only the settings of the post.
Are you following the steps correctly?
Click to expand...
Click to collapse
yes I did, but I give up
I thought of something:
on GB 2.3.4 ad-hoc connection is included, and we have a dump system for x10, it should be possible to port it.
chriscx said:
I thought of something:
on GB 2.3.4 ad-hoc connection is included, and we have a dump system for x10, it should be possible to port it.
Click to expand...
Click to collapse
Hello!
My GB is 2.3.3, and connects without problems.
Try the 2.3.4, then let it succeed.
Cristiano123 said:
Hello!
My GB is 2.3.3, and connects without problems.
Try the 2.3.4, then let it succeed.
Click to expand...
Click to collapse
im not able to port it, my mom cant stop saying im dumb, anyway, devs are trying to port ICS now...
I dont work xperia arc
I cant adhoc wifi xperia arc :S.and 2.3.4
Good day . thx friend.
sErDArcAAn said:
I dont work xperia arc
I cant adhoc wifi xperia arc :S.and 2.3.4
Good day . thx friend.
Click to expand...
Click to collapse
Good day!
Go until folder "system / etc / wifi" and copy file "wpa_supplicant.conf", place same here as attachment.
Also verify folder "date / misc / wifi" exists file "wpa_supplicant.conf" if yes copy it and place here as attachment with following name "wpa_supplicant.conf2".
I will check the contents of these files and tell you how you will connect to ad-hoc network.
thx for the info...
i will try this later in my xperia x10 froyo..
hi TS..
it always says that obtaining ip address and nothing happen.. i will be disconnected and if turn on again the wifi. it will scan and it will turn into obtain and it will be disconnected. can you help me with this one?
i edited everything as shown on the first post. im using windows7 and oodie's miui rom. It wont connect. Says obtaining ip address that disconects that again obtaining ip addres
Hi everyone!
Yes, I am a noob...
Infos:
I already know that every Android device needs a new "wpa_supplicant" file for connecting to Ad-Hoc Networks e.g. created by my Nokia's JoikuSpot or sth. else...
If there's another option, tell me
Also I've heard about this application:
https://market.android.com/details?id=com.jrummy.root.browserfree
that supposedly can be installed on an unrooted device!
The question:
For me it doesn't make sense, that you can install an app which has access to all files without rooting the tablet at first.
Can I replace the wpa_supplicant without rooting and be happy with tethering 3G from my phone to the tablet?
AdHoc Networks are my only cause for rooting but it seems to be quite difficult, maybe no one did it already with the slate ... I can't find instructions to do it anyway...
Please HELP
Merry X-Mas,
BeenieMan
This guide teaches you to reverse tether your Android phone via WiFi. That is, it allows you to use your Ethernet connection of PC on your Android phone. It is useful for those who do not have WiFi routers and data connection. So if you have unlimited data plan for your computer, why not share the connection with your phone?
I am not the developer of the files supplied
Requirements:-
1.Rooted Phone
2.Wifi enabled Laptop or PC
3.Root explorer or any other application which gives system access
4.File in the attachement
Procedure :-
Phone:
Download Wpa_supplicant.zip and extract "wpa_supplicant" from it, save it on your SD card.
Open Root Explorer, and grant it superuser access when asked for.
Navigate to system -> bin and long press on wpa_supplicant; Select copy, and paste the file into any folder on your SD card.
Now navigate to the file you downloaded, copy it in same way, and paste it back to system -> bin. Note, you might need to mount the system as R/W instead of R/O by pressing a button on the top just before pasting the file.
Reboot.
▬▬Ubuntu (Must work for other Linux Distros too)▬▬:
Open Network Connections
Goto Wireless tab, select add, and set the following:
SSID:
Mode: Ad hoc
Leave other things unchanged, and go to Ipv4 settings tab
Set method to Shared to other computers
Go to Wireless security tab and set Security to WEP 40/128 bit key and set key to a numeric password (or hexadecimal one).
Check the connect automatically box on top of the tabs and press Save.
Your Android phone must now detect this network, and you can establish the connection by using your security key.
▬▬Windows XP, Vista, 7▬▬
Download and Install Connectify from www . connectify.me/download-lite/
Start Connectify Hotspot by giving a name and password to your hotspot and selecting the Ethernet connection to share. Make sure the security type is WEP or Open.
Disable your firewall (Simply adding it to exceptions doesn't work for AVG at least)
Now your phone should be able to see the hotspot and establish the connection using the password set.
Known Issues :
1.Random disconnections (Very less frequency)
2.Disconnections due to screen lock / sleep on laptop
3.For me Security mode does not works
HIT THANKS IF IT WORKED
ENJOY
Download the file here :-
http://db.tt/FdAVwebJ
If someone want mirror then post
Using this method you can download everything
From apps on Play Store to Media hosting websites link
Post your Review
Reserved for future update
@avilove4u
This is not a free solution , you need a wifi Pc (90 % of computers at work don't have wifi) and is too complicate for users.
Use my method : http://forum.xda-developers.com/showthread.php?t=1371345
It's a "One click free solution using USB cable" (no need to install other paids tools)
Not yet perfect, but still under development (I am the developper)
"This is a crap , as u cannot do much !"
Please stay on your thread next time before posting such kind of message on my thread.
No need to press "Thanks".
Ha ha lol !
Ur method has certain limitations :banghead:
Now adays every laptop and PC are wifi enabled !
I heard that connectify doesn't require root phone and we don't need that wpa_suplicant.
kurotsugi said:
I heard that connectify doesn't require root phone and we don't need that wpa_suplicant.
Click to expand...
Click to collapse
You heard correct (in most cases). If your device already supports ad-hoc network connections, then all you'd need to do is set up the hotspot with Connectify (or Virtual Router) and connect to it. Otherwise, this method's for you.
kurotsugi said:
I heard that connectify doesn't require root phone and we don't need that wpa_suplicant.
Click to expand...
Click to collapse
But some armv6 devices need that
Without wpa ad-hoc network wil nt be shown in our device
And to get access to system/bin to replace wpa ur device must be rooted na ?
avilove4u said:
And to get access to system/bin to replace wpa ur device must be rooted na ?
Click to expand...
Click to collapse
that doesn't necessary. we can push the file via update.zip
Yeah that's true too
VERY GOOD AND USEFULL GUIDE!!
I've successfully shared the LAN's network of my notebook (DELL) with my android tablet (Mediacom 852i with OMA ROM JB 4.1.1)
Thank you very much for sharing your information.
capslock66 said:
90 % of computers at work don't have wifi
Click to expand...
Click to collapse
[citation needed]
I'm pretty sure you're completely wrong. You're whole post sounds like it comes from a jealous, whiny little girl. And until you can back up this statement, I'm going to assume you are either a liar or an idiot.
Useful app especially for area with bad reception and no wifi.
Sent from my GT-I9100 using xda app-developers app
Avilove.Cullen said:
And to get access to system/bin to replace wpa ur device must be rooted na ?
Click to expand...
Click to collapse
no rooting, no software installation
http://forum.xda-developers.com/showthread.php?t=1133641
This is sooo useful...thank you.
I think my wifi router had broken a couple of hours ago. But now I can use ad-hoc connection from my PC.
I use Huawei Ideos S7 to connect to my windows XP sp3 wifi.