yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] ch.armin:
Ok, thanks for your quick reply!!

then i have to wait, until the battery is low . then i can install your kernel again with your instructions!!!

Thanks again!!!

ps: great work!
[HTC Desire S] amidabuddha:
connect to PC and try

adb reboot bootloader

if it reboots flash the zImage
[HTC Desire S] ch.armin:
tried and worked!!thanks again and again :))!!!!
[HTC Desire S] alfredino85:
My zip have the boot.img for the ics sense 4 e 3.6 not for infinity.. I can create another zip this evening (only for s-off device)..
[HTC Desire S] arazvan2002:
I created a zip from yours with the boot.img from OC3_VI_3. Same problem with Wifi like I had last night with the zip modified by me.
[HTC Desire S] amidabuddha:
I bet my house, car and kids (I will keep the wife) that you are htcdev unlocked. :)

The kernel is not getting flashed, only the modules are copied and that is why you are loosing the WiFi.

Not creating zip files was absolutely intentional. Please follow the instructions and everything will work just fine
[HTC Desire S] sammyke007:
I feel ashame I have to ask this, but I followed your instructions exactly (renamed boot.img...sense4... to zImage etc... but I get stuck on white HTC bootscreen, any idea please? Should the filename be zimage instead of zImage?

Running Nik's Project 4.1 and your first version of this kernel was running great.
[HTC Desire S] arazvan2002:
I'm Alpharev S-off. I don't like htcdev way :)

I will try to install androidSDK to do the job manually.

Thanks
[HTC Desire S] amidabuddha:
If you are following the htcdev users instructions you have to rename the boot.img-something to boot.img not to zImage.

Sent from my HTC Desire S
[HTC Desire S] sammyke007:
I'm a S-OFF user using the 7.00.1002 hboot.

The command should be "fastboot flash zimage zImage" or "fastboot flash zimage boot.img" then?

EDIT:

it's booting, the command should be:

"fastboot flash boot boot.img" !
[HTC Desire S] Marcoevich:
Well, I couldn't resist to try again when I saw this. Sadly still doesn't work :(
[HTC Desire S] glacier1122:
hey amida, im currently running ice ds 4.4 with this kernel (3.0.30) , after a few days ,i have noticed the phone is eating the battery more then stock kernel, even in stock frequency,,, now i see u have updated it, i want to flash the latest now, but the htc dev user guide in the first page is a little confusing, can i do it the root explorer way like before?
[HTC Desire S] amidabuddha:
Yes of course. The idea is to put the modules at the right places with correct persmissions. But I am finding the shell way much more quicker.

Btw I have very good battery life with the latest. Currently testing lulzactive+noop at 1.4 GHz and it behaves great

Sent from my HTC Desire S
[HTC Desire S] brainzasif:
Thank you bro this worked...

LOVELY Kernal... :cowboy::o
[HTC Desire S] vampire36:
Flashable Zip for Virtuous Infinity :)

For people who don't have adb and stuff :)
[HTC Desire S] amidabuddha:
REMINDER:

To all that are going to flash this file: remember - this is ONLY for S-OFF users. It will not work for HTCDEV unlocked!
[HTC Desire S] pzabet:
I have a question, will this work on the Beta1 Infinity (1.35.0)?
[HTC Desire S] amidabuddha:
I am on it right now, using LULZACTIVE governor + NOOP scheduler, @ 1.4 GHz

There is slight lag when opening the app drawer, but overall the ROM is smooth and the battery is going great.

Actually I made this kernel with the primary intention to run Sense 4 with it ;)
[HTC Desire S] pzabet:
So right now I am flashing alpha 3 so I can upgrade to Virtuous OTA (it has been a few weeks since I opened my PC). After I finish, do you recommend I flash the kernel?
[HTC Desire S] amidabuddha:
Well try it I hope you will be happy with the performance. Do not forget to install an OC app, because the kernel is at stock max frequency by default
[HTC Desire S] dabado:
Anyone made a zip for fallout? Seen a few posted but they don't specify which ROM.

Sent from my HTC Desire S
[HTC Desire S] outsidetown:
This works on Fallout mate, flashed it today!

