yashsingh1/xdaforums huggingface dataset:
[Touch HD General] truthseekers:
quicker shutter

Theres a registry edit thread on here which allows you to turn on burst mode, which allows you to keep your finger on the shoot button and it takes a stream of pictures... they are lower MPixel for sure, but it solves the worry of getting your photo timing right. Just press before you think you need to, and keep pressed and then delete all the rubbish pics you dont want. It did a burst of 30 pics on mine.

This might get rid of your photo action headaches?
[Touch HD General] Heefy:
Buttons

The only button you can press is the auto focus button. After pressing it takes a few seconds (in some cases) to get the correct focus then shoots.

Here is a suggestion. Start taking photos like a pro. Use some form of support to prevent shake and subsequent blur. Use the reg hacks for faster moving subject matter.

Ultimately stop moaning. Its a £500 device which is a mobile PC with internet connections via various wizardry, a calculator, diary, camera, notebook, phone book, PDF viewer, MP3 player, MP4 viewer, bar code reader, email system, weather info system, alarm clock, texting device, Stock market management device, video camera, MSN device, games machine and GPS device (to name a few)

Add all that up and you get: 1 Happy Blackstone owner. If you haven't got one then hey don't worry about it, go buy a new 8mp slider phone that you can master in 10 mins and be happy with.

PS I brought a new NIKON digital camera recently it cost more than the Blackstone on its own without a lens or SD card.....Get the message?
[Touch HD General] BANE:
Just wondering. i've read about tips and tricks where you can unlock three other modes of photography in the registry, two of which are BURST capture and sports mode....

Traditionally sports mode is meant for capturing fast moving action. Can anyone test to see if this sports mode could be usable as the default mode for taking pictures, perhaps it'll help with the reported lag?
[Touch HD General] onesolo:
We got the message, the problem is that there's other pda and non pda phones that can do better (much better indeed), and after all is not that hard to ask (to HTC) cause the photos of HD are mediocre... We are not asking to put SLR quality alike inside, only normal quality inside
[Touch HD General] kmogul:
HTC's reply on my Touch HD camera blur

Hello all, I sent an email to HTC via the HTC support website regarding this issue. My email to them, and their response is included below

ORIGINAL EMAIL TEXT:

I have a brand new Touch HD (ROM 1.14.xx). Almost every picture I take with even the slightest movement of the subject will cause the photo to blur. Pictures with no movement are fine. This means i cannot take any photos of people with my (very expensive) Touch HD. The blurry photos are far worse than my previous phones (2mp cam on Nokia, 3mp on Samsung), to the point that I no longer print out any of the photos I take with my phone, not even in small 6x4 inch size prints. Considering the expense of this phone, and the fact that it is advertised by HTC as 'multimedia' phone, I consider this to be unacceptable. I sincerely hope that a new software fix is in the works to fix the issue, as from reading on the Internet this is causing a problem to many dissapointed HTC users. Could you please do me the courtesy of replying and telling me if the issue is being looked into by HTC? Thank you, Mr Kamran (P.S. The last HTC phone I purchased was a Touch Cruise, which received much criticism after all the complaints it received after it failed to perform as a multimedia capable device (despite its 'multimedia' advertising - something to do with the graphics hardware not being utilised). I sold that phone because of the poor performance, waited several months and purchased the HTC Touch HD... how ironic that I am in exactly the same position. Other than myself, I wonder how many other HTC device owners are simply having to learn to 'put up' with HTC's growing reputation of devices that offer so much potential, yet underperform on their promises)

HTC RESPONSE:

Hi Kamran, HTC are perplexed as to why you are having issues with your camera. Please synchronise your device. When you have all your data please format the device. To format the device, Remove and replace battery, hold down the volume up and down, press the power button for one second. if successfull you will see a white screen with your next step. Thank you for contacting HTC Europe.

Seriously, i didnt think a hard reset could fix an issue like this, but hey, what do i know? Anyway, they have closed the ticket, so i guess (as usual) im going to be watching xda-developers to see if there is a fix (I see the Sony xperia x1 camera port project is starting to grow legs!...). I suppose i could upgrade to the latest rom, might give that a shot first.
[Touch HD General] Boinng:
It's not ironic though, is it? It's as predictable as the day is long, and you have only yourself to blame.

They've fooled you twice, and it's shame on you.

It's about time that you, and many of the other dissapointed users here, started learning from your mistakes and moving away from HTC. Falling sales are the only things they'll listen to - they certainly aren't interested in reading your emails, as the ridiculous reply you've just received proves.

Stop being such a mug. If you're not happy with HTC's delivery on their promises (quite reasonably) just ditch them and buy something different next time. Take a chance on another manufacturer, and/or even a new OS.
[Touch HD General] kmogul:
Unfortunately, i cant afford to jump ship to another OS, I have a reliance on several WinMo applications. Secondly, out of all the devices out there, this one seems to meet my needs the best,... for me it has one problem, the camera. Perhaps that makes me a mug? i dont know, maybe it does, but no more a mug than iPhone users who learn to 'put up' with the fact they cant use their bluetooth like they used to, or MMS that they can no longer send. Do they stop buying Apple products to make a point? I doubt it, im sure they are happy with their phone, it just has a few niggles. Well, the same with my current HTC phone.
[Touch HD General] arfster:
HTC have never made good cameras, they just don't seem to think it's important. On top of that, they've stuffed far too many megapixels onto a tiny sensor, so the standard terrible camera also needs massive denoising - thus 3.5 frames/second, and motion blur as well.
[Touch HD General] MacDegger:
The ONLY thing that bugs me with the touch HD's camera is the hideously long time it takes to auto focus. What the camera app needs to do is autofocus on touching part of the screen, and then do a simple grab from the ccd's raw output when I touch the 'take picture' button.

Instead, when I press to take a picture, it decides to start from perfectly good focus, focusses in all the way, THEN focusses OUT all the way, THEN goes to what it thinks was good focus (many times the position IT WAS IN TO START WITH!!!!) and then and ONLY THEN dumps the raw image to storage.

It's ****ing rediculous and makes me want to program a new camera app :(
[Touch HD General] :
Original discussion here: http://xdaforums.com/showthread.php?t=466701&highlight=Camera
[Android Q&A, Help & Troubleshooting] arcadeperfect:
Hi,

Trying to install Lineage on my old pixel 2.

Was able to install TWRP and sideload the Lineage image. Then got as far as the Lineage loading logo. But something went wrong and it never fully booted, and now the phone goes straight to the bootloader with message:

"ERROR: Slot Unbootable: Load Error"

I then realised I had downloaded an UNOFFICIAL walleye image, don't know if that's the problem.

If I go to recovery mode, I get a Lineage recovery. From here I can enable ADB, but I don't know how / if I can sideload a new Lineage image from here.

If I try to reflash TWRP I get "FAILED: 'No such partition.' in the shell.

Anything I can do or is it bricked?

Thanks in advance
[Android Q&A, Help & Troubleshooting] Oswald Boelcke:
@arcadeperfect

Welcome to XDA. I hope you'll always get the support you require.

However, prior to your next posting please read the guidances that are stuck on top of every forum like

Note: Questions go in Q&A Forum

If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...

xdaforums.com

and the others. I've moved the thread to Android Q&A. Thanks for your cooperation.

Regards

Oswald Boelcke

Senior Moderator
[Android Q&A, Help & Troubleshooting] arcadeperfect:
Apologies, will check next time
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] No1Alien:
LineageOS 19.1 for Sony Xperia XZ1 Compact

RELEASE

This is an alternative ROM for the Sony Xperia XZ1 Compact, offering several privacy features.

Please report any issues you observe apart from the ones listed below. Logs are needed for me to fix anything (preferably dmesg and logcat). I can't test NFC very thoroughly, to please report your findings.

FEATURES

Signed with dev keys

Up-to-date kernel

