yashsingh1/xdaforums huggingface dataset:
[HTC Rezound] Snuzzo:
That was it but I flashed without gapps at first then went back in to recovery to flash them. Ends in a boot loop.

Sent from my ADR6425LVW using Xparent ICS Tapatalk 2
[HTC Rezound] TheBr0ken:
They are

---------- Post added at 09:34 PM ---------- Previous post was at 09:34 PM ----------

Video tearing is fixed
[HTC Rezound] Flyhalf205:
Right now the cameras just are black displays. Shows nothing. But hopefully one day we will get something!
[HTC Rezound] dplane:
So is it fair to say that is the biggest issue left to be resolved on the ion side?
[HTC Rezound] Flyhalf205:
yes.

Snuzzo told me "Keep going your almost there!!!!" So I will keep going... lol
[HTC Rezound] SynisterWolf:
Twss
[HTC Rezound] Neo:
Boom
[HTC Rezound] brenuga:
Re: your sig, did you get a new work phone?? Otherwise, add that One X back, poser :D
[HTC Rezound] Neo:
XD
[HTC Rezound] Flyhalf205:
Looks like another major update to the device git. This is the perfect time for us to go ahead and make this change. This helps tremendously in the current 4.2.2 and in the ION builds and in the future for 4.3...I'll keep you guys updated on when it gets merged over.

This will make some changes to the kernel. But very easy to implement. If kernel makers want to go ahead and cherry-pick:

https://github.com/Flyhalf205/vigor_aosp_kernel/commit/a65aa8112339ec2db1541435c023f06467cab1e6

and

https://github.com/Flyhalf205/vigor_aosp_kernel/commit/8c5deb1f97f64848affcebb1d92cef12ac874285

I will get a ION build out tomorrow for you to play with. Of course camera won't be included...But after the new updates I just made to PMEM. Idk about PMEM anymore :p

This should be my last major update to this device until 4.3 gets here.
[HTC Rezound] shrike1978:
Should we start tracking your repos instead of Chad's since it seems you've taken up the mantle here?
[HTC Rezound] Flyhalf205:
I don't want to say yes to that but if you guys want to. Just because of Chad started everything ya know. If you want to start tracking mine. Just look at https://github.com/Flyhalf205/android

But which way should it go? Chads repo or mine?

Here is an ion build. Haven't tested it.

http://d-h.st/GFY
[HTC Rezound] shrike1978:
Question for you since you've been digging into this hardcore lately, is there any chance we'll ever be able to use the generic msm8660-common from CM, or will we be stuck on a modified version from here on out? That modded version is impeding my ability to get on the PAC-man buildbot because it could interfere with building for other devices.
[HTC Rezound] Flyhalf205:
I've been updating the msm8660-common to chads git to stay updated with CM. If you'd like. I can update my git and you can build off mine.
[HTC Rezound] shrike1978:
Nah, it's the product specific differences from base that are the issue. There are some differences in packages and scripts from the generic CM version. I expect I'll have to keep building manually, just thought I'd ask. :)
[HTC Rezound] Flyhalf205:
Chad has merged over the changes. Now display-legacy and media are taken out of the device tree. Will have it's own repo in hardware/qcom now. I am hoping these changes add some good improvements into the roms smoothness.

Enjoy the changes!

if you guys wanted to rebuild off the new base good time. I think I am done with my major git changes for now. :)

[MENTION=4152223]shrike1978[/MENTION] War Eagle! lol

EDIT: Who knew this phone had a Dual Mic :p haha anyways...I also removed CMUpdater from repo since we'll never use it.
[HTC Rezound] brenuga:
I've been running the ION build all day. Very smooth and seems stable. Played a podcast, watched a few YouTube videos, and made phone calls and received MMS. :highfive:
[HTC Rezound] Flyhalf205:
Working on camera tonight for ion.

Does anyone else have experience that could help me with this ion project?
[HTC Rezound] dlumberg:
I don't but from what I remember Chad couldn't find any driver or other device for the FFC so I'd focus attention on the main camera first.
[HTC Rezound] brenuga:
Snuzzo's been poking around the source for HTC Ville European edition, as well as the DNA, as they have similar cameras onboard. But so far no leads.

