yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Android Development] hirael:
Are you able to give specific instructions on how you want mat log set up and recording? This website suggested you needed the AVC info

https://source.android.com/security/selinux/validate

Thank you.
[Xperia Z3 Android Development] Marcus_Z3:
WLAN MAC Adress

Hi Guys,

at first thanks for your great work!

I use the actual Rom from 02.02 and after every restart I got a new WIFI MAC Adress.

Everyone else with this Problem?

Marcus
[Xperia Z3 Android Development] TjNiko:
YEYE thats true, i just wanted to emtnion ya that these messages have nothing todo with bugs. :smile:
[Xperia Z3 Android Development] cmonty14:
Confirm.
[Xperia Z3 Android Development] cmonty14:
I have already modified the setting in TB, but this is not helpful.

Instead, I now switched to more conservative setting: Interactive (classic Android installer).

And now I get an additional error message saying:

"There's an issue when parsing the package."

Don't tell me the apk is corrupt.

First how big is the probability that out of 100 apks all get corrupt?

Second, I have copied several TB files to another device, et voila the restore worked like charm.
[Xperia Z3 Android Development] cmonty14:
[Solved] Cannot install apk from storage

Hi,

I cannot install any apk from local storage in this image.

There's always a parsing error.

The apk has not been modified since the upgrade to 20180202 and worked before w/o issues.

This issue is related to my other issue regarding Titanium Backup reported here.

TB wants to install a apk, too.

I consider this as a severe bug!
[Xperia Z3 Android Development] TjNiko:
seems u have some corruption there since i can install apps from local starage just fine getting a message about risks of unknown apps then getting a dialaog where u press next or head to security settings to allow them.

donno whats wrong on ur rom.

clean reinstall the rom if possible.
[Xperia Z3 Android Development] cmonty14:
Titanium Backup: Failure when restoring apps

Update:

I accidently found this setting when trying to install an app with FDroid.

Install unknown apps

Trust this source

Details in attached screenshot.

I cannot set a comparable permission to TB, however I assume that this security setting is somehow preventing TB to install apk.

In previous versions of OmniROM there was no application specific setting for installation apps from unknown sources.

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

I have created another catlog when I try to restore app "DiskInfo 4.9.9 (build 8)".

The relevant error message in the log is:

02-07 19:10:02.109 5769 8131 I o.eb : DiskInfo 4.9.9 (build 8) => Status = Not running
02-07 19:10:02.173 17245 17245 I Binder:634_D: type=1400 audit(0.0:720): avc: denied { call } for scontext=u:r:system_server:s0 tcontext=u:r:init:s0 tclass=binder permissive=1
02-07 19:10:02.173 324 324 I power@1.0-servi: type=1400 audit(0.0:721): avc: denied { write } for name="mpctl" dev="mmcblk0p25" ino=14871 scontext=u:r:init:s0 tcontext=u:object_r:mpctl_data_file:s0 tclass=sock_file permissive=1
02-07 19:10:02.174 5769 5769 I o.dv : Releasing WakeLock.
02-07 19:10:02.175 5769 5769 I o.dv : Releasing WakeLock.
02-07 19:10:02.177 5769 5769 I com.keramidas.TitaniumBackup.MainActivity: List refreshed
02-07 19:10:02.183 5769 5769 I o.dv : onDestroy()
02-07 19:10:02.193 5769 5799 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
02-07 19:10:02.198 5769 5799 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
02-07 19:10:04.077 1023 1023 D StatusBar: disable<e i a s b h r c s q >
02-07 19:10:04.080 1023 1023 D StatusBar: disable<e i a s b h r c s q >
02-07 19:10:04.104 1023 1855 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
02-07 19:10:04.106 1023 1855 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.

Full log attached here.
[Xperia Z3 Android Development] Br4no:
Hello [MENTION=6979267]nailyk[/MENTION],

Here is my dmesg after days of usage.

Thank you very much for perfect rom.

Best,
[Xperia Z3 Android Development] Tux111:
What i have to record on matlog to have this? a specific moment?
[Xperia Z3 Android Development] cmonty14:
Hi,

I think I've identified the root cause why TB is not restoring any app.

This is because TB has not the permission to "Install unknown apps".

And there's no way to enable this setting for TB after installation from PlayStore.

How did I validate this? Fairly simple by installing another app from local storage: Aptoide.

I have documented this with a series of screenshots to document the process.

After installation, the app settings show in section "Advanced" only the option "Modify system settings"

When launching Aptoide and trying to install any app, I get a popup saying "For your security, your phone is not allowed to install unknown apps from this source. <Cancel> <Settings>

Clicking on settings opens another windows "Install unknown apps" where I can enable "Allow from this source"

After this is enabled the application settings are changed, means in section "Advanced" there are 2 options now: "Modify system settings" + "Install unknown apps"

Obviously the security permission "Install unknown apps" is not a generic setting anymore but application specific.

This means, even a file manager or browser can have this setting enabled (and for file manager it must be enabled to install apk-packages from local storage).

This feature makes sense to me, however there's a bug if a backup/restore app like TB is not allowed to install unknown apps or the setting cannot be changed manually.

I think this bug must be addressed to the developers immediatelly.

THX
[Xperia Z3 Android Development] Br4no:
Hello guys,

I have just noticed probably a little bug. Settings search does not work. The search result is always empty. Is this a known thing???
[Xperia Z3 Android Development] santeria27:
I dont know the matlog zip! I thought you needed!?

xperia Z3- D6603 (Leo)
[Xperia Z3 Android Development] Tux111:
Amazing, should try. Does this ROM support picture-in-picture with no problems?
[Xperia Z3 Android Development] santeria27:
My new setup! Thx nailyk i love this ****!

xperia Z3- D6603 (Leo)
[Xperia Z3 Android Development] Antony.Chuot:
Hi,

i'm try to install this rom many times, but still get error - no sim card. Baseband version is empty, can't make a call. I also can't play music, sound....etc

When i try to comeback with OmniROM [Unofficial] [7.1.2], sim card is detect but still can't make a call, play music... but if i flash LineageOS 14.1 by xkeita, every things working well.

Before i use LineageOS 14.1 by xkeita but my battery is not good enough for me, so i come to OmniROM [Unofficial] [7.1.2], it's stable rom and working well before i try this rom. I see that nobody report about the sim card and sound problem on this thread, may be only me.

p/s i also can't see matlog location file :(

--- update

after i go back to stock .291 and flash this rom again it working well.

Thank you for the rom :)
[Xperia Z3 Android Development] Br4no:
Hello All,

after few days of usage I have to say that the rom works perfectly even if it is alfa. Great job and the biggest thanks for bringing O to our z3.

I would like to report a minor bug which I have found so far if you devs don't know about it:

- camera app does not reflect the picture format setting. I mean it doesn't matter if 4:3 or 16:9 format is selected. Picture is always taken as 4:3 and 20 megapixels.

Edit: its about native camera app, e.g. open camera works well.

Thank you!
[Xperia Z3 Android Development] nailyk:
Just tried with both and both change size fine.

Btw I tried the trick for video encoding without success. The codec is still missing.
[Xperia Z3 Android Development] Br4no:
Thats strange it is working for you.

I demonstrated what I have done via photos.

See that I have set the pictures to be 15.5 megapixels 16:9. Then made the picture and the result photo is 4:3. You can see that the book in the picture is cropped.
[Xperia Z3 Android Development] nailyk:
Yes most of the apps do not provide preview at same setting as 'record'.

AFAICT only OpenCamera does.

BTW looks like you have the same problem than I have now. Your pictures are 1:1.

Here 2952*2952 = 8.7Mpx while setting was 15.5Mpx

This is not a blob bug as OpenCamera is working (phew!!). Probably something on google camera.

If someone is aware about java, feel free to contact me :)

------

Actually all your report looks really good. Some issues remain like video recording, but everything else looks fine.

Like it was already said, our trees need a lot of cleaning, lot of kernel changes, but all of this will be transparent for end users.

Some minor changes like FM app and sms app are already merged. Please continue your useful reports, always better with logs ;) (Hope will be able to write the log section soon).
[Xperia Z3 Android Development] Posthumus:
Dolby Atmos support?
[Xperia Z3 Android Development] youssef mohamed:
Please fix Tap to wake
[Xperia Z3 Android Development] devil188:
Double Tap to wake should be working in the latest build... if not, help us by making a logcat. We can't fix it otherwise.
[Xperia Z3 Android Development] TjNiko:
can someone list me CPU and IO shedulars/govs? and maybe if there are advanced settings for GPU? couse it seems nowadays there is paid very less attention to that things, best kernel i had was from shadowelite on 6.0 after that the kernels i saw were real basic.
[Xperia Z3 Android Development] youssef mohamed:
How make logcat?
[Xperia Z3 Android Development] devil188:
http://lmgtfy.com/?q=how+to+logcat

...
[Xperia Z3 Android Development] youssef mohamed:
Check this !