WireGuard kernel support

DOWNLOAD

You can download the latest ROM releases here: https://androidfilehost.com/?w=files&flid=333224

Latest TWRP: https://dl.twrp.me/lilac/

Check the ChangeLog below for firmware requirements!

INSTALLATION

Before first install: flash and boot into TWRP,

format

data, reboot to recovery and wipe all internal partitions.

After above step / any subsequent dirty flashes: Boot into recovery, put the ROM, GApps and root (if needed) on sdcard and flash.

Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.

When updating from previous builds, simply dirty flash the ROM, together with any GApps and/or other modifications - addon.d will not work due to currently unavailable TWRP decryption.

Recommended GApps: MindTheGapps-12.1.0

KNOWN ISSUES

Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui

You tell me...

Contributors

derf elot, modpunk, Rooted_Ansh

Thanks to the yoshino testers (let me know if I forgot to add you)

coin3x, feduss, GiaSen, Gizanagi, hsheemi, kaancaliskan, sohrab1985

Source Code

https://github.com/whatawurst/android_device_sony_lilac

https://github.com/whatawurst/android_kernel_sony_msm8998

Rom Information

ROM OS Version: Android 12

ROM Kernel: Linux 4.4

Version Information

Status: Stable

Current Stable Version: 1.6

Stable Release Date: 2022-09-18
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] No1Alien:
SECURITY ADVICE

Don't flash ROMs or Magisk modules which set SELinux to permissive or you welcome malware on your device!

How to get root?

As mentioned before, there will not be an official su addon from LOS anymore. If you need root, flash an unofficial solution.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] No1Alien:
REQUIRED FIRMWARE:

CHANGELOG

2022-09-18 | 1.6| 47.2.A.11.228

* Final release, fixed DRM, WebView/Chrome issues in 1.5 :LOL:

* GPS config update

2022-04-20 | 1.3| 47.2.A.11.228

Initial release
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] victor126:
tried ver.1.3 but still have issues with split screen not working after loading all my apps. gets trebuchet errors. didn't have time to get logs or troubleshoot what app causes it. but im not getting it with flamefires 17.1
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
Nice to have a separate LineageOS 19.1 for XZ1C thread, but it might be nice to credit this ROM to @derf elot more explicitely in the OP, since it seems to be mostly his work.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
No worries, I asked @No1Alien if he could open the thread since I don't have much time to maintain it ;)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Denam:
Hi guys, an first of all thanks for the work you've done.

Now i'm bit confuse, i'v achieved the flashing of the os correctly (or maybe not) but i didn't update the firmware (an i think it's why my sim card is not detected). Question is : where can i find the firmware update "2022-04-20 | 1.3| 47.2.A.11.228" ? On sony website i only see 2021-12-06 for xz1c.

Am i missing something ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] victor126:
2022-04-20 lineage 19.1 rom ver 1.3

47.2.A.11.228 Sony firmware
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Corias:
Updated in dirty way over LOS 18.1 from this forum, everything works including Zygisk and contactless payments
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] zegoo:
Hello, nice job. What TWRP version is needed ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
Very nice work! Haven't been able to test much yet, but when I picked it up just now after some days, I could see that battery drain does not seem to be an issue:

View attachment 5599203

(This is not real-world usage though: wifi is on, but no SIM card, and just sleeping)

Rom lineage-19.1-20220408-UNOFFICIAL-1.2-lilac

Magisk 24.3

MindTheGapps 12.1.0

twrp 3.6.1_9-0-lilac
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dean F:
Running this on a spare XZ1 for testing. If the camera does eventually work one day, I think ill go to ebay aand buy a new XZ1c.

Thank you for all your hard work.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GT500s:
I'm currently on Havoc-OS 4.16 but can i flash Lineage 19 over Havoc? How to create backup of current Havoc in TWRP if i want to get back from Lineage OS 19? What should i select when creating backup?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] claudiobar:
Hi! Do you lose the homescreen arrangement (widgets, folders..) when you do this? (Trying to see if there's an advantage to dirty flashing)

Regards!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] claudiobar:
Hi, check the last pages of the 18.1 thread, there's a link there. Someone got it working, seemingly. Still an early version, slow motion mode at least doesn't work and I'm uncertain on whether there's actually an improvement in quality vs open camera (took 2 pics to compare but didn't see any difference) but, still.. It works!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] .:B:.:
Hi and thank you (also to Derfy ;))! Great to see LOS 19 for this thing :D.

Question: I dirty flashed from latest available LOS 18.1, wiped Dalvik & cache, installed the MindTheGapps package as recommended, but swiping is gone on the AOSP keyboard. I can kill the AOSP keyboard forcibly, and then swiping came back just once but immediately disappeared again. Anyone else seeing this?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
Have you tried turning it off and on again?

(tends to happen on first boot, no idea why)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] .:B:.:
Yes, multiple times :p.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Corias:
Maybe. I didn't use Trebuchet with LOS 18, so I can't say if the icons were in same places.

BTW guys how can I set an accent color in LOS 19?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] derf elot:
By changing the wallpaper, it automatically chooses accent colors based on it. It's how "Material You" works.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] jimmygumble:
Id personally consider their changelog releases a milestone since they are willing to publicly collate some of the more notable additions (or sometimes removals)

Anyways who cares really. As long as the device is even still mildly supported I couldn't give a fiddlers what the release cadence is :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] pekas:
is there gonna be an OFFICIAL build Lineageos 19.1 at some point?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I've made an unofficial build of LineageOS for microg based on this ROM. It's had basic sanity testing: calls, sms, wifi, camera, mobile data all seem to work.

Build is available on AndroidFileHost:

https://www.androidfilehost.com/?fid=15664248565197203978

Feedback welcome, either here (if @No1Alien doesn't mind), by PM, or at https://github.com/petefoth/unofficial-l4m-builds/discussions (where issues can be raised if needed).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
I've just installed it, so far everything is working well. Thanks a lot for your work! Do you have paypal or something to donate?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Glad it's working! If you would like to donate, I suggest donating to either Lineage OS at https://patreon.com/LineageOS or to microG at https://liberapay.com/microG/
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Markutthel:
support gcam??
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
No, cause our device doesn't support RAW.

There seems to be a new update 1.4 with updated radio blobs.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] ardaxad:
what would you guys recommend between XZ1C + Unofficial 19.1 VS XZ2C + Official 19.1?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
I took the plunge and promoted @derf elot 's latest 19.1 (version 1.4) build to my daily driver!

The 17.1/18.1 builds from @Flamefire have some 'special sauce' patches that do not appear to be in this 19.1 build. E.g. for safetynet cts profile test to pass I had to take a peek at this patch to set the correct values with MagiskHide Props.

Apart from that, GPS getting slow (first) fix might have something to do with an old sonyericsson domain that cannot be resolved anymore as far as I can see:

# FOR SUPL SUPPORT, set the following
SUPL_HOST=supl.sonyericsson.com
SUPL_PORT=7275
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
Nice to hear that 1.4 works fine so far. I'll wait and hope for @petefoths magic to start a clean flash with an microg build based on newest update.

Can you explain in greater detail how you've fixed safety net through MagiskHide Props?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GT500s:
Installed 1.4 yesterday and it works good . I noticed that camera app is better than old one and quality of photos and videos are great. I have problem when setting new wallpaper on home screen it looks bad and not sharp like original pic. When i was using Havoc same wallpaper was sharp ald looks fine on home screen.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 3ncryptet:
Amazing new build 1.4, it is working flawlessly and I enjoy it very much. Many thanks to all you gorgeous contributors!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
From memory, I basically did this (not using microg though, I use MindTheGapps):

Spoiler content hidden.

Spoiler content hidden.

From a terminal app on the phone, or through adb shell access MagiskHide props:

Spoiler content hidden.

choose Option 2: Force BASIC key attestation

