[00:57] good (early) morning all [01:06] http://news.softpedia.com/news/canonical-s-ip-policy-is-vague-for-a-reason-but-matthew-garrett-says-ubuntu-is-not-free-496496.shtml [01:38] heyia daftykins :p [01:38] ^_^ o/ [01:38] just popped back after grabbing my laptop adapter [01:39] :p [01:42] morning OerHeks :p [01:42] insomnia too? [01:43] no, maybe .. [01:43] :-D [01:43] lol [01:43] 24/7 support heh [01:48] full house here, hi Ben64 :p [02:05] well i'm actually playing a game now ^_^ [02:06] morning :) [02:07] hey there TJ- [02:14] o/ [02:16] Anyone here got an HTC One M8 ? [02:16] bq here :p [02:16] TJ-: whats the issue [02:17] TJ-: yeah i've got one upstairs doing nothing with stock 5.x installed [02:17] hi lotuspsychje [02:22] lotuspsychje: Ooooo my friend :) [02:23] I've got Cyanogenmod 12.1 on mine, and am hacking the Duo Camera UFocus capability so its available for Cyanogenmod users. I would like to get an 'adb logcat' capture that includes the Camera app being started for the first time after power-on. [02:24] oh never played with cyan [02:24] I've already figured out the reason it doesn't work on CM is that the code is trying to read a customized 'bundle' of settings, and so I'm trying to identify what creates that bundle - it could be a missing Java class, or it might be text settings in an XML file shipped with the phone. [02:24] mmhmm, so as simple as throwing debug mode on, plugging into the PC and using adb; i can do that, i have a minimal adb and fastboot install on my desktop [02:26] daftykins: right, precisely that. Power up phone from off so nothing's already been done, from the PC do "adb logcat |& tee /tmp/m8.log" and then start the Camera application and use it to take a UFocus photo (not sure if there's some user-controlled setting in the app to choose UFocus, or if it is automatic) [02:26] hrmm not even heard of such a thing before [02:27] I currently see this on CM 12.1: http://paste.ubuntu.com/13383367/ [02:28] daftykins: the One M8 has 2 main cameras, 1 of which captures depth-of-field info, that allows the Gallery app/Effects/UFocus function to change the object of focus in the picture [02:30] weird, i just powered it up and it says safe mode in the corner - i sense that might throw things? [02:30] I've decompiled the Camera.apk to Java code using JDL-GUI so I have the source on view, but the method that throws the exception doesn't get decompiled correctly, so I'm a bit in the dark. I've just downloaded the stock M8 ROM image and am working on that, too [02:31] Safe mode? You installed windows on it? :D [02:31] lawl [02:31] I think that happens when the buttons get pressed in certain ways at power-up [02:33] weird, don't think i was leaning on anything [02:33] ok debug mode on, rebooted so it's normal, just installed on this lappy will get adb going [02:33] thanks :) [02:34] yay adb working, often you have to get a windows driver that works =| [02:34] so i'll run the camera app [02:34] do i need to go to anything specific within? [02:36] nm i re-read, gonna try to find this feature [02:37] It may be entirely automatic; I replaced stock immediately I got the phone in 2014 so can't recall [02:37] okie dokie lets try [02:40] TJ-: not sure if i got the right bit; http://www.techblo.gg/stuff/log.txt [02:44] wow, that output looks amazingly different to the logs I captured [02:44] android 5.0.1 on this guy atm [02:45] happy to try anything else you like whilst it's here [02:47] ahhh, I see why [02:48] Just found some tips on the Android Dev web site [02:48] oh ja? [02:48] "By default, the Android system sends stdout and stderr (System.out and System.err) output to /dev/null. " [02:49] apparently, to enable it we do "adb shell stop; adb shell setprop log.redirect-stdio true; adb shell start" ... then the "adb logcat ... " again [02:50] Directions at the end of this page: http://developer.android.com/tools/debugging/debugging-log.html#outputFormat [02:51] TJ-: http://www.techblo.gg/stuff/log.txt updated [02:51] or replaced, even [02:51] all those commands were accepted by the minimal adb i have here, so i assume they were honoured [02:54] doesn't hugely look that different does it? :S [02:56] Unfortunately not, that's a shame! [02:57] it could be this thing i'm using then, would it be of any use to throw the tools on a Linux laptop i have around instead; then let you SSH in and have a fiddle with getting adb running properly? [02:57] my log has none of those 'mm-camera' entries. Seems to be totally different [02:57] I don't think so, I suspect its related to the HTC spin of the ROM [02:57] ah right [02:57] i've been keeping this thing around with the idea to update it when marshmallow goes live, heh [02:57] I know there are a lot of classes of the name-style HTCWrapXXXX where XXXX is some standard Android [02:57] probably need to sell this phone [02:57] class name [03:00] I have what is supposed to be a stock ROM image here so I'll plug away in that to try to figure it out. [03:00] how on earth does this thing use 6.62GB of the storage after a factory reset 0o [03:04] the ROM image is about 1.5GB compressed ZIP [03:06] TJ-: it"s FOSS website has alot of nice tuts, maybe you can find what your looking for there? [03:07] i think it's more treading new ground getting this camera stuff working off the official ROM :) [03:07] lotuspsychje: unfortunately they don't document the Camera to that degree; The issue appears to be that stock and custom ROMs with te HTC 'Sense' interface have UFocus support, others don't. So I'm trying to track down what else is needed to add to enable this. currently it looks like this CustomizedBundle is the key [03:07] or maybe the XDA forums also very handy [03:08] there might be some HTC8 projects there [03:08] XDA is clueless too; There's isloated camera packages that work on Sense-based ROMs, but no one has put in the effort to analyse what is needed without a Sense ROM [03:09] ic [03:09] this is the problem with going custom ROM, you get rid of all the junk on the official... but some features just don't work [03:09] I actually know what I'm looking for - what I don't know is where it is stored, and it what kind of file! It could be a simple .xml properties file or a Java Class file with attributes [03:10] * daftykins hands over a Sherlock Holmes hat [03:13] the HTC Camera has a class FeatureConfig, with a .query() method. It checks a linked-list of FeatureConfig objects, each of which contains a 'feature' flag. Currently its returning "W/FeatureConfig( 4296): mIsUFocusSupported:false" mIsUFocusSupported is the one I have to change. [03:13] TJ-: can this help for dir search? http://www.apkmirror.com/apk/cyanogenmod/cyanogen-camera/cyanogen-camera-2-0-005-04864afef4-00-android-apk-download/ [03:14] lotuspsychje: unfortunately not; the stock camera app doesn't know about the Duo/Ufocus camera, I'm working with the com.htc.camera Camera code from the HTC ROM [03:14] You can install the HTC Camera and Gallery apps from the Play Store; the problem is they don't enable the UFocus support due to this issue I'm hacking on [03:15] i didn't even twig why there are the two rear cams :D [03:15] It seems there's something done when the entire Sense API classes/configs are installed that causes a FeatureConfig class to be instantiated that has the mIsUFocusSupported set to true [03:15] only got given this thing by my mum when i got asked to move her data over to the LG G4 [03:16] I know the class that sets it - what I have to find is the code/file that causes that class to be instantiated [03:17] daftykins: the M8 camera is amazing - it has ultra-large CCD pixels so works really well in low-light conditions, and this DepthMap means you can pull out detail from a photo logn after it was taken [03:17] kinda like shooting RAW? [03:18] TJ-: how about this: http://stackoverflow.com/questions/15077257/windows-phone-8-htc-8x-flashlight-does-not-turn-onwithout-using-camera [03:18] No, the CCD actually takes in more photons per pixel, so though its 'only' a 4 mega-pixel, those pixels collect a lot more photons [03:19] funky tech! [03:19] lotuspsychje: no, that's a Windows Phone 8 API security issue - the app has to claim rights to the camera to control the flash [03:20] just trying to find relevant files/dirs :p [03:23] TJ-: how about this: http://developer.android.com/reference/android/hardware/Camera.html [03:23] ;) [03:24] lotuspsychje: unfortunately not; this stuff is all specific to the M8's Duo camera setup, and it capturing a DepthMap using the 2nd camera, and storing that in the photo data so it can be used by the Photo Editor [03:24] right [03:24] lotuspsychje: none of the stock Android code knows anything about the Duo/Ufocus [03:25] I even have the HTC DuoCamera SDK but its for application writers, it doesn't go into detail on the underlying driver functionality [03:29] There are so many parallel tracks to follow and compare to find the differences I've got lost! Time for a coffee [03:30] daftykins: thanks for the logs; there may be some clues in them yet, once I'm a bit clearer on what to be looking for [03:31] TJ-: http://forum.cyanogenmod.org/topic/99456-will-ufocus-or-the-double-camera-function-work-on-cm11-m9-or-m10/ [03:32] TJ-: :D my pleasure; although i already deleted the files so i hope you snagged a copy :> [03:34] yeah, I did [03:34] lotuspsychje: yeah, already been there :) [03:35] TJ-: http://mostlyirrelevant.info/2015/08/19/duo-camera-support-for-htc-one-m8-roms/ ? [03:35] daftykins: hmmm, question: did you have the Camera app in Video or Stills mode? [03:35] TJ-: stills definitely, took a couple of pics of the cat by tapping on the still square/circle before ending the cap :D [03:35] lotuspsychje: right, that page has the table showing the support matrix across Sense and non-Sense ROMs [03:36] The trouble for people who like to use custom ROMs is that many non-stock (Sense) based ROMs break the Duo camera because the camera drivers do not capture the necessary additional photographic data to make post-processing possible. Here’s a compatibility matrix to figure out if you’ll be able to use Duo camera effects like U-Focus: [03:36] daftykins: OK... I asked due to "W/System.err(12741): at com.htc.camera.component.AudioManager.setVolumePanelOrientation(AudioManager.java:887)" [03:37] hey lotus' link says something about HTC gallery update, this phone being reset might need an update of some kind? [03:37] daftykins: in your logs there's some Class/process running called "HfmClient" - I don't see that on CM, I'm wondering if it could be the missing link [03:38] :D [03:38] is that in your image too? [03:38] daftykins: right, originally folks had to install the HTC Camera.apk/Gallery.apk by sideloading via Recovery... then HTC released those apps on the Play store and they contain updates, so you can install the apps directly rather than side-loading [03:39] hmm, so would i maybe have needed to add a google account and grab that for it to supply the data you needed? [03:39] "HfmClient" makes me think the "H" stands for HTC ... not sure about the rest, but its not in the Cyanogenmod images [03:39] right now it's just been turned on after a factory reset, then every menu skipped to get it to the home screen [03:39] No, since that phone has the stock HTC ROM that always contains the UFocus code [03:39] ah ok [03:40] I actually found a properties XML file in the Camera.apk ufocus.xml that has no settings and I'm reall, really, hoping all I need do is add some magical attribute there :) [03:40] hehe [03:41] lol [03:41] The way the FeatureConfig works, as far as I can tell, is all features are disabled unless some confguration parameter specifically enables them [03:41] reverse engineering some companies' approach to a topic must be so enlightening / horrifying all at once [03:42] So it could be as stupidly simply as adding " [03:43] The Camera.apk I'm working from has another, related, FeatureConfig value set to true. If I can find how that is configured in the APK I might be able to deduce how to enable the other features [03:49] chinese for me :p [03:51] daftykins's log has some similar entries: "W/HTCCamera(12741): onPause() - mIsUIReady = false" - that 'mIsUIReady' also appears in my CM12/Camera.apk logs "W/HTCCamera( 4296): onPause() - mIsUIReady = false" [04:01] daftykins: I don't think that phone does have UFocus support! I found 2 matching blocks in the log files, and on mine after "W/UIComponentFactory(14969): Creating component 'Zoe UI Controller'" I have "W/UIComponentFactory( 4296): Creating component 'UFocus UI Controller'" but on yours it doesn't try that [04:02] hrmm [04:03] doesn't make sense that it'd lack their main prized feature [04:03] But HAHA! [04:03] "E/CameraConfigFileReader( 4296): CONFIG_FILE does not exist !" [04:03] :O [04:03] whilst on yours: "V/CameraProfiler(14969): [PROFILE][INTERVAL][CameraConfigFileReader.ReadConfigFile.Start -> CameraConfigFileReader.ReadConfigFile.End] 28.901 ms (28900781 ns)" [04:06] and 6 lines later I see "W/FeatureConfig( 4296): mIsUFocusSupported:false" - so, there's a CONFIG_FILE to find [04:27] two down D: [04:28] jups [04:57] wow, the wind speed alarm has gone off on the weather station... might end up in the English Channel at this rate! [05:01] hmm see france http://earth.nullschool.net/#current/wind/isobaric/250hPa/orthographic=-0.07,50.51,1050 [05:09] red/purple is faster ? [05:13] oh, it wasn't the wind-speed alarm, it was low-temperature: -27C !! [05:17] brrr [05:21] I think either we had bad wind-chill or the weather station has been blown down and is having a fit... I'll wait until daylight to go out into the field to check [05:37] :D [05:37] g'night folks, i've thrown a second duvet on the bed and it's time to retire [05:38] TJ-: i'll have that HTC kicking around for a while i think, so let me know if it can be of any further use :) [05:44] daftykins: thank-you. I'm currently struggling to build the lateset Java decompiler in order to get to see more of the Camera source-code, but hit a problem with incorrect Java libraries using the 'gradle' build system, so it might be put on hold for a few days [05:44] doh! [05:44] as in https://github.com/java-decompiler/jd-gui/issues/97 [05:47] OK, I'm braving the wind and rain, the alarm is doing my head in! Send the rescue huskies if I'm gone too long :) [05:49] What if the alarm stops? [05:49] I'll send Drabber [06:00] Had to dry it out with a hair dryer, the transmitter was hanging on the wires upside-down and had got rain in it [06:03] let me invent the tyrip for you [06:12] it's gone quiet now, thankfully [09:38] Good morning. [09:38] morning :) [09:43] Hey TJ-, how are you doing? [09:48] fighting android decompiliation to hack a fix :) [10:02] Hehe, the best fixes :P [12:49] Hey all [13:38] Hi everyone [13:53] g'afternoon :) [13:53] hi TJ- :) [13:54] ~~~~~~/\~~~~~\o/~~~~~~ [13:54] OerHeks: heheh.. [13:56] as usual, i'm a day late and a dollar short, but i want to say thanks to all of you guys who i watch day after day in awe of your knowledge and willingness to help we of lesser abilities... [15:42] brb [16:54] why would someone that hasn't even figured out where to find xorg.conf think he can successfully overclock his vid card??? [16:54] yeah, plus i think the drivers are not all suitable for such overclokc action [16:55] :) just asking for trouble [17:01] who really needs to overclock on computers for th last 10 yrs anyway, I doubt very much if has made much difference in response time, even on 3d games [17:02] i haven't even heard anyone use the term in years. [17:02] overclocking is a holdover from distant past IMO [17:03] agreed [17:03] overclocking processors i do hear sometimes [17:03] and underclocking [17:04] yeah, i just read something on supercomputers referring to overclocking the processors... doubt that's what he's talking about. [17:06] tafaik overclocking was used on the cpu [17:07] not sure what guide he comes up with, we'll see. [17:09] Intel processors overclock themselves these days. [17:12] hyper thread? [17:12] No, turbo boos. [17:12] boost* [17:13] Hyperthreading is intelligent scheduling of operations to reduce stalls. [17:14] turbo boost sounds like some king phony internet spped boost from my dialup days :-) [17:15] lol [17:15] err something [17:16] https://en.wikipedia.org/wiki/Intel_Turbo_Boost [17:19] cool, i have an i7 but didn't know that about it [17:19] well, that leaves me out , my laptop is an i3 [17:19] :( [17:20] but i didn't expect an entry level cpu to come with something like that [17:21] i3 is perfectly fine, it's plenty fast enough for my needs [17:21] no doubt [18:04] It Saturday, how tight should I cinch up when climbing in the saddle ? [18:04] tight [18:05] :) [18:05] Ho-kay .. will be a wild ride .. See what I can learn . [18:30] persons that mess with runit, and don't know sudo .. [18:30] please kill me, have mercy [18:31] lol [18:49] there [19:27] good evening to all mates [19:44] EvEning. [19:44] hi [19:49] !info inity-tweak-tool xenial [19:49] Package inity-tweak-tool does not exist in xenial [19:49] !info unity-tweak-tool xenial [19:49] unity-tweak-tool (source: unity-tweak-tool): configuration tool for the Unity desktop environment. In component universe, is optional. Version 0.0.6ubuntu3 (xenial), package size 325 kB, installed size 2353 kB [19:49] hey ioria [19:50] lotus|xenial, hi ... how are you doing ? [19:50] ioria: im gonna try unity8 on xenial [19:50] oh... [19:52] not sure if this will overwrite unity7 or not [19:52] lotus|xenial: Great, someone has to blaze the trail :) . [19:53] Bashing-om: im curious :p [19:54] lotus|xenial, don't know .... http://askubuntu.com/questions/447891/how-to-install-unity-8 [19:54] lotus|xenial, maybe not [19:55] ok lets test this== logout [19:55] lotus|xenial: Huh ! Being curious, generates a high level of smart . [19:55] brb [19:56] hasn't worked for me... [20:13] ioria Bashing-om i had to install that mir [20:13] and logout brings me to choose mir login [20:13] mmmmm...... [20:14] looks like ubuntu-touch phone [20:14] !info unity8-desktop-session-mir [20:14] unity8-desktop-session-mir (source: unity8-desktop-session): Unity8 desktop session for Mir. In component universe, is optional. Version 1.0.12+15.04.20150309-0ubuntu1 (vivid), package size 4 kB, installed size 53 kB [20:14] yep thats the one [20:14] i see.... [20:15] !info unity8-desktop-session-mir xenial [20:15] unity8-desktop-session-mir (source: unity8-desktop-session): Unity8 desktop session for Mir. In component universe, is optional. Version 1.0.12+15.10.20150609-0ubuntu1 (xenial), package size 4 kB, installed size 54 kB [20:15] ok back to normal unity [20:18] that was fun :p [20:18] ^_^ [20:35] http://oi64.tinypic.com/2nk31c0.jpg [20:35] unity7 and unity8 settings :p [20:39] the upper bar is interesting ... [20:39] ioria: its like on ubuntu touch [20:39] i see... [20:41] lotus|xenial: ^^ it's alive --- it's alive ! [20:41] :p [21:00] nite nite [21:35] Bashing-om wins the points for most patient support; lasting what feels like a week now with the same user :> [21:35] :) [21:36] daftykins: If I only know better .. In my defense, when I started this I did warn that " I know nothing " . [21:37] :D very brave! [21:38] wow ^^, makes me wonder at the deffinition of "brave" .. a glutton for punishment might fit better . [21:38] hahaha [22:58] bbl... dinner time