[Samsung Gear S3] adfree:
Attempt to make custom csc.img...

Reason 1... we have no OXA csc.img from SM-R820 CTI4... :(

Reason 2... to nuke some preinstalled apps and to remove forced write protection

Reason 3.

I need csc.img for other stupid things. :D

Prepared...

A

We have SM-R830 OXA and OUA csc.img from CTI4 Firmware. :cool: :good:

B

I have dumped files from SM-R820...

No idea why... this seems fully possible from non rooted Watch:

sdb pull /opt/system/csc/

C

Compared extracted file from SM-R830 with dumped SM-R820...

Only 3 files differ. :cyclops:

I will ignore the 5 apps... because only zipped different... IMHO

mps\CSC\[B]SW_Configuration.xm[/B]l

This we need only... :cowboy:

The other 2 files we can IMHO also ignore:

mps\CSC\Customer\PEO\customer.xml
mps\CSC\Customer\ROM\customer.xml

Summary:

Theory I need only 1 file inject into csc.img from SM-R830...

for quick and dirty test. :D

Best Regards

Edit 1.

Prepared Batch file for Tizen Studio Emulator Action...

sdb root on
sdb push .\GearS3root\csc_custom_smR820\SW_Configuration.xml /media/SDCardC/Others/
sdb shell mount -t ext4 -o loop,rw /media/SDCardC/Others/csc.img /media/SDCardC/Others/2
sdb shell cp /media/SDCardC/Others/SW_Configuration.xml /media/SDCardC/Others/2/mps/CSC
sdb shell sync
pause
sdb shell cd /
sdb shell umount /media/SDCardC/Others/2

Edit 2.

Will combine this with my other changes:

sdb root on
sdb push .\GearS3root\csc_custom_smR820\SW_Configuration.xml /media/SDCardC/Others/
sdb push .\GearS3root\csc_custom_smR820\KOO\applist.ini
sdb push .\GearS3root\csc_custom_smR820\XAR\applist.ini
sdb push .\GearS3root\csc_custom_smR820\ZTO\applist.ini
sdb shell mount -t ext4 -o loop,rw /media/SDCardC/Others/csc.img /media/SDCardC/Others/2
sdb shell cp /media/SDCardC/Others/SW_Configuration.xml /media/SDCardC/Others/2/mps/CSC
sdb shell cp /media/SDCardC/Others/KOO/applist.ini /media/SDCardC/Others/2/preconfig/KOO/app/
sdb shell cp /media/SDCardC/Others/XAR/applist.ini /media/SDCardC/Others/2/preconfig/XAR/app/
sdb shell cp /media/SDCardC/Others/ZTO/applist.ini /media/SDCardC/Others/2/preconfig/ZTO/app/
sdb shell sync
pause
sdb shell cd /
sdb shell umount /media/SDCardC/Others/2

https://xdaforums.com/showpost.php?p=83661373&postcount=948

And I have edit

SW_Configuration.xml

And changed text string CTI4 into TEST...

This should "deactivate" FOTA Update Request... :cowboy:

Edit 3.

Tiny mistake...:o corrected Batch... :D

sdb root on
sdb push .\GearS3root\csc_custom_smR820\SW_Configuration.xml /media/SDCardC/Others/
sdb push .\GearS3root\csc_custom_smR820\KOO\applist.ini /media/SDCardC/Others/KOO/
sdb push .\GearS3root\csc_custom_smR820\XAR\applist.ini /media/SDCardC/Others/XAR/
sdb push .\GearS3root\csc_custom_smR820\ZTO\applist.ini /media/SDCardC/Others/ZTO/
sdb shell mount -t ext4 -o loop,rw /media/SDCardC/Others/csc.img /media/SDCardC/Others/2
sdb shell cp /media/SDCardC/Others/SW_Configuration.xml /media/SDCardC/Others/2/mps/CSC/
sdb shell cp /media/SDCardC/Others/KOO/applist.ini /media/SDCardC/Others/2/preconfig/KOO/app/
sdb shell cp /media/SDCardC/Others/XAR/applist.ini /media/SDCardC/Others/2/preconfig/XAR/app/
sdb shell cp /media/SDCardC/Others/ZTO/applist.ini /media/SDCardC/Others/2/preconfig/ZTO/app/
sdb shell sync
pause
sdb shell cd /
sdb shell umount /media/SDCardC/Others/2

Seems to work with my rooted CTI4...

Tested by flashing with netOdin + Factory Reset + Pairing with Galaxy Wear App Phone...

Now uploading. :angel: