yashsingh1/xdaforums huggingface dataset:
[HTC Aria Android Development] Gene Poole:
Thanks for the post. Looking at your zip, I understand now how anykernel works. The update script actually reads the boot image from the device, repacks it with the new kernel, then rewrites the new boot image to the device--all on the device itself. Pretty clever. The current ramdisk is untouched.
[HTC Aria Android Development] kura808:
Awesome! Thanks I'm gonna try it out now xD

Edit: OC and flash work great. Trackpad wake still doesnt work for me. Is there an option to enable it? or is it automatically enabled with the kernel flash?
[HTC Aria Android Development] mosamjc:
I use nolock, available free on the android market, to get rid of the lock screen and enable track pad wake. Since it didn't work on the stock kernal, I'm pretty sure the old fashioned method involving a little command line editing of qwerty.kl or the flashable zip found in the optical wake sleep forum under software will work as well if you still want a lock screen. I'll try it later and let you know.

Edit: trackpad.zip works as well. I'll try to bake it in to the kernal update tonight.
[HTC Aria Android Development] kura808:
Oh my bad. It does work! I put my widgetlocker back on and enabled it. Very good xD Thanks again!
[HTC Aria Android Development] :
Just a suggestion mosamjc, but if this is going to become an ongoing project you may want to start a new thread you can op and just post updates to the first post.

Perhaps this qualifies as development and can be started there?
[HTC Aria Android Development] DarkFlasher:
This is awesome, No Lock is going to solve my Lockscreenfreeze problem!
[HTC Aria Android Development] Moh_Jay:
If u want trackball wake go to the 7 or 8th page of the liberated froyo thread and flash the zip in clockwork.
[HTC Aria Android Development] zamula:
I know the built-in wireless hotspot app won't work with this kerel, but has anyone gotten the Google Code tether to work? I've tried, but haven't been successful yet. I'd love to use the OC capabilities, but having wifi tether is a must for me.

Thanks!
[HTC Aria Android Development] :
Have you tried without encryption? I played with it just now and got my laptop to associate, but only unencrypted. I don't have service where I live, so I can't fully test it.
[HTC Aria Android Development] Bob in Northern NJ:
Mosamjc Thanks so much for providing an oc kernel zip file that works! I tried brainfuct's earlier today and all it did was lock up the phone in a serious bad way! I also tried the espresso version of the CM6 kernal but there was no effect what-so-ever..

