38 pagesV  < 1 2 3 4 5 6 > »  
 
REPLY
> Offline settings
Freeflax
Message#1
29.04.17, 10:50
Spirit of nikopol
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1776
Check in: 20.10.11
Motorola SLVR L7

Reputation:-  1304  +

Attached Image

AUTONOMOUS SETTINGS

Õ¯Õ¡Õ¶Õ£Õ¶Õ¥Õ¬-Õ´Õ¥Õ¶Õ¡Õ¯ Õ¯Õ¸Õ¶Ö†Õ«Õ£Õ¸Ö‚Ö€Õ¡ÖÕ«Õ¡


Current version:

5.5.4 �� 16.09.2018 download


Composition of files:

The composition of the current version:
framework.jar - version 5.5.4
SystemUI.apk - version 5.5.3
framework-res.apk - version 5.5.4
Compositions of previous versions:

Version 5.5.3 (09/09/2018):
framework.jar - version 5.5.3
SystemUI.apk - version 5.5.3
framework-res.apk - version 5.5.1

Version 5.5.2 (09/02/2018):
framework.jar - version 5.5.2
SystemUI.apk - version 5.5.1
framework-res.apk - version 5.5.1

Version 5.5.1 (09/02/2017):
framework.jar - version 5.5.1
SystemUI.apk - version 5.5.1
framework-res.apk - version 5.5.1

Version 5.5 (August 13, 2017):
framework.jar - bugfix dated 08/14/2017
framework.jar - version 5.5
SystemUI.apk - version 5.5
framework-res.apk - version 5.5

Version 5.4.1 (06/05/2017):
framework.jar - version 5.4.1
SystemUI.apk - version 5.4
framework-res.apk - version 5.4

Version 5.4 (06/03/2017):
framework.jar - version 5.4
SystemUI.apk - version 5.4
framework-res.apk - version 5.4

Version 5.3 (05.22.2017):
framework.jar - version 5.3
SystemUI.apk - version 5.3
framework-res.apk - version 5.3

Version 5.2 (May 6, 2017):
framework.jar - version 5.2
SystemUI.apk - version 5.1
framework-res.apk - version 5.0

Version 5.1 (05/04/2017):
framework.jar - version 5.1
SystemUI.apk - version 5.1
framework-res.apk - version 5.0

Version 5.0 (04/29/2017):
framework.jar - version 5.0
SystemUI.apk - version 5.0
framework-res.apk - version 5.0


Compatibility with Android versions: ICS, JB, KK, LP, MM, N, O
Tested on smartphones:
Asus Zenfone 2 ZE551ML [Intel x86] (MM 6.0.1)
Asus ZenFone Max Pro (M1) ZB602KL (Oreo MR 8.1.0)
Lenovo P70 (Lineage OS 13 N 6.0.1)
Lenovo Vibe P1M (LP 5.1)
LG L90 (RR 5.8.3 N 7.1.2)
LG Magna (Lineage OS 14.1 N 7.1.2)
Moto X Play (MM 6.0.1, Lineage OS 14.1 N 7.1.2)
Moto Z Play (MM 6.0.1, N 7.0)
OnePlus 3T (N 7.1.1)
Samsung Galaxy A5-2016 (N 7.0)
Samsung Galaxy Note II (KK 4.4.4)
Samsung Galaxy Note 5 (N 7.0)
Samsung Galaxy S6 Edge Plus (N 7.0)
Samsung Galaxy S6 Edge (N 7.0)
Samsung Galaxy S6 (N 7.0)
Samsung Galaxy S8 (N 7.0)
Samsung Galaxy S8 + (N 7.0)
Samsung Galaxy Tab 3 7.0 Lite 3G (JB 4.2.2)
Sony Xperia SP (JB 4.3)
Sony Xperia E3 (KK 4.4.4)
Sony Xperia Z5 Dual (N 7.0)
Important!!!
1.The firmware must be correct and100% deodexed(check along the waysystem / framework / armmissing fileboot.oat). If you have deodexed only the system framework, then your applications will not be able to find offline settings in the frame. In this case, the offline settings can be usedlocally in the autoset application, either locally in each applicationby copying the necessary smiles and changing the paths accordingly.
2.If you have installedXPosedand the offline settings from the frame did not work for you, you can use the offline settingslocally in the autoset application, either locally in each applicationby copying the necessary smiles and changing the paths accordingly.
3.ATAndroid 7.0 Nougat and upapplication of offline settings in the applicationSettings.apkhas some features
see the details in the section.Apply offline settingsunder the spoilerCommon uses.
4.In android, starting with version6.0in the applicationSettingsProvider.apkthere is a parameter checktargetSdkVersionwhich is specified in the blocksdkInfofileapktool.ymlany application:
sdkInfo:
minSdkVersion: '21'
targetSdkVersion: '23'

With the version in the application blocktargetSdkVersionabove22any installed in the usual way or located in the folder/ system / appthe application will not be able to use the offline settings, as it is forced to prohibit the recording of keys in the vaults and stop the application.
But the restriction can be circumvented in three ways:
Method 1:
Remove forced ban inSettingProvider.apkfor what it was smiled/smali/com/android/providers/settings/SettingsProvider.smali
in the methodwarnOrThrowForUndesiredSecureSettingsMutationForTargetSdk (ILjava / lang / String;) Vat the very beginning comment out one line (highlighted in bold):
.method private static warnOrThrowForUndesiredSecureSettingsMutationForTargetSdk (ILjava / lang / String;) V
.locals 2
.param p0, "targetSdkVersion" # I
.param p1, "name" # Ljava / lang / String;

