yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] brainzasif:
i have the latest official miuirom v2.11.5 from www.miui.com.

I followed all the instructions as stated in the first post but after I'm done installing the kernal my WIFI is disabled and i can't seem to enable it. The steps i followed are as follows:

1) Wiped System

2) Wiped data

3) Wiped Cache

4) Wipe Factory default/cache wipe

5) Wipe Dev Cache

6) Installed the ROM

7) Flashed the Tweaked3_8.6.zip from CWM

8) Than without restarting ran these commands:

adb reboot bootloader

fastboot erase boot

fastboot flash boot miuiv4_boot.img

9) restart the phone

My WIFI just doesnt work !!!

help please.
[HTC Desire S] amidabuddha:
In terminal emulator on your phone type "lsmod" without the quotes. If you see nothing as an output you will need to update your busybox and reboot. If still not working reinstall the kernel

Sent from my HTC Desire S
[HTC Desire S] teadrinker:
Could it be, that your hboot is 2.02.xxx?
[HTC Desire S] amidabuddha:
This is taken into consideration in the Aroma installer. But if the user does not select it during flashing it will fail of course
[HTC Desire S] teadrinker:
Or is it possibly an issue with Cwm and the /system/lib partition?
[HTC Desire S] amidabuddha:
It is more likely a busybox issue to me. The chinese devs put much more effort on the looks than on the system stuff. I have even noticed that they made an attempt to activate run-parts in the kernel that comes with MIUI but the approach was wrong. And most probably there is no run-parts symlink in the /system/xbin folder thus not loading the modules resulting in a WiFi malfunction. The "zero size files" issue is also a busybox problem to me caused by wrong setting of permissions. But there may be also other reasons that I hopefully covered in the first post. So the only necessity here is for people to read and understand :)
[HTC Desire S] amidabuddha:
Version 9.0

Changelog:

Compiled with the latest Linaro Toolchain 4.7.3-2012.10

Patched to Linux Kernel version 3.0.51 (10x to oliverclaude)

Ondemand and Interactive governors synced to upstream (10x to Andromadus)

Scheduler improvements (10x to faux123)

Enjoy!
[HTC Desire S] anazhd:
well, imma try this, goodbye reaper governor ( for now ).
[HTC Desire S] Metallurgico:
Works great!
[HTC Desire S] mackhenri:
just noticed the done button is missing while connecting the usb cable,,is it me only or anyone else
[HTC Desire S] amidabuddha:
Let me guess - you are on Sabsa. Wrong thread?

Sent from my HTC Desire S
[HTC Desire S] anazhd:
whether sabsa or cooldroid, this only happens on sense 4.1. definite wrong thread.
[HTC Desire S] amidabuddha:
I can say that the new ondemand/deadline combo is quite good in terms of CPU load and time in state. It seems on-demand uses all frequencies not only min and max

Sent from my HTC Desire S
[HTC Desire S] old.splatterhand:
Which boot.img should we use for ViperSaga (Tweaked Kernel)?
[HTC Desire S] teadrinker:
Think... Is it stock sense 3.6? No. Is it custom sense 3.6? No. Is it virtuous infinity? No. What is it then? ;)
[HTC Desire S] jugg1es:
I used the sense 4 installation, works lovely

I'm your huckleberry
[HTC Desire S] Taurdas:
Sense4_boot.img - for other Sense4 based ROMs

works great.
[HTC Desire S] mackhenri:
Sorry guys and yes i guess its on all 4.1...(never checked it before flashging kernel 9 this is the reason posted it) My bad sorry
[HTC Desire S] PVL_93_RU:
Noticed strange thing:

Using both 8.6 and 9.0 versions on Sense 4 ROMS = wi-fi tethering works fine

But!

Should I enable "Allow only approved users to connect" in the Hotspot's settings = tethering breaks, and no device can connect to me

Which means that either I'll anybody who knows the password to connect to me, or no hotspot on Sense 4 ROMS, or back to Sense 3.6

And since I doubt that Back2Basics version will do better - I'll be waiting for 9.1 with the (possible?) fix

Also, are the latest versions compatible with the recent ROM which is ViperSAGA?
[HTC Desire S] amidabuddha:
And what you suggest? And how many people know your password? Can't you change it? WTF? I am not HTC I'd you have complaints email it to the company..

Sent from my HTC Desire S
[HTC Desire S] PVL_93_RU:
I think you missed my point

As I said, tethering stops working after enabling "Allow only approved users" in the hotspot settings. Without enabling that - tethering works fine

On Sense 3.6 ROMs with your kernel - I never faced this issue
[HTC Desire S] teadrinker:
So it's not a kernel issue? Why are you posting it in this thread then?
[HTC Desire S] PVL_93_RU:
How is it not a kernel issue if I used this kernel on S4 ROM and this happened?

If it was ROM specific - I would post it there.

If there was something wrong eith my device - I would post somewhere else
[HTC Desire S] teadrinker:
You said it was only happening on s4, I can't see it being a kernel issue if it works ok on s3.6, most likely an issue with the native s4 wifi tethering app.
[HTC Desire S] PVL_93_RU:
Maybe you're right...
[HTC Desire S] brainzasif:
hey buddy can i use tweaked version 9 with cynogenmod 10 beta builds?
[HTC Desire S] glacier1122:
no,,, why u no read first page??
[HTC Desire S] jugg1es:
Because people don't read the op they just use it to download. Don't you know anything:rolleyes:

I'm your huckleberry
[HTC Desire S] brainzasif:
ok so lets put it this way.... cynogenmod 10 is a ICS 4? or SENSE 4.0?

I read the OP but IAM A BIG NEWBIE.. :( SORRY
[HTC Desire S] jugg1es:
This is for ics+ sense. Cm10 is not a sense Rom so no. There are plenty of kernel variations for cm and aokp you'll find them in the index. And in the threads for the roms

I'm your huckleberry
[HTC Desire S] teadrinker:
Cyanogenmod is not sense. It's much closer to stock android (nexus) Than stock htc (Sense) and doesn't use the htc framework and stuff. Cm 10 is also android 4.1 (jb, not ics anymore) so there's lots of reasons this kernel will not work with that.
[HTC Desire S] shrome99:
No, CM10 isn't ICS 4 or Sense 4. You CANNOT use this with CM10.

CM10 is based on Android 4.1 (codenamed jellybean or JB) and the others are 4.0 (ICS or Ice Cream sandwich). This kernel is for ICS, not JB :)
[HTC Desire S] brainzasif:
Great!!! Thank you:D
[HTC Desire S] codryn:
Hi. I`m using Ice Cream Saga FINAL (v2.0) and I wanted to update the kernel to 9.0. I have tried tweaked and b2b and bouth of them are breaking my wifi. I can`t enable it anymore (using stable and experimental). Second bug is about s2w. First time I have enabled him in aroma installer but after reinstalling the kernel and choosing disabled, it does not disable it.

edit: after some retries Wifi is enabled again but s2w is still enabled and i choosed to be disabled.
[HTC Desire S] mayurh:
viper saga

amidabuddha

can i use your 9.0 kernel on Viper saga?>
[HTC Desire S] jugg1es:
Yes

"When it comes to thought, some people stop at nothing".
[HTC Desire S] teadrinker:
Htcdev unlocked? Flashed the boot.img? Had a few MB free on the /system partition? Updated busybox?

Edit: chose the correct option (stock sense 3.6) in aroma installer?
[HTC Desire S] amidabuddha:
Both of your problems (WiFi and s2w) are related to BusyBox. Update it (why do you people continue not reading the first post??? why do you think I wrote the stuff there?) and flash the kernel again
[HTC Desire S] codryn:
I read first page but I thought that if previous version of your kernel was runing on my sistem with current busy box the 9.0 should work too. I will update it now. Ty

edit: after update of busybox I had same problems. Reverted to kernel that came with .2.0
[HTC Desire S] amidabuddha:
Ok lets investigate a bit.

