[ZTE Nubia X Guides, News, & Discussion] RomanLeFrais:
I'm happy to hear that :) !

I tried to re-flash and re-reset my phone to make sure it was the openGapps Pico that caused problem by using the Micro one but i couldn't get any GPS signal, only google maps worked. So I plugged my phone to my computer and watched the logcat, I just saw that google maps created some sort of request to GnssLocationProvider and TencentLocationProviderProxy and then saw that when I launched SatStat there were some warning about missing permission (in fact the Phone and the Storage permission was refused by default for this app). So I tried to enable them and relaunch it to see and it worked ! so now all my app that need GPS work. I tried to re-refuse the permission and it still work lol I even played Pokemon Go for 2 minutes before get the unsupported devices message (I'm sure it see magisk installed). I tried your app and I could not make it work, even on a genymotion's Pixel 3 virtual machine where gps test report my accuracy and position (I can only modify the latitude, longitude and accuracy). I opened the logcat and i saw this :

AppOps : do not show dialog !!! application luo.speedometergpspro targetSdkversion below M , and op 1 is dangerous permission .

It look like the developer don't want to fully port his app to Pie, but instead keep it to Marshmallow. I never touched or created an Android app so I may be wrong :confused:

EDIT : No i'm just wrong lol the targetsdk of the app is 28 so it should be good here is my post the next day about the gps in general

Yeah i already converted the stock rom to a Raw image so you don't need to decompress and convert the sparse image etc ;)

What !? you want to remove my beautiful dog ??? lol I forgot I modified that, I changed it in /system/media/theme/bootup. You can modify picture_1.nubia, picture_2.nubia etc don't worry about the .nubia extension they are just png. If you want to modify them open Fx file explorer and click on "System (Root)" and go in system/media/theme/bootup from here you can copy thoses file on your computer and make the changes you want I just worry about the right, ownership and security context (the chcon command that you did with adb to make my pre-installed app working is for this) of the file when you modify them you may need to re-chmod 644, re-chown root:root and chcon u:object_r:system_file:s0 the file after copied and renamed them in /system/media/theme/bootup.

In step it look like this :

Open FX File explorer, do the first time setup etc

Click on "System (Root)"

Go in system/media/theme/bootup

you can open them if you want by clicking on and selecting Image Viewer (You can see how I was aware of odexing an app in fullbg.nubia lol)

Select picture_1.nubia, picture_2.nubia etc and copy them in your download folder for example

Copy the .nubia/.txt to your computer

I don't have windows to test but on Linux you need to change the owner (root) to your in order to modify the file by using

chown $USER picture_1.nubia/picture_1.txt

Note : When saving the picture make sure to have the same name and export the picture in png, I didn't tested if it support anything else that would be cool to display a GIF

Copy them on your phone and select and copy them with FX

Before pasting the .nubia make sure to click on the padlock and tick "I understand the risk." and OK to be able to write in.

Now paste the picture and select "Merge/Overwrite" to replace the original or delete the original and rename the new with the good name

To restore the chmod things etc first see if its necessary, select the .nubia that you overwrited, click on the option button at the top-right and click on the info button (the first one) it should be like this :

Security Context -> u:object_r:system_file:s0
Owner -> root
Group -> root
Octal : 0644

If its not like this you need to

Download Termux on the play store and open it

Wait for it to install and type "su" and grant the permission on the magisk popup to become root

mount -o rw,remount /system

to be able to write in the /system partition (I say partition but its actually a partition in a directory named system)

cd /system/media/theme

to move to the theme directory

chmod -R 644 bootup/

To set the 0644 Octal type in the entire bootup directory (to avoid doing this for every .nubia/.txt file)

chown -R root:root bootup/

To set the root owner and group

chcon -R u:object_r:system_file:s0 bootup/

To change the Security Context

chmod 755 bootup

To restore the original 755 octal of the bootup directory (In fact you could just avoid the -R option in the previous command and chmod/chcon/chown bootup/* where "*" is to select all the file so in this case all the file in bootup/ without changing the bootup directory)

You have now removed my cool dog:(. If you want to change the sound as well its in /system/media/audio/ui and its called bootup.wav it also have the 0644, root:root and the same security context of the pictures.

Its more easy to change it than the picture because you just need to convert any song you want to wav by using a online converter for example and put it in /system/media/audio/ui, change the owner, security and 644 and of course you need to rename it to bootup.wav (make sure if you use FX to replace it to select "System (Root)" instead of "System" and click on the padlock to be able to modify the /system partition)

I never touched the splash.img I think it only contain the Nubia logo displayed at boot because the shutdown animation is in /system/media/theme/shutdown

EDIT : the splash.img don't need to contain anything because when I tried LineageOS I didn't get the nubia logo but the Lineage one