yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] amidabuddha:
Yes, but I had to try. In this post you mention the UV, which is now optional. And Tiamat kernel has more than 50 frequency still I remember it with great performance and battery. But there are changes in kernel 3 regarding the frequency control. So I have tried, failed and now reverted for good :)

No, the defconfig is different. But I am sure that soon l0st prophet or Noverbose will bring it (with more or less the same features) to your device

Sent from my HTC Desire S
[HTC Desire S] Grant2k:
secure configuration UV for my device:

245MHz -150mV

368MHz -150mV

768MHz -100mV

806MHz -100mV

1024MHz -100mV

1200MHz -100mV

1401MHz -75mV

1497MHz- 75mV

I hope someone will be useful
[HTC Desire S] glacier1122:
what will be the best ,stable, battery friendly voltages for our device? i tried to figure it out on my own , but my device became unstable.........
[HTC Desire S] amidabuddha:
It depends on each device I am afraid. The values posted by Grant_2k are pretty nice. I am using -125 on all freqs and the device is stable. I guess you can use the values that are +25 of the ones that make your phone freeze
[HTC Desire S] croesus:
I tried 2 different busy box installer but still there is no such a file named "run-parts" in system/xbin/ directory. Any other advice?
[HTC Desire S] Grant2k:
in Fallout Evolution with the Fallout kernel in the standby mode 6-8mA, in Virtuous Infinity with kernel 7.1 - 12-16mA. What are the thoughts on this?
[HTC Desire S] amidabuddha:
Stable version 7.1 for Sense 3.6/MIUI

Version 5.0 Stable for Sense3.6/MIUI users is replaced by 7.1 but with the old WiFi driver. This means it has all benefits of the latest version but uses bcm4329_248 driver (that is used in the 5.0 stable as well) for those of you who wants the latest kernel with working WiFi Tethering in Sense 3.6 ROMs. If you do not need Tethering using the 7.1 Experimental is still advised.

These files come with a warning: it seems that HTC developers made this driver in a hurry and it is not optimized. There will be battery drain caused by wakelocks (particually dhd_wake_lock_link_pno_find_event and dhd_wake_lock_link_event of this driver which will cost you 2-5 % battery over night.

Install via flashable zip recommended, no wipes or other actions required.

Enjoy!
[HTC Desire S] SteveO_:
When you install the busybox in /system/bin, run-parts is in /system/bin.

If you install in /system/xbin, it should be in /system/xbin.

For the case it's not in xbin, you can easily set a symbolic link to busybox like this:

adb shell:

ln -s /system/bin/busysbox /system/xbin/run-parts

or:

ln -s /system/xbin/busysbox /system/xbin/run-parts

Just look where your busysbox is installed and use the matching commandline...
[HTC Desire S] amidabuddha:
Fallout is Sense 4A remember? It is lighter than full Sense 4. Flash 7.1 on Fallout and check the drain in stand-by again

Sent from my HTC Desire S
[HTC Desire S] Grant2k:
theoretically version Sense should not affect, all applications have to stop in the standby mode...

but I'll check as you said
[HTC Desire S] maxlieb:
2nd time I read about that "mysterious chinese ROM" but don't seem to find it, can you share the thread link / source? :)

@ amidabuddha -

about the 7.1 experimental - it will break NATIVE wifi hotspot, but will it be possible to use a third party and use a real hotspot (not ad-hoc)?
[HTC Desire S] amidabuddha:
Wrong, there is a bunch of wakelocks and apps alarms all the time. Install BetterBatteryStats and you will see

Sent from my HTC Desire S
[HTC Desire S] c.m.b:
http://xdaforums.com/showthread.php?t=1891475
[HTC Desire S] amidabuddha:
There is new stable version for Sense 3.6 if you need Tethering

Check the OP for more details

Sent from my HTC Desire S
[HTC Desire S] maxlieb:
Yes, I know, but you wrote yourself that it will drain battry, and tetherimg is important to me, yet I don't use it that often, and I care less if it's native or not as long as it works on the occasions I need it.
[HTC Desire S] amidabuddha:
Try different tether apps from the market. I haven't checked since I do not like Sense 3.6 and use 4 since it was available

Or try Fallout with my kernel 7.1, until lowveld updates his, you won't regret it

Sent from my HTC Desire S
[HTC Desire S] maxlieb:
been using fallout... like ice ds more :)

will try the kernels and report

EDIT: ok, so third party apps are no go... looks like stable it is. =/

maybe will give fallout 2nd chance
[HTC Desire S] toxic-hero:
sorry, i didn't quite understand this, is WAV support working or not?
[HTC Desire S] amidabuddha:
If you put a wav file on the sdcard and play it it is ok. So for me it is issue of the app

Sent from my HTC Desire S
[HTC Desire S] lowrider82:
The 7.1 normal does it also break wifi tethering on miui v4 or only on sense roms?

Sent from my GT-9100@MIUI 2.9.14+Siyah kernel v4.1.5 CPU@1600 GPU@400
[HTC Desire S] signfinder:
wifi tethering break on all sense 3.6 roms

---------- Post added at 10:46 AM ---------- Previous post was at 10:41 AM ----------

Tell me what the problem kernel release 7.1 for Sense 3.6? After all, the wifi router works fine on these firmwares, the problem is that after off wifi router without device rebooting can not activate the normal wifi
[HTC Desire S] amidabuddha:
If you remember I told you that at v5 my support for Sense 3.6 ends.

But since v5 has the battery drain issue I decided to release v7.1. But I release it as it is, the only testing I have done is to try the tethering in ICE_DS and it worked fine , WiFi too after that.

But I always do it like this:

WiFi ON

Data ON

Tethering ON

do whatever you do on the PC

Tethering OFF

WiFi starts by itself, no need activating

Sent from my HTC Desire S
[HTC Desire S] toxic-hero:
so we (the 3.6 loonys) won't get any more of your kernel goodies? sorry to hear this. are we such a small minority among desire s ICS users?
[HTC Desire S] Grant2k:
amidabuddha

в режиме ожидания

fallout 5 с родным ядром - 10mA. fallout 4 с родным ядром - 6-8mA, infinity с 7.1 ядром - 10-12-14mA, fallout5 c ядром 7.1 - 12mA

вы правы на счет того что виновата прошивка, а не ядро

НО, на моем аппарате с включенным s2w через время в режиме ожидания повышается с 14mA до 28mA, может быть это какая-то аппаратная проблема конкретно моего экземпляра?

-------

standby:

fallout5 native kernel - 10mA. fallout4 native kernel - 6-8mA, infinity 7.1 kernel - 10-12-14mA, fallout5 7.1 kernel - 12mA

you are right about the fact that the blame for the firmware, not the kernel

BUT, on my device with enabled s2w, a standby time increases from 14mA to 28mA, maybe this is some kind of hardware problem of my particular instance?
[HTC Desire S] amidabuddha:
What do you mean??? You just got a stable 7.1 version

But these results are saying the opposite

fallout5 native kernel - 10mA

fallout5 7.1 kernel - 12mA

So it is a kernel after all, but 2mA is negligible, don't you think. I have a great battery life in standby - the battery percentage is not changed, even over the night.

Thanks for the investigation

EDIT: are you doing this measurments with the same frequencies, governors and schedulers?
[HTC Desire S] toxic-hero:
no, i mean for the future. the goodies that are yet to come? ;)
[HTC Desire S] amidabuddha:
I think this is the final version at that point. I have included all optimisations that I consider sensible, all popular governors, latest 3.0.x patch, additional modules support, configurable sweep2wake. What else do you need? The areas of improvement are the ROMs from now on and this depends on the other devs

Sent from my HTC Desire S
[HTC Desire S] Grant2k:
all parameters is default
[HTC Desire S] amidabuddha:
On Fallout the default scheduler is deadline, here is noop

Sent from my HTC Desire S
[HTC Desire S] toxic-hero:
ah, didn't know that.
[HTC Desire S] SamePaul:
amidabuddha maybe you can help me on something. I currently have tweaked 6.0 and tried to add script to init.d. The script should modify iptables (to enable redirection of port 443 to non-privileged port). This script works as a charm when run from "adb shell" (or from Terminal Emulator). However iptables are not modified when this script runs during boot.

First I thought that perhaps it doesn't run at boot. So I added logging to /data/iptables.log and it appears that the script does run. Though doesn't have any effect.

Do you have any idea why this could happen? Maybe the script gets executed too early? In this case, is there way to run it later?

#!/system/bin/sh
su
iptables -A PREROUTING -t nat -p tcp --dport 443 -j REDIRECT --to-port 8443 2>> /data/iptables.log
iptables -A INPUT -p tcp --dport 443 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT 2>> /data/iptables.log

iptables -L >> /data/iptables.log

---------- Post added at 01:42 PM ---------- Previous post was at 01:28 PM ----------

Also I noticed that from 7.1 you have removed cifs (and other modules). Does it meant these are not supported anymore or I can keep those from 6.0?
[HTC Desire S] amidabuddha:
The modules are built-in now. They work out of the box. For the init.d scripts you do not need to put su in the script. Also make sure you have /system/xbin/run-parts present.

Sent from my HTC Desire S
[HTC Desire S] Nazri786:
after 1 day my battery losing about 50% of its power using wifi,mobile data and google navigation quite a while....i would recommend this kernel to fallout 5.0 user....u will notice the difference...thanks for the update amidabuddha....
[HTC Desire S] SamePaul:
Yes, I know it is not necessary. I just keep it there to be able to run same script easily from the terminal (it doesn't run root by default). I added it later when observed that the script actually doesn't work during boot.

Regarding to run-parts - I do have them.

And just to make sure we're on same page - the script IS executed during boot. It just somehow doesn't update iptables (in last line of the script I dump iptables configuration into the same log right after configuring and I see that chains didn't change). However when I run same script from terminal it does the jobs just perfectly. :eek:
[HTC Desire S] amidabuddha:
@SamePaul

Seems like a messed up busybox configuration. Update it and make sure that everything is going to /system/xbin not somewhere else

No other ideas, sorry

Sent from my HTC Desire S
[HTC Desire S] amidabuddha:
@SamePaul

EDIT: I have noticed that the undervolt command does not work after su. So maybe that is your case too. Remove su from the script and try

Sent from my HTC Desire S
[HTC Desire S] Grant2k:
а это нормально что вместо rw-r--r-- rwxrwxrwx и ссылка на другой модуль?

----------------------------------------------------------------------------------------------------------------

it is normal that instead of rw-r - r - rwxrwxrwx and link to another module?
[HTC Desire S] UmairAhmad:
Guys is there any app through which i can change settings of smartass v2?
[HTC Desire S] amidabuddha:
With my kernel these files do not count. You can safely delete them or just leave them. They do not do anything
[HTC Desire S] Grant2k:
whether using kernel fix reconnect Wi-Fi?
[HTC Desire S] ayene:
I have one question of the kernel maker.

when i use his kernel my wifi don't work. That is because of area of my phone(mea).In the past i use wifix manager and the apk solved my problem, but in this kernel wifix manager don't work. and i have the problem with any rom with this kernel.

sorry for bad english.
[HTC Desire S] amidabuddha:
You can use Stable7.1 for Sense 3.6 on any Sense 4 ROM, except Virtuous. Then your WiFi will work, but will not sleep properly (HTC did it that way, sorry) and the WiFi Tethering will be broken. If I find a patch that fixes this country code error I will include it.

Sent from my HTC Desire S
[HTC Desire S] PVL_93_RU:
So I don't understand.. you said that Wi-Fi Tethering is broken in 7.1 Experimental, and now you say that it's broken in 7.1 Stable too?
[HTC Desire S] amidabuddha:
I think he understood me wery well.

When you have a specific problem I will give you a specific answer that probably the other users will not understand too.

That is why there are general instructions in the first post, because they apply to all, not for specific cases

Sent from my HTC Desire S
[HTC Desire S] PVL_93_RU:
Sooo, basically flashing kernel 7.1 means goodbye to tethering?
[HTC Desire S] amidabuddha:
Where did you read that?

Ok since you are so curious I will explain.

There are some countries (not Russia, so do not worry for your tethering) where the new bcmdhd wireless driver do not work when the SIM card is inserted. This means that if he wants to use any Sense 4 Rom with my kernel FOR Sense 4 he cannot use WiFi when his SIM card is in the phone. BUT if he uses the stable Sense 3.6 kernel on Sense 4 ROM (now note that there are no such instructions in the OP and is not recommended anywhere by me) he will be able to use WiFi with his SIM card, but with the negatives I described. So this is a workaround ONLY for him.

I hope now you will sleep well.

Sent from my HTC Desire S
[HTC Desire S] PVL_93_RU:
Oooh, I see now, thanks. So I'll flash it right away then!
[HTC Desire S] SamePaul:
Did anyone actually succeed on this? This app doesn't record other side. Well, it maybe does record echo to mic from the speaker. But it definitely doesn't record it from the line. If I put earphones the other side is absent completely on recording.

What did I wrong? :)
[HTC Desire S] amidabuddha:
For me the volume of other side is very low, but if the file is played on the PC it is understandable.

I have made quite some searching and this is what I found:

- 2wcr is available in Android kernel 3 by default

- HTC partially disabled it due to legal restrictions in some countries.

And when I use skvalex's CallRecorder in AMR the other side is fine, but my voice is distorted. So I guess this guy will make it work properly on ICS in some of his next releases.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Now for the users that like to play with the governors.

I found that very nice app by tegrak to control the lulzactive governor parameters. The same can be done by SetCPU, but in this app each parameter is explained somewhat.

My settings are:

inc_cpu_load: 90 %

pump_up_step: 0

pump_down_step: 0

screen_off_min_step: 1, @368 MHz

up_sample_time: 50 000 us

down_sample_time: 10 000 us

and it ramps quite good.
[HTC Desire S] ayene:
wifi will turn on but don't find any network and after that don't turn off.

I use kernel 7.1 on miui.
[HTC Desire S] amidabuddha:
Which version: stable or experimental?

Which hboot do you have?

Check do you have the files:

busybox

run-parts

in /system/xbin with a root explorer

Sent from my HTC Desire S
[HTC Desire S] signfinder:
Please tell the program to work only with the voltage? To disperse setcpu I use and do not want to change it and do not want function duplication
[HTC Desire S] amidabuddha:
I have not found any yet. But I have not search much, I set my levels in vdd script. But I am 100% sure that they are stable for my device

Sent from my HTC Desire S
[HTC Desire S] miwanr:
Just installed v5.1, antutu score 3503 with intellidemand 245 to 1113MHz
[HTC Desire S] amidabuddha:
Try 7.1 I think you will get better results. You can always revert to 5.0 if you do not like it...

Sent from my HTC Desire S
[HTC Desire S] Nazri786:
the apps FC when selecting screen_off_min_step..

---------- Post added at 12:20 PM ---------- Previous post was at 11:23 AM ----------

woohhh.....my phone hang after selecting max oc.....had to take out battery, reinserted,phone boot up to htc white screen the blackout......nothing......had to take out several time before phone could boot into recovery....restoring my nandroid now...hopefully this will work....
[HTC Desire S] glacier1122:
hey , in the first post i see a note that virtuous infinity has virtuous OC, shuold use daemon control app.... where do i find that app??
[HTC Desire S] teadrinker:
In the link in the first post. If you view the first post of the andrev_oc thread in a browser, there's a download link for the .apk in the signature of the op.
[HTC Desire S] amidabuddha:
Yes it seems like a bug.

If you change the value in /sys/devices/system/cpu/cpufreq/lulzactive/screen_off_min_step to 1 manually with a root explorer it works fine.

As per the hang I hope you did not put an undervolting init.d script. If you did not then better do not OC too much, looks Luke your CPU cannot handle it

Sent from my HTC Desire S
[HTC Desire S] Nazri786:
i am done playing with the OC'ing thing...had to uninstall the apps and set oc at stock frequency....lucky me my phone reboot after nandroid....hehe...:p
[HTC Desire S] petjoh:
It works for me very well too (using Call Recorder - Phone Line as Audio Source in Settings). Volume of other side is slightly low than mine but very good understandable even I play it via phone speaker.
[HTC Desire S] ayene:
I use last miui v4 of this week.

in /system/xbin

I have busybox but not Run-parts.

what is it for?

Sorry for bad english
[HTC Desire S] Steinhund:
I'm back on fallout right now using your latest kernel. Nevertheless I have some problems with my USB port - the phone thinks it is in car mode. So I cannot get any connection to my pc. And some other things, but they are not important. Somewhere I have read that there was a solution somewhere in this thread - but I haven't found it yet. Can someone help me out somehow?

The funny thing is that when I use my car charger it ends car mode :D

I know that this may be due to a corrupted USB connector, buy I didn't had this on CM9 or 10.
[HTC Desire S] SteveO_:
Type in ADB Shell:

ln -s /system/xbin/busysbox /system/xbin/run-parts

Then you should have run-parts, so the init.d scripts can work...
[HTC Desire S] ayene:
u mean wifi will work after this?
[HTC Desire S] SteveO_:
Yes, you only have to proof where your busybox binary is installed.

Case 1:

Busybox is in /system/xbin then the line is:

ln -s /system/[COLOR="Blue"]xbin[/COLOR]/busysbox /system/xbin/run-parts

Case 2:

Busybox is in /system/bin then the line is:

ln -s /system/[COLOR="Red"]bin[/COLOR]/busysbox /system/xbin/run-parts

PS: Tweaked 7.1 / 3.0.43 RULES :good:
[HTC Desire S] amidabuddha:
Information

The latest beta of CallRecorder by skvalex works out of the box (recording in AMR and play on the device in the app). No changes and patches of the kernel required just as I thought
[HTC Desire S] glacier1122:
hey,, which boot.img do you recomend for the chinese rom? virtuous boot or sense boot??
[HTC Desire S] thedieselspaceship:
Guys,

After flashing the new kernel wifi cannot be enabled.

I am using stock ICS rom, s-off via revlutionary, hboot 7
[HTC Desire S] teadrinker:
With active /system/lib Partition? Did you flash the miui package?
[HTC Desire S] thedieselspaceship:
What does miui package mean?

I've installed Tweaked3_7.1-MIUI_StockICS_experimental.zip kernel
[HTC Desire S] signfinder:
busybox installed ?

if it is set - how?
[HTC Desire S] teadrinker:
Yes, that's the one. :thumbup:

Must be a different problem.

If you type lsmod in a terminal emulator or adb shell, does "bcmdhd" show up? Is the 51-modules script in /system/etc/init.d/ ? (should have been put there by flashable zip)
[HTC Desire S] thedieselspaceship:
Yes it is.

busybox binary is located in /system/bin, therefore I set symlink ln -s /system/bin/busybox /system/xbin/run-parts
[HTC Desire S] teadrinker:
I expect the sense boot.img should be the right one, but I haven't used the Chinese Rom myself
[HTC Desire S] amidabuddha:
Version 8.0

Hi guys!

I have spend the past week in a complete revision of the kernel code and testing. I hope this version has been polished enough in any direction to gain a "Stable" status.

Main changes:

Aroma installer - one file for all. No need to do any preparations anymore (like changes of the updater-script, etc) The installer will gather the important information about your ROM and hboot and the flashing process will be done accordingly.

HTCDEV users: there are instructions in the first post which boot.img to flash. Important: if you are using 4EXT Recovery Control for flashing make sure to select the "Stay in recovery after flashing" option!

All governors are tuned up according to the CPU frequencies (should have done it long time ago, sorry for the delay). OndemandX (proved unstable) and Userspace (doubt that anyone even uses it) governors removed

CIFS, TUN, KINETO_GAN, NTFS+NLS_UTF8 and ZRAM moved to modules for optional install (the installer will give you a menu for selection, where the purpose of each module is explained)

Updated LZO compression/decompression method for ZRAM (it sould be at least twice faster now)

TREE_RCU and SLAB memory allocator set as default (as it was in the Stock kernel).

Flash, test, comment, recommend!

Enjoy!
[HTC Desire S] mirok:
At last. Thank you! :)
[HTC Desire S] jos3ang3l:
Amida your link is broken :(
[HTC Desire S] amidabuddha:
Try again ;)

