yashsingh1/xdaforums huggingface dataset:
[G3 Q&A, Help & Troubleshooting] velis74:
My phone is now good two years old. It doesn't show its age externally which is why I'm not exactly jumping to replace it, but it does have some "internal" issues.

Recently it became quite jerky & unresponsive. This shows in apps just not snapping in, animations tear & crack all over the place and, well, it's just not smooth. Actually, this is so bad that it's even hard to answer the phone because it just doesn't detect the swipe, so sometimes it takes a second or even third try.

So I decided to go from CM based ROM to a stock based ROM. Made a flash, a factory reset and rebooted the thing. My next step is to restore my apps with titanium backup, so I install it from Play Store, install the Pro key and then restore all the apps (some 40 of them). I'm not sure if this plays much of a role because even if I don't use TiBu to restore, the same thing happens anyway.

At first, everything was smooth again. But in a matter of hours, the phone was jerky again. This came as a bit of surprise as normally it takes around a week (but it always becomes jerky). I swear I'm not doing anything taxing with the phone. I uninstalled all the apps that I thought might be causing this, but nothing had any effect. I'll now go back to the CM based ROM because it suits me better in some aspects, but I've just about had it with all this unresponsiveness.

Is there any way for me to detect what it is that's causing these hiccups? Is there a rational explanation for my woes?
[G3 Q&A, Help & Troubleshooting] mihaidenis:
Try to reboot in safe mode and see if it becomes jerky again after one or two days...or hours.

If it becomes then is a hardware problem.

If not try a full wipe install your fav apps but don't restore any data.
[G3 Q&A, Help & Troubleshooting] Mashed_Potatoes:
Do you have an SD card in your phone by any chance? This phone suffers from slow SD cards. I have a Kingston SD Class 4 card and the Gallery, Messenger, and some apps just start freezing and being unresponsive. Ordered a Class 10 UHS-I Samsung SD Card......lets hope it works better. The phone is super quick when not using an SD card on stock 6.0
[G3 Q&A, Help & Troubleshooting] velis74:
Thanks for the suggestions. Since I don't have an SD card in, I'll attempt a safe mode probe to see if it helps.
[ZenFone 2 Q&A, Help & Troubleshooting] mubasir:
How to fix FIFa 16 lag...?
[Huawei P9 Questions & Answers] jbudman:
Hi All,

I am trying to test some image analysis applications with the Huawei P9. Is it possible to extract two images (one from each camera) from a single shot? I know one of the cameras has a monochrome lens, and I know how to obtain just the monochrome image, but it would be extremely valuable if I could obtain both images from just one shot.

Looking forward to your assistance,

Josh
[Huawei P9 Questions & Answers] ScareIT:
I do not want to stop your enthusiasm, but from my tests, they don't exists two images from one shot.

I didn't do my tests with an engineering approach, I only did some empirical test and from these I gather that:

- when you setup the Monochrome mode, the P9 activates the left camera (on the left when facing the phone back)

- with all the other modes, the P9 activates the right camera (the one between the flash and the left camera)

The P9 doesn't create 2 images, than combine them, it just shot always 1. How I came to this conclusion? You can also try it at home:

I choosen few static subject and I made my photos with the phone on tripod, than I did many photoshoots in the normal way and also by covering alternately the 2 cameras with a black scotch tape.

Even by naked eye, even by using an image comparation software (I used Beyond Compare from Scooter Software) I found no difference at all, no more brightness, no more contrast, no better image definition. :(

I did in a bright environment, in a dark one, I enabled and disabled the PRO mode and I tried to do a testing more complete as I could (honestly, I omitted to test the image in RAW mode, I tested only JPEGs), but my conclusion is that the 2 cameras are doing a different job, but they are definetely NOT working together.
[Huawei P9 Questions & Answers] Gray44:
Thanks for testing, but did you also try this outside on a landscape view? Maybe then we will see other results?

Otherwise this is yet ANOTHER thing Huawei lied about.
[Huawei P9 Questions & Answers] ScareIT:
Yes, I did.

I'm thinking about making a full post about photo comparation. Let's see :)
[Huawei P9 Questions & Answers] Gray44:
That would be nice!:)
[Huawei P9 Questions & Answers] oTToToTenTanz:
Hey guys. I did a quick test shooting in bokeh mode or aperture effect (I guess you know what I mean). If you cover the black and white lense it lets you shoot the picture BUT NOT edit the depth of field once you took the picture.

If you uncover the lense, it works like it is supposed and also stores the depth information (two lenses are crucial to get depth information).

