yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] davidevan:
so we just flash this like a normal Kernel?

yes i know im taking up space by asking this question
[Hero CDMA Android Development] pstevep:
You are a beautiful man.. i will do anything I can to help..

<insert witty line about your rom here>
[Hero CDMA Android Development] pstevep:
Yes. Just wipe dalvik cache first.

<insert witty line about your rom here>
[Hero CDMA Android Development] davidevan:
Ok thanks friend. this is my first time using s0be's kernel. Ive heard a lot of great things from it
[Hero CDMA Android Development] pstevep:
Its great work. He and the other devs that have worked on it have really done a fantastic job.. one thing to keep in mind is after it boots give it a couple of minutes to warm up..

<insert witty line about your rom here>
[Hero CDMA Android Development] s0be:
<6>[ 0.658660] H2W: Registering H2W (headset) driver
<6>[ 0.658996] H2W:h2w_probe: switch_dev_register
<6>[ 0.668121] H2W:h2w_probe: headset_mic_35mm
<6>[ 0.668518] H2W:h2w_probe: h2w_gpio_power
<6>[ 0.668914] H2W:h2w_probe: h2w_detect
<6>[ 0.669128] H2W:h2w_probe: h2w_button
<6>[ 0.669342] H2W:h2w_probe: <cable_in1
<6>[ 0.669738] H2W:h2w_probe: <cable_in2
<6>[ 0.669921] H2W:h2w_probe: gpio_to_irq cable_in1
<6>[ 0.670135] H2W:h2w_probe: gpio_to_irq cable_in2
<6>[ 0.670501] H2W:h2w_probe: init_cpld
<6>[ 0.670715] H2W route = 0
<6>[ 0.670989] H2W -> GPIO
<6>[ 0.671478] H2W:h2w_probe: input_allocate_device
<6>[ 0.672119] input: h2w headset as /devices/virtual/input/input0

Getting there
[Hero CDMA Android Development] s0be:
<s0be> well, init worked... will plugging the headset oops
<s0be> that is the question
<s0be> <6>[ 64.534240] 3.5mm_headset plug in
<s0be> <6>[ 64.748077] 3.5mm_headset without microphon
<s0be> **** yeah *****es
<s0be> h2w be working on .35
<s0be> AP 3 about to drop in the hizouse
[Hero CDMA Android Development] MallardDuck:
this was the only post worth reading on this in at least a day. lol. :D thanks for your hard work dude.
[Hero CDMA Android Development] s0be:
Mic detection is still ****ed, but it should be a decent kernel to use for daily. It's uploading right now. Of course, my 10K/s average upload speed for it isn't helping. Posting this message is probably delaying when it will be available by at least 1-2s
[Hero CDMA Android Development] s0be:
AP-3 is now live. I did not take the time to change the build number, so it's going to show up as something like AP 86... oh well, AP 4 will hopefully land tomorrow with mic detection working. I know now what I must do, just need to do it.
[Hero CDMA Android Development] radrian92:
Gracias, Merci, Thank you s0be!!!! Wonderful job! So sad that you have to leave us HeroC.
[Hero CDMA Android Development] Drunkpilot:
April 7th, a day that will live in infamy...for the Heroc.
[Hero CDMA Android Development] mahalocat:
Running now. Seems snappy and smooth. Wifi and tether both work great. Will test head phones in the am

Thanks s0be....this is da ****

ALOHA!!!
[Hero CDMA Android Development] s0be:
It'll probably be into april 8th before AP4 lands with all the features. Then, a little cleanup work at somepoint and I vanish like a fart in the wind. I put off finishing this long enough, seeing as monday I will be retiring my HERC
[Hero CDMA Android Development] mahalocat:
s0be. heroc hall of fame!
[Hero CDMA Android Development] jasonmaloney:
What's the correct config file to use to match your builds? arch/arm/configs/heroc_defconfig?
[Hero CDMA Android Development] il Duce:
Nice work s0be!

sent from a series of tubes.
[Hero CDMA Android Development] s0be:
Normally. I haven't pushed it yet as it was extra time and it was the better part of 3AM when I got h2w workingish.
[Hero CDMA Android Development] s0be:
heroc_defconfig updated to reflect ap-3 for ya.
[Hero CDMA Android Development] pstevep:
Running smooth so far. Actually feels a little better than ap2.. the only complaint i am having is that when ever I flash a newer version its wrecking my a2sd.. its never done it before so I'm trying to figure out if it's kernel related or a2sd related..

<insert witty line about your rom here>
[Hero CDMA Android Development] s0be:
No clue... this SHOULDN'T tweak anything beyond replacing the modules and kernel zImage. That having been said, there are parts to AnyKernel that are dark magic to me (having not cared to learn more)
[Hero CDMA Android Development] brett1211:
I'm using data2ext and anytime i'm updating a rom/kernel & I clear dalvik-cache, I must do the following after the following

1. clear cache/dalvik

2. flash new rom

3. flash new kernel

4. flash data2ext

5. after initial boot, goto Terminal and type:

-"su"

-"cd data"

-"mkdir dalvik-cache" <-- the important step for data2ext if you clear dalvik-$

-"reboot"

after reboot, all my stuff is back. dunno if that will help you or not but it's certainly saved me hours of headache once someone pointed that out to me
[Hero CDMA Android Development] pstevep:
That probably would work for me.. i can actually type in "a2sd repair" and that will fix and reboot the phone.. its just a pain.. again no big deal just an annoyance..

<insert witty line about your rom here>
[Hero CDMA Android Development] pstevep:
I don't know that it's the kernel specifically.. its just started happening, I am going to try and nail it down.. its just mostly annoying..

And I thought you knew everything, i thought you lived in code..

<insert witty line about your rom here>
[Hero CDMA Android Development] s0be:
I am ONLY a kernel developer. Userspace is too high level for me.
[Hero CDMA Android Development] pstevep:
Don't be modest.. we all know that you are like Neo from the matrix..

