yashsingh1/xdaforums huggingface dataset:
[EVO Shift 4G Android Development] CNexus:
What a failure, how dare you po-just kidding :D

It's all good guys, me and blmvxer will get this rolling :cool:

If anybody would like to share (cough strapped or BigSplit cough) I need to first figure out which of the many files are our wifi module and wifi firmware so that I can hex edit the libhardware_legacy.so to point to the correct ones.

At least that's what I did (that and another trick) on the S3 and wifi works perfectly.

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] strapped365:
So I thought I would remember the name of the module once I went to system/lib/modules but the only thing there is cifs.ko and some wait_scan.ko. so ughhh I may compile the kernel again to see what all modules it will spit out.

Should I compile the same one I did for bilgrryan? Or a Sense one?
[EVO Shift 4G Android Development] CNexus:
The AOSP one
[EVO Shift 4G Android Development] CNexus:
FOUND IT

Wifi module is /system/lib/modules/bcm4329.ko

Wifi firmware is /vendor/firmware/fw_bcm4329.bin

Who's ready for working wifi?? :D
[EVO Shift 4G Android Development] -somebody-:
ok i see you got it to boot, is there anything else in this pic i missed i shouldve seen? is gps off or not working? how about the wifi fix?
[EVO Shift 4G Android Development] blmvxer:
I don't have data on this phone, so can't test those features.

*Not working*

WiFi

Bluetooth

Camera

Also tried installing terminal emulator from my SD and the app FC's every time.

That's all I could test.
[EVO Shift 4G Android Development] -somebody-:
i dont have data on mine either (quit sprint) but i forgot it home when i left last week. camera and wifi are dealbreakers for me but it sounds like you got the sdcard to be recognized atleast and thats great. cant wait to try this again once the kinks are fixed in it, i enjoy the look of sense 4 and would love to use it as a daily once all is said and done.
[EVO Shift 4G Android Development] blmvxer:
The ROM I am testing is done be CNexus, not me forgot to mention that. :)

And yes the SD Card is working wonderfully.
[EVO Shift 4G Android Development] 24ky:
If sense 4 comes to your device and fully works ill make a sense 5 theme
[EVO Shift 4G Android Development] CNexus:
I need da logzzzz [MENTION=4437157]blmvxer[/MENTION] to see if the wifi driver and module are being loaded properly

EDIT: Just for the record, the sdcard fix is by [MENTION=4549997]Chad The Pathfinder[/MENTION]

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] -somebody-:
finally made it home to get my phone if theres any updates to test
[EVO Shift 4G Android Development] CNexus:
Yes, I still have not gotten logs

So if you can flash the build I will link to in a sec, please get me the following logs

At boot

Trying to turn on wifi in settings

Opening camera (wanna see if it's an easy fix)

For the first two, please use the code below to get logs so that they are already filtered

adb shell "logcat | grep -e -i \"Wifi|wifi\" > /sdcard/wifiLog.txt"
adb pull /sdcard/wifiLog.txt

Then copy those logs to pastebin.com and drop the links here

EDIT: Link to zip: http://www.androidfilehost.com/?fid=23043426517778486

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] -somebody-:
k, ill see what i can do for ya. just installed a fresh evervolv nightlie, ill finish setting it up and back it up then do this next.
[EVO Shift 4G Android Development] CNexus:
Awesome, thanks :thumbup:

If you can't get to it till tomorrow, it's completely fine because I'm getting ready to sleep right now lol.

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] -somebody-:
ill have it up some time tonight, up working on 2 laptops too so itll keep me occupied LOL

---------- Post added at 09:56 PM ---------- Previous post was at 09:05 PM ----------

wifi is perpetually trying but errors out, cant get a logcat

camera tries then closes back to home screen

it feels closer but cant get a logcat :/

- waiting for device -

error: protocol fault (status read)
[EVO Shift 4G Android Development] CNexus:
That error means you don't have the drivers installed, or debugging isn't enabled

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] -somebody-:
LOL yeah i just figured out i didnt have usb debugging enabled
[EVO Shift 4G Android Development] CNexus:
I read your mind (no, you don't need to go get a snack)

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] -somebody-:
ok, you outside my window? just about to make some soup :/

here lol: http://www.mediafire.com/folder/k93na3xcduc7l/shiftbeta

btw, the music player works though LOL
[EVO Shift 4G Android Development] CNexus:
LOL

No, just a random guess :D

I'll take a look at those logs, we may need to swap the wpa_supplicant for one from a CM9 rom. I had to do that for my port, but I just need to know if it's even necessary here so I didn't include it in that zip you flashed

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] -somebody-:
i should be around tonight to test, wont have time this afternoon.
[EVO Shift 4G Android Development] TDJ512:
Alright guys, I'm gonna share kind of like a pre-alpha 2 release, I'm not gonna post it in the op because its not 100% where I want Alpha 2 to be when officially posted. I'm just gonna update this comment once the uploads complete (which I'm uploading now). The same issues exist that were found in Alpha 1 and there may be 1 or 2 more added to the mix of this release, such as browser seems a little more buggy than alpha 1 to me, maybe its just me or its the fact limitations are kind of being pushed. I still need to tinker around with the app set up, some of the nonsense can be removed that may improve performance like tips etc also, superuser don't seem to wanna work in my favor at the moment.

Okay with all that out the way as I said a few days ago the ROM is rebased on 4.0.4 with Sense 4.1. The sense version of recent apps is included (I guess thats what its called :p ), there are I think 10 Skins, Also there are tweaks included but its not playing nicely in this release due to superuser. However quick settings are present just double tap carrier in the status bar. This is definitely an update over alpha 1 even in this pre-release form, I just wanted to get something out there for you guys so you can see some progress.

http://d-h.st/chV
[EVO Shift 4G Android Development] -somebody-:
ill give this a try tonight, thanks TDJ512
[EVO Shift 4G Android Development] TDJ512:
Cool I think you'll find it more interesting then the last.
[EVO Shift 4G Android Development] megaghostgamer:
Why did my HTC batteries have to swell?!?! I'd be downloading this right now if I had them!
[EVO Shift 4G Android Development] Chad The Pathfinder:
I finally got the chance to flash this and man you have done a good job. The transisions between apps is good. All the previews for wall papers, skins and such work. In fact the only thing that isnt working is still the wifi. If we can just jump that hurtle this will be awesome! Good work so far!

Edit: the camera FCs but screenshot works.
[EVO Shift 4G Android Development] -somebody-:
sorry, i havent gotten to it and i havent slept yet today LOL

ill check this out after i can get a chance for a nap but it sounds like its good so far. for me though wifi is a deal breaker, i needz wifi since i dont have service anymore but im gonna try it regardless. thanks for the info Chad
[EVO Shift 4G Android Development] Chad The Pathfinder:
Im going to try to clean the power button on my former dd. If I can get it working properly then I'll be able to logcat. Right now my hands are tied to using my old test device with the broken usb port. I hopw I can help get this working. Its prety awesome.
[EVO Shift 4G Android Development] TDJ512:
I'm doing the best I can, I've tried so many variations to fix wifi. Its just above and beyond me, I'm sure it has to do with the kernel and from there the proper wpa supplicant/module etc files but I don't know the 1st thing about kernels I need it done for me by somebody that's more knowledgable on the matter.

I can clean it up more in the future and make it better but its a tall order to be the 1 to fix everything. Originally if you remember I didn't even wanna release this just because I didn't want that sole responsibility to be the 1 to have to bring it to completion, I just came from a different angle than platypus and made more things function proper or semi proper.

I would love to have this 100% fully functional but if its all on me, honestly, I don't think it'll every be up to completed standards. Chad and CNexus are really the only 1's that have put any thought into this project outside myself in the past year. Me and chad are both idiots :p but hell I didn't even know how to turn on wifi in ICS originally now I'm depended on to fix it lol.
[EVO Shift 4G Android Development] Chad The Pathfinder:
Idiots? Hey now... lol! ;):p
[EVO Shift 4G Android Development] TDJ512:
It was meant to be said with humor in mind, but CNexus seems a bit more knowledgable then us on the specific kernel/wifi issue. I'm glad you like the work on alpha 2, I've put together better compiles that I feel worked more adequately. I just keep messing them up trying to fix bugs. So I just said err there take this 1 for now lol
[EVO Shift 4G Android Development] CNexus:
Ah sorry guys, been busy the past two days

I will make the same edits to the Alpha 2 that I did to my rom

I will say though, I'm jealous lol