Thus, in order to extract two images from one shot, the best guess is that you try it in bokeh mode. But even then I dont know if its possible. However, the phone definitely uses both lenses that time.
[Huawei P9 Questions & Answers] ScareIT:
Great oTToToTenTanz!

I confirm that! Both cameras are essential to enable the wide aperture effect: when you try to shoot in the bokeh mode it appear an alert to check if the lens is clear, the blurred effect disappears and it's impossible to edit the depth in post-production.

I make 2 hypothesis:

- the phone really combines the 2 pictures in order to recreate the depth (is a strategy used in all the 3D cameras), so in some way there should be the possibility to get both pictures

- the phone uses the laser pointer to shot IR around the subject, then the monochrome camera will get the infrared information (and considering that its lens is without the RGB filter, will be very efficient to do that) and store them in order to obtain an accurate depth (I mean something like this: https://www.youtube.com/watch?v=dgrMVp7fMIE)

Nice things to try!
[Huawei P9 Questions & Answers] jbudman:
Additional Info on Depth

Hey oTToToTenTanz,

Really appreciate your (and everyone else's) help on this! Can you give me some more info on how you actually extract the depth info in a usable form e.g. a matrix? Does the image just produce an RGB-D image once saved?

Thanks so much,

Josh
[Huawei P9 Questions & Answers] Tijauna:
Yes unfortunately I think this is simply a feature that huawei lied about. The phone doesn't actually use both lenses at the same time to produce better quality normal photos; the monochrome lens is only used for bw mode or to obtain depth information for the wife aperture mode. The two lenses are not used in conjunction to provide better low light performance. You can try it yourself as stated earlier in the thread, cover the bw lens with your finger and compare the photos with normal ones: they'll look the same...
[Huawei P9 Questions & Answers] PerpulaX:
As far as I understand it, there are two cases in which both cameras are used.

One is for the wide-aperture ("bokeh") mode, in which a depth map is created from both pictures that have a slightly different perspective. I've read somewhere that the resulting image is a normal JPG file that is way too large, so it seems that there is additional data after the end of the actual JPG image. This would also explain why the capability to adjust depth of field is lost once the file is opened and saved by any application. I'll have a look at such a file when I have some spare time; maybe I'll find out more.

The other case is landscape shots in low light. Several people reported that covering the second camera in this scenario results in much darker images. This seems like a silly limitation, but I believe I understand why it's there. The two images that the cameras take differ in perspective (obviously, due to the fact that the cameras are mounted next to each other), which is quite difficult to adjust for when trying to combine both sensors' data. However, when focusing at infinity, for example when taking landscape shots, the difference in perspective is negligible, so that in this case the two sensors' data can be easily combined to improve low-light performance.

Maybe it would be possible to combine both sensors' output at closer distances in a satisfactory way, but it seems that Huawei chose not to implement that. If I find a way to extract the second sensor's data from a wide-aperture image, I'll poke around a bit to see if it would be possible to combine them.
[Huawei P9 Questions & Answers] PerpulaX:
I did some poking around on my lunch break. I threw a wide-aperture image into JPEGsnoop and it came up with two images in the file (four if you count the thumbnails, as well), the first one being the processed, "bokeh" image, while the second is the original color image without any processing. I assume that this is the image that is used to re-process the wide-aperture image when editing the focus point or aperture through the gallery app.

JPEGsnoop also told me that there's more data after the image segments. Since it couldn't work out what that data is for (this is past the end of the actual JFIF file), I checked it out using a hex editor. I found a marker "edof" (extended depth-of-field?) followed by what looks like some header data, followed lots of repeating bytes. This block is about 1/16 the size of the image in pixels (so 1 byte for each 4x4 pixel block). I'm not sure whether that's a small greyscale version of the image itself or a depth map, but I suspect it's the latter.

So, I'm afraid that it will be impossible to extract the monochrome image sensor data from a wide-aperture image, as it's not there anymore. :(
[Huawei P9 Questions & Answers] ScareIT:
I confirm that: I did few shots on a single subject (always using tripod);

- the pictures in normal mode and with wide aperture with the BW camera covered results in 2.5 MB weight (max resolution; the photo's Title/Subject/Description is marked as "edh"

- the same subject in wide aperture mode (with the BW camera fully working) results in 5.5 MB weight (more than double); the photo's Title/Subject/Description is marked as "edf"; if this photo is opened with some image editing software, no alpha layers or other visual information appears anywhere; if the photo is saved back, the size will became comparable to the same photo without wide aperture effect

As depth information are not appearing in any editing software, I suppose they are hidden inside the jpeg file with some kind of steganography technique. I tried to examine the file with some ready-to-use tool (like stegdetect, that should be capable to detect if a jpeg file is standard or has something hidden) but I get only some mismatching header error, nothing that can let me understand where and how the depth information are stored and, primarily, if the black and white picture is also stored inside.
[Huawei P9 Questions & Answers] dragon-tmd:
The cam seems to be making two Images for every shot. You can for - instance - make a picture and then edit it with the onboard effects. If i make the picture e.g. partially B&W, I can see, that it does use an original B&W picture taken with the original shot. This is not an artificial B&W.

The question is, where it is stored or are the necessary informations only "combined"?
[Huawei P9 Questions & Answers] zoubla88:
PerpulaX, ScareIT you guys are right,

- the 992x744 depth map is coded on 8 bits at the end of the file, use HxD editor to extract the image (check the tags in ascii code "edof" & "DepthEn" ).

- displayed jpg is the saved one after blur processing on your sd card

- hidden jpeg in exif is the original image shot , without blur processing.

So it explains why you can re-edit your picture anytime on your P9 even after renaming... or simply have fun with the depth map for detouring in photoshop for instance ;)
[Huawei P9 Questions & Answers] jbarbar:
Made a python script to automate the EDOF and image extraction. It's simple but it works.

https://github.com/jpbarraca/dual-camera-edof
[Huawei P9 Questions & Answers] Devil Trigger:
Can you explain what is possible to do in post-process? What can I do with the photo?
[Huawei P9 Questions & Answers] jbarbar:
You can do exactly the same thing as the Huawei gallery app (at least).

For Photoshop there are plenty of tutorials using Depth Maps with the Lens Blur plugin
[Huawei P9 Questions & Answers] asharma7:
Waiting for more details and experience sharing from you
[Huawei P9 Questions & Answers] Bumper03:
Hy!

I think, that P9 does take two pictures and combines them in low light conditions. Here is two example, when something went wrong with the combination of images, and the two images becomes visible: https://goo.gl/photos/cK5q2TEisEU7rmpz9

What do you think?

Abel
[Huawei P9 Questions & Answers] hui.lin.lh80@gmail.com:
So the file size is increased when B&W is uncovered but gives no actual benefit to the picture? Damn it, as useless as Interpolation!
[Huawei P9 Questions & Answers] Shiranai:
Hey I tried using that script on a P10 photo, but I guess I'm not enough programmer to get this to work.

I think I didn't even install the programs right. Is there an easier way to extract the depth map?

Or can anybody give a step-by-step description of how and what to install?
[Huawei P9 Questions & Answers] alex_1972:
I've tried python script on .JPG from my HUAWEI FIG-LX1 (p smart) and found it obsolete. The script fails to iterate every segment and stops on the first one. I've managed to modify the script to export EDOF anyway adding two commands. Unfortunately, vBulletin forbids me to publish code here.

Thus I know my phone use EDOF with geometry=816x612.
[Android Themes] LBETech:
【tip & trick】How to change the default looks of social networking apps?

[IMG="http://ww1.sinaimg.cn/mw690/5dd969d5jw1f8131yfjwfj20de07lq37.jpg"]http://ww1.sinaimg.cn/mw690/5dd969d5jw1f8131yfjwfj20de07lq37.jpg[/IMG]

Many users have complained about the monotonous default themes of certain social networking apps and what to change it. This article will show you how to change your theme with easy steps.

Parallel Space introduced Theme Store in the app, which is really amazing: if you are unsatisfied with the current default looks of Facebook/WhatsApp/Instagram/Messenger, you can edit those Apps and change the default looks into customized themes in Parallel Space.

You can do it without having knowledge of coding since there are more than 5 ready-made themes available. All you need is 3 steps.

1. Download Parallel Space in Google Play at https://play.google.com/store/apps/d....parallel.intl

2. Now open Parallel Space and swipe right to enter Theme Store.

[IMG="http://ww3.sinaimg.cn/mw690/5dd969d5jw1f813273uimj20f00qognc.jpg"]http://ww3.sinaimg.cn/mw690/5dd969d5jw1f813273uimj20f00qognc.jpg[/IMG]

3. Pick your favorite theme and click “Activate this theme”.

[IMG="http://ww3.sinaimg.cn/mw690/5dd969d5jw1f81328cvnaj20f00qoq49.jpg"]http://ww3.sinaimg.cn/mw690/5dd969d5jw1f81328cvnaj20f00qoq49.jpg[/IMG]

[IMG="http://ww3.sinaimg.cn/mw690/5dd969d5jw1f81327r93cj20f00qodgx.jpg"]http://ww3.sinaimg.cn/mw690/5dd969d5jw1f81327r93cj20f00qodgx.jpg[/IMG]

The icon would be changed correspondingly in Parallel Space.

[IMG="http://ww1.sinaimg.cn/mw690/5dd969d5jw1f81327dda5j20f00qoaak.jpg"]http://ww1.sinaimg.cn/mw690/5dd969d5jw1f81327dda5j20f00qoaak.jpg[/IMG]

Parallel Space is an app which allows you to sign in two different accounts on a single Android device simultaneously. As one of the top-ranked tool on Android, Parallel Space helps more than 40 million users log in to their multi accounts at the same time on one device by cloning.

The newly updated version of Parallel Space introduced Theme Store, which provides stylish themes for cloned apps in Parallel Space. Many more customized themes are yet to be added.

Youtube video of Theme Store: https://www.youtube.com/watch?v=mIiKmyU2alg

Youtube video of Parallel Space: https://www.youtube.com/watch?v=yfnWfOCdxWU
[Android Themes] Heisenberg:
You already have a thread for this here:

http://xdaforums.com/android/apps-games/parallel-space-2-0-released-t3367156

From our forum rules:

Thread closed.
[Sprint LG G3] gustave007:
Hi Guys .(Ps: forgive my bad english)

hope you are all fine . i have lg g3 ls990 sprint and was perfect get 2G and 3G signal (im in west africa )i install fulmic and all goes well for a month and after i dont know what i change on fulmics hidden menu and now only receive 2G(E) and randomly 3G for few seconds...i change many roms but not resolve my problem..i will be very happy if someone can explain me what to do.i also try qpst but spc000000 tell wrong code tks guys:)
[Galaxy S III Q&A, Help & Troubleshooting] MaxI9300:
Hy, I'm on cyanogenmod 12.1. The gps fix is fast.

The accuracy is awful.. 12/18 meters. Google maps get mad!

How can i do to have a 4/5 meters accuracy, as normal ?

Thanks!
[One (M8) Q&A, Help & Troubleshooting] RichardEb:
Hi,

Does the German HTC One M8 has a Multi-band support for american networks?

thx
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
For T-Mo and AT&T, yes.

For Sprint and Verizon, no.
[One (M8) Q&A, Help & Troubleshooting] RichardEb:
How can I find out which Version do I have? (I have bought it on ebay)
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
install adb & fastboot

reboot to fastboot

type " fastboot getvar all " in cmd

post the result after removing serialno and imei
[One (M8) Q&A, Help & Troubleshooting] RichardEb:
Checked the mid. Bad luck Verizon :/ thanks anyway
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
...deleted
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Meaning what, the US network you want to use is Verizon?

If so, than you need a Verizon version phone. No way around that, they don't have a GSM based network, its CDMA.

Also, even for AT&T and T-Mob US, a Euro version M8 won't have all the bands needed for LTE. Although, 3G and voice/SMS should work fine.
[One (M8) Q&A, Help & Troubleshooting] Dark hanzo:
good

I have the same problem?

siemre I used htc one m8 since 2014 and recently bought another because he had sold it turns out that changing operator in my country, El Salvador.

which it is the company Digicel and using the band 900 Mhz to 4G.

It is to change the m8 and is supposed to be international version but it turns out it's version of att as I can do to release the bands and use it with any operator.

greeting
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
This is not remotely the same problem. The OP has the German version, want to use it on a US network, possibly a CDMA one (Verizon - although that part is not clear per my comment above).

I'd return the phone, if you can. There is no guarantee you can get LTE 900 MHz running properly on this device. At a minimum, it would cost you $25 US to s-off by sunshine (unless its already s-off), and then you can flash a different radio baseband firmware. Even then, its not a sure thing that it will work on your LTE network. I've seen plenty of cases where phones properly "converted" to the proper band support, still won't work on the desired LTE band.

So the money for s-off may just be wasted (plus the time and effort). Plus, if the phone is not previously modified, you may be voiding whatever return/refund rights you have (if you have any).
[Android Head-Units] Mati1231:
Hello dear friends,

I'm coming straight to the point. I own a VW Golf MK5 and a Pumpkin MTCC/B HU with canbus cable connected.

There is an app called Vehicle, which provides quite interesting information about the gas tank, RPM etc. All those informations are provided by the canbus decoder.

I figured, if those information can be provided, there may be an app that has interesting functions, like animated gauges etc.

You guys may know some apps for that, that's why I'm asking. I'd be very interested in them and so are probably a lot of people (even if they don't know it yet :D ), so thanks in advance.

Have a great day :)

