yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] removebrain:
thanks for the updates. awesome work you are doing.

but.....openvpn still isn't functioning properly in #589. :-(

D/OpenVPN-DaemonMonitor[/sdcard/openvpn/android.ovpn]-daemon-stdout( 981): Thu Dec 23 19:57:39 2010 [xxxxxxx] Peer Connection Initiated with xxx.xxx.xxx.xxx:1194
V/OpenVPN-DaemonMonitor[/sdcard/openvpn/android.ovpn]-mgmt( 981): onState(">STATE:1293163060,GET_CONFIG,,,")
D/OpenVPN-Settings-getprop( 981): invoking external process: /system/bin/sh
D/OpenVPN-Settings-getprop( 981): invoking command line: getprop net.dnschange
D/OpenVPN-Settings-getprop-stdout( 981): 2
I/OpenVPN-Settings-getprop-stdout( 981): terminated
I/OpenVPN-Settings-getprop-stderr( 981): terminated
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/android.ovpn]-mgmt( 981): =============> 0 == 2 resetting dns, leaving dns alone
D/OpenVPNDaemonEnabler( 981): Received OpenVPN network state changed from Auth to Get Config
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/android.ovpn]-mgmt( 981): SUCCESS: bytecount interval changed
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/android.ovpn]-daemon-stdout( 981): Thu Dec 23 19:57:42 2010 Note: Cannot open TUN/TAP dev /dev/tun: No such file or directory (errno=2)
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/android.ovpn]-daemon-stdout( 981): Thu Dec 23 19:57:42 2010 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/android.ovpn]-mgmt( 981): terminated
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/android.ovpn]-daemon-stdout( 981): Thu Dec 23 19:57:42 2010 Cannot allocate TUN/TAP dev dynamically
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/android.ovpn]-daemon-stdout( 981): Thu Dec 23 19:57:42 2010 Exiting
I/OpenVPN-DaemonMonitor[/sdcard/openvpn/android.ovpn]-daemon-stderr( 981): terminated
I/OpenVPN-DaemonMonitor[/sdcard/openvpn/android.ovpn]-daemon-stdout( 981): terminated
D/OpenVPNDaemonEnabler( 981): Received OpenVPN daemon state changed from Unknown to Disabled
D/OpenVPN-Settings( 981): Disconnected from OpenVpnService
I/OpenVPN-ControlShell( 981): shuting down
W/OpenVPN-DaemonMonitor[/sdcard/openvpn/android.ovpn]( 981): Can't wait for termination, daemon is already dead!

I lied, it did work once, but only when I change the module path to an absolute and had the kernel module load before starting openvpn. after that I could only disable openvpn after a reboot.

flashing back to #43 it works perfectly. thank you.
[Hero CDMA Android Development] Decad3nce:
I'll check it out.
[Hero CDMA Android Development] ULoveAriana:
Wait is this one just for AOSP or what? Cuz I'm running cm6.1 stable

Sent from my DarkHorse Hero CM6.1 ;)
[Hero CDMA Android Development] Decad3nce:
Works on any HeroC ROM.
[Hero CDMA Android Development] ULoveAriana:
Oh ok thanks

Sent from my DarkHorse Hero CM6.1 ;)
[Hero CDMA Android Development] vita10gy:
My battery life was in the toilet, and I was getting some really choppy audio.

I decided to switch from SetCpu to the battery tweak, even though it sounds like some of you are having problems with that. It occurred to me that, since the tweak isn't a program (just config stuff afaik), and you aren't supposed to use the tweak and setcpu, maybe I wasn't supposed to be using setcpu with the new release either.

