How To Tethering - New Improved with Gui - Open Sourced - G1 Android Development

Thanks to Harry_m!
The project is hosted on google-codes:
http://code.google.com/p/android-wifi-tether/
(Screenshot available)
http://forum.xda-developers.com/showthread.php?t=486767
Can one of the admins remove my tether sticky and make this thread a sticky...
Thanks

wow...thx to all involved in this -- looks great

Cool little app. Just installed and it works great. Wish there was an easy way to change the SSID.

Remove old
i installed this the other day and this is great.
Works 100% perfect.
the only question is how do i remove the old Tether1.6
I have been looking around but i cant figure out how to uninstall/remove the old setup
Thanks again

Great job. Open source ftw

Awesome ap and well done. Thanks!!!

To echo memphis, will installing this conflict in any way with tether 1.6? Does this overwrite Tether 1.6?

working flawlessly
now, if only T mobile would roll out 3g in my market
q1 2009, my foot

I just deleted tether 1.6 from my sd & installed this tether and it works flawlessly, no conflicts at all.

Awesome. Tethering can't get easier than this.

This is brilliant. Getting the best transfer speeds for any tethering program yet. Getting about 1200kbps over 3g!

yes thats work great man good job

Mine doesnt work
Mine does not work
"Your Phone is currently in an unknown state - try to reboot"
"Configuring iptables...
Could not open socke to kernel:
Operation not permitted
Starting dnsmasq ...
dnsmasq: failed to bind DHCP server socket:
Permission denied
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Now because I'm a neat freak, I have to ask:
How does one go about "uninstalling" the tetherv1.6 package?

I have to chime in here just to emphasize how amazing this app is. It includes security and it's free! I can't see this app getting any better than it already is!!!
Many thanks to the developer for this amazing app =)

netbums said:
Mine does not work
"Your Phone is currently in an unknown state - try to reboot"
"Configuring iptables...
Could not open socke to kernel:
Operation not permitted
Starting dnsmasq ...
dnsmasq: failed to bind DHCP server socket:
Permission denied
Click to expand...
Click to collapse
Are you using a mod to run application from sd-card? If yes, this might be the problem ...
Take a look here:
http://forum.xda-developers.com/showthread.php?p=3388491#post3388491
and here:
http://forum.xda-developers.com/showthread.php?p=3389170#post3389170
Harry

echoing others, is it necessary to uninstall tether1.6, and if so how? thx

rjlan82 said:
echoing others, is it necessary to uninstall tether1.6, and if so how? thx
Click to expand...
Click to collapse
You can just leave it, or manually delete each of the files...
From a terminal session (adb shell or terminal on the phone) type:
su
rm /data/local/dnsmasq.conf
rm /data/local/dnsmasq.conf-secure
rm /data/local/dnsmasq.leases
rm /data/local/tiwlan.ini
rm /data/local/bin/tether
rm /data/local/bin/iptables
rm /data/local/bin/dnsmasq
There ya go...

works great! thanks