Ice Cream Saga is coming with the Experimental kernel for Sesne 3.6. It is creating a set of files required by the WiFi subsystem to work properly. If you are upgrading to Stable kernel for Sense 3.6 there may be a confilct in those files permissions. Give us some info :)

If this is not the case reinstall busybox with a Smart isntall option (make sure it goes to /system/xbin not /system/bin)
[HTC Desire S] petru.tomsa:
Will work with viperrom for desire s?
[HTC Desire S] jugg1es:
Yes, if your over clocking it don't use the viper tweaks it won't hold. Use a third party app.set cpu will work

"When it comes to thought, some people stop at nothing".
[HTC Desire S] codryn:
Hi amidabuddha. I have installed experimental kernel not stable. I have tried smart install/normal install of busybox, normal install of 9.0 kernel, then I made manually wipe of cache/dalv, format boot partition and then install of kernel and same results: s2w does not disable and sometimes wifi was not enabling itself. This kernel is so good that maybe has a brain of is own :))

I forgot. Is always installing in /system/xbin .
[HTC Desire S] amidabuddha:
Ok can you check the scripts in the /system/etc/init.d

Maybe there is a conflicting one

Sent from my HTC Desire S
[HTC Desire S] thedieselspaceship:
Excuse me guys for the offtopic, but which combination of the scheduler + governor is the best for performance and battery save simultaneously?
[HTC Desire S] amidabuddha:
Since version 9 there is updated on-demand and slightly optimized deadline, I am using them at 1.5 GHz. Battery seems ok, because the new code of the governor now uses all frequencies, not only the min and max as before

I even consider to remove some governors to have cleaner code, so maybe users can share which they use the most. The same goes for schedulers

Sent from my HTC Desire S
[HTC Desire S] thedieselspaceship:
Thank you very much.

One more question:

is the new wi-fi driver module located in tweaked3_9.0/bcmdhd/system/lib/modules directory?
[HTC Desire S] amidabuddha:
Yes. bcm4329 is the old one. Also to have working WiFi you need all files from the bcmdhd folder

Sent from my HTC Desire S
[HTC Desire S] CoolButcher:
update fails after dexo

Hello amidabuddha,

i used your guide to deodex Fallout 5.0 and move libs to system_lib partition. All worked well with version 8.6 of your kernel.

Now i tried to update the kernel with your zip but i end up losing wifi-support.

I'm not sure what goes wrong. Seems like all files are there and the permissions are set correctly, too.

I also tried to flash your lib_boot.img afterwards (thought perhaps they are different ones) but it changes nothing.

What am i doing wrong?

Greetings, Kirill
[HTC Desire S] kwisatz79:
The zip file copies the modules to the "old" location on the system partition, you have to copy them to the system_lib partition in recovery (like in the guide), then flash the modified boot.img (ramdisk modified) from the dexo thread.
[HTC Desire S] CoolButcher:
Thanks very much. Now it works.

amidabuddha can you provide a zip with lib support for future releases? should be just some little changes in aroma, right?
[HTC Desire S] petjoh:
I use that combination too (ondemand/deadline) and it works really very well to me (performance/battery consumption ratio is excellent). No other kernel related issues noticed, all works well on daily usage. Frequencies are used also very well - I have 245 - 1.5 GHz set, 245 is used for 65%.

This is great result, I think. Thanks for this development.
[HTC Desire S] rain987:
Stable version working well with miui v4. Got it to boot with 1 clean install.

No issue whatsoever.

But i did try the experimental, wifi was unable to connect. Search for miui on this thread, got 4 pages long, read and tried everything from copying the files manual to busybox.

I might have miss out a post/file/command so it failed. But at least i got the stable version to work, just needed the s2w function.
[HTC Desire S] remusator:
Im probably still noob in android.

But what is advantage of this kernel to the stock one ? Better performance / battery life ?

I don't want to set CPU frequencies etc.. Will it improve anything ?