Can I get a ruling on that? Is running just the kernal, no collin tweak, no setcpu, what the intention was? (Or is it still flash the tweak, or run SetCpu/OC Widget)
[Hero CDMA Android Development] :
FWIW, I am running the newest kernel, the battery tweak, on CM nightly 166 with Autokiller set to aggressive. Currently sitting at 70% battery after 13 hours with moderate use. Best battery life I have gotten thus far on the Hero and have tried many combos :D
[Hero CDMA Android Development] KBizzle:
Its one or the other but in my experience, all of the oc programs slow my phone down and I'm not a fan of the batt tweak cause it tunes the processor speed down as the battery drains hence making it slow at low battery percentages.
[Hero CDMA Android Development] brokentoaster24:
has the trickle charging been nixed?
[Hero CDMA Android Development] Decad3nce:
Yeah. Next, and more important project, is getting gadget usb drivers working so that we'll have working mass storage for gingerbread.
[Hero CDMA Android Development] Decad3nce:
You can change how much the tweak clocks you down, the default is 33%, but I always put mine around 15-10%
[Hero CDMA Android Development] brokentoaster24:
aaaaaaaaaaaalright, wish i was more kernel savvy so i could try to get that working :P
[Hero CDMA Android Development] KBizzle:
Nice. I may have to try again.
[Hero CDMA Android Development] mickdubs:
Yea great kernel but i am too getting choppy audio and bad freeze ups when using pandora
[Hero CDMA Android Development] Decad3nce:
Turn up your min scaling frequency.
[Hero CDMA Android Development] oohaylima:
What's the recommended freq?
[Hero CDMA Android Development] Decad3nce:
Anything 176000 or above
[Hero CDMA Android Development] il Duce:
hey deca, got a question. I just went in to the tweak to change some settings around, and noticed you removed the 245760 and replaced it with 264000, just curious why, even though it doesn'y really matter to me :) also, when I was finished with the tweak I noticed something new, it said:

settings saved

starting batt.sh

NOTE: when you exit ADB or terminal, you may

have to hit CTRL-C

#

I've never seen the "note: etc." part, any idea what this is or if it matters?
[Hero CDMA Android Development] Decad3nce:
In an attempt to keep all frequencies on the same PLL, erasmux/RaduG got rid of the 245760 frequency and replaced it with a multiple of 19.2(PLL_2) around the same frequency that is optimized for 256mhz jumps.

{ 245760, ACPU_PLL_0, 4, 0, 81920, 2, VDD_4, 61440, 0, 0, 5 },

vs

{ 264000, ACPU_PLL_2, 2, 3, 88000, 2, VDD_4, 128000, 0, 0, 8 },

The note is just for if you try to run the tweak in terminal, you may have to force the exit ctrl+c to get out of the window. It has always been there afaik.
[Hero CDMA Android Development] il Duce:
one more for you deca: does the tweak min freq setting override the default using smartass? I like smartass, it seems to settle in nicely on my device :) but batt life is worse, I would assume it is because of the 518 min on wake, right?
[Hero CDMA Android Development] PMGRANDS:
@ il Duce....

Can You Or Deca Maybe Explain The Smartass Setting?

I Have Two Different Profiles Set...

Smartass, And Also Performance, But Guess You Can Kind Of Say I'm In The Dark As To What The Difference Is.....

Even The Section Where You Can Do A Stress Test, Is Kind Of Fuzzy!!
[Hero CDMA Android Development] s0be:
Thee battery tweak just affects what speeds the governor will use
[Hero CDMA Android Development] il Duce:
That's what I thought, thanks for the info!

sent from my hero, which no longer sucks ass
[Hero CDMA Android Development] brokentoaster24:
Any progress on .32/.34?
[Hero CDMA Android Development] vita10gy:
I'm running the 768 with no tweak or setcpu. Seems to have increased my battery life a ton dumping Setcpu. However, the system app shows it capped at 691. Is something misconfigured in that kernel, is the System app just wrong, or do you need something extra to push it beyond 691?
[Hero CDMA Android Development] brokentoaster24:
Default is 691 on both, you'll need something else to oc more
[Hero CDMA Android Development] :
Yes you need oc widget from the market or Deca's battery tweak from the op
[Hero CDMA Android Development] il Duce:
I'm near 100% positive you can change it with a command code(no tweak required), I tried to find it but I couldn't, I use the tweak, but maybe deca can pipe in when he gets a chance :)
[Hero CDMA Android Development] il Duce:
Deca built it, so he could give much better info, but here's what I know:

It runs a lot like the interactive gov, but ramps "smarter" based on load. It caps the max freq when sleeping/screen off to 352, and the min with screen on/wake is 518. It is reasonable to assume smartass would consume more batt if you use use your device a lot, but I always have a charger handy so I don't really know if one is better than the other in that regard. I frequently switch between the 2 governors and can never make up my mind which I like better. I don't use performance, nor do I stress test, as I am happy with the way my phone works, thanks mostly to deca :)
[Hero CDMA Android Development] vita10gy:
Yeah, the instructions are in the second post. (Though I flashed his batt tweak anyway, then configured it.)

So what exactly is the difference then if they're both capped at 691 by default? What they are during bootup?

I'm starting to thing that it's just the default settings max out at 691 when off battery.
[Hero CDMA Android Development] pstevep:
The difference is you can over clock one to 768 where as the other one will only let you go to 691.. The rom (at least I know for cm6) limits the kernel from booting at 768 and running that high without some sort of controller.. There are a lot of our phones that can't handle 768, so its a safety feature to cut down on people freaking out because their phones aren't working..
[Hero CDMA Android Development] :
I think this code in the CM6 init.heroc.rc sets things stable during each boot

# Power Management
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 245000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 691200
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive

setprop ro.ril.fast.dormancy.rule 1
setprop ro.ril.fast.dormancy.timeout 2

For those asking Questions about the battery tweak, or SmartAss governor, please read near the middle/end of the 2nd post!!

The smartass governor is by erasmux and ported/included by Decad3nce.
[Hero CDMA Android Development] oostah:
I'm running asop 2.2 with #589 691. If I flash the bat tweak do I need to set any thing. Do I just flash and run? I did see

CPU Governor:Interactive

I/O Scheduler:deadline/biopsy

How do you set it?
[Hero CDMA Android Development] vita10gy:
Terminal emulator

su

batt-cfg
[Hero CDMA Android Development] oostah:
Ok so flash zip reboot go to terminal and

such

Batt-cfg

Then what? Sorry
[Hero CDMA Android Development] c00ller:
Then you will be presented with an interactive menu. You'll know what to do when you see it.
[Hero CDMA Android Development] oostah:
Ok cool thanks for your time.
[Hero CDMA Android Development] imleon:
This method works perfect to enable my phone's diag mode!

My question is after that, how to disable the diag mode and get my phone into normal mode?
[Hero CDMA Android Development] :
Did you try rebooting?
[Hero CDMA Android Development] imleon:
Unfortunately, there is no file called /dev/qct_diag/disable.

Reboot works but i wanna find a way without reboot to make it disabled like HTC Sense.
[Hero CDMA Android Development] :
Ok so then it has to do with the number 11 being echo'd to that device. Some other number would disable it. I guess since it gets cleared with a reboot, you could do trial and error ;)
[Hero CDMA Android Development] oohaylima:
I set the min freq at 264000, but still Pandora skips like crazy; to the point that the phone becomes unresponsive when the screen is off. Is there anything I can do to remedy this besides returning to the 11182010 release?
[Hero CDMA Android Development] Los Altos:
Error error
[Hero CDMA Android Development] MallardDuck:
Hey does anyone have any suggested settings for the battery tweak if i want my max to be set to 710mhz?
[Hero CDMA Android Development] GeezyAF:
Why doesn't the battery tweak work on Liquid 2.1.1?

I have #589 uncapped.
[Hero CDMA Android Development] stayclean:
I thought the tweak only works with Froyo roms.
[Hero CDMA Android Development] GeezyAF:
So I guess I have to use oc widget then?
[Hero CDMA Android Development] Decad3nce:
It works with any ROM.
[Hero CDMA Android Development] GeezyAF:
I was getting some line errors when trying it with LS.

I don't exactly remember, as I went back to CM6.2 for the time being.

But one error I remember is something about "whois."
[Hero CDMA Android Development] fifedogg:
Deca we need someone like you over in the EVO Shift development section. Your kernels are great and we need someone like you to make this phone haul some serious balls. I'm sure you could get some nice donations ;)
[Hero CDMA Android Development] silberj:
Leave him alone, no recruiting here, He is doing just fine here :-)
[Hero CDMA Android Development] dhero1:
Easy - buy him a phone! :p
[Hero CDMA Android Development] hotaru:
and pay the extra $120/year for him :p
[Hero CDMA Android Development] fifedogg:
Lol! I actually offered to possibly buy him an Optimus S so he would do some dev for that phone but he wasnt really interested. I bought the EVO Shift now and really hope we can get a dev like Deca to make some good Kernels. Honestly there really isnt much more to do to the Hero imo. Its pretty much as fast as its ever gonna get thats why I upgraded.
[Hero CDMA Android Development] cordell12:
I have a question, the Optimus S has close to the same processor as the Hero does (I think), would it be hard to port your kernel over to it? If no what would I need to do it? We have a OC kernel for the Optimus but yours with the battery tweak would rock!

Thanks
[Hero CDMA Android Development] Deltatristar500:
Im on the stock 2.1 rom that came with my Sprint HTC Hero, can I use this zip file with it? I dont have an option in recovery to "wipe dalvik cache", only to "wipe cache"
[Hero CDMA Android Development] :
Yes it will work, wipe cache and try it. If not, change recoveries. In clockwork recovery, Wipe Dalvik is under 'Advanced'.
[Hero CDMA Android Development] Deltatristar500:
Thanks, then do I rename the file to install.zip so I can flash it via recovery? or is there another way to install it?
[Hero CDMA Android Development] c00ller:
I don't think the processors are really close at all.