PS. No ODB2 Connection, just Canbus cable (The one that can be used with the steering wheel buttons)
[Android Head-Units] LazeDK:
Could you upload the apk file of that vehicle app
[Android Head-Units] binar1:
You need an odb2 adapter (Bluetooth or wifi) plugged into your cars odb2 port, then you can use apps such as torque to give live engine data via dials. If you have a front camera you can use caroo pro this also gives live data as well as drive recording.
[Android Head-Units] Zaphod-Beeblebrox:
I'm not familiar with this particular device, but one mostly common part of the architecture for all of these Android radios is the use of an MCU board to control things external to the android box (think power supply, backup camera, analog radio, the bluetooth HFP, etc). These items are not actually 'visible' to the android system in any 'normal' way.

The Android box communicates with the MCU through modifications to the kernel (typically some type of virtual serial port/channel) and through the 'native' apps on the headunit. Unfortunately, none of the manufacturers have open sourced their code, so outside of smali hacking, your not likely to get access to any of this.

And even if you pulled the APK that does this feature, it wouldn't work on any other radio outside of the MTC universe.
[Android Head-Units] Mati1231:
Of course. It's in the attachment.

That is sure correct. There may be still apps out there though, that are communicating with those signals. That was my actual wish, to find those.

But if my request looks hopeless, I want to thank you for the responses.
[Android Head-Units] keerttttt:
Would like to know this too! I would like to readout the mileage and oil level and send it to a webinterface...
[Android Head-Units] keerttttt:
Okay, need to decypther that anymore. It seems like this is raw GPS data ... So it's not ttyS3... What could it be?

There are some lines in the Dmesg log saying things about CAN. Could that be it?

<4>[ 5917.664861] --mtc @@@ f 101700

<4>[ 5917.725016] -mtc can --> 2e 41 02 01 a0 1b

<4>[ 5917.741483] --mtc @@@ seek_chk 184 20

<4>[ 5917.761485] --mtc @@@ seek_chk 184 20

<4>[ 5917.781570] --mtc @@@ seek_chk 184 20

<4>[ 5917.801476] --mtc @@@ seek_chk 184 20

<4>[ 5917.821748] --mtc @@@ seek_chk 183 19

<4>[ 5917.841474] --mtc @@@ seek_chk 184 20

<4>[ 5917.844962] -mtc can --> 2e 24 02 00 00 d9
[Android Head-Units] miguelito62:
Hi,

The serial interface used for the CAN integration is ttyV0. At least on my device, an MTCD - sofia3gr_car_64 (intel based CPU imho).

I'm also interested in interfacing the CAN bus with the head unit's built-in CAN interface. As it allows for integration of all sort of apps visualizing vehicle data. As i'm new here i can not start a dedicated developer thread now - maybe later on :)

Analyzing the MTCCanbus system app of my device showed that it opens ttyV0 with 38,4kBd. Obviously to communicate with the CAN hardware layer (implemented in the MCU).

[..] .openSerialPort("/dev/ttyV0", 38400); [..]

Next step is to sniff this port for the interface protocol among CPU (android) and the MCU (the MCU is a 8051 derivate as far as i learned somewhere?).

I am wondering if the CANopen interpretation, i.e. which COB IDs corresponds to which funtionality is in the MCU or in the CPU:

That is either the MCU has to know all the vehicle dependent stuff (because all the COBs are by no means standardized among the manufacturers!) and tells the CPU already meta information such as "AIR condition set to 21 degs C" via the serial interface.

OR the MCU gathers only the CAN frames and forwards them to the CPU via the serial interface. And the CPU does the vehicle dependent interpretation.

In the 2nd case we could implement all sort of custom stuff easily. E.g.: I am particularly interested in displaying the information of the original radio as my android head unit only replaces the original LCD whereas the original radio unit remains in the vehicle.

In the 1st case we are dependent on the MCU implementation, i.e which CAN messages (identifiers) are filtered out by the MCU and which ones are passed on to the CPU.

But from the very brief glance which I yet had at the CANBus app implementation I somehow got the feeling that the MCU does all the vehicle dependent stuff..

Michael