yashsingh1/xdaforums huggingface dataset:
[Sprint HTC EVO 4G LTE] Zarboz:
Essentially wats going on is

that the wifi driver is a .ko (kernel module)

that module looks for a version magic number (a generated hex hash when compiling the kernel)

to load into the kernel and make our wifi work.

so when the system does a call to insmod prima_wlan.ko

prima_wlan.ko looks at the kernel and wants to know "was i compiled with the same magic number"

if the number matches great it loads up and you have wifi

if the number doesnt match you get "error" on your wifi

recompiling the wifi module against your kernel will allow the wifi to work again

such heavy edits that i have made such as the ones to synaptics_3200.c and other system level drivers

have changed my magic number and when the kernel module looks for that address or number it doesnt have the same data as the module

and fails to load

on my kernel i disabled magic number checking but the module is still looking to match the number

im investigating if we can just sign our kernels with the stock HTC magic number but i think that will mess up our mods to the kernel

honestly i would be happy if we got a API to just communicate with the .ko

i dont really need the source although it would make it easier for the end user

thats why the older kernel packages came with the bcrm4 something .ko to be flashed along with the boot.img

as to not break wifi

so you can have some SWEET mods to your kernel and broken wifi

or you can have a half modded kernel and keep wifi

sucks

i got some leads on whats breaking it possibly

<4>[ 63.750038] prima_wlan: Unknown symbol is_perf_lock_active (err 0)
<4>[ 63.750556] prima_wlan: Unknown symbol perf_lock (err 0)
<4>[ 63.751045] prima_wlan: Unknown symbol perf_unlock (err 0)
<4>[ 63.751167] prima_wlan: Unknown symbol qcom_wlan_perf_lock (err 0)
[Sprint HTC EVO 4G LTE] sgt. slaughter:
cool thanks for the quick tut there bud...

id imagine the API would be much more likely to be had for it than the source at this point no?...least through Qualcomm...
[Sprint HTC EVO 4G LTE] Zarboz:
i fully sympathize with that viewpoint

its just a matter of if someone can make it happen

if they cant i am determined to make it happen i just really dont know about the legalities of reverse engineering qualcomms code.

so this will be done in private until i get some legal advice
[Sprint HTC EVO 4G LTE] jclendineng:
What's battery life like?
[Sprint HTC EVO 4G LTE] sgt. slaughter:
not to be a total idiot here but I'm sure you've already checked out the stuff here:

https://developer.qualcomm.com/mobi...es/3g4g-connectivity-gobi/tools-and-resources

and also looked around Code Aurora Forums for some stuff?....

I'd think the stuff there on the Gobi and MSM would help some no?
[Sprint HTC EVO 4G LTE] ca1ne:
Gobi I'm assuming is 3g/4g... I don't see any api for onboard wifi.

Checked code aurora, all you will find is complaints by other people about the module.

On Twitter you can find other phone developers asking HTC/Qualcomm for source or at least api.

To put it simply. To compile a truly custom kernel you need this module to be part of the compiling process... Disabling perflock kills Wi-Fi, sweep 2 wake synaptics mod breaks Wi-Fi... 1 version of bfq implementation breaks wifi.

Working on a kernel on this phone as well as all other phones that have prima_wlan.ko is... Tweak, compile, if fail, remove tweak. And let's just hope you don't try to do more than one thing without checking because then it's a guessing game which edit broke it...

Gpl states in essence that the kernel and any modules dependent on kernel magic, symbols, etc, need to be delivered with kernel source to stay compliant. Usually we would get a wrapper for the proprietary blob that we can compile that translates with each kernel compilation...

So essentially this source is not compliant with the Linux licensing. While htc or Qualcomm probably has some legal reason to avoid it, in the end it just complicates working on kernels. And it's not just Wi-Fi module tweaks, it can be anything.
[Sprint HTC EVO 4G LTE] sgt. slaughter:
your right about the gobi, was just linking to their site with the sdk/api's in general that they had there...

This sounds more like something that HTC forgot to include in the "wrapper" for proprietary ish since this is a new module compared to the past where we had a separate chip that handled the wifi as opposed to now when it and other radios are integrated in the SoC itself...

