yashsingh1/xdaforums huggingface dataset:
[HTC Rezound] _litz:
I'm seeing the same thing with browser. If you hit the icon to switch browser windows, the web page is shown in the popup, so it's getting the web page, just failing to render it.

Gotta be something with overlays, I'd think.
[HTC Rezound] Jonman409:
Awesome thanks. I'll play around with it some more tomorrow or monday then.
[HTC Rezound] Snuzzo:
Anytime my friend. Happen to know how to wget a google doc but not as an html?
[HTC Rezound] dlumberg:
I think there was a bad version of repo that was in a cm update that caused that a few months ago. Try downloading the latest repo binary from google: http://commondatastorage.googleapis.com/git-repo-downloads/repo

you can also get it here but you'll need to rename it

http://gerrit.googlesource.com/git-repo
[HTC Rezound] kkozma:
I skipped that 2nd one, because it's the only one that would have anything to do with audio, so calling it a hunch. 53162 is brunching now.
[HTC Rezound] _litz:
Cool ... I've been able to reproduce.

Strange thing, though ... go into Sounds, and into ringtones or notifications ... only some of the selections actually play.
[HTC Rezound] kkozma:
Yeah, I mentioned that yesterday or the day before... Same thing with mp3's. Some of them play, some don't. I think we're still missing quite a lot in frameworks/av...
[HTC Rezound] _litz:
this would be so much easier if we could simply grab the existing audio (that works) for 4.3, and use it ...
[HTC Rezound] kkozma:
http://review.cyanogenmod.org/#/c/53162/

This one boot loops.
[HTC Rezound] _litz:
Considering the garbled mess when you try and take a screenshot, that probably shouldn't be that surprising ...
[HTC Rezound] kkozma:
So I don't pretend to be a linux expert. You mentioned I needed to set up ccache? TheBr0ken had also suggested it to me once before and I never did it. Is there a good tutorial anywhere?
[HTC Rezound] _litz:
Ok, so this list is verified as good (skipping 53162 and 53163) :

# frameworks/av

getcherrypick 53186

getcherrypick 53324

# frameworks/native

getcherrypick 53161

getcherrypick 52994

#getcherrypick 53162

#getcherrypick 53163

getcherrypick 53164

# hardware/libhardware

getcherrypick 53072

# hardware/libhardware_legacy

getcherrypick 53074

getcherrypick 53165

getcherrypick 53073

# hardware/qcom/audio-caf

getcherrypick 53166

getcherrypick 53023

#getcherrypick 53196

Note that 53196 will not apply against our source, but manually applying its changes does work.

---------- Post added at 11:02 PM ---------- Previous post was at 10:56 PM ----------

Are you using ubuntu? I'd create a make script (make.sh) and use it, instead of doing a brunch vigor ...

That way you can do all your setups as you wish.

I use something like this :

#/bin/bash
# setup android
cd ~/Android/cm11.0-rezound
TOP="~/Android/cm11.0-rezound"; export TOP
source build/envsetup.sh
export USE_CCACHE=1
export CCACHE_DIR="/home/litz/.ccache_cm11.0-rezound"
ccache --max-size=8G

if [ "$1" == 'clobber' ]
then
make clobber
fi

time brunch vigor 2>&1 | tee build.log

Just change the directories to match your structure, and the CCACHE_DIR line to match the appropriate directory under your home directory.

then ./make.sh to build. Add "clobber" as an argument if you want a clean build.

It'll do the build and capture all output to build.log in your android root folder.
[HTC Rezound] Snuzzo:
[MENTION=4317549]_litz[/MENTION]

I thought ccache was only good if its set under a ram drive or a 2nd HDD?
[HTC Rezound] _litz:
I've never heard that ... it makes a HUGE difference in speed on my system, which is a single SATA hdd.

I can certainly believe it having an even bigger effect if the cache is on another device.
[HTC Rezound] Snuzzo:
I'll have to give it a shot :)
[HTC Rezound] dlumberg:
ccache is good for any setup. It checks to see if things have already been compiled and if they have it provides a shortcut to the output.