I corrected one small typo for enabling s2w with backlights
[HTC Desire S] jos3ang3l:
Thanks :) its working now!! Great!!
[HTC Desire S] toxic-hero:
@amidabuddha

is there any disadvantage if i install optional modules, although maybe i don't need all of them, like more battery drain or something? or they're just there, doing nothing?
[HTC Desire S] jos3ang3l:
mmm...its extrange, sense and apps seem quickly, but..i got 4100-4200 with v7.1 with virtuous and now 3500-3800...i test it with 768-1497 and brazilianwax..i do a clean install later and report about it

Thanks for your great work amida :good:
[HTC Desire S] TatoValverde:
Just a little comment... On the OP it says that NOOP si the default I/O scheduler, but on the Aroma Installer, it says that DEADLINE is the default I/O scheduler. Thought you might want to know

---------- Post added at 04:14 PM ---------- Previous post was at 03:33 PM ----------

Mine went from 3475 to 3569 =) using Fallout v5, smartassv2 368-1200 MHz, noop
[HTC Desire S] glacier1122:
whats new in 8.0?
[HTC Desire S] teadrinker:
Read 1 Page back...
[HTC Desire S] toxic-hero:
it seems i found a bug. i'm on skanob's rooted stock ICS with tweaked3 7.1-stable, everything is working fine.