For Tab to wake bug
[Xperia Z3 Android Development] Br4no:
HEllo Devil,

tap2wake logs here :)

Thanks!
[Xperia Z3 Android Development] nailyk:
2017-11-01 release

Minor fixes:

Restore D2TW from 26502 & 26504

Attempt to fix AP with 26524

Enable Messaging app (26526) & FM app (26527)

And a surprise coming.

Link will be added to OP in a few.
[Xperia Z3 Android Development] Franco_Sposato:
BT work?

Inviato dal mio Xperia Z3 utilizzando Tapatalk
[Xperia Z3 Android Development] TheXorg:
Can you add a Glove Mode toggle in the settings? It's possible to do it manually by changing a value in /sys
[Xperia Z3 Android Development] youssef mohamed:
Good Update

Hotspot , Tap to wake and NFC FiXED!

But Video recording still crushed

Thanks ..
[Xperia Z3 Android Development] Franco_Sposato:
you can tell me which camera works? Thx

Inviato dal mio D6603 utilizzando Tapatalk
[Xperia Z3 Android Development] Dobsgw:
Tb works on my mi 6 with 8.1.

No option to allow from source but still restores.

Double check the directories its using in settings of tb.

Android has a security feature to not allow apps to use the folders created by other apps.

If you made backups then folders were created by tb and then if you switched ROMs android might see the old folder as belonging to another app and blocks access.

You'll see this if you try and make a backup and it won't allow it.

Solution is rename your backups folder on internal and then reinstall TB.

It will create a new folder and then you can copy the files back into the new folder and it should work.

I had this recently so give it a go it doesn't take long.

Tb has root so shouldn't need the option to allow installs.
[Xperia Z3 Android Development] :
Works fine here. Some times you have to press the search icon on the keyboard.
[Xperia Z3 Android Development] cmonty14:
This solution is not working for me with Xperia Z3 (D6603).

I performed these steps:

Delete folder /storage/emulated/0/TitaniumBackup

Uninstall TB

Reinstall TB from PlayStore

Move all existing backups from sdcard to /storage/emulated/0/TitaniumBackup

Reboot the device

Start restore with TB from /storage/emulated/0/TitaniumBackup

The issue is exactly the same as before.

What confirms your theory though is the fact that I can restore any app that I didn't backup in previous image but with OmniROM 8.1.

This means the app TB with it's main function backup/restore is working but only for newly created backups.
[Xperia Z3 Android Development] Dobsgw:
I'd say if its now working those backups might be corrupted.

They definitely shouldn't be but it does happen unfortunately.

I really don't use TB anymore its massively unreliable on Oreo
[Xperia Z3 Android Development] cmonty14:
The backups are certainly not corrupted?

Why?

Because I simply moved a set of files to another device and restored it there w/o issues.
[Xperia Z3 Android Development] cmonty14:
Update:

Issue with TB is fixed.

The solution is to install all apps from app store (Google PlayStore or any other) before starting restore.

This is documented on TB knowledgebase, too.
[Xperia Z3 Android Development] Franco_Sposato:
Photo camera stock black...

Inviato dal mio F5321 utilizzando Tapatalk
[Xperia Z3 Android Development] shamsul007:
Titanium Backup worked for me. Using latest version. Though I only restored two apps and haven't backed up any. Apps were located on my sdcard other than that I didn't make any changes to the settings.

How's everyone's GPS working? Mine works but it's sometimes a bit inaccurate and location history is a bit off (for example it says I've been walking 12 hours)

https://play.google.com/store/apps/details?id=com.eclipsim.gpsstatus2

Can someone download this app and see if it can find location?
[Xperia Z3 Android Development] nailyk:
Fix for mac address randomness.

Flash it into recovery as a normal update.

New build coming soon with more fixes.
[Xperia Z3 Android Development] cmonty14:
Error after installing fix: crashlytics

Hi,

the patch installation was successfull.

However, another error was raised (see attachment).

I need to test if this patch is working.
[Xperia Z3 Android Development] Marcus_Z3:
Hi,

i've installed the patch without any errors. Now the Mac adress is fixed.

Thanks for the fast response.

Marcus
[Xperia Z3 Android Development] TrevorAshley:
Hi, where can i find like the mixer path file in this rom?
[Xperia Z3 Android Development] :
[MENTION=6979267]nailyk[/MENTION] I hate to repost my problem and i don't wanna be rude but I just need to understand what is this problem, is it software related or hardware ?
[Xperia Z3 Android Development] Hunteron:
Hi!

And if you hold down the control button, the effect disappears? (nuuu, for example, the button "HOME")

If the problem disappears in the implementation of the action, most likely tedious replace touchscreen!
[Xperia Z3 Android Development] Tux111:
It's not an hardware problem, i have the same problem on images, probably some problems with GPU driver or something like this.
[Xperia Z3 Android Development] Hunteron:
You can try stock firmware, NUU or for example with elitekernel! then we will cut off the problem and the solution will be easier to find!

If the problem occurs only after you install this firmware if nagawa in the top (in the region of the label SONY)

Something like this... It is the Google translator(
[Xperia Z3 Android Development] TjNiko:
seems to be a softwarebug. take logs post and it might get fixed soon.
[Xperia Z3 Android Development] Tux111:
The problem occurs only installing this firmware.

Nothing really annoying, but you know, text on images scrolling, seems weird.
[Xperia Z3 Android Development] Hunteron:
If the problem does not go away by changing DPI -> I'm given, I'm sorry! I don't have that problem!
[Xperia Z3 Android Development] Tux111:
That's what we're talking about
[Xperia Z3 Android Development] kakobr:
Please, could you fix or tell how to solve the problem of charging during heavy usage? The device stops charging after a time and only recharges by reconnecting the cable. Appears to be caused by the temperature of the device.
[Xperia Z3 Android Development] nailyk:
Yes it is battery protection against overheat. The datasheet of our battery mention a really low charging temperature while in use. As our devices are old now, I preferred shutdown charging instead of providing note 7 upgrade ;)

As my crystal ball is broken, until I get step to reproduce or logs there is nothing to do.

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

Thanks all for logs sent by PM. Hope being able to fix some denials in the week-end then switch to enforcing for the next release.
[Xperia Z3 Android Development] kakobr:
Thx for reply.

Any way to change the maximum temperature during charging (or deactivate it)? I understand the risks of battery damage and I check and control the temperature myself.
[Xperia Z3 Android Development] Tux111:
It happens on quite every gallery apps. Just open the gallery and swipe down and you'll notice many lines on photos.

The log attached reproduce this steps:

1 opening Google Photo (with some artifacts/lines on first images)

2 swipe down

3 opening an image with these lines (and those disappears in some secs)

Hope can be usefull.
[Xperia Z3 Android Development] nailyk:
No many gallery related errors in the log. Some denials on opengl for google photo.

Are you able to reproduce with the "stock" gallery? Never gets this here without gapps.

02-10 13:37:05.908 I/com.google.android.apps.photos(9895): type=1400 audit(0.0:1524): avc: denied { read } for comm=474C54687265616420383932 name="u:object_r:opengles_prop:s0" dev="tmpfs" ino=6814 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:opengles_prop:s0 tclass=file permissive=1
02-10 13:37:08.152 W/Adreno-EGL(1511): <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
02-10 13:37:08.157 D/vndksupport(1511): Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
02-10 13:37:08.175 E/BufferItemConsumer(1511): [unnamed-1511-67] Failed to release buffer: Unknown error -1 (1)
[Xperia Z3 Android Development] Tux111:
You're right, only on Google Photos. Remembered affected gallerys too but it's only there and some other apps.
[Xperia Z3 Android Development] nailyk:
Great. Please provide partial log of a non google app.

(for matlog: If you use matlog to dump logs, you have a clear button into. Hit clear, reproduce glitch in your app, go back to matlog, dump then send. )

Thanks.

Edit: partial log need to have the gallery app launch. Best way for this is to reboot before taking log. Force close the app could be a way too.

Edit2: Someone reported Settings crash while editing custom notifications for application. Was able to reproduce today, so opened a JIRA issue.
[Xperia Z3 Android Development] :
Deleted
[Xperia Z3 Android Development] :
ل

No the problem remIans with holding the home button or any button .

This is worse than I have.

Steps to produce:

1- forced stop gallery app

2-cleared matlog

3-opened gallery >opened an image

4- the problem happened

5-saved the log

Edit:

The problem happens with facebook , youtube and alot of apps but very rare in vids.
[Xperia Z3 Android Development] Azhar_Fahry:
any changelog for the latest build ? thx
[Xperia Z3 Android Development] akshay2shah:
WIFI display(Miracast)

hello [MENTION=6979267]nailyk[/MENTION] - as per my request dated 05-02-2018 post #531 & PM 05-02-2018 regarding WIFI display(Miracast) obviously didn't get your attention.

You need to make change in init.qcom.rc as per this commit to get WIFI display(Miracast) working.