parrothd said:
You can just leave it, or manually delete each of the files...
From a terminal session (adb shell or terminal on the phone) type:
su
rm /data/local/dnsmasq.conf
rm /data/local/dnsmasq.conf-secure
rm /data/local/dnsmasq.leases
rm /data/local/tiwlan.ini
rm /data/local/bin/tether
rm /data/local/bin/iptables
rm /data/local/bin/dnsmasq
There ya go...
Click to expand...
Click to collapse
I still see dnsmasq.pid in that folder. Should I delete? (I also see bin and tmp, don't think those should be deleted correct?)
-----
Nevermind, bin is a folder. Which is now empty. tmp is also an empty folder. The question remains, what to do w/ dnsmasq.pid? It's not hurting anything so far, so I'm not touching.

Related

WiFi Tether Haykuro Test App Info!!! Problems with Unknown State Error...read on.

This version of the app (wifi-tether) works with all the current Haykuro builds
5.0.1Gr3
5.0.1Gr3 apps to sd*
5.0.2Hr3
5.0.2Hr3 apps to sd*
*The only problem is that for the apps to sd version of haykuro's builds, is when you move the cache to the sd card, it causes an unknown state error when you try to start the app.
I was wondering if anyone,seriously anyone could help the few who want to have the wifi tether app with cache to sd.
Please please help me with this one.
If im missing any valuable info. please tell me so i can provide you to help me out.
Thank you.
EDIT!!!
This will fix all your problems :]
http://forum.xda-developers.com/showpost.php?p=3423669&postcount=130
busybox cp -a /system/sd/data/android.tether /data/tether
rm -r /system/sd/data/android.tether
ln -s /data/tether /system/sd/data/android.tether
A quick search showed me:
Please make sure that the "superuser-whitelist" accepts "su" from the wifi-tethering-app "always".
try to reinstall binaries and config-files.
Press [menu], chose "Setup" ... when displaying the setup-screen press [menu] again and chose "(Re)-Install binaries/configs" ...
This will set file-permissions correctly if it's not blocked by the superuser-app.
See *** UPDATE *** [2009-03-31] Wifi Tether for Root Users in Dream applications and games
This screenshot you posted in HTC Sapphire/Vodafone Magic G1 Port message 5796 shows that the wifi-tether app has insufficient rights.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
karloe said:
Please make sure that the "superuser-whitelist" accepts "su" from the wifi-tethering-app "always".
try to reinstall binaries and config-files.
Press [menu], chose "Setup" ... when displaying the setup-screen press [menu] again and chose "(Re)-Install binaries/configs" ...
This will set file-permissions correctly if it's not blocked by the superuser-app.
See *** UPDATE *** [2009-03-31] Wifi Tether for Root Users in Dream applications and games
This screenshot you posted in HTC Sapphire/Vodafone Magic G1 Port message 5796 shows that the wifi-tether app has insufficient rights.
Click to expand...
Click to collapse
i got that image from another post.
i was referring to that image because i had
Setting up firewall rules...
could not open socket to kernel: opperation not permitted.
Starting dnsmasq...
dnsmasq:failed to bind DHCP server scocket;permission denied.
these are the only two which are in red everything else is in green.
these were the only two notices i got when i tried to start it.
and i set the permissions to always.
and i reinstalled the binaries and config files.
so any help more or am i really stuck?
bump found solution to problem :] on 1st post
davidhooper4 said:
i got that image from another post.
i was referring to that image because i had
Setting up firewall rules...
could not open socket to kernel: opperation not permitted.
Starting dnsmasq...
dnsmasq:failed to bind DHCP server scocket;permission denied.
these are the only two which are in red everything else is in green.
these were the only two notices i got when i tried to start it.
and i set the permissions to always.
and i reinstalled the binaries and config files.
so any help more or am i really stuck?
Click to expand...
Click to collapse
I'm having this problem, too, and reinstalling the binaries/config hasn't helped. Any other suggestions?
mlevin said:
I'm having this problem, too, and reinstalling the binaries/config hasn't helped. Any other suggestions?
Click to expand...
Click to collapse
mlevin on my 1st post i have a link to how to fix the problem.
you have apps to sd right?
well in terminal emualtor open it up
then type in
Code:
su
busybox cp -a /system/sd/data/android.tether /data/tether
rm -r /system/sd/data/android.tether
ln -s /data/tether /system/sd/data/android.tether

BootAnimation For CyanogenMod 5.0 for Nexus One

CyanogenMod BootAnimation
How to install
adb shell mount -o rw,remount /dev/block/mtdblock3/system
adb push bootanimation.zip /system/media
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CyanogenMod BootAnimation
http://me-projects.googlecode.com/files/bootanimation.zip
http://www.youtube.com/user/mrjtz100#p/a/u/0/TuUYX8mmE7c
Where's the boot animation link?
all fix now
Looking at the images, it looks like the matrix style text works down properly; however, the cyan logo just sort of bounces around. Haven't installed it, so I might be wrong.
matrix style text works down and the cygen logo is jumping up and down but can fix that
Video for said boot animation incoming, I hopes?
the video is uploading now
pretty damn awesome
you can also push this to: /data/local/bootanimation.zip allowing it to persist after updating or reflashing
instead of pushing it to /system/media/bootanimation.zip
and btw, this one freaking rocks!
rikupw said:
you can also push this to: /data/local/bootanimation.zip allowing it to persist after updating or reflashing
instead of pushing it to /system/media/bootanimation.zip
and btw, this one freaking rocks!
Click to expand...
Click to collapse
Hi mate,
Is that what I think? Patching up the custom boot logo premanently that it won't effect only until a data wipe takes palce?
first step in process failed...please advise
Code:
D:\android\tools>adb shell mount -o rw,remount /dev/block/mtdblock3/system
* daemon not running. starting it now *
* daemon started successfully *
mount: can't find /dev/block/mtdblock3/system in /proc/mounts
nonmindo said:
first step in process failed...please advise
Code:
D:\android\tools>adb shell mount -o rw,remount /dev/block/mtdblock3/system
* daemon not running. starting it now *
* daemon started successfully *
mount: can't find /dev/block/mtdblock3/system in /proc/mounts
Click to expand...
Click to collapse
just type:
adb remount
nice, thanks
I tossed it in /data/local for obvious reasons and it works as advertised.
Very nice.
Is there a backup copy of the original boot animation, so we can revert it back?
deprecate said:
nice, thanks
I tossed it in /data/local for obvious reasons and it works as advertised.
Click to expand...
Click to collapse
Can you please explain the command in terminal?
Thanks ...
//
adb push for it to work
adb remount works just as well and is easier to remember and type.
edit: sorry didn't see it already provided.
Love this boot animation!! Pushed a couple around tonight and this one is my favorite and I will be sticking with it for some time!! Thanks a million!!