<insert witty line about your rom here>
[Hero CDMA Android Development] s0be:
For those that forked my tree, I just merged in 40 or so commits from various sources. Stick with your current fork (or don't go any further than fa24e08047f4b2adbdd7) unless you're a madman.
[Hero CDMA Android Development] s0be:
err, 67 commits
[Hero CDMA Android Development] il Duce:
Holy crap you on fire!

sent from a series of tubes.
[Hero CDMA Android Development] poashll:
I had a similar issue using Gingerbread's a2sd. I wiped dalvik and flashed AP3 and when I rebooted the apps on the SD card showed they were not installed. I went into settings > applications and it showed the apps but with no icons. I waited about 15 minutes and it wasn't correcting. I rebooted and when it came back all was well.
[Hero CDMA Android Development] s0be:
Anyone know what the gadget accessory function in the android usb gadget framework is? I've implemented it in htc_devices, and it creates it's /dev/ node, but I have no clue what it's for, or if it's a benefit to have.
[Hero CDMA Android Development] pstevep:
dude dropping commits like crazy..
[Hero CDMA Android Development] pstevep:
s0be, i have a question for you... after i am finished settiing my machine up for developing (its taking me a while because i have limited time, work and family), what would be my best course of action to learn the ins and outs of a kernel?? because i would like to be to start to tweak them and stuff and hopefully be able to keep my hero alive after you and a everyone else leave.. i gotta keep mine til at least september.. im a trial by fire type of person and learn mostly by screwing things up first, but if there were some sort of resource that i could peruse whlie screwing things up that would help..
[Hero CDMA Android Development] cteneyck:
usb devices.

IE keyboard. mice. mass storage.
[Hero CDMA Android Development] pstevep:
^ Dude thats amazing and way more than I was expecting.. i have a decent working knowledge of c, visual basic was just Crazy easy and i use it at work from time to time.. I'm trying to get my mind back in a programming mindset.. I am going to give myself a crash course in c again.. thank you for this though it's awesome..
[Hero CDMA Android Development] feyrune:
S0be, you are the man. I've been avoiding getting into android development for not being familiar with git (use svn at work). That was a great crash course.
[Hero CDMA Android Development] Drunkpilot:
Damn! You mean there isn't a UOK Kitchen? Lol.
[Hero CDMA Android Development] jasonmaloney:
Since I'm a huge proponent of "if it ain't broke, take it apart and fix it..."

system/lib/modules/`uname -r` is no longer required in CM7
[Hero CDMA Android Development] mahalocat:
Sobe. Drop that ****
[Hero CDMA Android Development] laie1472:
What version are you using?? I'm on the gf method data2ext ext2. I wipe dev cache and cache every time I flash something new. I never had to use those commands. When ever I wipe I just flash the data2ext zip and reboot all is well.

Yea its Me Again With The

Modified Hero
[Hero CDMA Android Development] s0be:
You calling my kernel a steamy pile still?
[Hero CDMA Android Development] mahalocat:
Haha... no...kernel running for a few hours ... smooth decent battle life. Mic is recognized but doesn't work....amazing progress S0be
[Hero CDMA Android Development] s0be:
Try unplugging/replugging the headset after the phone has stabilized. I found that during boot, everything was detected as no mic, then after, everything was detected with mic.

So here's the issue:

Monday, my Hero is deactivated, and my Aria is activated. The problem is, I don't know how to test the mic without making a test call. I also never figured out the actual function of the button on my headset (and as an addendum, I never tested that it worked on any kernel or rom). If someone can provide a way to test either of these on a non activated device, I may do some more dev work, but as it stands (as of 09:30 AM Eastern Time), I'm done working on this kernel. I'll still be available to answer questions, but don't look to me to fix anything that isn't blatantly obvious from a oops/backtrace. The small exception to this might be if an able dev steps up, proves their ability, but need some help in understanding/fixing some of the more complex functionalities (IE, the i2c/gpio <=> microp <=> CPLD <=> functionality that is the h2w stuff)

I stopped keeping track of my time at the 600 Hour mark. That was over a month ago.

And I'm spent.
[Hero CDMA Android Development] il Duce:
one Q, and some praise.

SO does the mic work, or is that what you're curious about? Sorry if it's obvious, but I haven't had enough coffee yet today :) If you need something tested on a working device please say so, as for non-working, the #aospbot boys you know have them deactivated.

No matter where this kernel stands, you're drive to get it done, and ability with linux, android, and this kernel still amazes me. I dearly hope that some dev is able to pick up where you left off, and I hope they "step up, and prove their ability". It would be great to see this kernel as our base, or the "easy" switch to .37, lol. I really hope you get some more donations for your work, holy **** 600+ hours, that's about 1/3 of a full time jobs hours in a YEAR (2080 hrs), which means you likely pulled 1/2 a year in hours! You will be a legend in heroC land for as long as it lives, at least for the members who understand what you've done. Thanks for making .35 your ***** :) You will be missed.
[Hero CDMA Android Development] jaybob413:
Thanks for all of the time and effort you put into this and all of your previous efforts for the HeroC. It is greatly appreciated.

All in all, what issues remain to be worked (that you know of)?
[Hero CDMA Android Development] s0be:
As of right now, the teeter-totter issue is the wired headset. That's the only problem I know of. The headset driver from 2.6.29 has piss poor locking, and is racy like a stripper at prom. It either failed to boot, or worked perfectly. Never any gray area. The other side is the htc_headset vs htc_headset_mgr + htc_headset_gpio drivers. I have both partially working in the latest commitish. I believe the htc_headset_mgr driver is the way of the future, but the htc_headset driver is probably closer to working and will be less work to fix. It appears the htc_headset_v1 driver from our .29 tree is sorta in the limbo between the htc_headset_v1 driver from the hero sources that riemer commited to .35, ant the htc_headset driver from .35 natively.
[Hero CDMA Android Development] ehiggins:
Can you test the mic using voice search and wifi or making a recording
[Hero CDMA Android Development] Drunkpilot:
I really just want to say thank you for your time, effort, and knowledge that you have brought our community. You are already missed. Your market fix is legendary, as well as your kernal work.

The only thing I can think of to test the mic would be to use Google Voice Search to see if it picks up your words.

There is only one S0be around here, at least in name, and that is a name of someone you can trust.

Thank you once again. I wouldn't have GB running on my phone without you. All of your work is much appreciated and respected. Good luck in Aria land.

I have a tear rolling down my cheek like Iron Eyes Cody (did I just date myself).
[Hero CDMA Android Development] il Duce:
I just called myself, lol, mic works. It sounds like the headset is either gonna work, or not... I'll test that on my way home from work, and if it doesn't work, it sounds like a reboot or kernel reflash *might* fix it. Thanks again s0be, and the rest of the devs who put in on the .35 !!!

EDIT: ap4 running smooth and FAST, nice job s0be! keeping my fingers crossed that the headset works tonight.
[Hero CDMA Android Development] aaronpoweruser:
if it wouldn't be to much to ask could u release a kernel sans debugging code Monday to truly unleash the beast or at least make a non debugging fork on github so we can compile are own
[Hero CDMA Android Development] s0be:
Try AP-5 (not announced) and see if it has enough debuuging ripped out.
[Hero CDMA Android Development] Drizzzle01:
Would you be able to test the mic using tikl? I use it all the time at work with Wifi where my 3g connection is low.

http://www.appbrain.com/app/tikl-touch-to-talk/mobi.androidcloud.app.ptt.client
[Hero CDMA Android Development] c00ller:
Just want to say your work is an incredible solo effort

Thanks to testers too, of course :)
[Hero CDMA Android Development] wjason:
Nice work s0be (and others)!! I just downloaded AP 4 and voice search, shazam, and soundhound are working flawlessly.
[Hero CDMA Android Development] s0be:
If someone wanting to learn the ropes is looking for a trivial task{*}, here's one:

