yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Murmel2k:
Hi,

I currently have the problem, that since a couple months now I apparently have a new neighbor that brought his router with him. Apparently this router was previously located in another country, because since that time the Google geolocation places me somewhere in Germany (instead of Austria, where I live) - and this slowly drives me mad because it makes every app relying on geolocation more or less unusable while I am at home. Google Maps support ignored several reports sent via the Google Maps app, Google Enterprise support not gives a **** because they don't care about Google Maps and want a json call which reproduces the issue (and I cannot find the according MAC causing the problem)

Appart from that the internet suggests to get a GPS signal as often and as good as possible to fix such an issue. Unfortunately that doesn't work for the areas in my apartment where I have this problem. Therefore I bought a bluetooth GPS receiver. The idea was to put it outside onto the terrace, while my phone connects to the receiver from inside of the apartment (near the wifi ap). This way - so I thought - I would be able to bombard Google with the f*ink data, that I don't live at this f*ing place in Germany. Turns out, that the bluetooth range was too small for that and that I have to use "mock location" in the dev options to do that, which also seems to make Google make ignore its data.

That is also my problem with the various 'Fake GPS' apps. They use the mock location option and therefore get ignored. So now my question: What is the best way to fake the location, which also cannot be detected by Google? So that I can use that on the inside of my apartment to provide Google with the data needed to finally correct this wrong data. Currently I am trying out this xposed module https://repo.xposed.info/module/com.fakemygps.android Does anyone know about a better way?
[Android Q&A, Help & Troubleshooting] Murmel2k:
So no secret druid knowledge of faking gps present in this forum?
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
Screen shots...
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
Explain more...
[Sony Xperia X Compact Themes, Apps, and Mods] niaboc79:
Provide a logcat while force closing is happening.

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Xperia X Compact Themes, Apps, and Mods] lubik1:
Great job!
[Sony Xperia X Compact Themes, Apps, and Mods] eymentuna:
Super
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
I'll check it out...
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
You're right. Looks like an easy fix by the log. I'll work on it in a little bit... What does long-pressing the home key usually do?
[Sony Xperia X Compact Themes, Apps, and Mods] eymentuna:
What does long-pressing the home key usually do

shows the google search screen
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
try this and let me know. use file manager and replace systemUI，then restart systemUI... （i can｀t test at the moment）
[Sony Xperia X Compact Themes, Apps, and Mods] eymentuna:
(error dropped to 1)

1-When the phone is plugged in, the screen turns black and the system stops UI.
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
not happening for me.

1 - Do you have any other apps or mods that affect power or charging etc, that might be causing a conflict? Or, what power - related settings do you have set, either in Sony settings or eXistenZ? (stamina, etc...)

2 - if not, try to get a log when it happens. You can use Matlog app on the phone if you want.
[Sony Xperia X Compact Themes, Apps, and Mods] eymentuna:
(eXistenZ.)

no error in first post.

just (Light systemUI style)not working.

never mind. I've bothered you about that.
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
OK. But it's working now, right?
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
I was testing your files for Xposed fix, and working on Xc, but I get very laggy phone when deodexing framework. Do you know a possible fix for that?
[Sony Xperia X Compact Themes, Apps, and Mods] eymentuna:
xposed I'm gonna wait for it. thank you
[Sony Xperia X Compact Themes, Apps, and Mods] lubik1:
if you taking about patch v2.5:

services.jar

Open /com/android/server/pm/PackageManagerService.smali

Find

.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature

.locals 8

change to

.locals 1

Good luck!
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
I'll try it out, but the problem is not with your zip, but just with deodexing. I start from clean stock, then deodex and wipe, and the phone is very laggy - too much to be able to use it... If I use your init.d so scripts, it helps, but still some issue...

Maybe something to do with this...

update - solved it by putting /system/framework/arm64 folder back. Not sure if it's a fix or workaround... Is there any issues with that?
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
Basically everything too, but in the end a mistake.

For core thank you, test will be able tomorrow, now need to work.
[Sony Xperia X Compact Themes, Apps, and Mods] Murtie:
I was forgotten flashing the magisk but now when flashing magisk i get error 1 . :(
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
You need rootkernel modified boot.img to do anything. Stock Sony security prevents any modification...

1) flash fw 118

2) flash rootkernel boot.img

3) install Magisk in recovery
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
Sorry, the picture is so small that I can't see anything it says, and zooming just makes it blurry. Are you using Windows? Use print screen and then paste to Paint app, and save it...
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
I apologize that I watched, made a picture using Irfanview, perhaps not correctly made.

With the kernel without DRM CE118 is loaded, set up, rebooted to recovery, flashed eXisten, flashed the kernel and got the constant reboot.

https://mega.nz/#!2vIElICY!UmYOM8wq4byY-ZaEsACltiIijj8dP5W8psDOQuvPr3s
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
- You need to have Magisk installed to the kernel and make a backup of it.

- you need to flash the kernel again after flashing eXistenZ, before booting the phone

So, do the same thing, and after CE5 boots, go to recovery, install Magisk, and then make a TWRP backup, making sure that at least "boot" is checked. Then, after you flash eXistenZ, before booting the phone, go to twrp restore and select the backup you made, but only restore "boot". Make sure all other boxes are not checked. Then it will boot to new rom..
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
As for your error, I think either :

- You don't have root (run terminal as administrator) or

- Your screen shot doesn't show which command you typed. Did you type 'rootkernel kernel.elf boot.img', and your file is called kernel.elf?
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
Here is the contents of the folder

All the question is removed, the wrong command was introduced. Core generated, I will try next.
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
Anybody else experiencing Settings crash when trying to view sim status? I just realized it was happening, and looked into it, and found a missing resource exception, (bool - allow_all_rotation). I fixed it on mine, but can't really share, because my Settings app is heavily modified. I can post instructions if anyone wants, or apply the fix to unmodified Settings app, if you can't do it yourself...

[MENTION=599722]niaboc79[/MENTION] (or anyone) - curious... Settings/smali/.../sim_status.smali referenced a public id for a bool, (allow_all_rotations), but the bool was not there. How could that be, since public xml is created based on the bool entries, (right?)? Also, I've decompiled, modified, and recompiled that apk so many times without any error....
[Sony Xperia X Compact Themes, Apps, and Mods] niaboc79:
You're right id are generated with public.xml, the missing id should come from a smali modification.

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
That's why I was confused. I haven't modified any smali in Settings, and I haven't touched bools since original port... Maybe some kind of cache glitch with file manager, (I've done most of the mods on the phone)... Seems like the bool entry just magically disappeared.
[Sony Xperia X Compact Themes, Apps, and Mods] niaboc79:
Try to compare with an unmodded apk.

Envoyé de mon H8266 en utilisant Tapatalk
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
Maybe, if I have any other issues. For now, I just added back the bool and recompiled and everything OK... Thanks.
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
Hello dears! Managed pays to download eXsten, but I installed it not on CE118 and 118 deodex zip - https://mega.nz/#!dkdGnK7b!VMgKwV4XI ... ZlIM67XLe74flg from here, the kernel took without DRM Fix as with DRM the firmware is not loaded. Now the actual question about "Ambient Display", it actually installed works, but something's not quite right. For example, I took the device, turned on the display, put the device, the display continues to burn and still pressed the icons of the clock on the screen, unlock it with a swipe, it does not work and in order to pull it to have to press the power button. Can this be due to the fact that installed on 118 Deodex or what else should be where to turn on or off? And in General, the firmware is very good, thank you for your work.

https://mega.nz/#!CyJF2SSL!LNkBKUroXxVDceXpJF-ptvJkr0SD6vgkp3thyuQtfc8
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
I see what you mean in your video. I'm not familiar with those functions, so I can't say for sure if it's a feature or bug... I think what you're talking about is "lift to check device" option. Ambient settings refer to notifications. With Ambient activated, when you pick up the phone, the notifications flash. With "lift to check device", the info line in Settings says that the screen will turn on when you pick up the device, but I don't know if it's supposed to be able to be unlocked or not. Maybe someone else here knows?

I'll test some, and check the logs for errors, but at this point, I'm not sure if anything is wrong with it.
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
So it seems that this is the normal function for Ambient feature. Some have tried to make it be able to unlock when waking using Tasker app:

https://www.reddit.com/r/tasker/comments/9kk7co/ambient_display_to_unlock_screen/

https://www.reddit.com/r/GooglePixel/comments/6sdrl3/guide_show_the_lock_screen_instead_of_ambient/

Try that out if you want
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
Reflashing will help, e if Yes then how to flash?
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
See my answer above - there is nothing wrong with it. That's the way it's supposed to work. You can use the Tasker app to solve your problem if you want.
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
I don't think it should be. When I picked up the machine, the screen should turn on for a few seconds and then turn off. And the screen is lit after turning on and off and even themselves pressed icons hours or are spontaneous attempts to unlock, as if someone is trying to hold bottom with your finger. That is, under the influence of the program Ambient display lock screen behaves incorrectly. I used to have an Xperia SL lt26ii with custom AOSP 7 firmware... so it worked and still works as it should.

If you want I can make a video with Xperia SL lt26ii with custom AOSP 7...

I still took the video to make it clear the difference, I must say that the device is old and the touchscreen is damaged, so it does not always respond to touch.

https://mega.nz/#!enY1zYaK!3mahqs-UWFntw9QHJZPBvQo3-9ac2fipDeP22KzqTCk
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
I see. Mine is acting normally... See gif attached
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
What could be the problem? Xposed, Magick or something? Can still reinstall the firmware?
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
If you want a clean test, it's always best to disable Xposed, and other system mods, but it's kind of hard to do with eXistenZ, since the whole rom is pretty modified. I wonder if it's more of a conflict between Ambient and double-tap to wake. Both of those, combined with Sony "pick up device to check" feature, plus eXistenZ, Xposed, etc... Probably hard to nail down...
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
I'll try to find out by changing the settings.
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
It would be interesting to see if it acted the same with fingerprint support activated...
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
If you reinstall eXisten need to do wipe system, cache and Dalvik cache? Maybe it is still some sort of error when installing firmware. Since the firmware 118 deodex it does not have a scanner, it can not check.
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
CE118 has fingerprint support. You might be able to get away with wiping data in recovery, then flash CE1_118_deodex, then reboot then flash eXistenZ. Not sure if it will work, though...
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
Thanks for the advice, I'm not worried about the data, just the process of firmware is very complicated. I'll try CE118 tomorrow.
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
I went ahead and tried it and it worked. But I had issues bc I had MicroG installed, and deodex zip doesn't overwrite everything. I think if you have stock Google files it should work fine...
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
Testing now with fingerprint and works well. You can unlock with fingerprint straight from ambient screen...
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
I can confirm that it works. And my problems about which I wrote yesterday are caused by inclusion of function awakening of the screen by a double tap, disconnected it today, like Ambient display earned as it is necessary. Although it is possible as it was this conflict to be addressed. While I will continue testing and if anything is found, then write about it.
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
Hello again! Application smart charger 1.2.5.A. 5.9 why it gives an error and displays as #80ffff what would it mean?
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
https://xdaforums.com/showpost.php?p=79058748&postcount=149
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
BTW - after I replaced the apk, and opened the battery care app, then I replaced it again with the newer version and now it works. Version 1.2.8.A.7.8 attached.

Also, you might be interested in this - https://repo.xposed.info/module/com.gzplanet.xposed.batterycare
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
I realized what the problem is, thanks for the hint, apparently I deleted this application when I was cleaning the system.

I tried to install your file, it is not installed, toga I copied it to priv app put him right 0644 and replaced the file in the SmartCharger folder, everything worked even without rebooting. Thanks again for the firmware.
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
Well, I offered, and to do or not, but it would not be bad.
[Sony Xperia X Compact Themes, Apps, and Mods] andry360:
Still bootloop

Hi, like I learned in my life (and I'm not the only one for sure) if something can go wrong in the modding world, it happen to me.

So, I had this exactly same problem and I made a custom boot.img like described here: https://xdaforums.com/showpost.php?p=74724162&postcount=2793 (I'l paste the part directly here):

Rootkernel's procedure for Oreo kernel ONLY:

1. Download and extract attached Rootkernel V5.23 (UNOFFICIAL 2.5)

2. Download attached flashable zip (DRM-fix_System_Mode.zip) and push it somewhere in your device (internal memory or sdcard)

3. Run rootkernel script with Oreo stock kernel.elf (eg.: rootkernel kernel.elf boot.img)

4. Say yes (Y) to everything - If you want munjeni's TA PoC option, ensure your TA.img (case sensitive) is located at rootkernel's root folder, and say no (N) to DRM fix

5. You're done!

So, from the start:

1 - I downloaded and created the CE1 .118 firmware and flashed with flashtool 9.25.0 flawlessy(I wiped everything, ssd, data, ecc)

2- Installer TWRP 3.3.0 so that I can flash the deodex zip

3- I fastbooted the boot.img (not that I think it matters, but I called it boot1.img) via fastboot after flashing via TWRP the CE1_118_deodex zip

4- Without any wipe I rebooted and got stuck on Sony logo.

What I did wrong? I also tried and used an already done custom boot.img from this thread: https://xdaforums.com/x-compact/how-to/stock-8-0-root-recovery-t3747479

edit-I just tried to follow this guide flashing my boot1.img ang twrp 3.3.0 and I can access as always twrp, but got bootloop. I tried the boot.img already modified and bootlooped the same. Now I'm instaling stock without anything...

I used another deodex file from here that I think is the exact same file: https://xdaforums.com/x-compact/themes/xposed-fix-118-t3870673

but nothing solved. In this page it suggest to do a wipe, so I tryed without success.

Thanks guys, I really would love to use eXistenZ.
[Sony Xperia X Compact Themes, Apps, and Mods] Kianush:
Hey, As I mentioned in the last sentence of my post, you need to flash boot.img again after flashing deodex
[Sony Xperia X Compact Themes, Apps, and Mods] andry360:
Finally flashed it

HI kianush, I did it, I fastbooted it before booting the phone. I also tryed to flash it in TWRP if I remember correctly.

However, mister13x helped me referring a post made by him in a russian forum. I translated it and made this guide:

prerequisites: https://docviewer.yandex.ru/view/0/?*=LBPbxwJiu7vN5OouaI0wZgV59cx7InVybCI6InlhLWRpc2stcHVibGljOi8vOVNJOU4wcmw2MFZqWlcxQklBQ0JCVGoxeUdsaHRHbWNsQ3BpeXQ4Uy9UZ21WTE10bVRKbE1QbktNcXZvZXVxV3EvSjZicG1SeU9Kb25UM1ZvWG5EYWc9PSIsInRpdGxlIjoiZXh6X3YzLjJfWGMucmFyIiwidWlkIjoiMCIsInl1IjoiMzk1ODgwOTExNTU3MDY1NDkyIiwibm9pZnJhbWUiOmZhbHNlLCJ0cyI6MTU1NzI1MDEzODk1NX0%3D

I just used the boot.img and downloaded the others from this thread.

1- I started from stock .118

2- Flashed TWRP 3.3.0 from fastboot

3- Enter it (paying attention to never let the system boot) wiped Dalvik-Cache-System-Data

4- Installed CE118 and deleted cache

5- Fleshed the boot.img from TWRP, started the device and reached main screen (the system will be always slow and phone hot)

6- Installed Magisk manager and when opened makisk will prompt to flash the magisk zip request automatically. I chosed the boot.img downloaded from mister-13x without drm. The now boot image will be put in download folder

7- I rebooted into TWRP and I flashed the boot image created. Booted into the system, I checked that everyting was installed fine in the Magisk Manager.

8- I rebooted into TWRP and made a backup of the boot partition (you can backup all the system to be sure)

9- Flashed the eXistenZ zip and followed instruction prompted (first pressing volume up to check phisical button, then volume down to set permissive)

10- Backupped boot partition from point 8

11- Everything worked.

I don't have the DRM, I couldn't check if it was my boot.img with personal drm that doesn't worked.
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
Hello! Question to levone1, I tried Omni, I flashed OEM v9, I did not like it, I recovered from the backup, everything works, this can be, after all, I asked the OEM?
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
Not too clear what you're asking... Are you saying that you're surprised that your backup is working, because you flashed an oem img? I don't know a lot about it, but I think your oem files were probably restored from the backup....
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
The fact of the matter is that when copying files to TWRP, an OEM copy was not made, it simply was not on the menu.

I apologize for the machine translation.
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
So 'oem' was not a backed up partition, right? Anyway, if it works, it works... I can't imagine any harm coming from it. Unless there's files in your stock oem that are missing from the flashed one...
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
You could always use Flashtool and exclude everything except oem, if you want...
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
I'm just surprised that everything works and OEM does not interfere with this.

---------- Post added at 04:28 PM ---------- Previous post was at 03:55 PM ----------

levone1 and how did you make a kernel with DRM keys like this can only be done on the seventh version of the firmware?
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
If you have a ta backup, you can make it with rootkernel, but not for Pie, only Oreo...
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
so I want to Oreo but for some reason does not work.
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
- download rootkernel - https://xdaforums.com/attachment.php?attachmentid=4415350&d=1518273725 (instructions here - https://xdaforums.com/showpost.php?p=74724162&postcount=2793 [find the part that says "Rootkernel's procedure for Oreo kernel ONLY:"])

- You will need stock kernel in elf format found here - https://xdaforums.com/showpost.php?p=75513542&postcount=1 (make sure to match firmware number, or make your own elf with Flashtool), and a copy of your ta img, named "TA.img".

- During rootkernel procedure, answer 'yes' to munjeni poc question. That will give you a boot img with your ta partition (drm) included, which you can flash with fastboot.
[Sony Xperia X Compact Themes, Apps, and Mods] mister-13x:
Thank you very much, it turned out to be done with DRM and TA.
[Sony Xperia X Compact Themes, Apps, and Mods] fairyfeller:
Hi guys! Did anyone had luck with installing EdXposed on this ROM ? I tried it with latest 19.3 or 19.4 Magisk, Riru, and Alpha or Canary EdXposed builds in different combinations - but always get bootloop on Xperia logo.

Any solution ?
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
No need for edXposed - there's official Xposed for O...

apk - https://xdaforums.com/attachment.php?attachmentid=4393082&d=1516301692

framework zip - https://dl-xda.xposed.info/framework/
[Sony Xperia X Compact Themes, Apps, and Mods] fairyfeller:
You won't be able to use Google Pay on Xposed... That's main reason to use EdXposed, which seems to be fine to both Gpay and Xposed modules.
[Sony Xperia X Compact Themes, Apps, and Mods] levone1:
Might work with Hidden Core Module, or similar... I've never tried.
[Sony Xperia X Compact Themes, Apps, and Mods] fairyfeller:
Unfortunately it does nothing with Google Pay... It's for some ridesharing apps...

So the only way - to use EdXposed, which can work with Magisk and GPay... but we have bootloop on ExistenZ..
[Sony Xperia X Compact Themes, Apps, and Mods] skkayman:
After all the bootloops, I tried this guide and after I flash boot.img patched by magisk manager, the phone is stuck at SONY logo. That is new but still, cannot use it :/. Seems that I have to be stuck at standard stock..
[Sony Xperia X Compact Themes, Apps, and Mods] skkayman:
I see what I did wrong - I did forget to flash drm fix when my boot.img is used. But after flashing eXistenZ zip, got bootloop.. :)
[Sony Xperia X Compact Themes, Apps, and Mods] andry360:
I had this problem with the boot.img with personal DRM that I incorrectly made.

I recently made a new personal boot.img that worked flawlessy. Did you tried that?
[Sony Xperia X Compact Themes, Apps, and Mods] skkayman:
I created boot.img with this instructions here - https://xdaforums.com/showpost.php?p=74724162&postcount=2793

Is there any better way?