I ported Sense 5 and all, but I prefer Sense 4 any day

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] -somebody-:
nah bro, were not depending on you to fix it all. you can only do so much although itd be great if someone like dodgejcr jumped in and helped but everyones moved on ages ago. only us stragglers still lurking. maybe someone could ask elginsk8r or preludedrew to see if they could do some of the kernel work. elginsk8r did get us a 3.0 kernel after all, maybe hed be willing to jump in and help a little bit to atleast get wifi working.
[EVO Shift 4G Android Development] TDJ512:
Yeah dodge is 1 of the reasons I bought this phone, haven't been too impressed with it to be honest. If we get a fully functional Sense 4+ I've come to terms with I'll be getting my moneys worth. I bought it out of contract like a month after it came out which probably is the only reason I still even own it. As far as people helping well kind of been asking for it for a year plus, I spend quite a lot of time trying to get things to work with this nobody has dug in or even offered but the 2 people I mentioned since like 2012.
[EVO Shift 4G Android Development] Chad The Pathfinder:
Me too. :)
[EVO Shift 4G Android Development] elginsk8r:
I may be of some assistance, I helped with virtuous team to bring sense 4 to glacier. If you want some help with this send me a pm on gtalk nreuter85@gmail.com Im sure we can find the wifi solution.
[EVO Shift 4G Android Development] -somebody-:
thanks again bro, i appreciate you offering to help
[EVO Shift 4G Android Development] CNexus:
Mind if I add you too?

For wifi I know what to do, but testing it is another story...

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] -somebody-:
i can test if you guys can get it working. i still use my shift as a "tablet"
[EVO Shift 4G Android Development] elginsk8r:
What kernel are you running 2.6 or 3.0?
[EVO Shift 4G Android Development] CNexus:
Whatever kernel is included with the boot.img of this rom, probably 2.6

I don't have a functional version of this phone, but I fixed wifi on my Sense 5 port and was trying to apply the same concept here

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] elginsk8r:
i whipped up a sense 4 kernel. not sure if it will boot yet. someone compile and test

https://github.com/elginsk8r/htc7x30-3.0/ branch:speedy

to compile for sense use speedy_defconfig and 4.4.3 or 4.6 gcc work fine...happy coding!
[EVO Shift 4G Android Development] CNexus:
Hmmm, what changes did you make to "sensify" it? I'm trying to figure out how to sensify my CM kernel to hopefully squash some more bugs.

EDIT: Don't mean the actual code, I can just check the commits, but more along the lines of an explanation of why

EDIT2: Just the CONFIG_VP and CONFIG_SPI. I understand the other changes

[MENTION=3799866]strapped365[/MENTION] could compile it, he has an environment set up already. Post the zImage only if you do this strapped...

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] strapped365:
Actually I took the environment down. Right now I'm going to try to expand the windows partition over where Linux was.
[EVO Shift 4G Android Development] Chad The Pathfinder:
You're replacing linux with windows? :eek::confused::eek:
[EVO Shift 4G Android Development] elginsk8r:
This is the 3.0 evervolv kernel (early development). when it was still a sense/aosp kernel. I followed my config changes from glacier_defconfig and glacier_cm10_defconfig and applied accordingly. This kernel was designed for ics sense, i would run with it. if you send me request on gtalk i can package it into a boot.img for you or ever anykernel format
[EVO Shift 4G Android Development] CNexus:
Ah...ok. I'll add you but not for the kernel I know how to repack and unpack them, wanna ask you some things

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] -somebody-:
i ask elginsk8r to help and youve deleted your dev environment LOL

one thing after another with this ROM LMFAO. i cant help but laugh at this point.
[EVO Shift 4G Android Development] BigSplit:
My good deed for the day.....flashable zip

http://www.mediafire.com/?ieds9e5n7wa8zhc

edit: no time to test it though, need to get to work
[EVO Shift 4G Android Development] strapped365:
I've got way bigger **** on my plate then a dev environment. Plus I wasn't aware I owed it to anyone to keep one setup.
[EVO Shift 4G Android Development] TDJ512:
I tested it, it booted however it said something like unsuccessful encryption data failure factory reset to restore, something along the lines of that. Any clue? Thanks for taking the time to compile it.
[EVO Shift 4G Android Development] Chad The Pathfinder:
You dont owe anybody. I was just kidding earlier.
[EVO Shift 4G Android Development] -somebody-:
wow i was joking around bro, ease up. sorry you took it the wrong way. i dont feel anyone owes anybody **** in here and appreciate all the efforts of everyone who contributes.
[EVO Shift 4G Android Development] TDJ512:
Hmm I was reading up on that encryption error, that don't seem to be a good error to see. Wierd thing is I don't have any of the negative side effects other devices have with it. I just boot to recovery and reflash whatever, on other devices they don't seem so lucky. I wouldn't suggest anybody flashing that 3.0 kernel until we find out why its doing that or if anybody has flashed it confirm they don't see the same error.
[EVO Shift 4G Android Development] -somebody-:
thanks for the heads up
[EVO Shift 4G Android Development] TDJ512:
Elgin compiled a kernel it works properly from what I can tell so far, improvements I noticed straight away, camera appears to work :thumbup: I'm gonna toy around with WiFi a little more today but if all goes well and if I can manage the rest we just might have this fully functional by the end of the day!
[EVO Shift 4G Android Development] -somebody-:
i think i might have to change my pants now :D
[EVO Shift 4G Android Development] CNexus:
Add me on hangouts and I'll see if I can make a patch to fix wifi.

