yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 10  Questions & Answers] Kogure_:
Just experienced this exact thing. Phone few months away from a year old, couple of months with audio cutting out on both original headphones and dongle. Yesterday it crackled like that and cut out again, but this time it also auto-restarted. Now neither headphones are being recognised. Interestingly enough both my PC and charger work just fine. I can even transfer files and use USB tethering for internet. I have no idea what's going on, half of these look like hardware issues and the other half like software issues. I emailed Huawei, but I don't expect much else other than "please send it in for a repair". Which I really don't want to do since they will erase all my data.
[Huawei Mate 10  Questions & Answers] jazzffer:
I'm also experiencing the same thing with my Huawei Mate 10 Pro. It does not recognize my original Huawei earphone and other USB C audio jack. But it recognizes my charger. Please help. ?
[Huawei Mate 10  Questions & Answers] qatqat:
Any solution to this problem?

My Mate 10 Pro only works reliably with stock Usb-C headset. It used to work flawlessly with analog adapter and any other headphone but problems of headset disconnecting started two weeks ago. Could it be a software update issue? I just recently updated the OS.
[Huawei Mate 10  Questions & Answers] Saldaasanita:
I have problem with my p20 pro.

Original headphones and charger is not working, doesn't recognize the headphones and charging is jumpy, like I'm plugging it in and out... Checked headphones and charger on my Samsung a5, works perfectly. So now I have to charge my p20 pro with Samsung charger, which works good, but without fast charging ?
[Huawei Mate 10  Questions & Answers] ErnestoD:
Power off device. Press both power and volume up until it boot up with some weird screen Then clear cache . Done

I did it a couple days ago and now it's fine
[Huawei Mate 10  Questions & Answers] Peter_Burger:
I also have a similar problem with my mate 10 Pro. I have it now for like 4 months and suddenly the USB c audio didn't work, the battery drains a lot faster, fast charge doesn't work, a adapter from USB c to USB 3.0 sd slot etc doesn't work either but data transfer with a computer worked. I already did a factory reset but didn't help. Had/has anyone the same problem? Please help!
[Huawei Mate 10  Questions & Answers] tr1cky1:
Clean your USB port.
[Huawei Mate 10  Questions & Answers] Jeevadotnet:
Got a new phone

I had the same issue.

New phone Mate 10 Feb 2018. After three weeks or so data&headphones stopped working. Charging still worked. At the same time I noticed the phone started having BT issues with my huawei smart watch 2 and Ford Sync.

A couple months later the charging stopped working completely and I took it to the Huawei shop in Cape Town. They said it is a manufacturer issue and replaced my phone with a new one. (original phone was 9 months old)

"they replace the motherboard"... But meanwhile just swop out your phone. Backup everything before handing it in. Since you get a new phone / IMEI / MAC
[Huawei Mate 10  Questions & Answers] aamaaeg:
I had the same after the mobile was submerged in water.

Things improved after I (washed it) and left it over to dry up. I'm not sure of this is related or if it is a toss up
[Huawei Mate 10  Questions & Answers] irishstu03:
To all the people with USB c headphone issues. Do you have developer options switched on. I had this issue and set device options back to default. Hey presto sound through USBC headphones
[Huawei Mate 10  Questions & Answers] rodrigotadeu:
Got my phone 2 weeks ago but only tested my earphones 3 or 4 days ago... Same problem as described here, phone does not detect the USB-C earbuds. Eerything else working (fast-charge, PC connection, phone jack using adapter...).

Tried to force turn off with phones plugged, clean cache after boot in that recovery mode (power buttom + volume up until enter the recovery mode), clean USB-C port (all these attempts as described here in other posts) and nothing... Then I tried the following:

- Factory reset (using the option in phone settings)

- After the factory reset I turned off by pressing the power buttom for 10 seconds

- Enter in the recovery mode (power buttom + volume up until enter in the recovey screen)

- Clear cache

- Factory reset using recovery mode option

- Reboot using recovery mode option

- NOTE: I did all this with the USB-C earphone connected

Done! Now it is working! ;)

