WiFi Tether Haykuro Test App Info!!! Problems with Unknown State Error...read on. - G1 Android Development

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

Related

How To Tethering - New Improved with Gui - Open Sourced

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.

How to install HTC_IME!

Download and and copy to sd card.
http://www.droiddeveloper.com/hrbuilds/htc_ime.zip
from teminal em
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cp /sdcard/libt9.so /system/lib
# cp /sdcard/HTC_IME.apk /system/app
# reboot
setting Local & text and inputs select touch input
from there u can select compact qwerty or t9 etc
have fun!
http://forum.xda-developers.com/showthread.php?t=515822
Hallo do you need a rooted G1???
Thnaks
heatsha said:
Hallo do you need a rooted G1???
Thnaks
Click to expand...
Click to collapse
Yes...you do....
im not getting the predictive text for the hardware keyboard for some reason .. any suggestions?
Not sure why, but after you open the hardware keyboard you have to touch the "Type to compose box" and then start typing for it to turn on the predictive text.
yea after awhile i realized thats what it was .. i didnt touch it but it works now plus i reflashed a fresh jf adp1.5 so everything is a ok
Works great extra features is always a plus.
Cant get it working. it says "cp: cannot stat '/sdcard/libt9.so' : No such file or directory
Im assuming i have to unpack the zip to my sd??
Yeah you need to put the two files on your S.D.
Yea i just did.....rebooting as we speak...appreciate it
i installed this through the app installer app from the market and it works perfectly
here and easy through the pc
http://forum.xda-developers.com/showpost.php?p=3797462&postcount=196
hey, so i dont post that much but i got a question!
i have tried adb and using terminal through the phone to put on the new ime but they both say
"cp write error: No space left on device"
i know i have space on my phone over 32 mb
im running Haykuros 5.0.2Hr5-A2SD
is it the build im using or any ideas?
thanks!
Hi,
Reboot to get back space and try again.
Ska8erMush said:
hey, so i dont post that much but i got a question!
i have tried adb and using terminal through the phone to put on the new ime but they both say
"cp write error: No space left on device"
i know i have space on my phone over 32 mb
im running Haykuros 5.0.2Hr5-A2SD
is it the build im using or any ideas?
thanks!
Click to expand...
Click to collapse
Make sure you don't have select "Android Keyboard" or the new one wont show up
l3wish said:
Make sure you don't have select "Android Keyboard" or the new one wont show up
Click to expand...
Click to collapse
Where do i find this option?
bestwebs said:
Hi,
Reboot to get back space and try again.
Click to expand...
Click to collapse
so i tried rebooting and it still gives me the same error :c
any other ideas?
mmafighter077 said:
Where do i find this option?
Click to expand...
Click to collapse
Settings--->Locale & Text (Android Keyboard)
{
"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"
}
l3wish said:
Settings--->Locale & Text (Android Keyboard)
Click to expand...
Click to collapse
Haha thanks thats what I thought but nothing happened. hmm.
Do the other settings matter?

[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...

[Temp Fix] Prevent GL2SD and Folder Mount from rebooting

I will not take any responsibility if something bad happens to your phone, or if you have to reflash the stock rom. This method is only tested on my own Xperia M2 D2303 and works fine so far.
If you did use the Towel Root method to gain root access to your M2, you probably tried to install Folder Mount or GL2SD in order to move some of your games and apps to your SD card. Unfortunately they will keep rebooting your phone unless you stop the SONY Ric service. Here is a temporary workaround.
Root your device first and follow the Towel Root guide, including the Super SU installation!
Make sure that your SD card is FAT32 formatted and there is sufficient space left to actually move the app/game
First download and install busybox from the play store and make sure that the install path says /system/xbin
Then also install Script Manager from the play store and open the app.
Tap the three dots on the bottom right of your screen to open the menu and select "New Script"
Give it a convinient name, "ric" will do just fine
Select SM Editor from the list
Type in the following (the first line is already there)
Code:
#!/system/bin/sh
mount -o rw,remount /system
stop ric
busybox pkill -f /sbin/ric
Save the file and close it
Now find the newly created "ric" in the list and tap it.
Make sure you select the "SU" and "Boot" icons and that "is script" is selected. Tap the save button.
{
"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"
}
Reboot and try if it works.
There are couple of "rootfixes" here on XDA that will attempt to fix the problem, but since they are all written for different Xperia devices they won't work. Also, this is NOT the same "halfroot" problem as on other Xperia phones since you can freely remount /system in RW mode, change permissions or delete/edit files inside.
This small script will be usable for all rooted M2's with locked bootloaders, while others will get custom kernels with blocked RIC sooner or later.
Remember: When you are done playing, unmount the folder in GL2SD/FolderMount before connecting the USB cable or stuff may happen.
Let me know if it works for you.
Currently, I'm not playing any large file gaming but Many of friends from M2 group experiencing bootloop when trying to folder mount, I'll let them know for this temp fix and post it here how the outcome.
Sent from my D2305 using XDA Free mobile app
Thank you very much !!!!!
Works very well and now, I can move my obb folder !!!!
Great script
it does'nt work
If I write these commands on terminal it work but the script produce no result.
How to instal busybox if system is read only?
Thanks

What's the package for Service Provider update?

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?

Categories

Resources