Has anyone installed a modified widgetlocker.apk to nexus s?

So I installed widgetlocked from the market and it all runs lovely. However, I wanted to use the Ultralinx mods for it.
I tried a few different ways, extracting it with root explorer. Copying the .apk to my desktop and modding the files there and signing them with signapk, but the modified .apk will not install no matter what I try. It always comes up with 'Application not installed'.
I am a bit newb at this I admit but have installed other apks just fine.
Any help appreciated
Figured it out. HAD to use adb. No other method would I tried would work, but that did first time!
I was trying to PM you, but they weren't going through...
Anyway, is there any chance you could tell me how you did this? I've tried every other method and nothing has happened. Whether it's because I own a Nexus S or a Mac, I don't know, but it's pretty hard (though I am new to this).
Regards,
Jon.
I usually use WidgetLocker, would you mind explaining what the modded one is? Thanks
The modded version I mention is UltraLinx's lovely unlock slider mod as in these pics.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Both available from here: http://www.theultralinx.com
As I mentioned the only method I could get to work was using ADB and Ultralinx actually has a youtube video on his site about how to do it, but I will list it here anyway.
Your phone needs to be rooted to do any of this...
Install WL as normal from market.
Copy the file com.teslacoilsw.widgetlocker-1.apk from data/app to /sdcard somewhere using astro or rootexplorer etc.
Then move that file to your computer desktop into the /sdk/tools dir where adb.exe is.
Add the WL modded files from Ultralinx to that .apk in the /res/drawable-hdpi/ directory using winrar or whatever program you use to open/mod .apk files. Make sure it has overwritten the original files!
Fire up a command promt and change dir to where adb.exe is sdk/tools or whatever.
type these next couple of lines and enter after each one;
abd shell mount /system
adb push com.teslacoilsw.widgetlocker-1.apk /system/app
Then reboot your phone and that should be it done. You can select the new slider from WL options (it modded the iphone slider so select that).
As I say, this is the only way I could get the thing to work.
Coming from windows mobile this whole abd thing of modding stuff seemed a right pain in the arse but I guess like anything once you have done it once you know it for next time and I think this mod is worth it.
Hi,
thanks for the instructions!
I've encountered an issue and would appreciate if you could help. So i follow your steps, however i get the following issue after the push command:
failed to copy 'com.teslacoilsw.widgetlocker-1.apk' to '/system/app/com.teslacoilsw.widgetlocker-1.apk': Read-only file system
I'll really appreciate if you could help, thanks!
Update: So i managed to push it successfully. Problem was I needed to enter the command adb remount beforehand in order for it to let me write.
sage: mount [-r] [-w] [-o options] [-t type] device directory
Red-Teams-MacBook-Prolatform-tools cloakroom$ adb push com.teslacoilsw.widgetlocker-1.apk /system/app
3158 KB/s (1202848 bytes in 0.371s)
However, even after rebooting the phone I am still stuck with the old iphone slider and not the one made by ultralinx. Any thoughts as to why this is?
Do i have to uninstall widgetlocker from my phone before i pushed the modded apk?