With your kernel I was able to max out the cpu clock speed at 864 MHz and the phone still remained fairly stable! (MFLOPS of 10.252! I am running at a comfortable 806 now, with an MFLOPS of 9.707. And EVERYTHING is working!

Thank you again so much for providing a kernel that actually overclocks in the Aria runining FR006.
[HTC Aria Android Development] zamula:
I'm fairly certain I couldn't get the built-in hotspot to work at all, even unencrypted. But if anyone can verify unencrypted does indeed work with internet access, that would be good enough for me and I'll give it another go!
[HTC Aria Android Development] :
I should have been more clear. I was referring to the google code app. There's no way the Htc one will work at all.
[HTC Aria Android Development] DarkFlasher:
Everything working fine now, thanks a bunch!
[HTC Aria Android Development] mosamjc:
Are you using the CM 6.1 kernel? I have spent some some time tonight playing with the google code wifi tether and achieved similar results. This is to say, wifi connects, both encrypted and unencrypted, but I don't get any throughput.

I'm not ready to give up on this one quite yet. Oh, and thanks for your suggestion regarding starting a new thread. I'll take it into consideration. I'm really not in the innovation business like Attn1 and company--I usually just facilitate and troubleshoot things that the brilliant guys overlook. Hijacking threads and getting things done is more my style.
[HTC Aria Android Development] Moh_Jay:
Thanks for the kernel.
[HTC Aria Android Development] mosamjc:
Good news boys and girls-- I got Wireless Tether to work using version 2.0.5 pre14 found here. I did have to disable droid wall to use it however. Victory! Now for some sleep.

Edit: One minor caveat: If you activate the Wireless Tether app you must also activate and subsequently disable the HTC Wi-Fi hotspot app before you press "Press to stop tethering" in the Wireless Tether app when you are finished using it or it will result in a freeze or reboot when you next try to use Wireless Tether (you'll see a strange message saying "Your phone is currently running in an unknown state. Please try to restart."). So to reiterate, to start wireless tether download the aforementioned app, disable droid wall, open up the app and start it. When you are finished, open up the HTC Wifi hotspot app, turn it on, then turn it off, then go back to Wireless Tether and switch wireless tether to off and it will be good to go to repeat the cyle ad nauseum.

I know it is kind of lame and clunky, but it is all we can do until we can find a way to disable the HTC wifi hotspot which seems to fire at the same time as the Wireless Tether app and causes problems if it isn't formally started then shut down. But hey, we have an stable overclocked Liberated Froyo with a gooey CM6.1 kernel center, WiFI tether and trackpad wake. What more can you ask for except beer and sleep? Don't wake me until noon.
[HTC Aria Android Development] Gene Poole:
I just removed htc's wifi hotspot from the ROM. I haven't tried the linked version of google tether. Too many other issues forced me to go back to stock kernel.
[HTC Aria Android Development] mosamjc:
What kind of issues were you having? So far the only error I've found is the quirk with the tether, but it still works. Without knowing the problems we can't begin to fix them.
[HTC Aria Android Development] zamula:
I still cannot get the google tether to work, with/without encryption. Even after removing the built-in hotspot, no luck.

The hotspot broadcasts, but my computer (vista) won't receive an IP. For those who have had success with tether, could you state your config. I'd really like to get this to work, and could certainly deal with the clunky work-arounds involving the built-in hotspot. Everything else but this works great!
[HTC Aria Android Development] Gene Poole:
As I mentioned earlier, I get random shutdowns. I don't know when or how, just that I'll pick up my phone and it's dead, as if I'd pulled the battery.
[HTC Aria Android Development] mosamjc:
Gene Poole: that's pretty bizarre. I haven't encountered any lock ups or reboots outside of the wifi tether process if its not done how I specified or overclocking it well above 806.

Zamula: I wouldn't remove the HTC wireless hotspot app yet. I'll play with it today and see if I can streamline the whole process a little more. When you have the HTC wireless hotspot back in there (I hope your pulled it before deleting it or you have a nandroid backup), I would recommend downloading droid wall to make sure your iptables/netfilter is working properly, which is required for the google code wireless tether to function. Activate netfilter, play with a few services, then shut it off. Now go to your wireless settings and make sure everything related to the mobile network is on (mobile network:on, data enabled: on). You should be ready to fire up the Wireless tether app. You can now access the hotspot on your computer and do your thing. When your finished, open up the htc wifi hotspot apps, activate it, then deactivate it. Now you should be able to go back to the wireless tether app and disconnect it safely which will allow you to activate it again and again if you follow that process without ever rebooting or locking up your device.
[HTC Aria Android Development] zamula:
Thanks for the detailed advice -- I'll definitely try it when I have a chance! Another interesting thing to note is the latest google tether app works perfectly fine with the base FR007; it's only after applying the OC kernel it stops working. I can start/stop using your instructions without getting lock-ups, just no connectivity.

Maybe it has something to do with having droid wall installed, but not active. We'll see...thanks again!
[HTC Aria Android Development] light24bulbs:
Is 806 the fastest this core will ever be stable at?
[HTC Aria Android Development] mosamjc:
If the keyword is stable, the answer is yes. If 806mhz can't take care of your needs on this phone then you probably need something with a little more horsepower like a captivate or n1.
[HTC Aria Android Development] kura808:
just an update. i've been using the OC kernel since mosamjc first posted it. i haven't encountered any problems whatsoever. just to fool around for a bit i set it at 864mhz and used it for about a day. no lockups or any problems. temps were within normal limits too. psx4droid plays at full speed with no lag (sound was choppy though). battery died quickly though so i scaled it back.

i'm not sure if this will help but has anyone tried wiping the cache and dalvik before flashing the kernel? i did that and i never experienced any problems *knock on wood* i haven't tried tethering yet though as i have the 200mb data plan lol..
[HTC Aria Android Development] ngy:
flashed the latest OC kernel mosamjc posted. i didn't use setcpu to change speeds, but from what i can tell, the phone runs smoother, noticeably when using live wallpapers. also trackpad does work after flashing the trackpadwake.zip from the liberated froyo page as mentioned earlier. no freezes or fc's so far. get linpack score of 7-8ish and 31fps on neocore. thanks mosamjc!
[HTC Aria Android Development] Exador:
That's a 33 percent overclock, much more than what most phones can achieve.
[HTC Aria Android Development] light24bulbs:
My friend runs his Motorola droid 1 at 1.3 ghz, supposedly it's stable. I agree that a 33% increase is awesome and certainly adequate(can't complain). I'm just looking to get some flash performance when I really need it. This sure is a good core. I read that its a cousin of the snapdragon and has a strong GPU. Such a good phone! Couldn't be happier.
[HTC Aria Android Development] clickclickpc:
ATT WiFi Hotspot Service Not Authorized

Running OC Kernel 2.6.29.6 downloaded from this thread flashed on top of FR006 (Kernel 2.6.32) and besides some of the issues already mentioned, I noticed that if you use the ATT WiFI Hotsport service (which runs as a service all the time to validate your phone on the ATT WiFi Hotspot Network), it fails to authorize. This also happens with Cyanogen ROM's on the Aria and since the OC is Cyanogen kernel, one would expect this to happen also. It's not a showstopper but I thought I would mention it in case someone wants to OC.
[HTC Aria Android Development] mosamjc:
This is well documented, but not a show stopper because I've provided a working third party wireless tether. Just take a look at posts 57 and 62. You'll have to download the wireless tether app from here and follow the instructions I referenced but don't care to repeat.
[HTC Aria Android Development] j.fignole:
Mosamjc: I've done my share of flashing roms but never a kernel. Can I flash your kernel to fr006 with out reflashing the rom?
[HTC Aria Android Development] mosamjc:
Yes, actually. Just treat it like you were flashing a rom and clear your cache and dalvik cache and you'll be fine. Just be sure to make a nandroid backup in case something goes wrong or you want to revert.
[HTC Aria Android Development] j.fignole:
Ok thank you. Man you guys are good
[HTC Aria Android Development] j.fignole:
Ok just flashed my phone with the kernel, I'm running fr006 with a 768 oc and my phone is so much smoother. Excellent work!! I'm not a tether guy so don't care about that.
[HTC Aria Android Development] shakerhero:
After flash the karnel, I got nearly everything I want works, OC + trackball wake + ipv6. That is fantastic... Thanks A LOT for your work.

However, the wifi tether is still unavialable for me, even following your instruction: I wiped the storage, flashed the original clear FR007 rom, flashed the karnel, rebooted, installed droid wall, installed wifi tether app, turned on droid wall, applied the rule, played with some net app, turned off the wall, and turn on the wifi tether app. After that I got my laptop (with WinXP) connected to my Aria, but the ip adress is incorrect, i.e. 192.168.1.102 while the tether's wLan setting is default 192.168.2.0/24. And my laptop cannot connect to the internet actrually. Moreover, when I tried to turn on/off the built-in HTC hotspot, I found the button inoperable (showing "error" after one tap, and never response after that). So I still got my device freeze and reboot when I turn off the wifi tether.

Although the wifi tether is not quite neccessary in my daily life, I still wonder what is wrong with it. Is there any mistake in my operation?
[HTC Aria Android Development] mosamjc:
@shakehero: PM me with your aim, yahoo, or msn IM if you have one and I'll help you trouble shoot your way through it. It will be good for me too, as I did this with my original apps2sd method in the other section and it helped iron out why some people were getting different results (it ended up being an outdated version of clockwork that was preventing people from using darktremor, but I never would have known if I hadn't done the one on one).
[HTC Aria Android Development] clickclickpc:
True that it's not a showstopper. I was merely pointing out another item. The ATT WiFi Hotspot application is not a WiFi hotspot app for sharing your phone's 3G to other downstream clients but rather an app that allows your phone to connect to ATT WiFi Hotspots across the US. The ATT WiFi Hotspot app, which is really a background service, allows your phone to connect to the internet via ATT WiFi Hotspots not share your phone's data connection to other clients. Regardless I really do appreciate your efforts on many fronts. Thanks, again. The OC kernel is definitely functional and good to go. And yes, the android wireless tether does indeed work. I was running it back on the Eclair Liberated ROM's with no issues. Great tips.
[HTC Aria Android Development] mosamjc:
Sorry, clicktopc. I misread your post. I haven't kept a copy of the att wifi on my device since the earliest days of liberated 2.1. Ill dust it off and see what I can do. I don't need it where I live but free wifi has bound to be helpful to a few people.
[HTC Aria Android Development] zamula:
I made yet another attempt exactly as above with the same results. No matter what I did, my laptop would not get an IP from the wireless tether -- it would either keep the existing one or assign an internal address. (And I did install droid wall test it, then disable it before trying the tether.)