http://xdaforums.com/showpost.php?p=30811594&postcount=199
[HTC Desire S] pzabet:
Sorry for another question, will the flashable zip for virtuous infinity work on Beta1 ?
[HTC Desire S] ozguy:
not booting...

running nik 4.1, latest hboot and htcdev s-on. installed as per instructions - won't boot. reflashing Nik's boot.img makes it work again yet with broken Wifi - reflashing nik makes it all OK but no new OC kernel.

guess my hw doesn't like to run on 1.5Ghz?? any chance of dropping that down to 1Ghz so we can tweak after successful boot??

thnx
[HTC Desire S] amidabuddha:
The latest version is on 1 GHz by default. Which boot.img are you flashing?

Sent from my HTC Desire S
[HTC Desire S] ozguy:
boot.img-4.7-Sense_ICS - renamed to boot.img

thnx
[HTC Desire S] amidabuddha:
Weird. Have you checked the md5sum of the boot.img? It may be a bad download. Or redownload and try again
[HTC Desire S] ozguy:
md5sum checks out - must be doing somethin' wrong here. Could it be the radio version??

thnx
[HTC Desire S] amidabuddha:
No, the radio is not involved here.

I suggest to delete all the downloaded files, or move them to a backup folder and start the instructions from the beginning (new download, rename, etc.) It looks to me that you have renamed the wrong boot.img. If this is not the case than you may have a very rare problem - maybe your CPU cannot cope with the undervolting (but honestly I doubt it - there are more than 450 downloads and you are the first that have such complaint)
[HTC Desire S] alfredino85:
Flashable zip for Only s-off user

Sorry for my delay. The flashable zip are easy to create but yesterday I was a little busy.

md5sum miuiV4 : 10f2d27b49ad35cb30b098c8a3d423ac

md5sum infinity : c26d0fc3d6bfcb93b89607edc3c66977

I have the hboot 7.xx i don't know if it works with another hboot. Please make a nandroid backup before flashing the zip.
[HTC Desire S] amidabuddha:
REMINDER: (again) :)

The flashable zip files are for S-OFF users only. HTCDEV unlocked - please follow the instructions in the first post.
[HTC Desire S] mouzzza:
In my case WIFI isn't working anymore. Can anyone confirm? Or have i done something wrong?

Using MIUIv4-2.8.24, like shown in my signature!

Restoring nandroid and trying out amidabuddhas guide next. Flashing the kernel has sounded more easy:p
[HTC Desire S] apofisao:
I confirm. wifi don't work.

I using MIUIv4-2.8.24.
[HTC Desire S] amidabuddha:
Please guys do not post not supported issues! I have chosen the described installation method with a purpose. I know it seems difficult but this is the only way to support all ROMs.

The problem of you both is that the updater-script in the alfredino's zip is not mounting the /system/lib partition and the modules are not flashed. Use the instructions or copy the modules manually with a file explorer and your WiFi will work again ;)

Sent from my HTC Desire S
[HTC Desire S] mouzzza:
Done, seems WIFI and all other things are working again!:good:

Can this be solved by mounting the system/lib in 4ext and flashing file afterwards?!

Sorry, I'm not the friend of cmd (bad memories on Win95/Me/and on customizing different Java-based MobilePhones;)), flashing is so much more easy:D
[HTC Desire S] Grant2k:
can be set to add to kernel 2WCR patch?
[HTC Desire S] totalnoob34:
Sorry for asking, but sometimes while locking the phone with s2w it takes a screenshot, which is annoying. How can I disable acreenshots?

Sent from my S-OFFed Desire S
[HTC Desire S] amidabuddha:
Have you tried is it working? The code exists in the source

Read the OP one more time ;)

You have to reboot after changing build.prop
[HTC Desire S] totalnoob34:
Sorry, thx;)
[HTC Desire S] first_damned:
Good work on the kernel. Applied to virtuous infinity.

Does sweep2wake use more battery?

I have disabled it for now but it's a nice feature
[HTC Desire S] amidabuddha:
I thought you went to stock ;)