[HOW-TO] ADB for Dummies(How-To Learner's Guide)

Hi,
My name is Joe aka AndroidSamurai..
I have recently made some business acquisitions and will be starting up a new Android Learning series.. Stay tuned for updates..
Thanks again,
AndroidSamurai
Android4D Inc
I thought some people might appreciate the instructions to get adb working over WiFi too and this seems like a good place to put it:
Type this in your terminal emulator on your Android device:
Code:
setprop service.adb.tcp.port 5555
stop adbd
start adbd
Then check it with this:
Code:
getprop service.adb.tcp.port
If it doesn't return "5555" and you're rooted, then do a "su" command and try again. You shouldn't need to be rooted for adb over wifi to work, but I haven't tried every device:
Code:
su
setprop service.adb.tcp.port 5555
stop adbd
start adbd
Then check it:
Code:
getprop service.adb.tcp.port
When it returns "5555" then run this command in the terminal (or command prompt) on your computer:
Code:
adb connect 192.168.0.151
(Obviously enter your device's IP address. You must be on the same network as the computer that has the Android SDK installed.)
And you should be connected!
To tell the Android device to listen for adb on the USB port instead of TCP again, enter this into the terminal emulator:
Code:
setprop service.adb.tcp.port -1
stop adbd
start adbd
(again, might need "su" on your device)
Or just reboot the Android device.
And to tell your computer to use USB for adb instead of TCP:
Code:
adb usb
Now, keep in mind, when your Android device is listening for adb via WiFi, it's wide open... anybody that that the Android SDK installed and knows your device's IP address can access it without a password.
HTH,
Billy
PS - Your
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
are appreciated!
Updating Soon!
Pleased to announce that I will be updating my Full guide within the next few business days along with an E-book version and a Video Guide...
If my guide has helped you please help fund my college, donate.
Thanks for your help guys...
Moved My Guide!
Hey All,
I am pleased to announce that an updated version of my guide and soon to be All in one android E-book is on my website...
Link is in the first post, thanks to all at XDA over the yrs that have used my guide...
Cool, thanks. I plan on using this pretty soon. I really need to get better.
Sent from my SAMSUNG-SGH-I897 using XDA App
Moved my guide!
Hey All,
Sorry to inform you, but my guide has been moved to another site... I can not advertise because it is just not moral...
Click the link to take you to my new guide...
had a question
hi i was wondering if u could help with with a problem im having...i flashed my Tp2 over to boost and it was working fine..except for the web..so i changed the ppp cong and it rebooted..now i have a blue circle with a line through it..and when i try to connect i get a message that says" The process com.android phone has stopped unexpectedly. Please try again"....and theres no longer a connection for the usb in my contron planel......just tossing it out there to see if u had any ideas..thanks S
Updated..
My guide is now even more userfriendly...
Had to make a few revision changes to simplify the process...

Cracking android passwords

I am ultra noob, so can anyone take a look at the following link for me.
And post a detailed guide.
https://www.pentestpartners.com/security-blog/cracking-android-passwords-a-how-to/
Thanks
P.S. I need this for my own phone and not for illegal stuff.
If your phone's Android is rooted
&
If your phone can get accessed by means of ADB
then
you can open Android's SQLite database named /data/system/locksettings.db via ADB
Code:
adb devices
adb shell
mount -t auto -o rw,remount /data/system
sqlite3 /data/system/locksettings.db
and do the database query as mentioned in the article linked to.
@jwoegerbauer this is what it shows
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​Some things to mention.
1.My phone is locked.
2.By default it goes to USB tethering mode upon connecting to my PC(I changed the setting in DEV mode)
3. It is rooted
4. It has orange fox recovery installed
5. Again I am a noob right now (won't remain that way for too long) and need a tutorial of some kind to do this successfully.
6. I do not know SQL and so how to use it either, and for that matter Hashcat too.
The blog still remains difficult for me.
Thanks again
Line
Code:
mount -t auto -o rw,remount /data/system
should read as
Code:
mount -t auto -o rw,remount /data
Nothing
I see today is not my best day.
This should work
Code:
adb devices
adb shell
su -c 'mount -t auto -o rw,remount /data'
sqlite3 /data/system/locksettings.db
Still not working @jwoegerbauer
Is there any other way such as doing all this in recovery mode or using terminal in orange fox
or adb sidelode or something.
sa1 said:
View attachment 5307221
Click to expand...
Click to collapse
My guess is that your phone 's Android isn't properly rooted.
@jwoegerbauer what does properly rooted mean. All apps that require root works properly.
SubwayChamp said : If you are in Android 10 system can't be mounted the suggested way, you also said that device is locked but is rooted (?). Orange Fox recovery has inbuilt an add-on feature that can do that.
Here : https://forum.xda-developers.com/t/help-thread-ask-any-question-noob-friendly.2257421/post-85003273
sa1 said:
@jwoegerbauer what does properly rooted mean. All apps that require root works properly.
Click to expand...
Click to collapse
It's not interesting here whether apps that require root work or not. In your case it is only important whether SU-binary can be found by the system.
Anyway:
Some newer Android builds require the following additional ADB commands to be run first to disable Android's AVB-lock
Code:
adb root
adb disable-verity
adb reboot
adb wait-for-device
Try this. Then run commands as listed above.
FYI: I no longer participate this thread. Have a nice day.
This is what it shows

Categories

Resources