I read where HTC Ville for T-Mobile is getting jellybean, but last time I looked on HTC dev, no source for that yet.

Will you please describe for me exactly what the camera issue is? I saw mention of distorted images when camera is enabled in source? I got the 'can't connect to camera' error today testing a third party camera app, but I assume that's because you just disabled it.

If you describe issue, I will do some heavy forum digging tomorrow and see what I can find. Ask Neo, if a solution can be googled, I can find it :)
[HTC Rezound] dlumberg:
I think that that camera will connect but the preview doesn't work at all. From what I gather the preview just shows a black screen. I don't remember if the purple preview was from ION or the original CM10.1 pmem builds but the pics came out even though the preview was borked. I've never built ION so I have no real idea. Chad looked and couldn't find any other device that even used the same FFC.
[HTC Rezound] Flyhalf205:
Reminds me of when i was trying to build with jellybean using the egl files on the global RUU and my camera preview was green tint. haha

But right now i'm building with camera support so hopefully it builds alright.
[HTC Rezound] brenuga:
Only other issue with ION build I've noticed so far is I've been unable to connect to WiFi at either home or work. I enter correct password and security mode, and it says connection saved, but won't actually connect. Then sometimes after I try to manually connect, it says the access point is out of range even when I'm right next to it.
[HTC Rezound] Flyhalf205:
I can't look into that. My Wifi/BT chip is bad and doesn't work. Anyone else confirm?
[HTC Rezound] dlumberg:
Chad was talking about it in this thread around page 9

EDIT:

A really good description of the camera problem here http://xdaforums.com/showpost.php?p=34108183&postcount=53 from page 6

---------- Post added at 12:34 AM ---------- Previous post was at 12:26 AM ----------

I'd try it but I don't have internet except through tethering right now.

Page 11 also has a lot of relevant info.
[HTC Rezound] brenuga:
Yeah just read pages 6-11 and those have the key info.

Keys I got out of it:

- open source Qualcomm HAL

- v4l2 driver

- vidc

- HTC ville c2

- discolored preview possibly due to bit packing/unpacking issue
[HTC Rezound] dlumberg:
Oso said this on 13:

The purple haze definitely looks like byte-order. It probably comes out of the camera driver in either the opposite endian expected or an unimplemented packing format, because the automatic post-processing for white balance/exposure has an effect on it.

I think that was the end of ION discussion because Chad got 10.1 running and then switched devices.
[HTC Rezound] live2die:
this post is sent via wifi connection，im on the ION build.

edit：i also flashed the gapps，could this be of some use? (sorry im no dev so i describe everything i can think of，but it may sound foolish:p)
[HTC Rezound] iHateWebOS:
I was supposed to start looking into this today, but I've been really short on time this week. Pm me with ideas and I'll help. I only understand c well enough to fix compile errors, but believe it or not, some devs don't know c at all.......
[HTC Rezound] zkrp5108:
Hey guys great to see this thing has picked back up. I'm no Dev but I love reading this forum just for info sake. Flyhalf thanks a lot for picking up the torch; really excited for things to come. Thanks to all the other devs as well. Carry on that is all.
[HTC Rezound] brenuga:
I had gapps too. Its important to update Google search once you install any ROM these days.

Red razor said WiFi is working for him so I'm gonna try some things like airplane mode.
[HTC Rezound] Snuzzo:
I had both Wifi and BT ok on the 5/2 ION build. I'm using a cheap router. Also my findings with native wifi hotspot, it must be a secured connection using WPA for it to work with any device (tested on an Intel desktop running Mint 14 & my Nexus 7). :)
[HTC Rezound] IrvChynaman:
Zarboz has been working on ion for the rez. I don't know how long he's been working on it, how far along he is, or if his git hub would be of any help, but maybe it would be worth taking a look if you guys haven't done so.
[HTC Rezound] iHateWebOS:
Seen that a few weeks ago
[HTC Rezound] Flyhalf205:
[MENTION=3419683]Snuzzo[/MENTION] [MENTION=4803670]iHateWebOS[/MENTION] [MENTION=4203241]IAmTheOneTheyCallNeo[/MENTION] [MENTION=4152223]shrike1978[/MENTION] Only ones I know that build with custom kernels. Not sure about the others [MENTION=4498729]brenuga[/MENTION] and [MENTION=3668085]TheBr0ken[/MENTION]

