yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Note 10 Questions & Answers] TF1920:
Hi Steve,

The 500Mb is because it stores it in 3 formats:

yuvrawplain16 is 217.153.536 bytes

rawmipi is 135.720.960 bytes

yuv420nv12 162.865.152 bytes

Saved one of them in infranview as bmp and you have 325.730.358 bytes

didn't count them, but a few hours indeed :silly:

Besides integrating raw in an app there could be few more things to tinker with like expanding iso/times... or try to enable the 6K video recording this chipset is capable of, but will involve many byte manipulation of the compiled .so files , and finding what to change to test is what takes time...
[Xiaomi Mi Note 10 Questions & Answers] picitup:
Hi

My meeting been delayed, so I had a quick play. I got the same results as you with the YUV420NV12 files. This looks very good and it's ready to go!

Just a suggestion for your grid - I wonder if you have some felt pens and could colour a square red, another green and another blue? Just to check the colours are mapped correctly.

I also did a quick sanity check on each of the files in Neo editor and confirm that they all look fully populated with data so that's a good start.

I had a play with the RAWPLAIN16 file and managed a little progress with irfanview by importing it as 10 bit Not Normalised. The image displays, although it's very dark and is mirrored. I've posted up a jpeg of what I saw and the import screen for irfanview:

https://mega.nz/#F!JEN0wYjB!KiTFHtdcvugt9rBWmPV9_w

I'll have a further play later.

Cheers
[Xiaomi Mi Note 10 Questions & Answers] TF1920:
yes here you have one with 3 squares colored, Square1 is red, 2 green, 11 blue https://gofile.io/?c=ZUeF56 btw colors don't show up correctly at infraview

Edit: test with OpenCV and got a closest match here you have the original jpg and a converted one from the raw 200Mpx https://gofile.io/?c=JZifOW , the settings were input CvType.CV_16UC1 to output Imgproc.COLOR_BayerGB2BGR
[Xiaomi Mi Note 10 Questions & Answers] picitup:
Thanks for the upload. You've confirmed what I suspected, that the irfanview image might be greyscale. I'll have a bash at that later.

I've been playing with the RAWMIPI file and if I import it at 24 bit and 12032x9024, it only seems 50% populated and 50% blank, despite the binary data looking as pretty much as expected.

I've uploaded a jpeg of the MIPI file, imported at 6016x4512 and it's not right, but getting closer. I think maybe the resolution is wrong, but I'll play around. The MIPI jpeg file is in the same folder as before:

https://mega.nz/#F!JEN0wYjB!KiTFHtdcvugt9rBWmPV9_w

Cheers
[Xiaomi Mi Note 10 Questions & Answers] TF1920:
Interesting Steve,

Got one working the file ending at YUV420NV12.raw you can convert it with ffmpeg to the real color thing :) https://gofile.io/?c=v3eVQg

using this is the command line to do it

ffmpeg -s 12032x9024 -pix_fmt nv12 -i test.raw test.jpg

and with the big file RAWPLAIN16.raw the closest is this https://gofile.io/?c=JuMmmw

you can change jpg by png at the end to get a uncompressed output

using this command:

ffmpeg -s 12032x9024 -pix_fmt bayer_grbg16be -i test.raw test.jpg
[Xiaomi Mi Note 10 Questions & Answers] Theliels:
I know, old post. I was searching about add 64MP to my Poco F2 Pro/Redmi K30 Pro and found this thread. I will try later with OpenCamera (thank for the thread), but i can help a little here too.

For some time I have been adding different Android sensors to my custom build of Dcraw (All credits to Dave Coffin) for RAW MIPI files, I just need someone to upload a test file (MIPI) and indicate the resolution of the camera. By configuring reprocessDump I can also save the RAW capture from my phone. In the Redmi K30 Pro caseit is done in a different way, and 4 independent RAW captures are made (one per binning), so it is necessary to merge all of them into one of 64MP later. But In your case it is easier since it is only an image, so is trivial. RAW Image captured by reprocessDump are Bayer in 10bits packed. at least in my phones.
[Xiaomi Mi Note 10 Questions & Answers] julientaming:
Wow impressive ! Do you think I could hack my huawei Mate 10 too ? I have raw on the color sensor but I want raw on the second sensor which is monochrome.
[Xiaomi Mi Note 10 Questions & Answers] Jdorman12:
I think I got the 12s ultra full raw working also with all yalls help, you guys are wizards. Still trying to get the raw mipi dump and getting the 50mp dump in 4 separate files out of the stock Leica camera app but the open cam app that I used it working
[Xiaomi Mi Note 10 Questions & Answers] doomanix:
@Jdorman12 Would you be able to supply the steps you did to enable the raw output?

