from multiboot.autopatchers.standard import StandardPatcher from multiboot.patchinfo import PatchInfo patchinfo = PatchInfo() patchinfo.matches = r"^KT-SGS4-(JB|KK)4.[2-4]-TW-.*\.zip$" patchinfo.name = 'Ktoonsez TouchWiz kernel' patchinfo.ramdisk = 'jflte/TouchWiz/TouchWiz.def' patchinfo.autopatchers = [StandardPatcher]
from multiboot.autopatchers.standard import StandardPatcher from multiboot.patchinfo import PatchInfo patchinfo = PatchInfo() patchinfo.matches = r'^AEL_GE.+\.zip$' patchinfo.name = 'Echoe AEL Google Edition kernel' patchinfo.ramdisk = 'jflte/GoogleEdition/GoogleEdition.def' patchinfo.autopatchers = [StandardPatcher]
from multiboot.autopatchers.standard import StandardPatcher from multiboot.patchinfo import PatchInfo patchinfo = PatchInfo() patchinfo.matches = r"^SHOstock-.*\.zip$" patchinfo.name = 'SHOstock' patchinfo.ramdisk = 'jflte/TouchWiz/TouchWiz.def' patchinfo.autopatchers = [StandardPatcher]
from multiboot.autopatchers.standard import StandardPatcher from multiboot.autopatchers.cyanogenmod import DalvikCachePatcher from multiboot.patchinfo import PatchInfo patchinfo = PatchInfo() patchinfo.matches = r"^cm-[0-9\.]+(-[0-9]+-NIGHTLY|-RC[0-9]+)?-[a-z0-9]+\.zip$" patchinfo.name = 'Official CyanogenMod' patchinfo.ramdisk = 'jflte/AOSP/AOSP.def' patchinfo.autopatchers = [StandardPatcher, DalvikCachePatcher]
from multiboot.autopatchers.standard import StandardPatcher from multiboot.patchinfo import PatchInfo patchinfo = PatchInfo() patchinfo.matches = r"^Smasher X.*\.zip$" patchinfo.name = 'Smasher X' patchinfo.ramdisk = 'jflte/AOSP/AOSP.def' patchinfo.autopatchers = [StandardPatcher]
from multiboot.autopatchers.standard import StandardPatcher from multiboot.patchinfo import PatchInfo patchinfo = PatchInfo() patchinfo.matches = r"^Slim-.*.zip$" patchinfo.name = 'SlimRoms' patchinfo.ramdisk = 'd800/AOSP/AOSP.def' patchinfo.autopatchers = [StandardPatcher]
from multiboot.autopatchers.standard import StandardPatcher from multiboot.autopatchers.jflte import GoogleEditionPatcher from multiboot.patchinfo import PatchInfo patchinfo = PatchInfo() patchinfo.matches = r"^Infamous_GE.*\.zip$" patchinfo.name = 'Infamous Google Edition' patchinfo.ramdisk = 'jflte/GoogleEdition/GoogleEdition.def' patchinfo.autopatchers = [StandardPatcher, GoogleEditionPatcher]
from multiboot.autopatchers.standard import StandardPatcher from multiboot.patchinfo import PatchInfo patchinfo = PatchInfo() patchinfo.matches = r"^aokp_hammerhead_.*\.zip$" patchinfo.name = 'AOKP' patchinfo.ramdisk = 'hammerhead/AOSP/AOSP.def' patchinfo.autopatchers = [StandardPatcher]
from multiboot.autopatchers.standard import StandardPatcher from multiboot.patchinfo import PatchInfo patchinfo = PatchInfo() patchinfo.matches = r"^Slim-.*.zip$" patchinfo.name = 'SlimRoms' patchinfo.ramdisk = 'd800/AOSP/AOSP.def' patchinfo.autopatchers = [StandardPatcher]
from multiboot.autopatchers.standard import StandardPatcher from multiboot.patchinfo import PatchInfo patchinfo = PatchInfo() patchinfo.matches = r"^cm-[0-9\.]+(-[0-9]+-NIGHTLY)?-[a-z0-9]+\.zip$" patchinfo.name = 'Official CyanogenMod' patchinfo.ramdisk = 'hammerhead/AOSP/AOSP.def' patchinfo.autopatchers = [StandardPatcher]
from multiboot.autopatchers.base import BasePatcher from multiboot.autopatchers.cyanogenmod import DalvikCachePatcher from multiboot.autopatchers.standard import StandardPatcher from multiboot.patchinfo import PatchInfo import multiboot.fileio as fileio import os patchinfo = PatchInfo() patchinfo.matches = r"^cm-.*noobdev.*.zip$" patchinfo.name = "chenxiaolong's noobdev CyanogenMod" patchinfo.ramdisk = 'jflte/AOSP/cxl.def' patchinfo.autopatchers = [StandardPatcher, DalvikCachePatcher] # ROM has built in dual boot support patchinfo.configs = ['all', '!dual'] class MultiBoot(BasePatcher): def __init__(self, **kwargs): super(MultiBoot, self).__init__(**kwargs) # Don't need to add, since it's not from the original zip file #self.files_list.append('dualboot.sh') def patch(self, directory, file_info, bootimages=None): # My ROM has dual-boot support built in, so we'll hack around that to # support triple, quadruple, ... boot updater_script = 'META-INF/com/google/android/updater-script' lines = fileio.all_lines(os.path.join(directory, updater_script)) i = 0
from multiboot.autopatchers.standard import StandardPatcher from multiboot.patchinfo import PatchInfo patchinfo = PatchInfo() patchinfo.matches = r"^Slim-.*.zip$" patchinfo.name = 'SlimRoms' patchinfo.ramdisk = 'falcon/AOSP/AOSP.def' patchinfo.autopatchers = [StandardPatcher]
from multiboot.autopatchers.standard import StandardPatcher from multiboot.patchinfo import PatchInfo patchinfo = PatchInfo() patchinfo.matches = r"^Slim-.*.zip$" patchinfo.name = 'SlimRoms' patchinfo.ramdisk = 'falcon/AOSP/AOSP.def' patchinfo.autopatchers = [StandardPatcher]
from multiboot.autopatchers.base import BasePatcher from multiboot.autopatchers.cyanogenmod import DalvikCachePatcher from multiboot.autopatchers.standard import StandardPatcher from multiboot.patchinfo import PatchInfo import multiboot.fileio as fileio import os patchinfo = PatchInfo() patchinfo.matches = r"^cm-.*noobdev.*.zip$" patchinfo.name = "chenxiaolong's noobdev CyanogenMod" patchinfo.ramdisk = 'jflte/AOSP/cxl.def' patchinfo.autopatchers = [StandardPatcher, DalvikCachePatcher] # ROM has built in dual boot support patchinfo.configs = ['all', '!dual'] class MultiBoot(BasePatcher): def __init__(self, **kwargs): super(MultiBoot, self).__init__(**kwargs) # Don't need to add, since it's not from the original zip file #self.files_list.append('dualboot.sh') def patch(self, directory, file_info, bootimages=None): # My ROM has dual-boot support built in, so we'll hack around that to # support triple, quadruple, ... boot updater_script = 'META-INF/com/google/android/updater-script' lines = fileio.all_lines(os.path.join(directory, updater_script)) i = 0