DOWNLOAD Smarters V4 windows Editor

doubled

Active member
VIP Member
Joined
Oct 31, 2023
Messages
42
Awards
3
Offline

This is Smarters v4 Editor , simple and fast change images , app name and panel and recompile, u need to have installed on pc python3, extract the zip on you desire location, open the folder where is extracted on in the address bar of you open fodder type cmd

Hope you enjoy the idea and the code is open



1.png2.PNG

Code:
python smartv4.py



UPDATED VERSION 10/11/2023


V4.PNG


The new version contain the colours change for epg and 2 way to lunch the program, via python or via exe
 
Last edited:

IɴғɪɴɪᴛᴇSᴛʀᴇᴀᴍs

Moderator
Staff member
VIP Member
Joined
Apr 7, 2021
Messages
1,167
Awards
4
Offline

This is Smarters v4 Editor , simple and fast change images , app name and panel and recompile, u need to have installed on pc python3, extract the zip on you desire location, open the folder where is extracted on in the address bar of you open fodder type cmd

Hope you enjoy the idea and the code is open



View attachment 7639View attachment 7640

Code:
python smartv4.py

*** Hidden text: cannot be quoted. ***
is this your work? nice either way bud just curious :)
 

doubled

Active member
VIP Member
Joined
Oct 31, 2023
Messages
42
Awards
3
Offline
i spell mistake in the video. the app name is done in base 64 the same

sorry for that
 

Bladet

Well-known member
Joined
Feb 20, 2022
Messages
60
Awards
3
Offline
Do i really need to have a google account to download ?
 

Bladet

Well-known member
Joined
Feb 20, 2022
Messages
60
Awards
3
Offline
strange, did just see a login page with Firefox, worked with Chrome, tnx
 

FelixSchrodinger

Well-known member
Joined
Jun 17, 2022
Messages
256
Awards
3
Offline
Great work and even better that the codes open. Just thought I'd add a little bit to this for people who've never run python.

Don't get Python from Microsoft Store if you're using Windows. Use their installer from Pythons website.

Make sure "add python.exe to PATH" and "Use admin privileges when installing py.exe" are both checked like so:

1699480535818.png


There's still some dependencies people will need to install (customtkinter, Pillow and packaging) so I added a check at the start of the Python script:

Python:
import sys

def install(package):
    subprocess.check_call([sys.executable, "-m", "pip", "install", package])

try:
    import PIL
except ImportError:
    install('Pillow')

try:
    import customtkinter
except ImportError:
    install('customtkinter')
   
try:
    import packaging
except ImportError:
    install('packaging')

This snippet needs adding in the script just below "import subprocess" and before any of the other imports. I also added a batch script that needs to be in the same directory as the script so it can be run without having to navigate to the directory with cmd. This downloads for the batch script only.


Let me know if you add the batch script to your zip file, then I'll remove it from my MEGA account.
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,730
Awards
5
Offline
Great work and even better that the codes open. Just thought I'd add a little bit to this for people who've never run python.

Don't get Python from Microsoft Store if you're using Windows. Use their installer from Pythons website.

Make sure "add python.exe to PATH" and "Use admin privileges when installing py.exe" are both checked like so:

View attachment 7652


There's still some dependencies people will need to install (customtkinter, Pillow and packaging) so I added a check at the start of the Python script:

Python:
import sys

def install(package):
    subprocess.check_call([sys.executable, "-m", "pip", "install", package])

try:
    import PIL
except ImportError:
    install('Pillow')

try:
    import customtkinter
except ImportError:
    install('customtkinter')
  
try:
    import packaging
except ImportError:
    install('packaging')

This snippet needs adding in the script just below "import subprocess" and before any of the other imports. I also added a batch script that needs to be in the same directory as the script so it can be run without having to navigate to the directory with cmd. This downloads for the batch script only.


Let me know if you add the batch script to your zip file, then I'll remove it from my MEGA account.
awesome addition to an awesome script,, adding the dependencies was a bit of a piss on before you could open the script
 

nightmare

New member
VIP Member
Joined
Nov 29, 2022
Messages
25
Awards
1
Offline

This is Smarters v4 Editor , simple and fast change images , app name and panel and recompile, u need to have installed on pc python3, extract the zip on you desire location, open the folder where is extracted on in the address bar of you open fodder type cmd

Hope you enjoy the idea and the code is open



View attachment 7639View attachment 7640

Code:
python smartv4.py

*** Hidden text: cannot be quoted. ***
after changing the background, logo, etc and recompiling itThe app when I try to install it gives me installation package error, unfortunately the app cannot be installed
 

doubled

Active member
VIP Member
Joined
Oct 31, 2023
Messages
42
Awards
3
Offline
after changing the background, logo, etc and recompiling itThe app when I try to install it gives me installation package error, unfortunately the app cannot be installed































































































































Sing in the app
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,730
Awards
5
Offline
after changing the background, logo, etc and recompiling itThe app when I try to install it gives me installation package error, unfortunately the app cannot be installed
now sign the apk in MTmanager before you install
 

FelixSchrodinger

Well-known member
Joined
Jun 17, 2022
Messages
256
Awards
3
Offline
@FelixSchrodinger i will add you bath luncher in the next update when i will add the color change for app whit an auto library install

Do you fancy a collab on this on a private github maybe? There's lot's I'd like to add. I'm not a professional dev or anything and wouldn't mind getting stuck into Python and GUI development a bit more and adding functionality.
 

doubled

Active member
VIP Member
Joined
Oct 31, 2023
Messages
42
Awards
3
Offline
Sure bud I don't mind, I just finished to add the epg color change and I wanna add the icons for live tv movie and Series plus the intro to change the same
 

FelixSchrodinger

Well-known member
Joined
Jun 17, 2022
Messages
256
Awards
3
Offline
I think the hardest part to automate the whole process is to generalise it for all the different versions there are in the wild. So maybe better sticking to specific apps and linking them or adding the APK's to your files..

1. The app name find and replace on all files could cause problems where the name of the app is the same (or generic) as other parts in the code, like if they have just "glass" for the name etc. It would be more work to do this for every app type, but doing the find and replace on the specific files would speed the tool up a lot. For the panel URL swap, having the user type the original URL gives margin for error and again find an replace on all files is time-consuming. I think including the APK's with the files with pre-edited URLs that match would be better so it can just replace it in the specific files the changes are needed.

2. Console output with stdout so you can see what apktool is doing during decomp/comp would be useful for debugging, even for the end-user. Or even better, adding a console output section to the tkinter GUI would be a nice-to-have. The Sky Live v4 thats floating about errors with attribute duplicates with apktool, I havent figured that part out yet. (also could log the console output to txt file)

3. At the minute the decompile does all classes which breaks recompile for some apps (try the Sky Live one). Would be best to add "--only-main-classes" to the decomp command. Is quicker and leaves assets.dex alone (I've found no use case to decomp the assets dex file personally.

4. The Launcher images displayed arent always going to be the actual image used (The Smarters one shown in the Sky Live one isn't used in the app). I know the replacements done in other places, but maybe best to search for the launcher icon drawable thats stated in the manifest file, before displaying the image in the GUI?

4. Adding zipalign and sign to the tools fairly straightforward.

I aren't asking you to add all this ofc, willing to chip in with it. Get a github page setup and I'll jump on board.
 

doubled

Active member
VIP Member
Joined
Oct 31, 2023
Messages
42
Awards
3
Offline
@FelixSchrodinger happy to collaborate bud, is hard for me because because still im learning, and my main target is to leard how to do apk from official to my own panel if u now what i mean, but i will find some time and open a git hub page and collaborate, i will add now the update version what contain the colours change for epg, the app name replace is done by the value of app_name so normally need to find just one , and yea including pre-prepaid apk is a good idea, in v3 i need to add to check for the folder what have termination in -v4 in case the official one don't exist, regardind aboun not decompiling all clase im still lock for info how to do it bud
 

nightmare

New member
VIP Member
Joined
Nov 29, 2022
Messages
25
Awards
1
Offline
Using the tool does not copy the images, analyzing the contents in the decompiled app folder, most of them remain original
 
Top