I don`t know if it is necessary all those steps or if I only had factory reseted would be enough... But...

Good luck guys!

Rodrigo
[Huawei Mate 10  Questions & Answers] Saein:
Is't only affected users Mate 10 pro? Mine also got the same issue. Have you already found the solution? Instead of reset the phone, too many things I need to recovery if I do the reseting. Please make it easier.
[Huawei Mate 10  Questions & Answers] baronimus:
I have a strong suspicion it is due to a software update, where Huawei deliberately blocks unoriginal accessories. Just like Apple does. I think factory reset is a drastic measure and I doubt it will work once the phone has updated again
[Huawei Mate 10  Questions & Answers] iconicpaul:
Mate 10 Pro here, brand new, after 3 months of intensive using of the headphones, they stopped working. Simply restarted the phone after i found this thread. The simple restart, resolved the issue. Now working. Every clue points to a software issue.
[Huawei Mate 10  Questions & Answers] Sardar0131:
Figured it out, just go into developer mode and tap on" Revoke USB debugging authorizations"... It will help!
[Huawei Mate 10  Questions & Answers] PringlesOnMyTea:
Tried most of the things above but nothing

My USB-C headphones nor fast-charging work. I've tried everything mentioned above (including the factory reset) and want to know if anyone knows if replacing the charging port (or any other part) would fix this issue.
[Huawei Mate 10  Questions & Answers] Sardar0131:
I had same problem, if you turned on developers option then simply Go into debugging menu and there you find "Revoke USB debugging Authorizations" it will fix the issue.
[Huawei Mate 10  Questions & Answers] bnt123:
I have the same problem with fast charging and headphones and I try everything but still doesnt work.

And I try headphones and charger on another phone and both works fine.

Have someone new Information about this Problem?
[Huawei Mate 10  Questions & Answers] bnt123:
UPDATE

I was in Service Center and the Problem was with charging port and they just change it and I still have the warranty and it cover that :)
[Huawei Mate 10  Questions & Answers] lorenzoferrari1980:
same problem....help

in assistance they replaced the motherboard..but the problem remain...i am Crazy for this problem!!!

but with mate 20 pro
[Huawei Mate 10  Questions & Answers] lorenzoferrari1980:
emui 9.1 solve the problem
[Huawei Mate 10  Questions & Answers] simuzer:
i am still 9.0..

i dont have any update 6 mouths...
[Huawei Mate 10  Questions & Answers] lorenzoferrari1980:
9.1 downloaded 3 days ago. you wait , It Will arrive soon
[Huawei Mate 10  Questions & Answers] simuzer:
i update to 9.1.0.300 by ff..

But it is still that headphone not working.
[Huawei Mate 10  Questions & Answers] simuzer:
I gave it to the service. Motherboard and usb port changed from warranty.
[Huawei Mate 10  Questions & Answers] salouri:
Same way my issue was solved! (yes charging, no audio).

Suddenly, now it works!
[Moto G 2015 Q&A, Help & Troubleshooting] minilandl:
A while back my notifications stopped being reliable I was running lineage is 14.1 at the time. I switched to several roms and I think I've stuffed up something by flashing too many roms is there a way to fix my phone without flashing a stock rom and locking the bootloader I have tried many things to no avail. :( Btw I don't have a backup of the stock rom because I was stupid and didn't make one
[Moto G 2015 Q&A, Help & Troubleshooting] minilandl:
Edit I tried can't flash the stock rom because I flashed Nougat 7.1.2 and Oreo 8.1.0 which are higher than motorola's stock Roms I get preflash validation failed on gbt.bin and booloader.img. I also get the error unable to validate system image.

Would someone please be able to either give me a nandroid backup with working notifications or explain how to repartion through the partition table using the parted binary.
[Sony Xperia XZ Premium Questions & Answers] enige1993:
Hi,

It's been a while since I've been trying to increase the brightness of the LED, which unfortunately in our XZP is very low. I tried increasing the value of the file "flashed_calc_parameters.cfg" as in the picture, but I did not get any results. :crying:

Does anyone know how to help me?:victory:

Thanks.
[Sony Xperia XZ Premium Questions & Answers] the_brad:
I had the same thought last weekend and I tinkered around a little - without success...

In my Z5 Prem, this file was much more complex and I searched for any comparable values but found nothing.
[Sony Xperia XZ Premium Questions & Answers] enige1993:
I do not understand why sony decided to lower the brightness in the top of the range. I had z5compact and had the same problem, while on m4 aqua the flash was perfectly in line with the other phones.
[Sony Xperia XZ Premium Questions & Answers] enige1993:
Nothing?
[Sony Xperia XZ Premium Questions & Answers] enige1993:
I mean the brightness of the torch...

Nobody can help me?
[Sony Xperia XZ Premium Questions & Answers] AndroPlus:
Maybe you have to mod kernel to increase current:

https://github.com/AndroPlus-org/an...ot/dts/qcom/msm8998-yoshino-common.dtsi#L3637

I'l try when I have time.

[EDIT]

Tried and didn't work...
[Sony Xperia XZ Premium Questions & Answers] enige1993:
Editing the file flashed_calc_parameters, I realized that this increases the brightness of the flash fording the photos ...
[Sony Xperia XZ Premium Questions & Answers] the_brad:
Now you got my curiosity again...

I tried several things and the most important one seems: The device even boots and the torch stays the same low brightness with an empty flashed_calc_parameters.cfg

I modded it using magisk and it's automount magic.

I also tried the old modded version of my Z5 Premium, which was modded the same way like your Z2 but again nothing.
[Sony Xperia XZ Premium Questions & Answers] enige1993:
I edit the file flashed_calc_parameters with "X-plore", granted permission writing, and now I entered the parameters as well as you can view. I think they are too high ... anyway I haven't noticed no difference, if not that of the brightness when shoot a picture with flash, in this case the intensity of the light is definitely increased. the problem is that to me interested only a flashlight ...
[Sony Xperia XZ Premium Questions & Answers] enige1993:
I can't find any solution please help me....
[Sony Xperia XZ Premium Questions & Answers] enige1993:
I'm still looking for...

Help ?
[Sony Xperia XZ Premium Questions & Answers] dazza9075:
the torch is utterly pish. if you put a white page up on the screen and ramp up the screen brightness, you get a better flashlight then the one on the back. doesn't help for photos but it might help someone
[Sony Xperia XZ Premium Questions & Answers] enige1993:
I do not care about the photos, anyway Editing the file you'll have more brightness using flash for photos not for torch, But I often use the flashlight ... The problem is that this sony is really useless for the amount of light ...
[Sony Xperia XZ Premium Questions & Answers] pbarrette:
Is this getting called as well?

https://github.com/AndroPlus-org/an...m/msm/camera_v2/sensor/flash/msm_flash.c#L335
[Sony Xperia XZ Premium Questions & Answers] AndroPlus:
I changed it to LED_FULL but it seems nothing changed...

https://drive.google.com/file/d/1f8BJYYh-srujpLPD8meIDpgol5MgVY_B/view?usp=sharing
[Sony Xperia XZ Premium Questions & Answers] pbarrette:
Note that I'm looking at the XZ1c files, because that's what I've got downloaded and extracted, but..

The problem appears to be in

libcameralight.so

itself.

The flashlight is calling on the function chip_vr_torch_turnon(), which takes no parameters and simply makes a call to chip_torch_set_current(25000).

The camera is instead setting the current first, then calling chip_torch_turnon() which uses the existing, hopefully pre-set, current value.

You can see there difference between the camera flash and the torch from logcat logs:

adb logcat -b all | grep libcameralight
Camera Flash:
03-12 20:49:47.430 928 30064 D libcameralight: msm_flash_v2.cpp chip_torch_set_current: current 125000
03-12 20:49:47.430 928 30064 D libcameralight: msm_flash_v2.cpp chip_torch_turnon: start

Torch:
03-12 21:45:29.302 928 1524 D libcameralight: msm_flash_v2.cpp chip_vr_torch_turnon: start
03-12 21:45:29.302 928 1524 D libcameralight: msm_flash_v2.cpp chip_torch_set_current: current 25000

So the camera flash is pushing 125mA (125,000uA) to the LED, while the torch is only pushing 25mA.

Someone would have to shim the chip_vr_torch_turnon() function to read a parameter from a file or setting.

You could probably also hexedit the

libcameralight.so

files (lib and lib64), but that would have to be a static, non-user-configurable value.

Either would likely still require the mod in

msm8998-yoshino-common.dtsi

because it also appears to be doing sanity checks against the max brightness values configured in the kernel.

EDIT:

Now that I actually think about it a bit, those values of 125mA and 25mA have got to be wrong.

That's what logcat is reporting, but they have to be much higher than that because there's no way the flash LED is efficient enough to be putting out that much light at 25mA.

So there must be some additional mapping going on beyond what the function calls for to get to what the hardware is actually delivering to the LED.

Still, that mapping is irrelevant to the issue. Shimming the function or modding the libraries is still the only real way forward.
[Sony Xperia XZ Premium Questions & Answers] 4rz0:
Nah, that looks about right. The LED is not that bright in Torch mode, you can get better brightness from those cheap button cell torches.

LEDs nowadays are pretty darn efficient.

Looks like you are on the right track for this!
[Sony Xperia XZ Premium Questions & Answers] pbarrette:
Ok,

So here's a hex-edited mod for the

vendor/lib/libcameralight.so

and

vendor/lib64/libcameralight.so

files that changes the call to the chip_torch_set_current() function from chip_torch_set_current(25000) to chip_torch_set_current(65535).

That's the highest value I can do without a shim (or better knowledge of ARM assembly) because the x32 version of the library is using a MOV function to stuff a register with a 16-bit value (0xFFFF).

Standard disclaimer applies: This could literally, physically break your phone.
[Sony Xperia XZ Premium Questions & Answers] karrouma:
ok pbarrette

i will try it [MENTION=318761]night[/MENTION]

hope it works

edit: working. torch is better led light is brighter now
[Sony Xperia XZ Premium Questions & Answers] enige1993:
Wow that's really cool ?. It works great... You're super.

Thanks.
[Sony Xperia XZ Premium Questions & Answers] 4rz0:
Now we just need someone to recreate this as a (possibly configurable) mod/app.
[Sony Xperia XZ Premium Questions & Answers] NismoRays:
dudes need root or adb?
[Sony Xperia XZ Premium Questions & Answers] NAerop:
because of this, flash doesn't break down faster?

i think u need root, coz it's system files, but i could be wrong
[Sony Xperia XZ Premium Questions & Answers] NismoRays:
ewww for torch need root access so bad, bcuz soon coming Pie :rolleyes:
[Sony Xperia XZ Premium Questions & Answers] IIIonsteR:
Hi tnx for tourch i better then stock but can someone set to be brighter that this
[Sony Xperia XZ Premium Questions & Answers] sam.foro:
Hi, playing with the flash is dangerous. Sony has always kept a low level to avoid problems in the motherboard and surroundings by heating.

You can appreciate when taking a photo, the brightness increases just when taking the photo. Only a few moments.

If we have a consistently high level in the photo, they would be saturated with light. If we use flashlight as a torch we can take life and even damage it.

Cheers!

Enviado desde mi G8142 mediante Tapatalk
[Sony Xperia XZ Premium Questions & Answers] IIIonsteR:
What about xperia z i have and i flash extreme torch and i didnt have prob with that phone im just want to know if can go little bit brighter then this i dont use torch more than 20 sec once a day maybee hehe
[Sony Xperia XZ Premium Questions & Answers] amakuramio:
just buy a damned flashlight for less than a dollar from AliExpress, and youre done.
[Sony Xperia XZ Premium Questions & Answers] sam.foro:
Friend, the motherboard does not cost 1e. Not only does external light heat up, more current is applied from the motherboard.
[Sony Xperia XZ Premium Questions & Answers] Beetle84:
He means a real flashlight.
[Sony Xperia XZ Premium Questions & Answers] sam.foro:
A real light like this?

:D

https://streamable.com/5gfrx
[Sony Xperia XZ Premium Questions & Answers] trinhloivn:
can u help me change that for xz2
[Sony Xperia XZ Premium Questions & Answers] felixby:
plzz method ofr xperia xz3
[Sony Xperia XZ Premium Questions & Answers] felixby:
i have same file plzz pethode for edit firmware to add adjust torch like samsu,g for xz3
[HTC Typhoon] Deleted member 804010:
I picked up two SMT5600's off of ebay about a year ago. My wife and daughter have been using since - with no issues.

About a month ago, the screen on my daughters broke. It looked like an impact break - but the outer plastic screen was not damaged - only the lcd screen. Looked like someone stepped on it with a high heel - a black spot, with stress fractures moving away from the black spot. Of course, blamed the daughter.

Picked up a replacement lcd - replaced it, and it worked for two weeks - then, while the phone was sitting on the desk - same thing happened. The phone vibrated ( it was on vibrate ) as if a call was coming in - when we went to answer it, the screen was broken again - same place as last time.

Okay - so now we have a phone for parts, am not replacing another screen. Is there a known hardware issue that fries lcd's ??

Now, the battery on my wife's phone is not keeping charge. No problem - charge the battery in the replacement phone - and replace the one in the wife's.

No good - both batteries now last less than one day on a full charge, and that is on stand by only ??

Will a new battery make a difference - or is there a hardware issue at hand that explains this ??

I tried to search, but found no battery drain references, so am posting.......

Any feedback greatly appreciated

PS - plan to take the wife's lcd and replace the broken one in the other phone. One has broken lcd - the other has battery issues. May get lucky and come out with one good phone ???

Have a good one
[Google Pixel XL Accessories] rzracer2:
Anyone know where to find a new original battery for the US XL? Mine says US/Canada on it and says HTC on the bottom left. I can't even find one on eBay except used. Yes I know I can put any battery in, just looking for the exact one I have. Thanks
[Google Pixel XL Accessories] dyingjedi:
Contact UbreakitweFixit they have them in every storefront in NM,USA
[Android Studio] DobbieDice:
Hello guys,

Im a self learning person for making an app. I want to have a facebook login option in my app so I was searching for it how it works.

It went pretty good till step 6 was there. See the image underneath for what that step is.

(If the image does not work - go to the facebook developers site, go to docs, facebook login and see step 6 for windows)

So I tried a lot of things around this, and it just doesnt work. I dont know what im doing wrong.

Is there anybody here who already did this and can give me step by step a solution to get past this step?

(Like to place the java developers kit, which command prompt I have to open, just in detail)

I would be very very grateful if anybody could help me :)
[Sony Xperia XZ Premium Questions & Answers] nevenx:
Hello, I need to buy SD card for my XZP. Is this one good (price doesn't matter, even this SD cost 24€) for my phone, for taking pics and recording in 4K?

https://www.links.hr/hr/memorijska-...dsdxve-032g-gncin-class-10-uhs-i-u3-300900443
[Sony Xperia XZ Premium Questions & Answers] schickel:
Why 32GB? If you want to record 4k videos, then take a bigger card. I'm using THIS here and have no problems so far with it.
[Sony Xperia XZ Premium Questions & Answers] nevenx:
I don't always record, I'm more taking pics, but I asked if it's good for both actions and 32 gb is okay for me, I'm using now 16 gb that came with my phone and it's not half full...
[Sony Xperia XZ Premium Questions & Answers] Kanchuka:
SD Card

according to your link it shows normal camera sd card. you have to purchase micro sd card. because Xperia XZP cannot use big sd card. sandisk or kingston micro sd card is best.

here is the link for micro sd card. better to look best one and buy
[Sony Xperia XZ Premium Questions & Answers] nevenx:
Thanks buddy
[Honor View 10 Questions & Answers] bravonova:
How to avoid FRP re-lock once we unlock bootloader of Honor View 10?

Does FRP get locked by itself automatically or does it re-locked only when we use "fastboot oem lock" command?

If it's get locked by itself automatically, then in which scenarios will it happen?

Kindly guide.
[Honor View 10 Questions & Answers] IcipherPT:
I would like to know that too because after getting root and twrp, i boot to stock rom and got FRP lock...What causes that?
[Honor View 10 Questions & Answers] Blackball:
Because before you unlock you didn't activate oem unlock in developer settings.

Gesendet von meinem BKL-L04 mit Tapatalk
[Honor View 10 Questions & Answers] kpirnie:
I did activate oem unlovk in dev settings, and mine states the same. bootloader unlocked, but frp still locked
[Samsung Galaxy J5 Questions & Answers] mikolaj_2110:
How can I downgrade from N to MM on J5 2016 SM-J510FN? I need firmware files. Help
[Samsung Galaxy J5 Questions & Answers] Sinko91:
use this topic https://www.youtube.com/watch?v=nA1YAex0oeg&t=940s

& for firemwares download from here : https://www.sammobile.com/firmwares/galaxy-j5-/SM-J510FN/
[Samsung Galaxy J5 Questions & Answers] arnoldosss:
it show pit check fail
[Lenovo P2 Questions & Answers] eried1:
How does one change the IMEI?

I've tried this without success:

1. Root your device

2. Download and install QSPT and UltraEdit (HxD would also do).

3. Download an IMEI converter.

4. Get hold of a working qcn (I used my own which I know works in my other P2). Open the file by using Ultraedit/HxD and try to locate the IMEI. In my case it often starts with "08 8A...".

5. Use the IMEI converter and input your true IMEI. Memorize the output.

6. Return to the qcn file. Write it over with the IMEI output you got in step 5.

7. Save the file.

8. In a terminal enter:

su

setprop sys.usb.config rndis,diag,adb

9. Restore the qcn file from step 7 by using QSPT. You click on QPST configuration and go to "ports". If your port isn't already visible go to the device manager, look up the Qualcomm Diag port and add it. For me I believe it's COM9. Now you click on "start clients", then "software download". Tick the "Allow phone/file ESN mismatch", locate your saved qcn file and start restoring it.

10. All done. Reboot!

Apparently some XDA members managed to get their signal back once the modem was deleted so I guess somebody should know.

Other methods I've tried include flashing stock MM and installing OTA until you're on S251 as well as restoring an older full TWRP backup from when your signal used to work. Needless to say, they didn't work.
[Lenovo P2 Questions & Answers] mL-7:
This procedure worked for me. Lenovo K6 Power with Qualcomm proc.

Successfully I found other users qcn file and wrote my IMEI in it.

Signal is back but diag port disappeared and I can't turn it on again.
[Lenovo P2 Questions & Answers] lalfulsk:
WhatsApp me or call me 8436243173
[Lenovo P2 Questions & Answers] silentzer14:
WHERE CAN I GET THIS QNCN ? I'm confused :confused::confused: