[MOD]MODs Collection for MagMa-NX

Which would you like to see more? Multiple choices + Votes are private (not public).

  • More Smart Manager MODs

    Votes: 20 26.0%
  • More SystemUI MODs

    Votes: 59 76.6%
  • More Power Menu MODs

    Votes: 10 13.0%
  • More Framework-res MODs

    Votes: 44 57.1%
  • More Other (Miscellaneous) MODs

    Votes: 32 41.6%
  • More Explanations on How-To post (currently: 4)

    Votes: 14 18.2%

  • Total voters
    77
  • Poll closed .
Search This thread

tze_vitamin

Senior Member
Jun 17, 2011
1,437
1
257
39
Zrenjanin
Xiaomi 11T Pro
Xiaomi 12T Pro
OK. You are smart and I am not. I am from f...ing Serbia and my English for this is very very bad. If I understand everything from page 1 I will never ask you this stupid question.
I know how to read but I don't know how to translate very well.
So,I need help,if that's not a problem.
Not everyone born with a silver spoon.
 

JJEgan

Senior Member
Oct 24, 2010
30,509
5,923
Samsung Galaxy Note 3
OK. You are smart and I am not. I am from f...ing Serbia and my English for this is very very bad. If I understand everything from page 1 I will never ask you this stupid question.
I know how to read but I don't know how to translate very well.
So,I need help,if that's not a problem.
Not everyone born with a silver spoon.


It would help you if you considered stop spamming with multiple posts in multiple threads .
Stick to one topic until you understand it .Search and read use Google translate .
Its all want want want in multiple posts .

We all have the option of using ignore your posts .
 

Eleo

Senior Member
Apr 16, 2012
16,404
14,772
Essen, Germany
Google Pixel 3a XL
Google Pixel 6
all these mods for snapdragon? can i install ux10 to exynos note 3 (n900)
Depends on MOD. But they should be used on both if not restricted with a ROM version.

And NO. You DO NOT have UX10. Yoy have VX1!!!

Didnt you read my post?!
https://xdaforums.com/galaxy-note-3...development/kernel-silvernote-kernel-t3726401

If the MOD is marked for UX9, UX8, UX3, UX7, VX2, VX3 (i.e. for everything OTHER THAN VX1), you canNOT flash it to VX1!

That simple.
 

mlh89

Senior Member
Mar 12, 2018
77
2

mlh89

Senior Member
Mar 12, 2018
77
2
You cannot change to ux10. You dont have ux10 ported to exynos. You only have vx1.
Which MOD do you want?? I am asking again and again. Please tell me the MOD and I will tell you whether you need it or not.

KMN!!
i just want more live wallpapers and better visual
 

kramer04

Senior Member
Jan 15, 2011
627
236
France
@Eleo

One question about vrtheme

If i understand with vrtheme you can change an xml file in apk and and add icons in the same apk ?
Because i need to change a layout xml and add icons in an other apk
I can't do it directly in my theme
 
Last edited:

Eleo

Senior Member
Apr 16, 2012
16,404
14,772
Essen, Germany
Google Pixel 3a XL
Google Pixel 6
@Eleo

One question about vrtheme

If i understand with vrtheme you can change an xml file in apk and and add icons in the same apk ?
Well, basically you can change EVERYTHING in an apk. VRTheme has access to any file that is accessible by openning the apk as a zipped folder. See a simple example. I chose framework-res.apk because it does not contain smali/classes.dex.

Now you can observe that not all files/folders can be found inside an apk which is opened as zip. The files/folders that are not accessible (values folders mainly) are contained in resources.arsc:
20180513_174332_zps7am8iihr.jpg


Now, as I said above, with VRTheme, you can edit/add any file that is accessible when opened as zip. BUT, if file is in resources.arsc, you can replace whole resources.arsc either (granted, if there are no more changes in resources.arsc). For ex if you add an icon that is not accessible (like files with ".9" extension), it still will not be present after flashing VRTheme (so you need to replace whole resources.arsc instead of putting that file only). And you need to be sure to not get double the amount of file. For example if you are going to replace an spr image with png, rename that png file as spr and only after that put it into vrtheme. Two files with same names but different extensions may not be recognized.

