------------
v5.5.4: (changed: framework, framework-res, AutoSet. no change: SystemUI). - introduced the automatic determination of the true path of the folder
/ vendor , due to which the mount folder is correctly detected (
/ system or
/ vendor ) for all versions of Android.
- the default folders for scripts and patches are now again
/ system / vendor / scripts / and
/ system / vendor / overlay / , respectively.
- version limitation
5.5.3 (see below) the location of the scripts autoload folder has been removed; now you can locate it where it suits you (as before).
- for type settings
AutoListPreference added new parameter
notify-patch , allowing you to enable pop-up notifications when copying to a folder
/ system / vendor / overlay .
v5.5.3: (changed: framework, SystemUI, AutoSet. no changes: framework-res). - Fixed a critical error due to which a superuser request could be looped while executing scripts.
- for versions of Android 8.0 and above, the default path for scripts and patches folders is automatically changed instead of
/ system / vendor / scripts / and
/ system / vendor / overlay / paths are used accordingly
/ vendor / scripts / and
/ vendor / overlay / . This is done in case the manufacturer of the smartphone has installed additional protection on the folder.
vendor (like mine) and work with
scripts and
patches through mount
/ system It is not possible (see below for version 5.5.2, where I wrote about it), so the folder is directly mounted
/ vendor .
- Important!!! from the previous paragraph of innovations, it follows that now the startup folder of scripts, if it is locatedNOT in the internal memory and NOT on the SD card, must lie inside the folder vendor otherwise there will be no copying, deletion of scripts and their execution after a reboot. This is a temporary solution, in later versions this restriction will be removed. v5.5.2: (changed: framework, AutoSet. no changes: framework-res, SystemUI). - on Android 8.1 due to the lack of remounting section
/ system from the mode "
a record "to mode"
only for reading "after using it in stand-alone settings, the smartphone refuses to load (not all of them show it), so I added forced remounting to the mode"
only for reading ".
- the default folder for the scripts executed at boot has been changed - instead of
/ system / vendor / scripts now just used
/ system / scripts . This is due to the fact that on Android 8.0 and higher on some smartphones (in particular, on my Asus ZenFone Max Pro (M1) ZB602KL) there is an additional protection for changes in the folder
vendor , it was not possible to bypass it yet.
- scripts are now really executed after rebooting from all types of settings, and not just from
AutoListPreference .
- if empty parameters are set
runscript ,
runscript-on or
runscript off , the superuser's request is not made.
- in Android 8.0 and higher, SystemUI no longer has smudged
Lcom / android / systemui / statusbar / BaseStatusBar so use for example
Lcom / android / systemui / SystemBars .
v5.5.1: (changed: redeemed code for framework.jar and SystemUI.apk, resources for framework-res.apk, AutoSet.apk for offline use). - fixed bug with crash settings when trying to change the path to the source folder for lists of scripts, patches, images, sounds and files.
- for lists of images, sounds and files with the parameter value
typevalue = "uri" now the original URI value is returned, without the reverse conversion. But the choice at the same time occurs immediately, without prior formation of the list.
- added escaping service characters
" ,
\ ,
$ when passing parameters to scripts.
v5.5 bugfix 1: - fixed bug with crash settings, if the key used to autoload scripts does not exist, is not used or is empty. To do this, change two smears for framework.jar, put the fix in the offline settings folder with the replacement. Adjustment of the AutoSet program is not required.
v5.5: (changed: redeemed code for framework.jar and SystemUI.apk, resources for framework-res.apk, AutoSet.apk for offline use). - expanded options
broadcast ,
broadcast-on and
broadcast-off - now in the intent always
current setting values ​​are added , as
extra -parameters with key
autoset_value_sendbroadcast "that can be read in your mod using the system method
getStringExtra (...) ... - expanded options
runscript ,
runscript-on and
runscript off - now in scripts always
the current setting values ​​are passed as parameters which scripts can accept when executed (the script should contain a standard code for accepting such parameters). Parameters are transferred to scripts not only at a one-time execution, but also at autoloading after a device reboot. Also, now, by default, scripts are added to the scripts startup folder, but when using special prefixes "
o: "and"
b: ", accordingly, they can be executed one-time without copying to the startup folder (as it was before) or copied to the startup folder without immediate execution.
-
AutoSeekBarPreference permanently renamed to
AutoSeekPreference , in connection with the future and already existing expansions of opportunities, which are further in the log.
- at
AutoSeekPreference added new slider type -
circular , as well as the opportunity to place the sliders not only under the title or in the dialog box,
but also to the right of the headers , as checkboxes and switches. Also added features:
rotation sliders on
90 ,
180 and
270 degrees
change of size in units
dip , opportunity
unit display . Added new parameters:
typeseek ,
location ,
rotation ,
sweepangle ,
size ,
clockwise ,
unit . Removed parameter
signdialog .
- layot ​​format
AutoColorPickerPreference redesigned and added new features: two new types of palette -
circular and
in the form of a flower , previews near the title can be displayed as a circle or a square. Added new parameters:
typepicker ,
lightslider ,
typeview ,
coloredit ,
density .
- improved compatibility with software and hardware platforms other than processors
Qualcomm .
------------
v5.4.1: (changed: the code for the framework.jar and the AutoSet.apk program for autonomous use were redeemed. The code for SystemUI.apk and the resources for framework-res.apk were unchanged). - fixed bug with defining the default startup folder for scripts, which led to crash of settings or generation of empty lists of scripts (thanks for the bug-report
lexadjsss).
- At the same time, possible similar problems with crashes of settings or the formation of empty lists of overlay patches were fixed.
------------
v5.4: (changed: redeemed code for framework.jar and SystemUI.apk, resources for framework-res.apk, AutoSet.apk for offline use). - memory leaks have been eliminated, leading to sudden phone bootloops due to the forced use of many static references to objects (thanks
ivan-68for bug reports and information sources).
- for settings in the form of lists of value arrays, analogs of system parameters were introduced
android: entries and
android: entryValues -
entries and
entryvalues , respectively. In the new parameters can be used as a usual way of prescribing arrays through the links of the form
@array / ... " or "
@android: array / ... "as well as a simple task in the form of a string sequence, where as a separator is used"
; "(semicolon), and as a prefix of the entire sequence -"
string / ... "(unsigned
@ ) or "
android: string / ... "(unsigned
@ ) when reading rows of an array from resources, or without a prefix to read rows of an array directly from the sequence.
- for settings in the form of lists in the parameter
drawablearray Now you can also set an array of icons in the form of a string sequence (
see above ) where as a separator is used "
; "(semicolon), and as a prefix of the entire sequence -"
drawable / ... "(unsigned
@ ) or "
android: drawable / ... "(unsigned
@ ) to read icons from resources. Directly register the icons in the string, as you understand, it is impossible.
- for settings in the form of lists, a new parameter was introduced
filterlist , allowing to filter the output of any types of lists by values ​​and names, and for activation lists, services and receivers - also by actions and categories.
- for settings like checkbox and switch display of text explanations
android: summaryOn and
android: summaryOff now depends on the override parameter
DEPEND-OUT which allows you to invert the state
INCLUDED / DISABLED .
- for all types of settings (except for checkboxes and switches, since there are corresponding system parameters for them) new parameters have been introduced
summary-on and
summary-off - for the possibility of setting text explanations for different settings states (
INCLUDED / DISABLED ).
- the parameter is expanded for all types of settings
needreboot - Added the ability to reset the default home screen (
needreboot = "home" ), as well as the ability to stop any application specified in the application parameter (
needreboot = "application package name" ). At the same time, for each type of reboot, the pop-up windows contain messages corresponding to them.
------------
v5.3: (changed: code for framework.jar has been smiled, resources for framework-res.apk, code for SystemUI.apk has been saved, AutoSet.apk for autonomous use). - A new class has been introduced (smeared)
AutoPreference , to facilitate interaction with offline settings from your mods. Currently contains general methods for starting / stopping applications, starting activites, starting / stopping services. A set of common methods with each new version of offline settings will be updated.
- added
3 new types of lists (so far without filtering): activate (
typelist = "activity" ), Services (
typelist = "service" ) and broadcast receivers (
typelist = "receiver" ). Not all activations and services can visually see the fact of starting / stopping, since not all of them have any kind of interface, besides many will require you to add additional permissions to your application, but even this does not guarantee the launch due to security restrictions android .
- added extensions for script lists - types
script-n and
script-n * , in such lists the execution of scripts is not performed, only the values ​​in the configuration key are changed.
- for lists of scripts, patches, sound and arbitrary files you can now assign a custom array of icons as for lists of values.
- for all settings appeared
3rd reboot view - only
interface , for which you need to set the parameter
needreboot = "ui" (thank
Hal9k per command line), superuser rights are required.
- for
SystemUI you no longer need to edit the manifest, since reloading applications when changing the path to the autoload folder of scripts is now performed from the command line requesting superuser rights (
see item above ).
- for offline configuration
AutoColorPickerPreference Added a separate layout of the landscape color selection panel (thanks
Hal9k per layout).
- fixed bugs:
... resetting the settings in Android Nougat to default values ​​when cleaning application data that uses offline settings, occurred only for the very first setting in the list.
... in the AutoSet application, using the AutoColorPickerPreference autonomous setting from the frame caused AutoSet to crash due to getting the layout in a different way.
... in the single lists of audio files on Android Nougat while listening to tunes there was no visual switching.
-----------
v5.2: (changed the code for
framework.jar and program
AutoSet.apk for stand-alone use
SystemUI.apk and resources for
framework-res.apk remained unchanged).
- in parameter
typeset All offline settings can now be set arbitrary storage settings in the form of a description of their full paths, which allows you to use not only the standard Android storage, but also specific storage device manufacturers. In connection with this, the parameter description was changed and parameter setting examples were added for Motorola models.
- a new parameter has been added for lists of images, sound or arbitrary files
typevalue that allows you to specify the type of key value storage as a special identifier
URI (Uniform Resource Identifier), on a simple - links to the file. This allows the use of offline settings without changing some mods in which file paths are used in the form of such links. In this connection, the description of the parameters of the lists has been updated and supplemented. In the program
Autoset examples added.
- for lists of scripts, patches, images, sound or arbitrary files, the ability to select (including multiple) at once was added, without first forming lists. For this in the parameter
typelist you just need to add a symbol to the main list type
* (star). In this connection, the description of the parameters of the lists has been updated and supplemented. In the program
Autoset examples added.
- for image lists, the image scaling in the list and as an icon near the list header is changed. Now the image maintains the aspect ratio.
v5.1: - for anroid versions
higher than MM 6.0.1 in the offline settings entered listening to the fact of resetting data of a particular application, to prevent unauthorized resetting the settings to default values ​​in the application
Settings.apk (perhaps not only for him). In this regard, the code was updated for
framework.jar and
SystemUI.apk , as well as a description for installation in SystemUI.apk. Updated description of common applications in connection with the release of the new version. Resources for
framework-res.apk remained unchanged. Program
Autoset.apk for autonomous use remained unchanged.
v5.0: - automatic cleaning of the key was added to all typical settings, if it was previously used for another type of settings. In previous versions, a similar situation led to the collapse of an application that used a standalone setting, if the application data was not previously cleared.
- to adjust the type
AutoListPreference added opportunities for the formation and selection of various types of lists (parameter
typelist ): ordinary arrays of values, applications with and without a launcher, scripts, overlay patches, images, sounds, arbitrary files. Selected scripts can be executed once and automatically after the device is loaded, only automatically after loading, or only once. Scripts can be displayed in the list with an arbitrary name, specified in the body of the script according to a special format. The selected overlay patches are automatically copied to the system folder.
/ system / vendor / overlay and, if there is support from the firmware side, they are applied in real time or after the device is rebooted. Overlay patches can have an arbitrary name and icon, if you specifically define them in the patch resources. For images, their mini-versions are dynamically generated, allowing preview in the list. Sounds in the list when you select you can listen to the system player.
- to adjust the type
AutoListPreference parameter added
pathlist , defining for lists of scripts, overlay patches, images, sounds or arbitrary files the path to the folders of their choice. If there is no parameter, the selection occurs throughout the device using the system browser.
- to adjust the type
AutoListPreference parameter added
multichoice that determines the ability to select several items of the list at once (multiple choice), while in the key string the selected values ​​are separated
; (semicolon).
- to adjust the type
AutoListPreference parameter added
search that determines the presence / absence of a search string in the list.
- to adjust the type
AutoListPreference parameter added
visiblevalue that defines the visibility in the list of values ​​themselves.
- to adjust the type
AutoEditTextPreference Added the ability to send broadcast messages and execute scripts directly from the value entry field: with prefixes entered at the beginning of the field
broadcasts: OR
scripts: , respectively.
- parameter added to all types of settings
notify-broadcast , which determines whether a pop-up notification should appear when sending broadcast messages.
- in all types of settings to the parameter
broadcast parameters added
broadcast-on and
broadcast-off defining the broadcast messages to be sent when the configuration state changes
INCLUDED / DISABLED , respectively. Parameter
broadcast takes precedence (when it is applied, the "child" parameters are ignored) and sending messages occurs in any configuration state.
- parameter added to all types of settings
notify-script , defining the necessity of appearance of a pop-up notification when executing scripts.
- parameters added to all types of settings
runscript ,
runscript-on ,
runscript off that define the paths to the scripts that need to be executed once: with any change in the settings or with a change in the state of the settings
INCLUDED / DISABLED , respectively.
Parameter
runscript takes precedence (when using it, "child" parameters are ignored).
- parameter added to all types of settings
depend-out , which determines at which current value its dependent settings will be inactive. Takes priority over default values.
- Now the dependence of the current setting is possible from any other type of settings.
- parameter added to all types of settings
depend-in that determines at which value of the key (dependency) setting the current setting will be active. Takes priority over default values.
- parameter added to all types of settings
needreboot that specifies the need for a normal or fast reboot of the device, with a request.
v4.0 bugfix: - fixed a bug with non-displaying layouts of settings in the form of a list, color picker and a sycbar (slider).
v4.0: - offline settings now work, in addition to storage
Settings $ System with storages
Settings $ Global and
Settings $ Secure .
For this, a new field has been added to the offline settings.
typeset = , description by spoiler
Description of offline settings ->Description of common setting fields ->Optional fields ->typeset = .
There are no changes in resources, only in smiles.
v3.0 fix 2: - for full compatibility with all versions of Drews, changed the remaining fields of layots:
layout_toEndOf on
layout_toRightOf and
layout_alignEnd on
layout_alignRight . There are no changes in smiles, only in resources.
v3.0 fix: - for better compatibility, I changed the light fields: instead of
alignParenStart and
alignParenEnd -
alignParentLeft and
alignParentRight , respectively. There are no changes in smiles, only in resources.
- added field description
android: dependency - forgot to write that other settings can now also depend on the progress of the slider (
<=0 or
>0 )
v3.0: - added for the list the ability to assign an array of icons corresponding to an array of values,
depending on the presence of a specially entered field
drawablearray .
- added the ability to display the slider (it’s the slider, it’s a sycbar) in the form of a dialogue,
depending on the value and the presence of a specially entered field "
signdialog ".
- added for type settings
AutoColorPickerPreference ,
AutoSeekBarPreference ,
AutoListPreference ,
AutoEditTextPreference possibility of setting an individual background color for the dialog, depending on the value and the presence of a specially entered field
color .
- corrected and added the description of some fields.
- added description of optional fields
android: icon and
android: dialogIcon because The system has the ability to assign individual icons for settings headers and dialog headers.
v2.1: - As it turned out, it works on ICS.
- corrected field descriptions
android: summary and
summary .
- corrected the last microbag in
AutoCheckBoxPreference and
AutoSwitchPreference .
v2.0: - corrected byaku in
AutoCheckBoxPreference and
AutoSwitchPreference .
v1.0: - the beginning of time.