Hello all, first post here.
I've been working with Mortscript for a while now and I'm very happy with it.
Here's my attempt at a 3-script-pack. It should toggle my PND on/off in accordance to given AC power supply. But it doesn't work as expected,
especially the RunAt() seems not to work: only one event (the notify set in script ON_AC_POWER_LOSS) is executed by the scheduler, the notify set
in script ON_AC_POWER_DAEMON obviously is never executed by the scheduler. Anyone an idea?
Code:
# ON_AC_POWER_LOSS.mscr
#
# jwoegerbauer 09/04/2009
# GNU General Public License (GPL), Version 2, June 1991
#
#
# NO ERROR CHECKING IS DONE !!!
#
#ErrorLevel("off")
#
# Before using this script ensure file PowerNotifyFlags.ini
# is present and contains the following lines:
#
# [PowerOnOff]
# ACPower=1/0
#
#
Local()
#
#
# check for sufficient power or don't run anything and don't resubmit
If (BatteryPercentage() <= 35)
SleepMessage(5, "Battery level is low: " & BatteryPercentage(), "Power Warning", 1))
Exit
EndIf
#
# adjust to your needs
Set WAIT_SECS, 0
Set CHECK_BACK_SECS, 30 #must be equal or greater 10
Set PLAY_SOUND, 1
Set WAV_FILE, "\My Flash Disk\programme\TroNikPowerNotifier\chime_down.wav"
Set REG_POWER_HIVE, "HKLM"
Set REG_POWER_PATH, \
"System\CurrentControlSet\Control\Power"
Set INI, \
"\My Flash Disk\programme\TroNikPowerNotifier\PowerNotifyFlags.ini"
Set INI_SECTION, "PowerOnOff"
Set INI_KEY, "ACPower"
Sleep 100
#
# assume the device is running on external power and we unplug
# the usb-powered cable or engined off, and the power is re-supplied
# we should Cancel this script automatically.
# IMO this is a useful case when we use the device in the car in
# ignition mode and then start the engine.
#
# hence we implement now an additional power state listener (a sec timer)
While(%WAIT_SECS% > 0)
#
# yield 1 second
Sleep 1000
#
# query current power state
acPower = ExternalPowered()
If (acPower = TRUE )
# power is re-supplied
# therefore we don't go into Standby
Exit
EndIf
%WAIT_SECS% = %WAIT_SECS% - 1
EndWhile
#
#
If (not ExternalPowered())
#
#
Set ON_AC_POWER_DAEMON, "\My Flash Disk\programme\MortScript\ON_AC_POWER_DAEMON.exe"
#
# note: the turn OFF exe here defined must be the same as defined in file
# POWERNOTIFIER_PROMPT.mscr
#
#
Set TURN_OFF, "\My Flash Disk\SystemProgs\Sleep.exe"
Set TOGGLE_DISPLAY, "\My Flash Disk\SystemProgs\ToggleDisplay.exe"
Sleep 100
If ( %PLAY_SOUND % )
PlaySound( %WAV_FILE% )
EndIf
#
# On suspend mode we set ACPower=0 (OFF)
IniWrite( %INI%, %INI_SECTION%, %INI_KEY%, "0" )
Sleep 100
%INI_KEY% = "ExtPowerOff"
#
# read in registry value
ExtPowerOff = \
RegRead (%REG_POWER_HIVE%, %REG_POWER_PATH%, \
%INI_KEY%)
Sleep 100
#
# remember this value
IniWrite( %INI%, %INI_SECTION%, %INI_KEY%, ExtPowerOff )
Sleep 100
#
# set our corresponding registry value
# i.e. always turn off device in 1 second even if AC powered
# note:
# this will be revised laterly with ON_AC_POWER_RESUME script
RegWriteDword (%REG_POWER_HIVE%, %REG_POWER_PATH%, \
%INI_KEY%, 4)
Sleep 100
#
# kill old notification(s) to prevent overlap
RemoveNotifications( %ON_AC_POWER_DAEMON% )
#
# set new notify (will be processed in CHECK_BACK_SECS from now on)
ReRun = TimeStamp() + %CHECK_BACK_SECS%
RunAt( ReRun, %ON_AC_POWER_DAEMON% )
Sleep 100
#
#
# turn device into standby
Run( %TURN_OFF% )
#
#
EndIf
#
#
Exit
# ON_AC_POWER_DAEMON.mscr
#
# jwoegerbauer 09/04/2009
# GNU General Public License (GPL), Version 2, June 1991
#
#
#
# NO ERROR CHECKING IS DONE !!!
#
#ErrorLevel("off")
Local()
#
#
# adjust to your needs (seconds !!!!)
Set CHECK_BACK_SECS, 15
#
#
Set ON_AC_POWER_DAEMON, "\My Flash Disk\programme\MortScript\ON_AC_POWER_DAEMON.exe"
Set ON_AC_POWER_RESUME, "\My Flash Disk\programme\MortScript\ON_AC_POWER_RESUME.exe"
Set TURN_OFF, "\My Flash Disk\SystemProgs\Sleep.exe"
Sleep 100
#
#
# kill old notification(s) to prevent overlap
RemoveNotifications( %ON_AC_POWER_DAEMON% )
Sleep 100
#
# check AC power line state
If( NOT ExternalPowered() )
#
# set new notify (will be processed in CHECK_BACK_SECS from now on)
ReRun = TimeStamp() + %CHECK_BACK_SECS%
RunAt( ReRun, %ON_AC_POWER_DAEMON% )
Sleep 100
#
# set another new notify
ReRun = TimeStamp() + 5
RunAt( ReRun, %TURN_OFF% )
#
#
Else
#
# call our application (script)
RunWait( %ON_AC_POWER_RESUME% )
#
#
EndIf
#
#
Exit
# ON_AC_POWER_RESUME.mscr
#
# jwoegerbauer 09/04/2009
# GNU General Public License (GPL), Version 2, June 1991
#
#
#
# NO ERROR CHECKING IS DONE !!!
#
ErrorLevel("off")
#
# Before using this script ensure file PowerNotifyFlags.ini
# is present and contains the following lines:
#
# [PowerOnOff]
# ACPower=1/0
#
Local()
#
#
# adjust to your needs
Set PLAY_SOUND, 1
Set WAV_FILE, "\My Flash Disk\programme\TroNikPowerNotifier\chime_up.wav"
Sleep 50
#
# prevent ourselves from doing things more than once
If (ExternalPowered())
#
#
If (%PLAY_SOUND% )
PlaySound( %WAV_FILE% )
EndIf
#
#
Set INI, "\My Flash Disk\programme\TroNikPowerNotifier\PowerNotifyFlags.ini"
Set INI_SECTION, "PowerOnOff"
Set INI_KEY, "ACPower"
Sleep 100
#
# Read PowerFlag value
ACPower = IniRead( %INI%, %INI_SECTION%, %INI_KEY% )
#
#
If(0 = ACPower)
#
# set ACPower=1 (ON)
IniWrite( %INI%, %INI_SECTION%, %INI_KEY%, "1" )
Sleep 100
#
#
EndIf
#
#
EndIf
#
#
Exit
THX in advance
get dotfred's taskmanager here and check if your event gets installed.
your script seems to be very complex anyway. what do want to achieve?
@egoist6
Thanks for the advise: i'll test the TaskMgr you told me - hopely it runs
on Windows CE 5.0 Core too.
The goal of my scripts is to turn my PND into sleep mode when AC power
is gone off, and wake the device up when AC power is re-supplied.
[ Vielleicht treffen wir uns zufällig unbekannterweise auf der Wies'n? ]
jwoegerbauer said:
@egoist6
Thanks for the advise: i'll test the TaskMgr you told me - hopely it runs
on Windows CE 5.0 Core too.
The goal of my scripts is to turn my PND into sleep mode when AC power
is gone off, and wake the device up when AC power is re-supplied.
[ Vielleicht treffen wir uns zufällig unbekannterweise auf der Wies'n? ]
Click to expand...
Click to collapse
what is pnd?
the script should turn the device off when device runs on battery and goes below a specific bettery percentage level?
regarding wakup the device:
doesn't your device automatically wake up when acpowered?
there should be a registry key available.
apart from that your script does not run when switched off at least it runs for about 5 minutes after switching off, then the WM OS stops running apps.
[logisch - bin auf der wiesn - prosit!]
@egoist6 (and all people around the world)
PND is my abbreviation for PersonalNavigationDevice, sometimes also referred to as PNA i.e. PersonalNavigationAssistant.
The 3-scripts-package should turn the device off, regardless to current battery state or current registry settings ( and
without the need of pressing the power-button ), and reverse. All should be accomplished by software in reason for commodity.
All seems to work well, but the first time the device wakes up the display is turned on too, even when no external AC power is
supplied.
The debug-version of the scripts-package summarizes the actions performed as follows:
1253358425 ON_AC_POWER_LOSS entered
1253358427 ON_AC_POWER_DAEMON started
1253358427 ON_AC_POWER_LOSS exited
1253358533 ON_AC_POWER_DAEMON entered
1253358534 External power supply detected
1253358534 ON_AC_POWER_RESUME started
1253358534 ON_AC_POWER_RESUME entered
1253358535 ON_AC_POWER_RESUME exited
1253358536 ON_AC_POWER_DAEMON exited
Hence it's obvious that in script ON_AC_POWER_DAEMON in branch
If (NOT ExternalPowered())
...
Else
the instruction
# turn device again into standby
Run( %TURN_OFF% )
never will be executed - and that's my question: WHY NOT?
---------------------
BTW: dotfred's taskmanager isn't Windows CE 5.0 Core compatible.
try with longer delay between adding those two notification events.
maybe the second events does not get installed.
Dear jwoegerbauer,
Thank you very much for your inspiration. I have been trying to find a not so difficult way to implement a similar solution in my PND. After seeing your work, it seems Mortscript would be a wonderful solution.
I usually run IGO8 on my PND and IGO8 has a built-in Standby function when external power off. Hence, I am more interested in the "external power on resume" part of your script. Just wondering whether I can run "ON_AC_POWER_DAEMON" and "ON_AC_POWER_RESUME" independently from "ON_AC_POWER_LOSS".
In addition, there is some mentioning of
1 POWERNOTIFIER_PROMPT.mscr
2 Sleep.exe
3 ToggleDisplay.exe
in your scripts. I did several Google search, but cannot find any source of those executables. Is it possible to pack a full working version (include all the scripts and executables used) for me to try and appreciate your amazing work please?
Thanks in advance.
http://www.mediafire.com/file/jodzwgn5tnc/ON_AC_POWER_TEST.zip
Many thanks for sharing the package. I have further modified them to make the DAEMON running continuously. The scripts will now perform as follows:
Ask the user whether they want to activate this Auto Power On feature.
If yes
The device goes to Sleep when no external power applies; and
The DAEMON will keep searching until external power detected and
Wake up the device
p.s. to exit from the loop, I use the Power Button to turn off and restart the device.
Code:
# ON_AC_POWER_MENU.mscr
# Implemented on MortScript (www.sto-helit.de)
# 2009-12-07
# Karako
# GNU General Public License (GPL), Version 2, June 1991
ErrorLevel("off")
Local()
Set ON_AC_POWER_DAEMON, "\SDMMC\ON_AC_POWER\ON_AC_POWER_DAEMON.exe"
Set RUN_APP, "\SDMMC\igo8\igo8.exe"
Set LOOP_SECS, 11
options[1] = "Skip Auto On/Off"
options[2] = " "
options[3] = "Engage Auto On/Off"
Sleep 100
SetChoiceEntryFormat(20, 16, "Verdana")
Choice("Auto_On_Off_Option", \
"^NL^AC Power Auto On/Off^NL^Choose whether you want the GPS device to be^NL^automatically fired up when External Power is supplied^NL^^NL^", \
options)
Case( 1 )
# do nothing
#
Case( 2 )
# do nothing
#
Case( 3 )
# kill old notification(s) to prevent overlap
RemoveNotifications( %ON_AC_POWER_DAEMON% )
Sleep 100
# run application
Run( %RUN_APP% )
# Wait for APP finish loading
Sleep 45000
ReRun = TimeStamp() + %LOOP_SECS%
RunAt( ReRun, %ON_AC_POWER_DAEMON% )
Sleep 100
Exit
EndChoice
# kill old notification(s) to disable this function
RemoveNotifications( %ON_AC_POWER_DAEMON% )
Sleep 100
Run( %RUN_APP% )
Exit
# ON_AC_POWER_DAEMON.mscr
# Implemented on MortScript (www.sto-helit.de)
# based on the script from jwoegerbauer 09/04/2009
# GNU General Public License (GPL), Version 2, June 1991
# modified by Karako 2009-12-07
ErrorLevel("off")
Local()
# adjust to your needs (must > 10 seconds !!!!)
Set LOOP_SECS, 11
Set ON_AC_POWER_DAEMON, "\SDMMC\ON_AC_POWER\ON_AC_POWER_DAEMON.exe"
Set ON_AC_POWER_RESUME, "\SDMMC\ON_AC_POWER\ON_AC_POWER_RESUME.exe"
Set TURN_OFF, "\SDMMC\ON_AC_POWER\Sleep.exe"
Sleep 300
# kill old notification(s) to prevent overlap
RemoveNotifications( %ON_AC_POWER_DAEMON% )
Sleep 500
# check AC power line state
If( NOT ExternalPowered() )
# set new notification queue
ReRun = TimeStamp() + %LOOP_SECS%
RunAt( ReRun, %ON_AC_POWER_DAEMON% )
Sleep 100
# turn device again into standby
Run( %TURN_OFF% )
Else
# call resume script
RunWait( %ON_AC_POWER_RESUME% )
Sleep 1500
EndIf
Exit
# ON_AC_POWER_RESUME.mscr
# Implemented on MortScript (www.sto-helit.de)
# based on the script from jwoegerbauer 09/04/2009
# GNU General Public License (GPL), Version 2, June 1991
# modified by Karako 2009-12-07
ErrorLevel("off")
Local()
# adjust to your needs ( must > 10 secs)
Set LOOP_SECS, 11
Set ON_AC_POWER_DAEMON, "\SDMMC\ON_AC_POWER\ON_AC_POWER_DAEMON.exe"
Set PLAY_SOUND, 0
Set WAV_FILE, "\SDMMC\ON_AC_POWER\notify.wav"
Sleep 100
If (ExternalPowered())
If (%PLAY_SOUND% )
PlaySound( %WAV_FILE% )
EndIf
# set new notification queue
ReRun = TimeStamp() + %LOOP_SECS%
RunAt( ReRun, %ON_AC_POWER_DAEMON% )
Sleep 100
#
EndIf
Exit
However, I experienced the same problem that the display will turn on and off itself for about 1 to 2 seconds in every cycle (about 10 seconds in my settings) when external power is not attached.
Is it possible to do a Registry tweak to force the display off when the device just wakes up by the Daemon to check for external power please?
I am thinking Registry keys like
HKLM\SYSTEM\CurrentControlSet\Control\Power\State\BacklightOff
or
HKLM\SYSTEM\CurrentControlSet\Control\Power\State\ScreenOff
Since I seldom work with Registry, really appreciate for anybody's guidance and hints.
@karako,
First of all you got the logic! You experienced the same inadequacies as me.
Secondly here's why I startet the project: For reason of comfort (when in car) I wanted to have my PND automatically put into sleep mode, when external power supply is lost, and in reverse put back again into active mode if external power is re-supplied, all this without the need to press the device's power button and regardless to device's power settings. Hence I didn't implement a menu.
Hope with you things will get working!
Hi jwoegerbauer,
Further research on the subject and review again deeply on your previous advice and work, gives me a strong feeling that the CeRunAtEvent could be a much better and straight forward approach in terms of power management.
Then I found this interesting article with sample codes:
http://www.codeproject.com/KB/mobil...&noise=3&sort=Position&view=Quick&fr=26#xx0xx
Unfortunately, when I execute the sample program (WakeUpStart.exe) in my WinCE 5.0 PND (Compact Framework 2.0 installed) and Windows Mobile 5.0 PDA phone (Compact Framework 3.5 installed), both experienced the same problem - the ACCEPT button doesn't work in the program and hence I cannot execute it.
The program was written in C#, a new language for me. I will try to trace the problem, but without Visual Studio IDE, I am afraid I can hardly debug it myself.
Let's see if anybody would be interested to carry on from here.
Oops. Apparently, some experts had already found that:
- ... not every event can be handled with CeRunAppAtEvent
- ... I assume it is OEM related and the implementation of these events is not mandatory
- ... did try to use ON_AC_POWER and it did not work
above extracted from the thread: http://forum.xda-developers.com/showthread.php?t=558152
This takes us back to the "check the PowerStatus structure for ON AC POWER" approach.
@karako,
there is a (freeware) tool for observing and fixing notification event queue on Windows Smartphone and Windows PocketPC devices: HooverNI.
http://code.google.com/p/hoover-ni/
Hope this hint will be useful for you.
any news on this issue? i am considering changing my GPS. and i think of WIN CE device. only thing that bothers me is automatic turn on and off with car ignition.
Hi, did anyone figure this one out? I have pocket navi with Windows CE 6 and the last script on 1st page works perfectly .. but only in Windows desktop, when I change to GPS overlay it doesnt work anymore, how can I make it work?
Hello XDA users, deciding to post this here because i figured it could get some use/i could get some feedback
(Placing it in general because i honestly dont think it could work anywhere else)
Basicly over the past few months ive been taking my multiple script for android, & rewriting/compressing into 1 library
& adding features/functionality that i consider useful. This script has never touched a PC, & only been written on android
(BTEP & DroidEdit Pro), & is designed to:
A.) Extend the basic terminals functionality.
B.) Extend customized scripts, & making scripting semi-easier.
C.) Offer multi-device compatibility while keeping origional functionality.
The script is capable of determining all critical variables on initialization, from
partitions (both mount name, & partition number can be easily obtained), OS/ANDROID version/type
Execution mode (source/exec), Autodetect instigator (Eg: boot, script, shell, etc.) If present, Execution level,
Etc, seamlessly before scripts execution, & modify its own execution accordingly.
The script can be used in a similar method to busybox (Eg, can be called directly, or through symlink
(Symbolic link) using functions name, & allows adding multiple switches at runtime which can totaly
Customize execution without touching a configuration (yes, it does support configurations).
Or for script/shell, can be sourced for max performance & increased functionality.
This script is designed to be as native as possible, & only requires busybox/toolbox, & bash (4.1+)
(Systems default/sh) is not sufficient.
Readme (1/2, Read 2nd post):
Code:
----------------------------------------------------------------------------------------------------
Table of contents:
1.) Basic information
2.) Installation
3.) Usage
3a.) Basic commandline switches
4.) Included functions & definitions (Execution)
4a.) Included functions & definitions (Source only)
##########################################################################################################
Basic Information 1.
SuperBox is a multi-call, multi-execution function library (think busybox with bash & sourcing),
built on ANDROID, For ANDROID, Designed to increase script efficiency, & offer "unstandard"
multi-device functionality, & some functionality considered "missing" from ANDROID/Linux by default.
##########################################################################################################
Installation 2.
Superbox is designed to be easy to install/use, and requires very few steps/dependancies to install.
Before installing, please check this small list of prerequisites & insure you have the required
dependancies to ensure correct installation, the following are required:
a.) BASH 4.x (4.0+) installed & linked to '/system/bin' & '/system/xbin', Systems default is not
sufficient & cannot support SuperBox in all needed areas.
b.) BusyBox 1.18+ (tested on v1.19.4), Please ensure toolbox is also fully installed.
c.) Device must be rooted & running S-off (insecure kernel, read kernel documentation)
This part can be bypassed if installing through recovery. Some features will be limited.
d.) SuperBox is a terminal/script expansion toolkit, as such, a terminal emulator (Such as BTEP aka:
Better Terminal Emulator Pro, or similar) is recommended for optimal usage.
if your device can meet the above requirements, you are ready to install.
To install, simply move the downloaded script (superbox, or superbox.txt) to either '/system/bin', or
'/system/xbin', if the downloaded file has an extension, remove it.
Set permissions to 755 (rwxr-xr-x), Once complete, open your preferred terminal, & type 'su -c bash'
once in bash, type 'superbox' (or whatever you named the script), or 'superbox --info', if the operation
succeeded without error, you can begin full installation, Simply type either:
'superbox --install', or 'superbox --install <FUNCTION> to fully install, or install specific function.
See section 3a (Basic commandline switches) for full list of available switches, or section 4
(Included functions) for list of executable functions.
##########################################################################################################
Usage: 3.
SuperBox allows multiple methods of execution, & preferred method is left completely up to the user.
Sourcing:
SuperBox can be sourced either in terminal, or script, using something similar to
'. superbox', or '. ./superbox' if kept in unstandard path. if sourcing in terminal & script appears
to continue to execute, Try adding '--noboot' switch (see section 3a).
Script allows extra functionality not typically available in execution mode.
Execution:
this is the most typical use for superbox, & as easy as typing 'superbox <function>' or '<function>'
when fully installed. For list of all available functions, use 'superbox --list' to generate full list
of available applets, Please note that when using '--list' or even app count when using '--info' is
only listing execution type applets, Source functions are NOT included in this list.
----------------------------------------------------------------------------------------------------------
Basic commandline switches 3a.
SuperBox allows adding additional variables through commandline to modify per-execution variables,
Without editing a configuration, or worrying about recurrent changes. These variables effect a wide
range of scripts functions, & are available in 2 levels,
1.) SuperBox switches:
These switches effect the script as a whole, & are listed/added by the double-hyphon prefix ('--')
These are the only switches listed in this readme, for individual functions switches, please use
'superbox <function> --help' or '<function> --help' if fully installed.
1.) Function switches:
These switches only effect the function being processed, & are listed by a single-hyphon ("-"),
These are not available in all functions. Function switches should be used after superbox switches.
SuperBox switches:
The following MUST be passed as MODE & must be called directly from SuperBox, Eg:
'superbox --<MODE>', Not capable of being passed as variable.
install | Usage: '--install <FUNCTION> --installto={PATH}', Generates symbolic link for FUNCTION in
| PATH, if no FUNCTION specified, installs all, if no path, Default is used.
remove | Usage: '--remove <FUNCTION>', Opposite of above, Removes link for specified function.
| Scans system to find symbolic link, use '--full' switch to scan full recursive.
chkbb | Checks install status of busybox, & capable of generating missing links, use '--fix' to
| auto repair any/all missing links.
version | Displays installed SuperBox's version.
list | Lists all included execution-capable functions included in current version.
The following are to be used after mode (function listing), Eg: 'superbox <MODE> --<SWITCH>' or
'<MODE> --<SWITCH> when fully installed.
debug | Forces debugging on script (uses 'set -x' command), applies to script as a whole.
bb/tb | Pre-determines which busybox/toolbox versions to use, Must be used as '--bb=/path/to/file'
| or '--bb/path/to/file', Specifying invalid input will restore defaults when executing.
color | Default Colors for modes allowing color. sets color based on position in strings, Eg:
| '012345678' (upto 9 characters) where: 0=Error, 1=Note/Highlight, 2=Note2, 3=Normal,
| 4=File, 5=Path, 6=Link, 7=Background, 8=border, use pound (#) in place of unused spacing.
| for full listing of colors, Please see 'manfunc Col'
nocolor | Overrides above switch, & disables color in all segments.
installto | Modify install location for current component. (Used as '--installto={PATH}')
| MUST be used after install mode (Effects most file-based sections).
file | Usage: '--file="{/FULL/PATH/TO/FILE}"', used to set file path/name for specific segments
| Only effects segments where single-file processing is key.
local | Usage: '--local=\"{PATH\"', Assign path to use as local directory.
home | Usage: '--home=\"{PATH\"', Assign path to use as home directory, Use above over this.
time | Usage: "--time='{FORMAT}'", Specify time format (see '--timef'), (used for Lecho, etc.).
timefull | Usage: "--timef='{FORMAT}'", Specify full time/date format for script. %Y=4-digit year,
| %m=2-digit month, %d=2-digit day, %H=2-digit hr (24hr), %l=hour (12hr), %M=2-digit min,
| %S=2-digit seconds, %h=print month, %l=hour (12hr), %a=3-char day, %c=full (default).
log | Usage: '--log=<LEVEL>', set logging level/mode for script. *BROKEN, DONT USE*
logfile | Can only be used with '--log' greater then 1. Usage '--logfile=\"{PATH/FILE}\"'
tmpfile | specify temporary file to use for processing some segments.
tmppath | specify temporary path to use when needed for processing some segments.
list | Lists all included execution-level functions in current build.
help | Use immediately after <APPLET> to display information & usage on selected applet, Some
| applets will only display partial information by default, Use '--full' after help to
| display full information on specified function.
fix | Multipurpose switch, Allows bypassing non-critical errors, allows repairing any/all
| fixable errors, & serves to aid some functions.
silent/q | silences most (non-critical) output from STDOUT.
##########################################################################################################
*NOTE
some functions might not be considered 'main stream' or correct, but through trial & error, seem to work
Best with the chosen method.
Some functions are a WiP, might not be functioning correctly.
If you experience an issue, or have a suggestion, Please let me know.
**EDIT**
Updated, most functions should work correctly now.
Readme (2/2):
Code:
Included Functions (Execution) 4.
alignapk <file>
> Automaticly align <file> if specified, or all installed apks otherwise. can specify specific apk, or
simply apk name if apk is installed. Ex: 'alignapk systemui' is equivalent to
'alignapk /system/app/SystemUI.apk", extension (apk) is not needed, if path is specified, must be case
specific, otherwise alignapk will attempt to process case insensitive. Script will generate a SQL
database by default, but can specify text-based database with customized settings (See default config)
bam <Process1> <Process2>...
> kill any running processes matching specified input. Partial matches are supported, Eg:
'bam media' can kill 'android.process.media', aswell as any/all packagenames including 'media'
baseext <FILE> <MODE>
> echos the base extension of <FILE> if no MODE specified, or filename without extension if <MODE> is 1.
Anything else will display File with 'MODE' as extension, Eg: 'baseext ex ample' will return ex.ample
bar <var1> <var2> <var3>..
> displays accurate progress bar on screen, with the default terminal width as overall length.
Supports multiple customizable parameters. Only supports duration & strict percentage in current
build, More uses will be added in future builds (Eg: watch process, count, etc). Supported switches:
-t | Specify total time to run the bar, Usage: '-t=' where '' is scripts duration.
-p | Specify strict percentage to display (dont count) Eg: '-p60' will display 60% progress & quit.
-e | Specify displayed text when running the bar, multiline supported, can use script variables.
-d | Specify ASCII character to use for generating progress bar. default is '='.
-w | Override default width to use when processing bar, default is terminals width.
-n | Show progress Percentage (%) rather then progress bar (-b works as the oppisite)
-s | Display incrementing progress bar (jumps by ~1%) rather then the per-increment jump.
-k | same as '-s', but shows percentage at end of bar. (will increase exec time)
basepath <PATH>
> echos the base path or mount point (closest to rootfs) of <PATH>
byte <BYTES>
> Automagicly calculates Bytes(B)/kilobytes (Kb)/Megabytes (Mb)/Gigabytes (Gb) based on
on given Number in 'BYTES' on the *1024 principle, Eg: 'byte 1024 = 1Kb', Supports decimal places,
& maximum decimal points can be modified by 'MaxDec=' variable. Uses rounding to strip access.
Using '0' as 2nd variable will remove non-numaric characters from return (Eg: 'Kb/Mb/Gb/etc.).
Using '1' as 2nd variable will seperate non-numaric & numaric characters (Eg: '1Kb' would b '1 Kb').
calc <VAL EXPR VAL> or echo "VAL EXPR VAL"|calc
> similar basic functionality to 'bc', mini calculator script using 'awk' & 'printf', Supports Piping,
(function|function), float integers (decimals) & multiple types of arithmatic.
chrg_type <MODE>
> Quickly determines where the device is currently getting power from. Following modes are supported:
0 = Quiet output, returns 0-2 for Battery/AC/USB respectively.
1 = similar to '0', but displays code Aswell as return code.
2 = displays source (Eg: Battery/AC/USB), all other modes will simply display string.
chkdir <PATH> <PERM> <OWNER.GROUP>
> Checks existance of <PATH>, calls 'mkdir -p' if not exist, & sets permissions <PERM>
(numaric) when creating, & sets owner/group if spedified.
chksize <MOUNT> <CHECK> <ECHO>
> Checks if <MOUNT> has <CHECK> mb free (good for checking before extracting/installing). Returns 1/0
accordingly. set <ECHO> to 0 to use errorcode & disable echoing to STDOUT (if statment, (echo $?))
chkstate <INPUT> <EXEC_CMD>
> Determines if <INPUT> is available for script use, able to detect functions, aliases, links, binaries,
files, Variables, etc. specify <EXEC_CMD> to exwcute <INPUT> if detected. (binaries/functions/etc.)
Col <STRING> <MODE> or Col <STRING>
> Used for colored text Replace 'Col' with either: Bla(ck), Blu(e), Red, Gre(en), Whi(te), Mag(enta),
Cya(n), Yel(low). Ex: 'Bla "sample text" 1', Available modes are: 1=Bold, 2=Underline, 3=colorfill
(switches background/text), 4=no newline, 5=bold (no newline), 6=underline (no newline).
columns <MODE>"
> prints available columns, Set <MODE> to 1 to print number of lines (height of prompt).
conv <celsius|fahrenheit> <TEMP>, or conv <F> <T> "<STRING>"
> a rather bloated conversion script capable of converting tempuratures, or string to various formats.
-When converting tempuratures, both 'conv c 100', & 'conv 100c' are correct & will output sum
-When converting string, 'F' (From) & 'T' (To) must be specified to begin calculation.
'F' & 'T' can be one of the following: 'a' (ascii) (normal text), 'b' (binary, outputs 8-digit binary
code for each character specified), or 'h' (hexadecimal), when processing from hex, 4th variable
specifies preceeding character(s) to add to each return (default is '\x'), if set to 0, no characters
are added to string, only 2-digit hex is returned, For example: 'conv a h hello' (no 4th variable)
returns '\x68\x65\x6C\x6C\x6F', while 'conv a h hello 0' returns '68656C6C6F'.
divider <LENGTH> or divider -d<CHAR> <LENGTH>
> generates a bar (String of character(s) or CHAR if set), <LENGTH> characters long, if no LENGTH set,
total width of terminal window is used. Use '-d<CHAR> to customize character, Default is pound ('')
Eco <ABCDE> "TEXT"
> Echos <TEXT> with specific atributes, based on <ABCDE>, where: A=Line only [0|1], B=no newline[0|1],
C=(Bold[1], Underline[2], None[0]), D=Text color, E=Background color. Valid colors include:
0 - black, 1 - Red, 2 - Green, 3 - Yellow, 4 - Blue, 5 - Magenta, 6 - Cyan, 7 - White
ex <path/to/file>
> Extract archive to designated path, & even allows recompiling. use '--help' for more information.
exist <INPUT>
> Attempts to detect input & gives return code depending on findings Eg: 3=Dir, 2=Link, 1=File, 0=none.
fdate <INPUT>
> Same usability as 'busybox date -r', Returns modified date of <INPUT> Output can be adjusted
using '--timef' switch.
FixCl
> Returns color to normal, regardless of user-preset defaults.
getblock <MOUNT_NAME>
> Simply echos the block ID of requested point, saves a lot on scripting & allows true multi-device
compatibility. Usage as: 'getblock system'
gnasty <OPTIONS> <PATH>, Or 'gnasty <PATH>'
> Searches for files/paths with names containing invalid characters such as
[+ { ; " \ = ? ~ ( ) < > & * | $], Prints any/all links, includes full path by default. Modes include:
-d - specify directory, used as '-d={PATH}', not needed in most cases.
-m - Max search depth from directory, cannot be less then 1 (default). Usage: '-m' or '-m='.
-i - Display files inode (index number), useful for looping output to irm.
ipath <path>
> Will auto-correct <path> to case-sensitive (if exist) when input does not match case
(case-insensitive path correction through function)
irm [-irRfna] FILE, or 'irm FILE'
> remove (unlink) FILE using inode (index number). used for files/paths with illegal
characters in the name, (Eg: '+ { ; \" \\ = ? ~ ( ) < > & * | $'). The following modes are supported:
-i - Always prompt before removal | -f - Never prompt before removal
-r|-R - Remove file(s)/path recursively | -a - Only use name (no inode, replicating busybox rm)
-n - Ignored, used solely for script use.
is_num <STRING>
> Checks if 'STRING' is numaric (Contains only numbers), Returns 0 if true, 1 otherwise.
Can use '1' as second variable to echo result aswell as return code, eg 'is_num <STR> 1'.
lc "<INPUT>"
> Switches input to all lowercase, supports whitespace/newline, no limitations.
Lecho <MODE> <TEXT> <FILE1> <FILE2>
> Used to pipe text to log (while removing color/string data) & terminal.
If no file specified, Simply replicates echo with log header. Supports the following headers:
1=' : ' (default), 2='[!]' (error), 3=' > ' (note), 4=' ' (continuation).
lperm <PATH|FILE> <MODE>
> Execute user pre-generated configurations (mperm) based on input, can choose to either restore whole
path to configured state, or simply process 1 file from said config.
set <MODE> to 0 to disable recursive loading (dont descend into subdirectories).
manfunc <function>
> Displays available information for selected function, Operates identical to: '<function> --help'.
many <TEST> <STRING>
> Determine how many times <TEST> appears in <STRING>
md5 <string>
> Generates md5 hash from string (or filename).
mk <path/to/directory_or_file_to_archive>
> Use 7-Zip to build specified archive efficiently through script. While keeping full functionality
(and even adding), Supports 7z, zip, xz, bzip2, gzip, tar, & wim archive types. use '--help' for info
mod <OPTION> <var1> <var2>
> Modifies particular segments of device: Following options are supported:
b | brightness Modifies LCD (Display) brightness NOT supported on some devices.
display | Modify current pixal density, Eccepts numarical value (like lcd.density in build.prop),
Changes are made on the fly, & will reset all open applications, use with caution, can use
'reset' to reload default density from build.prop, Usage: 'mod density <value>'.
mperm <PATH|FILE> <MODE>
> Generate configuration for specified input, recording type, Permissions, Owner & Group, These configs
can then be loaded at any point specified, or ondemand using lperm, Supports the following modes:
0=non-recursive, 1=ignore errors,
myip
Display devices current IP, using nothing but wget, making it the trimmest ip oneliner around :)
ofcourse, internet connection is required.
nocl <STRING>
> Removes color variables from <STRING> to allow recording dato to log.
pinfo <NAME> <MODE>
> Neatly Prints process information for specified <NAME>, Supports the following modes:
1=Display PID (replicating pgrep), 2=Displays processes full Name, 3=Displays Parent Ppid,
4=display all options, 5=Display processes adj lvl, 6=Displays current State, S=sleeping, R=running,
7=Displays Owner, 8=Displays the Group (if set).
pos <VAL> <STRING>
> Displays start point(s) of 'VAL' in string, If multiple instances are detected, prints all starting
points seperated by customizable delimiter (Default is " " (whitespace)). If using custom delimiter,
('-d' switch), switch MUST be passed as first variable & specified as '-d%' where '%' is the new
character to use, Eg: instead of: 'pos hi hellohiwatup', Use: 'pos -d% hi hellohiwatup'.
Only effects multiple occurences of 'VAR'.
printl <FILE> <START> <END>
> Prints specific line(s) from FILE, If END is unspecified, prints 1 line, Otherwise prints from 'START'
to 'END', Using 'EOF' for 'END' will print to end of 'FILE', Using 'C' for 'START' will count lines.
pwr <mode>
> Advanced power control, with additional modes, which should work on multiple devices, Available modes:
reboot | reboot device, can use 'reset' aswell with same effect. can use 'hot' as 3rd variable to
perform hot reboot (still performs sync), simply reboots OS without rebooting kernel.
off | shutdown device, does exactly as stated.
download| Reboot into download mode. Might not be supported on some devices.
recovery| Reboot into recovery mode. Might not be supported on some devices.
wipe | Wipes cache/dalvik, then performs full reboot.
fc | Set fast-charge mode (needs kernel support), Eg: 'pwr fc 1' to enable, 'pwr fc 0' to disable
Using 'pwr fc' will display status, or support if unsupported.
rand <LENGTH> <MODE>
> Output random string 'LENGTH' characters long (Default is 32), if 'Mode' is unspecified, or is
Invalid, Output will consist of all printable characters. The following modes are available:
0 - Only print Letters (Upper & lower case) & digits
1 - Only print Letters (Upper & lower case)
2 - Only print digits
3 - Only print letters (Upper case)
4 - Only print letters (Lower case)
readperm <STRING>
> Opposite of 'showperm', displays permissions level from readable string. Easier to use switch
(& even switch again). Sticky/"special" fully supported. Again, 'switch' is easier/cleaner to manage.
remount <MODE> <0|1>
> remounts system & rootfs in specified mode, Second variable in string is unneeded But determines
check state, 1 will use rootfs as check, 0 will use '$System' (default), Use '--help' for more info
rootrw/rootro
> Mounts 'rootfs' as R/W (Read/Write) & R/O (Read/Only) respectively, similar to miniscripts included
in most Roms, With the exception that it utilizes the autodetection available in script, & should
work on any device/rom.
setlength "<STRING>" <POSITION> <LENGTH>
> displays the adjusted value of <STRING>, & should be under <LENGTH>,
autocorrects/centers based on given input, If no length is specified, 'Cw' (Common width) is used,
or scripts cefault. for position, -1 is right, 0 is left, 1 is center.
setown <FILE|PATH> <OWNER.GROUP>
> Glorified chown, With logging support.
setperm <FILE|PATH> <PERM>
> Glorified chmod, With logging support.
setprops
> Similar functionality to 'sysctl' Set system properties from configuration.
Can use '--file' to Specify reference file.
setval <VARNAME> <POINT> <FORCE> <POINT2> <FALLBACK_VALUE>
> Set values on system files, up to 2 points can be set for a variable, Can also specify fallback
If no value set in VARNAME. and no default, VARNAME, is used to reference the variable in error
sha256/sha512 <string>
> Generates sha512/sha256 encoded hash from string, similar to 'md5' function.
showperm <PERM_STRING>
> Displays permissions string in readable form from input, sticky/"special" notes are fully supported.
Switch is easier to use & capable of doing both.
size <MODE> <POINT> <[1,MB|2,AUTO|*,KB]>
> Echos the value of specified mode on specified <POINT> (modes 1-4 are for mount points).
If incorrect mount specified, Returns errorcode. Automaticly fixes missing '/' on specified mount if
not present. Third variable specifys out format. 1 is Mb, 2 is auto (kb/mb/gb with tags), * is kb
only (default), Following Modes are supported: 1=Full size, 2=Used space, 3=Used %, 4=Free space,
5=Size (use for files/paths, will not work on mounts, added '5' on request).
stype <INPUT>
> Defines file type & offers return code based on existance. Returns the following:
0=no input, 1=File, 2=Function, 3=Keyword, 4=Builtin, 5=Directory, 6=Variable, 7=Unknown/not exist.
switch <STRING>
> Switch permissions string from either human readable (rwxrwxrwx) or Numaric (777), or vice versa.
sysrw/sysro
> Mounts '/system' as R/W (Read/Write) & R/O (Read/Only) respectively, similar to miniscripts included
in most Roms, With the exception that it utilizes the autodetection available in script, & should
work on any device/rom.
sput <mode> <option1> <option2>
> large function resembling 'tput', rebuilt for 'light' or dumb terminals, should work for most scripts
requiring tput, use 'sput --help' for more information on available options.
toggle <string>
> Checks if <string> can be considered a "true or false" statement, eg: 'toggle 1' would be '0',
'toggle yes' is 'no', 'toggle on' is off, etc. Uses 'togglevars' string. case inspecific.
tree <path>, or tree --arguments -triggers <path>
> Displays directory information based on user input, if no input specified, Current path is used.
Allows using 'tree.cfg' in '$LocalPath' directory. Use '--help --full' for more information.
truncp [-f] <path> <length> <symbol>
> Truncate <path> to <length>, & prepend <symbol> to beginning when truncated. Default <symbol> is ".."
If '-f' switch is used, Path is truncated to <length> specificly, no exceptions, otherwise splits at
closest base to <length> (default length is 20), Eg: 'truncp /system/etc/SuperBox 12' will return:
'../SuperBox', & 'truncp -f /system/etc/SuperBox 12' will return '..c/SuperBox' (12chars precisely)
Output must never exceed <value>, Truncation does not occur unless <path> is over <length>.
uc "<INPUT>"
> Switches input to all uppercase, supports whitespace/newline, no limitations.
Included Functions (Source Only) 4a.
Please note that the functions listed here might not be a complete list of available applets for use in
source mode, & the applets listed here are unavailable in execution mode due to limitations of bash
script handling (Only available when sourced or sourced through script).
cd <path>, or cd <var> <path>
> works as a replacement/extension to shell's builtin. can auto-cd to files path if file is specified
& supports additional (unstandard) functionality, while keeping origional functionality fully intact.
Supports the following variables:
> -l | follow links to home path. (eg: 'cd /etc' would cd to '/system/etc'), defaults as on.
> -p | dont follow links to home path (oppisite of above, cds to given input).
> -c | process case insensitive (Eg: 'cd /SYSTEM/ETC' would cd to '/system/etc') Default is off.
> -m | make path if path doesnt exist, then cd to created path (nofail cd).
Variables can be passed either united, or seperate, & in any order, Eg: '-l -p -m -c' or '-lpmc'
error <id> <string1> <string2>..
> prints error message to stderr based on error 'id'. available ids can vary with build & it is not
recommended to call this function, for compatibility reasons, only ids that are garunteed to remain
unchanged are, '-1' (self-defined, no error notice), & '3' (self-defined with error notice).
Error ID & definitions start at line ~157, & continue to 'END_ERR' & can be previewed with 'printl'.
getsizes <base-size>
> used for generating spacing when generating menus in a uniform fashion, if 'base-size' is unspecified,
Script will use terminal width instead. Exports the following variables:
Cw - Custom width, overall width of panel (base-size, or columns)
Ws - Workspace, Width of 'Cw' Minus borders (Side1/Side2 & Edge) (if set).
Side - Width of sides ('Ws'/3), Use for left/right on 3-column menu.
Middle - Width of middle ('Ws'/3 & adjusted for uneven width), Use for left/right on 3-column menu.
Left - Width of left ('Ws'/2'), use for 2-column menu.
Right - Width of right ('Ws'/2 & adjusted for uneven width), Use for 2-column menu.
getvals $*
> used for functions eccepting runtime variables, & offers extended customizations when compared to
using 'shift' & 'if/case' statements. Only requires a nested 'ctrigs' function determining all
applicable switches, & a note to 'ctrigerr $1' on undefined. all additional variables passed to this
function are exported to V{1..20}. (script allows up to 20 variable/switch combinations by default).
'getvals' will auto-clean all previous user-variables before start, & clean all unused when done.
inpth <VARIABLENAME> <DEFAULTPATH>
> Checks if 'VARIABLENAME' has a directory, if not, sets 'VARIABLENAME' to 'DEFAULTPATH/VARIABLE'
used for defaulting files to correct locations, 'VARIABLENAME' must be variables name, & must be set,
setclock <mode>
> can pass variable as mode, allows '0/1' as values, exports either 12hr (0), or 24hr (1) formatted
variable (variable name 'Time') for use with 'date' Eg: 'date +$Time'
up <path> <count>
> replicates 'cd ..', if no variable passed, cd's up one level from current directory, if 'path' is
specified, cd's up 1 level from 'path', or 'count' levels up from either.
Use as either 'up', 'up <count>', 'up <path>', or 'up <path> <count>'.
Configurations:
Configurations are unneeded for execution, but can be used to set default values
To use during execution
By default, configurations are read from:
'/system/etc/SuperBox' > main (system) configurations.
'/data/local/SuperBox' > user (writable) configurations.
User configurations will override system configurations if exist.
Main configuration (SuperBox.cfg):
Code:
#======================================================================#
# __ #
# Main configuration for: /\ \ #
# ____ __ __ _____ __ _ __\ \ \____ ___ __ _ #
# / ,__\/\ \/\ \/\ __`\ /'__`\/\`'__\ \ '__`\ / __`\/\ \/ \ #
# /\__, `\ \ \_\ \ \ \_\ \/\ __/\ \ \/ \ \ \_\ \/\ \_\ \/> </ #
# \/\____/\ \____/\ \ ,__/\ \____\\ \_\ \ \_,__/\ \____//\_/\_\ #
# \/___/ \/___/ \ \ \/ \/____/ \/_/ \/___/ \/___/ \//\/_/ #
# \ \_\ By: YupitsMine420 #
# \/_/ #
#======================================================================#
# File definitions: #
# can use full path, or script variable to define. not read by default.#
# #
# Used for 'setprops', Similar functionality to sysctl, sets system #
# properties from configuration file. #
# Prop_File: $LocalPath/SystemProps.cfg #
# #
# Used for chkbb, when generating missing links, all links generated #
# are written to this file for easy uninstall #
# BusyBox_File: $LocalPath/BusyBox_Add.cfg #
# #
# Specify custom BusyBox/ToolBox binaries for script to use #
# #
##Use_BusyBox: $System/etc/SuperBox/bin/busybox1210 #
# Use_ToolBox: $System/stest/Data/bin/toolbox #
# #
#======================================================================#
#
# Permissions configurations
#
# Paths:
Perm_Src_Dir=755 # Source paths.
Perm_Cfg_Dir=644 # Configuration paths.
Perm_Bin_Dir=775 # Binary (executable) paths.
#
# Files:
Perm_Src_File=644 # Sourcable files.
Perm_Cfg_File=644 # Configuration files.
Perm_Bin_File=755 # Binary (executable) files.
#
DefOwner=root # Default owner.
DefGroup=root # Default group
#
#======================================================================#
#
# Basic configurations:
#
# User configuration path, should be R/W by default (usually '/data').
# Configurations in this path will override base configurations.
LocalPath='$Data/local/SuperBox'
#
# Set scripts clock format, 0=12hr, 1=24hr.
use_24hr=1
#
# Enable/Disable colors in all segments. 1=enable, 0=disable
ColorMode=1
#
# Specify default Colours for modes allowing colour. Format is:
# '0 1 2 3 4 5 6 7 8', where: 0=Error, 1=Note/Highlight, 2=Note2,
# 3=Normal, 4=File, 5=Path, 6=Link, 7=Background, 8=Borders.
DefaultColors=(1 3 6 2 6 4 5 0 5)
#
# Set how many decimal points to allow in arithmatic calculations,
# used in (most) filesize segments. Default value is "2"
# Set to '0' to disable float integers (round to closest full number)
MaxDec=2
#
# Sets path used to store/load permissions configurations for 'm/lperm'
# these configurations are device specific & should not be ported or
# re-used outside of this ROM. Path set below should be constantly R/W.
PermDir="$LocalPath/Perms"
#
#======================================================================#
#
# SuperBox specific Configurations:
#
# Scripts default log method, 0=disabled, 1=critical, 2=full.
sbox_log_level=0
#
# sloggers default log method, '%' fits to width,'-' quiets output.
# (only outputs to log) only effects terminal.
sbox_log_mode=
#
# Specify if date should be appended to log name when generating.
# string is manipulated with 'sbox_log_tag' variable
# With the default value of '%a-%h-%d_%H-%M'
sbox_log_usedate=0
#
# if old log exists, append new data to the end when enabled.
sbox_log_append=1
#
# Allow superbox to be called by cron (startup), 1=Enable, 0=Disable.
sbox_allow_boot=1
#
# specify if SuperBox requires administrator on launch.
sbox_need_admin=1
#
# Link names that will be treated as direct call to SuperBox, Eg:
# Wont be treated as execution mode (links must be manually generated).
sbox_null_links="sbox2 superbox sbox.old sbox.new"
#
#======================================================================#
#
# cd (icd) Configurations:
#
# Specify if 'cd' should check match path/name case-sensitively
# Default is '1' (true), should use '-c' instead of changing this.
icd_usecase=1
#
#======================================================================#
#
# alignapk (zipalign) configurations:
#
# Zip alignment configurations:
# Zip default alignment level, 0 = disabled, 1 = auto, 2 = forced.
align_level=2
#
# Use MD5 sum for each file when processing align. 1=true, 0=false
align_usemd5=0
#
# Use SQL table for storing data, 1 = true, 0 = text database
align_usesql=1
#
# SQL table name to store configurations
align_table=zipalign
#
#======================================================================#
#
# Other (Misc.) Configurations:
#
Tree configration (tree.cfg) (can be appended to main configuration):
Code:
#======================================================================#
# __ #
# Tree configuration for: /\ \ #
# ____ __ __ _____ __ _ __\ \ \____ ___ __ _ #
# / ,__\/\ \/\ \/\ __`\ /'__`\/\`'__\ \ '__`\ / __`\/\ \/ \ #
# /\__, `\ \ \_\ \ \ \_\ \/\ __/\ \ \/ \ \ \_\ \/\ \_\ \/> </ #
# \/\____/\ \____/\ \ ,__/\ \____\\ \_\ \ \_,__/\ \____//\_/\_\ #
# \/___/ \/___/ \ \ \/ \/____/ \/_/ \/___/ \/___/ \//\/_/ #
# \ \_\ By: YupitsMine420 #
# \/_/ #
#======================================================================#
#
# Directories script will avoid, script supports partial matches when
# processing these paths. individual entries should be seperated by (":").
# 'bad_files' & 'bad_links' variables can also be defined to ignore said entry
tree_bad_dirs=":/proc:/dev:/sys:/:"
#
# Force processing any input, even if entry exists in 'tree_bad_*' variable(s)
tree_skip_check=0
#
#
# Used to connect same-depth paths when processing sub-directories &
# files, Default is "|", should be quoted.
tree_ui_con="|"
#
# Used as padding for filenames/etc. to match depth.
tree_ui_dep="+=>"
#
# Seperates file/link/date/size information when displaying tree.
tree_ui_sep="-->"
#
# Specify how tree will process links when detected.
# 0 = Normal, 1 = Ignore link, 2 = ignore all (dont display).
tree_link_mode=0
#
# Enable to Display directory info/size & file/link/dir count, etc.
tree_show_info=True
#
# Show size information when procesing files/links.
tree_show_size=1
#
# Show last modified date when procesing all files/dirs/links.
tree_show_date=1
#
# Enabling will stop script from processing more then 1 directory
# deep into base path.
tree_no_recurs=0
#
# Default Colormode for tree, Mode is '0 1 2 3 4 5 6 7 8 9' where:
# 0 = file, 1 = link, 2=directory, 3=note, 4=background, 5=connector,
# 6=depth, 7=seperator, 8=time, 9=size.
tree_color_mode=(1 3 6 2 0 6 3 8 4)
#
To see what variables are exported when script is sourced, you can create a small script such as:
Code:
export > /cache/1
. sbox
export > /cache/2
cat /cache/2|while IFS= read -r i;do
[[ "$(grep "$i" /cache/1)" ]] || echo "$i"
done
$bb rm -f /cache/{1,2}
save & run, will display all re-usable variables generated by superbox.
*NOTE
Change '. sbox' to '. <name_of_script>' depending on what you named it
adding switches after '. sbox' will enable the variable associated with said switches
My phone does neat stuff!
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
kj2112 said:
My phone does neat stuff!
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
Yep, playing with terminal is fun xD
Not quite a full terminal, but close
Ive managed to replicate some missing binaries in script, & modify some standards to suite my needs xD
Uploading a bash 4.1.0 binary for those who want it, the 1 thing this script relies on thats not standard
Just rename to 'bash', move to '/system/bin' & chmod 755 (rwxr-xr-x), then create symlink in xbin for compatability
(some scripts will use /system/xbin/bash, while others will use /system/bin/bash, easy to resolve with symlink)
Default bashrc (/etc/bash/bashrc)
Code:
# /etc/bash/bashrc
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
#
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
[[ $- == *i* ]] || return
#
# Bash won't get SIGWINCH if another process is in the foreground.
# Enable checkwinsize so that bash will check the terminal size when
# it regains control. http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
shopt -s checkwinsize
#
# Enable history appending instead of overwriting.
shopt -s histappend
#
# set some environment variables
TERMINFO=/system/etc/terminfo
MANPATH=/system/etc/man:/system/man:/data/local/man
INFOPATH="$MANPATH"
HOME=/sdcard
TERM=xterm
#
# Enable color
CLICOLOR=1
#
# Control history location/format/etc.
HISTFILE="/system/etc/bash/bash_history"
HISTFILESIZE=3000
HISTCONTROL=ignoreboth
HISTSIZE=10000
#
# Prompt color codes
txtblk='\e[0;30m' # Black - Regular
txtred='\e[0;31m' # Red
txtgrn='\e[0;32m' # Green
txtylw='\e[0;33m' # Yellow
txtblu='\e[0;34m' # Blue
txtpur='\e[0;35m' # Purple
txtcyn='\e[0;36m' # Cyan
txtwht='\e[0;37m' # White
bldblk='\e[1;30m' # Black - Bold
bldred='\e[1;31m' # Red
bldgrn='\e[1;32m' # Green
bldylw='\e[1;33m' # Yellow
bldblu='\e[1;34m' # Blue
bldpur='\e[1;35m' # Purple
bldcyn='\e[1;36m' # Cyan
bldwht='\e[1;37m' # White
unkblk='\e[4;30m' # Black - Underline
undred='\e[4;31m' # Red
undgrn='\e[4;32m' # Green
undylw='\e[4;33m' # Yellow
undblu='\e[4;34m' # Blue
undpur='\e[4;35m' # Purple
undcyn='\e[4;36m' # Cyan
undwht='\e[4;37m' # White
bakblk='\e[40m' # Black - Background
bakred='\e[41m' # Red
badgrn='\e[42m' # Green
bakylw='\e[43m' # Yellow
bakblu='\e[44m' # Blue
bakpur='\e[45m' # Purple
bakcyn='\e[46m' # Cyan
bakwht='\e[47m' # White
txtrst='\e[0m' # Text Reset
#
# specify name of prompt
PROMPT_COMMAND='echo -ne ""'
#
# layout for coloring prompt command, if using color use this method only
# or get used to the blank prompt after executing command
if [ ${EUID} -eq 0 ];then
PS1="bash-4.1\[$txtred\]# \[\e[m\]"
else
PS1="bash-4.1\[$txtgrn\]$ \[\e[m\]"
fi
PS2='> '
PS4='+ '
#
# Set up a a few aliases to make commandline processing
# slightly easier.
for i in cat chmod chown df insmod ln lsmod mkdir more mount mv rm rmdir rmmod umount vi;do
eval alias ${i}=\"busybox ${i}\"
done
alias ls='busybox ls --color=auto'
alias sysro='mount -o remount,ro /system'
alias sysrw='mount -o remount,rw /system'
#
# Fix some 'change directory' aliases.
alias cd..='cd ..'
alias cdl='cd -L'
alias ..='cd ..'
alias ...='cd ../..'
#
# Annoyed by 'su' sending you to shell (sh)?
# Uncomment the following.
# alias su='su -c bash'
#
# Enable cmd style clear
alias cls='clear'
#
# Sudo semi-fix
alias sudo='su -c'
#
# Allow pulling command from history easily
alias hist='history|grep '
#
Updated for those few who download, fixed most broken functions & changed most default configuration names
If using configurations, you must use the new templates, original defaults still apply
If you have any issues using this build, please let me know, also, few new functions, & partially updated readme for
better definitions on new/existing options. included makeshift changelog for those who want it.
BTW. found a few binaries that work on our device, with all dependancies,
Such as:
7z (including 7za)
bc
GNU dc
GNU nano
GNU tput (with all dependancies such as terminfo db)
& various others (totaling about 30 GNU applications), just pm me if you want em. shouldnt upload as they aint my builds
What app did you disable from your device ? Do you have any more info ?
Code:
#!/system/bin/sh
# usage :
# adb push disableBloatware.sh /storage/emulated/0/
# adb shell sh /storage/emulated/0/disableBloatware.sh
# adb shell pm list packages -f | cut -c 9- | sort
function c(){ # disable package
pm list packages | grep ${1}
if [ $? -eq 0 ]
then
pm clear ${1}
pm uninstall ${1}
pm uninstall --user 0 ${1}
fi
}
function t(){ # disable package
c ${1}
}
# android /system/framework/framework-res.apk
# androidhwext /system/framework/framework-res-hwext.apk
c cn.wps.moffice_eng # WPS Office /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/WPS/WPS.apk
c com.android.backupconfirm # Restore google settings /system/priv-app/BackupRestoreConfirmation/BackupRestoreConfirmation.apk
# com.android.bips /system/app/BuiltInPrintService/BuiltInPrintService.apk
# com.android.bluetoothmidiservice # Provides classes for sending and receiving messages using the MIDI event protocol over Bluetooth LE /system/app/BluetoothMidiService/BluetoothMidiService.apk
# com.android.bluetooth # Core of Bluetooth services /system/app/Bluetooth/Bluetooth.apk
# com.android.bookmarkprovider /system/app/BookmarkProvider/BookmarkProvider.apk
c com.android.calculator2 # Stock calculator app /system/priv-app/ExactCalculator/ExactCalculator.apk
# com.android.calendar # Stock calendar app /system/priv-app/Calendar/Calendar.apk
# com.android.calllogbackup /system/priv-app/CallLogBackup/CallLogBackup.apk
# com.android.captiveportallogin # This consists in a web page that the user of a public access network is obliged to view and interect with, before access is granted. Like public Wi-Fi hotspots that prompts you with an user and password login /system/app/CaptivePortalLogin/CaptivePortalLogin.apk
# com.android.carrierconfig # Provides access to telephony configuration values that are carrier-specific /system/priv-app/CarrierConfig/CarrierConfig.apk
c com.android.cellbroadcastreceiver # Alerts for Broadcast warnt wenn die nationale Sicherheit gefährdet ist /system/priv-app/CellBroadcastReceiver/CellBroadcastReceiver.apk
# com.android.certinstaller # Certificate installer. When removed, the Wi-Fi wouldn't be able to be turned on /system/app/CertInstaller/CertInstaller.apk
c com.android.chrome # /system/app/Chrome/Chrome.apk
# com.android.companiondevicemanager /system/app/CompanionDeviceManager/CompanionDeviceManager.apk
# com.android.contacts # Stock contacts app /system/priv-app/Contacts/Contacts.apk
# com.android.cts.ctsshim /system/app/CtsShimPrebuilt/CtsShimPrebuilt.apk
# com.android.cts.priv.ctsshim /system/priv-app/CtsShimPrivPrebuilt/CtsShimPrivPrebuilt.apk
# com.android.defcontainer # Needed for installer by applications /system/priv-app/DefaultContainerService/DefaultContainerService.apk
# com.android.deskclock # Clock app, plus alarm function /system/app/HwDeskClock/HwDeskClock.apk
# com.android.documentsui # Downloaded files app : it's a "file picker" the recommended default interfact for apps wishing to access files outside of their own storage area (i.e. to save data to your SD card) /system/priv-app/DocumentsUI/DocumentsUI.apk
# com.android.dreams.basic # Support for screensaver mode /system/delapp/BasicDreams/BasicDreams.apk
# com.android.dreams.phototable # Photographic screensavers Photobildschirmschoner /system/app/PhotoTable/PhotoTable.apk
c com.android.egg # Android build's easter egg feature /system/app/EasterEgg/EasterEgg.apk
c com.android.email # Stock Email app (not Gmail) /system/priv-app/Email/Email.apk
# com.android.emergency /system/priv-app/EmergencyInfo/EmergencyInfo.apk
c com.android.exchange # microsoft spyware high security risk /system/priv-app/Exchange2/Exchange2.apk
# com.android.externalstorage /system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk
# com.android.frameworkhwext.dark # /system/emui/base/overlay/frameworkhwextdark/frameworkhwextdark.apk
# com.android.frameworkhwext.honor # /system/emui/base/overlay/frameworkhwexthonor/frameworkhwexthonor.apk
# com.android.frameworkres.overlay # /hw_oem/overlay/frameworkResOverlay.apk
c com.android.gallery3d # Gallery app /system/priv-app/Gallery2/Gallery2.apk
# com.android.htmlviewer # HTML viewer package /system/app/HTMLViewer/HTMLViewer.apk
# com.android.incallui # In Call User Interface - Controls various activities during a call /system/priv-app/InCallUI/InCallUI.apk
# com.android.inputdevices # Manages the input device /system/priv-app/InputDevices/InputDevices.apk
# com.android.keychain # Should provide access to private keys plus their certificate chains in storage /system/app/KeyChain/KeyChain.apk
# com.android.keyguard lockscreen /system/app/HwMagazine/HwMagazine.apk
# com.android.location.fused # Provides everything you need for GPS, Cellular and Wi-Fi networks location data /system/priv-app/FusedLocation/FusedLocation.apk
c com.android.managedprovisioning # Google Workplace For corporate restritctions on phones with Google Workplace /system/priv-app/ManagedProvisioning/ManagedProvisioning.apk
c com.android.mediacenter # Huawei Musik Player App /system/priv-app/HwMediaCenter/HwMediaCenter.apk
# com.android.mms.service # Provides support for sending MMS messages with photos, videos, ecc /system/priv-app/MmsService/MmsService.apk
# com.android.mms # Stock SMS app /system/priv-app/Mms/Mms.apk
# com.android.mtp /system/priv-app/MtpDocumentsProvider/MtpDocumentsProvider.apk
# com.android.pacprocessor # proxy auto-config : this file defines how web browsers and other agents can automatically define the correct proxy server for fetching an URL /system/app/PacProcessor/PacProcessor.apk
c com.android.partnerbrowsercustomizations.tmobile # Browser /system/app/ChromeHomePage/ChromeHomePage.apk
# com.android.phone # Dialer app /system/priv-app/TeleService/TeleService.apk
# com.android.printspooler # print directly via your phone /system/app/PrintSpooler/PrintSpooler.apk
# com.android.providers.blockednumber # Storage of blocked numbers /system/priv-app/BlockedNumberProvider/BlockedNumberProvider.apk
# com.android.providers.calendar /system/priv-app/CalendarProvider/CalendarProvider.apk
# com.android.providers.contacts /system/priv-app/ContactsProvider/ContactsProvider.apk
# com.android.providers.downloads # Download provider /system/priv-app/DownloadProvider/DownloadProvider.apk
# com.android.providers.downloads.ui # Download app /system/app/DownloadProviderUi/DownloadProviderUi.apk
# com.android.providers.media # Needed to access media files, and ringtones /system/priv-app/MediaProvider/MediaProvider.apk
c com.android.providers.partnerbookmarks # GoogleApp Provides bookmarks about partners of Google in Chrome /system/app/PartnerBookmarksProvider/PartnerBookmarksProvider.apk
# com.android.providers.settings # Sync settings /system/priv-app/SettingsProvider/SettingsProvider.apk
# com.android.providers.telephony # Telephony provider contains data related to phone operation /system/priv-app/TelephonyProvider/TelephonyProvider.apk
# com.android.providers.userdictionary # User dictionary for keyboard apps /system/app/UserDictionaryProvider/UserDictionaryProvider.apk
# com.android.proxyhandler /system/priv-app/ProxyHandler/ProxyHandler.apk
# com.android.server.telecom /system/priv-app/Telecom/Telecom.apk
# com.android.settings # Settings app /system/priv-app/Settings/Settings.apk
# com.android.sharedstoragebackup # Possibly USB connection menu /system/priv-app/SharedStorageBackup/SharedStorageBackup.apk
# com.android.shell # Unix shell to communicate via ADB commands through PC /system/priv-app/Shell/Shell.apk
# com.android.soundrecorder # Huawei Sound recorder /system/app/HwSoundRecorder/HwSoundRecorder.apk
# com.android.statementservice /system/priv-app/StatementService/StatementService.apk
# com.android.stk SIM toolkit app /system/app/Stk/Stk.apk
# com.android.storagemanager /system/priv-app/StorageManager/StorageManager.apk
# com.android.supl # SUPL20SERVICES, seems related to GPS in Huawei devices /system/app/gnss_supl20service_hisi/gnss_supl20service_hisi.apk
# com.android.systemui # System User Interface /system/priv-app/SystemUI/SystemUI.apk
# com.android.vending Google Play Store app /system/priv-app/Phonesky/Phonesky.apk
# com.android.vpndialogs VPN system /system/priv-app/VpnDialogs/VpnDialogs.apk
# com.android.wallpaperbackup # /system/delapp/WallpaperBackup/WallpaperBackup.apk
# com.android.wallpapercropper # Wallpaper cropper /system/priv-app/WallpaperCropper/WallpaperCropper.apk
# com.android.wallpaper.livepicker # Live (bewegte) Wallpaper /system/app/LiveWallpapersPicker/LiveWallpapersPicker.apk
c com.booking # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Booking/Booking.apk
c com.ebay.carrier # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/idapk-1.0.0.5-117/idapk-1.0.0.5-117.apk
c com.ebay.mobile # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/eBay/eBay.apk
c com.example.android.notepad # Notepad app /system/priv-app/HwNotePad/HwNotePad.apk
c com.facebook.appmanager # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Appmanager/Appmanager.apk
c com.facebook.katana # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Facebook_Stub/Facebook_Stub.apk
c com.facebook.services # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Facebook_Services/Facebook_Services.apk
c com.facebook.system # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Installer/Installer.apk
c com.gameloft.android.GloftANPH # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/AsphaltNitro/AsphaltNitro.apk
c com.gameloft.android.GloftDBMF # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/PuzzlePets/PuzzlePets.apk
c com.gameloft.android.GloftDMKF # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/DisneyMagicKingdom/DisneyMagicKingdom.apk
c com.gameloft.android.GloftPDMF # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/DragonMania/DragonMania.apk
c com.gameloft.android.GloftSMIF # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/SpiderManUltimatePower/SpiderManUltimatePower.apk
c com.google.android.apps.docs # Google Drive /system/app/Drive/Drive.apk
c com.google.android.apps.maps # Google maps /system/app/Maps/Maps.apk
c com.google.android.apps.photos # Google Photos /system/app/Photos/Photos.apk
c com.google.android.apps.tachyon # Google Duo Videotelefonie /system/app/Duo/Duo.apk
# com.google.android.apps.work.oobconfig # Device Setup /system/priv-app/OobConfig/OobConfig.apk
c com.google.android.backuptransport # Allows apps to backup their data on Google servers /system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
# com.google.android.configupdater # Google ConfigUpdater automatically update certificates, firewall configuration, premium sms list (you'll be warned if an app sends a premium sms), time zone information and SELinux configuration /system/priv-app/ConfigUpdater/ConfigUpdater.apk
# com.google.android.ext.services # Google Play Services for Instant Apps Android Notification Ranking service, part of Android Services Library /system/priv-app/GoogleExtServices/GoogleExtServices.apk
# com.google.android.ext.shared # Google Play Services for Instant Apps /system/app/GoogleExtShared/GoogleExtShared.apk
c com.google.android.feedback # When an app crashes, this is the app that briefly asks you if you want to feedback the crash on the market. /system/priv-app/GoogleFeedback/GoogleFeedback.apk
c com.google.android.gm # Gmail /system/app/Gmail2/Gmail2.apk
# com.google.android.gms Google Play Services /system/priv-app/GmsCore/GmsCore.apk
c com.google.android.googlequicksearchbox # Google Search widget /system/priv-app/Velvet/Velvet.apk
# com.google.android.gsf Google Services Framework /system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
# com.google.android.marvin.talkback # Accessibility Google TalkBack Stromfresser Adds some features about accessibility settings /system/app/talkback/talkback.apk
c com.google.android.music # GoogleMusikApp /system/app/Music2/Music2.apk
c com.google.android.onetimeinitializer # first time bootup prompts for what Google Apps to install Provides first time use setup /system/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
# com.google.android.packageinstaller # Gives ability to install, update or remove applications on the device /system/priv-app/GooglePackageInstaller/GooglePackageInstaller.apk
# com.google.android.partnersetup # Software that helps other apps to work with Google products /system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
# com.google.android.printservice.recommendation # print directly via your phone /system/app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk
c com.google.android.setupwizard # Removable after the first start of the phone /system/priv-app/SetupWizard/SetupWizard.apk
c com.google.android.syncadapters.calendar # Google Calendar Sync /system/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
c com.google.android.syncadapters.contacts # Google Contacts sync /system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
# com.google.android.tts Text-to-speech powers apps to read text on your scream aloud, in many languages /system/app/GoogleTTS/GoogleTTS.apk
c com.google.android.videos # Google Play Movies Google Video App /system/app/Videos/Videos.apk
# com.google.android.webview /system/app/WebViewGoogle/WebViewGoogle.apk
c com.google.android.youtube # YouTube app /system/app/YouTube/YouTube.apk
c com.hicloud.android.clone # Phone Clone /system/delapp/PhoneClone_OVE/PhoneClone_OVE.apk
# com.hisi.mapcon used by WiFi Calling app /system/app/Mapcon/Mapcon.apk
c com.huawei.android.chr # Stromfresser somehow related to SarControlService /system/priv-app/HwChrService/HwChrService.apk
# com.huawei.android.FloatTasks # navigation dock : alternate home button /system/app/HwFloatTasks/HwFloatTasks.apk
# com.huawei.android.hsf # /system/priv-app/HwServiceFramework/HwServiceFramework.apk
c com.huawei.android.hwaps # /system/app/HwAps/HwAps.apk
# com.huawei.android.hwouc System update app zieht unentwegt Strom /system/app/HwOUC/HwOUC.apk
# com.huawei.android.instantshare Huawei Share features /system/app/HuaweiShare/HuaweiShare.apk
# com.huawei.android.internal.app # also huawei share /system/app/HwResolver/HwResolver.apk
# com.huawei.android.launcher Huawei launcher app /system/app/HwLauncher6/HwLauncher6.apk
# com.huawei.android.mirrorshare MirrorShare feature Bildschirminhalt teilen Screen Mirrorring /system/app/MirrorShare/MirrorShare.apk
# com.huawei.android.projectmenu # ProjectMenu interface : phone *#*#2846579#*#* (flash any Huawei stock firmware on your huawei device) /system/app/HwProjectMenu/HwProjectMenu.apk
c com.huawei.android.pushagent # (Health) speichert auch Kontodaten /cust/hw/eu/app/HwPushService/HwPushService.apk
t com.huawei.android.thememanager # Huawei Theme Manager app /system/app/HwThemeManager/HwThemeManager.apk
c com.huawei.android.tips # tips /system/delapp/HwEmuiManual/HwEmuiManual.apk
c com.huawei.android.totemweatherapp # Huawei Weather app /system/priv-app/HwWeatherClockApp/HwWeatherClockApp.apk
c com.huawei.android.totemweather # Huawei Weather app /system/priv-app/HwWeatherClock/HwWeatherClock.apk
c com.huawei.android.totemweatherwidget # Huawei Weather app /system/priv-app/HwWeatherClockWidget/HwWeatherClockWidget.apk
# com.huawei.android.wfdft Wi-Fi Direct feature /system/app/HwWiFiDirect/HwWiFiDirect.apk
c com.huawei.autoinstallapkfrommcc # Information /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/AutoInStallAPKFromMcc/AutoInStallAPKFromMcc.apk
c com.huawei.bd # HwUE Huawei user experience /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/HwUserExperience/HwUserExperience.apk
c com.huawei.bluetooth # Import contact via Bluetooth function /system/app/HwBluetoothImport/HwBluetoothImport.apk
# com.huawei.camera /system/priv-app/HwCamera2/HwCamera2.apk
c com.huawei.compass # Huawei Compass app /system/delapp/HwCompass/HwCompass.apk
c com.huawei.contactscamcard # business card scanner reader app /data/hw_init/system/app/ContactsCamcard/ContactsCamcard.apk
# com.huawei.desktop.explorer huawei desktop mode switching /product/app/HwPCExplorer/HwPCExplorer.apk
# com.huawei.desktop.systemui huawei desktop mode switching /product/app/HwPCSystemUI/HwPCSystemUI.apk
c com.huawei.fido.uafclient # FIDO UAF Client Fast ID Online /product/app/HwFidoClient/HwFidoClient.apk
c com.huawei.gameassistant # /data/hw_init/product/app/HwGameAssistant/HwGameAssistant.apk
c com.huawei.hidisk # Huawei File Manager app /cust/hw/eu/app/HwCloudDrive_EU/HwCloudDrive_EU.apk
c com.huawei.hifolder # /cust/hw/eu/app/HiFolder/HiFolder.apk
c com.huawei.himovie.overseas # Huawei Video App /system/priv-app/HiMovie/HiMovie.apk
c com.huawei.hiview # versendet Daten /system/app/HiView/HiView.apk
c com.huawei.hiviewtunnel # gehört zu HiView /system/app/HiViewTunnel/HiViewTunnel.apk
c com.huawei.hwasm # ASM FIDO UAF Autenthicator-Specific Module /product/app/HwFidoAsm/HwFidoAsm.apk
c com.huawei.hwdetectrepair # /system/app/HwDetectRepair/HwDetectRepair.apk
c com.huawei.hwid # Huawei ID app Huawei login for all services /cust/hw/eu/app/HMS/HMS.apk
# com.huawei.HwMultiScreenShot Sliding screen feature /system/priv-app/HwMultiScreenShot/HwMultiScreenShot.apk
c com.huawei.hwstartupguide # /system/priv-app/HwStartupGuide/HwStartupGuide.apk
t com.huawei.iaware # prioritizes apps to avoid slowdown /system/app/HwIAware/HwIAware.apk
c com.huawei.iconnect # /system/app/iConnect/iConnect.apk
c com.huawei.imedia.sws # Huawei Histen audio 3d effects /product/app/SWSHeadphone/SWSHeadphone.apk
c com.huawei.indexsearch.observer # /system/app/HwIndexSearchObserverService/HwIndexSearchObserverService.apk
c com.huawei.indexsearch # /system/priv-app/HwIndexSearchService/HwIndexSearchService.apk
c com.huawei.kidsmode.kidspaint # /product/app/HwKidsPaint/HwKidsPaint.apk
c com.huawei.kidsmode # /product/app/HwKidsMode/HwKidsMode.apk
c com.huawei.KoBackup # /system/delapp/HwBackup_Local/HwBackup_Local.apk
# com.huawei.mmitest has to do with all the hardware test /system/app/HwMMITest/HwMMITest.apk
# com.huawei.nearby # necessary for System settings > Device connectivity > Huawei Share /system/app/HwNearby/HwNearby.apk
# com.huawei.omacp send/receive MMS /cust/hw/eu/app/OMACP/OMACP.apk
c com.huawei.phoneservice # HiCare app /version/special_cust/CMR-AL19/hw/eu/app/HwPhoneService/HwPhoneService.apk
c com.huawei.powergenie # /system/app/HwPowerGenieEngine3/HwPowerGenieEngine3.apk
c com.huawei.recsys # /system/priv-app/HwIntelligentRecSystem/HwIntelligentRecSystem.apk
c com.huawei.sarcontrolservice # reduces radio power when phone against ear /data/hw_init/version/region_comm/oversea/app/HwSarControlService/HwSarControlService.apk
# com.huawei.scanner Huawei Scanner function /system/priv-app/HwScanner/HwScanner.apk
# com.huawei.screenrecorder Huawei Screen recorder feature /system/priv-app/HwScreenRecorder/HwScreenRecorder.apk
c com.huawei.securitymgr # /system/app/HwSecurityMgrService/HwSecurityMgrService.apk
# com.huawei.stylus.floatmenu # /product/app/HwFloatMenu/HwFloatMenu.apk
t com.huawei.synergy # /system/app/HwSynergy/HwSynergy.apk
# com.huawei.systemmanager # Huawei System Manager app. recent apps menu keep showing removed apps if removed. /system/priv-app/HwSystemManager/HwSystemManager.apk
# com.huawei.systemserver /system/priv-app/HwSystemServer/HwSystemServer.apk
c com.huawei.tips # lässt Tipps aufpoppen /system/app/HwSmartSuggestion/HwSmartSuggestion.apk
# com.huawei.trustagent # Intelligent unlock feature (unlock with a bluetooth device) /system/app/HwTrustAgent/HwTrustAgent.apk
t com.huawei.trustcircle # Service d'authentification d'appareil /cust/hw/eu/app/HwTrustCircle/HwTrustCircle.apk
c com.huawei.vassistant # HiVoice app Sprachbefehls App, Hello Emy /system/app/HwVAssistant/HwVAssistant.apk
# com.huawei.videoeditor # Video editor function /system/app/HwVideoEditor/HwVideoEditor.apk
c com.huawei.watch.sync # für Uhrensyncronisation benötigt /system/app/WatchSync/WatchSync.apk
c com.huawei.wifieapsimplmn # Extensible_Authentication_Protocol Seems to be an hotspot system which serve to authenticate via sim info /cust/hw/eu/app/PredefinedEapSim/PredefinedEapSim.apk
c com.huawei.wifiprobqeservice # /system/app/HwWifiproBqeService/HwWifiproBqeService.apk
c com.instagram.android # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Instagram_Stub/Instagram_Stub.apk
# com.myscript.nebo.huawei write draw with pen /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Nebo/Nebo.apk
c com.netflix.mediaclient # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/NetflixStub/NetflixStub.apk
c com.netflix.partner.activation # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/NetflixActivation/NetflixActivation.apk
# com.qeexo.smartshot finger sense smart shot knuckel touch /product/app/HwSmartShot/HwSmartShot.apk
c com.stupeflix.replay # erstellt aus Fotos kleine Moves bzw. Dia- shows, die sich nur auf dem eigenen Handy abspielen lassen /system/delapp/quik/quik.apk
c com.swiftkey.swiftkeyconfigurator # /system/app/SwiftKeyFactorySettings/SwiftKeyFactorySettings.apk
c com.touchtype.swiftkey # /system/app/SwiftKey/SwiftKey.apk
# com.visionobjects.calculator_huawei_cameron myscript calculator pen /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Calculator/Calculator.apk
# com.visionobjects.stylusmobile.v3_2_huawei /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Stylus/Stylus.apk
# huawei.android.widget /system/priv-app/HwWidget/HwWidget.apk
# org.simalliance.openmobileapi.service Android's interface to the SIM card Sim- Karten Dienstprogramm, nicht in Europa nutzbar SmartcardService. "The SmartCard API is a reference implementation of the SIMalliance Open Mobile API specification that enables Android applications to communicate with Secure Elements, e.g. SIM card, embedded Secure Elements, Mobile Security Card or others." /system/app/SmartcardService/SmartcardService.apk
i assume that are all the app in your tablet. What is the special meaning of #, t and c behind the name of each app?
Yes this is the exhaustive list of app on my M5 Pro CMR-AL19, as it was shipped. I used this script to clean it up a bit :
any line starting with # keeps the package installed, untouched
any line starting either with t or c tries to uninstall and disables the package
you can use this guide to uninstall systemapps
https://forum.xda-developers.com/note-10/how-to/guide-to-remove-apps-root-t3828324
Is a factory reset the only way to get some of these apps back if some issues arise? Obviously some can be reinstalled easily, but i'm talking about some of the proprietary bloatware apps.
Well obviously any app found in the Google Play Store can be reinstalled without problems (tried with Chrome, Google Maps, Google Play Music, Huawei HiCare, even Huawei HwID, ...).
I wasn't able to reinstall the other packages though (missing libraries errors or smth), which is why it'd be good to know what is what beforehand.
Here's my script for the Android Pie - EMUI 9 update, with all the default apps for the Huawei Mediapad M5 Pro LTE CMR-AL19 :
Code:
#!/system/bin/sh
# ---------------------mediapad.sh---------------------------------------------------------------
# usage :
# adb push mediapad.sh /storage/emulated/0/
# adb shell sh /storage/emulated/0/mediapad.sh
# -----------------------------------------------------------------------------------------------
# list current packages :
# adb shell
# pm list packages -f | cut -c 9- | awk -F "=" '// {printf("%s\t\t\t\t%s\n", $2, $1);}' | sort
#
# pm list packages -f | cut -c 9- | awk -F "=" '// {printf("%s=%s\n", $2, $1);}' | sort | awk -F "=" '// {printf("# %s\n # \n # %s\n", $1, $2);}'
# cmd package
# --user USER_ID: only list packages belonging to the given user
# pm uninstall --user 0
# -k: keep the data and cache directories around after package removal.
# am start -n com.android.settings/.UsageStatsActivity
# dumpsys usagestats
#
function c(){
# clears and tries to uninstall app
pm list packages | grep "^package:${1}$"
if [ $? -eq 0 ]
then
echo -n " clear : "
pm clear "${1}"
echo -n " uninstall : "
pm uninstall "${1}"
echo -n " uninstall --user 0 : "
pm uninstall --user 0 "${1}"
echo ""
fi
}
function t(){
# clears and tries to uninstall app, for testing
c "${1}"
}
function n(){
# does nothing
}
# androidhwext
# /system/framework/framework-res-hwext.apk
# part of emui
# android
# /system/framework/framework-res.apk
#
c cn.wps.moffice_eng
# /data/hw_init/preload/app/WPS/WPS.apk
# WPS Office app
c com.android.backupconfirm
# /system/priv-app/BackupRestoreConfirmation/BackupRestoreConfirmation.apk
# Restore google settings
# com.android.bips
# /system/app/BuiltInPrintService/BuiltInPrintService.apk
#
# com.android.bluetoothmidiservice
# /system/app/BluetoothMidiService/BluetoothMidiService.apk
# Provides classes for sending and receiving messages using the MIDI event protocol over Bluetooth LE
# com.android.bluetooth
# /system/app/Bluetooth/Bluetooth.apk
# Core of Bluetooth services
# com.android.bookmarkprovider
# /system/app/BookmarkProvider/BookmarkProvider.apk
#
# com.android.calculator2
# /system/priv-app/ExactCalculator/ExactCalculator.apk
# Stock calculator app
# com.android.calendar
# /system/priv-app/Calendar/Calendar.apk
# Stock calendar app
# com.android.calllogbackup
# /system/priv-app/CallLogBackup/CallLogBackup.apk
#
# com.android.captiveportallogin
# /system/app/CaptivePortalLogin/CaptivePortalLogin.apk
# This consists in a web page that the user of a public access network is obliged to view and interect with, before access is granted. Like public Wi-Fi hotspots that prompts you with an user and password login
# com.android.carrierconfig
# /system/priv-app/CarrierConfig/CarrierConfig.apk
# Provides access to telephony configuration values that are carrier-specific
# com.android.cellbroadcastreceiver
# /system/priv-app/CellBroadcastReceiver/CellBroadcastReceiver.apk
# Alerts for Broadcast warnt wenn die nationale Sicherheit gefährdet ist : settings > sounds > more sounds settings > mobile broadcasts
# com.android.certinstaller
# /system/app/CertInstaller/CertInstaller.apk
# Certificate installer. When removed, the Wi-Fi wouldn't be able to be turned on
c com.android.chrome
# /system/app/Chrome/Chrome.apk
#
# com.android.companiondevicemanager
# /system/app/CompanionDeviceManager/CompanionDeviceManager.apk
# System level service for managing companion devices
# com.android.contacts
# /system/priv-app/Contacts/Contacts.apk
# Stock contacts app
# com.android.cts.ctsshim
# /system/app/CtsShimPrebuilt/CtsShimPrebuilt.apk
#
# com.android.cts.priv.ctsshim
# /system/priv-app/CtsShimPrivPrebuilt/CtsShimPrivPrebuilt.apk
#
# com.android.defcontainer
# /system/priv-app/DefaultContainerService/DefaultContainerService.apk
# Needed for installer by applications
# com.android.deskclock
# /system/app/HwDeskClock/HwDeskClock.apk
# Clock app, plus alarm function
# com.android.documentsui
# /system/priv-app/DocumentsUI/DocumentsUI.apk
# Downloaded files app : it's a "file picker" the recommended default interfact for apps wishing to access files outside of their own storage area (i.e. to save data to your SD card)
# com.android.dreams.basic
# /system/delapp/BasicDreams/BasicDreams.apk
# Support for screensaver mode
# com.android.dreams.phototable
# /system/app/PhotoTable/PhotoTable.apk
# Photographic screensavers Photobildschirmschoner
c com.android.egg
# /system/app/EasterEgg/EasterEgg.apk
# Android build's easter egg feature
c com.android.email
# /system/priv-app/Email/Email.apk
# Stock Email app (not Gmail)
# com.android.emergency
# /system/priv-app/EmergencyInfo/EmergencyInfo.apk
#
# com.android.externalstorage
# /system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk
#
# com.android.frameworkhwext.dark
# /system/emui/base/overlay/frameworkhwextdark/frameworkhwextdark.apk
#
# com.android.frameworkhwext.honor
# /system/emui/base/overlay/frameworkhwexthonor/frameworkhwexthonor.apk
#
# com.android.frameworkhwext.overlay.dark
# /system/emui/base/overlay/frameworkoverlaydark/frameworkoverlaydark.apk
#
# com.android.frameworkres.overlay
# /product/hw_oem/CMR-AL19/overlay/frameworkResOverlay.apk
#
c com.android.gallery3d
# /system/priv-app/Gallery2/Gallery2.apk
# Gallery app
# com.android.htmlviewer
# /system/app/HTMLViewer/HTMLViewer.apk
# HTML viewer package
c com.android.huawei.HiMediaEngine
# /system/priv-app/HiMediaEngine/HiMediaEngine.apk
#
# com.android.incallui
# /system/priv-app/InCallUI/InCallUI.apk
# In Call User Interface - Controls various activities during a call
# com.android.inputdevices
# /system/priv-app/InputDevices/InputDevices.apk
# Manages the input device
# com.android.internal.display.cutout.emulation.narrow
# /product/overlay/DisplayCutoutEmulationNarrowOverlay.apk
# Android 9 adds support for implementing different types of display cutouts on devices. Display cutouts allow you to create immersive, edge-to-edge experiences while still allowing space for important sensors on the front of devices.
# com.android.internal.display.cutout.emulation.tall
# /product/overlay/DisplayCutoutEmulationTallOverlay.apk
# Android 9 adds support for implementing different types of display cutouts on devices. Display cutouts allow you to create immersive, edge-to-edge experiences while still allowing space for important sensors on the front of devices.
# com.android.internal.display.cutout.emulation.wide
# /product/overlay/DisplayCutoutEmulationWideOverlay.apk
# Android 9 adds support for implementing different types of display cutouts on devices. Display cutouts allow you to create immersive, edge-to-edge experiences while still allowing space for important sensors on the front of devices.
# com.android.keychain
# /system/app/KeyChain/KeyChain.apk
# Should provide access to private keys plus their certificate chains in storage
# com.android.keyguard
# /system/app/HwMagazine/HwMagazine.apk
# lockscreen
# com.android.location.fused
# /system/priv-app/FusedLocation/FusedLocation.apk
# Provides everything you need for GPS, Cellular and Wi-Fi networks location data
# com.android.managedprovisioning
# /system/priv-app/ManagedProvisioning/ManagedProvisioning.apk
# Google Workplace For corporate restritctions on phones with Google Workplace
c com.android.mediacenter
# /system/priv-app/HwMediaCenter/HwMediaCenter.apk
# Huawei Music Player App
# com.android.mms.service
# /system/priv-app/MmsService/MmsService.apk
# Provides support for sending MMS messages with photos, videos, ecc
# com.android.mms
# /system/priv-app/Mms/Mms.apk
# Stock SMS app : Messaging
# com.android.mtp
# /system/priv-app/MtpDocumentsProvider/MtpDocumentsProvider.apk
#
# com.android.pacprocessor
# /system/app/PacProcessor/PacProcessor.apk
# proxy auto-config : this file defines how web browsers and other agents can automatically define the correct proxy server for fetching an URL
c com.android.partnerbrowsercustomizations.tmobile
# /system/app/ChromeHomePage/ChromeHomePage.apk
# Browser
# com.android.phone
# /system/priv-app/TeleService/TeleService.apk
# Dialer app
# com.android.printspooler
# /system/app/PrintSpooler/PrintSpooler.apk
# print directly via your phone
# com.android.providers.blockednumber
# /system/priv-app/BlockedNumberProvider/BlockedNumberProvider.apk
# Storage of blocked numbers
# com.android.providers.calendar
# /system/priv-app/CalendarProvider/CalendarProvider.apk
#
# com.android.providers.contacts
# /system/priv-app/ContactsProvider/ContactsProvider.apk
#
# com.android.providers.downloads
# /system/priv-app/DownloadProvider/DownloadProvider.apk
# Download provider
# com.android.providers.downloads.ui
# /system/priv-app/DownloadProviderUi/DownloadProviderUi.apk
# Download app
# com.android.providers.media
# /system/priv-app/MediaProvider/MediaProvider.apk
# Needed to access media files, and ringtones
c com.android.providers.partnerbookmarks
# /system/app/PartnerBookmarksProvider/PartnerBookmarksProvider.apk
# GoogleApp Provides bookmarks about partners of Google in Chrome
# com.android.providers.settings
# /system/priv-app/SettingsProvider/SettingsProvider.apk
# Sync settings
# com.android.providers.telephony
# /system/priv-app/TelephonyProvider/TelephonyProvider.apk
# Telephony provider contains data related to phone operation
# com.android.providers.userdictionary
# /system/priv-app/UserDictionaryProvider/UserDictionaryProvider.apk
# User dictionary for keyboard apps
# com.android.proxyhandler
# /system/priv-app/ProxyHandler/ProxyHandler.apk
#
# com.android.server.telecom
# /system/priv-app/Telecom/Telecom.apk
#
# com.android.se
# /system/app/SmartcardService/SmartcardService.apk
#
# com.android.settings
# /system/priv-app/Settings/Settings.apk
# Settings app
# com.android.sharedstoragebackup
# /system/priv-app/SharedStorageBackup/SharedStorageBackup.apk
# Possibly USB connection menu
# com.android.shell
# /system/priv-app/Shell/Shell.apk
# Unix shell to communicate via ADB commands through PC
# com.android.simappdialog
# /system/app/SimAppDialog/SimAppDialog.apk
#
# com.android.soundrecorder
# /system/app/HwSoundRecorder/HwSoundRecorder.apk
# Huawei Sound recorder
# com.android.statementservice
# /system/priv-app/StatementService/StatementService.apk
#
# com.android.stk
# /system/app/Stk/Stk.apk
# SIM toolkit app
# com.android.storagemanager
# /system/priv-app/StorageManager/StorageManager.apk
#
# com.android.supl
# /system/app/gnss_supl20service_hisi/gnss_supl20service_hisi.apk
# SUPL20SERVICES, seems related to GPS in Huawei devices.
# com.android.systemui
# /system/priv-app/SystemUI/SystemUI.apk
# System User Interface
# com.android.vending
# /system/priv-app/Phonesky/Phonesky.apk
# Google Play Store app
# com.android.vpndialogs
# /system/priv-app/VpnDialogs/VpnDialogs.apk
# VPN system
# com.android.wallpaperbackup
# /system/delapp/WallpaperBackup/WallpaperBackup.apk
#
# com.android.wallpapercropper
# /system/priv-app/WallpaperCropper/WallpaperCropper.apk
# Wallpaper cropper
# com.android.wallpaper.livepicker
# /system/app/LiveWallpapersPicker/LiveWallpapersPicker.apk
# Live (bewegte) Wallpaper. Necessary to show any other apps wallpaper.
c com.booking
# /data/hw_init/preload/app/Booking/Booking.apk
# booking app
c com.ebay.carrier
# /data/hw_init/preload/app/idapk-1.0.0.5-117/idapk-1.0.0.5-117.apk
#
c com.ebay.mobile
# /data/hw_init/preload/app/eBay/eBay.apk
#
c com.example.android.notepad
# /system/priv-app/HwNotePad/HwNotePad.apk
# Notepad app
c com.facebook.appmanager
# /data/hw_init/preload/app/Appmanager/Appmanager.apk
#
c com.facebook.katana
# /data/hw_init/preload/app/Facebook_Stub/Facebook_Stub.apk
#
c com.facebook.services
# /data/hw_init/preload/app/Facebook_Services/Facebook_Services.apk
#
c com.facebook.system
# /data/hw_init/preload/app/Installer/Installer.apk
#
c com.gameloft.android.GloftANPH
# /data/hw_init/preload/app/AsphaltNitro/AsphaltNitro.apk
#
c com.gameloft.android.GloftDBMF
# /data/hw_init/preload/app/PuzzlePets/PuzzlePets.apk
#
c com.gameloft.android.GloftDMKF
# /data/hw_init/preload/app/DisneyMagicKingdom/DisneyMagicKingdom.apk
#
c com.gameloft.android.GloftPDMF
# /data/hw_init/preload/app/DragonMania/DragonMania.apk
#
c com.gameloft.android.GloftSMIF
# /data/hw_init/preload/app/SpiderManUltimatePower/SpiderManUltimatePower.apk
#
c com.google.android.apps.docs
# /system/app/Drive/Drive.apk
# Google Drive
c com.google.android.apps.maps
# /system/app/Maps/Maps.apk
# Google maps
c com.google.android.apps.photos
# /system/app/Photos/Photos.apk
# Google Photos
c com.google.android.apps.restore
# /system/priv-app/GoogleRestore/GoogleRestore.apk
#
c com.google.android.apps.tachyon
# /system/app/Duo/Duo.apk
# Google Duo Videotelefonie
# com.google.android.apps.work.oobconfig
# /system/priv-app/OobConfig/OobConfig.apk
# Device Setup
c com.google.android.backuptransport
# /system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
# Allows apps to backup their data on Google servers
# com.google.android.configupdater
# /system/priv-app/ConfigUpdater/ConfigUpdater.apk
# Google ConfigUpdater automatically update certificates, firewall configuration, premium sms list (you'll be warned if an app sends a premium sms), time zone information and SELinux configuration
# com.google.android.ext.services
# /system/priv-app/GoogleExtServices/GoogleExtServices.apk
# Google Play Services for Instant Apps Android Notification Ranking service, part of Android Services Library
# com.google.android.ext.shared
# /system/app/GoogleExtShared/GoogleExtShared.apk
# oogle Play Services for Instant Apps
c com.google.android.feedback
# /system/priv-app/GoogleFeedback/GoogleFeedback.apk
# When an app crashes, this is the app that briefly asks you if you want to feedback the crash on the market.
# com.google.android.gms.policy_sidecar_aps
# /system/priv-app/AndroidPlatformServices/AndroidPlatformServices.apk
#
# com.google.android.gms
# /system/priv-app/GmsCore/GmsCore.apk
# Google Play Services
c com.google.android.gm
# /system/app/Gmail2/Gmail2.apk
# Gmail
c com.google.android.googlequicksearchbox
# /system/priv-app/Velvet/Velvet.apk
# Google Search widget
# com.google.android.gsf
# /system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
# Google Services Framework
# com.google.android.marvin.talkback
# /system/app/talkback/talkback.apk
# Accessibility Google TalkBack Stromfresser Adds some features about accessibility settings
c com.google.android.music
# /system/app/Music2/Music2.apk
# Google Play Music
# com.google.android.onetimeinitializer
# /system/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
# first time bootup prompts for what Google Apps to install Provides first time use setup
# com.google.android.packageinstaller
# /system/priv-app/GooglePackageInstaller/GooglePackageInstaller.apk
# Gives ability to install, update or remove applications on the device
# com.google.android.partnersetup
# /system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
# Software that helps other apps to work with Google products
# com.google.android.printservice.recommendation
# /system/app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk
# print directly via your phone
c com.google.android.setupwizard
# /system/priv-app/SetupWizard/SetupWizard.apk
# Removable after the first start of the phone
c com.google.android.syncadapters.calendar
# /system/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
# Google Calendar Sync
c com.google.android.syncadapters.contacts
# /system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
# Google Contacts sync
# com.google.android.tts
# /system/app/GoogleTTS/GoogleTTS.apk
# Text-to-speech powers apps to read text on your scream aloud, in many languages
c com.google.android.videos
# /system/app/Videos/Videos.apk
# Google Play Movies Google Video App
# com.google.android.webview
# /system/app/WebViewStub/WebViewStub.apk
#
c com.google.android.youtube
# /system/app/YouTube/YouTube.apk
# YouTube app
c com.hicloud.android.clone
# /system/delapp/PhoneClone_OVE/PhoneClone_OVE.apk
# huawei Phone Clone
c com.huawei.android.chr
# /system/priv-app/HwChrService/HwChrService.apk
# Stromfresser somehow related to SarControlService
# com.huawei.android.FloatTasks
# /system/app/HwFloatTasks/HwFloatTasks.apk
# navigation dock : alternate home button
c com.huawei.android.hsf
# /system/priv-app/HwServiceFramework/HwServiceFramework.apk
#
c com.huawei.android.hwaps
# /system/app/HwAps/HwAps.apk
#
# com.huawei.android.hwouc
# /system/app/HwOUC/HwOUC.apk
# System update app zieht unentwegt Strom. There is no system update button in settings without this app.
# com.huawei.android.instantshare
# /system/app/HuaweiShare/HuaweiShare.apk
# Huawei Share features
# com.huawei.android.internal.app
# /system/app/HwResolver/HwResolver.apk
# also needed by huawei share (share button in apps)
# com.huawei.android.launcher
# /system/app/HwLauncher6/HwLauncher6.apk
# Huawei launcher app
# com.huawei.android.mirrorshare
# /system/app/MirrorShare/MirrorShare.apk
# MirrorShare feature Bildschirminhalt teilen Screen Mirrorring
# com.huawei.android.projectmenu
# /system/app/HwProjectMenu/HwProjectMenu.apk
# ProjectMenu interface : phone *#*#2846579#*#* (flash any Huawei stock firmware on your huawei device)
c com.huawei.android.pushagent
# /system/priv-app/HwPushService/HwPushService.apk
# (Health) speichert auch Kontodaten
c com.huawei.android.thememanager
# /system/app/HwThemeManager/HwThemeManager.apk
# Huawei Theme Manager app
c com.huawei.android.tips
# /system/delapp/HwEmuiManual/HwEmuiManual.apk
# tips app : emui manual
c com.huawei.android.totemweather
# /system/priv-app/HwWeatherClock/HwWeatherClock.apk
# Huawei Weather app
# com.huawei.android.wfdft
# /system/app/HwWiFiDirect/HwWiFiDirect.apk
# Wi-Fi Direct feature
# com.huawei.androidx
# /system/app/HwJetPack/HwJetPack.apk
# Failure [DELETE_FAILED_USED_SHARED_LIBRARY]
c com.huawei.autoinstallapkfrommcc
# /cust/app/AutoInStallAPKFromMcc/AutoInStallAPKFromMcc.apk
# Information
c com.huawei.bd
# /system/app/HwUserExperience/HwUserExperience.apk
# HwUE Huawei user experience
# com.huawei.bluetooth
# /system/app/HwBluetoothImport/HwBluetoothImport.apk
# Import contact via Bluetooth function
# com.huawei.camera
# /system/priv-app/HwCamera2/HwCamera2.apk
#
c com.huawei.carrierconfig
# /system/priv-app/HwCarrierConfig/HwCarrierConfig.apk
# Provides access to telephony configuration values that are carrier-specific
# com.huawei.compass
# /system/delapp/HwCompass/HwCompass.apk
# Huawei Compass app
c com.huawei.contactscamcard
# /system/priv-app/ContactsCamcard/ContactsCamcard.apk
# business card scanner reader app
c com.huawei.contacts.sync
# /system/priv-app/HwContactsSync/HwContactsSync.apk
#
# com.huawei.desktop.explorer
# /product/app/HwPCExplorer/HwPCExplorer.apk
# huawei desktop mode switching
# com.huawei.desktop.systemui
# /product/app/HwPCSystemUI/HwPCSystemUI.apk
# huawei desktop mode switching
c com.huawei.featurelayer.featureframework
# /system/app/FeatureFramework/FeatureFramework.apk
# ? have to check whether it is Settings > System > FeatureAdvisor
c com.huawei.featurelayer.sharedfeature.map
# /system/app/HwMapFeature/HwMapFeature.apk
#
c com.huawei.fido.uafclient
# /product/app/HwFidoClient/HwFidoClient.apk
# FIDO UAF Client Fast ID Online
# com.huawei.gameassistant
# /data/hw_init/product/app/HwGameAssistant/HwGameAssistant.apk
# Settings > Apps > AppAssistant for game acceleration/mistouch prevention
c com.huawei.hiaction
# /system/priv-app/HiAction/HiAction.apk
#
c com.huawei.hiai
# /system/priv-app/HwHiAiEngine/HwHiAiEngine.apk
#
c com.huawei.hicard
# /system/priv-app/HiCard/HiCard.apk
#
c com.huawei.hidisk
# /system/app/HwCloudDrive/HwCloudDrive.apk
# Huawei File Manager app
c com.huawei.hifolder
# /system/app/HiFolder/HiFolder.apk
#
c com.huawei.himovie.overseas
# /system/priv-app/HiMovie/HiMovie.apk
# Huawei Video App
c com.huawei.hitouch
# /system/app/HiTouch/HiTouch.apk
# Smart Assistance > hitouch > visual shopping (hold two fingers on an image, hitouch will tell you what it is and show you where you can buy it)
c com.huawei.hiview
# /system/app/HiView/HiView.apk
# versendet Daten
c com.huawei.hiviewtunnel
# /system/app/HiViewTunnel/HiViewTunnel.apk
# gehört zu HiView
c com.huawei.hwasm
# /product/app/HwFidoAsm/HwFidoAsm.apk
# ASM FIDO UAF Autenthicator-Specific Module
c com.huawei.hwdetectrepair
# /system/app/HwDetectRepair/HwDetectRepair.apk
#
c com.huawei.hwid
# /system/app/HMS/HMS.apk
# Huawei ID app Huawei login for all services : needed for themes app
# com.huawei.HwMultiScreenShot
# /system/priv-app/HwMultiScreenShot/HwMultiScreenShot.apk
# Sliding screen feature
c com.huawei.hwstartupguide
# /system/priv-app/HwStartupGuide/HwStartupGuide.apk
#
c com.huawei.iaware
# /system/app/HwIAware/HwIAware.apk
# prioritizes apps to avoid slowdown
c com.huawei.iconnect
# /system/app/iConnect/iConnect.apk
#
# com.huawei.imedia.sws
# /product/app/SWSHeadphone/SWSHeadphone.apk
# Huawei Histen : audio 3d effects
c com.huawei.kidsmode.kidspaint
# /product/app/HwKidsPaint/HwKidsPaint.apk
#
c com.huawei.kidsmode
# /product/app/HwKidsMode/HwKidsMode.apk
#
c com.huawei.KoBackup
# /system/delapp/HwBackup_Local/HwBackup_Local.apk
# huawei backup app, backup to usb drive or huawei cloud
c com.huawei.languagedownloader
# /system/app/LanguageDownloader/LanguageDownloader.apk
#
c com.huawei.lbs
# /system/app/HwLBSService/HwLBSService.apk
#
# com.huawei.mmitest
# /system/app/HwMMITest/HwMMITest.apk
# has to do with all the hardware test
c com.huawei.nb.service
# /system/priv-app/HwNaturalBase/HwNaturalBase.apk
#
# com.huawei.nearby
# /system/app/HwNearby/HwNearby.apk
# necessary for System settings > Device connectivity > Huawei Share
c com.huawei.numberidentity
# /system/priv-app/NumberIdentity/NumberIdentity.apk
#
# com.huawei.omacp
# /system/priv-app/OMACP/OMACP.apk
# send/receive MMS
c com.huawei.parentcontrol
# /system/app/HwParentControl/HwParentControl.apk
#
c com.huawei.phoneservice
# /system/priv-app/HwPhoneService/HwPhoneService.apk
# HiCare app
c com.huawei.powergenie
# /system/app/HwPowerGenieEngine3/HwPowerGenieEngine3.apk
# battery usage : software analysis doesn't seem to show any data without this, but hardware power consumption details are still available
c com.huawei.recsys
# /system/priv-app/HwHiAIDSEngine/HwHiAIDSEngine.apk
# HwIntelligentRecSystem
c com.huawei.scanner
# /system/priv-app/HiVision/HiVision.apk
# Huawei Scanner function HwScanner analyze photos
# com.huawei.screenrecorder
# /system/priv-app/HwScreenRecorder/HwScreenRecorder.apk
# Huawei Screen recorder feature
c com.huawei.search
# /system/priv-app/HiSearch/HiSearch.apk
# huawei search : click middle screen swipe to bottom to show
c com.huawei.securitymgr
# /system/app/HwSecurityMgrService/HwSecurityMgrService.apk
#
c com.huawei.stylus.floatmenu
# /product/app/HwFloatMenu/HwFloatMenu.apk
# Stylus FloatMenu : asks for apps to open with the stylus (nebo, ...)
c com.huawei.synergy
# /system/app/HwSynergy/HwSynergy.apk
#
# com.huawei.systemmanager
# /system/priv-app/HwSystemManager/HwSystemManager.apk
# Huawei System Manager app. if removed breaks recent apps menu, which keep showing removed apps.
# com.huawei.systemserver
# /system/priv-app/HwSystemServer/HwSystemServer.apk
# System navigation / offscreen fingerprint navigation won't work without this
c com.huawei.tips
# /system/app/HwSmartSuggestion/HwSmartSuggestion.apk
# lässt Tipps aufpoppen
# com.huawei.trustagent
# /system/app/HwTrustAgent/HwTrustAgent.apk
# Intelligent unlock feature (unlock with a bluetooth device)
# com.huawei.trustcircle
# /system/app/HwTrustCircle/HwTrustCircle.apk
# Service d'authentification d'appareil
c com.huawei.vassistant
# /system/app/HwVAssistant/HwVAssistant.apk
# HiVoice app Sprachbefehls App, Hello Emy
# com.huawei.videoeditor
# /system/app/HwVideoEditor/HwVideoEditor.apk
# Video editor function
c com.huawei.wifieapsimplmn
# /system/priv-app/PredefinedEapSim/PredefinedEapSim.apk
# Extensible_Authentication_Protocol Seems to be an hotspot system which serve to authenticate via sim info
c com.huawei.wifiprobqeservice
# /system/app/HwWifiproBqeService/HwWifiproBqeService.apk
#
c com.instagram.android
# /data/hw_init/preload/app/Instagram_Stub/Instagram_Stub.apk
#
# com.myscript.nebo.huawei
# /data/hw_init/product/app/Nebo_PAD/Nebo_PAD.apk
# write draw with pen
c com.netflix.mediaclient
# /data/hw_init/preload/app/NetflixStub/NetflixStub.apk
#
c com.netflix.partner.activation
# /data/hw_init/preload/app/NetflixActivation/NetflixActivation.apk
#
c com.qeexo.smartshot
# /product/app/HwSmartShot/HwSmartShot.apk
# finger sense smart shot knuckel touch : makes a screenshot of the drawn path with the stylus pen when the stylus button is pressed
c com.swiftkey.swiftkeyconfigurator
# /system/app/SwiftKeyFactorySettings/SwiftKeyFactorySettings.apk
#
c com.touchtype.swiftkey
# /system/app/SwiftKey/SwiftKey.apk
#
# com.visionobjects.calculator_huawei_cameron
# /data/hw_init/product/app/Calculator_PAD/Calculator_PAD.apk
# myscript calculator pen
# com.visionobjects.stylusmobile.v3_2_huawei
# /data/hw_init/product/app/Stylus_PAD/Stylus_PAD.apk
# Huawei Handwriting App : System > Language & Input > Handwriting
Also to compare with here's a listing of the Android Pie stock apps for the Samsung Galaxy Tab S5e (Wifi Only) :
Code:
#!/system/bin/sh
# --cleansamsungs5e.sh---
# usage :
# adb push cleansamsungs5e.sh /storage/emulated/0/
# adb shell sh /storage/emulated/0/cleansamsungs5e.sh
function c(){
# clears and tries to uninstall app
pm list packages | grep "^package:${1}$"
if [ $? -eq 0 ]
then
echo -n " clear : "
pm clear "${1}"
echo -n " uninstall : "
pm uninstall "${1}"
echo -n " uninstall --user 0 : "
pm uninstall --user 0 "${1}"
echo ""
fi
}
function t(){
# clears and tries to uninstall app, for testing
c "${1}"
}
function n(){
# does nothing
}
# android.autoinstalls.config.samsung
# /data/app/android.autoinstalls.config.samsung-38jE1vyRUlujkX9LRML3kA==/base.apk
# com.android.chrome
# /data/app/com.android.chrome-_6Gqj24jeim7sT6h2rNYUg==/base.apk
# com.android.vending
# /data/app/com.android.vending-xdlEAjd0hrf_KROWz5PdQA==/base.apk
# com.dsi.ant.plugins.antplus
# /data/app/com.dsi.ant.plugins.antplus-4SnVeBcHzrAjkCvmjc11RA==/base.apk
# com.dsi.ant.service.socket
# /data/app/com.dsi.ant.service.socket-zSqVKed6jHO1b0HCJUitOw==/base.apk
c com.google.android.apps.docs
# /data/app/com.google.android.apps.docs-59mqmYm_pQT-9dhfJwSvvg==/base.apk
# google drive
# com.google.android.apps.maps
# /data/app/com.google.android.apps.maps-iJkhIlC2wXi6PETqKbqoxw==/base.apk
c com.google.android.apps.photos
# /data/app/com.google.android.apps.photos-xXuxNKmXoAHqNJL_ERXN4g==/base.apk
# google photos
c com.google.android.apps.tachyon
# /data/app/com.google.android.apps.tachyon-KFRmC6BsIR4V6kvxy7IqHw==/base.apk
# google duo videotelephonie
# com.google.android.apps.turbo
# /data/app/com.google.android.apps.turbo-Pohec1f8IhPeFklfMrs-9Q==/base.apk
c com.google.android.gm
# /data/app/com.google.android.gm-S9NAdJC44AueeYlipBKA2g==/base.apk
# Gmail
# com.google.android.gms
# /data/app/com.google.android.gms-pH8Egiz227TPd43oS7Lovw==/base.apk
# com.google.android.googlequicksearchbox
# /data/app/com.google.android.googlequicksearchbox-71d7CFgqGRjrMWf5YbKisA==/base.apk
c com.google.android.music
# /data/app/com.google.android.music-22LoaPK0DRRotdzXZnvF1A==/base.apk
# google play music
# com.google.android.tts
# /data/app/com.google.android.tts-12ZRCDuZwxC3AGwr7bWaUw==/base.apk
c com.google.android.videos
# /data/app/com.google.android.videos-1UmmXZ3LvC-uKwJMnB2CNA==/base.apk
# google play movies
c com.google.android.youtube
# /data/app/com.google.android.youtube-pmECIneisKli7Z5EOBM5-g==/base.apk
# com.google.ar.core
# /data/app/com.google.ar.core-8lx4oioWLNDojlcHVrT19g==/base.apk
c com.microsoft.skydrive
# /data/app/com.microsoft.skydrive-Frbtgblu4kM-nyt31JpkIg==/base.apk
# com.samsung.android.email.provider
# /data/app/com.samsung.android.email.provider-OaBP43CNACdYjxxJGEeUzg==/base.apk
c com.samsung.android.galaxycontinuity
# /data/app/com.samsung.android.galaxycontinuity-Dl53rGApm4zVhFG_9c96aA==/base.apk
# Samsung Flow is a software product that enables a seamless, secure, connected experience across your devices.
c com.samsung.android.voc
# /data/app/com.samsung.android.voc-pJ8JlssTNLvlrV3NWPQkoA==/base.apk
# samsung members
# com.sec.android.app.popupcalculator
# /data/app/com.sec.android.app.popupcalculator-1UGA45VXmDAsrFMz3Rzr5A==/base.apk
c com.sec.android.app.sbrowser
# /data/app/com.sec.android.app.sbrowser-wIgfQ8dazWaU-35g3gxjOw==/base.apk
c com.sec.android.app.kidshome
# /data/app/KidsHome_P/KidsHome_P.apk
# com.samsung.android.app.notes
# /data/app/Notes_Removable/Notes_Removable.apk
c com.microsoft.office.officehubrow
# /data/app/OfficeMobile_SamsungStub/OfficeMobile_SamsungStub.apk
c com.samsung.android.oneconnect
# /data/app/SamsungConnect/SamsungConnect.apk
# microsoft
c com.spotify.music
# /data/app/Spotify/Spotify.apk
# com.samsung.aasaservice
# /system/app/AASAservice/AASAservice.apk
# com.samsung.android.allshare.service.fileshare
# /system/app/AllshareFileShare/AllshareFileShare.apk
# com.samsung.android.allshare.service.mediashare
# /system/app/AllshareMediaShare/AllshareMediaShare.apk
# com.dsi.ant.server
# /system/app/AntHalService/AntHalService.apk
# com.dsi.ant.sample.acquirechannels
# /system/app/ANTPlusTest/ANTPlusTest.apk
# com.sec.android.app.applinker
# /system/app/AppLinker/AppLinker.apk
# com.sec.android.app.DataCreate
# /system/app/AutomationTest_FB/AutomationTest_FB.apk
# com.android.dreams.basic
# /system/app/BasicDreams/BasicDreams.apk
# com.samsung.android.bbc.bbcagent
# /system/app/BBCAgent/BBCAgent.apk
# com.sec.bcservice
# /system/app/BCService/BCService.apk
# com.android.bluetooth
# /system/app/Bluetooth/Bluetooth.apk
# com.android.bluetoothmidiservice
# /system/app/BluetoothMidiService/BluetoothMidiService.apk
# com.sec.android.app.bluetoothtest
# /system/app/BluetoothTest/BluetoothTest.apk
# com.android.bookmarkprovider
# /system/app/BookmarkProvider/BookmarkProvider.apk
# com.samsung.ucs.agent.boot
# /system/app/bootagent/bootagent.apk
# com.android.bips
# /system/app/BuiltInPrintService/BuiltInPrintService.apk
# com.sec.factory.cameralyzer
# /system/app/Cameralyzer/Cameralyzer.apk
# com.android.captiveportallogin
# /system/app/CaptivePortalLogin/CaptivePortalLogin.apk
# com.android.carrierdefaultapp
# /system/app/CarrierDefaultApp/CarrierDefaultApp.apk
# com.android.certinstaller
# /system/app/CertInstaller/CertInstaller.apk
c com.sec.android.app.chromecustomizations
# /system/app/ChromeCustomizations/ChromeCustomizations.apk
# com.samsung.clipboardsaveservice
# /system/app/ClipboardSaveService/ClipboardSaveService.apk
# com.samsung.android.clipboarduiservice
# /system/app/ClipboardUIService/ClipboardUIService.apk
# com.sec.android.app.clockpackage
# /system/app/ClockPackage/ClockPackage.apk
# com.qti.service.colorservice
# /system/app/colorservice/colorservice.apk
# com.android.companiondevicemanager
# /system/app/CompanionDeviceManager/CompanionDeviceManager.apk
# com.android.cts.ctsshim
# /system/app/CtsShimPrebuilt/CtsShimPrebuilt.apk
# com.diotek.sec.lookup.dictionary
# /system/app/DictDiotekForSec/DictDiotekForSec.apk
# com.sec.android.app.parser
# /system/app/DRParser/DRParser.apk
# com.samsung.android.dsms
# /system/app/DsmsAPK/DsmsAPK.apk
# com.android.egg
# /system/app/EasterEgg/EasterEgg.apk
# com.sec.enterprise.mdm.services.simpin
# /system/app/EdmSimPinService/EdmSimPinService.apk
# com.qualcomm.embms
# /system/app/embms/embms.apk
# com.sec.android.emergencylauncher
# /system/app/EmergencyLauncher/EmergencyLauncher.apk
# com.sec.android.emergencymode.service
# /system/app/EmergencyModeService/EmergencyModeService.apk
# com.sec.android.provider.emergencymode
# /system/app/EmergencyProvider/EmergencyProvider.apk
# com.samsung.android.aircommandmanager
# /system/app/FactoryAirCommandManager/FactoryAirCommandManager.apk
# com.sec.factory.camera
# /system/app/FactoryCameraFB/FactoryCameraFB.apk
# com.qualcomm.qti.auth.fidocryptoservice
# /system/app/FidoCryptoService/FidoCryptoService.apk
# com.samsung.android.provider.filterprovider
# /system/app/FilterProvider/FilterProvider.apk
# com.monotype.android.font.foundation
# /system/app/Foundation/Foundation.apk
# com.enhance.gameservice
# /system/app/GameOptimizer/GameOptimizer.apk
# com.samsung.android.game.gos
# /system/app/GameOptimizingService/GameOptimizingService.apk
# com.samsung.android.app.watchmanagerstub
# /system/app/GearManagerStub/GearManagerStub.apk
# com.google.android.syncadapters.calendar
# /system/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
# com.google.android.syncadapters.contacts
# /system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
# com.google.android.ext.shared
# /system/app/GoogleExtShared/GoogleExtShared.apk
# com.google.android.printservice.recommendation
# /system/app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk
# com.samsung.android.sdk.handwriting
# /system/app/HandwritingService/HandwritingService.apk
# com.samsung.advp.imssettings
# /system/app/ImsSettings/ImsSettings.apk
# com.android.keychain
# /system/app/KeyChain/KeyChain.apk
c com.samsung.android.kidsinstaller
# /system/app/KidsHome_Installer/KidsHome_Installer.apk
# com.sec.enterprise.knox.attestation
# /system/app/KnoxAttestationAgent/KnoxAttestationAgent.apk
# com.samsung.knox.keychain
# /system/app/KnoxKeyChain/KnoxKeyChain.apk
# com.samsung.android.mdecservice
# /system/app/MdecService/MdecService.apk
# com.samsung.android.mdm
# /system/app/MDMApp/MDMApp.apk
# com.android.pacprocessor
# /system/app/PacProcessor/PacProcessor.apk
# com.android.providers.partnerbookmarks
# /system/app/PartnerBookmarksProvider/PartnerBookmarksProvider.apk
# com.qualcomm.qti.perfdump
# /system/app/Perfdump/Perfdump.apk
# com.android.dreams.phototable
# /system/app/PhotoTable/PhotoTable.apk
# com.qti.snapdragon.qdcm_ff
# /system/app/QdcmFF/QdcmFF.apk
# com.qualcomm.qti.uim
# /system/app/remotesimlockservice/remotesimlockservice.apk
c com.samsung.safetyinformation
# /system/app/SafetyInformation/SafetyInformation.apk
# com.samsung.android.calendar
# /system/app/SamsungCalendar/SamsungCalendar.apk
# com.sec.android.inputmethod
# /system/app/SamsungIMEv3.3Tab/SamsungIMEv3.3Tab.apk
# com.monotype.android.font.samsungone
# /system/app/SamsungOne/SamsungOne.apk
# com.samsung.SMT
# /system/app/SamsungTTS/SamsungTTS.apk
c com.samsung.android.sm.policy
# /system/app/SCPMClient_N/SCPMClient_N.apk
# com.sec.phone
# /system/app/SecFactoryPhoneTest/SecFactoryPhoneTest.apk
# com.android.htmlviewer
# /system/app/SecHTMLViewer/SecHTMLViewer.apk
# com.android.se
# /system/app/SecureElement/SecureElement.apk
c com.samsung.android.securitylogagent
# /system/app/SecurityLogAgent/SecurityLogAgent.apk
c com.sec.android.providers.security
# /system/app/SecurityProviderSEC/SecurityProviderSEC.apk
c com.sec.android.app.setupwizardlegalprovider
# /system/app/SetupWizardLegalProvider/SetupWizardLegalProvider.apk
c com.samsung.android.shortcutbackupservice
# /system/app/ShortcutBackupService/ShortcutBackupService.apk
# com.sec.modem.settings
# /system/app/SilentLog/SilentLog.apk
# com.android.simappdialog
# /system/app/SimAppDialog/SimAppDialog.apk
# com.samsung.ims.smk
# /system/app/SimMobilityKit/SimMobilityKit.apk
c com.samsung.android.location
# /system/app/SLocation/SLocation.apk
# com.samsung.android.app.smartcapture
# /system/app/SmartCapture/SmartCapture.apk
c com.samsung.android.smartmirroring
# /system/app/SmartMirroring/SmartMirroring.apk
# com.samsung.android.app.reminder
# /system/app/SmartReminder/SmartReminder.apk
c com.sec.android.easyMover.Agent
# /system/app/SmartSwitchAgent/SmartSwitchAgent.apk
# com.qualcomm.qti.smcinvokepkgmgr
# /system/app/smcinvokepkgmgr/smcinvokepkgmgr.apk
# com.samsung.android.app.soundpicker
# /system/app/SMusicPicker/SMusicPicker.apk
# com.sec.android.splitsound
# /system/app/SplitSoundService/SplitSoundService.apk
# com.android.printspooler
# /system/app/SPrintSpooler/SPrintSpooler.apk
# com.android.stk
# /system/app/Stk/Stk.apk
# com.sec.sve
# /system/app/sveservice/sveservice.apk
# com.android.traceur
# /system/app/Traceur/Traceur.apk
# com.qualcomm.qti.lpa
# /system/app/uimlpaservice/uimlpaservice.apk
# com.sec.enterprise.knox.cloudmdm.smdms
# /system/app/UniversalMDMClient/UniversalMDMClient.apk
# com.sec.usbsettings
# /system/app/USBSettings/USBSettings.apk
# com.samsung.app.newtrim
# /system/app/VideoTrimmer/VideoTrimmer.apk
# com.samsung.android.visionintelligence
# /system/app/VisionIntelligence3/VisionIntelligence3.apk
# com.sec.vsimservice
# /system/app/vsimservice/vsimservice.apk
# com.android.wallpaperbackup
# /system/app/WallpaperBackup/WallpaperBackup.apk
# com.sec.android.daemonapp
# /system/app/Weather_SEP10.3/Weather_SEP10.3.apk
# com.sec.android.widgetapp.webmanual
# /system/app/WebManual/WebManual.apk
# com.google.android.webview
# /system/app/WebViewStub/WebViewStub.apk
# com.samsung.android.net.wifi.wifiguider
# /system/app/WifiGuider/WifiGuider.apk
# com.sec.android.app.wlantest
# /system/app/WlanTest/WlanTest.apk
# android
# /system/framework/framework-res.apk
# com.samsung.accessibility
# /system/priv-app/Accessibility/Accessibility.apk
# com.google.android.gms.policy_sidecar_aps
# /system/priv-app/AndroidPlatformServices/AndroidPlatformServices.apk
# com.samsung.android.authfw
# /system/priv-app/AuthFramework/AuthFramework.apk
# com.android.backupconfirm
# /system/priv-app/BackupRestoreConfirmation/BackupRestoreConfirmation.apk
# com.sec.android.provider.badge
# /system/priv-app/BadgeProvider_N/BadgeProvider_N.apk
# com.samsung.android.beaconmanager
# /system/priv-app/BeaconManager/BeaconManager.apk
# com.samsung.android.bio.face.service
# /system/priv-app/BioFaceService/BioFaceService.apk
c com.samsung.android.app.spage
# /system/priv-app/BixbyHome/BixbyHome.apk
# merde panel à gauche pubs news
c com.samsung.android.bixby.service
# /system/priv-app/BixbyService/BixbyService.apk
c com.samsung.android.bixbyvision.framework
# /system/priv-app/BixbyVisionFramework3/BixbyVisionFramework3.apk
# com.android.providers.blockednumber
# /system/priv-app/BlockedNumberProvider/BlockedNumberProvider.apk
# com.samsung.android.bluelightfilter
# /system/priv-app/BlueLightFilter/BlueLightFilter.apk
# com.android.calllogbackup
# /system/priv-app/CallLogBackup/CallLogBackup.apk
# com.android.carrierconfig
# /system/priv-app/CarrierConfig/CarrierConfig.apk
# com.samsung.android.app.clockpack
# /system/priv-app/ClockPack_v40/ClockPack_v40.apk
# com.samsung.cmh
# /system/priv-app/CMHProvider/CMHProvider.apk
# com.qualcomm.location
# /system/priv-app/com.qualcomm.location/com.qualcomm.location.apk
# com.google.android.configupdater
# /system/priv-app/ConfigUpdater/ConfigUpdater.apk
# com.samsung.android.knox.containeragent
# /system/priv-app/ContainerAgent3/ContainerAgent3.apk
# com.samsung.sec.android.application.csc
# /system/priv-app/CSC/CSC.apk
# com.android.cts.priv.ctsshim
# /system/priv-app/CtsShimPrivPrebuilt/CtsShimPrivPrebuilt.apk
# com.samsung.android.homemode
# /system/priv-app/DailyBoard/DailyBoard.apk
# com.android.defcontainer
# /system/priv-app/DefaultContainerService/DefaultContainerService.apk
# com.sec.android.desktopmode.uiservice
# /system/priv-app/DesktopModeUiService/DesktopModeUiService.apk
# com.sec.android.app.factorykeystring
# /system/priv-app/DeviceKeystring/DeviceKeystring.apk
c com.samsung.android.dqagent
# /system/priv-app/DeviceQualityAgent/DeviceQualityAgent.apk
# com.sec.factory
# /system/priv-app/DeviceTest/DeviceTest.apk
# com.sec.android.desktopcommunity
# /system/priv-app/DexCommunity/DexCommunity.apk
# com.sec.android.diagmonagent
# /system/priv-app/DiagMonAgent/DiagMonAgent.apk
# com.android.documentsui
# /system/priv-app/DocumentsUI/DocumentsUI.apk
# com.android.providers.downloads.ui
# /system/priv-app/DownloadProviderUi/DownloadProviderUi.apk
# com.samsung.android.app.dofviewer
# /system/priv-app/DualOutFocusViewer/DualOutFocusViewer.apk
c com.samsung.android.easysetup
# /system/priv-app/EasySetup/EasySetup.apk
# com.android.emergency
# /system/priv-app/EmergencyInfo/EmergencyInfo.apk
# com.samsung.android.emojiupdater
# /system/priv-app/EmojiUpdater/EmojiUpdater.apk
# com.android.externalstorage
# /system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk
# com.samsung.faceservice
# /system/priv-app/FaceService/FaceService.apk
c com.samsung.android.app.galaxyfinder
# /system/priv-app/Finder/Finder.apk
# com.samsung.android.fmm
# /system/priv-app/Fmm/Fmm.apk
# com.wssyncmldm
# /system/priv-app/FotaAgent/FotaAgent.apk
# com.android.location.fused
# /system/priv-app/FusedLocation/FusedLocation.apk
c com.sec.android.app.samsungapps
# /system/priv-app/GalaxyApps_Tablet/GalaxyApps_Tablet.apk
c com.sec.android.widgetapp.samsungapps
# /system/priv-app/GalaxyAppsWidget_Tablet_TabS3/GalaxyAppsWidget_Tablet_TabS3.apk
c com.samsung.android.game.gamehome
# /system/priv-app/GameHome/GameHome.apk
c com.samsung.android.game.gametools
# /system/priv-app/GameTools_TabletSWKey/GameTools_TabletSWKey.apk
# com.sec.android.mimage.gear360editor
# /system/priv-app/Gear360Editor_Beyond/Gear360Editor_Beyond.apk
# com.google.android.backuptransport
# /system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
# com.google.android.ext.services
# /system/priv-app/GoogleExtServices/GoogleExtServices.apk
c com.google.android.feedback
# /system/priv-app/GoogleFeedback/GoogleFeedback.apk
# com.google.android.onetimeinitializer
# /system/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
# com.google.android.packageinstaller
# /system/priv-app/GooglePackageInstaller/GooglePackageInstaller.apk
# com.google.android.partnersetup
# /system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
# com.google.android.apps.restore
# /system/priv-app/GoogleRestore/GoogleRestore.apk
# com.google.android.gsf
# /system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
# com.sec.hearingadjust
# /system/priv-app/Hearingdro_V7_P/Hearingdro_V7_P.apk
c com.android.hotwordenrollment.okgoogle
# /system/priv-app/HotwordEnrollmentOKGoogleExTL3210/HotwordEnrollmentOKGoogleExTL3210.apk
c com.android.hotwordenrollment.xgoogle
# /system/priv-app/HotwordEnrollmentXGoogleExTL3210/HotwordEnrollmentXGoogleExTL3210.apk
# com.sec.android.app.hwmoduletest
# /system/priv-app/HwModuleTest/HwModuleTest.apk
# com.sec.imslogger
# /system/priv-app/ImsLogger/ImsLogger.apk
# com.sec.imsservice
# /system/priv-app/imsservice/imsservice.apk
# com.sec.ims
# /system/priv-app/ImsTelephonyService/ImsTelephonyService.apk
# com.android.inputdevices
# /system/priv-app/InputDevices/InputDevices.apk
c com.samsung.ipservice
# /system/priv-app/IPService/IPService.apk
# annoying messages
# com.samsung.android.keyguardwallpaperupdator
# /system/priv-app/KeyguardWallpaperUpdator/KeyguardWallpaperUpdator.apk
# com.samsung.klmsagent
# /system/priv-app/KLMSAgent/KLMSAgent.apk
# com.samsung.android.knox.analytics.uploader
# /system/priv-app/knoxanalyticsagent/knoxanalyticsagent.apk
# com.samsung.android.knox.containerdesktop
# /system/priv-app/KnoxContainerDesktop/KnoxContainerDesktop.apk
# com.samsung.android.knox.containercore
# /system/priv-app/KnoxCore/KnoxCore.apk
# com.sec.android.app.desktoplauncher
# /system/priv-app/KnoxDesktopLauncher/KnoxDesktopLauncher.apk
# com.samsung.android.kgclient
# /system/priv-app/KnoxGuard/KnoxGuard.apk
# com.knox.vpn.proxyhandler
# /system/priv-app/knoxvpnproxyhandler/knoxvpnproxyhandler.apk
# com.android.managedprovisioning
# /system/priv-app/ManagedProvisioning/ManagedProvisioning.apk
# com.samsung.mlp
# /system/priv-app/MediaLearningPlatform/MediaLearningPlatform.apk
# com.android.mms.service
# /system/priv-app/MmsService/MmsService.apk
# com.sec.android.RilServiceModeApp
# /system/priv-app/ModemServiceMode/ModemServiceMode.apk
# com.samsung.android.MtpApplication
# /system/priv-app/MtpApplication/MtpApplication.apk
# com.android.mtp
# /system/priv-app/MtpDocumentsProvider/MtpDocumentsProvider.apk
# com.samsung.android.setting.multisound
# /system/priv-app/MultiSoundSetting/MultiSoundSetting.apk
# com.sec.vsim.ericssonnsds.webapp
# /system/priv-app/NSDSWebApp/NSDSWebApp.apk
# com.samsung.android.app.omcagent
# /system/priv-app/OMCAgent5/OMCAgent5.apk
# com.sec.android.mimage.photoretouching
# /system/priv-app/PhotoStudio_Beyond/PhotoStudio_Beyond.apk
# com.sec.android.preloadinstaller
# /system/priv-app/PreloadInstaller/PreloadInstaller.apk
# com.android.proxyhandler
# /system/priv-app/ProxyHandler/ProxyHandler.apk
# com.sec.android.app.ringtoneBR
# /system/priv-app/ringtoneBR/ringtoneBR.apk
c com.samsung.android.rubin.app
# /system/priv-app/RubinVersion23/RubinVersion23.apk
# messaging
c com.osp.app.signin
# /system/priv-app/SamsungAccount_Star/SamsungAccount_Star.apk
c com.sec.android.app.billing
# /system/priv-app/SamsungBilling/SamsungBilling.apk
# com.android.providers.calendar
# /system/priv-app/SamsungCalendarProvider/SamsungCalendarProvider.apk
# com.sec.android.app.camera
# /system/priv-app/SamsungCamera/SamsungCamera.apk
c com.samsung.android.scloud
# /system/priv-app/SamsungCloudClient/SamsungCloudClient.apk
# com.samsung.android.providers.contacts
# /system/priv-app/SamsungContactsProvider100/SamsungContactsProvider100.apk
# com.samsung.android.contacts
# /system/priv-app/SamsungContacts/SamsungContacts.apk
c com.sec.android.sdhms
# /system/priv-app/SamsungDeviceHealthManagerService/SamsungDeviceHealthManagerService.apk
# com.samsung.android.dialer
# /system/priv-app/SamsungDialer/SamsungDialer.apk
c com.samsung.android.wellbeing
# /system/priv-app/SamsungDigitalWellbeing/SamsungDigitalWellbeing.apk
c com.samsung.android.mobileservice
# /system/priv-app/SamsungExperienceService/SamsungExperienceService.apk
# com.sec.android.gallery3d
# /system/priv-app/SamsungGallery2018/SamsungGallery2018.apk
# com.samsung.android.incallui
# /system/priv-app/SamsungInCallUI/SamsungInCallUI.apk
c com.samsung.android.messaging
# /system/priv-app/SamsungMessages_10.0/SamsungMessages_10.0.apk
c com.samsung.android.samsungpass
# /system/priv-app/SamsungPass/SamsungPass.apk
c com.samsung.android.app.social
# /system/priv-app/SamsungSocial/SamsungSocial.apk
# com.samsung.android.timezone.updater
# /system/priv-app/SamsungTimeZoneUpdater/SamsungTimeZoneUpdater.apk
# com.samsung.android.video
# /system/priv-app/SamsungVideoPlayer2016/SamsungVideoPlayer2016.apk
# com.samsung.android.sdm.config
# /system/priv-app/SDMConfig/SDMConfig.apk
# com.qualcomm.qti.seccamservice
# /system/priv-app/seccamservice/seccamservice.apk
# com.android.providers.downloads
# /system/priv-app/SecDownloadProvider/SecDownloadProvider.apk
# com.android.wallpaper.livepicker
# /system/priv-app/SecLiveWallpapersPicker/SecLiveWallpapersPicker.apk
# com.android.providers.media
# /system/priv-app/SecMediaProvider/SecMediaProvider.apk
# com.sec.android.app.myfiles
# /system/priv-app/SecMyFiles2018/SecMyFiles2018.apk
# com.android.settings.intelligence
# /system/priv-app/SecSettingsIntelligence/SecSettingsIntelligence.apk
# com.android.settings
# /system/priv-app/SecSettings/SecSettings.apk
# com.sec.android.app.SecSetupWizard
# /system/priv-app/SecSetupWizard_Global/SecSetupWizard_Global.apk
# com.android.providers.telephony
# /system/priv-app/SecTelephonyProvider/SecTelephonyProvider.apk
# com.samsung.knox.securefolder
# /system/priv-app/SecureFolder/SecureFolder.apk
# com.sec.android.app.servicemodeapp
# /system/priv-app/serviceModeApp_FB/serviceModeApp_FB.apk
c com.samsung.android.app.settings.bixby
# /system/priv-app/SettingsBixby/SettingsBixby.apk
# com.android.providers.settings
# /system/priv-app/SettingsProvider/SettingsProvider.apk
# com.samsung.android.SettingsReceiver
# /system/priv-app/SettingsReceiver/SettingsReceiver.apk
# com.google.android.setupwizard
# /system/priv-app/SetupWizard/SetupWizard.apk
# com.android.sharedstoragebackup
# /system/priv-app/SharedStorageBackup/SharedStorageBackup.apk
# com.android.shell
# /system/priv-app/Shell/Shell.apk
# com.samsung.android.app.siofviewer
# /system/priv-app/SingleOutFocusViewer/SingleOutFocusViewer.apk
# com.skms.android.agent
# /system/priv-app/SKMSAgent/SKMSAgent.apk
# com.samsung.android.smartface
# /system/priv-app/smartfaceservice/smartfaceservice.apk
c com.samsung.android.lool
# /system/priv-app/SmartManager_v5/SmartManager_v5.apk
c com.samsung.android.sm.devicesecurity
# /system/priv-app/SmartManager_v6_DeviceSecurity/SmartManager_v6_DeviceSecurity.apk
c com.samsung.android.smartswitchassistant
# /system/priv-app/SmartSwitchAssistant/SmartSwitchAssistant.apk
# com.sec.android.soagent
# /system/priv-app/SOAgent/SOAgent.apk
# com.sec.android.app.soundalive
# /system/priv-app/SoundAlive_55/SoundAlive_55.apk
# com.samsung.android.spdclient
# /system/priv-app/SPDClient/SPDClient.apk
# com.sec.spp.push
# /system/priv-app/SPPPushClient/SPPPushClient.apk
# com.android.statementservice
# /system/priv-app/StatementService/StatementService.apk
# com.samsung.android.stickercenter
# /system/priv-app/StickerCenter/StickerCenter.apk
# com.samsung.android.app.camera.sticker.facear.preload
# /system/priv-app/StickerFaceAR3/StickerFaceAR3.apk
# com.samsung.android.provider.stickerprovider
# /system/priv-app/StickerProvider/StickerProvider.apk
# com.samsung.android.app.camera.sticker.stamp.preload
# /system/priv-app/StickerStamp/StickerStamp.apk
# com.android.storagemanager
# /system/priv-app/StorageManager/StorageManager.apk
c com.samsung.storyservice
# /system/priv-app/StoryService/StoryService.apk
# com.samsung.android.svcagent
# /system/priv-app/SVCAgent/SVCAgent.apk
c com.samsung.systemui.bixby2
# /system/priv-app/SystemUIBixby2/SystemUIBixby2.apk
# panel à gauche saloperie de news app
# com.samsung.desktopsystemui
# /system/priv-app/SystemUIDesktop/SystemUIDesktop.apk
# com.android.systemui
# /system/priv-app/SystemUI/SystemUI.apk
c com.samsung.android.tadownloader
# /system/priv-app/TADownloader/TADownloader.apk
c com.samsung.android.tapack.authfw
# /system/priv-app/TaPackAuthFw/TaPackAuthFw.apk
# com.android.server.telecom
# /system/priv-app/Telecom/Telecom.apk
# com.android.phone
# /system/priv-app/TeleService/TeleService.apk
# com.samsung.android.timezone.data_P
# /system/priv-app/TimeZoneData/TimeZoneData.apk
# com.sec.android.app.launcher
# /system/priv-app/TouchWizHome_2017/TouchWizHome_2017.apk
# com.sec.android.uibcvirtualsoftkey
# /system/priv-app/UIBCVirtualSoftkey/UIBCVirtualSoftkey.apk
c de.axelspringer.yana.zeropage
# /system/priv-app/Upday/Upday.apk
# news app à virer
# com.android.providers.userdictionary
# /system/priv-app/UserDictionaryProvider/UserDictionaryProvider.apk
# com.android.vpndialogs
# /system/priv-app/VpnDialogs/VpnDialogs.apk
# com.sec.android.wallpapercropper2
# /system/priv-app/WallpaperCropper2/WallpaperCropper2.apk
# com.android.wallpapercropper
# /system/priv-app/WallpaperCropper/WallpaperCropper.apk
# com.sec.android.app.wallpaperchooser
# /system/priv-app/WallpaperPicker_2018/WallpaperPicker_2018.apk
# com.samsung.android.wallpaper.res
# /system/priv-app/wallpaper-res/wallpaper-res.apk
# com.qualcomm.qti.qms.service.connectionsecurity
# /vendor/app/ConnectionSecurityService/ConnectionSecurityService.apk
# com.qualcomm.qti.qms.service.telemetry
# /vendor/app/SSGTelemetryService/SSGTelemetryService.apk
# com.qualcomm.timeservice
# /vendor/app/TimeService/TimeService.apk
# com.qualcomm.qti.qms.service.trustzoneaccess
# /vendor/app/TrustZoneAccessService/TrustZoneAccessService.apk
# com.android.internal.display.cutout.emulation.corner
# /vendor/overlay/DisplayCutoutEmulationCorner/DisplayCutoutEmulationCornerOverlay.apk
# com.android.internal.display.cutout.emulation.double
# /vendor/overlay/DisplayCutoutEmulationDouble/DisplayCutoutEmulationDoubleOverlay.apk
# com.android.internal.display.cutout.emulation.tall
# /vendor/overlay/DisplayCutoutEmulationTall/DisplayCutoutEmulationTallOverlay.apk
# android.auto_generated_rro__
# /vendor/overlay/framework-res__auto_generated_rro.apk
# com.android.systemui.theme.dark
# /vendor/overlay/SysuiDarkTheme/SysuiDarkThemeOverlay.apk
# com.samsung.systemui.hidenotch
# /vendor/overlay/SysuiHideNotch/SysuiHideNotchOverlay.apk
# com.samsung.systemui.hidenotch.withoutcornerround
# /vendor/overlay/SysuiHideNotchWithoutCornerRound/SysuiHideNotchWithoutCornerRoundOverlay.apk
Hi!
Loveing the Mediapad M5 hardware wise. But the software is crap so thats why im here.
I've successfully removed most huawei crap from the admin user, but however i try i can't get it to work on the second user?
If i remove the apps before i create the second user, i cant create it. When i go to set it up it just blinks.
If i remove the apps after i created it the settings app crashes and i cant go in there. All is fine on the main/first user.
I can see that is still says Huawei-ID on the top in user 2, (in settings). It does not on firsts user.
When im on user 2 and connected to ADB on my laptop and try to uninstall huawei ID package com.huawei.hwid it says it dosent exist so i can't remove.
Any help on how to clean both users from Huawei crap?
This is the apps i've removed, one ones with a c or t infront of the package name.
Code:
#!/system/bin/sh
# usage :
# adb push disableBloatware.sh /storage/emulated/0/
# adb shell sh /storage/emulated/0/disableBloatware.sh
# adb shell pm list packages -f | cut -c 9- | sort
function c(){ # disable package
pm list packages | grep ${1}
if [ $? -eq 0 ]
then
pm clear ${1}
pm uninstall ${1}
pm uninstall --user 0 ${1}
fi
}
function t(){ # disable package
c ${1}
}
# android /system/framework/framework-res.apk
# androidhwext /system/framework/framework-res-hwext.apk
c cn.wps.moffice_eng # WPS Office /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/WPS/WPS.apk
# com.android.backupconfirm # Restore google settings /system/priv-app/BackupRestoreConfirmation/BackupRestoreConfirmation.apk
# com.android.bips /system/app/BuiltInPrintService/BuiltInPrintService.apk
# com.android.bluetoothmidiservice # Provides classes for sending and receiving messages using the MIDI event protocol over Bluetooth LE /system/app/BluetoothMidiService/BluetoothMidiService.apk
# com.android.bluetooth # Core of Bluetooth services /system/app/Bluetooth/Bluetooth.apk
# com.android.bookmarkprovider /system/app/BookmarkProvider/BookmarkProvider.apk
# com.android.calculator2 # Stock calculator app /system/priv-app/ExactCalculator/ExactCalculator.apk
# com.android.calendar # Stock calendar app /system/priv-app/Calendar/Calendar.apk
# com.android.calllogbackup /system/priv-app/CallLogBackup/CallLogBackup.apk
# com.android.captiveportallogin # This consists in a web page that the user of a public access network is obliged to view and interect with, before access is granted. Like public Wi-Fi hotspots that prompts you with an user and password login /system/app/CaptivePortalLogin/CaptivePortalLogin.apk
# com.android.carrierconfig # Provides access to telephony configuration values that are carrier-specific /system/priv-app/CarrierConfig/CarrierConfig.apk
# com.android.cellbroadcastreceiver # Alerts for Broadcast warnt wenn die nationale Sicherheit gefährdet ist /system/priv-app/CellBroadcastReceiver/CellBroadcastReceiver.apk
# com.android.certinstaller # Certificate installer. When removed, the Wi-Fi wouldn't be able to be turned on /system/app/CertInstaller/CertInstaller.apk
# com.android.chrome # /system/app/Chrome/Chrome.apk
# com.android.companiondevicemanager /system/app/CompanionDeviceManager/CompanionDeviceManager.apk
# com.android.contacts # Stock contacts app /system/priv-app/Contacts/Contacts.apk
# com.android.cts.ctsshim /system/app/CtsShimPrebuilt/CtsShimPrebuilt.apk
# com.android.cts.priv.ctsshim /system/priv-app/CtsShimPrivPrebuilt/CtsShimPrivPrebuilt.apk
# com.android.defcontainer # Needed for installer by applications /system/priv-app/DefaultContainerService/DefaultContainerService.apk
# com.android.deskclock # Clock app, plus alarm function /system/app/HwDeskClock/HwDeskClock.apk
# com.android.documentsui # Downloaded files app : it's a "file picker" the recommended default interfact for apps wishing to access files outside of their own storage area (i.e. to save data to your SD card) /system/priv-app/DocumentsUI/DocumentsUI.apk
# com.android.dreams.basic # Support for screensaver mode /system/delapp/BasicDreams/BasicDreams.apk
# com.android.dreams.phototable # Photographic screensavers Photobildschirmschoner /system/app/PhotoTable/PhotoTable.apk
# com.android.egg # Android build's easter egg feature /system/app/EasterEgg/EasterEgg.apk
c com.android.email # Stock Email app (not Gmail) /system/priv-app/Email/Email.apk
# com.android.emergency /system/priv-app/EmergencyInfo/EmergencyInfo.apk
c com.android.exchange # microsoft spyware high security risk /system/priv-app/Exchange2/Exchange2.apk
# com.android.externalstorage /system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk
# com.android.frameworkhwext.dark # /system/emui/base/overlay/frameworkhwextdark/frameworkhwextdark.apk
# com.android.frameworkhwext.honor # /system/emui/base/overlay/frameworkhwexthonor/frameworkhwexthonor.apk
# com.android.frameworkres.overlay # /hw_oem/overlay/frameworkResOverlay.apk
# com.android.gallery3d # Gallery app /system/priv-app/Gallery2/Gallery2.apk
# com.android.htmlviewer # HTML viewer package /system/app/HTMLViewer/HTMLViewer.apk
# com.android.incallui # In Call User Interface - Controls various activities during a call /system/priv-app/InCallUI/InCallUI.apk
# com.android.inputdevices # Manages the input device /system/priv-app/InputDevices/InputDevices.apk
# com.android.keychain # Should provide access to private keys plus their certificate chains in storage /system/app/KeyChain/KeyChain.apk
# com.android.keyguard lockscreen /system/app/HwMagazine/HwMagazine.apk
# com.android.location.fused # Provides everything you need for GPS, Cellular and Wi-Fi networks location data /system/priv-app/FusedLocation/FusedLocation.apk
c com.android.managedprovisioning # Google Workplace For corporate restritctions on phones with Google Workplace /system/priv-app/ManagedProvisioning/ManagedProvisioning.apk
c com.android.mediacenter # Huawei Musik Player App /system/priv-app/HwMediaCenter/HwMediaCenter.apk
# com.android.mms.service # Provides support for sending MMS messages with photos, videos, ecc /system/priv-app/MmsService/MmsService.apk
# com.android.mms # Stock SMS app /system/priv-app/Mms/Mms.apk
# com.android.mtp /system/priv-app/MtpDocumentsProvider/MtpDocumentsProvider.apk
# com.android.pacprocessor # proxy auto-config : this file defines how web browsers and other agents can automatically define the correct proxy server for fetching an URL /system/app/PacProcessor/PacProcessor.apk
c com.android.partnerbrowsercustomizations.tmobile # Browser /system/app/ChromeHomePage/ChromeHomePage.apk
# com.android.phone # Dialer app /system/priv-app/TeleService/TeleService.apk
# com.android.printspooler # print directly via your phone /system/app/PrintSpooler/PrintSpooler.apk
# com.android.providers.blockednumber # Storage of blocked numbers /system/priv-app/BlockedNumberProvider/BlockedNumberProvider.apk
# com.android.providers.calendar /system/priv-app/CalendarProvider/CalendarProvider.apk
# com.android.providers.contacts /system/priv-app/ContactsProvider/ContactsProvider.apk
# com.android.providers.downloads # Download provider /system/priv-app/DownloadProvider/DownloadProvider.apk
# com.android.providers.downloads.ui # Download app /system/app/DownloadProviderUi/DownloadProviderUi.apk
# com.android.providers.media # Needed to access media files, and ringtones /system/priv-app/MediaProvider/MediaProvider.apk
c com.android.providers.partnerbookmarks # GoogleApp Provides bookmarks about partners of Google in Chrome /system/app/PartnerBookmarksProvider/PartnerBookmarksProvider.apk
# com.android.providers.settings # Sync settings /system/priv-app/SettingsProvider/SettingsProvider.apk
# com.android.providers.telephony # Telephony provider contains data related to phone operation /system/priv-app/TelephonyProvider/TelephonyProvider.apk
# com.android.providers.userdictionary # User dictionary for keyboard apps /system/app/UserDictionaryProvider/UserDictionaryProvider.apk
# com.android.proxyhandler /system/priv-app/ProxyHandler/ProxyHandler.apk
# com.android.server.telecom /system/priv-app/Telecom/Telecom.apk
# com.android.settings # Settings app /system/priv-app/Settings/Settings.apk
# com.android.sharedstoragebackup # Possibly USB connection menu /system/priv-app/SharedStorageBackup/SharedStorageBackup.apk
# com.android.shell # Unix shell to communicate via ADB commands through PC /system/priv-app/Shell/Shell.apk
# com.android.soundrecorder # Huawei Sound recorder /system/app/HwSoundRecorder/HwSoundRecorder.apk
# com.android.statementservice /system/priv-app/StatementService/StatementService.apk
# com.android.stk SIM toolkit app /system/app/Stk/Stk.apk
# com.android.storagemanager /system/priv-app/StorageManager/StorageManager.apk
# com.android.supl # SUPL20SERVICES, seems related to GPS in Huawei devices /system/app/gnss_supl20service_hisi/gnss_supl20service_hisi.apk
# com.android.systemui # System User Interface /system/priv-app/SystemUI/SystemUI.apk
# com.android.vending Google Play Store app /system/priv-app/Phonesky/Phonesky.apk
# com.android.vpndialogs VPN system /system/priv-app/VpnDialogs/VpnDialogs.apk
# com.android.wallpaperbackup # /system/delapp/WallpaperBackup/WallpaperBackup.apk
# com.android.wallpapercropper # Wallpaper cropper /system/priv-app/WallpaperCropper/WallpaperCropper.apk
# com.android.wallpaper.livepicker # Live (bewegte) Wallpaper /system/app/LiveWallpapersPicker/LiveWallpapersPicker.apk
c com.booking # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Booking/Booking.apk
c com.ebay.carrier # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/idapk-1.0.0.5-117/idapk-1.0.0.5-117.apk
c com.ebay.mobile # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/eBay/eBay.apk
# com.example.android.notepad # Notepad app /system/priv-app/HwNotePad/HwNotePad.apk
# com.facebook.appmanager # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Appmanager/Appmanager.apk
# com.facebook.katana # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Facebook_Stub/Facebook_Stub.apk
# com.facebook.services # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Facebook_Services/Facebook_Services.apk
# com.facebook.system # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Installer/Installer.apk
c com.gameloft.android.GloftANPH # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/AsphaltNitro/AsphaltNitro.apk
c com.gameloft.android.GloftDBMF # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/PuzzlePets/PuzzlePets.apk
c com.gameloft.android.GloftDMKF # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/DisneyMagicKingdom/DisneyMagicKingdom.apk
c com.gameloft.android.GloftPDMF # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/DragonMania/DragonMania.apk
c com.gameloft.android.GloftSMIF # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/SpiderManUltimatePower/SpiderManUltimatePower.apk
# com.google.android.apps.docs # Google Drive /system/app/Drive/Drive.apk
# com.google.android.apps.maps # Google maps /system/app/Maps/Maps.apk
# com.google.android.apps.photos # Google Photos /system/app/Photos/Photos.apk
c com.google.android.apps.tachyon # Google Duo Videotelefonie /system/app/Duo/Duo.apk
# com.google.android.apps.work.oobconfig # Device Setup /system/priv-app/OobConfig/OobConfig.apk
# com.google.android.backuptransport # Allows apps to backup their data on Google servers /system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
# com.google.android.configupdater # Google ConfigUpdater automatically update certificates, firewall configuration, premium sms list (you'll be warned if an app sends a premium sms), time zone information and SELinux configuration /system/priv-app/ConfigUpdater/ConfigUpdater.apk
# com.google.android.ext.services # Google Play Services for Instant Apps Android Notification Ranking service, part of Android Services Library /system/priv-app/GoogleExtServices/GoogleExtServices.apk
# com.google.android.ext.shared # Google Play Services for Instant Apps /system/app/GoogleExtShared/GoogleExtShared.apk
# com.google.android.feedback # When an app crashes, this is the app that briefly asks you if you want to feedback the crash on the market. /system/priv-app/GoogleFeedback/GoogleFeedback.apk
# com.google.android.gm # Gmail /system/app/Gmail2/Gmail2.apk
# com.google.android.gms Google Play Services /system/priv-app/GmsCore/GmsCore.apk
# com.google.android.googlequicksearchbox # Google Search widget /system/priv-app/Velvet/Velvet.apk
# com.google.android.gsf Google Services Framework /system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
# com.google.android.marvin.talkback # Accessibility Google TalkBack Stromfresser Adds some features about accessibility settings /system/app/talkback/talkback.apk
c com.google.android.music # GoogleMusikApp /system/app/Music2/Music2.apk
# com.google.android.onetimeinitializer # first time bootup prompts for what Google Apps to install Provides first time use setup /system/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
# com.google.android.packageinstaller # Gives ability to install, update or remove applications on the device /system/priv-app/GooglePackageInstaller/GooglePackageInstaller.apk
# com.google.android.partnersetup # Software that helps other apps to work with Google products /system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
# com.google.android.printservice.recommendation # print directly via your phone /system/app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk
# com.google.android.setupwizard # Removable after the first start of the phone /system/priv-app/SetupWizard/SetupWizard.apk
# com.google.android.syncadapters.calendar # Google Calendar Sync /system/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
# com.google.android.syncadapters.contacts # Google Contacts sync /system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
# com.google.android.tts Text-to-speech powers apps to read text on your scream aloud, in many languages /system/app/GoogleTTS/GoogleTTS.apk
c com.google.android.videos # Google Play Movies Google Video App /system/app/Videos/Videos.apk
# com.google.android.webview /system/app/WebViewGoogle/WebViewGoogle.apk
# com.google.android.youtube # YouTube app /system/app/YouTube/YouTube.apk
c com.hicloud.android.clone # Phone Clone /system/delapp/PhoneClone_OVE/PhoneClone_OVE.apk
# com.hisi.mapcon used by WiFi Calling app /system/app/Mapcon/Mapcon.apk
c com.huawei.android.chr # Stromfresser somehow related to SarControlService /system/priv-app/HwChrService/HwChrService.apk
# com.huawei.android.FloatTasks # navigation dock : alternate home button /system/app/HwFloatTasks/HwFloatTasks.apk
# com.huawei.android.hsf # /system/priv-app/HwServiceFramework/HwServiceFramework.apk
c com.huawei.android.hwaps # /system/app/HwAps/HwAps.apk
# com.huawei.android.hwouc System update app zieht unentwegt Strom /system/app/HwOUC/HwOUC.apk
# com.huawei.android.instantshare Huawei Share features /system/app/HuaweiShare/HuaweiShare.apk
# com.huawei.android.internal.app # also huawei share /system/app/HwResolver/HwResolver.apk
c com.huawei.android.launcher # Huawei launcher app /system/app/HwLauncher6/HwLauncher6.apk
# com.huawei.android.mirrorshare MirrorShare feature Bildschirminhalt teilen Screen Mirrorring /system/app/MirrorShare/MirrorShare.apk
# com.huawei.android.projectmenu # ProjectMenu interface : phone *#*#2846579#*#* (flash any Huawei stock firmware on your huawei device) /system/app/HwProjectMenu/HwProjectMenu.apk
c com.huawei.android.pushagent # (Health) speichert auch Kontodaten /cust/hw/eu/app/HwPushService/HwPushService.apk
t com.huawei.android.thememanager # Huawei Theme Manager app /system/app/HwThemeManager/HwThemeManager.apk
c com.huawei.android.tips # tips /system/delapp/HwEmuiManual/HwEmuiManual.apk
c com.huawei.android.totemweatherapp # Huawei Weather app /system/priv-app/HwWeatherClockApp/HwWeatherClockApp.apk
c com.huawei.android.totemweather # Huawei Weather app /system/priv-app/HwWeatherClock/HwWeatherClock.apk
c com.huawei.android.totemweatherwidget # Huawei Weather app /system/priv-app/HwWeatherClockWidget/HwWeatherClockWidget.apk
# com.huawei.android.wfdft Wi-Fi Direct feature /system/app/HwWiFiDirect/HwWiFiDirect.apk
c com.huawei.autoinstallapkfrommcc # Information /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/AutoInStallAPKFromMcc/AutoInStallAPKFromMcc.apk
c com.huawei.bd # HwUE Huawei user experience /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/HwUserExperience/HwUserExperience.apk
c com.huawei.bluetooth # Import contact via Bluetooth function /system/app/HwBluetoothImport/HwBluetoothImport.apk
# com.huawei.camera /system/priv-app/HwCamera2/HwCamera2.apk
c com.huawei.compass # Huawei Compass app /system/delapp/HwCompass/HwCompass.apk
c com.huawei.contactscamcard # business card scanner reader app /data/hw_init/system/app/ContactsCamcard/ContactsCamcard.apk
# com.huawei.desktop.explorer huawei desktop mode switching /product/app/HwPCExplorer/HwPCExplorer.apk
# com.huawei.desktop.systemui huawei desktop mode switching /product/app/HwPCSystemUI/HwPCSystemUI.apk
c com.huawei.fido.uafclient # FIDO UAF Client Fast ID Online /product/app/HwFidoClient/HwFidoClient.apk
c com.huawei.gameassistant # /data/hw_init/product/app/HwGameAssistant/HwGameAssistant.apk
c com.huawei.hidisk # Huawei File Manager app /cust/hw/eu/app/HwCloudDrive_EU/HwCloudDrive_EU.apk
c com.huawei.hifolder # /cust/hw/eu/app/HiFolder/HiFolder.apk
c com.huawei.himovie.overseas # Huawei Video App /system/priv-app/HiMovie/HiMovie.apk
c com.huawei.hiview # versendet Daten /system/app/HiView/HiView.apk
c com.huawei.hiviewtunnel # gehört zu HiView /system/app/HiViewTunnel/HiViewTunnel.apk
c com.huawei.hwasm # ASM FIDO UAF Autenthicator-Specific Module /product/app/HwFidoAsm/HwFidoAsm.apk
c com.huawei.hwdetectrepair # /system/app/HwDetectRepair/HwDetectRepair.apk
c com.huawei.hwid # Huawei ID app Huawei login for all services /cust/hw/eu/app/HMS/HMS.apk
# com.huawei.HwMultiScreenShot Sliding screen feature /system/priv-app/HwMultiScreenShot/HwMultiScreenShot.apk
c com.huawei.hwstartupguide # /system/priv-app/HwStartupGuide/HwStartupGuide.apk
t com.huawei.iaware # prioritizes apps to avoid slowdown /system/app/HwIAware/HwIAware.apk
c com.huawei.iconnect # /system/app/iConnect/iConnect.apk
c com.huawei.imedia.sws # Huawei Histen audio 3d effects /product/app/SWSHeadphone/SWSHeadphone.apk
c com.huawei.indexsearch.observer # /system/app/HwIndexSearchObserverService/HwIndexSearchObserverService.apk
c com.huawei.indexsearch # /system/priv-app/HwIndexSearchService/HwIndexSearchService.apk
c com.huawei.kidsmode.kidspaint # /product/app/HwKidsPaint/HwKidsPaint.apk
c com.huawei.kidsmode # /product/app/HwKidsMode/HwKidsMode.apk
c com.huawei.KoBackup # /system/delapp/HwBackup_Local/HwBackup_Local.apk
# com.huawei.mmitest has to do with all the hardware test /system/app/HwMMITest/HwMMITest.apk
# com.huawei.nearby # necessary for System settings > Device connectivity > Huawei Share /system/app/HwNearby/HwNearby.apk
# com.huawei.omacp send/receive MMS /cust/hw/eu/app/OMACP/OMACP.apk
c com.huawei.phoneservice # HiCare app /version/special_cust/CMR-AL19/hw/eu/app/HwPhoneService/HwPhoneService.apk
c com.huawei.powergenie # /system/app/HwPowerGenieEngine3/HwPowerGenieEngine3.apk
c com.huawei.recsys # /system/priv-app/HwIntelligentRecSystem/HwIntelligentRecSystem.apk
c com.huawei.sarcontrolservice # reduces radio power when phone against ear /data/hw_init/version/region_comm/oversea/app/HwSarControlService/HwSarControlService.apk
# com.huawei.scanner Huawei Scanner function /system/priv-app/HwScanner/HwScanner.apk
# com.huawei.screenrecorder Huawei Screen recorder feature /system/priv-app/HwScreenRecorder/HwScreenRecorder.apk
c com.huawei.securitymgr # /system/app/HwSecurityMgrService/HwSecurityMgrService.apk
# com.huawei.stylus.floatmenu # /product/app/HwFloatMenu/HwFloatMenu.apk
# com.huawei.synergy # /system/app/HwSynergy/HwSynergy.apk
# com.huawei.systemmanager # Huawei System Manager app. recent apps menu keep showing removed apps if removed. /system/priv-app/HwSystemManager/HwSystemManager.apk
# com.huawei.systemserver /system/priv-app/HwSystemServer/HwSystemServer.apk
c com.huawei.tips # lässt Tipps aufpoppen /system/app/HwSmartSuggestion/HwSmartSuggestion.apk
# com.huawei.trustagent # Intelligent unlock feature (unlock with a bluetooth device) /system/app/HwTrustAgent/HwTrustAgent.apk
t com.huawei.trustcircle # Service d'authentification d'appareil /cust/hw/eu/app/HwTrustCircle/HwTrustCircle.apk
c com.huawei.vassistant # HiVoice app Sprachbefehls App, Hello Emy /system/app/HwVAssistant/HwVAssistant.apk
# com.huawei.videoeditor # Video editor function /system/app/HwVideoEditor/HwVideoEditor.apk
c com.huawei.watch.sync # für Uhrensyncronisation benötigt /system/app/WatchSync/WatchSync.apk
c com.huawei.wifieapsimplmn # Extensible_Authentication_Protocol Seems to be an hotspot system which serve to authenticate via sim info /cust/hw/eu/app/PredefinedEapSim/PredefinedEapSim.apk
c com.huawei.wifiprobqeservice # /system/app/HwWifiproBqeService/HwWifiproBqeService.apk
# com.instagram.android # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Instagram_Stub/Instagram_Stub.apk
# com.myscript.nebo.huawei write draw with pen /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Nebo/Nebo.apk
# com.netflix.mediaclient # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/NetflixStub/NetflixStub.apk
# com.netflix.partner.activation # /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/NetflixActivation/NetflixActivation.apk
# com.qeexo.smartshot finger sense smart shot knuckel touch /product/app/HwSmartShot/HwSmartShot.apk
c com.stupeflix.replay # erstellt aus Fotos kleine Moves bzw. Dia- shows, die sich nur auf dem eigenen Handy abspielen lassen /system/delapp/quik/quik.apk
# com.swiftkey.swiftkeyconfigurator # /system/app/SwiftKeyFactorySettings/SwiftKeyFactorySettings.apk
# com.touchtype.swiftkey # /system/app/SwiftKey/SwiftKey.apk
# com.visionobjects.calculator_huawei_cameron myscript calculator pen /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Calculator/Calculator.apk
# com.visionobjects.stylusmobile.v3_2_huawei /data/hw_init/version/special_cust/CMR-AL19/hw/eu/app/Stylus/Stylus.apk
# huawei.android.widget /system/priv-app/HwWidget/HwWidget.apk
# org.simalliance.openmobileapi.service Android's interface to the SIM card Sim- Karten Dienstprogramm, nicht in Europa nutzbar SmartcardService. "The SmartCard API is a reference implementation of the SIMalliance Open Mobile API specification that enables Android applications to communicate with Secure Elements, e.g. SIM card, embedded Secure Elements, Mobile Security Card or others." /system/app/SmartcardService/SmartcardService.apk
looks like you're still on EMUI 8 ? Some apps changed on EMUI 9 you should make an updated list otherwise :
Code:
adb shell
pm list packages -f | cut -c 9- | awk -F "=" '// {printf("# %s\t\t\t\t# %s\n", $2, $1);}' | sort
Did you try to list or uninstall apps for all users ?
Code:
adb shell pm list users
Write down the numbers :
Code:
UserInfo{0:eek:wner...
UserInfo{10:SecondUser...
My users are 0 and 10 here so I should change my function c to something like :
Code:
function c(){
pm list packages | grep "^package:${1}$"
if [ $? -eq 0 ]
then
echo -n " clear : "
pm clear "${1}"
echo -n " uninstall : "
pm uninstall "${1}"
fi
pm list packages --user 10 | grep "^package:${1}$"
if [ $? -eq 0 ]
then
echo -n " clear : "
pm clear --user 10 "${1}"
echo -n " uninstall --user 10 : "
pm uninstall --user 10 "${1}"
fi
pm list packages --user 0 | grep "^package:${1}$"
if [ $? -eq 0 ]
then
echo -n " clear : "
pm clear --user 0 "${1}"
echo -n " uninstall --user 0 : "
pm uninstall --user 0 "${1}"
echo ""
fi
}
double post
After i uninstalled com.huawei.android.hwaps
I can't change my resolution of my device from setting, i tried using resolution changer app in play store which required adb but no luck. Is there any other way to change resolution without reinstall com.huawei.android.hwaps?
is this list fail safe?
as far as i know, hwaps should not be removed