I've tried following this thread and want to confirm the version of OpenCamera and if the only reprocessDump=TRUE setting is required in camxoverridesettings.txt to enable the output.
[Xiaomi Mi Note 10 Questions & Answers] TF1920:
I think it is not needed, only for geting more raw unprocessed outputs in some system folder
[Xiaomi Mi Note 10 Questions & Answers] Jdorman12:
To enable full res, add exposeFullSizeForQCFA=TRUE to camxoverridesettingsOfUltra.txt then install this apk

OpenCamera_Wyroczen_1.0.apk

drive.google.com

The highest resolution won't show but it will still take the full res image

ReprocessDump=TRUE just gives you a rawmipi10 zslyuvsnapshot in /data/vendor/Camera that is 60mb which you need to convert to dng a special way with Matlab I think
[Xiaomi Mi Note 10 Questions & Answers] Vovan2k:
Could you upload image again, i made my phone produce this files, but i suspect header is messed up i want to inspect working file and compare.
[Off-topic] Kevlar-Source:
Hello everyone,

I was wandering if someone can help me.

I see that some users, in their posts, have IM and Skype information stated... I would like to

do the same with my profile.

Although i looked for where to do it uder every section of User CP, I couldn't find it...

Can you help me?

Thanks in advance.

Cheers.
[Off-topic] l3v5y:
:p

http://xdaforums.com/faq.php?faq=vb3_board_faq#faq_vb3_user_profile
[Off-topic] Kevlar-Source:
Dear l3v5y,

After i made that stupid question i got myself to read the FAQ section and i already figures out how to do what i had in mind.

Thank you for your answer anyway...

I am quite embaraced for askinga question before searching... I always criticize people for doing so... Sorry for the sillyness.

Cheers.
[Off-topic] l3v5y:
We're all human :D
[General Questions and Answers] Cowbell_Guy:
Just wondering what apps people are using on Android for navigation these days .

I was a longtime Waze user but have recently switched to Google maps- the interface is much better and it now seems to handle traffic etc just as well as Waze. What are you guys doing?
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] claudioita:
Hi, I did

1) unlock bootloader

2) flash Indian StoCK ROM (MIUI 10) on a MI 9T PRO in Europe (MIUI 11 ROM stock)

Everything works (almost), but I noticed two very strange things

1) Google Contacts took 15 hours to sync my 3000 contacts (yes I have many, but usually in few minutes they are always synched)

2) Google Home app, does not start, it starts and it looks for a Google Account (but its already in the system)

Any advice on what to do? Yes I could wipe all and reflash, but it took me 5 hours to install everything, I might do it, again, in te weekend. Just hope is not a waste of time.