You guys probably would want to cherry-pick this in your kernel if you build CM. I took out the headers out of the msm8660-common tree and going to use the actual kernel headers. Should help us out a little maybe...

https://github.com/Flyhalf205/vigor_aosp_kernel/commit/fb45b0a5b03b103b6175156fe8d4bc877d2a3a3e

If you use the stock kernel(chads) you'll be fine.
[HTC Rezound] iHateWebOS:
I just found this a few days ago on team hydras git hub :thumbup:
[HTC Rezound] brenuga:
ION reference links

Qualcomm open source HAL drivers

https://www.codeaurora.org/gitweb/quic/la/?p=platform/hardware/qcom/camera.git;a=summary

Qualcomm camera wrapper (originally used for HP Touchpad) - JB branch

https://github.com/TeamICS/android_hardware_qcom_camera

LWN: The Android ION memory allocator

http://lwn.net/Articles/480055/

ION Buffer sharing mechanism

http://groleo.wordpress.com/2012/07/24/ion-buffer-sharing-mechanism/

Generic V4L2 Android camera HAL (PDF presentation)

http://www.linuxtv.org/downloads/presentations/media_ws_2012/v4l_cam_hal.pdf

Android ION overview (Linaro)

https://wiki.linaro.org/BenjaminGaignard/ion

@[MENTION]dmeadows013[/MENTION]

@[MENTION]MaulingDeOso[/MENTION]

@[MENTION]chad0989[/MENTION]
[HTC Rezound] Flyhalf205:
Thanks for the links. I should have time tonight to work on it some more. I have two ways I'm trying.
[HTC Rezound] Zarboz:
i demand some ion libacdbloader and libacdbmapper :D :D

hahahahahah

guys really tho

i need me some libs anyone think they can help :D

just tryin to get audio / camera finished up here
[HTC Rezound] Zarboz:
i need your gtalk man
[HTC Rezound] brenuga:
flyhalf205 gtalk = dhays90@gmail.com

Reposting what zarboz told me in an email:

Anyone? We are getting so close!

---------- Post added at 04:37 PM ---------- Previous post was at 04:18 PM ----------

I don't know if this is a shot in the dark, but I found this manifest for the two libs you mentioned on HTC Ville, which is pretty similar to Vigor. Although Snuzzo said it was ville c2 (asia) that uses ION.

https://github.com/atrus5/vendor_htc_ville/blob/master/ville-vendor-blobs.mk

The proprietary files are stored under the parent directory, https://github.com/atrus5/vendor_htc_ville/ in /lib

---------- Post added at 04:50 PM ---------- Previous post was at 04:37 PM ----------

OK, some more stuff:

Link to ville c2 source code (if needed)

repo for commits that got ion kernel working on Shooter (HTC Evo 3D)

An xda thread where they had an ion kernel on htc evo 3D and were trying to get camera working with chad's driver.

A repo with some proprietary blobs for device_htc_ville

@[MENTION]dastin1015[/MENTION]

@[MENTION]helicopter88[/MENTION]

@[MENTION]atrus5[/MENTION]

For newcomers I've pointed to thread, we are trying to get camera working with ION kernel on HTC Rezound (vigor), Jellybean 4.2.2 . Thanks for any insights you might can provide.
[HTC Rezound] Flyhalf205:
I've been keeping an eye out on dastin1015 at https://github.com/Team-Hydra/android_kernel_htc_msm8660/commits/cm-10.1
[HTC Rezound] TheBr0ken:
:what:

https://github.com/Team-Hydra/andro...mmit/2069c540dd3f1bfb134f9b09e4d162dd67ee2961

" msm: camera: add ion support to native driver.

This change adds ion support to native (non V4L2)

