How to mod it yourself!
This is a little thing on how to mod it yourself.
You need to download the system for the device, just use the one I have above. Then you need to mount it in Linux using the command sudo mount -o loop system.img.ext4 folder name. This should mount as an r/w. I did it in Kali Linux and didn't have issues while Ubuntu did some funky stuff. Then you mod the systems normally like making a ROM. Whenever you mod something you need to set the proper permissions with chmod and context with sudo setfattr -n security.selinux -v ubject_r:system_file:s0 filename. You might need to install attr to get it. Then once you're done, unmount with sudo umount folder name and then add it to a .tar file without any compression and flash it in Odin like the instructions. Just use your system instead of mine. If you make it and post it, just credit me2151 and me (mweinbach).
This is what I've done so far. I've tried to follow the instructions on post 3 and used some other sources googling XDA. I can't post links.
I installed Kali onto usb and run it. I cd to the directory and then mount the system.img.ext4 to my folder labeled "2."
root@kali:~# cd /media/root/BAB45304B452C295/S8System
root@kali:/media/root/BAB45304B452C295/S8System# sudo mount -o loop system.img.ext4 2
I then add my apps to system/app in folders with the exact names as their apk.
app/FakeGPS/FakeGPS.apk for example. [FakeGPS,FakeGPSRoute, GPSJoyStick.]
I used the following guide to help me Chmod since i'm completely new to this. [Guide] How to modify yourself system.img partition by aoprea.. (Have to google can't link.)
root@kali:/media/root/BAB45304B452C295/S8System# chmod 0755 2/app/FakeGPS
root@kali:/media/root/BAB45304B452C295/S8System# chmod 0644 2/app/FakeGPS/FakeGPS.apk
root@kali:/media/root/BAB45304B452C295/S8System# chmod 0755 2/app/FakeGPSRoute
root@kali:/media/root/BAB45304B452C295/S8System# chmod 0644 2/app/FakeGPSRoute/FakeGPSRoute.apk
root@kali:/media/root/BAB45304B452C295/S8System# chmod 0755 2/app/GPSJoyStick
root@kali:/media/root/BAB45304B452C295/S8System# chmod 0644 2/app/GPSJoyStick/GPSJoyStick.apk
I then read what you said about needing to do setfattr and this is what I think I'm supposed to do. I didnt get an error.
root@kali:/media/root/BAB45304B452C295/S8System# sudo setfattr -n security.selinux -v ubject_r:system_file:s0 2/app/GPSJoyStick
root@kali:/media/root/BAB45304B452C295/S8System# sudo setfattr -n security.selinux -v ubject_r:system_file:s0 2/app/GPSJoyStick/GPSJoyStick.apk
root@kali:/media/root/BAB45304B452C295/S8System# sudo setfattr -n security.selinux -v ubject_r:system_file:s0 2/app/FakeGPSRoute/
root@kali:/media/root/BAB45304B452C295/S8System# sudo setfattr -n security.selinux -v ubject_r:system_file:s0 2/app/FakeGPSRoute/FakeGPSRoute.apk
root@kali:/media/root/BAB45304B452C295/S8System# sudo setfattr -n security.selinux -v ubject_r:system_file:s0 2/app/FakeGPS/
root@kali:/media/root/BAB45304B452C295/S8System# sudo setfattr -n security.selinux -v ubject_r:system_file:s0 2/app/FakeGPS/FakeGPS.apk
I then unmount
root@kali:/media/root/BAB45304B452C295/S8System# sudo umount 2
root@kali:/media/root/BAB45304B452C295/S8System#
I switch back to windows and archive it with 7-Zip as tar.
Does this seem right?
I try to follow your steps except I dont get a boot loop until after I've done the CSC file. Before that I get into upload mode from kernal panic but no boot loop. Any advice? I'm pretty sure its just how I'm editing my system.img.ext4.
Thank you!!! I have so much hope in this lol.