guess itll take beating down their door to realize the mistake in the "scrubbing" they did of the kernel source before releasing it...prolly did their typical scrub as before and forgot to handle the new module differently...?
[Sprint HTC EVO 4G LTE] ca1ne:
The funny part is, I contact htc, they say it's Qualcomm, contact Qualcomm and they say check with HTC
[Sprint HTC EVO 4G LTE] sgt. slaughter:
yeah but thing is HTC releases the source so its on them not Qualcomm...if you were asking for source of the module then yeah thats on qualcomm to an extent....but if we really just need it to be placed "in the wrapper" correctly so it can be compiled no issues then thats on HTC...no?

prolly take a few times bugging them before you get someone that knows what your talking about though. lol
[Sprint HTC EVO 4G LTE] Pithism:
if already answered i apologize, but are there plans in the future for AOSP kernel, when LTE AOSP roms start to develop and become more stable?

And this will work with any 4.0 sense ics rom?

I couldn't find the answer to this in the search.
[Sprint HTC EVO 4G LTE] Zarboz:
Yeah i have to start digging up the HTC tree and sending out emails.. think i might start on that tomorrow.

@ca1ne do you have documented correspondance from either HTC or Qualcomm.. if i have to play the game i will.. :D

i am looking to start this project with another talented individual awaiting some game plans and hopefully some prima source :D
[Sprint HTC EVO 4G LTE] wileout:
Is it possible that its who im thinking it is....please say yes please please please

Sent from the depths of hell
[Sprint HTC EVO 4G LTE] sgt. slaughter:
Btw for all there is a thread in general about HTC source practices....has some nice email addresses and all...
[Sprint HTC EVO 4G LTE] ca1ne:
nice, ty
[Sprint HTC EVO 4G LTE] Pithism:
Sweet! Can't wait. sense 4.0 is better than the last version (3.5/3.6). But cm 10 and aokp ICS/job are amazing.

Hope stable aosp comes soon then!
[Sprint HTC EVO 4G LTE] drlzanej:
I believe between yourself and ca1ne it will happen you seem like your well on your way and ca1ne is a real wizard when it comes to kernels. Youll getit, I got faith in ya...
[Sprint HTC EVO 4G LTE] Zarboz:
might have found a fix for what broke wifi within sweep2wake.. attempting a compile/test now

also found out from Sbryan in the One X forums how to fix the Clocks not sticking :D
[Sprint HTC EVO 4G LTE] ca1ne:
What was it thermald? And congrats on the sweep2 wake

Edit: got your pm. I'll try it out tonight, lol, left might I compiled 3 different kernels, different overclock maxes, and now there might be a fix, lol. Though to test I might have to change my overclock code a bit.
[Sprint HTC EVO 4G LTE] wileout:
Tried this out on tranquility and kept getting freezes/reboots os this an issue across the community thats being addressed or handled or am i just a loser whos phone hates him?

Sent from the depths of hell
[Sprint HTC EVO 4G LTE] smallba:
There still working on the bugs, if you read through the pages you'll see that both kernel dev are working together trying to iron out some issue they are having with both kernels, i.e. Evils and Ca1nes, with help from some other devs. Hope that helped some.
[Sprint HTC EVO 4G LTE] .Gibson.:
You probably have a phone that is terrible when it comes to overclocking. I'm in your boat. The problem is the kernel ramps up to 2.1ghz on boot and periodically, regardless of your oc settings in place. Be lucky you can boot, my phone can't even get to the lockscreen at 2.1.

Sent from my LTEvo
[Sprint HTC EVO 4G LTE] Zarboz:
the fixes i am working on now should curb that issue for everyone

im waiting ca1nes response to see if it worked
[Sprint HTC EVO 4G LTE] Zarboz:
can you say smooth like butter?
[Sprint HTC EVO 4G LTE] Zarboz:
ok guys some new stuffs to play with

getting closer and closer to resolving the OC issue

also got some input on what breaks wifi :D
[Sprint HTC EVO 4G LTE] bobarune:
Yes I can.

For other people, RC3 posted!
[Sprint HTC EVO 4G LTE] Zarboz:
just so everyone knows

the kernel is clocked at 2.1 out of the gate