Any additional advice?
[Sprint HTC One (M8)] ashlar.gray:
(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.09.20.0209

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: HT442SF05821

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid:

(bootloader) product: m8_whl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B70000

(bootloader) cidnum: SPCS_001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 26d3ff23

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[Magisk] zivpeleg:
Hello,

I am developing an app that requires su permission, whenever I reinstall it I have to grant permissions again on first launch. Is there a way I can grant the app su permissions using adb while the phone is connected to the computer?

Ideally I want a script that has:

adb install myapp.apk
adb shell su -c 'grant magisk permission'

Thanks,

Z
[Nexus 6P Q&A, Help & Troubleshooting] TaZeR369:
I was basically wondering if yall could put me onto roms which are 8.1 oreo based but which are still updated regularly for example like the Lineage OS 15.1 roms. Also I had a question about vendor images, from what I understand these are where the security updates and that stuff is stored, would it be possible to somehow use different vendor images with more recent updates on older roms which come with older versions, would it be possible to restore a newer vendor image using TWRP recovery or something like that on an older rom?

Thanks yall.
[Nexus 6P Q&A, Help & Troubleshooting] Lawlrus:
Security updates are not stored on the vendor. If that was the case even los wouldn't be able to apply security updates then, AFAIK they are kernel based. The only 8.1 ROM still being up date is los which you already know.
[Nexus 6P Q&A, Help & Troubleshooting] TaZeR369:
Oh I see that makes sense. I guess back porting security fixes to older ROMs is a lot of hard work then I won't even bother.
[Nexus 6P Q&A, Help & Troubleshooting] Lawlrus:
I've never even heard of anyone trying this. You wouldn't "back port security updates" you would take the most current ROM source and make a new build. When los stops making upstream changes to a ROM you wouldn't even be able to do that. You would have to take their old source and merge the security updates in yourself, since they don't any more, then make a build and hope there's no build errors for you to fix.
[P3600 Accessories] tt-turkmen:
hello, people. i decided to buy a black housing (http://cnn.cn/shop/p3600dopod-d810-black-housing-p-1698.html) but have a question: is known problem that the black housing blurred paint in the first deliveries of the model and then appeared to be eliminated this problem. purchased anyone of you black housing on cnn.cn? Whether with him any problems?
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] jamesrigby:
i have a MI-9T

stuck on MI logo

I am trying to flash this

i downloaded MI FLASH tool 2018.11.15.0

and i believe the correct flash

davinci_global_images_V10.3.11.0.PFJMIXM_20190802.0000.00_9.0_global_ea6683ef5

i connect the phone in fastboot mode

i unzip the file

and slect the file direct from desktop

says error

can not found the flash file _all bat

i want to ask if this is the correct flash file and flasher

i have been trying for days

i can make it connect but says CAN NOT READ FROM PORT

IT tries to flash but gives a error read packet

any help
[Lenovo P2 Questions & Answers] IshtaNoob:
Long story short, I have been experiencing a severe battery drain with any ROM I try for the last month or so. Some ROMs seemed not to have it until first reboot, then the drain showed up.

Installing BetterBatteryStats showed me there was a "fingerprint wakelock" active 100% of the time. This was a bit strange, because my fingerprint sensor doesn't even work most of the time (sometimes it works after installing a ROM, sometimes after a few reboots, but it always stops working eventually for no apparent reason).

But searching around, I came across this page, where the following step is suggested:

mv "/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.0-service.kuntao" "/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.0-service.kuntao2"

By renaming the corresponding file on my current ROM (/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.0-service) and restarting the device, I got rid of the battery drain and it now shows a healthy deep sleep time! I suppose that kills the fingerprint sensor, but since it wasn't working anyway, no harm done.

Just posting it for posterity and reference to whoever wants to try, I have no idea if anyone else has the same issue. (now I'll go hunt down PowerManagerService wakelocks, which seem to be the next big thing eating battery)
[Lenovo P2 Questions & Answers] romabah:
First, thank you for your guide. After updating from 7.1.2 to 9 i experienced a severe battery drain issue as well and this solved it. Actually, the fingerprint sensor never worked on android pie for me (crdroid 5.3). I would like to add some information that may be usefull to people.

This battery drain was caused by the fingerprint sensor and can be diagnosed by cpu spy where you will see your phone not going into deep sleep at all (interactive mode kernel, no idea for performance or gaming modes), and better battery stats showing finger print sensor being responsible for a big part of kernel wake lock when the screen is off.

Renaming the file can be done either if you are rooted on the phone or ( as i have noticed many apps like netflix refusing to work on rooted phones, making it inplactical to having your phone rooted ) using adb usb debugging to rename the files. if you are not allowed to rename the files, remount the phone and try again, remounting will automatically mount it in ReadWrite, while sometimes the first time will mount only as read.

If the problem is fixed the cpu spy app will show a much larger time spent in the lowest clock state in interactive mode and actually phone spending time in deep sleep.

PS: DO NOT hunt down the power wake locks as stated in your post, as those are active when your screen is on, and those should be on.
[Samsung Galaxy S10 5G Questions & Answers] Fujimens:
I'm in Europe, but looking for a Qualcomm version with 512 and hopefully also dual SIM. Unfortunately, lots of these listings and review sites are not updated.

Also the Euro versions with Exynos don't seem to come with anything but 256gb. Any other variants?
[Samsung Galaxy Note 10 Questions & Answers] m.ilha:
Hi, I hope this is the best place for my question.

I need to use my Galaxy Note+ to connect to my company´s VPN trough OpenVPN Client. Everything is working fine with the connection, etc. But, to use my company resources I need to add a static route on Android, because my VPN IP address is on a different IP range from the work network IP range. I am the first one to use OpenVPN with this purpose in my company and I´ve been searching on Google with no success for this case. Is there a way to solve this?
[Samsung Galaxy Note 10 Questions & Answers] erreur404:
usually, the route was push by the server openvpn, perhaps hou can ask your administrator to modify it
[Android Q&A, Help & Troubleshooting] yaveto_paulo:
So I have Asus Zenfone 3 ZE520KL, after i upgrade the firmware to OPR1.170623.026.WW_Phone-15.0410.1802.44-0 I cannot get in to EDL mode anymore. Not from adb roboot edl, fastboot reboot edl or keys combination. Someone please explain this situation. Thanks.
[Galaxy Tab S2 Q&A, Help & Troubleshooting] greekgod1021:
Anyone that can help would be great and thanks in advance.It gets power and lights up the charger indicator screen,but my hardware keys won’t work at all and can’t power the tablet on.Anyway to somehow get it powered on??Any tips or tricks?
[Xiaomi Mi A2 Lite Questions & Answers] CelloSullivan:
Good Morning! I'm having a boring problem with my Mi A2. I can not flash any ROM on my device. In the Fastboot screen does not appear Mi Bunny, although the PC recognizes. This happened after I had to put the phone in EDL mode to restore the stock kidney, in one in a failed attempt to install the miui 10 at the time the phone had got stuck on the screen initialization.

If anyone has a help I would be very grateful. It almost always gets stuck in error 1 or error 7. I don't remember the description but it is almost always an update error.
[Xiaomi Mi A2 Lite Questions & Answers] RFD80M-75679:
Mi A2 (jasmine) is not the same as Mi A2 Lite (daisy). Also you need to get AndroidOne Stock ROM and flash it via EDL (and first and foremost, you also need OEM Unlock too). Use Clean All in MiFlash.

If you have Mi A2 instead of mi A2 Lite, go to Mi A2 forums instead.
[Xiaomi Mi A2 Lite Questions & Answers] CelloSullivan:
Oh yes I just went to notice now. But thanks for the help. Actually the xda app identified my device as mi A2 lite. But it's mi A2 Jasmine. I will repost in the correct forum. Thank you.
[Google Pixel 4 XL Questions & Answers] LiquidFusion01:
My Sprint/Pixel 4 XL seems to periodically require either an airplane mode cycle on/off or a reboot to restore normal service. It's really odd, as sometimes I'll even just fall to 3G. I have a work on-call phone (Samsung GS8) that'll be doing just fine, LTE enabled and showing -100's RSRP while in the same location. I thought it might have just been my phone doing something odd, but this past weekend a friend was riding with me out of town and his Sprint/Pixel 4 XL did the exact same thing. Both Pixels showed either no LTE availability or 3G, while the GS8 was on LTE speed testing away at LTE speeds.

Airplane mode/rebooting solves the issue and the phone returns to normal data speeds. Anyone else see an issue like this?
[Samsung Galaxy Watch] Gyanesh14:
I am using Samsung Active 2, 44mm watch.I have to travel by bus daily for my office. My watch is adding steps during travelling thus giving inaccurate results.

Becuase of this my total steps count, active time, calories are showing very much inaccurate.

Please help
[General Topics] R3PUBL1K:
FREE Expansys Voucher [expires 08-07-08]

--------------------------------------------------------------------------------

As I'm not going to be able to use this, I thought it would be better to pass it on.

£10 off any order over £20

Smartphone, Pocket PC & Ultra-Mobile PC Store - eXpansys UK

This voucher is valid until 08/07/08.

Please note that this code will only work ONCE. So first come first served!

PM me if you want the code...

I will update this thread when the code is taken.
[General Topics] R3PUBL1K:
Code has now been given away...
[OnePlus 5T  Questions & Answers] Evolve92:
Battery life in 9.0.9

Hello all,

I'm trying to find out how is the battery life out there in latest stable update

Right now.. i have a pretty bad battery life ..not sure how to fix this.

I went through few pages in Google and OnePlus forums

Here is one of the links

https://forums.oneplus.com/threads/...our-stats-how-to-improve-battery-life.681970/

But still stats are like below attached screenshots

Steps I have tried so far

Cleared cache in recovery

Cleared cache and data for Google Play services

Joined beta for GPS and upgraded to latest version

Factory reset

Also used Oreo for a day or two.. battery life seems normal in Oreo...

Issue resurface as soon as I update to pie

Appreciate all your help on this!
[OnePlus 5T  Questions & Answers] Evolve92:
Google Play services constantly run in the background :(
[OnePlus 5T  Questions & Answers] stefan.irmen:
So far its pretty good for me... :)

5t is still one of the best phones i think!
[OnePlus 5T  Questions & Answers] Evolve92:
Thanks for the reply. Yea 5t is still one of the best phones out there :good: your stats looks solid. I'm thinking where mine goes wrong. :confused:
[OnePlus 5T  Questions & Answers] Evolve92:
Updating Google Play services to 19.8.28 beta has improved screen on time and battery standby time in stable 9.0.9, hope it remains same with future beta versions.:cool:
[OnePlus 5T  Questions & Answers] mvanwey:
My 2 cents. Great battery life.

I picked up a used 5T on eBay a week ago. It did the OTA update to 9.0.9 on day 2 or 3. I don't know how it was before the update, but this is the best battery life I have ever experienced.

Full charge last night. Unplugged before bed. Google maps on the way to work (75 mins). Light use throughout the day. Still about 50% left. Better than any phone I have ever had.

I wonder what other apps or settings that the OP has changed to shorten the battery life. Mainly so I don't change those settings.
[OnePlus 3 Questions & Answers] Simone98RC:
Hi guys,

since years I'm having issues with camera microphone on LineageOS/Cyanogenmod roms: after 2-3 seconds of video recording I get muffled audio (technically described as audio phasing).

The problem exists since the time of CM 13.x on LG G3, now I'm inheriting it on LineageOS 16 (and previous major releases).

Actually I'm running LineageOS 16.0-20191123 with OpenGapps Stock 9.0 Nano 20191123.

To let you understand what I'm talking about, after 2-3 seconds of video you can hear an "underwater" effect and a lowered volume.

Someone could argue I've not done enough tests, so I list all the apps I've used:

Snap Camera (default with latest LOS)

Snap Camera HDR

OxygenOS Camera Port v8

Modded Google Camera (Tolyan009 6.2.030 TlnNeun v0.6d)

Whatsapp Camera

Facebook Camera

Instagram Camera

Telegram X Camera

Just today the litmus test: I've used ASR sound recorder with Camera Mic as default source, the result is the same while all the other microphone sources have worked properly.

I've attached a zip file with both incriminated sound and video recording, so you can hear what I've described.

View attachment 4888957

Are you affected by this issue? Please, confirm that in thread survey and also in my GitLab ticket with a thumbs up :good:

Thanks in advance.
[Moto X4 Guides, News, & Discussion] umalldaway:
[First time poster here, so please be gentle :). Any forum ediquet faux pas are accidental, and great constructive feedback!]

Currently running XT1900-1 variant of Motorola X4. Currently does not have a SIM card (only used on wifi).

A couple weeks ago, I flashed a bad ROM (IIRC I flashed a non-Android One ROM) and got the device into a bootloop. Immediately upon doing so, I was pulled away from the device for around half an hour. Upon returning to the device, I flashed the stock Android One image, and started to go through the initial device setup. Once I reached the "connect to Wifi", the device couldn't find any wirelesss networks. Unfortunately there's no way to bypass this stage of the setup without either having a SIM card installed or connecting to WiFi, so i ended up stuck at this point without USB Debugging Enabled.

I have tried repulling & flashing the Stock ROM again (incase it got corrupted), but I hit the same problem. I then pulled and flashed the latest LegacyOS for the device, and was able to get through the initial setup process (you can skip WiFi and SIM setup) and enabled USB debugging to poke around.

Under LegacyOS, when I try to enable WiFi, the WiFi symbol lights up, but after about 15 seconds, turns off again. This kinda matches the observed behavior running the stock ROM, although I cannot confirm for sure. What surprised me was that the device was able to find Bluetooth devices, leading me to believe the wireless hardware isn't entirely toasted...

A quick look around this forum didn't reveal any similar sounding issues.

I'm currently looking for a DMESG log to from the stock ROM on an Android One device which I can compare against mine (obtainable from TWRP).

Any other additional debug ideas would be appreciated.
[Moto X4 Guides, News, & Discussion] KrisM22:
From what I have read, it's okay to flash a non-One fi ROM to a One fi phone, so that, in itself, shouldn't cause any problems.

Def flash the latest one from lolinet fi.

So you are saying that you have something transmiting wifi, like a router or somesuch? and the phone can't see it.

I would also encourage you to connect it to lmsa and see what rom it offers to flash and flash it.

lolinet fi: https://mirrors.lolinet.com/firmware/moto/payton/official/FI/

lmsa = lenovo motorola smart assistant: https://www.motorola.com/us/lenovo-motorola-smart-assistant

EDIT: check any command set you use to flash a rom to assure it does NOT have a command to relock the bootloader. DO NOT under any circumstances attempt to re-lock your bootloader!