https://github.com/LineageOS/androi...17b9031#diff-7757ae3d5fee7079ec3e1c9d061f4d29

we did same changes & Wifi display(miracst working)
[Xperia Z3 Android Development] noud02:
For some reason my SIM card still isn't being found on the latest build (02-02) on my D6603, I tried reinserting it and a reboot didnt help either.
[Xperia Z3 Android Development] nailyk:
I can't test because it require some proprietary crap who is really expensive. I will see to include your patch, but it will be better if you can push it on your own. There is a guide about using gerrit: https://xdaforums.com/general/xda-university/guide-using-gerrit-code-review-t3720802 . Thanks for the fix.

I need the installation log and a link to a known working stock rom for your device. (reinstall the rom, then grab recovery.log. Instructions should be in #3. If not, fells free to ask for instructions. )
[Xperia Z3 Android Development] noud02:
I'll reinstall the rom and grab the recovery log, what do you mean with working stock rom though?
[Xperia Z3 Android Development] nailyk:
Some working stock rom for your device. As an example, on mine slim was working (https://xdaforums.com/z3/development/rom-slimm-t3359907). I need a link to some working stock rom to dump modem blobs.
[Xperia Z3 Android Development] akshay2shah:
nice guide.. will look forward to use it. thanks though.

BTW u dont need proprietary crap to test. its just Screen mirroring. all u need is TV with miracast enabled.
[Xperia Z3 Android Development] noud02:
[MENTION=6979267]nailyk[/MENTION] got the log, now I just need to find a stock rom that works.

gist.github.com/anonymous/d699dc25c1476ba05fef5a04e2968161
[Xperia Z3 Android Development] nailyk:
Please send me a TA dump by private message. (TA* files from a twrp backup is good enough)
[Xperia Z3 Android Development] noud02:
Which partitions do I need to select for the backup in TWRP?

EDIT: Figured it out.
[Xperia Z3 Android Development] Dobsgw:
There should be a partition called TA in the selection menu of twrp backup.

If not then we will find another way to get it :)
[Xperia Z3 Android Development] :
Regarding the previously mentioned problem , here is a video for what happens exactly. (just for some clarification)
[Xperia Z3 Android Development] nailyk:
Ok got your log.

One bad news, one good....

The bad one: your TA partition do not contain the string we look for at install time.... Also your TA partition looks not really good. I highly recommend you to re-flash stock (re-locking is not needed) with **emma** (not flashtool) to ensure everything is clean on your device.

The good one: I made a typo on the variant detection script. It should fix your modem issue on the next release. If it doesn't we gonna try to find some workaround specific to your device.
[Xperia Z3 Android Development] shamsul007:
Yay an update, what's the changelog?
[Xperia Z3 Android Development] noud02:
[MENTION=6979267]nailyk[/MENTION] I flashed my phone back to stock, .0.575 though because .1.291 wasn't in the list on emma. Now, when I try to update from the device itself it will say there aren't any updates even though I'm sure I'm not on latest .291. Any idea why this happens?

EDIT: Forgot unlocking bootloader blocks OTA updates, had to relock and now it's updating fine. :good:
[Xperia Z3 Android Development] jmpcarceles:
Hi guys,

I set pin locking by mistake on my phone and now i can't enter, i don't make backup and i don't want to loose my data reflashing rom.

I read on this post one way to solve it is to remove lock data files:

https://xdaforums.com/showpost.php?p=75381405&postcount=455

I searched on Xda to know wich files i need to remove, but i can't locate them via twrp/filemanager.

I need your help, please.

Thx in advance.
[Xperia Z3 Android Development] saedkebbeh:
You need to mount system
[Xperia Z3 Android Development] jmpcarceles:
I have already system mounted, i go into /data/system but i only locate locksettings.db, i can't locate any file *.key.

Wich files i need to remove?

EDIT: Solved. I tried to delete locksettings.db and voilá, i can Access my phone again.
[Xperia Z3 Android Development] SyncMaster:
Deleted.
[Xperia Z3 Android Development] TjNiko:
Quick question. Had anyone problems in update to lazest build? For me for the first time went fine even magisk and sabstratum. Bad just to rebuild sustratum Themen and everything was fine. For the ones getting rapid disconects in wifi during usage that is caused couse ipv6 is bugged. Solution is to deactivate ipv6 u can do that easy using HEBF.
[Xperia Z3 Android Development] Tux111:
Changelog for latest build?
[Xperia Z3 Android Development] Dobsgw:
Is play store change log format okay?

Change log:

Various improvements.

Bug fixes.