if i flash 8-stable everything is ok, but if i flash 8-eksperimental wifi don't work anymore. tried this several times. it says "turning wifi on", but it never actually gets on.

(revolutionary S-offed, hboot 7...)
[HTC Desire S] signfinder:
busybox installed?
[HTC Desire S] toxic-hero:
yes.
[HTC Desire S] amidabuddha:
First check if bcmdhd and cfg80211 modules are present in system/lib/modules. If yes - reinstall busybox in /system/xbin

Sent from my HTC Desire S
[HTC Desire S] mouzzza:
Nice job on new version of kernel! Very easy install now.

But at least i still do have one question, the optional modules CIFS and TUN are needed for 2WCR, right?!
[HTC Desire S] amidabuddha:
No

As it is said in the installer - if you do not know what the description means, probably you do not need this modules at all. They are meant for the people that are using the described services.
[HTC Desire S] toxic-hero:
no, they are not present. but since i updated busybox just few moments before i read your last post, it is possible that they've been there before.

so i'm gonna flash the kernel again now and see what happens..

EDIT:

did that, wifi still broken.
[HTC Desire S] amidabuddha:
Busybox is not related to the modules, they are installed with the kernel.

Are you installing Kernel for rooted Stock ROM?
[HTC Desire S] toxic-hero:
yes. and the wifi in stable version is working fine.
[HTC Desire S] holvoetn:
Just had the same problem upgrading on Virtuous Inifinity beta1.

Even installing Virtuous beta 1 coming from alpha 3 I was forced to do a FULL wipe AND made sure NOT to sync my phone with my Google account.

Then Wifi worked.

Just had to do this again, same story, same result, same cure.

Oh and BTW amidabuddha

THANK YOU for your work ! :)