|
ADP15KernelUpdate
ADP 1.5 - Kernel-Update
ADP 1.5 - Kernel-UpdateFor ADP1.5 (Cupcake) ONLY! ADP1.6 (Donut) is not supported! Kernel for ADP1.6 (Donut) is available here. This kernel-update is for the OFFICIAL ADP1.5 FIRMWARE published by HTC only! You might have noticed that "Wifi Tether for Root Users" does not work anymore after updating your Android DevPhone 1 to ADP1.5 (cupcake) (official firmware from HTC). The new kernel does not support netfilter/iptables! To make our application run you have to replace the original kernel with our "netfilter-enabled" kernel. This kernel-update won't work correctly on other devices/firmwares. Don't apply this update on a HTC Magic for instance! Instruction=== AT YOUR OWN RISK === 1) Install the official firmware (if not already installed) - ADP1.5 (cupcake) === MAKE SURE THE NEW FIRMWARE IS INSTALLED CORRECTLY === 2) Download the kernel-update from here 3) Copy adp-1_5-kernel-update.zip to you sd-card and rename it to "update.zip" 4) Reboot the device into recovery mode by holding down the HOME key during reboot. When the device enters recovery mode, it displays a "!" icon. 5) With the recovery console displayed, open the sliding keyboard and hold down the ALT+l key combination to enable log output in the recovery console. 6) Next, hold down the ALT+s key combination to install the update. An "installing update" icon and progress bar (or a similar status message) are displayed. When the progress bar completes, the installation is finished. 7) Press the HOME-BACK key combination to reboot. Enjoy! |
Pardon my trepidation but I would like some details about your build method. Did you use the same compiler, where did you get the .config to use a template? Are the HTC proprietary modules in this kernel like support for the graphics hardware (especially the video recording accelerator)? I'm a little wary of installing this.
Did you use the same compiler I've used the official build tools (available here: http://source.android.com/download)
where did you get the .config to use a template? Like on all linux-system a kernel-config of the current running kernel is located at: /proc/config.gz ... this was the base and I've only added netfilter-support.
Are the HTC proprietary modules in this kernel like support for the graphics hardware (especially the video recording accelerator)? I've not noticed any htc proprietary modules (well maybe wlan.ko is one - but that one was recompiled to match the new kernel). I've tried the opengl neocore demo (from qualcom) - the benchmark shows me 23,8 fps. Video recording is fine as well.
could you also advertise how to revert back to the original kernel?
could you also advertise how to revert back to the original kernel?
I assume you are using the official ADP1.5 (published by HTC).
Your current rom will be completely replaced!
Download this file: signed-dream_devphone-ota-147201.zip from here: http://www.htc.com/www/support/android/adp.html
Copy signed-dream_devphone-ota-147201.zip to you sd-card and rename it to "update.zip".
Follow the steps 4) 5) 6) 7) mentioned above.
You could also use fastboot and replace only the kernel by extracting boot.img from the "update.zip/signed-dream_devphone-ota-147201.zip". Please use google-search to find instruction (too much to describe for posting here).
Will this Kernel void any future HTC updates? In other words will i have any problems installing/receiving any new updates?
Probably not gleb.
Harald- any chance you could provide us a howto for compiling our own kernel for those of us who wish to do so?
The adp-1_5-kernel-update.zip works great with tethering, except for when I try to connect to my home wifi network. My G1 is unable to connect to my home WPA encrypted network. It seems to fail obtaining an ip address. When I revert back to the JFv1.50_ADP1.5.zip, I am able to connect to my home network again. Has anyone else experience this problem?
HLopezMBA: Using JF1.50, you DON'T need this kernel patch, it's bundled kernel has this patch included (among others). It also has an updated WLAN driver, so it's not that strange that you have problems.
Stick to the JF1.50 kernel, and you should be fine even when tethering. :)
I'm getting a @Verification failed, installation aborted." error when attempting to update.
Hi, your kernel update works fine for me, but I'm facing a different problem. I'm trying to further tweak the config and rebuild it, but even when the build works I obtain a wlan.ko module that fails to load correctly (version magic is the same as kernel, but modules freezes in the loading stage and could not be unloaded). As the wlan.ko supplied with your build seems to work fine I would like to ask your advice about how to check out the exact kernel revision you used for your build because my git-fu skills are poor (but I'll have to learn now that busybox switched to git too) :-).
Thanks, in advance. Tito
@tauromenion: You need to recompile the wlan.ko-module every time you build a new kernel. Here is a tutorial how to do that: https://noisebridge.net/wiki/NoisedroidHacking
@luke.4b: Sorry for my late answer - didn't notice your message. I assume you are talking about a patch-update (an update which is not a complete rom but patching existing files on your phone). My kernel-update replaces the wlan.ko-module and the updates tries to patch this file - but yeah ... it's not the original one and the checksum-verification fails. You could try to replace "my" wlan.ko-module with the original module ... and try again. OR ... simply reflash your phone with the complete rom (http://www.htc.com/www/support/android/adp.html) ... you will lose "su" and the netfilter-enabled kernel (but yeah ... you know - there is a kernel-update available "somewhere" :))
Hi, I've followed exactly the tutorial at https://noisebridge.net/wiki/NoisedroidHacking, using the config from your kernel and as reported in my first post, everything builds fine. I'm able to fastboot the kernel, but when I insmod wlan.ko. the module seems to load but insmod never returns nor is it possible to force unload it. I've checked the vermagic and they are ok. The only difference I can see between your kernel (with working wlan.ko) and my is the vermagic number so I suspect that I'm building a later revision than yours that is somehow broken or incompatible with the G1 hardware.
Anyway thanks for your patience and advice and sorry for having flooded the wiki with my posts.
Ciao, Tito
@tauromenion: I've used the kernel from cupcake-branch (some weeks ago):
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake
Any idea on how to make it work on a rooted HTC Magic? I'm guessing it will also need iptables support?
Yes , can you share your steps to compile the kernel and maybe help us to compile a kernel for htc branded magic , it has its own git repo. so if you have everything working it should be easy for you to add the iptabels to it , many of us will be glad to have it.
@nils.cant, shwan.ciyako: As far as I know ... roms/builds are out there which have a netfilter-enabled kernel. http://tinyurl.com/nrx9kf
But don't ask me for details - never tried that out!
@amir.fish: will this patch work on a T-Mobile G1 version (Firmware version 1.5, kernel version 2.6.27-00393-g6607056, Build Number CRB43)?
will this kernel update work with HTC Dream from Rogers or is it for the development phone only?
@pete.c.burke: No, this kernel-update won't work on a rogers dream.
@all: problems can't be discussed here! Please file an issue: http://code.google.com/p/android-wifi-tether/issues/entry
does this work on mytouch?
how do i get my old kernell version back?