And as mentioned on first page, you cannot replace files from decompiled folder (other than png and etc). Most files like smali and xml are changed after recompile. So you have to replace files that are taken from already compiled apk.

If you have any questions I can help from here or from telegram if it is more suitable to you.
Because i need to change a layout xml and add icons in an other apk
I can't do it directly in my theme
Yes you can replace layout and icons. But as I said above, be sure to not add extra icon with a different extension. If that icon is already present, try simply replacing it. Android is not interested in extension of file. It takes it as binary file. So be it an spr, png or any other image file, you just need to replace it with file having same extension. As long the file is an image file, it will work.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 46
    Hello:

    In this thread I will try to accomodate the MODs (and if possible apps) shared in MagMa-NX thread by me or by other users (with their consent). Original ROM thread page located here developed by Patrick.H

    I will try to make the OP if this thread as much organized as possible. Please give me time to make it up (busy schedule, very sorry).

    Edit: Updated OP


    Some quick explanations before going into mods:
    Flashable zip --> A zip that is flashed in recovery (you can also use in-app flasher of DualBootPatcher app if you are booted to other ROM). There is NO restriction of TWPR version for usage of TWRP2.8.7.0 only. You can use latest TWRP3.x too for these zips.
    VRTheme Flashable zip --> A zip that is flashed in recovery (you can also use in-app flasher of DualBootPatcher app if you are booted to other ROM - though I havent tried that). There is no restriction for usage of TWRP2.8.7.0. You can use latest TWRP3.x too for these zips. It changes only a part of apk. Not whole apk.
    Aroma-flashable zip --> A zip that can ONLY be flashed in recovery. There is a restriction on TWRP version, you have to use only TWRP2.8.7.0. That is valid until lss1977 finishes his work on making aroma installer working on TWRP3
    :fingers-crossed:
    Here, I will list the post numbers and to which MOD/MOD group they are referred to.

    Post#2: Smart Manager MODs
    [C5/N7 Smart Manager MOD] [19/05/2017]
    Post#3: Separated Notification UI MODs
    [UX8.5] -> [stock for C5 SM] + [even more modified version for C5/N7 SM]
    [UX8] -> [ever more modified version for N7 SM]
    [UX7] -> [for C5 SM]
    Post#4: S8 SystemUI MODs
    [UX9] -> 7 Modded UIs
    [UX8] -> [modified for N7 SM] + [even more modified for N7 SM]
    Aroma-flashable nougat UI (not supported with latest builds) with:
    a) C5/N7 SM choice
    b) With or without brightness bar on first swipe
    c) With 5 or 6 toggles per row in portrait​
    Post#5: Packages and SystemUI Fixes
    UX9 S8 SystemUI Wallpaper Fix
    Grace Package for UX10
    Dream Package for UX10
    Post#6: Power Menu Screenshot and Screencast MODs
    UX9
    UX8
    UX7
    Post#7: Framework MODs
    Nougat-like circle checkbox for UX8
    Enable Navbar for UX8
    Post#8: Other MODs
    Hidden buttons for S8 UI of UX8
    Disable Hardware Back and Recents key for MagMa-NX
    Center Clock MOD for MagMa-NX
    Quick Settings Arrow Remover for MagMa-NX
    Bluelight Filter ver1 and ver2 flashable files
    GPS files from MagMa NX UR3
    Disable/Enable Edge Lightning on S8 Samsung Music
    Disable/Enable MultiUser Icon for MagMa NX
    TWHome with Briefing
    Hidden Buttons + Center Clock MODs for MagMa NX UX9
    Themers' Fix for "Block Noti" and "Clear All" Bar

    Post#9: From users
    Step-by-step Guide on How to Pass Safetynet using Magisk on MagMa-NX ROM presented by @cafe-creme
    ODIN-flashable PIT file to increase "/System" Space presented by @Subin khan
    Flashable Zip for Note5 Gallery with Nougat Icon by @Leon_Stalker
    Flashable Zip for N7 Camera Pro Lite mode by @Subin khan
    S7 Photo Editor with Color Picker by karkasss
    System Supersu by mauam
    Note7 Gallery Thumbnail Fix by @oidy
    Fix Outgoing CallWaiting Notification by @oidy
    Post#10: "How-To" Post
    How to Prepare a simple flashable zip
    How to Prepare a File/Folder Cleaner Flashable Zip
    How to Prepare a VRTheme flashable zip
    How to Prepare an XML Editor Zip
    How to Prepare an Aroma-Flashable Zip
    41
    Other MODs

    1.
    Hidden buttons for S8 UI of MagMa NX 8.1

    Download and flash this on recovery


    Please report back after flashing

    2.
    Disable Hardware Back and Recents key for Full S8-like UI with Navbar

    Caution: Use this ONLY if you have Navbar enabled! For enabling NavBar, read this

    Works independent of SystemUI

    This mod will remove the functions of hardware buttons from back and recents key on left and right side of home button. I will make one more mod to remove home button function, but I discaurage using it, since home button is not that easy to slip and press. So, I advise to let it stay working.

    Recents + Back Button Remove Mod
    Recents + Back + Home Button Remove Mod
    Enable all HW keys again

    You can also do it manually by editing system/usr/keylayout/generic.kl file. You need to add "#" in front of key 158 and key 139 for removing back and recents keys. For home button, you need to do same for key 172.

    PLEASE Report back afterwards

    3.
    Center Clock MOD for MagMa NX

    Hello.
    Here I share a vrtheme MOD for center clock using this guide thanks to Dejan Sathanas who showed me the post and karkasss who helped me debug some issues. It does not interrupt any other part of systemUI other than hidden buttons in statusbar, thus I will share a different MOD for UI with hidden buttons.
    There are in total 6 MOD zips. 2 for separated notification (one MOD zip and one stock zip), 2 for grouped notification with hidden buttons UI (again, one MOD zip and one stock zip) and lastly 2 for s8 UI (both 5toggles and 6toggles) + grouped UI (one MOD zip and one stock zip).

    Caution:please have a flashable zip for your systemUI or at least have the ROM.zip in your sdcard so that you can do a mods update if anything will go wrong.

    GDrive download links of Center Clock MOD zips:
    Center Clock MOD for Grouped Notifications UI + S8 UI with 5 Toggles + S8 UI with 6 Toggles
    Center Clock MOD for Grouped Notifications with Hidden Buttons
    Center Clock MOD for Separated Notifications UI

    GDrive download links of Stock Clock zips:
    Stock Clock for Grouped Notifications UI + S8 UI with 5 Toggles + S8 UI with 6 Toggles
    Stock Clock for Grouped Notifications with Hidden Buttons
    Stock Clock for Separated Notifications UI


    4.
    Quick Settings Arrow Remover for MagMa NX

    Hello.
    I present you a VRTheme flashable zip for instant removal of Quick Settings Arrows Independent of SystemUI. It means it doesn't matter which UI you have on right now, it will remove the quick setting arrows as shown below:
    123_zpsnywmtiot.jpg


    Tested on both N7 and S8 UI. I also provide a zip to retrieve arrow icon if you think that one is better.

    Caution:please have a flashable zip for your systemUI or at least have the ROM.zip in your sdcard so that you can do a mods update if anything will go wrong.


    GDrive download Links:
    Quick Settings Arrow Removal Zip
    Quick Settings Arrow Retrieval Zip


    5.
    Flashable Zips for Bluelight Filter ver1 and ver2 for MagMa NX

    Flashable zip for reverting back to blueligh ver1 was introduced by karkasss here. I also provide an extra flashable zip for bluelight ver2, whose files were extracted from Fougat ROM by Beesvee here.

    Caution 1: Please wait for some time for bluelight to kick in. It may take up to 5-15 minutes after first boot. Please don't report back saying bluelight filter doesn't work without waiting enough time

    Caution 2: Bluelight filter ver1 and ver2 have different filters as default, where ver1 has bluelight filter with brightness loss (when you increase bluelight filter intensity, loss of blue light is accompanied by loss of brightness of screen), whereas ver2 has blueligh filter without brightness loss. It is tweakable by changing filter.cfg. I can provide a flashable file for such filter.cfg if requested.

    GDrive download Links:
    Bluelight Filter ver1
    Bluelight Filter ver2


    6.
    GPS files from MagMa NX UR3

    Some users reported that GPS files from UR3 is better than using country-dependent GPS files that were provided after UX3 ROM version. For those users, there is a flashable zip for gps files. If wanted to revert back, ROM can ben flashed via mods update and change NTP address:

    GDrive download Links:
    GPS files from UR3


    7.
    Disable/Enable Edge Lightning on Samsung Music in latest MagMa NX versions

    This script works by editing only one line inside floating_features.xml without changing other lines (for "how-to", read 10th post of this thread). Stock MagMa settings is with enabled edge lightning . You can disable it by flashing "disable edge lightning" zip. If you don't like it, you can revert it back with "enable edge lightning" zip.
    Edge%20Lightning_zpsp4hlemef.png


    Please try and give feedback. If anything goes wrong, you may need to reflash ROM in mods update and re-select your "CSC" option

    Thanks to: @jjjhitel's post

    GDrive download Links:
    Disable Edge Lightning in Samsung Music
    Enable Edge Lightning in Samsung Music


    8.
    Disable/Enable MultiUser Icon for MagMa NX

    This is a simple script to change one value (1 or 0) in Build.prop. Taken directly from MagMa NX ROM.zip. It is perfect for users who use MODded systemUI (for example from this thread), that cannot use MODs update from aroma installer (because it will rewrite systemUI with the one from ROM.zip):
    20170629_213814_zpsogmywpfo.jpg


    GDrive download Links:
    Disable MultiUser Icon
    Enable MultiUser Icon



    9.
    TWHome with Briefing for MagMa NX UX9+

    TWHome with briefing was taken from here (by @ananjaser1211) and modified by restoring blur. Two flashable zips are provided, one for TWHome with briefing, other one for Restoring TWHome from UX9 version.
    Comb12072017061722_zpsrsc4nlzx.jpg


    GDrive download Links:
    TWHome with Briefing
    Restore UX9 TWHome


    10.
    Hidden Buttons + Center Clock MODs for MagMa NX UX9+

    Here you will see 4 zips:
    - Center Clock: With centered clock in statusbar
    - Hidden Buttons: With 3 hidden buttons as recents, home and power buttons on statusbar
    - Center Clock + Hidden Buttons: Hidden buttons and center clock mod together
    - Stock Statusbar: Revert statusbar to stock

    Center Clock MOD
    Hidden Buttons MOD
    Center Clock + Hidden Buttons MOD
    Stock Statusbar


    11.
    Themers' Fix for "Block Noti" and "Clear All" Bar for UX9+

    MOD is explained here. To revert back, flash ROM in mods update, or flash any systemUI, or flash themers' unfix zip.

    Themers' Fix MOD 1
    Themers' Fix MOD 2
    Themers' UnFix


    12.
    MODded TWHome for MagMa NX UX9+

    This TWHome has a control panel for various customizations when you long press on homescreen and click on "special settings GRX". Thanks to @josete_197601 for MOD, Grouxho for Grx settings, AleR95 for porting it to MM. Changelog can be seen from inside app

    Download modded TWHome + GRX Settings ver8
    Download modded TWHome + GRX Settings ver7
    Download modded TWHome + GRX Settings ver3
    Download modded TWHome + GRX Settings ver2
    Revert back to Stock S8 TWHome

    Caution: Flashing this zip will disable NFCKeyboard (already disabled since UX9) and wipe TWHome data (to not get into trouble if you are updating over old N7 TWHome)

    Please test and report back
    22
    1.
    MagMa-NX UX9 S8 SystemUI Fix for Lockscreen Wallpaper

    We present you lockscreen wallpaper fix for S8 systemUI of MagMa NX UX9. This zip fixes the problem of applying lockscreen wallpaper. Before we go into download link, some explanations:

    - If you apply homescreen and lockscreen live wallpaper -> AOD has live wallpaper
    - If you apply homescreen only live wallpaper (other wallpaper for lockscreen) -> AOD has live wallpaper
    - If you apply lockscreen only live wallpaper (other wallpaper for homescreen) -> AOD has black wallpaper
    - If you apply other wallpaper for homescreen and lockscreen - AOD has black wallpaper.

    You can apply any wallpaper to homescreen and lockscreen separately without using live wallpapers too.

    Download:
    MagMa-NX UX9 S8 systemUI Fixed Wallpaper
    MD5: 11302b5a0de00abad842191fc46ad5aa


    2.
    MagMa-NX UX10 Grace Package

    This zip contains a flashable to convert from Dream UI (S8) to Grace UI (N7)

    Edited packages:
    *Calendar
    *Camera icon
    *Clock
    *Contacts
    *Email
    *Gallery
    *IncallUI
    *Keyboard
    *Messages
    *My Files
    *Settings
    *SystemUI
    *TWHome N7
    *Video Player
    *Weather app+Widget

    *Both smartmanagers selecable (C5/N7).

    If you want S8 MODded TW Launcher, you will need to flash it additionally from 8th post 12th MOD.

    Download Grace Package v1.3
    MD5: ee7f500069a193825a940fc6852c20ef


    Ver1.0 test
    Initial Release

    Ver1.1
    Smart Manager choice + systemUI for each smart manager

    Ver1.2
    SystemUI fix

    Ver1.3
    Fixed transparent AOD screen background when infinity wallpaper enabled

    3.
    MagMa-NX UX10 Dream Package

    This zip is a flashable to convert from Grace UI (N7) to Dream UI (S8). Contains same packages on Grace UI, except C5 smart manager. Simple flashable, does not contain aroma installer.

    Download Dream Package 1.2
    MD5: fc5e475f7cc43fdb3645839496b4aeb7


    Ver1.0 test
    Initial Release

    Ver1.1
    Fix META-INF folder thanks @rohid01

    Ver1.2
    SmartManager files updated thanks @tomahawk5000
    21
    1.
    Modified S8 SystemUI for MagMa NX UX9

    As explained in post in thread, the MODs are following:
    1. 9x2 landscape quick toggle layout inatead of 8x2+2 present right now
    2. Power save toggle fix to be used with both C5 and N7 Smart Managers
    3. Quick toggle names in first swipe
    4. Ungrouped notifications.
    5. Removed line between toggle and toggle names
    I thought to provide 4 different MODs:

    A. Updated stock (with (1) and (2)) [UPDATED TO UX9.7]
    B. More updated stock (with (1), (2) and (4)) [UPDATED TO UX9.7]
    C. Modded stock (with (1), (2), (3) and (5)) [UPDATED TO UX9.7]
    D. Even more modded stock (with all 5) [UPDATED TO UX9.7]
    ... Special Requests ...
    Eleo02. MOD D with StatusBar Expanded Header with centered Settings Icon
    Eleo01. MOD C without toggle names on first swipe {MODs (1), (2) and (5)}
    Eleo03. MOD A with 5 horizontal and 8 landscape toggles per row

    You can use either of the Smart Managers from Smart Manager MOD post with MODded UI.

    CAUTION - Be sure to have revert zip before flashing any MOD

    Download:
    SystemUI MOD-A [UPDATED TO UX9.7]
    MD5:4c32e55803a55a2bd94026bfbf09e0c0
    MD5:741fbadb94d5bf92cd74fff0561deb75

    SystemUI MOD-B [UPDATED TO UX9.7]
    MD5:0085acaff87671823fc32b3c00029441
    MD5:87c02fe38f258f142f6c54b71dc2b2ff

    SystemUI MOD-C [UPDATED TO UX9.7]
    MD5:29e3c7c138e6c62134935f80f0a7b453
    MD5:14a5b4a76fb72edd6d67ffb9cbf55ce4

    SystemUI MOD-D [UPDATED TO UX9.7]
    MD5:69d003e10567648e2a3f6ef7d7dad308
    MD5:e615f06fdb8cd043e50402d4161433a2

    SystemUI MOD-Eleo02
    MD5:b5d71875b7c6d980d82a4d8ee1bad071

    SystemUI MOD-Eleo01
    MD5:f99ebe54505e34f0be49ab8e679ea21b

    SystemUI MOD-Eleo03
    MD5:f9fb105f6c5346e001432d2661574947

    SystemUI Revert to Stock
    MD5:1abc946f50bac6d266317704d98cb6cc
    MD5:883b1418b3497c112a530333de3c5e0f


    2.
    Modified System UI S8 for MagMa NX UX8

    version 1.2 even more modified update

    - Added toggle names for first swipe
    - Added 9 toggles to landscape (to have aligned toggles w.r.t. 6x3 in portrait)
    - Fixed large content toggle names
    - Removed line between toggles and toggle names

    Brightness on first slide had a glitch that removed toggle names of last line of icons in expanded QS, I will try to find a way. That is why it was not included in here

    Changelog:
    - v1.0 Initial Release
    - v1.1 Fixed Placement of Settings icon on Notification bar
    - v1.2 Even More Modified UI without arrows


    CAUTION - Only for use with N7 smart manager

    Download flashable zip for modified UI ver1.1 here

    Download flashable zip for even more modified UI ver1.2 here
    MD5 for 1.2: a8094e414bc6c672728ff381aa7c60d4

    Download system UI restore zip here

    Before trying modified UI, download restore zip too if you want to restore system UI without flashing in mods update.
    Please try and report back

    Thanks:
    - To my teacher

    3.
    Nougat System UI ver5​

    Here, I tried to combine all nougat system UI into one flashable zip file with Aroma installer. The screen looks like this (sorry for bad quality photo, I took it with webcam):
    WIN_20170422_18_42_24_Pro%202_zpstq4zdvxt.jpg

    - First column is choice of "Note7 device maintenance" vs "C5 Smart manager"
    - Second column is choice of "with brightness bar" or "no brightness bar"
    - Third column is choice of "5 Toggles per row" or "6 Toggles per row" in notification panel/quick toggles.

    Please choose wisely with respect to which smart manager/device maintenance you have. If you want to change the smart manager, you need to flash ROM in mods update mode and make you choice there. After that you can flash this zip and make your selection according to your current smart manager/device maintenance choice.

    File size is over 130MB, so I am presenting both G-Drive and MEGA download links with MD5
    :silly:

    Download:
    Google Drive
    Mega Link
    MD5:d00361defc46f45d006cebaef6c1a3bd

    Update:
    Version UX8 of this ROM is changing system ui. You need to wait for an update of system ui mods after UX8 will be shared.

    Thanks to
    karkasss :good:
    For his help and assitance throughout this work and everywhere in thread. Without you I couldn't have done it
    oidy:good:
    For his 6Toggles idea and files

    Please check it and report back.
    19
    "How-To" Post

    In this post you will see some examples of what can be done using flashable zips. The examples mostly will be provided as singular usage, but you can also mix the method in one flashable zip (for example make an aroma-flashable zip, that acts as deleting some folders/files, extracting files into root folder, before changing an xml value after changing an apk via vrtheme method). These are not golden rules, I just brought up what I can remember. If I can be helpful, this will give a smile on my face
    :)

    1.
    How to Prepare a simple Flashable Zip

    All MODs (at least for now) are zips that are flashable in recovery. To build a flashable zip, you need to:
    1. Download an example simple flashable zip
    2. Download and install Notepad ++ or Atom Editor
    3. Download and install 7zip File Manager


    Now, every flashable zip has to have "META-INF" folder. Inside "META-INF\com\google\android" folder you will find "update-binary" and "updater-script" (other than in aroma-flashable zips, where you will find aroma files too). Update-binary should stay as it is. But "updater-script" can be changed depending on need.

    An example updater-script has been provided as:
    Code:
    ui_print("Starting");
    unmount("/system");
    unmount("/data");
    unmount("/preload");
    unmount("/cache");
    ui_print("Mounting Partitions");
    run_program("/sbin/busybox", "mount", "/system");
    run_program("/sbin/busybox", "mount", "/data");
    run_program("/sbin/busybox", "mount", "/dalvik");
    ui_print("Placing files");
    package_extract_dir("system", "/system");
    package_extract_dir("data", "/data");
    ui_print("Unmounting Partitions");
    unmount("/system");
    unmount("/data");
    unmount("/cache");
    ui_print("Done!");

    This script has important parts that can be explaines as shown below:
    - ui_print("..."); --> What is written in screen while flashing is going on. You can put explanatory stuff as "Flashing Circle checkbox MOD" or "Flashing Nougat Gallery" and etc inside quotes (").
    - unmount and mount --> Before flashing a zip, it is important to mount required partition. If files to be flashed are inside "/data" then you have to mount "data" firstly, then afterwards unmount "data"
    - package_extract_dir --> This shows where the files will be extracted to. If you have files to be flashed in "/system" folder, then you need to have a line saying "package_extract_dir("system", "/system")". Here, it means that the files inside "system" folder of zip will be placed into "/system" folder in the root folder of phone.

    By modifying these regions you can assign which files will be sent to which folder while flashing. To learn more, feel free to look at the zips shared in this thread.

    When you need to change a flashable zip, dont extract it. You need to get used to work with 7zip file manager. Open the flashable zip with 7zip, then select a file that you want to edit. For example let's say you want to edit updater-script. Open zip with 7zip, go to META-INF\com\google\android folder inside zip and locate updater-script. You can see that it has no extension. Now, select it and drag it outside the zip (for example to desktop or any other folder inside computer). After finishing editing, use same principle for placing file inside the zip; as in, select the file outside the zip, then drag it inside the zip. There will be a prompt saying "Are you sure you want to copy files into archive?", click "yes".

    Now, any changes done in updater-script or any other text file (for example scripts with ".sh" extension) has to be done using "Notepad++" (or similar neat text editor like "Atom Editor"). Never use "Notepad", "Wordpad", "Office Word" or other text editors (I have done that mistake, believe me). I try to drag any file that will be changed outside zip, edit it, then drag it back. I don't edit files that are opened from inside the zip.


    2.
    How to Prepare a File/Folder Cleaner Flashable Zip

    File/Folder Cleaner is an easier version of flashable zip. Mostly, such zips contain lines for deleting folders/files in META-INF/com/google/android/updater-script file. Two main deleting lines in updater-script are "delete" and "delete-recursive". Delete command removes a file, whereas delete_recursive removes a folder. An example provided below is showing both delete commands.
    As always, you firstly need to mount the folder which you will edit. As default, /system, /data and /cache are mounted even if not all of them are changed. Then, the delete and/or delete_recursive lines. And lastly, obviously you need to unmount mounted folders.
    Code:
    run_program("/sbin/busybox", "mount", "/system");
    run_program("/sbin/busybox", "mount", "/data");
    run_program("/sbin/busybox", "mount", "/cache");
    
    delete_recursive("/system/priv-app/SamsungBilling");
    delete("system/app/AdvSoundDetector_2015/AdvSoundDetector_2015.apk");
    
    run_program("/sbin/busybox", "unmount", "/system");
    run_program("/sbin/busybox", "unmount", "/data");
    run_program("/sbin/busybox", "unmount", "/cache");

    3.
    How To Prepare an XML Editor Zip

    These zips require an sh script. For example, a script to change a line from "bikemode|globalaction" to false is as follows:

    Code:
    #!/sbin/sh
    sed -i 's/ConfigBikeMode>bikemode|globalaction/ConfigBikeMode>FALSE/g' /system/csc/feature.xml

    These were used for example in S8 TWHome zip. To have a working S8 TWHome on MagMa-NX without FC you have to change "support_nfc_hw_keyboard" from "true" to "false" in floating_feature.xml. For that case you need following script:

    Code:
    #!/sbin/sh
    sed -i 's/SUPPORT_NFC_HW_KEYBOARD>TRUE/SUPPORT_NFC_HW_KEYBOARD>FALSE/g' /system/etc/floating_feature.xml

    Such script editors are mostly beneficial for users that dont have root access to change files in root folder.
    To run such scripts, you also need extra lines in updater_script. Firstly, you need to copy the script to phone to be able to run it. So, you require a package_extract_dir function to copy files from zip to phone. For sh scripts, the de facto rule is to copy it into /tmp folder, since it will be removed after being executed. After copying file, you obviously need to give the correct permissions, which are set_perm(0, 0, 0777, "/tmp/xxx.sh"). Then, you execute the script with run_program line. Lastly, you remove the whole /tmp folder with delete_recursive. It looks like this:

    Code:
    package_extract_dir("nxteam/script", "/tmp");
    set_perm(0, 0, 0777, "/tmp/feature.sh");
    run_program("/tmp/feature.sh");
    delete_recursive("/tmp");

    For our example, the feature.sh was taken from S8 TWHome script, where the support_nfc_hw_keyboard was turned from "true" to "false".

    4.
    How to Prepare a VRTheme-Flashable Zip

    "Original VRTheme engine is copyright VillainROM 2011"

    To build a VRTheme flashable zip, you need to:
    1. Download an example VRTheme flashable zip
    2. Download and install Notepad ++ or Atom Editor
    3. Download and install 7zip File Manager


    VR in VRTheme, is abbreviation of Villain Rom, but not virtual reality. Now, in vrtheme engine, the developer has written a code that can directly change the files inside apk. As you know, apk is in a zipped format, as in, you can explore inside of it using a zip-folder viewing program. You can do it on android too. I am using Mixplorer file manager for android with its archive add-on for that case.

    Let's turn back to topic. As you can see, there are differences inside a decompiled apk and an apk opened via file/zip manager. Depending on app type, you can see classes.dex, classes2.dex, resources.arsc and etc in apk opened via file/zip manager. These include smali folder and values folder (for details, reader is referred to google). Other folders inside /res directory (like layout, anim and drawable) are open to editing via this method. Basically, this engine enters apk using zip archive, does editing inside it and then exits apk.

    I told above that the layout, anim and drawable folders are prone to changes via this method (examples are "Circle Checkbox MOD", "Hidden Button MOD" and "Center Clock MOD"). But dont think only they can be changed. No. If the changes are only inside smali or values folder, you can again use this method. But now, instead of changing some images in drawable or xml files in layout, you will have to replace whole that file (classes.dex, classes2.dex, resources.arsc and etc). This method was also used, in "Enable NavBar MOD" (explained in further below the paragraph).

    Differences in files flashed via vrtheme is that you have to use files extracted from inside apk, not use decompiled files. For example if you need to replace an xml inside an apk, you cannot use an edited xml decompiled from apk. You have to firstly compile the edited apk, then take that file out of that zip and place inside vrtheme zip. That is the only way for vrtheme edited apk to function normally.

    Inside the zip you will find nxteam folder, where you will see "icons" and "vrtheme" folders. You shouldnt touch vrtheme folder. You will place the files inside "icons" folder. Inside vrtheme folder, you will find installtheme.sh script, where you will see lines starting like these:
    Code:
    # start with /system/app
    ...
    # repeat for /system/priv-app
    ...
    # repeat for /system/framework
    ...
    # create restore zip from backup apks
    ...
    This means, the vrtheme can change apks inside these folders. When placing a file from inside an apk, you should not put a zipped or apk file. You have to put the file as extracted from compiled apk. An example from "Enable NavBar MOD":
    - Here, I needed to replace resources.arsc from edited framework (bools.xml inside values folder was edited) into framework-res.apk inside system/framework and replace icons of navbar from marshmallow with the ones from S8 inside systemUI.apk. So what I did was, I edited those apk, replaced in my phone, checked that they are working, then I extracted those files from inside compiled apk (since changes in framework-res were in values folder (vlaues/bools.xml), I had to replace whole resourses.arsc; whereas for systemUI the changes were only in drawable fikes inside /res/drawable which can be changed directly) and put inside required folders. I placed both framework folder and priv-app folder inside a "system" folder, then replaced the files that needed to be changed.

    Lastly, I dont advise changing updater-script inside META-INF folder of vrtheme flashable zips.

    5.
    How to Prepare an Aroma-Flashable Zip

    For this part, you can head to Flashable zip creator thread maintained by @Nikhil and @RajatPatel
    :eek: