yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] daniel-gabriel:
shuts down after a few minutes of inactivity

Hi, I have a clean install on 21.01 version and it shuts down all the time. Is there any setting for this?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
could you please elaborate a bit? does it shutdown directly after boot? does it shutdown when you do something specific? are you able to get logcat/dmesg/pstore?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] daniel-gabriel:
Hi and thanks for your reply.

It shuts down after a few minutes of inactivity. I just lock the screen and leave it like that. It does not respond to double taps so I press the power button and it boots up.

Regarding the logs, I'm unable to get logcat because adb has no permissions and it doesn't ask for any.

There is the MatLog app in the phone, is it ok if I export the log from it?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Hmmm, in this case, I'd prefer pstore, since the device shuts down.

Do this from a PC while the device is connected using adb

adb root
adb pull /sys/fs/pstore/

you should get pstore contents that way. You can have those zipped, then uploaded here.

If nothing is received from the pull command, then yes please send matlog export.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] daniel-gabriel:
log

No luck with pstore, still complains about permissions.

I've sent you the log by private message because I can not post yet links.

Thank you!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
No luck with that, going to need the pstore somehow.

Maybe you can root the device temporarily (magisk or supersu) and then get pstore that way.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] daniel-gabriel:
just sent you the logs

I had to run

sudo adb start-server

and got it asking for permissions.

I've rooted the device with magisk and installed adbd insecure(adbd cannot run as root in production builds

) to let me run

adb root

and then

adb pull /sys/fs/pstore/
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Do you have any apps that use the fingerprint sensor for special actions?

Could please remove the fingerprint hal and see if that helps?

adb root
adb shell mount -o rw,remount /system
adb shell rm /system/vendor/lib*/hw/fingerprint.kugo.so

Please note that doing this will make you lose fingerprint authentication,but hopefully will make your device much more stable.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] daniel-gabriel:
The fingerprint reader wasn't working properly anyway.

I removed it and the phone did not shut down in 25+ minutes, it looks ok for now..

Thank you for helping, appreciate it.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
A notice for the upcoming weekly:

The kernel has been updated to a new version. This requires an updated odm image.

If you update to the weekly of 20180128, when it's released, then you MUST flash the new odm image from OP, otherwise you'll end up with issues like a nonfunctional camera.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] solarkraft:
Ideas? Omnirom does not boot after this. Stays stuck at Sony's splash screen.

Update: I get the same output when I attempt to flash to a partition that shouldn't exist and oem isn't listed in getvars.

Is this why "the latest stock ftf" is listed as a pre-requisite?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Errm, yes

Also for making sure that the various firmware are up to date and compatible
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] droncheg:
So, camera doesnt work, even with latest odm (version at 27.01.2018) with 2701 build. Tried also with previous ODM, but same - no working camera (Can't open camera device).

Wifi works, Night Mode not. Latest Substratum (953) also not working, but now i know how to disable it in recovery (by installing /sdcard/substratum/SubstratumRescue.zip), and Substratum devs fix that in next build very fast =)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
is that 2701 build from you? official omni's latest weekly is from the 28th
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Can confirm, I'm on the 28-1-2018 build and the camera app force closed. After deleting the app data, I get the message that the app cant connect to the camera.

edit: logcat: http://ix.io/EOx
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] droncheg:
Sorry, sure 28 =)

I've used this build omni-8.1.0-20180128-kugo-WEEKLY and this ODM, which downloaded today.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Sorry, but camera works fine here. I even did a full wipe and flashed the same weekly as you have to make sure it's not just working because I'm running a homemade build
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] droncheg:
Very strange. I do write odm, then full wipe (dalvik/system/data/cache) and install 28,01. After first load, i've seen camera icon appears for some secs. Then i've installed OpenCamera, but it also fail to access camera.

I've rollback my upgraded system, then downgrade to 22.01 and camera starts to work, even with latest ODM =)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
hmmm, then I can only assumed that the odm image I uploaded is not really the latest. Let me check.

EDIT: nope, it is indeed the latest. Could you please check what the cotntents of the file /odm/odm_version.prop are?

adb shell cat /odm/odm_version.prop
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] droncheg:
ro.kernel.version=4.4
ro.build.version=8.0.0
ro.platform.version=msm8952
ro.vendor.version=8
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
as suspected, you're not using the latest odm image, please redownload the image

md5sum of the file should be 2892fd778ea78af36af0759e05412888

EDIT: this is what the file should contain

ro.kernel.version=4.4
ro.build.version=8.1.0
ro.platform.version=msm8952
ro.vendor.version=9
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] droncheg:
Now, it:

ro.kernel.version=4.4
ro.build.version=8.1.0
ro.platform.version=msm8952
ro.vendor.version=9

And camera works in 28.01! I think this happen because of fastboot oem flashing method. I use this method via recovery and it works.

Did 34.3.A.0.252 not latest ftf before going to use fastboot flash oem?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
How is the status of fingerprint? does it work better?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
still the same, but work is being put towards making it work reliably
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
:good: for all the devs.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi! I think, you must flash the newest " oem.img " with fastboot. Or else, camea doesn't work, neither flashlight.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] z0mg.jer1Cho:
Thank u, I thought I had the latest image installed.

Shame that i "over read" the solution some posts before :eek:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Thunderjew:
This seems to work very well, although I was able to set a fingerprint but unable to use them afterwards.

And it seems like my phone is slower. I got some lag in general use and games, compared to stock 7.1 but I'll see if I can tweak it. Great work anyway :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
I think I found a bug regarding playing media. Just to be sure I did a clean flash and installed 2 different music players (Music Folder Player and Pi Music Player). Both are able to play flac but not mp3 files. There is no error when playing mp3 but there is no sound (the progress bar moves though).

This is the matlog log while attempting to play a mp3 file with Music Folder Player: http://ix.io/EYm
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
can't see to be able to replicate here, tried mp3 and other types too, all seem to play fine.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Thanks for the rapid reply. I tried some more players. VLC does play mp3 files, so it seems that some players are affected.

This segment from my matlog seems indicative:

01-30 22:56:59.142 E/Avrcp (2137): play status change 1➡1 mPlayStatusChangedNT: 1

01-30 22:56:59.143 D/Avrcp (2137): sendPlayPosNotificationRsp: Not registered or requesting.

01-30 22:56:59.147 D/audio_hw_primary(552): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: music_offload_avg_bit_rate=256000;music_offload_sample_rate=48000

01-30 22:56:59.158 E/audio_hw_primary(552): out_set_volume: Could not get volume ctl mixer cmd

01-30 22:56:59.159 W/StreamHAL(552): Error from HAL stream in function set_volume: Invalid argument

01-30 22:56:59.159 E/AudioFlinger(602): Error when setting output stream volume: -22

01-30 22:56:59.162 W/Notification(4968): Use of stream types is deprecated for operations other than volume control

But I might be wrong
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] xtreemechill:
I flash it and use it daily, just some reboots, fingerprint works at the beginning (seems to be related to non official gapps).

Thanks for this work !
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] dhchris:
Sorry bad postings here...

Now my question:

I flashed the current version and all works fine and fast.

BUT one thing that makes me crazy:

Problems with BT-Calls:

Starting a Call while connected to a bluetooth-device (headset / car system / handsfree)

doesn´t work.

If I switch the telephones speaker to telephone or speaker it works and I can hear anything.

Switching back to the BT-Device, there´s nothing...

Can you help me?

BT is a must have for me!

Tried to reinstall the rom, wiping everything etc... nothing fixes this problem...

On 7.1.2 BT (and BT-Calls too) is working fine.

Please tell me, if you need any logs or equal. But I´ll need a short description how to generate this log!

Kind regards,

Chris
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Known issue, which is being worked on.

No need for logs.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] xtreemechill:
Hi, I recommend you to full wipe your phone , I test just to flash the weekly over without wiping and I lost data.

Plus you have to flash kernel 4.4 (if not already flashed) and the latest binaries by Sony.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] dhchris:
Thanks

Yes, I tried this... This Version is running fast and smooth.

Battery is awesome!

Only problem is the bt-bug (see my other, corrected post, replied by oshmoun).

Kind regards, Chris

Gesendet von meinem Xperia X Compact mit Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] z0mg.jer1Cho:
Conclusion

So, after using the ROM for some days I want to say thank you for your work.

We've got some bugs here and there but overall, it's a great ROM.

Things I noticed so far (fingerprint and BT already mentioned):

- When using the Zoom there is a scrambled bar in the middle of the Screen (see attched Image). The bar isnt present at the taken photos, so not a serious issue

- Omniclock Alarm isnt working. If I set an alarm, it will just vibrates once and then i will get a notification that its draining the batterie. Using 3rd party App helps out there

- Battery drains much faster then Stock ROM, but maybe this comes from gapps, not 100% sure about it yet

Haven't had a single random reboot so far!

So thanks again and keep it up!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] dhchris:
Hey friends,

How can I find a changlog of the new weekly 20180204?

Kind regards

Chris

Gesendet von meinem Xperia X Compact mit Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] King_Raymond:
Hello,

with the new weekly 20180204 I can no longer open the camera app, everyone else with the same issue?

Best Resgards

King_Raymond
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] dhchris:
Camera works fine on my device.

Bluetooth-Calls are still faulty.

Hope it will fixed soon!

Regards,

Chris

Gesendet von meinem Xperia X Compact mit Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
An app called changelog should appear in your app drawer. That should list for you the new commits that have been pushed between releases
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi!

I'm on todays weekly, 20180204. I guess, our phone is getting faster and faster, from every week to week.Thanks for your job. :)

I've found something strange. If a try to take a picture, with front camera, with omni's own soft. Then nearly from 50% of zoom, a big line pop up on the screen. And inside the big line, there are so-so many little pictures of my screen :). The taked picture was good, so its not a big deal. I don't think to so many people take a zoomed pictures with thiere phone... Anyway, they could use others camera soft, they are good.

I'm sorry, but I don't try camera zoom with that "deep" of zoom ( more than 50% ) on previosly weeklys.... I can't charge my phone until tomorrow, so I need the juice :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] dhchris:
Damn, I freezed this app :eek:

Thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Hego555:
I can't use WiFi at all. It connects to the network but says No Internet. Any ideas?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
If you can connect to your router, then it's most probably not a device issue
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Hego555:
Other devices work fine on the network. I'm also pretty sure the router reports my phones MAC address.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] dhchris:
Does somebody know if Miracast or equal working?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Should work

I only tested casting the screen using chromecast, and that works fine
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] enterich:
I've had the same problem, works with static config. My router or ISP has problems with IPv6 DHCP so the phone doesn't get an IP automatically.

Hope it helps.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] dhchris:
It seems, that the Bluetooth Call - Bug is a bigger problem, isn't it?

Or without priority?

Are there (good) news about it?

Does anybody know more about this Problem?

Kind regards,

Chris
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
It is a big problem because there's no clear error anywhere to start from.

No it has priority, and is currently being worked on.

Good news is that progress is being made.

Nobody has a clue why or how this issue happens, but if someone thinks he has something, please do write in the github issue for this problem: https://github.com/sonyxperiadev/bug_tracker/issues/74

There, that answers all your questions :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] dhchris:
Thanks [MENTION=4819888]oshmoun[/MENTION]

Bluetooth is very important for me!

Will wait for bugfixes! :highfive:

Kind regards,

Chris
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi!

I have a question of what TWRP is capable of creating and running a good backup for OMNIROM? Currently I am using 3.1.1-kugo-2017.08.22, but I need to manually flash again the OEM.img file after the backup has been restored. He saved the OEM partition with the backup, but after restoring, we'll grab the SONY subtitles and not go forwards or backward ( no restart ), just freezing ... Anyone got an idea? Thank you in advance for your help :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] droncheg:
Just don't backup OEM partition =)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi!

I've got another question, until last day I doesn't need it. But, the mobile network sharing or to make a wifi hotspot are working in your phone? I saw the options, i could set uo the "wifi-hotspot" with it's setup, but a couldn't enable it. Every other options are grey, can't switch they on. I checked it out on previously weekly, and it was the same. On 7.1.2 it was ok. So, maybe its a known missing future, or its a bug on my side, and try to reflash the whole rom from the very beginning? From scratch, stock rom... :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Wifi Hotspot works here
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi!

Thanks for the quick response. In the meantime, my problem was solved, so I was not careless. The mobile data traffic was turned on, and in this case the hotspot could not be allowed. After switched it off, the hotspot could turn on, and it's good and working. :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] alfsoft:
Can someone check what shutter speeds are available in 3rd party manual camera apps with Camera2 API enabled? I know that standard Sony camera drivers have 1/10 sec restriction for these apps in manual mode. Or maybe you can also check if HDR+ is working with Google Camera MODs please?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Manual shutter speed values can go from 1/12s to 1/107204s. Tested with opencamera.

Hdr+ works, tested with multiple gcam mods. Altbough sometimes there's a crash, possibly an issue with the mods themselves, haven't further checked.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] alfsoft:
Thanks. Is 1/12s the lowest available? That's strange. Do this ROM use standard Sony camera drivers with all their stupid Camera2 restrictions?

Are you sure HDR+ really works? I installed OmniROM 7.1 recently and most of GCam mods really worked. They launched successfully, captured photos and indicated that HDR+ is enabled. But! Shots wer captured instantly without any postprocessing and were absolutely the same as an ordinary non-HDR photos. No difference at all. So I made a conclusion that no actual HDR+ shots were done and got back to stock.

Can you or anyone post HDR+ and non-HDR comparison photos please? That would be really helpful!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
omni 7.1 and 8.1 are completely different.

for 8.1, Sony's stock camera framework is not used. Instead, the one from Sony's open devices project is used.

hdr+ definitely works, tested multiple times and yes it takes some time to postprocess (up to about 15 seconds for super high hdr+)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DJHasis:
Hi!

I've been using 20180121 build for quite some time and now I upgraded to the latest build 20180218.

For some reason I can't get the mobile data to work. It just tries to connect. Catlog doesn't give any error messages.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lessthanjake62:
Mobile data not working in any nigthly update passed 20180122 we need a fix please :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi!

Mobile data here are allways worked. On todays weekly (20180218 ) too. Your APNs settings are ok?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lessthanjake62:
Gonna try 20180218 strange ive tried changing apn settings and two different sim card never get data to working
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mp107:
Is there any way to use applications requiring root (in my case - AFWall+ and some for editing hosts file content) without breaking the rule of not using mods of any sort?

I would like to be able to provide logs to found bugs.

Or is rooting enough mod to make logs being rejected?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lessthanjake62:
Mobile data not working on latest nightly
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
feel free to share what bugs you discovered.

I can then try to replicate here and get clean logs.

Please flash the latest odm image. You seem to be still using an older version.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] nialv7:
I can't mount an exfat formatted sd card. In the log it says:

Apparently a selinux issue, setting selinux to permissive works around this. Missing sepolicy?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
cool, can you please post a full logcat so that the rules can be derived?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] nialv7:
[MENTION=4819888]oshmoun[/MENTION] Can you tell me what should I be looking for? So I can post just the relevant part.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
if it's really selinux denies, then the lines that have "avc:" shall help
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lessthanjake62:
that's a bloody good idea lol know idea there was a newer ODM image thanks very much!!!!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] nialv7:
[MENTION=4819888]oshmoun[/MENTION] This?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
are you able to build omni?

if you are, can you please test with this commit reverted?

https://github.com/omnirom/android_system_vold/commit/baf19158c7ac93928b945622aa89f54718841a3c
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] nialv7:
[MENTION=4819888]oshmoun[/MENTION] I don't have a build environment setup for omni, and it can take a while for me to set that up (poor network connection).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] zzuum:
Since Paranoid is not updating, I want to switch to this. I'm on Paranoid 7 currently. What do I need to do before I flash OmniROM?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] z0mg.jer1Cho:
Read first Post
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] zzuum:
I did, I don't understand what ftf means...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] insanexd:
ftf is the file format of the original firmware.

In order to flash the firmware you need to use the flashtool (can be found here http://www.flashtool.net).

The firmware it self you can find either here in the forum (e.g. https://xdaforums.com/x-compact/how-to/android-8-0-0-oreo-released-xperia-x-t3745129), or googling it or even inside the flashtool there is an option to download.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] XperiaComp:
Hey

Want to thank you all first that you guys have this great thing going here!

I tried to root my 7.1.1 version android but as i'm not familiar with the process I soft-bricked my phone first. Then I managed to install this Oreo build. But i'm not able to run GApps. Google play, google speech, google play services, google maps, google photos just won't start. There are two ways they fail, one: they blink on for one second and I return to menu, second: App stays on checking info loading screen. I have tried pico, micro and stock but GApps just keep crashing.

How to verify that I have latest ftf? What version should it be? Could this create problems that I have?

Other systems seems to work fine, WiFi hasn't dropped yet and mobile data seems to work fine also.

Best Regards!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ariuddaiss:
Great work guys!

Wanna ask you about fingerprint sensor issue: I'm unable to register any finger and was wondering how could I help with solving this? Maybe I can produce some logs or something, to help tackle it?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
no need for logs.

the issue can only be resolved with an updated odm image from Sony, need to wait on that.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi!

I've got another strange thing... My phone restart itself, but i don't known when and why, because it don't do that when i'm using it. I known the restart, because my phone ask the pin code.. and one another thing. For some reason, after that unexepted phone reboot, i can't turn on wifi. After another, now with manual restart, the wifi working again, i could turn it on. Are there somebody else who faced this problem to? ( Next time when i faced thiese, i try to make the logcat. )
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
yes both are known issues

the reboot happens rarely. do you have an sdcard inserted?

about the wifi, yeah the only solution is to reboot the device. this issue is unrelated to the random reboot
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi!

Thanks for the quick reply. I hope the restarts will be solved. About the sd card, I'm using an old, samsung 8GB... But its just class4. I known its a little bit slow, but only my music is on it.