Here's the general idea from a not "english is my first language" source http://kobablog.wordpress.com/2011/05/06/using-ccache-to-build-android/

When the first compiling, ccache preserves the compilation result in another directory. And, it is checked whether a content and an optional compilation of last time and the file are corresponding at the following compilation, and uses the content preserved instead of actually compiling when agreeing.

It is C/C++/Objective-C/Objective-C++ that ccache supports, and is not supported Java.

Speed up effect will come after the second time build.

And remember that the large amount of disk is consumed to preserve the compilation result.
[HTC Rezound] Neo:
I'm a big fan of not using ccache and building from a clobber every time. Call me O.C.D. but I just don't feel like source is built fresh every time unless it's completely done from scratch on every compile after a repo sync.
[HTC Rezound] kkozma:
Alright gents. I'm going to give Omni rom another shot today and see if I can get it to boot. They'v made a bunch of progress towards legacy devices that CM hasn't.. Ie all of the stuff we have to cherry pick with CM has been pushed to source at Omni. Hopefully it boots!

---------- Post added at 08:53 AM ---------- Previous post was at 08:38 AM ----------

Yes, I use ubuntu. Thanks for that!

Watching my compile yesterday it seems that chromium-org is what is making it take so long.

---------- Post added at 09:45 AM ---------- Previous post was at 08:53 AM ----------

Omnirom does not like CWM. :( It's not mounting system on boot.
[HTC Rezound] _litz:
ccache, it is still built from scratch after a clobber; you just have a shortcut that bypasses some of the disk io required.

Do a clobber, then a build w/ and w/out ccache, and the result is identical.
[HTC Rezound] Neo:
But is that the case for all the files being cached that were built with a different set of compiler flags or a custom toolchain the next time around? How do I know the system isn't skipping over cached files when it's simply calling on the file name?
[HTC Rezound] _litz:
I have no idea how it does what it does ... but it does it nonetheless ...
[HTC Rezound] desalesouche:
hi.

can someone tell me if there is something wrong with that output when the build begin?

and what i have to do?

I: -input-charset not specified, using utf-8 (detected in locale settings)

Total translation table size: 0

Total rockridge attributes bytes: 537

Total directory bytes: 0

Path table size(bytes): 10

Max brk space used 0

185 extents written (0 MB)

thank you all
[HTC Rezound] _litz:
Yeeeeeesh ... anyone looked at the open cm11 patches today?

something like 50+ patches dumped this afternoon alone ... lots of them appearing to deal with both audio and video.
[HTC Rezound] kkozma:
Yep. I noticed. That's why I haven't really done much. Played around with the ril a bit, but no go.

Obviously there's lots still needing done with telephony.
[HTC Rezound] desalesouche:
hi all i have that kind of errors, any advice about the way to fix?

http://pastebin.com/p6LE3yW4
[HTC Rezound] Snuzzo:
u8860? Are you sure your building for vigor?
[HTC Rezound] TheBr0ken:
all this talk about ccache....

200 minutes without, 70 minutes with. You'll never catch me building without it. [MENTION=4203241]IAmTheOneTheyCallNeo[/MENTION] think of ccache like simple math. If the system sees 2 x 2 It looks at its past calculations and instead of trying to figure it out again,it tells you 4. If you add a different compiler flag then it is no longer 2 x 2, maybe 2.5 x 2 for example and looks to see if it has calculated that before, if not it compiles it again, if it has, then it tells you the answer. Any change in source, no matter how little will make up different calculations, much like little changes in a file will give you a different md5. Using ccache only builds what changes, including using a different compiler flag. In telephony at one point there was an issue where strength was spelled strenght, fixing just that little spelling error will make it compile that part all over.
[HTC Rezound] desalesouche:
no, but with my previous questions, it was for same device and some more devices .from time problem can be fixed thru various devices...and some fix of that thread helped me... :)
[HTC Rezound] _litz:
Did y'all notice this?

http://review.cyanogenmod.org/53376

Seems like an omnibus edition of all the various av fixes ...
[HTC Rezound] desalesouche:
hi all.

does someone have an idea about that kind of error?

hardware/qcom/display/msm8960/libcopybit/copybit.cpp:453:69: warning: narrowing conversion of 'dst->copybit_image_t::w' from 'const uint32_t {aka const unsigned int}' to 'int' inside { } is ill-formed in C++11 [-Wnarrowing]

i would like to get rid of that error which is quite repetitive...

thank you very much :)
[HTC Rezound] REV3NT3CH:
its obviously display related in your lib folders....what do you have set for graphics drivers or screen dpi
[HTC Rezound] desalesouche:
here is pastebin of BoardConfigCommon.mk i use... :)

http://pastebin.com/npSK5NPc

i am using cm9 working device tree and trying to make it work for kitkat...
[HTC Rezound] REV3NT3CH:
your msm board is MSM8255T which in your cinfig you have DTARGET7x30 -DTARGET_MSM7x30 which is 7x30 and not what it should be... fix that and it may fix your issue

edit my bad wrong board yours is this MSM8255T
[HTC Rezound] Flyhalf205:
I forgot which user mentioned the sdcard's doesn't mount. Could someone build and test with this commit to see if it fixed that problem? https://github.com/vigor/device_htc_vigor/commit/03a0c4795b6f674ef281022a59a61fa4ef814a46
[HTC Rezound] desalesouche:
i am building for huawei honor(u8860)
[HTC Rezound] REV3NT3CH:
yes im aware of that...but your msm board is not 7x30 its msm8255t

Edit: can be found here http://www.gsmarena.com/huawei_u8860_honor-4197.php

Also your gpu is an adreno 205 not adreno 200 as posted here TARGET_BOARD_PLATFORM_GPU := qcom-adreno200
[HTC Rezound] desalesouche:
will rectify this about adreno...

http://www.gsmarena.com/compare.php3?idPhone1=4197&idPhone2=4226

i ported various time rom from u8800pro to u8860 and rom was working fine...

the u8800pro source use msm7x30 also....
[HTC Rezound] REV3NT3CH:
even that source says its the msm8255t for the non pro with the adreno 205 gpu....but ok just stating that this may be your issue with 4.4 as 7x30 is obviously not 8255t also 4.4 requires qualcomms legacy drivers not normal ones
[HTC Rezound] desalesouche:
thanks a lot for information, i will dig that...

if you have more information , you are welcome..
[HTC Rezound] kkozma:
Looks like they've started to merge some of the audio stuff we need... No doubt because some other device needed them though. The other key players we need are still just sitting there. These have all been merged.

# hardware/libhardware

getcherrypick 53072

# hardware/libhardware_legacy

getcherrypick 53074

getcherrypick 53073

Also appears they have rebased a bunch of stuff which looks to have broken a few things. AWESOME! As long as it works on the oppo phones though! I know you were all concerned about that!

I REALLY wish I could figure out why OmniROM doesn't flash correctly. Would any of you be able to tell by looking at the updater script?
[HTC Rezound] TheBr0ken:
this may have been mentioned before, but I know older versions of twrp or cwm wont flash correctly. export the log to sd, that should tell you
[HTC Rezound] kkozma:
It won't flash at all with TWRP and I have the newest available for CWM which I can flash CM with but not Omni. It flashes but it won't boot, almost as if it's not mounting system correctly.
[HTC Rezound] Flyhalf205:
So I have my build building now and the frames are normal now. But doesn't boot. Stays at boot animation. Getting A LOT of

I/InputDispatcher( 626): Dropped event because input dispatch is disabled.

I/InputDispatcher( 626): Dropped event because input dispatch is disabled.

I/InputDispatcher( 626): Dropped event because input dispatch is disabled.
[HTC Rezound] kkozma:
Fresh repo sync? They rebased a bunch of stuff, so who knows what they broke.

I've decided. My mission is to build display-caf and media-caf this week. Samsung skyrocket is msm8660 and they use display and media caf, so there's no reason we can't.
[HTC Rezound] Flyhalf205:
They also have a completely different kernel setup also. They ion right? and their egl libs are probably supportive of caf
[HTC Rezound] kkozma:
Yes, but they are also Adreno200 like us and there are newer Adreno EGL libs available. However, they only work with caf and ion.
[HTC Rezound] Flyhalf205:
[MENTION=2658396]kkozma[/MENTION]

Even after fresh repo sync I still get the same result. Just sits at boot animation.
[HTC Rezound] kkozma:
Which cherry picks did you use?

Mine bootlooped with this one... http://review.cyanogenmod.org/#/c/53162/
[HTC Rezound] Flyhalf205:
https://docs.google.com/document/d/1poV30FSTs3GNREbGPzuzuOJfCwQX8MCKIvzw7wdj32A/edit?usp=sharing

Which it looks like 53162 is in my list. I will try building without it.
[HTC Rezound] REV3NT3CH:
with the 53162 did you use the dependencies that it requires as well
[HTC Rezound] kkozma:
Yes.

FYI: For anyone considering ccache. CM11 builds from clobber in 85 minutes on my machine without it and 45 with it. Massive speed improvement.
[HTC Rezound] Flyhalf205:
What are the dependencies?
[HTC Rezound] TheBr0ken:
"This patch depends on the BOARD_EGL_NEEDS_LEGACY_FB board flag

and requires the ro.bq.gpu_to_cpu_unsupported property set to 1

in order to work"
[HTC Rezound] Flyhalf205:
Oh that's been in there since we got cm-10.2 booting.
[HTC Rezound] Snuzzo:
[MENTION=2658396]kkozma[/MENTION]

Email me the updater script output
[HTC Rezound] Snuzzo:
Any of you building using this?

https://github.com/Team-Hydra/android_hardware_qcom_audio-caf
[HTC Rezound] mavpts:
Would any of the gnote 4.3 stuff help since it shares the msm8660 board?

http://xdaforums.com/showthread.php?t=2518785

---------- Post added at 11:15 PM ---------- Previous post was at 11:07 PM ----------

Correction 4.4
[HTC Rezound] Flyhalf205:
[MENTION=2658396]kkozma[/MENTION] [MENTION=4317549]_litz[/MENTION]

Any progress on builds? Mine still doesn't get past boot animation.
[HTC Rezound] _litz:
I haven't had a chance to work on it the last few days, been busy with "pays the bills" work ...

Last build I did booted fine ... that 53162 commit was the one that killed it.

I do have a comment ... we should revert the selinux revert, and restore it.

Set it to permissive on both 10.2 and 11.0.

So much of the core OS is expecting a functional selinux stack, things just go boom when it isn't there, if we disable it in the kernel.
[HTC Rezound] desalesouche:
hi all if someone have solution about that?

File "./device/huawei/u8800pro/releasetools/ota_from_target_files", line 178, in GetMetadata

name, uid, gid, mode = line.split()

ValueError: too many values to unpack

http://pastebin.com/UHuiBGNq

thank you...
[HTC Rezound] dlumberg:
The custom ota release tool doesn't have the right code in it to handle the selinux options that are in fstab and everything else now.

You should run a diff against /build/tools/releasetools to figure out what needs to change. I just had to update the script for Asus tf101 and I did it by following the error line by line until it built.
[HTC Rezound] desalesouche:
fixed...

what i did is replacing the files in my device folder with thos from cm/build/tools/releasetools.
[HTC Rezound] dlumberg:
You should make sure there wasn't anything device specific that was happening
[HTC Rezound] desalesouche:
thank you for warning i had a look in all files i replaced and didn't see things related to specific device...

but i am not a specialist.
[HTC Rezound] _litz:
fly, you're getting that on your build? Weird.

Question, did you revert your kernel changes that reverted selinux?
[HTC Rezound] Flyhalf205:
I did not revert that. Will throw that in there and check today.

Sidenote here. Got 4.4 running on my HTC One. Wow the difference in the new launcher.
[HTC Rezound] kkozma:
I've got a build going now with selinux re-enabled and audio-caf, libhardware_legacy, and frameworks/native from Team-Hydra.

We'll see what happens.
[HTC Rezound] Neo:
Back at work now and I think I'm back in action now with a new build system. Hopefully no chromium issue for me this time.

What all is needed so far to get this built and working? Is the KitKat script fly put together outdated?
[HTC Rezound] kkozma:
You will need these two cheerypicks from the review site

# hardware/libhardware_legacy

getcherrypick 53165

# frameworks/native

getcherrypick 53161

If you use team-hydra's audio-caf you don't need anything else. But if you want to use CM's audio-caf, you'll need the following two.

# hardware/qcom/audio-caf

getcherrypick 53166

getcherrypick 53023

That should at least net you a build. We've found that we really do need SELINUX enabled and set to permissive via the boardconfig in device/htc/vigor

Swap the line in boardconfig with this one

BOARD_KERNEL_CMDLINE := console=ttyHSL3 androidboot.hardware=vigor no_console_suspend=1 androidboot.selinux=permissive
[HTC Rezound] _litz:
Don't forget, we started with selinux enabled at the kernel level, and there's currently a commit in place that reverts that ... so, we have to revert the revert to re-enable selinux in addition to adding the permissive option to CMDLINE in boardconfig.
[HTC Rezound] kkozma:
Build failed with team-hydras frameworks/native and libhardware_legacy. So I switched back to CM for those.

I did build successfully with team-hydra's audio-caf, but no change in sound performance. :(

Fly: sdcards still will not mount
[HTC Rezound] Flyhalf205:
sdcards will be an easy fix once I can get my build to boot. Since your build booted kkozma. Could you link me to yours?

And your latest build was with https://github.com/vigor/device_htc_vigor/commit/db1de284d4a92bf08e82baf690327cba965e7755 ???
[HTC Rezound] kkozma:
You know, I don't know if I updated my local device or not..

Check your PM's...

Edit: The only thing that's different between the most current an what I used is this:

# Set permissions for persist partition

mkdir /persist 0771 system system

in init.vigor.rc
[HTC Rezound] Flyhalf205:
Well that is just weird. Shouldn't be too hard then. Should have it done tonight. RIL working?
[HTC Rezound] kkozma:
I don't know.. My sim card won't fit in this phone anymore after I cut it to fit my G2. I need to make another adapter to test it.
[HTC Rezound] _litz:
Backpedaling to 10.2, I ran a new 10.2M1 build for my "main" phone last night.

Huge issues today ...

