yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Alex-V:
Anyone know how to change the values in the wifi modul to lower the min rssi threshold for scan results...as there are better with the patched one...but not so good as it was in froyo time...so i would like to play with the values....i think that is a hex value...so i loaded the modul in a hex editor..but cant find it..anyone can help me..?

thx for answers..with kind regards..Alex
[Desire Android Development] Alex-V:
No One...?
[Desire Android Development] coolexe:
we need SNQ...!!!:D
[Desire Android Development] KennyDumah:
Yeah would be nice if snq could add swap...

This would be a major upgrade.

Because of those Sense 3.0 Rom's
[Desire Android Development] Alex-V:
I think not possible with closed source...but also interested in this
[Desire Android Development] Alex-V:
I think also...but i have compared froyo wlan with gingerbread..in gingerbread..the signal drops if i have around -88 -90 ...in froyo..it is about -100

And i have the edited modul..so i will play a bit with the values..but i cant find it in hex editor..but it must be in...
[Desire Android Development] Zeljko1234:
Just be patient, GB is coming to Desire at the end of this month and probably soon after source of the kernel. Then snq could do magic again :)
[Desire Android Development] Alex-V:
:) i'm patient...i only want to play with values of wlan..and for that i need a tip how to find btw. Edit it :)

With kind regards...Alex
[Desire Android Development] Alex-V:
:) :) :) Maybe today anyone a info :) :) :)
[Desire Android Development] c20h25n3o:
Hi all,

Does this compass fix work on all GB roms or just for the Desire?

If yes, which file do I need and how do I flash it?

Many many thanks in advance.
[Desire Android Development] Droidzone:
The fix seems to be part of the zimage and hence should work on those roms on which the former works.
[Desire Android Development] NEMOX800:
Confirmed.

In my opinion the problem applies to all GB custom sense ROMs. After inserting the phone to (connected to the power supply) Car Kit, phone is powered on AC mode for about 1/4 second. After this time the phone leaves AC mode and goes in USB mode.

Workaround (temporary solution): put the phone to the Car Kit connected to the power supply and restart the phone (leaving phone in the CAR KIT). After starting the phone will work in AC charging mode.

Best Regards, NEMO
[Desire Android Development] mbalax:
fixed my compass!

Thanks a mill !
[Desire Android Development] Droidzone:
New kernel ready for you to play with, snq- :)
[Desire Android Development] PlayPetepp:
+1 :D

Or maybe he's waiting for the source code ... which I hope he isn't ;)

Smashed with my AceSMod007 loaded HTC Desire.
[Desire Android Development] Alex-V:
+1
[Desire Android Development] Droidzone:
Alex, have you started adding mods for the new RUU?
[Desire Android Development] Alex-V:
yes...but for the first time only 2 trackpad wake and rosie drag & drop (big thx bananacakes - he have made the mods ) and also my Expresso Theme:

http://xdaforums.com/showpost.php?p=16248756&postcount=2069

http://www.multiupload.com/9LJMHNWY3I

So i hope for Snq..to patch the new kernel...i hope that wifi is better :)

next thing is that sombody that patch the power control widget in the past..do it again :)

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

with kind regards
[Desire Android Development] snq-:
v06: based on the official gb update (2.6.35.10-g3f43272)
[Desire Android Development] Droidzone:
Wow, just wow.. You're a gem, snq!!!
[Desire Android Development] Alex-V:
Yes...big big...thanks :)

With kind regards..Alex
[Desire Android Development] Droidzone:
Darn.. I shouldnt have spent time in converting my scripts to ext3!!! lol :D
[Desire Android Development] coolexe:
as always thx bro.
[Desire Android Development] Droidzone:
snq-, out of academic interest, could you (if and when you get a little free time) include a short summary of the method by which you patch kernel and make module extensions?
[Desire Android Development] cadavreatpinopl:
Linpack still shows ~6MFLOPS. :/ I thought it'll be fixed by official kernel. I know that it's just a benchmark and I don't really care but it's always nice to see bigger vale than in Wildfire. ; p
[Desire Android Development] sthbr82:
Should I need to do full wipe before installing the kernel image. Am running on Insert Coin 1.0.9
[Desire Android Development] cadavreatpinopl:
You don't need to wipe anything.
[Desire Android Development] Komadyret:
No wipe required at all.