camera driver. It also adds ion structures to the msm_frame structure."
[HTC Rezound] Flyhalf205:
I know! Crazy!!!!!!

I've already tried porting that over. No luck
[HTC Rezound] TheBr0ken:
:banghead:

And BTW, I use a stock kernel in my VanillaROM and a custom kernel in my AOKP dark
[HTC Rezound] dplane:
The noob in me is now wondering; do the commits mentioned above a fully functioning ion build is imminent? :fingers-crossed:
[HTC Rezound] brenuga:
No...but roadmap is becoming clearer it seems like. The more skilled dev minds that work on this, the better chance we have of seeing it realized.

I ran fly's ion kernel build for 24 hrs last week. Its very smooth and everything else seems to work but the camera. Just missing a few last puzzle pieces.
[HTC Rezound] Flyhalf205:
Zarboz pointed out to me that the way we had ion set up isn't full ion.
[HTC Rezound] Neo:
I think Chad pointed that out some time back if memory serves. Something about having to write up a wrapper for it and being done dirty or something.
[HTC Rezound] Flyhalf205:
Since chad has left the Rezound. I want to quit bothering him with pull request. So any further updates to CM will be coming out of my git if you guys want to switch over.

https://github.com/Flyhalf205/android

https://github.com/Flyhalf205/device_htc_vigor

https://github.com/Flyhalf205/android_device_htc_msm8660-common

https://github.com/Flyhalf205/vigor_aosp_kernel - This will remain stock with kernel upstreams...Currently at 3.0.77.

https://github.com/Flyhalf205/vendor_htc_vigor

I'll be supporting the resound as long as I can.
[HTC Rezound] Neo:
Good to know. Thanks for taking up the position to carry this on!

FYI also your header change for kernels is causing build processes to crash while using latest source (synced today).
[HTC Rezound] Flyhalf205:
Did a fresh repo sync and build after you posted that. Everything built fine...and boots fine

EDIT: Make sure that the includes folder in msm8660 is deleted.
[HTC Rezound] sn2hotty:
From someone who will have the Rezound for the foreseeable future (still an awesome phone, can't afford to upgrade, AND holding on to unlimited data as long as possible!), THANK YOU, THANK YOU AND THANK YOU! You have no idea how much I appreciate all of yours, and every other dev's work!
[HTC Rezound] Snuzzo:
Ok from my testing I have found a different way for the s-on flashers to enjoy flashing a new rom without using fastboot. It does involve using an unsecured ram-disk which current JB roms do not offer. Sense roms do however and it works very similar to the DNA/Flashimggui technique of flashing a boot inside the rom. I have a script made for it but need feedback on it:

1) Include the script in ram-disk or system/bin? If ram-disk, a symlink can happen to system/bin if needed. Also might be easier to implement if in ram-disk and won't have to change much to the rom building. This could be easier implemented into ram-disk it's separate in a device tree away from the rom source.

2) Use what boot from what directory? Was contemplating labelling a folder called sonromflash, that would contain a boot.img inside the folder called newboot.img. That is going to have to be a collective census/poll.

3) Implement a menu choice or just a straight confirm flash of boot? Build this up to allow multiple boot.img's on (see point 2). May be named as boot<romname><romversion>.img.

4) An idea or a feasible implementation? This could add yet another factor in an s-on user thinking he/she is soft-bricked, so implement or just keep it as an idea for the future if needed.

5) If it does get implemented, how many users would learn fastboot? We all know some users just dive right in and only read parts of instruction or details (I was one of them when I first got this device, but yet was acclaimated in command prompts/scripts/and some C knowledge). Alot of softbricks can be easily fixed if read instructions properly. This would just add a "link in the chain", refer to 4th point.

This is just part of what I have been working on over the past couple weeks and what I found from that time when working on an update for a kernel on a rom outside of xda of a name I will not mention. It works 110% if utilized properly(read point 5). Tested courtesy of a couple of my faithful users that like the security of s-on & great friends if I might add.

PS:Sorry for the long rambling :)
[HTC Rezound] Flyhalf205:
Changelog for builds built after 5/13...

