Skip to content

Instantly share code, notes, and snippets.

ui_print("Formatting system...");
format("ext4", "EMMC", "/dev/block/mmcblk0p14", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p14", "/system");
ui_print("Extracting system...");
package_extract_dir("system", "/system");
ui_print("Creating symlinks...");
@echo off
@echo ###################################################
@echo ###################################################
@echo ###### ######
@echo ###### UltiMobile - Automated tar.md5 Maker ######
@echo ###### Version 1.2 ######
@echo ###### ######
@echo ###################################################
@echo ###################################################
echo.
D/use-Rlog/RLOG-RIL_ATD( 272): gUartPath = dev/ttyHSL0
D/use-Rlog/RLOG-RIL_ATD( 272): UART ttyHSL0 is not used by console
D/use-Rlog/RLOG-RIL_ATD( 272): read(//efs/FactoryApp/hist_nv) :
E/RIL-QMI ( 275): qmi_client [275]: unable to connect to server, errno=[2:No such file or directory], attempt=1
D/RIL-QMI ( 268): switch user for CTS
E/RIL-QMI ( 268): qmuxd: linux_qmi_read_sysfs_config: couldn't open file /sys/module/f_rmnet/parameters/rmnet_ctl_ch
E/RIL-QMI ( 268): qmuxd: linux_qmi_read_sysfs_config: couldn't open /sys/module/rmnet/parameters/rmnet_ctl_ch
D/RIL-QMI ( 268): qmuxd: skipping opening conn_id=0, enabled=0, open_at_powerup=1
D/RIL-QMI ( 268): qmuxd: skipping opening conn_id=1, enabled=0, open_at_powerup=1
D/RIL-QMI ( 268): qmuxd: skipping opening conn_id=2, enabled=0, open_at_powerup=1
This file has been truncated, but you can view the full file.
--------- beginning of /dev/log/system
I/CryptfsCH( 165): Device Encryption status is (0).
--------- beginning of /dev/log/main
D/DataRouter( 199): Main entered
D/DataRouter( 199): switchUser
D/DataRouter( 199): monitor_usb_thread
D/DataRouter( 199): server_init
D/DataRouter( 199): Initialise USB and start the thread
D/DataRouter( 199): dr_usb_init
E/DataRouter( 199): Opening of the USB File failed fd is -1 & errno is 2
This file has been truncated, but you can view the full file.
--------- beginning of /dev/log/system
I/CryptfsCH( 164): Device Encryption status is (0).
--------- beginning of /dev/log/main
D/DataRouter( 196): Main entered
D/DataRouter( 196): switchUser
D/DataRouter( 196): monitor_usb_thread
D/DataRouter( 196): server_init
D/DataRouter( 196): Initialise USB and start the thread
D/DataRouter( 196): dr_usb_init
E/DataRouter( 196): Opening of the USB File failed fd is -1 & errno is 2
Just testing this bish
Nathans-MacBook-Pro:platform-tools NPRussell$ java -jar apktool_2.jar b Settings
I: Using Apktool 2.0.0-Beta7 on Settings
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'AGPS_CAUSE_BAD_PUSH_CONTENT' has no default translation in /Users/NPRussell/Android/sdk/platform-tools/Settings/res; found: ar cs de el es fa fr hi hu in it iw ko ms nl pt pt_PT ro ru th tl tr vi zh_CN zh_TW
aapt: warning: string 'AGPS_CAUSE_NETWORK_CREATE_FAIL' has no default translation in /Users/NPRussell/Android/sdk/platform-tools/Settings/res; found: ar cs de el es fa fr hi hu in it iw ko ms nl pt pt_PT ro ru th tl tr vi zh_CN zh_TW
aapt: warning: string 'AGPS_CAUSE_NETWORK_DISCONN' has no default translation in /Users/NPRussell/Android/sdk/platform-tools/Settings/res; found: ar cs de el es fa fr hi hu in it iw ko ms nl pt pt_PT ro ru th tl tr vi zh_CN zh_TW
aapt: warning: string 'AGPS_CAUSE_NOT_SUPPORTED' has no default translation in /Users/NPRusse
: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Nathans-MacBook-Pro:platform-tools NPRussell$ apktool b setb15q setb15q.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
version: 1.5.2
apkFileName: Settings.apk
isFrameworkApk: false
usesFramework:
ids:
- 1
sdkInfo:
minSdkVersion: '19'
targetSdkVersion: '19'
packageInfo:
= false, this.getKey() = container
D/PreferenceGroup( 1806): addPreference, preference.getKey() = copyright, this.getKey() = container
D/Preference( 1806): onParentChanged, mParentDependencyMet = true, disableChild = false, this.getKey() = copyright
D/PreferenceGroup( 1806): addPreference, preference.getKey() = license, this.getKey() = container
D/Preference( 1806): onParentChanged, mParentDependencyMet = true, disableChild = false, this.getKey() = license
D/PreferenceGroup( 1806): addPreference, preference.getKey() = terms, this.getKey() = container
D/Preference( 1806): onParentChanged, mParentDependencyMet = true, disableChild = false, this.getKey() = terms
D/PreferenceGroup( 1806): addPreference, preference.getKey() = safetylegal, this.getKey() = null
D/Preference( 1806): onParentChanged, mParentDependencyMet = true, disableChild = false, this.getKey() = safetylegal
D/PreferenceGroup( 1806): addPreference, preference.getKey() = regulatory_info, this.getKey() = null