Srry for noob question.
[HTC Desire S] glacier1122:
u said it urself ,,, Better performance / battery life!
[HTC Desire S] glacier1122:
amidda ,, i want to ask something,, is undervolting limited to unstability or it also affects performance ?? i undervolt ,until my phone gets unstable ,,, i was wondering ,, if my phone is stable With undervolt,, but does it have a impact on performance,,,??
[HTC Desire S] amidabuddha:
You can tell me better how it is on your device. It is individual. And I do not undervolt so no observations on it.

Sent from my HTC Desire S
[HTC Desire S] dont know:
For me there is a impact on performance. I have to OC if I UV - so it's senseless for me...

Just test it out - with some benchmark tools - or even better in daily use.

If ROM does not feel laggy, enjoy 2-4% more battery life.
[HTC Desire S] glacier1122:
im using -25 uv ,, with daemon controller, andrev-oc installed,, oc 1.2 ,, it does not lag much
[HTC Desire S] Jager23:
since the voltage in this kernel start from 1000, i'm using -150 so i can start from 850 that should be,more or less, the stock voltage for 245mhz...and it doesn't lag...
[HTC Desire S] amidabuddha:
Where did you got that? Stock voltage for 245 MHz is 1000 for both GB and ICS stock kernels. And I kept them stock here too
[HTC Desire S] Jager23:
i read that in some forum...and i found this voltage as stock in another rom (now i don't remeber which rom) so i was thinking that it was the stock voltage...
[HTC Desire S] amidabuddha:
Version 10 (X)

Changelog:

Patched to Linux Kernel version 3.0.52

Updated WiFi driver from HTC Desire X source

Removed all third party governors

Removed BFQ, VR and CFQ schedulers

Tweaked SIO for better performance on Android

Included Asynchronous I/O latency commit from Andromadus repo - seems to increase CPU-float point in Antutu

All modules built-in, except the one for WiFi Calling (kineto-gan.ko - optional)

No more init.d scripts, except for sweep2wake

During installation a /system/etc/init.d folder will be created, with the right permissions on ROMs that do not have such

Enjoy! :)
[HTC Desire S] Aleeksandar85:
work grate on wiper saga
[HTC Desire S] dan_alexandre:
Hey, thanks for the update :)

I did notice something though.. task manager now won't show any open apps since i've updated to TW X.

Can someone else check if this happens as well?

Edit: Running Viper Team's rom
[HTC Desire S] cript0n:
For me is working fine. Running ICE_DS

Enviado desde mi HTC Desire S usando Tapatalk 2
[HTC Desire S] Jager23:
task manager working fine. running Blackout ICS Incredible
[HTC Desire S] Aleeksandar85:
Why not show me opened apps in task manager?
[HTC Desire S] Jager23:
anyone had sound blackout??? is it possible that something is not right with this kernel???
[HTC Desire S] dan_alexandre:
Now for the first time in a long time, my launcher has somewhat frozen for some actions

Got stuck in the home screen, could only pull notifications, home button and back button worked.. everything else i couldn't access

Going back to 9.0 for now ;S

This happened after a long time idle.
[HTC Desire S] amidabuddha:
Besides the reported here issues I found out that the new WiFi driver performs worse.

So please do not install I will release a fix today.

Sent from my HTC Desire S
[HTC Desire S] amidabuddha:
Version 10.0 (X) fixed

Updated changelog:

Patched to Linux Kernel version 3.0.52

Removed all third party governors

Removed BFQ, VR and CFQ schedulers

Tweaked SIO for better performance on Android

All modules built-in, except the one for WiFi Calling (kineto-gan.ko - optional)

No more init.d scripts, except for sweep2wake

During installation a /system/etc/init.d folder will be created, with the right permissions on ROMs that do not have such

Enjoy! :)
[HTC Desire S] Aleeksandar85:
and again, not have open apps in task manager viper saga rom fix that or can you send me v9 on pm i deleted my
[HTC Desire S] signfinder:
Why?
[HTC Desire S] amidabuddha:
Because the updated Ondemand and Interactive are much better than them all