cnexus0@gmail.com

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] TDJ512:
Yeah it will be pretty nice to actually use this as a daily driver and feel comfortable it can execute all tasks properly. Hopefully I can get wifi going, I think I can.
[EVO Shift 4G Android Development] 24ky:
With the new kernel you made if WiFi errors out just delete /system/etc/permission/android.hardware.wifi.direct.xml and reboot. It fixes the error issue for most ported roms
[EVO Shift 4G Android Development] CNexus:
The issue is that libhardware_legacy.so is pointing at the wrong module and wifi hardware.

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] TDJ512:
I'm pretty sure I have the wrong files in place for wifi on this compile, but i'll keep that 1 in mind, I'll probably start working on it within the next hour. Cnexus i dont have hangouts i don't even know what it is outside that its an app lol
[EVO Shift 4G Android Development] -somebody-:
it used to be google talk but they merged it with google+ and turned it into hangouts instead.
[EVO Shift 4G Android Development] TDJ512:
Yeah i never used google talk, + or any of that i've always removed it from my daily drivers, you mean its actually useful lol nah i know it is i just have limited trust in google.
[EVO Shift 4G Android Development] -somebody-:
i feel the same way, i dont use any of that either
[EVO Shift 4G Android Development] CNexus:
The only reason I use it is because of all the group chats I'm in. It's awesome for that.

Otherwise I hate it and I downgrade to Talk whenever I don't need to be around

You can add me through talk, I'll still get the notification..

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] elginsk8r:
It uses bcmdhd if that helps
[EVO Shift 4G Android Development] CNexus:
Could you zip up the modules you compiled and send them to me? Added you on hangouts btw

Sent from my S3 on Sense 5 (you jelly?)
[EVO Shift 4G Android Development] elginsk8r:
Ask the op for the link o sent him
[EVO Shift 4G Android Development] TDJ512:
elginsk8rs kernel & modules

http://d-h.st/chm
[EVO Shift 4G Android Development] CNexus:
Thanks, downloading it and the Alpha 2 zip, taking a look now

Hex editing apps for the win!

Sent from my buttered S3
[EVO Shift 4G Android Development] TDJ512:
cool if you see anything you think will be an improvement even outside the wifi let me know, theres quite a bit of touch up still needed.
[EVO Shift 4G Android Development] CNexus:
Uh. Would you be able to provide a mirror for the alpha 2? Dev host is having major issues just processing the download request

Sent from my buttered S3
[EVO Shift 4G Android Development] TDJ512:
yeah i kind of corrupted my copy and tried to redownload it, didnt play too nice on my end either, i don't really have any host link support site other then dev host, sorry. on another note, sd card mount works to perfection now. so 2 semi major issues resolved with the new kernel only thing holding back a beta is the wifi, i'm still trying but i haven't had the success i was hoping for.
[EVO Shift 4G Android Development] elginsk8r:
The WiFi issue may lay in the kernel. Ill check my config tonight if you have no success. Also try using the WiFi files from virtuous infinity. Those are what this kernel was built for
[EVO Shift 4G Android Development] BigSplit:
Elgin you are the sh*t!
[EVO Shift 4G Android Development] CNexus:
I think the kernel is fine. I believe the issue lies in libhardware_legacy looking for the wrong drivers and firmware

Sent from my buttered S3
[EVO Shift 4G Android Development] BigSplit:
Dev-host sucks
[EVO Shift 4G Android Development] CNexus:
Yes! I use afh now. Dev host used to be fast but now it's almost as bad as goo.im...