Locks up/freezes often after waking up (you get 1, maybe 2 keycodes entered to unlock, and it's locked up).

And the graphical glitching on the v7 Maps is worse then ever, and in fact sometimes causes the phone to crash; screen tears up, and you get the spinning logo.

Oddly, not seeing anything anymore in dmesg about kmemleaks, so must be straight software issues.
[HTC Rezound] _litz:
Re CM11, I've been trying to get these two squashed commits to build ...

getcherrypick 53376

getcherrypick 53377

but get a QCUTILS not defined error ... I think these are fairly key for at least some of our issues.
[HTC Rezound] kkozma:
I'll see what I can come up with. There's a rebased audio-caf that they're working on that he could be using.
[HTC Rezound] kkozma:
Ok, I think there's a derp in that first commit.

frameworks/av/media/libstagefright/ExtendedUtils.cpp

In that file, search for QCUtils and replace with ExtendedUtils

However, now there's a new issue:
[HTC Rezound] _litz:
There are several open commits for LPA Tunnels ... perhaps those are pre-requisites?
[HTC Rezound] desalesouche:
sorry wong thread
[HTC Rezound] jon7701:
This is the error i keep getting that i was talking about earlier :

object 12fd10c20115046dcd2fbe468a45e566f38ffbc9

type commit

tag v1.12.7

tagger Conley Owens <cco3@android.com> 1381959964 -0700

repo 1.12.7

gpg: Signature made Wed 16 Oct 2013 04:46:04 PM CDT using RSA key ID 692B382C

gpg: Can't check signature: public key not found

error: could not verify the tag 'v1.12.7'

It happens whenever i try to build anything. Ive tried looking up solutions but none of them work.

Edit: I just re-installed ubuntu.
[HTC Rezound] Neo:
What's left to be fixed:

display when browser is open. May have the same effect with netfilx. Untested.

There is no ui audio except for screen lock only

Only a select group of ringtones work

wireless tethering does not work and I'm unsure if WiFi actually connects as I haven't tested it yet. It appears to work as I believe fly may have fixed it

mobile network does not work so no calls or text messaging. This is the biggest issue and what keeps the rom from being released. Will work on ril when I have time. Pretty sure it's something simple

Most of the customization features to the system are missing but I'm sure cm will be adding them back at some point

Overall slower than a vanilla build of cm-10.2 which is most evident when tapping on the keyboard. Will smooth out over time as we continue to work on it.

These are the only things I've found on my short time testing my build.
[HTC Rezound] kkozma:
I was able to get evervolv to build and boot yesterday with only one cherry pick which was pretty awesome. However, no sound at all and I couldn't get any apps to open which I think may have had something to do with the fact that on boot up it told me both of my SD Cards were damaged (they are not).
[HTC Rezound] Alberto97:
I'm trying to compile AOSP for Samsung Galaxy S Advance (wrong section, I know), but I get the same error and I don't understand how you fix it... (I read the thread)
[HTC Rezound] kkozma:
I just ran into something similar. Make sure you've got all of the repo's typed in correctly, they're all case sensitive.
[HTC Rezound] Neo:
This is something I'd dealt with for a couple weeks and out of frustration forced me to create a new build box on a completely different system to which I began having the exact same issue. It is java related and the solution was to add the following to my .bashrc:

export PATH=/usr/lib/jvm/jdk1.6.0_45/bin:$PATH

You should do the same only make sure you have it match the java version you're using. As shown above, I'm using 1.6.0_45.

This will solve you chromium issue :)
[HTC Rezound] Alberto97:
It doesn't work for me :( I've the same java jdk version and I'm on Ubuntu 12.10 (It could be for this?)
[HTC Rezound] Neo:
Did you source your .bashrc after adding this change? The Gyp issue with chromium (between 2-6 minutes into build) is definitely an issue with java
[HTC Rezound] kkozma:
Ok, update on evervolv...

If you want sound, it helps if you include audio-caf. LOL Anyhoo, I see that fly pushed some changes for audio_policy to msm8660-common. So I'm not sure if it's that, or if it's Evervolv, but I can confirm that sound is 100% working.

Also, I found that if you use evervolv's display and media legacy, it will build without any cherry picks, and just needs a few overlay changes in device/vigor.

Still LOTS of issues with it though. Wifi connects, but I can't get the browser to open to test it and theme provider crashes nonstop.

Also, one thing I will caution you guys on... Since CWM is the only recovery that will flash these things, DO NOT let your battery die. It will NOT charge in recovery and it does not appear to charge when turned off. Lucky for me, my wife's rezound still has TWRP on it and I was able to bring my battery back to life with her phone. Curious that my phone had well over 50% battery left when I turned it off yesterday and would not turn on this morning. WTF eats the battery on these things when it's off?
[HTC Rezound] Alberto97:
I hadn't, but after doing this It seems to work (I can't read all words, my i7 works too fastly :p). However thank you :)
[HTC Rezound] Neo:
You're welcome