.prologue
.line 1169
const / 16 v0, 0x16

# if-gt p0, v0,: cond_1

.line 1170
sget-object v0, Landroid / provider / Settings $ System; ->PRIVATE_SETTINGS: Ljava / util / Set;

invoke-interface {v0, p1}, Ljava / util / Set; ->contains (Ljava / lang / Object;) Z


Method 2:
DowngradetargetSdkVersionapplications up22.

Method 3:
Put the application in a folder/ system / priv-appby setting the required permissions (755for a folder and644for the application).

ChangeLog:
------------
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 (/ systemor/ 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 limitation5.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 settingsAutoListPreferenceadded new parameternotify-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 withscriptsandpatchesthrough mount/ systemIt 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 locatedNOTin the internal memory andNOTon the SD card, must lie inside the foldervendorotherwise 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/ systemfrom 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 / scriptsnow 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 foldervendor, it was not possible to bypass it yet.
- scripts are now really executed after rebooting from all types of settings, and not just fromAutoListPreference.
- if empty parameters are setrunscript, runscript-onorrunscript off, the superuser's request is not made.
- in Android 8.0 and higher, SystemUI no longer has smudgedLcom / android / systemui / statusbar / BaseStatusBarso use for exampleLcom / 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 valuetypevalue = "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 optionsbroadcast, broadcast-onandbroadcast-off- now in the intent alwayscurrent setting values ​​are added, asextra-parameters with keyautoset_value_sendbroadcast"that can be read in your mod using the system methodgetStringExtra (...) ...
- expanded optionsrunscript, runscript-onandrunscript off- now in scripts alwaysthe current setting values ​​are passed as parameterswhich 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.
- AutoSeekBarPreferencepermanently renamed toAutoSeekPreference, in connection with the future and already existing expansions of opportunities, which are further in the log.
- atAutoSeekPreferenceadded 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:rotationsliders on90, 180and270degreeschange of sizein unitsdip, opportunityunit display. Added new parameters:typeseek, location, rotation, sweepangle, size, clockwise, unit. Removed parametersigndialog.
- layot ​​formatAutoColorPickerPreferenceredesigned and added new features: two new types of palette -circularandin 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 processorsQualcomm.

------------

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-reportlexadjsss).
- 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 (thanksivan-68for bug reports and information sources).
- for settings in the form of lists of value arrays, analogs of system parameters were introducedandroid: entriesandandroid: entryValues - entriesandentryvalues, 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 parameterdrawablearrayNow 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 introducedfilterlist, 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 explanationsandroid: summaryOnandandroid: summaryOffnow depends on the override parameterDEPEND-OUTwhich allows you to invert the stateINCLUDED / DISABLED.
- for all types of settings (except for checkboxes and switches, since there are corresponding system parameters for them) new parameters have been introducedsummary-onandsummary-off- for the possibility of setting text explanations for different settings states (INCLUDED / DISABLED).
- the parameter is expanded for all types of settingsneedreboot- 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.
- added3new 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 - typesscript-nandscript-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 appeared3rd reboot view- onlyinterface, for which you need to set the parameterneedreboot = "ui"(thankHal9kper command line), superuser rights are required.
- forSystemUIyou 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 configurationAutoColorPickerPreferenceAdded a separate layout of the landscape color selection panel (thanksHal9kper 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 forframework.jarand programAutoSet.apkfor stand-alone useSystemUI.apkand resources forframework-res.apkremained unchanged).
- in parametertypesetAll 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 filestypevaluethat allows you to specify the type of key value storage as a special identifierURI(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 programAutosetexamples 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 parametertypelistyou 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 programAutosetexamples 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 versionshigher than MM 6.0.1in 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 applicationSettings.apk(perhaps not only for him). In this regard, the code was updated forframework.jarandSystemUI.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 forframework-res.apkremained unchanged. ProgramAutoset.apkfor 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 typeAutoListPreferenceadded opportunities for the formation and selection of various types of lists (parametertypelist): 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 / overlayand, 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 typeAutoListPreferenceparameter addedpathlist, 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 typeAutoListPreferenceparameter addedmultichoicethat 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 typeAutoListPreferenceparameter addedsearchthat determines the presence / absence of a search string in the list.
- to adjust the typeAutoListPreferenceparameter addedvisiblevaluethat defines the visibility in the list of values ​​themselves.
- to adjust the typeAutoEditTextPreferenceAdded the ability to send broadcast messages and execute scripts directly from the value entry field: with prefixes entered at the beginning of the fieldbroadcasts:ORscripts:, respectively.
- parameter added to all types of settingsnotify-broadcast, which determines whether a pop-up notification should appear when sending broadcast messages.
- in all types of settings to the parameterbroadcastparameters addedbroadcast-onandbroadcast-offdefining the broadcast messages to be sent when the configuration state changesINCLUDED / DISABLED, respectively. Parameterbroadcasttakes precedence (when it is applied, the "child" parameters are ignored) and sending messages occurs in any configuration state.
- parameter added to all types of settingsnotify-script, defining the necessity of appearance of a pop-up notification when executing scripts.
- parameters added to all types of settingsrunscript, runscript-on, runscript offthat 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 settingsINCLUDED / DISABLED, respectively.
Parameterrunscripttakes precedence (when using it, "child" parameters are ignored).
- parameter added to all types of settingsdepend-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 settingsdepend-inthat 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 settingsneedrebootthat 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 storageSettings $ Systemwith storagesSettings $ GlobalandSettings $ 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_toEndOfonlayout_toRightOfandlayout_alignEndonlayout_alignRight. There are no changes in smiles, only in resources.
v3.0 fix:
- for better compatibility, I changed the light fields: instead ofalignParenStartandalignParenEnd - alignParentLeftandalignParentRight, respectively. There are no changes in smiles, only in resources.
- added field descriptionandroid: dependency- forgot to write that other settings can now also depend on the progress of the slider (<=0or>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 fielddrawablearray.
- 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 settingsAutoColorPickerPreference, AutoSeekBarPreference, AutoListPreference, AutoEditTextPreference
possibility of setting an individual background color for the dialog, depending on the value and the presence of a specially entered fieldcolor.
- corrected and added the description of some fields.
- added description of optional fieldsandroid: iconandandroid: dialogIconbecause 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 descriptionsandroid: summaryandsummary.
- corrected the last microbag inAutoCheckBoxPreferenceandAutoSwitchPreference.
v2.0:
- corrected byaku inAutoCheckBoxPreferenceandAutoSwitchPreference.
v1.0:
- the beginning of time.
Sources:

All initial versions (up to v4.0 bugfix inclusive) of offline settings are here.

1. Instructions for editing system resources (Post sk0t # 24678076) (under the spoiler "Easy way").
The source of the very idea of ​​making settings stand-alone.

2. AutoColorPickerPreference:
Palette in the form of a photoshop panel -
author:Sergey Margaritov, sources:https://github.com/att…ColorPickerPreference/
Circular palette and in the form of a flower -
author:Quadflask, sources:https://github.com/QuadFlask/colorpicker/
Adapted for offline settings.

3. AutoSeekPreference:
Linear slider- from the system framework.
Circular slider -
author:neild001, sources:https://github.com/neild001/SeekArc/
Adapted for offline settings.

4. AutoCheckBoxPreference, AutoSwitchPreference, AutoListPreference, AutoEditTextPreference:
based on stockCheckBoxPreference, SwitchPreference, ListPreference, EditTextPreferenceofframework.jar,
Redid for autonomous work.

5. 6htGear Rom control V2.1
I looked at the way of forming dynamic lists when the array is not set.
General description:

Why all this was done.
As you know, adding settings for a certain mod is always a rather non-trivial task.
Today there is at least3 waystheir additions:
1.Using third-party programs likeUniprefsfromsk0torm7partsfrom7OH.
This method is simple, due to the beginners, but many do not like this method due to subjective reasons.
In addition, in these programs, a rather limited set of added types of settings is added (only the checkbox, the switch and the list).
2.Using relatively new third-party programs likeRomControlfrom the websiteXDAor someCustomsettings, too, seemingly from the siteXDA(not seen, but heard about it).
This method is also relatively simple and easy for beginners, but many do not like it for the same subjective reasons.
3.Using every time for a new fashion a handful of new incomprehensible smiles inserted into the stock application
(settings, dialer, etc., etc.), or the time-consuming addition of processing each key to the stock application.
In addition, for beginners it is usually not under force.

I want to present4th way.
Once added toframework.jarmy set was smiled inframework-res.apkseveral layouts, pictures and lines, as well as addingSystemUI.apkone smeared and adjusting one stock, you can add without further problems with the oil laterANYyour settings inANYapplications in which there are any settings.
You no longer need to think how and where to add a tool for changing a particular mod setting.
And also, there will be no need to use third-party programs to change the settings of your mods.
Although, the same offline settings can be used separately inside the same applications likeUniPrefs / m7parts / RomControl / CustomSettings.
Settings applyINDEPENDENTLYin real time.
The definitions of offline settings can be inserted separately into any xml-file of any settings of any applications, or as part of its own settings block inserted into other blocks.
Offline settings can also be used locally within any application by copying the necessary selected smiles into your application and changing the paths in the smiles and definitions accordingly.
The purpose of creating offline settings is to make mod settings as convenient and logical as possible.

Currently (version 5.5.4) the following types of settings are supported:
  • Checkbox
  • Switch
  • Input field of values ​​(text)
  • Slider (slider) - circular and linear
  • Color selection panel (color picker), three types of palette - the usual, in the form of a flower, in the form of a circle
  • Lists:
    • values
    • applications
    • activit
    • of services
    • broadcast receivers
    • scripts
    • overlay patches
    • of images
    • sound files
    • arbitrary files


For application it is enough toxml- settings file of your application to insert calls to offline settings, in the following forms:
<AutoCheckBoxPreference ... parameter set ... />- modified setting in the form of a checkbox.
<AutoSwitchPreference ... parameter set ... />- modified setting in the form of a switch.
<AutoListPreference ... parameter set ... />- modified setting in the form of a list in a pop-up dialog.
<AutoEditTextPreference ... parameter set ... />- modified setting in the form of a pop-up field for entering values.
<AutoSeekPreference ... parameter set ... />- modified setting in the form of a circular or linear slider with the location under the title, to the right of it or in the dialog window.
<AutoColorPickerPreference ... parameter set ... />- Modified setting in the form of a pop-up window with a choice of color (3 types of palette).

Naturally,linesandarrays, defining the contents of the settings, while it will also be necessary to add to your application (settings, dialer, mail, etc., etc.).
And, of course, no one has canceled the processing of the action itself when changing the key of your mod, and it remains yours: yes2:

Currently, offline settings allow you to determine the largest number of types and types of settings used in general in applications than anywhere else.

Screenshots:
Checkboxes:

Attached Image
Attached Image


Switches:

Attached Image
Attached Image


Lists of values:

Attached Image
Attached Image
Attached Image


Application Lists:

Attached Image
Attached Image
Attached Image


Activation lists:

Attached Image
Attached Image
Attached Image


Service listings:

Attached Image
Attached Image
Attached Image


Receiver lists:

Attached Image
Attached Image
Attached Image


Script lists:

Attached Image
Attached Image
Attached Image


Overlay patch lists

Attached Image
Attached Image
Attached Image


Image Lists:

Attached Image
Attached Image
Attached Image


Sound lists:

Attached Image
Attached Image
Attached Image


File Lists:

Attached Image
Attached Image
Attached Image


Input fields:

Attached Image
Attached Image
Attached Image


Circular Sliders:

Attached Image
Attached Image
Attached Image


Sliders linear:

Attached Image
Attached Image
Attached Image


Color Picker Panels (Regular Palette):

Attached Image
Attached Image
Attached Image


Color Picker Panels (Flower Palette):

Attached Image
Attached Image
Attached Image


Color selection panels (circular palette):

Attached Image
Attached Image
Attached Image


Installing offline settings to the system:

This action is done once, after which you can use the offline settings in any android application.

The third part of the manual (work with SystemUI.apk) is required only if you need to automatically execute the scripts you selected in your script lists after rebooting the device, as well as for the correct operation of the offline settings in the Settings.apk application on Android Nougat.


Files:

Current version 5.5.4:

Smaly for versions ApkTools 1.4.3 - 1.5.2:
Attached fileframework_v5.5.4_apktool152.zip(129.99 KB)

Attached fileSystemUI_v5.5.3_apktool152.zip(3.02 KB)


Smaly for ApkTools versions 2.0 and higher:
Attached fileframework_v5.5.4_apktool200.zip(132,02 KB)

Attached fileSystemUI_v5.5.3_apktool200.zip(3,07 KB)


Resources:
Attached fileframework-res_v5.5.4.zip(21.23 KB)



Outdated versions:

All outdated versions of offline settings are on Yandex.Disk:

https://yadi.sk/d/zyoNcM3V3JniD4

Very ancient versions can be downloadedhere.


1.Work with theframework.jar

Disassembledframework.jarput in the appropriate folder my set of smiles from the appropriate archive.

Important!
- if in your framework there is another folder smeared - "/ smali_classes2", then, most likely, it was necessary to put it there, observing the path, otherwise the framework may not be recompiled.
- if in your firmware there is a 2nd framework (in the folder "/ system / framework" there is a file "framework2.jar"), then, most likely, you also need to put the smiles there, since the main framework with the new ones may not be replicated .


2. Work with the framework-res.apk

2.1. Disassemble framework-res.apk .
2.2. Arrange the contents of the corresponding archive ( Only layots and pictures !!! ).
2.3. AT res / values ​​/ string.xml add lines:
<string name = "zff_autoset_hex_hint">\ # FF000000</ string>
<string name = "zff_autoset_empty_value">No</ string>
<string name = "zff_autoset_dialog_alert_title_1">Attention!</ string>
<string name = "zff_autoset_reboot_dialog_alert_message">To apply the settings you must% 1 $ s. Do it now?</ string>
<string name = "zff_autoset_reboot_dialog_alert_message_normal">reboot the device</ string>
<string name = "zff_autoset_reboot_dialog_alert_message_soft">reboot the system</ string>
<string name = "zff_autoset_reboot_dialog_alert_message_ui">reboot the system interface</ string>
<string name = "zff_autoset_reboot_dialog_alert_message_home">reboot the home screen</ string>
<string name = "zff_autoset_reboot_dialog_alert_message_app">stop the application \ u0022% 1 $ s \ u0022</ string>
<string name = "zff_autoset_action_reboot">Reboot</ string>
<string name = "zff_autoset_reboot_progress_1">Rebooting% 1 $ s \ u2026</ string>
<string name = "zff_autoset_reboot_progress_2">Stopping% 1 $ s \ u2026</ string>
<string name = "zff_autoset_reboot_progress_normal">device</ string>
<string name = "zff_autoset_reboot_progress_soft">system</ string>
<string name = "zff_autoset_reboot_progress_ui">system interface</ string>
<string name = "zff_autoset_reboot_progress_home">home screen</ string>
<string name = "zff_autoset_reboot_progress_app">application \ u0022% 1 $ s \ u0022</ string>
<string name = "zff_autoset_notify_sendbroadcast">Broadcast messages sent:</ string>
<string name = "zff_autoset_notify_runscript">Executed scripts:</ string>
<string name = "zff_autoset_notify_runpatch">Run patches:</ string>


2.4. AT res / values-ru / string.xml add lines:
<string name = "zff_autoset_hex_hint">\ # FF000000</ string>
<string name = "zff_autoset_empty_value">Not</ string>
<string name = "zff_autoset_dialog_alert_title_1">Attention!</ string>
<string name = "zff_autoset_reboot_dialog_alert_message">To apply the settings you need% 1 $ s. Do it now?</ string>
<string name = "zff_autoset_reboot_dialog_alert_message_normal">reboot device</ string>
<string name = "zff_autoset_reboot_dialog_alert_message_soft">reboot the system</ string>
<string name = "zff_autoset_reboot_dialog_alert_message_ui">reboot system interface</ string>
<string name = "zff_autoset_reboot_dialog_alert_message_home">reload desktop</ string>
<string name = "zff_autoset_reboot_dialog_alert_message_app">stop the application \ u0022% 1 $ s \ u0022</ string>
<string name = "zff_autoset_action_reboot">Reboot</ string>
<string name = "zff_autoset_reboot_progress_1">Reboot% 1 $ s \ u2026</ string>
<string name = "zff_autoset_reboot_progress_2">Stop% 1 $ s \ u2026</ string>
<string name = "zff_autoset_reboot_progress_normal">devices</ string>
<string name = "zff_autoset_reboot_progress_soft">systems</ string>
<string name = "zff_autoset_reboot_progress_ui">system interface</ string>
<string name = "zff_autoset_reboot_progress_home">desktop</ string>
<string name = "zff_autoset_reboot_progress_app">applications \ u0022% 1 $ s \ u0022</ string>
<string name = "zff_autoset_notify_sendbroadcast">Broadcast messages sent:</ string>
<string name = "zff_autoset_notify_runscript">Run scripts:</ string>
<string name = "zff_autoset_notify_runpatch">Patches completed:</ string>


2.5. To collect framework-res.apk , if necessary, sign.

3. Work with the SystemUI.apk .

3.1. Disassemble SystemUI.apk .
3.2. Disassembled SystemUI.apk put in the appropriate folder one smali from the appropriate archive.
3.3. In smiles Lcom / android / systemui / statusbar / BaseStatusBar (on Android 8.0 and higher use grease Lcom / android / systemui / SystemBars ) find a method start () V and register before return-void additional method call, highlighted in bold:
if in the method the number of registers (parameter.locals ) more 15 , then write the code like this:
.method public start () V
.locals 19

.prologue
.
.
.
invoke-virtual / range {v2 .. v7}, Landroid / content / Context; ->registerReceiverAsUser (Landroid / content / BroadcastReceiver; Landroid / os / UserHandle; Landroid / content / IntentFilter; Ljava / lang / String; Landroid / os / Handler;) Landroid / content / Intent;

invoke-direct / range {p0 .. p0}, Lcom / android / systemui / statusbar / BaseStatusBar; ->updateCurrentProfilesCache () V

move-object / from16 v0, p0

invoke-virtual {v0}, Lcom / android / systemui / statusbar / BaseStatusBar; ->registerAutoSetReceiver () V


return-void

if in the method the number of registers (parameter.locals ) less or equal 15 , then write the code like this:
.method public start () V
.locals 15

.prologue
.
.
.
invoke-virtual {p0}, Lcom / android / systemui / statusbar / BaseStatusBar; ->registerAutoSetReceiver () V

return-void


3.4. At the end Lcom / android / systemui / statusbar / BaseStatusBar (on Android 8.0 and higher use grease Lcom / android / systemui / SystemBars ) add a new method:
.method public registerAutoSetReceiver () V
.locals 4

.prologue
iget-object v0, p0, Lcom / android / systemui / statusbar / BaseStatusBar; ->mContext: Landroid / content / Context;

new-instance v1, Landroid / content / IntentFilter;

invoke-direct {v1}, Landroid / content / IntentFilter; -><init>() V

const-string v2, "android.intent.action.BOOT_COMPLETED"

invoke-virtual {v1, v2}, Landroid / content / IntentFilter; ->addAction (Ljava / lang / String;) V

const-string v2, "ffx.intent.action.GLOBAL_BOOT_SCRIPTS_PATH"

invoke-virtual {v1, v2}, Landroid / content / IntentFilter; ->addAction (Ljava / lang / String;) V

new-instance v2, Lfreeflax / systemui / AutoSet $ ​​Receiver;

invoke-direct {v2}, Lfreeflax / systemui / AutoSet $ ​​Receiver; -><init>() V

invoke-virtual {v0, v2, v1}, Landroid / content / Context; ->registerReceiver (Landroid / content / BroadcastReceiver; Landroid / content / IntentFilter;) Landroid / content / Intent;

const / 16 v3, 0x18

sget v1, Landroid / os / Build $ VERSION; ->SDK_INT: I

if-lt v1, v3,: cond_0

new-instance v1, Landroid / content / IntentFilter;

invoke-direct {v1}, Landroid / content / IntentFilter; -><init>() V

const-string v3, "android.intent.action.PACKAGE_DATA_CLEARED"

invoke-virtual {v1, v3}, Landroid / content / IntentFilter; ->addAction (Ljava / lang / String;) V

const-string v3, "package"

invoke-virtual {v1, v3}, Landroid / content / IntentFilter; ->addDataScheme (Ljava / lang / String;) V

invoke-virtual {v0, v2, v1}, Landroid / content / Context; ->registerReceiver (Landroid / content / BroadcastReceiver; Landroid / content / IntentFilter;) Landroid / content / Intent;

: cond_0
return-void
.end method


3.5. Collect SystemUI.apk, sign if necessary.
3.6. For example, I am attaching my greed Lcom / android / systemui / statusbar / BaseStatusBar (for Android 8.0 and higher smoldered Lcom / android / systemui / SystemBars ) BEFORE and AFTER changes:

BEFORE :
Attached fileBaseStatusBar_DO.rar(23.92 KB)

for Android 8.0 and higher:
Attached fileSystemBars_DO.zip(1.33 KB)

AFTER :
Attached fileBaseStatusBar_POSLE.rar(24.17 KB)

for Android 8.0 and higher:
Attached fileSystemBars_POSLE.zip(1.63 KB)



Thanks:

People, one way or another, and at different times, contributed to the emergence and further development of the project:

sk0t
ivan-68
proscrit
DodgeWooW
madgit
grisha84
Hal9k
Pomidor666

A detailed description of the parameters of offline settings is in2nd messagethis topic.
A detailed description of how to use offline settings is in3rd messagethis topic.
AutoSet software for offline use of offline settings
Autonomous settings can not be installed in the system at all, and used in the old manner - in a third-party program.
For this purpose, I post an application based on the program.Uniprefs from sk0t .
The program already contains many examples and descriptions of various types of settings that you can modify / add / delete to your liking.
The program itself automatically executes the scripts you selected in your lists of scripts after the device is rebooted.
The program will be updated depending on the release of the offline settings.

Screenshots of the program:
Attached Image
Attached Image
Attached Image


Attached Image
Attached Image
Attached Image


Attached Image
Attached Image
Attached Image


Attached Image
Attached Image
Attached Image


Attached Image
Attached Image
Attached Image


Download current version 5.5.4 :
For versions Android 4.0 - 4.4.4

Archive with the program for versions ApkTools 1.4.3 - 1.5.2 (Full version - with examples of all settings):
Attached fileAutoSet_v5.5.4_apktool152.zip(366 KB)

Archive with the program for versions ApkTools 1.4.3 - 1.5.2 (Lite version - without examples of settings):
Attached fileAutoSet_v5.5.4_LITE_apktool152.zip(318.07 KB)

Archive with the program for versions ApkTools 2.0 and higher (Full version - with examples of all settings):
Attached fileAutoSet_v5.5.4_apktool200.zip(368.23 KB)

Archive with the program for versions ApkTools 2.0 and higher (Lite version - without examples of settings):
Attached fileAutoSet_v5.5.4_LITE_apktool200.zip(320.29 KB)


For versions of Android 5.0 - 7.0
Archive with the program for versions ApkTools 2.0 and higher (Full version - with examples of all settings):
Attached fileAutoSet_v5.5.4_apktool200_material.zip(371.9 KB)

Archive with the program for versions ApkTools 2.0 and higher (Lite version - without examples of settings):
Attached fileAutoSet_v5.5.4_LITE_apktool200_material.zip(323.57 KB)


Outdated versions:

All outdated versions of the program are on Yandex.Disk:

https://yadi.sk/d/zyoNcM3V3JniD4

The initial version of the program ishere.
The original program, on the basis of which the AutoSet program is made, is locatedhere(under the spoiler"Easy way" ).


Integrating "Offline Settings" into System Settings

Remember: everything that you do - you do at your own peril and risk.
I am not responsible for the performance of your device after installing the offline settings in the system,
since I do not have the gift of foresight and cannot answer for all existing versions of firmware and devices.
If you place somewhere a copy of someone else’s code or a modified version of it,
it is always in a good form to indicate the original source.


Useful links:
Practical examples of use:
Any ideas for the further development of autonomous settings, as well as bug reports are accepted.
Unsubscribe in the subject!


Post has been editedwasherron - 28.04.19, 10:09
Reason for editing: Integrating "Offline Settings" into the System Settings
SERGik345
Message#22
01.05.17, 11:52
Guru
*********
[offline]

Group: Curators
Messages 4331
Check in: 06.01.13

Reputation:-  1453  +

* oganyan-arthur
If you do not have 7, then what's the point in the application. The whole tsimus of these settings is the refusal of applications and the prescription of the settings directly in the Setting.


--------------------
Freeflax
Message#23
01.05.17, 12:02
Spirit of nikopol
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1776
Check in: 20.10.11
Motorola SLVR L7

Reputation:-  1304  +

SERGik345 @ 05/01/17, 11:52*
If you have not 7

Today there will be a description of how to get around the miracle-settings on 7-ke.

* oganyan-arthur
Look here:
Offline Settings (Post FreeFlax # 60991728)

Post has been editedFreeflax - 01.05.17, 12:03


--------------------
SERGik345
Message#24
01.05.17, 12:05
Guru
*********
[offline]

Group: Curators
Messages 4331
Check in: 06.01.13

Reputation:-  1453  +

FreeFlax @ 05/01/17, 12:02*
Today there will be a description

Here is the good news: thank_you: on the cyan-like Lenaga, etc., too?


--------------------
Freeflax
Message#25
01.05.17, 12:07
Spirit of nikopol
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1776
Check in: 20.10.11
Motorola SLVR L7

Reputation:-  1304  +

SERGik345 @ 05.05.17, 12:05*
On cyan-like Lenaga, etc. go too?

I'm on it and the test, I do not yet have 7 off.
On the off already checked (ivan-68).


--------------------
ivan-68
Message#26
01.05.17, 12:08
Guru
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 10657
Check in: 07.04.11
Motorola Moto Z Play

Reputation:-  7704  +

* SERGik345,
go, FF on it and fixed, for which he had the honor and praise
On the drain also works
While a separate item in the section, but this is a huge progress.


--------------------
SERGik345
Message#27
01.05.17, 12:10
Guru
*********
[offline]

Group: Curators
Messages 4331
Check in: 06.01.13

Reputation:-  1453  +

* ivan-68,
Well, the point is, just need to change the smiles as you said?


--------------------
ivan-68
Message#28
01.05.17, 12:12
Guru
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 10657
Check in: 07.04.11
Motorola Moto Z Play

Reputation:-  7704  +

* SERGik345,
A little bit wrong, wait for the FF to lay out the smiles for the setting and man, I'm not at home


--------------------
Freeflax
Message#29
01.05.17, 12:12
Spirit of nikopol
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1776
Check in: 20.10.11
Motorola SLVR L7

Reputation:-  1304  +

* SERGik345,
wait, in the general application there will be a description today, universal in principle, but on 7-ke, the only option for the setting so far.


--------------------
SERGik345
Message#30
01.05.17, 12:14
Guru
*********
[offline]

Group: Curators
Messages 4331
Check in: 06.01.13

Reputation:-  1453  +

FreeFlax @ 05/01/17 12:12*
the only option for the setting

Much better than a separate application. I will wait, it does not burn.


--------------------
Mirazizbek1980
Message#31
01.05.17, 13:14
User
****
[offline]

Group: Banned
Messages 83
Check in: 10.11.13
Samsung Galaxy Note 2 GT-N7100

Reputation:-  2  +

Hi guys
Can i ask you?
I am interested in such a mod (Instructions for editing system resources (Wlryss Post # 58600862)) and I want to write the settings not in Romcontrol but in Offline Settings
Can I do this?
Interested in this unit is seen in red ...
If so, how is it written? If no solution eats?
<PreferenceScreen android: title = "Background Shutdown Menu" android: summary = "Change Background Shutdown Menu">
<com.wubydax.romcontrol.v2.prefs.MySwitchPreference android: title = "Enable Custom Background" android: key = "reboot_custom_bg" android: defaultValue = "false" android: summaryOn = "On" android: summaryOff = "Off." />
<PreferenceCategory android: title = "General background settings" android: dependency = "reboot_custom_bg">
<com.wubydax.romcontrol. / custom_bg_type_values1 "app: dependentValue =" 0 "/>
<com.wubydax.romcontrol.v2.prefs.MySeekBarPreference android: title = "Background transparency" android: key = "reboot_bg_opacity" android: defaultValue = "255" app: minValue = "0" app: maxValue = "255" />
</ PreferenceCategory>
<PreferenceCategory android: title = "Image Settings" android: dependency = "reboot_custom_bg">
<com.wubydax.romcontrol.v2.prefs.UriSelectionPreference android: title = "Image Selection" android: key = "reboot_bg_image_uri" />
<com.wubydax.romcontrol.v2.prefs.MyListPreference android: entries = "@ array / crop_entries1" android: title = "Set image dimensions" android: key = "reboot_bg_crop_type" android: defaultValue = "0" android: entryValues ​​= "@ array / crop_values1 "/>
</ PreferenceCategory>
<PreferenceCategory android: title = "Color and gradient settings" android: dependency = "reboot_custom_bg">
<com.wubydax.romcontrol.v2.prefs.ColorPickerPreference android: title = "Select Primary color" android: key = "reboot_bg_primary_color" android: dependency = "reboot_custom_bg_type" android: defaultValue = "\ # 00000000" />
<com.wubydax.romcontrol.v2.prefs.ColorPickerPreference android: title = "Second color (for Gradient)" android: key = "reboot_second_gradient_color" android: dependency = "reboot_custom_bg_type" android: defaultValue = "\ # 00000000" />
<com. android: entryValues ​​= "@ array / gradient_values1" />
</ PreferenceCategory>
</ PreferenceScreen>

Sorry for grammatical errors
I just don't know Russian well
Freeflax
Message#32
01.05.17, 13:19
Spirit of nikopol
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1776
Check in: 20.10.11
Motorola SLVR L7

Reputation:-  1304  +

Mirazizbek1980 @ 05.05.17, 13:14*
<com.wubydax.romcontrol.v2.prefs.UriSelectionPreference android: title = "Image Selection" android: key = "reboot_bg_image_uri" />

instead, you can write this:
<AutoListPreference android: title = "Select Image"
maxlines = "2"
android: key = "reboot_bg_image_uri"
android: defaultValue = ""
typelist = "image"
search = "true"
visiblevalue = "true" />

but just note that RomControl returns a URI in the key, autonomous returns the full path to the file in the key.

Post has been editedFreeflax - 01.05.17, 13:20


--------------------
unix3d
Message#33
01.05.17, 14:14
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 90
Check in: 05.05.12

Reputation:-  117  +

H.FreeflaxWell, I obviously do not Troll!
I have nothing to hide my nickname on the multiroom unix3dgforce
butSERGik345not much wrong in the search string

and as for bypassing it is not much; the name is not a bypassing this value; it is present and installed (when necessary) and functions; it is rather a branch of the default algorithm for backward compatibility with lower versions,
I'll give a tip under the debugger what is happening in the variables at the start of the class and calls to override functions.

I come out of this holivar!


--------------------
from the Java Tutorial "from the settings we call one more settings that will manage the settings which are the settings"
Freeflax
Message#34
01.05.17, 14:17
Spirit of nikopol
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1776
Check in: 20.10.11
Motorola SLVR L7

Reputation:-  1304  +

and as for bypassing it is not much; the name is not a bypassing this value; it is present and installed (when necessary) and functions; it is rather a branch of the default algorithm for backward compatibility with lower versions,
I'll give a tip under the debugger what is happening in the variables at the start of the class and calls to override functions.

If not difficult, in more detail you can?
would appreciate it)


--------------------
fil
Message#35
01.05.17, 14:28
D'oh!
*********
[offline]

Group: Honorary Gameday
Messages 3395
Check in: 10.11.11
Huawei P10 Lite WAS-LX1

Reputation:-  962  +

M
Stop making flooding and offtopic, if you have any complaints about the author, express them in QMS.
Remind everyoneResource rules
4.18. It is forbidden to deviate from the topic.


--------------------
- I see no reason to leave the house. We still come back every time. © Homer Jay Simpson
vitalysters
Message#36
01.05.17, 15:02
Veteran
********
[online]

Group: Friendssavagemessiahzine.com
Messages 1698
Check in: 09.01.14
General Mobile GM 5

Reputation:-  429  +

Version 5, something is not working.
05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: FATAL EXCEPTION: main

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: Process: com.android.settings, PID: 6754

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: java.lang. NoSuchMethodError: No static method convertToColorInt (Ljava / lang / String;) or its super classes (declaration of 'android.preference.AutoColorPickerPreference' appears in /system/framework/framework.jar)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at com.android.settings.cyanogenmod.StatusBarSettings.onPreferenceChange (StatusBarSettings.java:306)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.preference.AutoColorPickerPreference.onColorChanged (AutoColorPickerPreference.java)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.preference.AutoColorPickerPreference.setNewPreviewColor (AutoColorPickerPreference.java:197)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at com.android.settings.cyanogenmod.StatusBarSettings.onCreate (StatusBarSettings.java:140)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.Fragment.performCreate (Fragment.java:2031)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState (FragmentManager.java:863)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState (FragmentManager.java:1067)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.BackStackRecord.run (BackStackRecord.java:834)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions (FragmentManager.java:1452)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.FragmentManagerImpl.executePendingTransactions (FragmentManager.java:483)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment (SettingsActivity.java:1008)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at com.android.settings.SettingsActivity.onCreate (SettingsActivity.java:611)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.Activity.performCreate (Activity.java:6865)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1106)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2323)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2432)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.ActivityThread.access $ 900 (ActivityThread.java:15)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.ActivityThread $ H.handleMessage (ActivityThread.java:1321)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.os.Handler.dispatchMessage (Handler.java:102)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.os.Looper.loop (Looper.java:135)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at android.app.ActivityThread.main (ActivityThread.java:5310)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at java.lang.reflect.Method.invoke (Native Method)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at java.lang.reflect.Method.invoke (Method.java.7372)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit.java:910)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:705)

05-01 14: 59: 34.868 6754 6754 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main (XposedBridge.java:132)

05-01 14: 59: 34.871 912 3478 W ActivityManager: Force finishing activity 1 com.android.settings / .SubSettings

05-01 14: 59: 34.874 912 3478 W ActivityManager: Force finishing activity 2 com.android.settings / .SubSettings

05-01 14: 59: 34.936 912 2324 I OpenGLRenderer: Initialized EGL, version 1.4

OS 5.1.1


--------------------
It is better to make a mod on the phone than not to make a mod on the phone
Freeflax
Message#37
01.05.17, 15:05
Spirit of nikopol
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1776
Check in: 20.10.11
Motorola SLVR L7

Reputation:-  1304  +

* vitalysters,
what was done and how?


--------------------
vitalysters
Message#38
01.05.17, 15:08
Veteran
********
[online]

Group: Friendssavagemessiahzine.com
Messages 1698
Check in: 09.01.14
General Mobile GM 5

Reputation:-  429  +

* FreeflaxI used the previous version, I decided to roll the last one, added smilies to the frames, plus resources, everything as usual. As a result, I get crash settings. Now I will try to throw a smiley in another folder, in classes2


--------------------
It is better to make a mod on the phone than not to make a mod on the phone
Freeflax
Message#39
01.05.17, 15:09
Spirit of nikopol
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1776
Check in: 20.10.11
Motorola SLVR L7

Reputation:-  1304  +

in classes2

First you need to remove the old version.
And how do you call in the hml?


--------------------
vitalysters
Message#40
01.05.17, 15:28
Veteran
********
[online]

Group: Friendssavagemessiahzine.com
Messages 1698
Check in: 09.01.14
General Mobile GM 5

Reputation:-  429  +

* Freeflax, for example:
<AutoColorPickerPreference android: title = "Notification color" android: key = "statusbar_icon_color" android: defaultValue = "- 1" hexValue = "true" alphaslider = "true" />

I did not delete the old version in the grease but replaced it. In the class2 did not help


--------------------
It is better to make a mod on the phone than not to make a mod on the phone
Freeflax
Message#41
01.05.17, 15:32
Spirit of nikopol
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1776
Check in: 20.10.11
Motorola SLVR L7

Reputation:-  1304  +

I did not delete the old version in the grease but replaced it. In the class2 did not help

Delete the old version completely (including resources from the framework-res), put it in smali_classes2.
judging by the log, your call goes to the old autonomous ones, where the error in calling the method, which in the new ones is found in a different one, is (AutoSet $ ​​Utils).

hexValue = "true" - what's that?

Post has been editedFreeflax - 01.05.17, 15:33


--------------------

38 pagesV  < 1 2 3 4 5 6 > » 


 mobile version    Now: 05/18/19 11:31