Sent from my buttered S3
[EVO Shift 4G Android Development] BigSplit:
its been an hour and Im not even at 50% yet
[EVO Shift 4G Android Development] TDJ512:
Its quite probable. there was some things I had to mix and match from the desire z in a few of the lib's to get it to boot. The libhardware_legacy.so is 1 of them as well as files within the hw folder, its kind of a frankenstein compile. If I fixed 1 issue another would arise like the hard key lights or the keyboard lights if I could get it to boot. Since there's a new kernel and a more accurate 1 I can try new things that weren't accessible before. It just might take me a little longer then a day, if any of you dig in and get positive results in the mean time let me know.
[EVO Shift 4G Android Development] CNexus:
Add me on gtalk bro, I can help with a lot of this just need someone to test out my possible fixes.

Sent from my buttered S3

---------- Post added at 09:32 PM ---------- Previous post was at 09:28 PM ----------

Guys, how about us setting up a github repo for this? Be easier to revert fixes that create more issues and track changes for future reference too.

Sent from my buttered S3
[EVO Shift 4G Android Development] elginsk8r:
Rebase libs with primou ones
[EVO Shift 4G Android Development] CNexus:
It would still be pointing to the wrong firmware and drivers

Sent from my buttered S3
[EVO Shift 4G Android Development] Chad The Pathfinder:
I don't know if this is helpful or not but I DLed the kernel from a few posts back and manually added it to my version of Alpha2 and got a bootloop. heres the logcat. http://pastebin.com/5RUmZTeh

I wish I could help more!

Edit: Oh my gosh! I left the shift running after I posted this and it booted after all. It just took a long time.

Edit 2: Still no wifi. http://pastebin.com/BCHh2VAb
[EVO Shift 4G Android Development] CNexus:
Can you try adding wpa_supplicant from any CM9 rom? It's in /system/bin

Sent from my buttered S3
[EVO Shift 4G Android Development] TDJ512:
Yeah it looks like the systems calling on the wpa supplicant but it isn't present in the proper form as well as a mount issue. That's what I took away from it. Then again I'm not the best at reading logcats maybe somebody else will weigh in.
[EVO Shift 4G Android Development] elginsk8r:
Or from a sensation sense ROM. They use bcmdhd as well
[EVO Shift 4G Android Development] TDJ512:
I've tried the wpa supplicant from the cm9 rom, it didn't fix it on my end. However the wifi associated files are different with the newest kernel. I think the evervolv files are more compatible?
[EVO Shift 4G Android Development] CNexus:
Nope, has to be from our files even if the driver is the same

Sorry guys, not home right now so can't do much more

Sent from my buttered S3
[EVO Shift 4G Android Development] Chad The Pathfinder:
Does it matter that Evervolv is 4.2.2?
[EVO Shift 4G Android Development] CNexus:
Yeah it does, and that won't work because it's a completely different version

Sent from my buttered S3
[EVO Shift 4G Android Development] Chad The Pathfinder:
I tried one from Mega ICS but it didn't work
[EVO Shift 4G Android Development] elginsk8r:
Im porting this to glacier to fix this. *Not for a release, just to help find the issue. I will post my findings when im finished shortly
[EVO Shift 4G Android Development] -somebody-:
thanks again man, pretty excited about it.
[EVO Shift 4G Android Development] TDJ512:
I'm pretty sure you could do better then me and clean up a lot of stuff, I'll take no offense if you choose to kang this. I just made this to help and do my part through a time where it didn't get much attention if you can bring it home that's by far what's most important to the evo shift community not the name of the person who does it, I'm a team player.
[EVO Shift 4G Android Development] elginsk8r:
i just want to help where i can. I'm not a fan of sense really
[EVO Shift 4G Android Development] Chad The Pathfinder:
One good thing I've discovered is that Bluetooth seems to be working properly. I managed to connect to my laptop and transfer a file to the phone. :)
[EVO Shift 4G Android Development] CNexus:
Wow that's awesome, bluetooth is usually the hardest thing to get working

Sent from my buttered S3
[EVO Shift 4G Android Development] TDJ512:
Well if there's any edits you think would be valuable let me know I'll do my best to implement your feedback.
[EVO Shift 4G Android Development] TDJ512:
I'm probably going to be moving on from the Shift early August and passing the phone on to a relative. I would like to finish this ROM up but honestly I'm not sure I'll be able to.

Hopefully I helped out in making this a reality in time for those who are Shift loyalist and somebody else will come along fix wifi and clean it up, I'll try to release a cleaner final version before I move on.