Just to get an idea, read this

http://smartphonebenchmarks.com/for...msm7225-msm7625-processors-how-good-are-they/
[Hero CDMA Android Development] cordell12:
I guess I can't complain about that!
[Hero CDMA Android Development] ickwonder:
I have the same problem is there a fix for this.
[Hero CDMA Android Development] aiwetir:
Raise the min frequency higher?
[Hero CDMA Android Development] ickwonder:
Dont know why I never thought of this before...duh...so far so good

Thanks
[Hero CDMA Android Development] srthimsen:
Agreed, I'm actually going to the optimus next, no reason to spend an extra 120 per year for data, and they've already announced gingerbread will be ported to it as well! Not bad for a $50 upgrade.
[Hero CDMA Android Development] antichromatic:
Decad3nce, I'm curious about the difference between your kernel and Darch's with regard to Stagefright. I just finished getting Pandora working with your kernel by disabling Stagefright in batt-cfg. When using stock CM6.1, I never had problems with Pandora. Are you using unpatched Stagefright by default? Is CM using OpenCore by default, or a patched Stagefright?

Since the in-thread search feature seems to be broken right now, I'm unable to get any good information on the differences in your thread or the CM thread. :(

Thank you for an amazing kernel and all the work you've done. My gf's Hero feels like a brand new phone after tonight's work. CM6+DecaFuct+DecaMod+GBKeyboard = awesomesauce
[Hero CDMA Android Development] Decad3nce:
AOSP patched the stagefright issue a while ago, CM then merged it. So there's no real need to disable it in batt-cfg.. its an outdated option.
[Hero CDMA Android Development] antichromatic:
So, with your kernel, I should be able to use stagefright and not have Pandora problems? Right now, that doesn't seem to be the case. I raised the minimum CPU frequency and it didn't help. I was afraid that raising it further would obviate the efficiency gains of your kernel and the battery tweak.

Thank you for the speedy reply!
[Hero CDMA Android Development] Asadullah:
So thanks to your guide I successfully compiled a kernel the other day. So I'm like okay I got this, I'm a beast, more and more self appreciation. After about half an hour of running aound the house I tried to compile the kernel from the optimus m but failed. kept getting an error (hmm should I copy paste the error or let him guess what it is :P )

make[2]: *** [arch/arm/boot/compressed/piggy.o] Error 1
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2

I don't know what that means I looked in those folders and those items weren't there but this came directly from lg wtf?
[Hero CDMA Android Development] Rooster85:
Okay so o flashed this kernel and the battle mod, I'm Def seeing an improvements in battle life but my mflops are still only 3.74 while on AC power...... any idea why?
[Hero CDMA Android Development] Rooster85:
Damn touchscreen! Just came from palm so I'm still getting used to it
[Hero CDMA Android Development] GeezyAF:
Turn JIT on. Even then, you'll only see around the area of 5. The Hero's processor isn't good at FPO.
[Hero CDMA Android Development] :
pastebin the full error. that doesn't really say anything. it should be spitting out more than just that. If not, need to ask how get it to show the actual compiler output and not the pretty output it hides behind now.
[Hero CDMA Android Development] Asadullah:
Well I went ahead and reran what I've done recorded it here's the video link. I'm not sure if this is the full logcat (it's everything in terminal) If there's another way to get a more in depth than let me know.

robert@robert-laptop:~/android/system/android-kernel$ KS=$(pwd)/kernel/script
robert@robert-laptop:~/android/system/android-kernel$ CC=$(pwd)/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin
robert@robert-laptop:~/android/system/android-kernel$ export=${KS}:${CC}:$PATH
robert@robert-laptop:~/android/system/android-kernel$ cd kernel
robert@robert-laptop:~/android/system/android-kernel/kernel$ make thunderc-perf_defconfig
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
robert@robert-laptop:~/android/system/android-kernel/kernel$ make
scripts/kconfig/conf -s arch/arm/Kconfig
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
GZIP kernel/config_data.gz
/bin/sh: minigzip: not found
IKCFG kernel/config_data.h
cat: kernel/config_data.gz: No such file or directory
CC kernel/configs.o
LD kernel/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
GZIP arch/arm/boot/compressed/piggy.gz
/bin/sh: minigzip: not found
AS arch/arm/boot/compressed/piggy.o
arch/arm/boot/compressed/piggy.S: Assembler messages:
arch/arm/boot/compressed/piggy.S:4: Error: file not found: arch/arm/boot/compressed/piggy.gz
make[2]: *** [arch/arm/boot/compressed/piggy.o] Error 1
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2
robert@robert-laptop:~/android/system/android-kernel/kernel$
[Hero CDMA Android Development] :
This your problem.