i will post an aroma installer based flash that will allow you to choose your starting frequency
[Sprint HTC EVO 4G LTE] bobarune:
Even awesomer.
[Sprint HTC EVO 4G LTE] volk9029:
Wow, that's a first one. Aroma kernel flash. Thank you.

Sent from my lair.
[Sprint HTC EVO 4G LTE] curiousGeorge:
Amazing. 2.1GHz seems to stick now. If user sets the max clock to anything lower, though, it still randomly jumps back up (known issue).

Also, for the first time I was able to get 10,600 on Quad's CPU test (and about 8000 total Antutu). For some reason, I/O is over 1000 points less on EvilZ than enoch, and graphics are about 50-100 points less -- otherwise, scores are about the same.

Total Quadrant score with this kernel: 6022. Total score with enoch 0.1: 6024.

Your kernel's extremely high CPU and RAM scores make up for the big drop in I/O performance.
[Sprint HTC EVO 4G LTE] Zarboz:
i wonder why there is a diff in IO score

ill look into it
[Sprint HTC EVO 4G LTE] bizzshow26:
What I have found to be better us I no longer have the slow app drawer and per system tuner CPU 1 isn't jumping to 2.1 then immediately going to sleep as it used to makes everything smooth as butter. I'm going to continue to run this kernel for a few days just to see if the problem still exist
[Sprint HTC EVO 4G LTE] Zarboz:
i am pushing an update tomorrow to do the I/O schedulers and look at the graphics clock

taking apps for testers

please be able to complete the following :

use fastboot

use adb

have enough knowledge to run terminal commands

be running AOSP rom (this is what were gunna be testing :D)
[Sprint HTC EVO 4G LTE] CwbAnDroidCwB:
Grrrr still makes phone spazz....guess my phone doesn't like kernels....
[Sprint HTC EVO 4G LTE] officiallytook:
Test please....

Edit sorry not running aosp currently

Sent from my EVO using Xparent Red Tapatalk 2
[Sprint HTC EVO 4G LTE] Zarboz:
Got something working for you as well :D

aroma installer with adjustalbe clock options

:D
[Sprint HTC EVO 4G LTE] wileout:
Hey zarbos if i dl flash image gui can i use that to help test or no? U already are aware of my issue lol oh and im asking for the sense kernel (not a huge fan of aosp)

Sent from the depths of hell
[Sprint HTC EVO 4G LTE] Zarboz:
Evil Aroma installer up

cant wait to get my phone tomorrow and play with it :D
[Sprint HTC EVO 4G LTE] wileout:
Ahh **** hes gettin his lte tomorrow i have a feeling by sunday night were gonna see something amazing come from him :)

Sent from the depths of hell

---------- Post added at 11:59 PM ---------- Previous post was at 11:45 PM ----------

U did it bro pretty sure all the issues i was having with it are gone...no lag no freezes yet lol....im not expecting any reboots and aroma is the ish and this fone flys :)....did i mention yhe fone flys....bro this fone flys and im ocd @ 1.8 kinda scary thinking if i went to 2.1 i dont know what would happen like **** the world would probably end and **** lol

Sent from the depths of hell
[Sprint HTC EVO 4G LTE] smallba:
Silky Smooth
[Sprint HTC EVO 4G LTE] DB13:
I'm so glad i have one of the perfect EVOs that can go to 2.1 GHz great Kernel man
[Sprint HTC EVO 4G LTE] CwbAnDroidCwB:
Running great so far :) keeping fingers crossed....

Edit- sorry bro spoke to soon.......spazzed again and had eveything set to stock
[Sprint HTC EVO 4G LTE] Zarboz:
even on 1.5ghz ?
[Sprint HTC EVO 4G LTE] CwbAnDroidCwB:
Yessir
[Sprint HTC EVO 4G LTE] Zarboz:
thats very odd

could you do me a favor??

if you can recreate the issue

run adb shell dmsg > /data/local/dmesg.txt

adb pull /data/local/dmesg.txt

adb shell rm /data/local/dmesg.txt

