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...
Related
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.
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
Hi,
I'm new here, so I don't know how to put this...
I have a HTC Legend 2.2 Froyo with HBoot 1.01 and I want to downgrade and root it so I can put CM7 on it. Can anyone tell me how to do this?
Thanks!
DM779
@DMasta779 read this ---> [GUIDE] How To Root HBOOT 1.01
i4o said:
@DMasta779 read this ---> [GUIDE] How To Root HBOOT 1.01
Click to expand...
Click to collapse
Thanks, but at the first step, where I type ''adb shell'' it
says:''adb: permission denied''.
What do I have to do?
On linux, make sure adb is executable. On windows, make sure you run cmd as an administrator
Help?
I always did it on my phone with Terminal Emulator(Temprooted). When I type in ''adb shell'' it gives ''adb: permission denied''. When I try it on my PC(Windows) With only charge and USB debugging on, adb doesn't find my phone.(This is also in fastboot mode)
It gives: ''error: device not found''. What on earth am I doing wrong?
Adb isn't executed on the phone, it's on the pc. The phone should be running normally when you run it (with usb debugging enabled)
Also install htc sync to get the correct drivers
Rehash: start the phone normally. Ensure usb debugging is enabled. Plug the gizmo into your pc. Run adb shell in the command prompt as administrator
Sent from my GT-P1000 using XDA App
http ://i55.tinypic.com/f35a2q.png
This is where I get stucked right now. Anyone?
(delete the space in the URL)
The things that've deleted, are the CID's.
DMasta779 said:
http ://i55.tinypic.com/f35a2q.png
This is where I get stucked right now. Anyone?
(delete the space in the URL)
The things that've deleted, are the CID's.
Click to expand...
Click to collapse
Adb is not a valid binary on the phone.
When you issue adb shell you're dropped in to the shell on the phone. Any commands entered there execute on the phone. Type exit to get out of the shell before executing the push commands
Sent from my GT-P1000 using XDA App
Oh OK, I see, but when I type in just ''push goldcard.img /data/local/'' after adb shell, it says: ''push: permission denied''. (running as admin in windows and temprooted phone)
Exit out of the phone's shell, them the command is
Code:
adb push goldcard.img /data/local
{
"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"
}
I think it didn't push the file completely. I get this every time when I am trying to push something.
EDIT: I did ignore it and advanced to the next steps and by this command I get stuck:
...and backup your current misc partition:
Code:
cat /dev/mtd/mtd0 > /sdcard/misc_backup.img
Click to expand...
Click to collapse
Click to expand...
Click to collapse
I can't backup/write the misc
im confused about this o.0
{
"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"
}
Head over to the development section and help us out with unlocking all the s-on devices
Sent from my HTC Sensation 4G using XDA Premium App
Are you trying to root your phone or what?
@op, check your PM's please.
Holy ****. S-off with 1.17bootloader with the stock bootloader...
I'm envious to say the least, where did this phone come from? Network? Supplier?
Would you mind dumping your hboot and uploading it to a dropbox/upload site?
Code:
cd c:\adb
adb shell
dd if=/dev/block/mmcblk0p12 of=/sdcard/hboot.img
It would be useful to have this hboot version.
Evil-Dragon said:
I'm envious to say the least, where did this phone come from? Network? Supplier?
Click to expand...
Click to collapse
i got my sensation from HTC before launch and i get off work at 6 so ill try and help after that
Any luck pulling that HBOOT?
Evil-Dragon said:
Would you mind dumping your hboot and uploading it to a dropbox/upload site?
Code:
cd c:\adb
adb shell
dd if=/dev/block/mmcblk0p12 of=/sdcard/hboot.img
It would be useful to have this hboot version.
Click to expand...
Click to collapse
yeah but i dont know why i didnt reaply back to this. sorry haha.
it didnt work. it said no device found then some other error
iPrevailed YDG said:
it didnt work. it said no device found then some other error
Click to expand...
Click to collapse
You'll need to install the android sdk, download the google usb drivers from it and get your phone set up as a ADB Composite Interface. Then make sure USB debugging is enabled on your phone and you'll be able to run the above commands.
Evil-Dragon said:
You'll need to install the android sdk, download the google usb drivers from it and get your phone set up as a ADB Composite Interface. Then make sure USB debugging is enabled on your phone and you'll be able to run the above commands.
Click to expand...
Click to collapse
"Permission not allowed"
iPrevailed YDG said:
"Permission not allowed"
Click to expand...
Click to collapse
You shouldn't be getting a root denial from that command. It looks like HTC *really* bolted it down. Out of curiosity, have you tried downloading Superuser from market? If you have an unlocked boot loader, there is a very very VERY slight chance that you might be able to su out of the box. Doubtful but its worth a try.
just updated everything and got this also SU didnt work ]:
Code:
C:\Users\********>cd c:\sdk\tools
c:\SDK\tools>adb devices
List of devices attached
HT15HT****** device
c:\SDK\tools>adb shell
$ dd if=/dev/block/mmcblk0p12 of=/sdcard/hboot.img
dd if=/dev/block/mmcblk0p12 of=/sdcard/hboot.img
/dev/block/mmcblk0p12: cannot open for read: Permission denied
$
Randomly, out of no where, started getting "Service Provider Update" dialog about install software for my sim. Accepting it throws it into recovery with an error.
What's the package for it so I can disable it?
EDIT: After messing around with ADB, isolated the package: com.sec.android.AutoPreconfig.
A couple users had this issue in the T-mobile and Verizon forums, as well as I on U firmware, so hopefully this'll help those who encounter this issue with root.
EDIT:
peekywhop2 said:
The actual location of the file is /system/priv-app/AutoPreconfig/ and thats where the AutoPreconfig.apk file is located to be deleted.
Click to expand...
Click to collapse
Where is this package located ? I would greatly appreciate any help. Thank you!
TehPirate_ said:
Randomly, out of no where, started getting "Service Provider Update" dialog about install software for my sim. Accepting it throws it into recovery with an error.
What's the package for it so I can disable it?
EDIT: After messing around with ADB, isolated the package: com.sec.android.AutoPreconfig.
A couple users had this issue in the T-mobile and Verizon forums, as well as I on U firmware, so hopefully this'll help those who encounter this issue with root.
EDIT:
Click to expand...
Click to collapse
Any chance you can provide instructions on how to disable or delete via adb??
EDIT: Figured it out:
You must be rooted, and then enter adb shell.
Then enter the following commands:
adb shell
su
pm list packages -e | grep 'AutoPreconfig'
pm disable com.sec.android.AutoPreconfig
{
"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"
}
Thank You. I was having this issue for two days.
Thank you so much ! =)
Or just delete the APK file, also stops all the crappy carrier related apps installing
Wired4Fun said:
Any chance you can provide instructions on how to disable or delete via adb??
EDIT: Figured it out:
You must be rooted, and then enter adb shell.
Then enter the following commands:
adb shell
su
pm list packages -e | grep 'AutoPreconfig'
pm disable com.sec.android.AutoPreconfig
Click to expand...
Click to collapse
Good evening friends,
My Note 10 + N95F always when get start, more less 1 min later show me this mensage Service Provider Update.
Do you know If it work in N975F Android 10 ?
If yes, can I use these Comands in Teminal Emulator for Android 10 with ROOT?
adb shell
su
pm list packages -e | grep 'AutoPreconfig'
pm disable com.sec.android.AutoPreconfig
Thank you very Much
The "Service Provider Update" dialog pops up on Android 12 on my Samsung M-127f after installing Magisk. And the AutoPreconfig app isn't on android 12. and i can't uninstall an app that doesn't exist. So what to do then to solve it without going stock?