arch/arm/mach-msm/include/mach/msm_rpc_version.h needs to have values for AMSS Version 4410

I'd also consider reviewing ALL the rpc and smd code from the htc-kernel-heroc tree (2.6.29) and comparing it to my cm-kernel tree to see if there's anything else I missed.

{*} This e-mail took me longer than it'd take to fix. This isn't causing any real problems right now due to reverting commit 3348365584dd24ab9a0186caa0ab727882e88679 in 8663a93c0573667dfb15eefbeebc06068942a719 which should be undone once this is fixed.

edit/note: There are only like 4 values missing from the file.
[Hero CDMA Android Development] il Duce:
You tease.

sent from a series of tubes.
[Hero CDMA Android Development] aaronpoweruser:
ap-5 is awesome quadrant is a 343 which is about on par with a .29 kernel but it feels smother great job s0be ill be sending u a beer
[Hero CDMA Android Development] s0be:
AP-5 is identical to AP-4, only with a modded .config, and a few files updated that have debug overrides in them (SEE: 236215fafd47c7ee4cfb0319a63cfc15a5c33fad
[Hero CDMA Android Development] pstevep:
Ap5 is beautiful.. i have been traveling all day and conducting training.. flashed 4 during training and it was sweet.. but 5 feels awesome.. just got home and going to try and run it around.. s0be beautiful job..

<insert witty line about your rom here>
[Hero CDMA Android Development] il Duce:
So, since I dont know how to compile, am on mobile only, and never figured out your secret dl, can I haz?

sent from a series of tubes.
[Hero CDMA Android Development] pstevep:
I will pm you

<insert witty line about your rom here>
[Hero CDMA Android Development] mahalocat:
where is 5?
[Hero CDMA Android Development] pstevep:
I would link it but I'm on my phone, plus its not really mine to link..

EDIT: once he has released it I would link it.. but with out his permission i wont.. Didn't want to be rude..
[Hero CDMA Android Development] cteneyck:
LOL i don't think he will mind. if he does ill take blame and flame myself.

the trick is to copy the link, paste it in a new window then replace AP-4 with -5, hit enter and watch the bits start to stream.
[Hero CDMA Android Development] pstevep:
lol.. he may not.. but i have never asked.. and did it when his server was down once..

uh oh.. now the trick is out..:p

EDIT: and it looks like my a2sd problem is associated more on the a2sd side, which is what i kind of figured, its something with the new version of it.. if anyone cares or has the same issue with it breaking after a flash..
[Hero CDMA Android Development] il Duce:
AP5 is one sexy *****! Your pimp hand is very strong.

sent from a series of tubes.
[Hero CDMA Android Development] mahalocat:
MIC WORKS WAAAAHOOOOOOO

s0be - I agree with duce.....nice pimp hand :D
[Hero CDMA Android Development] s0be:
ap5 linked in the first post. if people ***** about problems on it, make sure they reproduce them on ap4 and provide dmesg/logcats for ya.
[Hero CDMA Android Development] pstevep:
Awesome.. Dude I been screwing with it for a while now haven't been able to make it flinch.. its been the best by far..

Sent from.. wait.. What????
[Hero CDMA Android Development] radrian92:
Ap5 is hella fast! Usually after a reboot the phone takes forever to boot, about a 1min nn now it was so fast! Thanks s0be!
[Hero CDMA Android Development] beyondinferno:
Heh, you said "hella". Hello fellow NorCal person!

Ps. AP5 is hella awesome.
[Hero CDMA Android Development] radrian92:
You're from CA? I'm from Anaheim ;).
[Hero CDMA Android Development] jneg123:
Just updated to #5. So far so good. This is fast and smooth.
[Hero CDMA Android Development] oostah:
Dose any one wipe anything when flashing this kernel?
[Hero CDMA Android Development] 808Bill:
I just wiped cache and dalvik. Worked like a charm.
[Hero CDMA Android Development] oostah:
Thanks for the reply I was wondering with this kernel
[Hero CDMA Android Development] 120409:
Anaheim all day ;)
[Hero CDMA Android Development] Drunkpilot:
Not only did the Ducks win tonight, we did with this kernal. Feels really smooth. I think I might need to recalibrate my battery (although I just did recently) because it stayed at 100% after 30 minutes on screen on usage. Headphones work great too.