nandroid backup before flash just in case (better safe than sorry)
[Desire Android Development] Meaple:
Can you increase OC to at least 1190MHz?
[Desire Android Development] PlayPetepp:
+1

10char
[Desire Android Development] daffie:
Where can I find the download link for v6 kernel? The link on first post is invalid file. Many thanks for the help.
[Desire Android Development] erklat:
I downloaded just fine. Think you should click on 'here'. Also try downloading with alternative browser if that doesn't work out.
[Desire Android Development] abc001:
Has this been patched for two way recording? I am looking for that.
[Desire Android Development] OpusX11:
snq- can I confirm that this kernel does NOT have the callrec patch? It affected some bluetooth audio transfer functionality for the froyo kernels.
[Desire Android Development] Komadyret:
It is not patched.
[Desire Android Development] mayurh:
snq may i ask what exactly is diff from v5 to v6? in terms of peformance etc?
[Desire Android Development] punky.mtp:
Is the WiFi N is included in V06 (it was'nt in V05) ?

Thanks
[Desire Android Development] daffie:
Cheers.

Edit : nevermind a bunch of cr@p ... already flashed the kernel. Good stuff :)
[Desire Android Development] ljesh:
Hey snq,

can you please compile the rvoix-patch into your kernel?
[Desire Android Development] andQlimax:
Is not a compilet kernel, as htc didnt release the source code yet

Sent from my HTC Desire
[Desire Android Development] PlayPetepp:
Exactly. Just to add one more little detail, there wont be any more addons or tweaks to the kernel until htc releases the source code. If something more could be done I'm sure snq- would've done it by now.

Smashed with my AceSMod007 loaded HTC Desire.
[Desire Android Development] Marchief:
v06 Working amazing on Leedroid HD Port fro Desire, great work SNQ, seems to of fixed the lag and 720p recording issue
[Desire Android Development] Droidxda:
Sorry for question, my first time trying to flash a kernel mod.

I download the v6 on the first post, but I don't understand how to use it

Could you help me please?
[Desire Android Development] drakexpl:
First nandroid backup then flash via recovery. Backup because for me this causes bootloop
[Desire Android Development] Droidxda:
Even if it's not a. Zip file ?

HTC Desire with Leedroid HD Port's inside. Sent by XDA App
[Desire Android Development] Marchief:
Download the one from the link that says flashable zip, then just flash in recovery

Swyped from my HTC Desire using xda app
[Desire Android Development] punky.mtp:
The update link is at the end of the sentence (OP):

download: zImage-v06 (flashable v05-to-v06 kernel image+modules update package here)

Just flash it (nandroid backup + wipe dalvik-cache before for me). No boot loop !

If you want WiFi N Mode, just take this : http://xdaforums.com/showpost.php?p=16223124&postcount=294

Needs manually unzipping and installing to '/system/lib/modules/ and reboot.

Have fun !
[Desire Android Development] Droidxda:
Thank you for this explanations.

I didn't try this one, cause it is note as a (v5 to v6) and I though it was an update patch.

HTC Desire with Leedroid HD Port's inside. Sent by XDA App
[Desire Android Development] Andreas75k:
Even if it is an update patch, no problem for Leedroid HD 3.3.1 users (the port for Desire) as it uses the V5 version. :)
[Desire Android Development] Droidxda:
Great news :) thank you.

I ll do it now :)

HTC Desire with Leedroid HD Port's inside. Sent by XDA App
[Desire Android Development] dunstan92:
I tried taking pictures with my desire. After taking two pictures, my phone hang and rebooted. I flashed the update version. Am using insertcoin 1.0.9. Wonder what causes this reboot
[Desire Android Development] Droidxda:
The link for the v5tov6 looks down?

Edit - sorry, it's long but works :)

Thank you :)
[Desire Android Development] Haxxler:
Any news on how to fix the wifi problem? Would be cool if someone could manage to change the treshold, so it won't switch to 3g anymore just because the connection is low for a couple of seconds.
[Desire Android Development] PeterSimlock:
Try this:

sign_bcm4329.ko_for_2.6.35.10-g3f43272.zip

I've patched the module from v5
[Desire Android Development] Alex-V:
nice will try :) THX :)

can you say what values must be patched (i think hexvalues)..?

with kind regards..Alex
[Desire Android Development] Komadyret:
I've applied the patch PeterSimlock supplied. I see no immediate improvement over the v6 kernel without patch. I might be missing something, as I've used it only for about half an hour. So nothing conclusive :o
[Desire Android Development] PeterSimlock:
I've taken the module that snq has modified for his kernel v5.

I was looking for vermagic = 2.6.35.10-g308ba26. and changed it to vermagic = 2.6.35.10-g3f43272
[Desire Android Development] Alex-V:
ah..yes..i done that also in the past...forgot it..so thx for this.. :) :)

but if you know or anyone other now the values that must be changed to change rssi threshold for scan results..than let me know..i want to play with the values..

thx to all..with kind regards..Alex
[Desire Android Development] Alex-V:
Much better wifi driver (inclusive n-mode..work on g also)....big big thanks Myshkinbob

http://xdaforums.com/showpost.php?p=16519177&postcount=309

with kind regards..Alex
[Desire Android Development] mayurh:
thanks alex

does it have that fix for the wifi that disconnects if it is below a certain level? on v5 snq kernel is was correct
[Desire Android Development] Alex-V:
Yes :)
[Desire Android Development] LoDRpR:
Please consider this for your next update. I can add AceSMod007 ROM to the first list quoted.
[Desire Android Development] Xeno87:
I tried all Available versions of bcm4329.ko, even a version from Leedroid 2.5.0, but my Wifi connection is still as unstable as before. I haven't had such Problems under froyo Roms. Looks like the Problem is located somewhere else.

Sent from my LeeDroid Desire
[Desire Android Development] NeoEpsilon:
Can anyone help me confirm this...

It seems that the [v05] and [v06] kernel can't change it's voltage...

Both behave the same for me...

Using the "Cool Sense 2.1 BravoS" and "teppic74's Stock" ROM...

Here's some data...

Complete grep for [v05]&[v06]...

http://pastebin.com/3JcW5ssT

/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:245000

/sys/class/i2c-adapter/i2c-0/0-0048/regulator/regulator.0/microvolts:1300000

The voltage wont budge from 1300mV, even when idle and CPU @245Mhz...

Restored my Froyo nandroid backup, with my old kernel...

Complete grep from my old Froyo kernel...

http://pastebin.com/3ezbCyMM

/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:499200

/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:245000

/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:576000

/sys/class/i2c-adapter/i2c-0/0-0048/regulator/regulator.0/microvolts:925000

/sys/class/i2c-adapter/i2c-0/0-0048/regulator/regulator.0/microvolts:1100000

As you can see, the voltage scales just fine...

Hoping for a confirmation...

Thanks in advance...

P.S :

I tried the undervolt.ko with patched vermagic...

Modules loads fine, but the voltage "stuck" at 1300mV also...
[Desire Android Development] nenadr:
Hi !

Is there a way to get '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies' for 2.6.35.10-g3f43272 [v06] or perhaps [v07] and/or future versions, so we can use virtuous_oc_daemon and DaemonController (or VirtuousOverclockController GUI) to easily change min/max sleep/wake frequencies and govrenors ?