I have made some searching and it appears that this issue is present in Viper ROMs for other devices too, so most probably it is not kernel related (moreover there are no changes towards this in the kernel)
[HTC Desire S] maniek:
hello I installed Tweaked3 X today on CoolDroid Revolution v 8.5 and task killer don't shows running programs
[HTC Desire S] jeryco:
task killer doesn't work, on Fallout 5
[HTC Desire S] mizerok:
I think it's not a big problem, i don't use it at all
[HTC Desire S] nodeffect:
Wanna report that on sabsa, task manager doesnt show any app anymore...
[HTC Desire S] Jager23:
For me work on blackout,but every app has 0kb for memory occupation
[HTC Desire S] petjoh:
I can confirm this issue on ViperSAGA ROM too. I'm almost sure it is related to the new Tweaked X kernel installation. Tasks stop showing in Task Manager just after I installed it.

Otherwise it's running smoothly without any other issues.
[HTC Desire S] holvoetn:
Same behavior on Virtuous Infinity.

But who wants to use Task Manager anyhow on Android ??
[HTC Desire S] PVL_93_RU:
by Task Manager do you guys mean the app that can be called out manually from the quick settings or the multitask dialog (AKA Recent Apps)?
[HTC Desire S] petjoh:
Can be called from QuickSetting or from app drawer. Not the recent apps.
[HTC Desire S] PVL_93_RU:
Lol who uses that on Android 4.0+? It has become absolutely useless in ICS
[HTC Desire S] dan_alexandre:
Can be useful in some circumstances, not because of freeing memory but just ending an app that is being annoying.. anyway it isn't about usefulness.. new kernel is out.. just reported what stopped working for me :) If amida doesn't have feedback how can he improve stuff?
[HTC Desire S] Aleeksandar85:
i back v9 and shows app in task manager, i send report to amidabuddha
[HTC Desire S] amidabuddha:
Since I haven't made changes in this relation it is probably in the .52 patch and will be fixed soon.

If someone needs this so much revert back to v9. I personally can live with it.

Sent from my HTC Desire S
[HTC Desire S] amidabuddha:
Task Manager issues fixed.

For those who care it was indeed an issue with the upstream code (Linux kernel patches), but for older one: 3.0.43. It was fixed by a EVO 3D kernel developer anryl and commited by Coolexe (his Github repo is my main source for upstream patches). I have unintentionally reverted the fix while cleaning up.

So the link in the first post is updated. Go go go :)

And as always: Enjoy! :)
[HTC Desire S] maniek:
now work great!! :)thx
[HTC Desire S] petjoh:
Task manager is back again and works well on ViperSAGA! Great work! Thanks Amidabuddha.
[HTC Desire S] dan_alexandre:
Thanks for listening man, task manager does have its usefulness for me :good:

Will surely give it a try again :)

Edit:

Everything's working good
[HTC Desire S] mackhenri:
Google is my search god and u kernel god.

Sent from my HTC Desire S
[HTC Desire S] Quark^2:
I love your kernel, going to upgrade to X soon.

I'm wondering, is there any news about the not working native tethering for the experimental Wifi driver?

I'm running ICE_DS with Sense 3.6 and I'd like to try the experimental Wifi driver, but I use Wifi tethering a lot. I know I can switch to a 3rd party app, but prefer to have a system where everything works and I won't accidentally enable native wifi tethering sometime.
[HTC Desire S] signfinder:
new wifi driver-only for Sense 4.x.
[HTC Desire S] Quark^2:
This from OP says something different:

"Custom_Sense36_exp_boot.img - EXPERIMENTAL (New wireless driver, without issues in standby. Native WiFi tethering will be broken) - for ICE_DS, Blackout ICS, Stock ICS by masteross, or other custom Sense 3.6 ROM"

So my question again:

