Is there a way for WiFi-tethering without root access.
I mean before Froyo.
I have HTC Hero 2.1, and frankly, I don't want to root it for security reasons.
I don't know of any way to do wifi tethering without root (before 2.2). You can, however, use bluetooth or a USB cable with PDANet which does not require root.
Here is the ultimate answer:
First, on your phone, install a terminal-emulator from Android market, then run
So, next, you need to cross-compile a privilege-escalation attack for ARM5 (HTC Hero microprocessor). For that, use the RageAgainstTheCage attack made by Sebastian Krahmer of Suse Linux Berlin (in binary only), reverse-engineered here:
Put all, the superuser package, the su program, and the RageAgainstTheCage exploit in the same folder as adb (a program to connect to your android phone from the Android SDK). You need to enable USB-Debugging, and switch of internet sharing.
Next, you transmit the file rageagainstthecage.bin to folder /data/local/tmp on your phone (initially, as normal user, you have write access only to the sdcard and the temp folder, but this is sufficient)
Then you start a shell on your phone:
And change ownership on rageagainstthecage.bin to all
Next, you start rageagainstthecage on your phone as normal user
When the exploit finished, your adb connection should terminate.
If it doesn't type
Now connect again to your phone:
ADB shell now runs with escalated privileges (root). So now, remount the file system so you can write on the system partition.
Now push su and superuser to your phone (remember, you have write access now)
And then change ownership on su to all
Next download and install one of all those free tether apps that require you to root your phone. Start superuser.
Now start your tether app. A popup will appear, which will ask you whether you want to grant this app root access. Say yes, and check remember.
Now switch of your phone and restart.
When it has restarted, everything is back to normal, no more root privileges.
But su is still there and executable for everyone.
So, when logged in, start the wifi tether app.
Since you checked remember in the superuser app, it will use su to switch this application to root, which means it will now run fine, with only the tether app with root privileges :)
BTW, if you use your escalated privileges to export some apk packages for reverse-engineering, you will notice that android lacks the cp command.
You can circumvent that restriction by using cat (copy-cat) instead:
My samsung galaxy s (android 2.1) had a tethering option build in from the start. Settings->wifi-Mobile AP and I only had to check a checkbox for it to work. And it works really great. (not locked here t-mobile/netherlands)
I can't find the application name though.
Easy tether is an awesome app that allows wifi tethering. http://www.androidzoom.com/android_applications/communication/easytether-lite_eoqh.html
You won't like this answer but your carrier may provide the service if you're willing to pay extra for it. Sprint offered a WiFi hotspot feature for $30/month on the Evo pre 2.2. Ridiculous, yes. But may be your only option.
You can get unrevoked, its an app which gives you root access without changing your kernel/flashing a rom/voiding your warrenty, use that on every startup (its automatic) and then get the superuser app. Then you can use the Open Tethering app which requires root access.
Thats the ONLY free way to do wifi tethering. Otherwise pay sprint or your provider the monthly enable tethering fee.
Worst Case Scenario you can tether using EasyTether app. It creates a forwarding mechanism for HTTP requests through the USB port. Requires software on android + computer. Its not WiFi Tethering, but its free, rootless tethering. For 3 bucks you can get the pro version and do HTTPS as well. Better than nothing (or 30 bucks a month --err thats insane--)
Short answer, you need to root for wifi hotspot tethering, or pay Sprint $30 a month. I thought about purchasing the package, but decided against it because they already charge you $10 extra per line for no legit reason. My thought there is they expect you to tether and can't do anything about it really, so they charge you extra and every month, 10 bucks adds up quickly per line, especially for those on your plan who don't even care to tether at all.