yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] amidabuddha:
Re: [KERNEL][21 Dec 2012] Tweaked3 XI || B2B || Patched [ICS Sense][MIUIv4]

Try without changing first. If the WiFi works after reboot it will be not necessary

Sent from my HTC Desire S
[HTC Desire S] toxic-hero:
ok, i did that. replacing only netd binary didn't do it. there was an immediate "error" at the Portable Wi-fi Hotspot chapter. also the wi-fi internet speed became close to 0 after copying only netd. i could refresh twitter but couldn't browse to any page with the bowser.

than i also copied wpa_supplicant and changed permissions to that .conf file. rebooted. internet speed became normal again, but when enabled Wi-fi Hotspot i got "Turning Wi-fi on..." and later "Error". than again "Turning Wi-fi on..."... i also got pop-up message that wi-fi hotspot couldn't be established (once only).

EDIT: only just saw your previous post.
[HTC Desire S] amidabuddha:
Re: [KERNEL][21 Dec 2012] Tweaked3 XI || B2B || Patched [ICS Sense][MIUIv4]

Ok, thank you once again for testing. It seems that tethering with the experimental driver on Sense 3.6 depends on the framework too, so there is no universal solution. I will leave it as is.

Sent from my HTC Desire S
[HTC Desire S] terragady:
OK I am little bit confused. Can you help me choose what is better for me? Im sure that i dont want tweaked kernel because i dont need best performance, what is counting for me is battery life and stbility, I dont use OC or something like that. There will be better b2b or patched "new" one? There is big difference between them? Patched has all what b2b has and little bit more?
[HTC Desire S] amidabuddha:
Re: [KERNEL][21 Dec 2012] Tweaked3 XI || B2B || Patched [ICS Sense][MIUIv4]

Exactly.

If you do not need any extra features b2b is more than enough. It is my choice as well. Combined with Desire XS it gives me excellent experience and battery life

Sent from my HTC Desire S
[HTC Desire S] terragady:
OK I will stay with b2b. I am using it with ICE_DS but I am considering Desire XS. It is much better? New version of ICEDS came out so I will test it after that maybe I will try XS.
[HTC Desire S] amidabuddha:
Feedback on the latest ICE_DS is pretty good. Also I am afraid that Desire XS will progress much slower now after the incident with the author's device. And I personally use slightly modded version of DXS which is based on the first release and adding just some features of the following version (quick settings, battery mod and working menu at homescreen to be precise), because I enjoy the stock feeling it is the same as buying a Desire X. I have even compared my phone with a Desire X in a mobile phones shop and can confirm that mine was even a bit snappier than the original, which was already stated by thanthos himself. The choice is all yours there are some good ROMs to try
[HTC Desire S] petrevirgil:
Re: [KERNEL][21 Dec 2012] Tweaked3 XI || B2B || Patched [ICS Sense][MIUIv4]

For a while i want to improve my phone battery and performance so i use kernel 3.x with viper saga.

I set my cpu to min 245MHz,voltage set to default 1000mV and max to 1401Mhz,voltage set default to 1250mV,ondemand with deadline.Is it possible to set my voltage to a lower value but not to harm my phone?What are the best voltage for 1401MHz max and 245 MHz min.?
[HTC Desire S] amidabuddha:
Search through this thread and you will find enough info. Gaining information will provide understanding and then you will stop asking so many questions all over the place.
[HTC Desire S] miwanr:
Re: [KERNEL][21 Dec 2012] Tweaked3 XI || B2B || Patched [ICS Sense][MIUIv4]

Up to -75 @ every clock speed are safe IMO.

Sent from my droid hTC Saga
[HTC Desire S] petrevirgil:
Re: [KERNEL][21 Dec 2012] Tweaked3 XI || B2B || Patched [ICS Sense][MIUIv4]

Is it possible to set kernel 3.9 to 1300MHz?
[HTC Desire S] miwanr:
Re: [KERNEL][21 Dec 2012] Tweaked3 XI || B2B || Patched [ICS Sense][MIUIv4]

I want to share again about my OC setting, for me this is the best setting. With Kernel Tuner app set OC to 245MHz - 1401MHz interactive governor, noop scheduler, 256MB sdcard cache, OOM set to Light. With OC/UV Beater2 set -50 for all frequency.

Sent from my droid hTC Saga
[HTC Desire S] naudmick:
how to make you famous for the activated cache ??? Because I have a 256 MB swap on my SD, but I do not know how active!
[HTC Desire S] miwanr:
Re: [KERNEL][21 Dec 2012] Tweaked3 XI || B2B || Patched [ICS Sense][MIUIv4]

