View Single Post
      07-25-2020, 06:32 AM   #1006
Kri
Major
Austria
1084
Rep
1,048
Posts

Drives: E87
Join Date: Dec 2017
Location: Germany

iTrader: (0)

Here a little guide how to gather the factory_config.xml file from your headunit.
This is only useful if there has been not imported any file by yourself before !

When the system is running at normal state the folder does appear empty on Android alltough it is not.

There are two possibilities, ony without the need of root and one with need of root:


Variante 1

Root is required, root your device as described in the Rooting Guide.
Install Total Commander from PlayStore.

Open Total Commander and allow access to Data
Name:  1_tsmallow.png
Views: 10039
Size:  45.9 KB

Attach a USB Thumbdrive to your Android headunit, in my case it is called "Sandisk".
Name:  2_folderbase.png
Views: 9884
Size:  44.0 KB

On the right TAB click on your thumbdrive to be within that folder.
On the left TAB click on "File system root" and from there on the folders "mnt" "vendor" persist" and "OEM"
Name:  6_folder.png
Views: 9843
Size:  52.2 KB

If your seller had installed it you will find the injected factory_config.xml file here.
If you do not have access to this folder something went wrong with rooting.
If you have access to this folder but there is no file then your seller likely has not injected a file at all.

Now click on the Icon (1) left to the text so a green checksign will appar.
Not click the 2nd Icon from left (2) on the bottom line.
Finally click the "copy" text.
Name:  7_copy.png
Views: 9859
Size:  48.8 KB

Now you have successfully copied the file to your thumbdrive and can view it with any text editor (like notepad) on your laptop/computer.

WARNING: do NOT copy the file back from your thumbdrive to the system, it will overwirte the permissions so it will not be possible to import the file normally again!
You will need to do a OTA Reovery to get it to work again (see page 1).

Always only import the File via Thumbdrive placed it into the OEM folder.



Variante 2

Guide from @banpiro (Discord) to download stock Factory_config.xml from SD625 System WITHOUT root:

This is only useful if there has been not imported any file by yourself before!

1. Create WiFi hotspot in a smartphone

2. Connect Head Unit & your laptop to WiFi hotspot.

You need to know Head Unit IP (you can check it in hotspot). You also need ADB in your laptop (i.e. you can use folder \KswRooting-master\compiler of Rooting Guide)

3. Connect to IP & port of Head Unit (default port is 5555):
Code:
adb connect IP:port
4. Get the factory_config.xml:
Code:
adb pull /mnt/vendor/persist/OEM/factory_config.xml
5. Disconnect anything:
Code:
adb disconnect
Now you will find the File at the same folder as "adb".
Kri

Last edited by Kri; 08-13-2020 at 01:33 AM..
Appreciate 4
RedErik1023.50
F20_M135i100.50
ooati6.50
Steljo1.50