About sweep2wake I cannot tell for sure, because since staring with this kernel I am making experiments all the time and charging every day. But you can try one day with enabled, another day with disabled, try to have the same usage and compare. Please share your findings after that :)
[HTC Desire S] first_damned:
Lol I did for a bit but was boring so decided to try virtuous infinity out :)

Will try it enabled and disabled and compare battery drain

Thanks
[HTC Desire S] mackhenri:
i used your oc kernel before but now i get this

C:\android-tools\android-tools>adb remount

remount failed: Operation not permitted

after hboot 7xx
[HTC Desire S] ozguy:
Well - managed to get it boot once with your kernel - after phone had been off for a while. Froze during the customisation sequence and would't boot again. Glad to see it's not me goofing up - must be my DS being sensitive to undervolting. Any chance of getting a version without UV?

Thnx
[HTC Desire S] first_damned:
How much is this kernel under volted by?
[HTC Desire S] murdocknl:
How can I install the kernel without adb? Because my USB connection is broken so I can only charge my phone :mad:

I thought maybe I can use wireless adb but at some point you have to reboot to fastboot.

So any solutions?
[HTC Desire S] amidabuddha:
I have the same after hboot 2.00.2002, but only in recovery. I OS the command works. The other way is to copy the files manually with a file explorer.

OK, sorry for underestimating. In the next release UV will be reduced, but I am trying to improve some stuff and it may take some time.

-100

Search the several last pages for a flashable zip if you are S-OFF

Sent from my HTC Desire S
[HTC Desire S] maxlieb:
any chance to include 2 way call recording support?
[HTC Desire S] dan-fish:
That was only a page back. Have you tried it?
[HTC Desire S] maxlieb:
I tried it, it doesn't work
[HTC Desire S] amidabuddha:
Ok I will check it

Sent from my HTC Desire S
[HTC Desire S] maxlieb:
cool,

If it helps - I'm using Ice_DS 4.4 with your kernel

and callrecorder 1.1.2 - using kernel method results in

calls not being recorded at all
[HTC Desire S] booce:
Does this kernel support cifs?
[HTC Desire S] amidabuddha:
I will enable cifs and openVPN support in the next version, but I am not using it so you should have to be my testers :)

Sent from my HTC Desire S
[HTC Desire S] booce:
Happy to be a tester and help in any way I can :) I'm on hboot 7.001 with stock rooted ics at the moment. S-off.

Thanks for the quick response and all the hard work, it's appreciated.

Booce
[HTC Desire S] Grant2k:
2WCR worked, only amr codec

recorded with CallRecorder https://play.google.com/store/apps/details?id=com.skvalex.callrecorder
[HTC Desire S] mouzzza:
Would test it on MIUIv4 if testers are needed!

Could anyone recommend me a temporary alternative to CallRecorder (Problem on MIUI to touch the agree-Button on App-Start)

@Grant2k:

What I know CallRecorder saves the records token on 2-WayCallRecording to wave/mp3 only.

Amr-Codec is used on records token by one line only. This records have less quality because the person on the oder side could'nt be heared well.

I was talking bull****...
[HTC Desire S] st0wz:
Me too :(. How now ?
[HTC Desire S] amidabuddha:
In fastboot you do not need to remount

Sent from my HTC Desire S
[HTC Desire S] amidabuddha:
Verison 5

New features:

Built with Linaro toolchain

Patched to Linux Kernel version 3.0.42

Reverted to Stock Voltages due to some users complaints

SLUB is the default memory allocator

Added tun.ko module (use 51-modules init.d script to load it)

Added cifs.ko module (use 51-modules init.d script to load it)

Enabled full capacity charge in non-OEM chargers (e.g. some car chargers)

Enabled NTFS + NLS_UTF8 support

Enabled PPP_ASYNC and PPP_SYNC_TTY

Enabled ZRAM - adds another 100 MB to your RAM as a SWAP partition (use 52-zram init.d script to load it)

Enabled USB-OTG (needs confirmation, since I do not have the necessary equipment)

Hint for Sense 4 (Virtuous Infinity): if your battery freaks out after flashing the kernel - this is because the Virtuous team added a battery calibration script that runs one time after the initial flash. Reflashing of the kernel activates it once again. Flash the kernel on full battery or just wait it to become stable after one discharge/recharge cycle.

Enjoy!
[HTC Desire S] mouzzza:
there is no boot.img in the second zip?

sry, haven't read that we have to wait a second

Managed to flash the kernel with simple Batchfiles in less than one minute, so no entering of the code anymore, that's the way I like it:D

Amidabuddha thx for your great work, once again.

2WCR is working with CallRecorder, but like Grant2k said (sry guy for my bad knowledge), only when saving the records with AMR-Codec. WAV and MP3 aren't working yet, maybe a problem with the app. Will ask skvalex!
[HTC Desire S] Juppehup:
Is it possible to set te new kernel to a undervolt of -100? And if so, how?

Verstuurd van mijn HTC Desire S met Tapatalk
[HTC Desire S] dont know:
https://play.google.com/store/apps/details?id=com.darekxan.voltagecontrol&hl

Linked in 1st post
[HTC Desire S] BuGGr:
Im on HBoot 7.00.1002 and on previous roms (MIUI and original ICS rom) the /system/lib was a different mount (/dev/block/mmcblk0p28).

Will this latest version also mount this by default?
[HTC Desire S] amidabuddha:
I have 2 options on this:

1) to bring back the UV values (-100 @all freqs), but it seems that some devices cannot boot with this config

2) to intoduce undervolting abilities but after that this thread will be full with instability complaints of people that are not aware what are they doing

So I propose to you 2 options as well:

1) run it this way and compare you battery life with the previous version (i doubt you will notice big difference or the change will be minor) If you can see a difference I will make a version -50 for all

2) download the source, reduce the voltage values in the frequency table (file is /arch/arm/mach-msm/acpclock-7x30.c) and compile your own undervolted version :)
[HTC Desire S] Oleg.A.Malygin:
Use your kernel in ICE_DS 4.4. Good work! But I don't use any computer while flashing ROMs and Mods like many other users do I think. Flashing thru Recovery only. Please, give us pleasant ability to flash your kernels by recovery using "zip4recovery" variant of your kernel.
[HTC Desire S] darkrainx2:
hi there everyone!

I want to install the latest kernel, but i have problem with fast boot drivers, i cannot install them...I'm running windows 8 enterprise 9200 x64 and this windows don't want to install those damn drivers! has anyone an idea how to install them??

thanks!
[HTC Desire S] BuGGr:
guess I found my own awnser, it is not mounted. Am I now missing a part of my memory to use?

i manually mounted the block and saw its 149M in size.

Though, my current rom (Virtuous Affinity 1.33) with the Tweaked 5.0 kernel works fine.
[HTC Desire S] old.splatterhand:
Is it only me, or is download of Tweaked3_5.0_S-OFF.zip down?
[HTC Desire S] amidabuddha:
Sorry guys there was an issue with 52-zram init.d script.

The files in OP are updated.

Those who flashed the files already please download the HTCDEV_modules file, extract it, take the module and copy it to /system/etc/init.d with any file explorer. Set the permissions like on the other files and reboot. Enjoy 100 MB additional RAM ;)

EDIT: again for those that have downloaded the archive before the zram script correction - sweep2wake was default on ENABLED WITH BACKLIGHTS (not set back to ENABLED WITHOUT BACKLIGHTS). Use the instructions in the OP to change is as you prefer
[HTC Desire S] old.splatterhand:
Another Question:

What exactly is the Wifi Tether app called which should be uninstalled in VI (cause i never used it)?
[HTC Desire S] Juppehup:
Oké, will try the new kernel tomorrow (without undervolting). I tried setcpu and voltage control but both miss the option 'voltage' . But according your answer, that's not enabled in the kernel then...

Verstuurd van mijn HTC Desire S met Tapatalk
[HTC Desire S] amidabuddha:
WiFiRouter.apk

You cannot use it anyway, because the Sense 3.6 kernel does not support native WiFi tethering at this point. If someone find a fix I will include it. But if you need WiFi Tethering there is and app on the Play Store that works.

Exactly and this is made on purpose. I do not want to be blamed for dead devices or calming down freaked out users...
[HTC Desire S] yerfdes:
Any flashable zips for the latest kernel? Having a hard time using adb...
[HTC Desire S] amidabuddha:
If you cant use a simple command line then you probably do not really need a custom kernell :)

Sent from my HTC Desire S
[HTC Desire S] dmatik:
What about those who used "Tweaked3_5.0_S-OFF.zip"? The file is still the same on OP...

Should we still push gain the "52-zram" from "Tweaked3_5.0_HTCDEV_modules.zip"?
[HTC Desire S] amidabuddha:
The name is the same, but 50-sweep2wake and 52-zram are replaced with the corrected ones. And the md5sum is different too.

About the sweep2wake state you can just change the existing file with a file explorer, but for the additional RAM you have to use the updated 52-zram script
[HTC Desire S] ozguy:
My UV sensitive DS hardware is perfectly happy with your version 5. Running with Nik project @ 1305 Mhz and all sweet!! Also decided that S-on is a pain so now S-off - but made no impact to sensitivity for UVing

thnx
[HTC Desire S] mackhenri:
C:\android-tools\android-tools>fastboot flash zimage zImage

sending 'zimage' (3123 KB)...

OKAY [ 0.522s]

writing 'zimage'...

FAILED (remote: unknown fail)

finished. total time: 0.536s
[HTC Desire S] Dreamtheater2003:
Yes, I've manage to fix my computer... :D

Tried this and it gives me 3940 in Antutu using virtuous 1.33 alpha3.. too bad Volage control dont want to hold 1516mhz and always returns to default clock speed 1113mhz.. still :good:
[HTC Desire S] Grant2k:
how disable swap ?
[HTC Desire S] amidabuddha:
This is because the built-in virtuous_oc does not recognize Voltage Control as a OC app

Go to /system/etc/virtuous_oc with a root file explorer, and change the values in wake_max_freq and wake_min_freq as your like. The available values are: 245760, 368640, 460800, 576000, 652800, 768000, 806400, 921600, 1024000, 1113000, 1209600, 1305600, 1401600, 1516800

Delete /system/etc/init.d/52-zram with a file explorer and reboot
[HTC Desire S] Oleg.A.Malygin:
No No Bro))) if "s-offing" or "unbricking"- yeah, then really we need to "know what" & "know how"... use adb and ... temporarily to cover with a cold sweat))). But when I use and get my phone "better-ing" without PC how can I flash some new parts of SW?...

If making flashable zip is difficult then I beg your pardon....
[HTC Desire S] amidabuddha:
Hey "Bro", you can make a flashable zip yourself if you consider this easier than adb ;)
[HTC Desire S] signfinder:
Hi I have rooted stok 4.0.4 firmware on my desire s. S-ON Unlocked. OS-Windows 7 x64

With command "adb remount" i get message "remount failed: Operation not permitted"

CMD run from administrator rights.

Please help me.
[HTC Desire S] Grant2k:
what lib's cifs.ko and tun.ko ?
[HTC Desire S] palej:
Suggest please stable OC values.
[HTC Desire S] amidabuddha:
Try:

su
adb remount

cifs.ko - allows to mount SMB and CIFS shares from a PC directly on your device - this means for example direct copy paste from/to PC, or modify files remotely. etc.

tun.ko - openVPN support, for those that are using it

The enabled frequencies exist originally for this chipset. AFAIK going above 1.5 GHz is risky, but you do not have this option here
[HTC Desire S] imepv7:
pls make a flashable zip for this kernel too. Thanks in advance
[HTC Desire S] Grant2k:
del
[HTC Desire S] palej:
Set 1.5GHz, get 4200 in AnTuTu. Will check how it will be stable and what happens with battery :)
[HTC Desire S] kylon:
this is a great kernel!

do you think to make it compatible with jb?
[HTC Desire S] amidabuddha:
Well I think Andromadus team has more experience in porting than me :)

Moreover after Sense 4 on my Desire S I am not interested in AOSP anymore. If Sense 4.1 comes with JB then I may try...
[HTC Desire S] signfinder:
I have stoсk rooted 4.0.4 firmware.

1. I put all the files in its place with root explorer

2. I have given rights to files through ADB shell

3. I wipe cache and dalwik cache

4. I flash here kernel boot.img-5.0-Sense_ICS (renamed to boot.img)