It's different between cache and swap.

Sent from my droid hTC Saga
[HTC Desire S] miwanr:
Re: [KERNEL][21 Dec 2012] Tweaked3 XI || B2B || Patched [ICS Sense][MIUIv4]

Another good setting is like above setting with smartassV2 governor and vr sceduler (Tweaked Kernel v9) and set max frequency to 1497MHz then play Temple Run 2 with best graphic setting lag free.

Sent from my droid hTC Saga
[HTC Desire S] amidabuddha:
Patched 3.0.61

Hi guys!

I have decided to discontinue Tweaked3 and provide updates to Patched only.

Long story short: when I started with kernel building this summer I really had no idea what I am doing :) Honestly. Back then I thought the patches are universal and all features are great. Later I have spent a lot of time reading and experimenting. And based on the knowledge I gained the Patched kernel was born. And it is now officially out of the "testing" stage.

New release changelog:

Patched to Linux Kernel 3.0.61

Synced with android/kernel-common

cpufreq: interactive: sync android-3.0 with android-3.4

some networking related fixes

New patched by me libhardware_legacy.so from One V (the old one was from Sensation) and wpa_supplicant. Should provide more stable WiFi operation. The Sense 3.6 libhradware_legacy.so in the Experimental kernel is still the old one, due to incompatibility

Download link in the first post and in the mirror @Dev-Host

