yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] rraxda:
WiFi calling question...

I have been having this issue and I am not sure if it is a ROM issue or a kernel issue.

I leave WiFi on while I am at home, and turn it off when I leave for work. However, when I come home from work and re-enable WiFi, I immediately connect with the data side of WiFi but the calling part just gets stuck on "Enabling...." Weird, when I just looked at it, it said "Invalid Sim" which is a first.

I have tried to clear the cache, turn wifi calling on/off, and to force close the program - which for some reason it will not force close. The only think I can do to get it back on is to reboot.

Anyone else having this issue? Any known work-around?

ETA: I think this is the 12.15 kernel but I am not sure... How can you tell? Will be installing 12.21 tonight.
[G2 and Desire Z Android Development] pershoot:
that happens with the app (has been very infrequent for me as of late). here is the workaround:

turn off wifi

stop the app through app settings.

go to the app and click the button to turn on wifi. turn on wifi and go back to the app. then enable if not already in process.

you should be good after it connects.
[G2 and Desire Z Android Development] Vandam500:
3 days?... having your phone on airplane mode/turned off does not count lol.
[G2 and Desire Z Android Development] Dom18:
You may have figured this out by now or maybe not, but the buzz on the Cyanogen Forums from many users on there say that the 6.1.1 stable release can be the cause of losing battery so quickly, 6.1.0 seems to be the better right now while they work on the fix, just my opinion though.
[G2 and Desire Z Android Development] slambaz2:
Lol, I have everything turned on, but I do have the extended battery. I can probably go about 5 days if I didn't have work and gps on all the time. I lose about 25% a day :)
[G2 and Desire Z Android Development] BBOOZE:
Are there any issues unlocking a phone that has this kernel installed? I see another unlocking thread here that says gfree doesn't work with pershoot's kernel. I have an unlock code that I have purchased and want to make sure I can get permament unlocking with it. The phone has been asking me to input the code whenever I boot the phone up.
[G2 and Desire Z Android Development] azuwis:
Thanks for the nls_utf8 kernel module, pershoot. Happily using it with cifs.
[G2 and Desire Z Android Development] crazy talk:
can anyone using this kernel talk to me about Adobe Flash performance? was it improved when you overclocked the phone? or is Flash mostly GPU bound?

i feel like im pulling teeth here trying to get info on this.
[G2 and Desire Z Android Development] apzalo:
I feel like flash videos are a little smoother once overclocked, better frame rate. I do know that I can successfully stream live sports from flash players with this kernel, set to 1516 performance.

Sent from my HTC Vision with CM 6.1.1 and Pershoot's Kernel (12/21).
[G2 and Desire Z Android Development] gravis86:
Well I've been running the 12/21 (12/20?) kernel for a little over a day now and have no random reboots. I am getting stellar battery life as well. Great job Pershoot!
[G2 and Desire Z Android Development] rraxda:
I used the gfree method and previously the wpthis method and this kernel worked fine with both. However, pershoot's kernel is not made for stock rom. I believe it is for CM and enomther's rom. Check back a few pages in the thread, I think those are the only 2 roms it is tested with.

Purchased an unlock code? No idea about that.... Gfree does subsidy unlock, super CID and radio s-off.
[G2 and Desire Z Android Development] unixpunk:
I flashed to the latest kernel (from 12/21 blog post) yesterday and then this morning I started getting freezes when waking the phone. Flashed back to stock CM6.1.1 and so far have not had another freeze when waking the phone with the power button. Any one else seen this behavior? And what can I look at to determine the cause of the freeze?
[G2 and Desire Z Android Development] pershoot:
Post a dmesg/last_kmsg.
[G2 and Desire Z Android Development] unixpunk:
Ok right now I'm recharging the battery a bit. Once I have a charge on it I'll reflash the kernel and pull last_kmsg after it freezes again.
[G2 and Desire Z Android Development] gravis86:
Pershoot, what do we type in Terminal to get this information?
[G2 and Desire Z Android Development] rhcp011235:
Battery life is fine. I've been on this since yesterday.
[G2 and Desire Z Android Development] jzhyok:
Bluetooth is not working.

After flashing this kernel, my Bluetooth device list is missing and I can't pair up with any BT device.

Anyone has the same problem?

Using Stock ROM, HTC Desire Z, Hong Kong WWE version.
[G2 and Desire Z Android Development] nicholastam:
Cant use bluetooth. My rom is sense rom.
[G2 and Desire Z Android Development] pershoot:
i'd need to look at the Z sources and check out the BT bits/stack.

i don't own the device so can't test myself. ill try to take a look down the road.
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.26 - http://droidbasement.com/db-blog ; RM updated.
[G2 and Desire Z Android Development] rhcp011235:
Updated. Seems wifi tether tuns on. Did not try to tether. Watching csi hehe.

Will check later. Thanks
[G2 and Desire Z Android Development] jboiii15:
Will this work with the virtous rom???
[G2 and Desire Z Android Development] matthawk60:
Wifi Calling distortion

Wifi calling in the previous kernel (2.6.32.25) was flawless, new kernel has lots of distortion.
[G2 and Desire Z Android Development] xl DIGITAL lx:
Yup
[G2 and Desire Z Android Development] pershoot:
yea.. ill revert back the wifi module.
[G2 and Desire Z Android Development] Nickb1989:
i flashed it through RM and when I booted up the phone the HTC screen would light up like it was loading and then boot off and then light up again continuously. any ideas why? :confused:
[G2 and Desire Z Android Development] pershoot:
not sure why you would get a bootloop. re-flash through recovery manually.
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.26 - refreshed - http://droidbasement.com/db-blog/
[G2 and Desire Z Android Development] rmk40:
pershoot -- I can help with the issues being reported for Sense. eViL D: and I just went through a weekend of kernel build iterations to get a fully functional version for our Virtuous ROM.

For BT/FM to work, one change is needed to your defconfig. Remove/disable: CONFIG_SERIAL_MSM_HS_PURE_ANDROID

We ended up having to revert Cyanogen's wifi changes as well for the latest Virtuous kernel, using the bcm4329_204 module instead. This patch will apply against your git tree to make it easier for you (I just tried it).

http://files.virtuousrom.com/~rmk/virtuous-kernel_revert_cyanogen_wifi_change.patch

Neither change should break vanilla or Cyanogen but that needs to be verified.
[G2 and Desire Z Android Development] pershoot:
if i revert the module to _204, softap/tethering will break (although it compiles cleanly and it looks as if softap defines are picked up) on CM.
[G2 and Desire Z Android Development] rmk40:
Had a quick chat with pershoot and I've got a build for users of Sense ROMs to play around with. Everything should work.

http://files.virtuousrom.com/~rmk/rmk-kernel_pershoot_v1.zip
[G2 and Desire Z Android Development] sino8r:
.26 works perfectly running themed deodexed stock rom! Thanks for the extra battery and speed once again, pershoot:p
[G2 and Desire Z Android Development] JonInAtl:
I agree.

Thanks!
[G2 and Desire Z Android Development] Novek:
this should go in the OP, as the original made sense freeze
[G2 and Desire Z Android Development] sino8r:
Oppssy... I did find one thing... wifi calling is completely bonked.
[G2 and Desire Z Android Development] pershoot:
su

cp /proc/last_kmsg /sdcard

pastie that.

su

dmesg >/sdcard/out

pastie that.
[G2 and Desire Z Android Development] unixpunk:
I re-flashed yesterday and it did not freeze again until just now. Had to pull battery to get any response from the phone. Once it powered back up there was no /proc/last_kmsg file. I did pull dmesg of the boot after it froze though if that will still be helpful. Not sure how to best post it here since I can not yet link as a new member.

It only seemed to freeze once I was below 50% battery (full charge yesterday no freeze until this afternoon). I'm wondering if it could be somehow related to my <50% battery SetCPU profile. I have the following profiles configured.

Main 1516 max, 245 min

Priority 100, Screen Off, 245 max 245 min

Priority 97, Temp > 38.2, 368 max 245 min

Priority 95, Temp > 36.8, 768 max, 245 min

Priority 45, Batt < 15%, 368 max 245 min

Priority 35, Batt < 25%, 768 max 245 min

Priority 25, Batt < 50%, 806 max 245 min

Should I try disabling the Battery percent profiles possibly?
[G2 and Desire Z Android Development] pershoot:
Do u know what freq u were on when it froze?

Set a charge profile of 245/768, and no other profile. Now observe.
[G2 and Desire Z Android Development] unixpunk:
Since it froze upon waking (screen came on but I could not enter unlock pattern), and the SetCPU notification area icon had the battery superimposed I would guess it was the 245/806 <50% profile that was enabled when it froze. I've disabled my profiles and added just the 245/768 charging profile suggested and left the main setting at the full 245/1516 (both using ondemand scaling).
[G2 and Desire Z Android Development] gravis86:
Setting to 245/245 screen off can cause freezes too. 245/368 would be better. No profiles at all would be best ;)
[G2 and Desire Z Android Development] pershoot:
also thoroughly test the 245-806 range (all steps) for your particular device and report back.

thx.
[G2 and Desire Z Android Development] unixpunk:
Well so far with it set at 245/1516 and only the charging profile enabled it has not frozen again in the past couple hours with moderate texting and e-mail usage. I'll try other frequency settings over the next day or two and see if any particular settings result in the freeze again.
[G2 and Desire Z Android Development] unixpunk:
Well it froze again when I plugged in the charger which is the only profile I had active in SetCPU at the time. I'm going to disable all profiles in SetCPU and put SetCPU main settings back to a normal clocking of 245/806 and see if it stays stable. I was able to grab last_kmsg this time so I have zipped and attached that since as a straight text file it was too large to attach or post otherwise.

*edit* In attempting to reset the main SetCPU option to 245/806 i slid past 806 down to 768 and just after SetCPU showed the currently freq at 768 on screen it froze that way. So it appears to be an issue with running at 768 possibly.
[G2 and Desire Z Android Development] QwertyAccess:
Battery Life Great No Profiles

Hey Pershoot,

Just curious have you tried running your phone without profiles on?

I'm on Kernel Dec 21 and have been running profiles since day 1, well past few days I turned off profile and simply had ondemand 245/1516.

Battery life has been beautiful and standby has been amazing. Wasn't observing the battery too closely, but so far it seems great with profiles off.

Many people have said the polling Setcpu does for profiles ends up draining more battery then it's supposed to save. It seems that a lot of nexus one users have done testing among a lot of users and many felt that setcpu profiles drained battery life. Right now my phone is at 100 hour system uptime, so no freezes or anything either.
[G2 and Desire Z Android Development] adrake400:
I have come to the conclusion that setcpu profiles do tend to drain battery faster I re-flashed cyanmod and this kernal w/o installing setcpu and I was at 13 hrs with 57% left and the major battery drain started when traveling for christmas from nw ohio to columbus

Link to screenshot http://www.yfrog.com/h4cOeip
[G2 and Desire Z Android Development] apzalo:
Picture wouldn't load for me, but if you aren't overclocking of course you are going to get better battery life.

Sent from my HTC Vision with CM 6.1.1 and Pershoot's Kernel (12/21).
[G2 and Desire Z Android Development] pershoot:
thx. i will make an adjustment to correct that for your device and any device like yours.
[G2 and Desire Z Android Development] demo4o1:
There's a thread same as this kernel 1.8ghz that works perfect under "turbocharge your G2" and so on
[G2 and Desire Z Android Development] quizesilver:
pershoot and others

wanna ask since i am on cm 6.1.1 and on your kernel, is it ok without installing setcpu?

also if i were to install setcpu without profile is it ok.

what is the difference between the two??
[G2 and Desire Z Android Development] gravis86:
Pershoot and CM kernels are very similar... Pershoot undervolts so it should save a little battery life.

You can install without using SetCPU, but without it you will be running at the stock (806 MHz) speed. If you install SetCPU it will allow you to overclock. I suggest not using the Profiles in SetCPU since they seem to do more bad than good. Running at 1209 MHz and no profiles I can easily get through a day with between 40 and 60 percent battery left.
[G2 and Desire Z Android Development] quizesilver:
ah!

oki, is there any magic figure.

why must be 1209 instead 1200? just curious

so this pershoot kernels allow / able to clock up to 1516 only when u OC it, otherwise it will be 806, right?
[G2 and Desire Z Android Development] gravis86:
Correct, it will be 806 unless you change it.

it is 1209 and 806, etc because the CPU multiplier is 19.2.

19.2x42=806.4 (806 MHz)

19.2x53=1017.6 (1017 MHz)

19.2x63=1209.6 (1209 MHz)

19.2x79=1516.8 (1516 MHz)
[G2 and Desire Z Android Development] quizesilver:
ooo

okie!

thks alot. shall try with 1017 1st and see how then 1209.

thks alot!!
[G2 and Desire Z Android Development] CaseyG:
Happy New Year guys! With that said.....whats the easiest way i would go about returning to the stock kernel. Say for example....i wanted to Nandroid back to my stock setup? Do I have to use the PC10IMG.zip or is there a better way?
[G2 and Desire Z Android Development] Neuromancien42:
Reboot loop ?

Hello guys,

I'm trying to install this kernel on my stock, rooted, S-Off, rom stock, french HTC Desire Z (yes, I know, long sentence, but, at least, with all needed informations); using Rom Manager.

The manager correctly download the file, the phone reboot in recovery, the phone install the kernel, reboot and... Keep rebooting in a while ? :confused:

I have somes backup, so my phone isn't bricked :D But I dont understand why the phone keep rebooting after install this kernel ? I'm full rooted, s-Off, without simlock...

Any idea ?

Thank !
[G2 and Desire Z Android Development] Gunlance:
Not meant to work with stock rom. You can get it to work with stock rom buy flashboot flashing the kernel, but things are known to not work.
[G2 and Desire Z Android Development] Neuromancien42:
Obvious, it seem very clear now ;)

Thank you !
[G2 and Desire Z Android Development] noodles2224:
hotspot broken with this kernal and any other things?

Sent from my HTC Vision
[G2 and Desire Z Android Development] corrado85:
is there anything being done to fix the freezing issue upon waking up the phone ?
[G2 and Desire Z Android Development] pershoot:
I will send out an ajustment for it.
[G2 and Desire Z Android Development] jojo_16:
This kernel is not compatible with stock ROM, you can pair it CM or enom if u prefer stock rom you should try enom its the closest Rom to stock.
[G2 and Desire Z Android Development] jojo_16:
What r u using 245/245?
[G2 and Desire Z Android Development] corrado85:
I'm sorry but i do not understand

It's running at 1401/368min- on demand
[G2 and Desire Z Android Development] Vlad83:
I am running 245/245 max/min on Enom's	rom with no issues.
[G2 and Desire Z Android Development] jojo_16:
Sorry, iwas asking about the screen off was it on 245/245??
[G2 and Desire Z Android Development] Vlad83:
Pershoot, can you post the voltage table you use please. It would help with setting the optimal frequencies, etc.

Thanks.
[G2 and Desire Z Android Development] corrado85:
I do not have a any profiles enabled. So Should i create a profile for -screen off- and enable it?
[G2 and Desire Z Android Development] pershoot:
Val, check git repo.
[G2 and Desire Z Android Development] themetatron:
"arch/arm/mach-msm/acpuclock-7x30.c" is the voltage table. So can I run anything 960000 or lower and get the same battery drain?
[G2 and Desire Z Android Development] chubb16:
just flashed pershoots with cm 6.1.1. i was having an issue when the phone was clocked to 1.2ghz ondemand governor, when i got a phone call the screen wouldnt turn on, this was stock cm. putting it on performance seemed to fix it, but i just flashed pershoots kernel and put it on the 1.2 with ondemand governor. the phones seems to run alot snappier already, gonna see if i get the same problem with the incoming phone calls.

one question, i dont like using setcpu profiles, but should i set one up for charging that clocks it back to stock? will the phone get too hot charging at 1.2ghz?
[G2 and Desire Z Android Development] Vlad83:
I looked but couldn't find it... Not very adept in linux. Could you link me?
[G2 and Desire Z Android Development] themetatron:
Start at github.com/pershoot/vision-26.32 then follow the path from the post two above yours
[G2 and Desire Z Android Development] Vlad83:
Thanks guys.

So if I understand this correctly, the G2's voltage doesn't change from 245mhz to 9600mhz and remains at 1000?
[G2 and Desire Z Android Development] BootloopedMillennials:
I use two setcpu profiles, both to prevent the phone from overheating. The first is a temp limit profile that drastically underclocks it if it goes above the set temp (I use 38.8ºc). Another is a charge profile at the stock clock. I found charging at the stock clock reduces the heat produced by charging at overclocked levels.
[G2 and Desire Z Android Development] themetatron:
Yea I was pretty shocked, too. Previously I was running 806-245, now 960-245 both on demand. Though I'm not sure if it would make a difference in battery life to just go performance 960 all the time.
[G2 and Desire Z Android Development] corrado85:
any update mate?
[G2 and Desire Z Android Development] Vlad83:
Yeah I went from 1113 down to 960 max as well. Haven't noticed too much battery conservation but the phone doesn't get as hot. I am surprised its not undervolted at lower levels though but at least its a lot more effecient than the Snapdragon on the N1 which is 1100 @ 614mhz, 1200 @ 768mhz, and 1300 @ 1152mhz.
[G2 and Desire Z Android Development] pershoot:
Corrado, Ill try for tonight.

Sorry been focusing on tegra2 for the last week or so.
[G2 and Desire Z Android Development] themetatron:
My thoughts exactly. I hope more undervolting can be done, though I already get great battery life with this kernel compared to stock and inbuilt kernels with cm and enom.
[G2 and Desire Z Android Development] corrado85:
No problem,

Thank you for all your hard work.
[G2 and Desire Z Android Development] sundar2012:
what device are u using that has a tegra2?
[G2 and Desire Z Android Development] BootloopedMillennials:
So if Im reading this right. If I want to keep stock like battery life with a bump in power, I should overclock to 960mhz since the voltage doesnt change?
[G2 and Desire Z Android Development] Vlad83:
Probably the Viewsonic gtablet. Best tablet out right now... its been rooted...
[G2 and Desire Z Android Development] Vlad83:
Yeah but increase in clock speed still increases battery drain just not as much as when voltage is increase. That's why most use 245/245 max/min sleep profile.
[G2 and Desire Z Android Development] pershoot:
viewsonic gtab.

sorry did not get a chance tonight to release. ill def get to it within the next day or so.
[G2 and Desire Z Android Development] phantomevo77:
Will this bad boy work with CM7?
[G2 and Desire Z Android Development] pershoot:
i havent merged in things specific to gingerbread (a few things), so i would hold off.
[G2 and Desire Z Android Development] phantomevo77:
danngggittt i love this kernel.. haha alright.
[G2 and Desire Z Android Development] Deathcactus:
Any one having issues with wifi draining battery ridiculously fast since flashing this kernel?
[G2 and Desire Z Android Development] Deathcactus:
That's the only issue im having other than that this kernel is amazing
[G2 and Desire Z Android Development] pershoot:
Absolutely not. Battery on wifi is excellent.

Check your bg apps/things that keep your wifi transmitting data at all times (with no stop).
[G2 and Desire Z Android Development] rraxda:
Can someone post the APN settings that you are using with the Pershoot kernel on CM 6.1.1? I am having some issues.... I think some of my settings may have been changed. I did a revert to default but I am still not sure they are 100% right.

Thanks..
[G2 and Desire Z Android Development] primatage:
Hey Pershoot! I've been wondering if/when you were going to merge the parts needed into the kernel for it to work with GB. I had tried doing it from source, but no matter what I did I couldn't get USB mass storage to work. My experience with kernel hacking is dismally pathetic so I was just pleased with myself for getting it to boot at all, but it still wasn't as good as the real deal.

Any idea when you might get around to it? Or are the problems still a bit unresolved at this point?
[G2 and Desire Z Android Development] pershoot:
Sorry guys. I've been in tegra2 land for the last 1.5 weeks or so.

Will def get to this line by this wknd.

Sorry for the delay!
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.27 - http://droidbasement.com/db-blog ; RM updated
[G2 and Desire Z Android Development] pershoot:
ill start in gb territory once cm7 enters RC status.
[G2 and Desire Z Android Development] adam18488:
Good to go with gb?

Edit: sorry just saw ur post above
[G2 and Desire Z Android Development] pershoot:
nope. once cm7 enters RC status, then i will update for gb.
[G2 and Desire Z Android Development] primatage:
Awesome, thanks for the update :)
[G2 and Desire Z Android Development] elracing21:
Testing update now!

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] pershoot:
did this sort the freezing from wakeup on those odd devices?
[G2 and Desire Z Android Development] pershoot:
g2 - 2.6.32.28 - http://droidbasement.com/db-blog ; RM updated.
[G2 and Desire Z Android Development] EdWRX:
Haha pershoot you're not giving me chance to test properly the .27 version.

Well, I'm currently installing the .28 newer version, and in a few hours will test the new kernel.

I have a question, you focus only on developing kernels to improve battery life, or there are other factors i don't know of that u improve here.

Thanks!
[G2 and Desire Z Android Development] hobbla:
No usage bugs so far, though the wake from screen off is still flaky.

I have to hit the power button a few times before the screen comes back up.

In set cpu I have it set as 1516/245 on demand with no profiles. Is it set cpu or something else?

Thank you for your great work as always!
[G2 and Desire Z Android Development] pershoot:
You should not have to hit power a few times.

Can you reproduce this on the stock kernel?

Clear dalvik, flash rom + gapps + .28 kernel. Reboot.

Reboot once more.

In setcpu, set 245-1017 and a charge profile of 245/245. Now observe.

If all is well, keep bumping up the top end. Let me know where it falters.
[G2 and Desire Z Android Development] EdWRX:
Strange thing, works here no problems whatsoever with power button.

Hobbla u should try waking the phone with the trackpad, there's a nice script around here, makes the G2 easier to work with.

Btw, FM radio with this kernel on CM6.1.1 does work! Awesome, I was afraid it wouldn't