I've seen patch for previous kernel in this thread, and meybe that can help :)
[Desire Android Development] NeoEpsilon:
@snq-

A followup...

I flashed an unmodified stock kernel...

And it behaves the same as yours...

Both kernel (stock & v06), scales frequencies just fine...

BUT cannot lower it's voltage to less than 1300mV, it always supply 1300mV regardless of CPU load and frequencies...

If this is true, then it is possible that the official Desire GB can't lower/scale the voltage at all...

Which should be bad for the battery...

And possibly the cause of why undervolt.ko was reported not to work...

@ALL

Can anyone confirm this..?

Run adb shell, then run grep '.' /sys/class/i2c-adapter/i2c-0/0-0048/regulator/regulator.0/microvolts

Try running it with your screen off and idle...
[Desire Android Development] ziggy1001:
Yeah you seem to be right whatever CPU speed

grep '.' /sys/class/i2c-adapter/i2c-0/0-0048/regulator/regulator.0/microvolts

1300000
[Desire Android Development] t-minik:
the same to me :

- 1300mV whatever CPU freq.

it could be cool if we can have the same light sensor levels as for ACE.

with bravo it's 40 90 160 225 320 640 1280

with ace it's 10 40 90 160 225 320 640 1280 2600 10240

it seems light sensor is the same for both phones, a capella CM3602, probably driver or kernel can be tweeked for that, it could be pretty cool for indoor and outdoor use.

I saw there was some files in old kernel source with CM3602 in the name but i'm not able to do that.

Thanks sqn- For your great work on kernel ;)
[Desire Android Development] ziggy1001:
Same here all new GB roms are too dim in bright light
[Desire Android Development] t-minik:
yep, and to bright for indoor use ;)

EDIT // at least, probably, we can modify brightness levels for deodexed sense ROMs in framework-res.apk > values.xml
[Desire Android Development] mnaeh:
The problem is not gone:

http://xdaforums.com/showthread.php?p=16652937#post16652937

And we are not alone:

http://xdaforums.com/show....php?t=1087441

And wifi problem is present in the official HTC GB update:

http://xdaforums.com/show...php?p=16452100

Bummer! :(
[Desire Android Development] inamak:
Does the latest kernel support LEAP wifi authentication?

It's the only thing missing from v5 that i need...
[Desire Android Development] ZyXELis:
Same for me
[Desire Android Development] erklat:
No wonder so many users complained about poor battery life if voltage scaling malfunctions since day one.
[Desire Android Development] ziggy1001:
I'm not a heavy user but for me the roms with snq's kernels last more or less the same time as everything else
[Desire Android Development] PlayPetepp:
I respectfully disagree (little heavier user here). Froyo kernels gave me 2-3 hours of use more than snq-s gb ones. I'm not blaming snq- for this, he did an outstanding job concerning it's still closed source but with (h)avs and some other tweaks that froyo kernels gave us I think we could get lots more from our phones.

==edit==

cost me 3% batt just to type this reply :D

Smashed with my AceSMod007 loaded HTC Desire.
[Desire Android Development] erklat:
With his polished svs kernel I could get more or less the same as with havs kernels. As I stated, pity there will be almost no great kernels as it was with FroYo since people as coutts99 and Neophyte stopped developing.
[Desire Android Development] teorouge:
You should actually blame HTC for not releasing Desire GB kernel sources... as soon as they do that you'll see GB kernel development. snq is a case of its own, he did the impossible with no real HTC-given dev tools.
[Desire Android Development] Oijkn:
Thank you a lot snq for your great contribution !! Keep your mind :)

Have a good day mate ^^
[Desire Android Development] coolexe:
NVM...................
[Desire Android Development] t-minik:
Night Vision Monocular ?

National Volcanic Monument ?

Nonvolatile Matter ?

:confused:
[Desire Android Development] coolexe:
Hahaha...LOL...

NVM...Never mind...
[Desire Android Development] tristan202:
+1

10char
[Desire Android Development] tristan202:
For people using virtuous_oc or andrev_oc, and are having issues with Daemon Controller not reading the available freqs, I have patched the apk to read the from another place. It requires a little bit of work though.

1. Go here, download and install that. It disables virtuous_oc, and installs andrev_oc instead. It also downloads a newer version of Daemon Controller to the sd. Don't install that.

2. Install my attached Daemon Controller.

3. Rename the attached file 'freqs.txt to 'freqs' and push it to /system/etc/andrev_oc like so:

adb remount
adb push freqs /system/etc/andrev_oc/freqs
adb reboot

4. Done.

Should work now. At least it does for me. What I did what to baksmali Daemon Controller, and told it to look for scaling_available_frequencies at /system/etc/andrev_oc/freqs, instead of /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies. I then rebuilt and signed it.

Enjoy.
[Desire Android Development] DirkStorck:
Hi. I have tried it but if I run

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

I get

cat: can't open '/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies': No such file or directory

So I guess it doesnt work with this Kernel or the ROM I use :(

forgot to push the freqs. Now I can choose them in the daemon app but cat still gives the that error....How can I check if it works?

Thanks!
[Desire Android Development] Sebby:
working

rom AceMod007 v32 kernel v06

it takes a min. to change

without reboot it working to after lock and unlock

no errors

great work....and thanks for this
[Desire Android Development] teorouge:
That message should be right, looks like you didn't install tristan202-updated daemon controller app (step 2 in his checklist) as it should look in /system/etc/andrev_oc/freqs (and not in /system/cpu/cpu0/cpufreq/scaling_available_frequencies, as it doesn't exist and your phone tells you).
[Desire Android Development] DirkStorck:
Ahhhh thanks for the hint! Looks like I ran the wrong command within the shell :)
[Desire Android Development] backfromthestorm:
# insmod /system/lib/modules/cpufreq_interactive.ko

# insmod /system/lib/modules/cpufreq_smartass.ko

# insmod /system/lib/modules/cpufreq_powersave.ko

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

interactive smartass powersave userspace ondemand performance

Hi, Ive flashed the V06 kernal, but the governers above are not showing up in setcpu... Am i missing something? All the .ko`s are there.

Plus I cant alter Scaling_available_goveners though adb.. permision denied. I`m new to android so learning fast.. anyone shed any light?

Edit - Sorted! Just copy and paste the commands from the first page in adb shell. Maybe it says that somewhere and i missed it. Either way... i have all governors now!