and send me the dmesg.txt?
[Sprint HTC EVO 4G LTE] LaloHigh:
Oc at 2.1 and sticking, all good, working great.
[Sprint HTC EVO 4G LTE] CwbAnDroidCwB:
Not really familiar with things like that just a flasher, troubleshooter.....(kinda noobish when it comes to that sort of thing)but will try to give it a shot when I get home....
[Sprint HTC EVO 4G LTE] williamfold:
USB OTG and NTFS support would be nice....sucks having a brand new, shiny 64GB mSD card and being limited to FAT32...and thx!!
[Sprint HTC EVO 4G LTE] Zarboz:
USB OTG ill look into

NTFS should be simple

NTFS enabled recompiling the versions and updating the aroma installer

then reposting

:D

ca1ne has made a discovery and shared with me (should fix second core jumping around all crazy like)

testing out some stuff now

:D
[Sprint HTC EVO 4G LTE] Rydah:
What kernel base is this? Asking cause on stock 1.22 kernel it fixed the proximity sensor bug in phone calls, and I got that bug back. :( love everything else, but that one thing is killer for me.

Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!
[Sprint HTC EVO 4G LTE] mhmobile:
Ok, didn't want to show my stupidity by posting this question but a search in multiple forums didn't have the results I was looking for.

How do you initiate the aroma installer?

Running the latest TWRP and Viper 1

Tried running the kernel in recovery but got a failed install

Thanks for the help

Mike
[Sprint HTC EVO 4G LTE] luigi311:
Must have been a bad download becuz aroma starts up during the install progress automatically
[Sprint HTC EVO 4G LTE] Zarboz:
only source out is 1.13
[Sprint HTC EVO 4G LTE] rrusek:
2 Way Call Recording ?

Will you be incorporating 2WCR into your kernel?

Thank you,

RJR
[Sprint HTC EVO 4G LTE] mhmobile:
Thanks for the recommendation, should have checked that before I posted, it was a bad download
[Sprint HTC EVO 4G LTE] Zarboz:
yes

this is a MUST

thanks for mentioning
[Sprint HTC EVO 4G LTE] Rydah:
I thought I wasn't affected by HTC's delays in kernel sources. I am now!!!

Sent From My HTC Evo 4G LTE, On The Now Network From Sprint!
[Sprint HTC EVO 4G LTE] johamsandwich:
Zarboz, thank you for having the MHL refresh hack! I can now play video games on tvs with no lag! Thank you again! :D
[Sprint HTC EVO 4G LTE] Zarboz:
no problem

glad you like it
[Sprint HTC EVO 4G LTE] wileout:
Hey zarboz working out great with tranquility finally....ocd at 1.8 withvlionheart gov and its as smooth as a freshly oiled phat a** lol thanks man

Sent from the depths of hell
[Sprint HTC EVO 4G LTE] thingnblah:
Newest release no longer reboots on lock screen for me. Big thanks

EVO LTE xda premium
[Sprint HTC EVO 4G LTE] drlzanej:
Im useing tranquility as well EvilzAroma, 1.8/192 brazilian wax sio. Very smooth. And you acheived this without an LTE,,,Cant wait to see what you come up with when you get one. Thanks Zarboz

---------- Post added at 06:58 PM ---------- Previous post was at 06:49 PM ----------

Still got a reboot at 1.8. Dropped it to 1.7 and interactiveX see what happens.
[Sprint HTC EVO 4G LTE] Zarboz:
check your voltages

just realized the tables arent set right
[Sprint HTC EVO 4G LTE] Majin101:
Did u guys install gpu oc? It messed my graphics on flexs rom
[Sprint HTC EVO 4G LTE] Zarboz:
can you post a Dmesg?????

posting new aroma installer

Sbryan is cool for letting me use it but i want it to say EvilZ on the bootsplash

so time to breakout the photoshop skillz ... (these skills pale in comparison to my dev work)

so if anyone wants to help me photoshop something

shoot me a PM

coming later tonight

NTFS support

start on 2wcr implimentation
[Sprint HTC EVO 4G LTE] wileout:
Hey zarboz if you get that splash done hook me up with it if you dont mind preferably a red version if you do it in some other color lol

Sent from the depths of hell
[Sprint HTC EVO 4G LTE] {ParanoiA}:
Is this a sense kernel or aosp
[Sprint HTC EVO 4G LTE] PsiPhiDan:
Hey Zarboz, will you be working on a kernel for CM10 now? It is starting to be daily driver material now with today's build. I love your work, but now that AOSP is available and stable, I can't take advantage of your awesome kernel! :(
[Sprint HTC EVO 4G LTE] corcgaigh:
Sense

Sent using my LTEVO
[Sprint HTC EVO 4G LTE] durandetto:
Did you sign the petition and send some emails? We need to get the word around and try to force HTC's hand.
[Sprint HTC EVO 4G LTE] corcgaigh:
Just wondering what you guys are using for undervolting and what do you gain by lowering/raising. I suspect battery life and clock speed stability but I'm guessing really

Edit...... After seeing the voltage section in system tuner every clock speed has its own voltage. Should I be trying to lower the voltages

Sent using my LTEVO
[Sprint HTC EVO 4G LTE] finfan71:
Those sound like some great guesses to me :D

Edit: had to fix word prediction spelling
[Sprint HTC EVO 4G LTE] corcgaigh:
Ya. Should have searched a little more before posting. As usual the answers are here you just need to search

Sent using my LTEVO
[Sprint HTC EVO 4G LTE] Zarboz:
My computer just took a turn for the worse... needs a new motherboard ............ :(

power surge shorted my PC out and wont respond anymore so I'm going to have to replace it

ill try to setup virtualbox on my work computer to keep builds going
[Sprint HTC EVO 4G LTE] kiserian:
Sucks. Sorry man.

Sprint HTC EVO 4G LTE

Team Venom Viper4G 1.0

Beautiful Widgets

Nova Launcher

Epoch1 Kernel

Senseless
[Sprint HTC EVO 4G LTE] wileout:
Noooooooo

Sent from the depths of hell
[Sprint HTC EVO 4G LTE] Zarboz:
trying the different arm-eabi- toolchain versions but still not having luck with the stupid keyboard

and here i thought the problem would be from my overclock tables

still getting compile issue....

hmmm

ill think about this and get back to you cuz its telling me its an implicit decleration of function so something in the at .o or .c file is not correct.. and i dont know that much about C code ....ahh time to read up a little bit

google here i come

i <3 google

think i got it over the keyboard problem\

still having the same issue

looking into the .h files and the makefile to see if i can declare the fucntion its missing
[Sprint HTC EVO 4G LTE] spankmaster:
That seems like one of the better guides so far, thank you. I was really trying to find a setup guide for a newer version of ubuntu I guess I'll just go ahead a get an older build so I don't bash my face in trying to get this done lol.

I highly doubt the OC is 2.1 by default, but that 2.1 is just the maximum allowable overclock. I'm still going to do everything I can to try to get this to compile myself, but it still would be sweet for others or if I fail if you would do that!
[Sprint HTC EVO 4G LTE] Zarboz:
nevermind keeping misc from compiling was a stupid idea lots of depends in there
[Sprint HTC EVO 4G LTE] Art2Fly:
Lol
[Sprint HTC EVO 4G LTE] Zarboz:
Making new push now

cleaning up HTC's code smh

cs_3200)" -D"KBUILD_MODNAME=KBUILD_STR(synaptics_3200)" -c -o drivers/input/touchscreen/.tmp_synaptics_3200.o drivers/input/touchscreen/synaptics_3200.c
drivers/input/touchscreen/synaptics_3200.c: In function 'synaptics_ts_probe':
drivers/input/touchscreen/synaptics_3200.c:2110: error: 'struct synaptics_i2c_rmi_platform_data' has no member named 'i2c_err_handler_en'
make[3]: *** [drivers/input/touchscreen/synaptics_3200.o] Error 1

this is wehre im at right now

got past the GPIO erorr :D thanks to a buddy
[Sprint HTC EVO 4G LTE] ms79723:
According to that error...on line 1976 you create (please excuse how I word this...I mainly mess with C#) a pointer that points to type of struct "synaptics_i2c_rmi_platform_data." And that's all fine and dandy. What's not fine is that on line 2110 you're trying to reference something from that pointer of that type...and that struct does not contain anything that can represent it.

So...just going of of what I see

ts->i2c_err_handler_en = pdata->i2c_err_handler_en;

ts->i2c_err_handler_en points to the type struct "synaptics_ts_data" which contains a variable "i2c_err_handler_en" (and we know this because this struct is created in the file where the error is present) BUT pdata which points to "synaptics_i2c_rmi_platform_data" does not contain that variable.

So...I think that going into this file: synaptics_i2c_rmi.h and adding

"uint8_t i2c_err_handler_en;" below line 125 should fix that error.
[Sprint HTC EVO 4G LTE] Zarboz:
you should read my buddies input on the error

its almost word for word that... im slowly catching onto this kind of logic and hopefully can take my knowledge and make use of it here shortly
[Sprint HTC EVO 4G LTE] ms79723:
Wait...with your buddies input on the error (which mine is very close to it seems) does the problem still persist? I kind of read that message that way..and if so, I'm jumping back on github for a bit...

I'm actually getting ubuntu (again *sigh*) right now so I can mess with this a little bit.
[Sprint HTC EVO 4G LTE] Zarboz:
i am using both ubuntu and redhat right now

pushing fixes currently :D

grrr

stupid HTC

why give us broken source

-_-
[Sprint HTC EVO 4G LTE] drlzanej:
Ummm caush HTC does that kinda S**T to make us feel like you do right now,,, BTW Great to see some work on a custom kernel. Thanks man ,,,:cool:,,,
[Sprint HTC EVO 4G LTE] ms79723:
Ack..finally got my workstation set up...compiling right now to see what errors I get right off the jump. Unfortunately I won't be able to mess with this until I get back from some basketball. Kinda sucks how every time you get ready to do something...something else pops up. Good thing I don't sleep until 5-6 AM central time. I have all night/morning to play with this!

Edit:

Umm...I'm confused...Zarboz..were you able to compile the kernel right off the jump? Or did you get errors right off the jump?

I just compiled this with 0 errors right now....where'd you get your source from? I pulled mine from the htcdev.com website. Maybe you pulled yours from someone else and that person was in the process of patching it and didn't get around to finishing it. If you pull it from htcdev, you should be all good dude. Save yourself from the headache.
[Sprint HTC EVO 4G LTE] thicklizard:
I compiled from htcdev no problem as well. I think it's all the edits giving errors.
[Sprint HTC EVO 4G LTE] ms79723:
That's what I was thinking..but I thought he might have pulled the source from someone else as opposed to getting it from htc directly. But looking at it..it wasn't forked...hmm I just can't believe that what he's trying to add broke so much. Pretty interesting. Completely disregard my last post then.
[Sprint HTC EVO 4G LTE] Zarboz:
i know

cuz all i touched was acpu

i couldnt get it to compile from htcdev but just realized im using a freakin 32 bit environment... *smh*

will redownload from HTC add the tables and recompile
[Sprint HTC EVO 4G LTE] Zarboz:
i know

cuz all i touched was acpu

i couldnt get it to compile from htcdev but just realized im using a freakin 32 bit environment... *smh*

will redownload from HTC add the tables and recompile

i cloned into a working repo for the ONE XL and couldnt get it to compile either

therefore i believe it to be my environment.... will scrap and start over with that and keep the acpu clock tables ive adjusted saved
[Sprint HTC EVO 4G LTE] Zarboz:
did you compile my GIT? or did you compile HTCDev source??

if you have compiled my git could you post the zimage or PM it to me

rebasing from HTCDev.. i think my download was corrupt and adding new adjustments
[Sprint HTC EVO 4G LTE] Zarboz:
compiled first try in my 64 bit environment

pushing the rebase
[Sprint HTC EVO 4G LTE] Zarboz:
uploaded new rebase and got her compiling it turns out my pull from htcdev was corrupt

and i was on 32bit machine *doh*

can someone upload stock boot.img for the LTE
[Sprint HTC EVO 4G LTE] husker91:
Here you go, It's the stock from the newest base... All I've done is make it insecure.
[Sprint HTC EVO 4G LTE] drob311:
We can't compile kernels with 32 bit anymore? I ask because I was going to start working on a kernel but if it isn't possible on a 32 bit pc, than it's back to the drawing board I go...

Sent from my EVO using Xparent Blue Tapatalk 2