Got rid of HTCVigorQualcommRIL and switched over to HTCQualcommRIL - https://github.com/Flyhalf205/device_htc_vigor/commit/6445494236f7dcf811d4ca9b573d023fcd4a5df9

Editing photoes/videos in gallery - https://github.com/Flyhalf205/device_htc_vigor/commit/9a78cb135009906f0ab53b7ec5a306c5d9128e2c

Google hangout audio is fixed - https://github.com/Flyhalf205/andro...mmit/9f6107a007ee1f92227ce0afa10d8fee81496753
[HTC Rezound] kkozma:
That's awesome man. Will switching to HTCQualcommRIL make it a any easier to switch from CDMA to GSM and vice versa?

I mean switching RIL's and adding some APN's is all that's required for GSM right? Besides the global radios, etc etc...
[HTC Rezound] Snuzzo:
Any feedback on what I mentioned previously?

Sent from my ADR6425LVW using Xparent ICS Tapatalk 2
[HTC Rezound] kkozma:
Nothing from me man, I'm s-off. Sorry.
[HTC Rezound] tburns:
I think its a good idea. More people would stay s-on if this option was there. Naming kernels with the ROM names is a great idea. I did that for mine when I was s-on
[HTC Rezound] Snuzzo:
Thanks for the feedback so far. I wonder if I shouldn't just take it to general with a poll.

Also

https://github.com/VigorCM9/linaro_4.8

Created that but need to patch some things up for our kernels to build with it. Roms MIGHT be ok to utilize it, I've not uploaded the toolchain yet, currently 13.05 4.7gcc toolchain is being brunched and has not finished.
[HTC Rezound] Flyhalf205:
Fixed Mobile Networks so we can switch from GSM to CDMA a lot easier. So we can eliminate GSM patches. You'll just have to add your APN in.

View attachment 1968367
[HTC Rezound] TheBr0ken:
Merging vzw's APN with the global ones may eliminate swapping apns too
[HTC Rezound] Flyhalf205:
I'll test that next!

---------- Post added at 10:54 PM ---------- Previous post was at 10:38 PM ----------

So combining the APN list does work. But it does take 1-2minutes after phone is booted to load. Guess having to filter all the APNs. So what to do? Could try putting Verizon APN at the very top of list
[HTC Rezound] TheBr0ken:
I just did that, building to see if there are and differences
[HTC Rezound] Flyhalf205:
Already did. Still takes forever for radio to turn on

---------- Post added 17th May 2013 at 12:02 AM ---------- Previous post was 16th May 2013 at 11:31 PM ----------

Was able to speed up the radio turning on. Awesome. I'll go ahead and commit it. So this will let all ROMs be CDMA/GSM

https://github.com/Flyhalf205/device_htc_vigor/commit/55f6e4dec2833a23394ff1ec5c18c951757f6bb2

EDIT: This will go in any ROM built after 5/16
[HTC Rezound] brenuga:
:eek: :what: :p

Huge fix! Thanks very much to you both!
[HTC Rezound] kkozma:
AWESOME!

Now, if we could get someone to revive this I'd be a VERY happy camper!
[HTC Rezound] kkozma:
So I just built and flashed with the newest RIL stuff...

I have no signal bars... But There's plenty of signal... I really don't want to have to flash the stock recovery and factory reset again..
[HTC Rezound] Flyhalf205:
Was getting build problems last night so having to rebuild this morning. I'm sure it won't be to difficult to figure out...They are changing the RIL so much to work with the msm8960 devices we might have to fork the RIL and insert it back into the device tree but at least it will be an updated RIL.
[HTC Rezound] kkozma:
FWIW: I have full signal bars on AT&T right now, but all I can manage is Edge data and holy hell is it SLOW!

I've done the NV edits in that post I linked a few posts up, but no dice. :(
[HTC Rezound] Flyhalf205:
I thought that is all what you guys could get on the Rezound?
[HTC Rezound] kkozma:
Take a look at the first post. He's on AT&T and got HSPA+