mosamjc, I really appreciate the help you're giving everyone. Hopefully you can get things working for shakerhero, which might fix my issues as well! I'd also like the opportunity to trouble-shoot via IM, but for the next few days I'll be in a location with only dial-up, so the tether is a MUST. Thanks again.
[HTC Aria Android Development] mosamjc:
Zamula: just shoot me a pm and I'll be around tonight to help.
[HTC Aria Android Development] clickclickpc:
Here's the APK just in case. I wouldn't spend too much time on it. I think there's something in the ATT app that checks if the kernel is HTC native vs. Cyanogen.
[HTC Aria Android Development] mosamjc:
You read my mind. I won't, promise, but I love a good challenge. Especially when it yields free stuff for people.
[HTC Aria Android Development] shakerhero:
I spent a night on reading the source code of the wifi tether app, and found out a "dirty" but "to the point" way to make it work.

1. Pull /data/data/android.tether/conf/tether.conf

2. Modifiy the line "wifi.driver=softap_HTC2" into "wifi.driver=wext" (it seems the evil root). Beside, if "tether.fix.route=false", turn it "true".

3. Push back /data/data/android.tether/conf/tether.conf

4. If the file "resolv.conf" does not exists in /data/data/android.tether/conf, make one with content in format "nameserver 8.8.8.8", where "8.8.8.8" is a DNS server's IP available.