which causes the .gz file not found because it isn't getting made:

arch/arm/boot/compressed/piggy.S:4: Error: file not found: arch/arm/boot/compressed/piggy.gz

I'm not sure which package includes minigzip.
[Hero CDMA Android Development] jasonmaloney:
noatime tweak incorrect

Deca,

When viewing logcat during boot, I noticed a lot of

Usage: mount [-r] [-w] [-o options] [-t type] device directory

occurring right before

Decad3nce: Remounted all partions noatime

So I went into /etc/init.d/06tweaks and tried running the commands manually, with the same result. Mount doesn't seem to like that the device is not specified. I was able to successfully modify the commands and correctly re-mount all partitions with noatime.

The attached file includes these corrections (and adds a "/" to the path for scaling_governor, as this was throwing an error as well). I have been using it for a few hours now with no issues.

For anyone who wishes to test my corrections, unzip and use the following commands to push and set permissions:

adb remount
adb push 06tweaks /etc/init.d/
adb shell chown root.shell /etc/init.d/06tweaks
adb shell chmod 0751 /etc/init.d/06tweaks
adb reboot

For reference, I noticed the collin_ph battery mod (as well as your tweaked one) have the same error.
[Hero CDMA Android Development] Squiggy45:
Since flashing this kernel, I've had random reboots, but now my phone won't even turn on. When I try to charge it, the light doesn't come on. It seems pretty much dead. Now of course I'm panicking... Is there anything I can do?
[Hero CDMA Android Development] :
Take it back to sprint, tell them you voided the warranty and broke it. Figure out a way to get a new one, and don't do it again.

I find it hard to believe that with thousands of installs, it melts yours.
[Hero CDMA Android Development] Squiggy45:
I'm not blaming the kernel. Just saying I'm using this kernel and having this particular problem.
[Hero CDMA Android Development] 24601:
LMFAO 10 chars
[Hero CDMA Android Development] Squiggy45:
**** you. I don't find it particularly funny. I'm just looking for help.
[Hero CDMA Android Development] holic87:
Does this kernel work with the newest CM nightly, build 188?
[Hero CDMA Android Development] il Duce:
chill dude, he laughged at the post, not your problem, and FYI if you want help you shouldn't drop the F-bomb on people who can actually help you.

EDIT: also, you never actually asked for help, wtf? what specific sequence of events/flashes happened right before your phone "died", and have you tried a different charger to see if the light comes on?
[Hero CDMA Android Development] Asadullah:
There all over craigslist for 80 to 100 dollars
[Hero CDMA Android Development] user7618:
And this is exactly how to get it.

-----

Sent from my CDMA Hero. I got some hot Froyo-on-Hero action here!
[Hero CDMA Android Development] Squiggy45:
Could he actually help me? Doubtful, since he made no attempt to do so. That being the case, the F bomb landed in the right place :)

The last thing I did was install the latest Decafuct kernel - the overclocked version - a week ago. I didn't overclock the CPU. Lately had a few episodes where the phone would either reboot on its own or just shut off. Now this.
[Hero CDMA Android Development] :
So can you please provide more information?

1) Does the phone power on at all to reach a recovery?

2) If no, can you obtain another battery to test?

3) You say no charging lights come on, does this include the wall charger?

4) Are you S-OFF or otherwise bootloader unlocked?

5) As others asked, what happened before it wouldn't turn on?

6) What technical proof can you provide showing that decad3nce's kernel was the issue?

That said, if the phone is dead, you will have no other option but to take it back to Sprint for Warranty work. If you don't have coverage, then you are off to ebay or craig's list. Find you an LG Optimus S or something for $150 and move on. You take full responsibility for your actions when messing with these things.

A rebooting phone is most likely caused by overheating, overclocking, or bad components. What is to say the phone was just dying already?
[Hero CDMA Android Development] srthimsen:
Sounds like hardware to me, but I would test a different battery, as mentioned.

I bet this had nothing to do with what was currently installed, likely would've done the same with stock.