Thanks!
[Desire Android Development] ziggy1001:
AFAIK nothing in /sys/devices/system/cpu/cpu0/cpufreq/ can be manually changed, which is why tristan202 made the workaround for Daemon Controller to look for CPU freq's in /system/etc/andrev_oc/freqs you can't just put a new file in there:(

I spent 30 mins with root explorer, QtADB, and Android Commander scratching my head wondering why i simply couldn't add scaling_available_frequencies to /sys/devices/system/cpu/cpu0/cpufreq/ :o
[Desire Android Development] backfromthestorm:
You can though.. thats what i found out, just open adb and type ---

adb shell insmod /system/lib/modules/cpufreq_smartass.ko

And it`ll put smartass into scaling_available_frequencies. The same go`s for the others.

But yes, I spent ages trying to edit with rootexplorer adb term`em etc!
[Desire Android Development] coolexe:
thx man its working ...

here is flashable.zip for Andrev_OC Daemon with DaemonController.apk...

safely flash over virtuous_oc daemon, flashable.zip automatically remove it b4 flashing andrev_oc...
[Desire Android Development] PlayPetepp:
Confirmed working on many sides and many roms. Thing that still bothers me with this kernel is the lack of UV (proved earlier in this thread). Can it be applied via tool like andrev_oc or it has to be a module like undervolt.ko (not that experienced kernel management person here). Also, is it possible to mess with the scedulers or are they built into the kernel? Would like to hear a response from someone more experienced in these matters. Thanks.

Smashed with my AceSMod007 loaded HTC Desire.
[Desire Android Development] sascha6982:
Hi SNQ

Which File from kernel do I have to edit to enable trackpad wake? I want to edit the stock kernel. Or can I use something from your addons?

Thx Sascha
[Desire Android Development] ziggy1001:
Most of the roms i have used with snq's kernels you get TP2W + TP2U by using a different HtcLockScreen.apk

This one works on Sense 3

Oh sugar:o you meant stock not snq's
[Desire Android Development] sascha6982:
No sorry. Have a look at this.

http://xdaforums.com/showpost.php?p=13464468&postcount=41

He has hexedit some files. But don't know which one.
[Desire Android Development] t-minik:
do you think it'll speed up the release of kernel by HTC if everybody send this message in HTCdev / contact page ?

"please, when will you release the new desire gingerbread kernel source code ?"

:D

Sense GB roms are already pretty awesome, it could be fabulous with a real kernel source code !
[Desire Android Development] sascha6982:
I have the officell gingerbread update and want enable trackpadwake without flashing a custom kernel.

Don't know whether it works. But that was the question.

Sorry die my bad english

Sascha
[Desire Android Development] erklat:
That is not a lack of experienced developers thing, but instead the lack of source code and therefore nothing for them to work with thing.
[Desire Android Development] Droidzone:
We all want a lot of things, lol..

No you cant enable Trackpad wake without custom kernel.. The keys dont get power polling otherwise on standby
[Desire Android Development] NeoEpsilon:
It might... :D

IIRC, the community have successfully "forced" HTC to release source-codes in the past...
[Desire Android Development] t-minik:
I sent my request trough their contact page.

Done for me :D
[Desire Android Development] coolexe:
Hi,

its a HTC Kernel bug...tried with Default kernel but still getting 1300mV

test it without flashing...

fastboot boot zimage zImage
[Desire Android Development] nickislauw:
so htc just sucks ? LOL
[Desire Android Development] Iceberger:
Which kernel did you attach?
[Desire Android Development] coolexe:
Official HTC GB 3.14.405.1
[Desire Android Development] NeoEpsilon:
Yup, thanks for the confirmation...

In my updated post I noticed that the stock kernel also did that... :D

http://xdaforums.com/showpost.php?p=16647359&postcount=337

The annoying part is that undervolt.ko also won't work...

Though I'm a little curious if this was intentional or just plain stupidity... :D

Still using Froyo here since I still favour battery life to GB's advantages... :p

Time to "bomb" their support for Desire GB source-code..? :D
[Desire Android Development] Droidzone:
Maybe someone should spam them till they release the code.. It shouldnt be hard to copy the kernel folder from their machine, and paste a zip!!

Sibere has released an undervolt implementation that works, in the Supernova thread.. You'd have to search though..
[Desire Android Development] Alex-V:
did you have the undervolt (from sibere) working..? tried it and did not get lower values:

link to it:

http://xdaforums.com/showpost.php?p=16976007&postcount=1520

edit: with kernel v6

edit2: adb shell grep '.' /sys/class/i2c-adapter/i2c-0/0-0048/regulator/regulator.0/microvolts

adb shell grep '.' /sys/class/i2c-adapter/i2c-0/0-0048/regulator/regulator.0/*

i get: 1300000

edit:3 i checked the vermagic string on undervolt.ko...its for v6...checked the permissions again..also ok...but not get lower values

with kind regards..Alex
[Desire Android Development] idanfima:
Is it just me or the ROM becomes only slower with it?
[Desire Android Development] Muxeu:
Hmm I can't boot just after flashing modules.zip

If I rename dtapp to 40dtapp boot successful