Some good thunder and lightening tonight.
[Hero CDMA Android Development] dastin1015:
This is probably a dumb question, but above the AP 5 link, is that a "no debug" or a "node bug." My English is not the best. :/

Edit: Understand now. "No debug."
[Hero CDMA Android Development] il Duce:
after a day on ap5, overall it feels faster in general than .29. I didn't do any quad/linpack or the like. I noticed the keyboard (I use swype) got an occasional hiccup, as did scrolling menus (but again, still better than .29 overall). My phone froze this morning, and I don't even remember what I was doing (early, getting ready for work) and I had to nand back to .29, because I use my phone for work :( Since I had to leave for work I did not have time to plug it in while frozen and pull any useful logcats/dmesg etc. I was running interactive 352-729 at the time. Sorry about the lack of tech data s0be, but thought I should bring it up anyway, hopefully someone else can duplicate (on ap4 like s0be said - needs debuggery) and post the useful info. Happy trails all.
[Hero CDMA Android Development] pstevep:
i will see if i can get it to do it on 5, and if it does switch to 4 to recreate.. since i dont have anything to do today (no work for once).. i agree with your it being faster comments, overall it feels a good bit faster to me..
[Hero CDMA Android Development] s0be:
fixed, thanks
[Hero CDMA Android Development] s0be:
If someone produces a backtrace, etc, I'll walk someone else through tracking down the bug and fixing it. Start grooming my replacement.
[Hero CDMA Android Development] jeffc313:
camera didn't work quite perfectly for me. when launching the camera activity from my own app (it won't display the "OK" once I take the picture, just hangs)
[Hero CDMA Android Development] pstevep:
What governor are you using?

Sent from.. wait.. What????
[Hero CDMA Android Development] jeffc313:
First tried "performance" then "ondemand"
[Hero CDMA Android Development] pstevep:
Ondemand works the best, but if you used another governor before it you will have to boot back into it with ondemand as what you boot into..

Sent from.. wait.. What????
[Hero CDMA Android Development] oostah:
i have been trying to get my windows vista setup to learn how to compile kernels but i have been having trouble with it. just got this 2weeks ago. i have sdk setup for windows. and vm virtualbox with ubuntu10.10.
[Hero CDMA Android Development] pstevep:
thats what i am doing currently.. im not using ubunto though.. the best thing to do i have found is use this wiki at first.. and there was a wiki that s0be linked further back.. it takes for freaking ever to sync to cyanogenmod..
[Hero CDMA Android Development] jasonmaloney:
Instead of doing this:

$ repo sync

Do this:

$ . build/envsetup.sh && reposync

or this:

$ repo sync -j16
[Hero CDMA Android Development] igtheactt1:
usb tether doesn't work...
[Hero CDMA Android Development] pstevep:
what do these do specifically??
[Hero CDMA Android Development] jasonmaloney:
Both of them allow for parallelizing your syncs to complete them faster.

$ help
Invoke ". build/envsetup.sh" from your shell to add the following functions to your environment:
- croot: Changes directory to the top of the tree.
- m: Makes from the top of the tree.
- mm: Builds all of the modules in the current directory.
- mmm: Builds all of the modules in the supplied directories.
- cgrep: Greps on all local C/C++ files.
- jgrep: Greps on all local Java files.
- resgrep: Greps on all local res/*.xml files.
- godir: Go to the directory containing a file.
- cmremote: Add git remote for CM Gerrit Review
- cmgerrit: Send patch request request to CyanogenMod repos
- mka: Builds using SCHED_BATCH on all processors
[B]- reposync: Parallel repo sync using ionice and SCHED_BATCH[/B]

Look at the source to view more functions. The complete list is:
add_lunch_combo breakfast brunch cgrep check_product check_variant choosecombo chooseproduct choosetype choosevariant cmgerrit cmremote cout cproj croot findmakefile gdbclient get_abs_build_var getbugreports get_build_var getprebuilt gettop godir help isviewserverstarted jgrep lunch m mka mm mmm pid printconfig print_lunch_menu reposync resgrep runhat runtest set_java_home setpaths set_sequence_number set_stuff_for_environment settitle smoketest startviewserver stopviewserver systemstack tapas tracedmdump

$ repo help sync

Summary
-------
Update working tree to the latest revision

Usage: repo sync [<project>...]

Options:
-h, --help show this help message and exit
-f, --force-broken continue sync even if a project fails to sync
-l, --local-only only update working tree, don't fetch
-n, --network-only fetch only, don't update working tree
-d, --detach detach projects back to manifest revision
-q, --quiet be more quiet
[B] -j JOBS, --jobs=JOBS number of projects to fetch simultaneously[/B]
-s, --smart-sync smart sync using manifest from a known good build

repo Version options:
--no-repo-verify do not verify repo source code
[Hero CDMA Android Development] pstevep:
Thanks for that.. good knowledge to have..

Sent from.. wait.. What????
[Hero CDMA Android Development] oostah:
cool thanks im looking into it
[Hero CDMA Android Development] ch1naski:
Torrance, here. South Bay Rules!

s0be, I've not yet tried your kernel, but read this thread daily out of sheer curiosity, and fascination.(and humor, ar ar).

Thanks for all you've done. Wish all dev threads were this interactive.

π

sent from GB hero.