5. Reboot my desire and get run only in 4ext recovery.

Please help me

Maybe i have one error with new kernel installation - set rights for kernel modules to 644 - not 664 :(
[HTC Desire S] kylon:
sense 4.1 is already out :P

anyway i can t compile the kernel

i m using this toolchain

http://xdaforums.com/showthread.php?t=1686310

in HOME

the kernel is in HOME

export ARCH=arm

export CROSS_COMPILE=arm-linux-androideabi-

export KERNEL_DIR=$HOME\sagakernel

i extracted the .config

make saga_deconfig

make -j8

it says error immediately

i never compiled a kernel,this is new to me,maybe i did something wrong
[HTC Desire S] amidabuddha:
664 was a typo, I am writing from my DS. Use the MIUI boot.img it will work. I will add it to the first post

Sent from my HTC Desire S
[HTC Desire S] alfredino85:
I have made the flashable zip file it work only on s-off device.

this is the link to folder:

DELETED

PS: Make a nandroid backup before shash the zip.

Thanks to amidabuddha for your fantastic work!

edit: i have found an error in the second flashble zip now the tun module is properly loaded at startup, i'm sorry, now all works.
[HTC Desire S] signfinder:
Yes it work

With kernel for MIUI work fine with stock 4.0.4 firmware.

Thanks

Antutu without overclocking +10 points (3087) comparison with stock kernel 3.0.16 (3077)
[HTC Desire S] leimrey:
Adb is much easier :D

Finally updated my kernel into tweaked 5.0!
[HTC Desire S] booce:
Excellent work on the CIFS and VPN support, I can confirm both are working properly. Thanks for the hard work on this.

Booce
[HTC Desire S] signfinder:
amidabuddha

for working command adb remount in stock 4.0.4 firmware need first flash your boot.img
[HTC Desire S] Trollizas:
My wlan wont work on miui v4
[HTC Desire S] rain987:
Running this with ice ds, disabled screenshot and has been sweeping ever since. Using lionheart and deadline, frequ on 1209 and 368. Everything working fine on my end.

now i can s2w just to know the time then immediately s2s to off the screen. There should be an app for this :p
[HTC Desire S] Cole07:
Thanks for great Kernel!
[HTC Desire S] Metallurgico:
To amidabuddha:

No-Frills CPU app works too: I can choose frequencies, governors and I/O schedulers with no problems.

Thanks for your kernel!
[HTC Desire S] old.splatterhand:
Dear sir amidabuddha, i like your kernel, the speed is really ok.

But could it be, that the kernel breaks my Wifi in my Router (not in the Handy)?

When i start the Wifi in Desire S, after some minutes all my network connections doesn't work anymore.

If is disconnect Desire S from network, connections will start to work after a short time.

I m confused :confused:
[HTC Desire S] amidabuddha:
The wireless driver is the stock one, no changes. Have you got this issue with another Sense ICS ROMs?

I have 2 wireless routers at home, never had issues with both...

Sent from my HTC Desire S
[HTC Desire S] old.splatterhand:
No, hadn't this before. I don't really know, when this started, but i'm sure this wasn't before source code was out (in earlier versions of VI with stock kernel).

Maybe i have to test, if stock kernel solves it.
[HTC Desire S] Sotik11:
Unfortunately it does not work :(

Can you port it from THIS kernel?
[HTC Desire S] old.splatterhand:
I flashed back to

[B]Kernel-Version[/B]
3.0.16
stefan@stefan-Inspiron-1525 #0
PREEMPT

and the problem with wifi disconnetion seems to be gone.

I wait now more than 30 minutes and all is working like it should.

Before in less than 10 - 15 minutes my wifi was dead.

I changed nothing else.

I had this problem definitly since v4.7 and 5.
[HTC Desire S] amidabuddha:
Yes it seem that the problem was in the driver.

Tomorrow I have a surprise for you all :)

Sent from my HTC Desire S
[HTC Desire S] dan-fish:
You need to give this kernel a cool name to reach perfection amidabuddha! ;)
[HTC Desire S] leimrey:
Yeah, new name sir!

Amida Kernel?

Amdbd Kernel ;)