choose Option 5: Add/edit custom props (active) to add each of the following, property value in parentheses:

1 - ro.build.flavor (lineage_lilac-user)

2 - ro.build.version.security_patch (2019-09-01)

3 - ro.odm.build.tags (release-keys)

4 - ro.odm.build.type (user)

5 - ro.product.build.type (user)

6 - ro.system.build.tags (release-keys)

7 - ro.system.build.type (user)

8 - ro.vendor.build.tags (release-keys)

9 - ro.vendor.build.type (user)

10 - vendor.boot.verifiedbootstate (green)

For each prop above for bootstage choose 1 - Default (current)

Lastly, reboot

That's it I think (although I also installed Magisk Universal Safetynet fix, but that shouldn't be necessary.

Use any safetynet checker app (such as this) to verify that it passes.

If using gapps you should probably clear app data from Play Store app, before it will think that 'Device is certified' (play store->settings->about) and it will display apps like Netflix.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I've built Custom and unofficial 19.1 L4microG builds today. They are available in this directory on AndroidFileHost: https://www.androidfilehost.com/?w=files&flid=322414

I have clean flashed both builds, and they both run, and do the basics. Any feedback welcome - I need to decide whether to move my daily driver from 18.1 to 19.1 :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GT500s:
Anyone noticed battery draining on 19.1?

I'm on 1.4 now and battery is draining very fast.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
No, nothing unusual, I'd say comparable to 17.1. What do battery usage stats say?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
I don't have an Android Auto capable car, but I can connect from my phone (derf's LOS 19.1, version 1.4) to the Desktop Head Unit simulator (v2.0, Windows):

What I've done to test this connection to DHU:

- I didn't change much on the phone side: an Android Auto priv-app stub comes with MindTheGapps (MindTheGapps-12.1.0-arm64-20220605_112439.zip, and I installed actual android auto app from play store

- I did enable developer settings in Android Auto app (tap 10x on version, then start Head Unit server from menu, see link above)

- install Android Studio and then within Android studio download the Desktop Head Unit software (see link above for details)

- connect phone to USB

- C:\mypath\adb forward tcp:5277 tcp:5277

- start DHU: <android sdk>\extras\google\auto\desktop-head-unit.exe

Would be interesting to see if an actual car worked as well!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
I noticed a higher battery usage too
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
Here's an example of my battery usage (with 3 hours of screentime). I'd consider this normal, is yours worse?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
Great test. It will be interesting to see if it shows the same results with a real device. I'm still on 1.3. I'll try a dirty flash this weekend to see if it works with my car now.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
I clean installed the new version and it seems fine now, my stats are similar to yours!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gladykov:
Anyone had luck using it with FlameGApps-12.1-basic-arm64-20220811.zip ? I have bootloops with that package :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Danko Jones:
I've tested the unofficial 19.1 microG build for a few days now and I'm really satisfied with it! Everything is working so far and performance and battery lifetime is great too.

Many thanks @derf elot for bringing up LOS 19.1 to the XZ1Compact and @petefoth for your microG builds! I'll hope you'll choose 19.1 as your daily driver too. :)

Btw: I just noticed that derf elot already created repos for lineage 20 on github. So maybe LOS 19.1/A12 will not be the end of the road for our still great compact phone (fingers crossed).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
The next step on that path is to try the migration from 18.1 -> 19.1 on my test phone. I will use @AndDiSa's Android Backup and Restore Tools project to take a snapshop of my 18.1 daily driver, then try restoring it on the test phone and see what breaks :) For previous Android version upgrades I've been able to use TWRP backup / restore, but that currently doesn't work with Android S :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
By the way, since version 1.4 the GPS works amazingly well - locks very very fast.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gladykov:
Finally made an effort and switched to 19.1. Oh boy... Battery time is 2 times longer than 18.1. Also seems Android 12 is first Android which finally understand specific of the medium - big buttons, small text, allows to fit more on screen and make navigation easier. Ended up using Mind The Gapps and this is all I need. Repainter app is must have to setup color accent.