5. Manually disable the Wifi from the setting panel.

6. Execute "/data/data/android.tether/bin/tether start 1".

After that, the wifi tether works for me smoothly. And moreover, the built-in HTC hotspot never shows up, since the driver "wext" is used instead of the damned "softap_HTC2". I can then start my wifi tether app, the app will auto scan the current tether status, and manage the connection as well. If I donot need the tether any more, directly tapping the icon on the app is just OK, and it is equavalent to executing "/data/data/android.tether/bin/tether stop 1".

After the configration step 1-4, I can start the tether by only executing step 5 and 6 every time now. But never start tether by the wifi tether app itself, because it will write "softap_HTC2" back to the conf file when tapping the "start" button. So I guess preventing the app from modifying the line "wifi.driver=wext" is the keypoint to make a perfect solution.

Maybe just delete line 303 in the source code TetherApplication.java ("code.google.com/p/android-wifi-tether/source/browse/branches/2.0.x/src/android/tether/TetherApplication.java"), and rebuild it.
[HTC Aria Android Development] bkmo:
Nice work finding the workaround. I just chmodded 444 tether.conf after editing it and the app starts and stops perfectly for me. If it can't write to it then it can't change it.
[HTC Aria Android Development] mosamjc:
Outstanding work, both of you. I tip my hat.
[HTC Aria Android Development] bkmo:
Shakerhero is the man, not me. I just applied some basic file permissions to a great find. Getting the tether app recompiled for this kernel would be the best way I would think.
[HTC Aria Android Development] shakerhero:
That's cool. I have forgot this way to protect the file. It works perfectly now. Thanks.

BTW, is that possible to force the built-in HTC app using "wext" instead of "softap_HTC2"? I am really afraid of making mis-tap on "enable wifi hotspot" when operating in the setting panel currently.
[HTC Aria Android Development] shakerhero:
Edit: see post 91
[HTC Aria Android Development] mosamjc:
Shakerhero: if it works to your expectations, would you mind posting your android.tether directory in a zip for others? The less editing we force people to do means less trouble shooting for us when things go wrong. I made that mistake when I devised the original darktremor apps2sd method for the stock 2.1 and early liberated roms and had to hold a lot of hands unnecessarily. Keep up the good work.
[HTC Aria Android Development] shakerhero:
I presently found a good solution for this issue, only 3 letters to modify:

in /data/data/android.tether/conf/tether.edify line 87, change "softap_gog" to "softap_htc".

After that, I got the app work as I wish. Tether on/off without turning on the built-in hotspot, good net connection, access control, all configrations provided by the app available, no FC, no reboot...

In the installation package, res/raw/tether_edify is the original file of the script mentioned above. So I just modified it and re-pack an apk file, which is attached below.
[HTC Aria Android Development] mosamjc:
Outstanding work, shakerhero. I want to hear the #liberatedaria mods yammer about how incompatible the kernel is now (all in good fun). Power to the community.
[HTC Aria Android Development] bkmo:
Hehehehe I stayed away from this rom because it didn't perform as well as I had expected, and did not have trackball wake. Now with your kernel I can give it a go. Runs great with your "incompatible" kernel. ;) Thanks to you and folks like shakerhero. The only thing I would like to see work is the built in tethering. But that is a personal preference, and definitely not a show stopper.
[HTC Aria Android Development] xdafly:
does this apk also work with Liberated Aria R012 ? if not, is there another version/solution?
[HTC Aria Android Development] zamula:
Yes, a BIG thanks to everyone who has helped with this! Wireless tether is now working great and I couldn't be happier.
[HTC Aria Android Development] shakerhero:
This is a modified version from the google code project, for FR007 with mosamjc's karnel. If you are using an original R series, maybe you can try the original wireless tether application 2.0.0pre14.
[HTC Aria Android Development] clickclickpc:
Doesn't R012 already have Android Tethering built-in (android.tether.apk)? It's a version from 2 months ago (wireless_tether_2_0_5-pre9.apk) as opposed to the latest one from six days ago, "wireless_tether_2_0_5-pre14.apk", but I recall it working fine on R012 right out of the box (not OC'd).
[HTC Aria Android Development] guido3300:
Could somebody tell me if Froyo runs smoothly with this kernel? I installed FR07 a couple of days ago but I went back to R12 because it was a bit laggy, barely noticable but laggy. Will it run flawlessly with this Kernel?
[HTC Aria Android Development] mosamjc:
It runs far better than 2.1 ever did, but then again I never had any of the issues a small but very vocal group is apparently having. The closest thing to a real slow down on the original fr series rom was maybe angry birds after an extended session. I can honestly say it doesn't do that anymore with the new cm over clock kernel. More over flash lite performs better and even swype keeps up better than it did on stock fr or any of the original liberated builds. At the end of the day though, if you are in that minority that couldn't make liberated fr work for you, you should probably stick with r12. Everyone else though will enjoy a snappy turbo charged twist on attn1's all ready fantastic work. Well worth a try if you ask me.
[HTC Aria Android Development] Milx:
even after i read from page 1 to page 10, i still cant really get what to do, i have flash to fr007 liberated, download the file provided by mosamjc on page 5. den im at dead end. >.< do i just flash the file in clockwork? do i still need to have any other program to set my cpu speed ? can anyone please give me a mini guide what to do and what is the best setting for a stable oc ?
[HTC Aria Android Development] guido3300:
hahaha yeah I noticed that on Agry Birds too. Get's very laggy. What about the battery drain? Will this fix it on the FR ROM Series or just gets worse since it's overclocking?

One last question: Do I install the ROM first and the kernel after or otherwise? Thank you for your kind answer
[HTC Aria Android Development] eljefe27:
Flash the file in clockwork like u did with the Rom then download setcpu from the market yes u have to pay but if you search xda you can get setcpu for free as the dev provides it to xda members for free

Best setting for me is 806 my phone can't handle anything over 825 but my wifes aria handles 844 fine
[HTC Aria Android Development] eljefe27:
You must install the Rom first then the kernel if not the Rom will overwrite with its own kernel
[HTC Aria Android Development] Milx:
can this kernal flash to the new rc2 cyanogen ?
[HTC Aria Android Development] :
Cyanogen already has overclocking built in.
[HTC Aria Android Development] mosamjc:
All this kernel is the bare cyanogen mod 6.1 rc0 kernel. It just brings some of the things cm users enjoy over to people who like or need the features of sense. Also provides a bed for a number of fixes not built in the fr series yet like trackpad wake.
[HTC Aria Android Development] guido3300:
I installed the kernel over my FR07 ROM. It runs at 806 MHZ. Is there any risk that my processor could overheat and die? I'm afraid overclocking could fry it.
[HTC Aria Android Development] mosamjc:
At 806 I'm fairly certain you'll be fine if you scale on demand and allow it to scale from between 400 or 480 and 806. Moreover, I'd reccommend setting an event for when your screen turns off that sets the CPU to run between 200 and 480 to extend your battery life. After all, you only need the extra juice when you're actually using the device.
[HTC Aria Android Development] guido3300:
Oh cool. Now I understand how it works. Thank you :)