Enjoy! :)
[HTC Desire S] PVL_93_RU:
Re: [KERNEL][03 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Does patched kernel break Wi-Fi tethering?
[HTC Desire S] petru.tomsa:
Re: [KERNEL][03 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Is Monday and I don't understand: patched is tweaked 3 version XI? Are some modification or is a new kernel ? If is new were is link to download?:eek:
[HTC Desire S] amidabuddha:
Re: [KERNEL][03 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

I think you should improve your "reading first post of the thread" skills :D

Sent from my HTC Desire S
[HTC Desire S] toxic-hero:
patched 3061 on sense 3.6

if you flashed 3061.zip stable sense 3.6 version and wi-fi is not working (as in my case), you should manualy copy:

3061.zip/bcm4329/system/etc/firmware/fw_bcm4392_apsta.bin >> system/etc/firmware/ (owner:group - root:root, 644 -rw-r--r--)

3061.zip/bcm4329/system/etc/firmware/fw_bcm4392.bin >> system/etc/firmware/ (owner:group - root:root, 644 -rw-r--r--)

3061.zip/bcm4329/system/bin/wpa_supplicant >> system/bin/ (owner:group - wifi:wifi, 755 -rwxr-xr-x)
[HTC Desire S] amidabuddha:
Were these files missing?

I have tested both Stable and Experimental on ICE_DS 8 before release and in both cases the WiFi worked.
[HTC Desire S] otterbvrn:
Re: [KERNEL][03 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

I am sorry I am just a user, what's the big different thing between patch and tweaked XI?

Sent from my HTC Desire S

Tapatalk 2
[HTC Desire S] amidabuddha:
Read this

Absolutely the same is present also in the first post under the Patched spoiler
[HTC Desire S] Cole07:
Hi Amidabuddha,

Just flashed latest PATCHED KERNEL 3.0.61 on Desire XS Test Rom and DS boots in Recovery as user mention at Desire XS topic.

EDIT: using Hboot 7.00.1002 S-OFF not HtcDev S-OFF
[HTC Desire S] amidabuddha:
This is because for re-odexed ROMs you have to use the boot images provided here. The file for Patched is 3061_lib_bootimg.zip. Also you can find them at the Dev-Host mirror in the Patched folder. Flash the kernel file from this thread from the recovery (to copy the necessary files) and then the boot.img from the re-odex thread (it is not a flashable zip, you will have to extract the img file and flash via fastboot)
[HTC Desire S] Cole07:
Thanks I'll try :)

EDIT: It worked thanks

EDIT2: Wifi stopped working :(
[HTC Desire S] toxic-hero:
Re: [KERNEL][03 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

no, the files were there, but they were empty 0b files. i'm on Ice Cream Saga v1.

EDIT: in the past i always had to manualy copy wifi files, but only if i've flashed experimental 3.6 wifi driver, never on stable one. have you changed something to the stable driver on the latest version?
[HTC Desire S] amidabuddha:
Actually I have added the files you mention to ensure backwards compatibility between Stable and Experimental, because the experimental now uses different wpa_supplicant.

Your issue sound like a BusyBox problem. Do you have it installed?

You have to flash the 3061.zip first, pick Sense 4 in the Aroma Installer, then reboot straight to bootloader and flash the Sense4_boot.img from 3061_lib_boot.zip via fastboot
[HTC Desire S] Cole07:
yeah thats what I did. I picked Sense4 incl. Desire XS in the aroma installer. I'll try it again later. Flashed rom again :)
[HTC Desire S] toxic-hero:
Re: [KERNEL][03 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

yes, i have busybox 1.20.2 installed. always had it installed because i have many apps that needed busybox to run properly.

---------- Post added at 12:03 PM ---------- Previous post was at 11:54 AM ----------

when i checked the system/xbin/ folder where the busybox is located i found that all other files have 777 permision, only busybox is 755. could this be the problem?
[HTC Desire S] amidabuddha:
Sorry my bad. These instructions apply if you are re-odexing the ROM with the kernel already installed. In your case you will have to copy the files from bcmdhd4 folder manually to the respective location and set the right permissions. Or copy them to the ROM.zip, including the kernel img (renamed from Sense4_lib_boot.img to boot.img, replace the old one) and perform a fresh install of the ROM

No it is ok, on ICE_DS it is the same, but works fine. The install script is absolutely the same too.
[HTC Desire S] petrevirgil:
Re: [KERNEL][03 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Amidabuddha,is it possible to ad SmartassV2 manually to 3061?....I really like this governor because use all frecvency ....
[HTC Desire S] amidabuddha:
I will rather not and I will tell you why:

The Smartass governor and its improved version SmartassV2 are based on the Interactive governor. Its author Erasmux developed it more than an year ago for kernel 2.6.35. Since then it is used in many kernels and stands as the ideal balance between performance and battery life.

But here comes the "BUT". The above remains true for kernel 2. Even for its later versions like 2.6.38 the governor code has to be patched. In the kernel 3 released by HTC the frequency table has changed. I have no knowledge on such low level to know what these differences mean nor to patch it myself. Moreover the Patched kernel is totally synchronized with the official Android sources, Linux Kernel Sources and seems to carry all the relevant patches from the Code Aurora Android kernel repository (which on the other hand is the primary source of changes for HTC developers themselves). The Interactive governor is the officially maintained by Google (the recent changes are not older than a month). It have been significantly changed since kernel 2.6.35 and I believe it has improved a lot. Even the Ondemand governor in kernel 3 has powersaving features so setting Screen On/Off profiles with apps like SetCPU is no longer required, although many people still do it by the means of old habit. So rather then use old, not to say obsolete code I prefer to bet on the latest and probably better. This is the reason that we all went to ICS and JB and only few users still have GB software on their devices.
[HTC Desire S] otterbvrn:
Re: [KERNEL][03 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

What is the best uv in your kernel? I tried global -50 and not a long time screen got frozen, I have to pull the battery. Thank you

Sent from my HTC Desire S

Tapatalk 2
[HTC Desire S] amidabuddha:
Patched kernel 3.0.62

Hi all, this is minor update.

I am taking an advantage of the inquiry made by petrevirgil to patch to Linux 3.0.62 (which came out yesterday) and to set the default governor to Interactive, because it seems not many people are trying it out. Link in the OP updated, so as the mirror @Dev-Host

Enjoy and share your experience :)

EDIT: link will come up in one hour, an emergency appeared. Sorry for keeping you waiting
[HTC Desire S] petrevirgil:
you are the best....thanks a lot ....i can wait to try...
[HTC Desire S] amidabuddha:
Link online, sorry for the delay
[HTC Desire S] miwanr:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

@amidabuddha 3.0.61 wifi tethering can't be activated (stable wifi driver) on MIUI...

Sent from my droid hTC Saga
[HTC Desire S] amidabuddha:
Check for something like this
[HTC Desire S] petru.tomsa:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Trying last patched version and with viper saga 2.0.1 is working wonderful. No problem yet, everything that I test work ok.:)
[HTC Desire S] Aleeksandar85:
hmm on antutu benchmark i have little low score on viper saga 2.0.1, on previous version i have 5555, on this 5481, i use patched kernel, overclocked at 1.5ghz
[HTC Desire S] miwanr:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Not every DS have the same quality hardware. Undervolt 50 rarely give freeze my DS. The best setting will vary in every DS I think.

Sent from my droid hTC Saga
[HTC Desire S] psmok:
guess i'm lucky, i managed a global -150, very stable

after flashing patched 3061, cpu spy couldn't read the cpu states file, daemon controller can't undervolt anymore. I had to revert to tweaked XI to regain the functions. anyone had the same issues?

i'm on viper 2.0.1
[HTC Desire S] psmok:
never mind, reflashed 3062. now working perfectly
[HTC Desire S] otterbvrn:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

What? -150? How lucky you are, now I'm trying -25 global, and it seems to be okay

Sent from my HTC Desire S

Tapatalk 2
[HTC Desire S] SoulReaver75:
Downloaded Patched3062 and flashed in place of tweaked3_XI.

Let's see if random reboots are gone. ;)
[HTC Desire S] cript0n:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

after 1-2 days trying new patched kernel experimental on Miui v4... everything is working ok! no issues,no random reboots, veryfast and stable. benchmark around 4000 without OC (1024mhz) greatjob!!

Enviado desde mi HTC Desire S usando Tapatalk 2
[HTC Desire S] signfinder:
3.0.62 work fine (on Desire XS RC1). Interactive governor - no advantage (IMHO).
[HTC Desire S] miwanr:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

But WiFi and WiFi tethering can't be activated.

Sent from my droid hTC Saga
[HTC Desire S] toxic-hero:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

which rom?
[HTC Desire S] thantos2024:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Are you HTC DEV unlocked? and if so, did you flash the boot.img via fastboot after flashing the zip?
[HTC Desire S] cript0n:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

my wifi is working perfect, wifi tethering can't be activated because I chose experimental kernel on aroma instaler. if you want wifi tethering choose stable option on aroma instaler. normal WIFI is working in both.

(talking of Miui v4)
[HTC Desire S] mizerok:
Last patched version installed on fresh desire xs, CRAZY battery drain, six hours of no using: from 100% to 9%. Phone was very hot, returned to 3057, working good
[HTC Desire S] amidabuddha:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Announcement :)

Hi all!

Due to shortage of free time recently I am slowly abandon my work on all kernels. Also my personal testing and the community feedback shows that the recent upstream changes are affecting the performance and could cause instabily of our devices. I cannot spare time to search for issues and fix them, moreover I think this is beyond my knowledge. All the recent versions will be available at the dev-host mirror at least for the next six months for those who like to play and experiment. I hope that you will find there the best kernel that suits your needs.

Overall I recommend to use a lightweight ROM with Sense 4 and B2B kernel which is my personal choice as well.

Thank you all for the support and feedback during the past 6 months it was a great pleasure to work on this progect and I have learned a lot about how things work on low level.

I am still browsing the forum actively and will do my best to share the gained knowledge when needed and I hope to work on a JB Sense kernel when the appropriate sources are available.

Thank you all once again and I hope you enjoyed my work as much as I did!

Best regards,

Stefan

Sent from my HTC Desire S
[HTC Desire S] niravnn:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Thank for giving your time friend.

still a noob ;)
[HTC Desire S] Taurdas:
yeah thank you for great work! good luck ;)
[HTC Desire S] otterbvrn:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

So sad..

Thank you for your hardwork...

Sent from my HTC Desire S

Tapatalk 2
[HTC Desire S] toxic-hero:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

big thanks, not only for the great kernel, but also for helping and advising people on this forum!

for your information, your latest kernel is working great on my device (only few issues after installation that i already know how to handle).
[HTC Desire S] petrevirgil:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

And what are those issues ?

By the way good job Amidabuddha and thanks for all your advices and for your help....
[HTC Desire S] toxic-hero:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

see post #1301. a wifi issue that only happens on (some) sense 3.6 roms.
[HTC Desire S] totalnoob34:
R: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Thank you for your awesome work.
[HTC Desire S] petru.tomsa:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Thank you maestre! For me all kernels was ok.:thumbup:
[HTC Desire S] dmabid:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Thank you very much dear for all kinds of help by the way this is a great kernel works perfectly without issue on Fallout......
[HTC Desire S] asgardr:
Re: Announcement* Hi all...

Some day, long ago, in another world, the awakened one- like you amida buddha

said:

..' to learn is to change'...

In your work i see the quest for the balance.

Although i speak seldom- i intently listen,

, have relied upon your work through many dangers

, and neither it, nor your counsel has ever failed me.

I have learned many things from what you share with us

, so to simple thanks button, i wish to add these few lines

even if it seems out of place in a dev forum....

I do not belive you'll be able to realy finish with your work;)

The end is always a beginning...
[HTC Desire S] SoulReaver75:
After about 10 days using patched kernel I can say that it's really better than the tweaked one!

No more reboots until now and everything looks working better, it's more... reactive.

Thanks.
[HTC Desire S] naudmick:
compatible Sense 4.1 ???
[HTC Desire S] niravnn:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Yes

still a noob ;)
[HTC Desire S] naudmick:
Automatic brightness does not work at all on this kernel !

Rom : Sabsa Prim v14

sense 4.1 full
[HTC Desire S] thantos2024:
Re: [KERNEL][05 Feb 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Not a kernel issue, as I have used this kernel for a while, this is either a Rom or hardware issue.
[HTC Desire S] arazvan2002:
My phone and the one of my work colleague random restarts during calls on every kernel version. We both are using Viper roms. Any ideas for this issue?
[HTC Desire S] amidabuddha:
Set your network to GSM only or WCDMA only. A mixed GSM/WCDMA setting is causing a reboot. I had this since I own the device on various ROMs and kernels. It took me quite some time to find that this was exactly the reason for reboots after a call.
[HTC Desire S] naudmick:
I feel with the patched 3.0.62 Sense 4.1 does not run as it should! As the opening and Sync sms example!

So I flashed 3.0.16 b2b do that at all back in order!
[HTC Desire S] amidabuddha:
Patched 3.0.67

Hi guys!

Today I had some spare hours so here is a new version

Changes:

Patched up to Linux Kernel version 3.0.67

Synced with Android repo (only one commit since the last version)

Reverted to old buttons coordinates (now you can unlock/lock with only 3 of the capacitive buttons, like it was in the earlier versions)

Set ONDEMAND governor back as default

Used the defconfig from the official ICS RUU, not from the source code released by HTC (from the Chinese OTA). Not sure about noticable differences, but there are some more options added

Issues:

If your WiFi does not work upon install check this solution /10x to toxic-hero/

If sweep2wake does not unlock the phone every time (usually after deep sleep), hold (don't release) the search key after the swype

Enjoy and share impressions :)
[HTC Desire S] Husky34:
ok...ur a monster

:D
[HTC Desire S] petrevirgil:
Re: [KERNEL][02 Mar 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Amidabudhha,glad and thanks for your work.

I don't want to ask too much but I noticed that appears more governors like smartASS H3, it is possible to add those governor to your kernel?
[HTC Desire S] Taurdas:
thank you man you are great! not forgetting us ;)

tell how can we inject this wifi monitor to your kernel as its the same firmware bcm4329 ?
[HTC Desire S] signfinder:
+1 - governor smartASS H3 work very fine in CM 10.1 kernel 3.0.66

amidabuddha

new kernel NOT install in odex firmware Desire XS. After install - loop boot to recovery
[HTC Desire S] petrevirgil:
Re: [KERNEL][02 Mar 2013] B2B |&| Patched [ICS Sense][MIUIv4]
[HTC Desire S] Husky34:
of coure :)
[HTC Desire S] asgardr:
Hi,;))

I think i've seen the answer to your question a few pages back....

---------- Post added at 02:10 PM ---------- Previous post was at 01:57 PM ----------

I knew we'll see your great work again:D...

...Patched 3.0.62 works like a charm, it even has resolved a few small issues i was having,

It is the pleasure to try another one
[HTC Desire S] old.splatterhand:
...And he gave the answer multiple times, so you only have to read what he wrote.
[HTC Desire S] toxic-hero:
Re: [KERNEL][02 Mar 2013] B2B |&| Patched [ICS Sense][MIUIv4]

was ondemand governor brought back as a default one because of the battery consumption? my battery life wasn't great for the last few weeks and i wonder if that correlates with the previous version of the patched kernel.
[HTC Desire S] amidabuddha:
Re: [KERNEL][02 Mar 2013] B2B |&| Patched [ICS Sense][MIUIv4]

Nope, I thought it caused the s2w issue but it was not, just the new patches are making the device sleep better which is good but not for s2w. If showp-1984 comes with an improved version I will include it but probably not since he is developing for newer devices where our Atmel touchscreen is a history.

Unfortunately we have to accept that our Desire S is slowly getting obsolete, so we have to stick with older software or buy a new phone

Sent from my HTC Desire S
[HTC Desire S] old.splatterhand:
Thats exactly the point, why i buy until easter my new phone and give my Desire S to my girlfriend cause she had no smartphone until now.
[HTC Desire S] Husky34:
mmm i have an issues...i flashed desire xs rebooting, setting up few things and then flashing this new kernel (md5sum perfect)

then i press reboot and rebooting always into recovery...

i'm revolutionary unlocked..what i have 2 do?:)
[HTC Desire S] signfinder:
This kernel not work with reodexed HTC desire XS 1.0.x firmware.

Thantos promised to lay the kernel to flash today or tomorrow.
[HTC Desire S] Husky34:
<3 ty man :)