http://xdaforums.com/showpost.php?p=32228224&postcount=1
[HTC Rezound] shrike1978:
I think AT&T is supported with HSPA+. T-Mobile is the one that is EDGE only unless it's in the areas that have been refarmed to the 1900MHz band.
[HTC Rezound] Flyhalf205:
I see. Well it's the best I can do here. Bump that thread. But back to R&D :)
[HTC Rezound] kkozma:
Yep. :) NP. I think it has to do with the radio modes... I don't think GSM/WCDMA is going to get it done. Maybe I'll try flashing a Sense ROM and see what I can get with that.
[HTC Rezound] Flyhalf205:
The way it's configured inside the rom...

LTE/CDMA - 8 CDMA + LTE/EvDo auto

GSM/WCDMA - 9 GSM/WCDMA/LTE audio

Global - 10 CDMA/EvDo/GSM/WCDMA/LTE auto
[HTC Rezound] kkozma:
Ok. So I gave up on gsm for a while... Switched sim cards back to vzw and I still dont have any signal bars. Also in my about phone it says out of service and when I try to make a call it says there is no mobile network. Data works fine though. Go figure.
[HTC Rezound] Flyhalf205:
You'll need to rebuild. https://github.com/Flyhalf205/device_htc_vigor/commit/8a3db5d10e51ab63e8acc82168e672807f763d4a

I had same problem. this commit will fix it.
[HTC Rezound] kkozma:
Ok so going back to the other RIL again? Will we still be able to switch back and forth between GSM/LTE?
[HTC Rezound] Flyhalf205:
It's not the old RIL. It's the RIL that is in my 5/16 build. It's more updated. But CM is changing their RIL way too much for the msm8960 devices which we can't use.
[HTC Rezound] kkozma:
Awesome. Thanks man!

Oh, by the way. Is there anyway you can add a WCDMA only option? If I'm reading that thread right for HSPA+, the instructions say to pick UMTS only which would be WCDMA only for AOSP if I'm doing my math right... Anyhoo, I tried to add it, rebuilt, and dirty flashed but the option didn't show up.
[HTC Rezound] Flyhalf205:
Until I know that is 100% needed. You could go into dialer *#*#4636#*#* and change it to that. If it works. I'll add the option.

---------- Post added at 06:46 PM ---------- Previous post was at 06:42 PM ----------

For the CDMA/GSM merge APN list. Doesn't look like it will happen unless the developer wants to place it in rom. But what happens....It takes 1-4 minutes for the radio to turn on. That is a long time sitting waiting on it to turn on.
[HTC Rezound] kkozma:
Since I've got you here and I saw you post this before.. I'm going to do a factory reset in hboot since it's still all jacked up on me after I restored a backup. I've flashed the stock recovery from HBOOT with fastboot, is there any reason I need to reboot before I do the factory reset?
[HTC Rezound] Flyhalf205:
No reason. Just make sure you restore or flash a good working rom before you factory reset in hboot. you don't want to boot back into a broken rom.
[HTC Rezound] kkozma:
Ok, so wait, I'm confused here... So the merged APN list is no longer included?

Thanks for the help I appreciate it. I have signal bars again!
[HTC Rezound] Flyhalf205:
No longer included because it has a bad effect on the radio. It keeps the radio off 1-5 minutes on boots. So you can add your APN in the mobile settings and switch over to it like a sense rom or I can make a zip that just flashes APNs

If developers want to add it in. I can show them how to in their roms. Just uncomment a line in vigor.mk
[HTC Rezound] kkozma:
Got it. I'll go ahead and uncomment it in my build I'm about to fire up. :)

Thanks again.
[HTC Rezound] dlumberg:
I built off of flyhalf's repo, and my camera is crashing (gallery app has stopped working). I seem to remember seeing something about a revert to a commit several pages back but I'm feeling way too lazy to look right now, can someone point me in the right direction?
[HTC Rezound] Flyhalf205:
Must have been in the source somewhere. One of my builds had the camera issue but the next build didn't. Just repo sync. Make sure you have everything updated.
[HTC Rezound] kkozma:
I see you added the combined APN list back in? Nice.
[HTC Rezound] brenuga:
Camera and handsfree shutter works on build I did on afternoon of 5/20, that will be released as Gotham 1.2. Built fine with funky.