Any chance for a resolution for the native Wifi tethering in the near future?
[HTC Desire S] sunand777:
I had updated Venom Rom with this awesome kernel Tweaked3 X ,but i think after updation battery draining is increased... I have changed CPU frequency to 1.5 with DAEMON CONTROLLER..
[HTC Desire S] Aleeksandar85:
of course big overclocking drain battery
[HTC Desire S] amidabuddha:
No.

There are more than kernel changes and I cannot make it work for both Sense versions at the same time. One will be broken. Sorry.

Let it settle for a couple of days. I had great battery life on Viper at 1.5 GHz.

Also I have noticed great improvement if auto brightness is disabled

Sent from my HTC Desire S
[HTC Desire S] Quark^2:
I was wondering why. But I now understand that it's fixed for sense 4.0 and broken for 3.6 and that it's impossible to fix for both.

Anyway what are the advantages of the new wifi driver? Any significant battery or performance improvement?

I guess I can remove the stock Wifi Hot spot app and install a 3rd party app..
[HTC Desire S] teadrinker:
The main advantage is described in the first post, the old driver keeps the phone more awake, so uses more battery while the screen is off.
[HTC Desire S] amidabuddha:
And IMO the new driver had more stable connection and better reception. I have signal in spots at home where I haven't before or it was very poor

Sent from my HTC Desire S
[HTC Desire S] cybercat1:
Thanks for your work, man. But X-version in task manager have each apps size = 0. It was installed as "stable" (with wifi), no additional packs, ICE_DS. Rolled back to v.9. If it will help - I'm glad, if not, well... treat it as senseless comment ;)
[HTC Desire S] amidabuddha:
Please read the last two pages of the thread

Sent from my HTC Desire S
[HTC Desire S] glacier1122:
can i flash this via adb wireless?? no fast boot,,
[HTC Desire S] amidabuddha:
You can try copying the boot.img to the sdcard and use "dd" to flash it:

adb push boot.img /sdcard
adb shell
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p22
exit
adb reboot

But I am not sure it will work because the kernel partition is in use
[HTC Desire S] mayurh:
amidabuddha

Thanks for the awesome kernel. appreciate it

i see you saying that you cant get it working on both sense 4 and 3.6 kernels at the same time

i know its time consuming but maybe if you get time make a version for sense 4 roms and another for 3.6 roms?

i know its alot of work but just wondering if its possible later on?

:good:

Oh i see you using blackout rom at the moment?hows that working? no issues?
[HTC Desire S] teadrinker:
There are even more versions than that in the installer, all the options you could possibly want.
[HTC Desire S] mayurh:
I know

im talking about the new wifi drive and Wifi tethering issues some users are experiencing
[HTC Desire S] teadrinker:
It's not that some users are experiencing problems, the native wifi tethering does not work on sense 3.6 with the new driver. That's why there's the "stable" option in the installer.
[HTC Desire S] lowveld:
Should be ok, the partition should not be in use. At boot the kernel zImage is uncompressed to ram, and the included file system is mounted as ram drive without loop back.

By the way, I think I said it before, but great work man.

Cheers
[HTC Desire S] amidabuddha:
For some reason I couldn't get the hotspot working with the default (so called Stable by HTC) driver. But I am not using this feature and run it with the new driver because of the reasons I described many times.

I guess at some point Sense 3.6 will become obsolete, so what is the point to put more efforts there? If you need 100% functionality your only path are the official releses

Sent from my HTC Desire S
[HTC Desire S] Skanob:
Better get ready for a One SU or better yet One SV ports. I'm hoping that the latter is the closest thing that we could ever find for a resizing-less issues non chinese ROM.

Here's hoping for the best.

Edit:

For a full Sense 4 or better yet if coming, Sense 4.1 ROMs. Sense 4+ anyone?
[HTC Desire S] amidabuddha:
Looking forward to it :thumbup:

But my anticipation now is aimed on the first JB Sense for WVGA device. I hope it will be One V, which remains closest to ours in terms of hardware (at least the fail with the Desire X WiFi driver proved this)

Sent from my HTC Desire S