To edit the sound volume by changing the values ​​in the xml file you should have
rootas, for example, did
here, this is the most "correct", though not the easiest way to get root while maintaining your
DRM keys.
For information: in order to be able to edit system files, you must have root
The term Root-rights is one of the concepts of Linux that underlies the Android kernel, and those who worked with this OS know what it is. Root is the account of the main administrator, or superuser. Having access to this profile, a number of features appear that are not available in normal operation.
In essence, Root rights give you the privilege to change and delete system files, change system settings, run Linux executable files using a Linux terminal emulator, etc.
a sourceHere is the detailed
root instruction+ important
addition.
The same thing, but in your own words:
To be able to edit system files we need to install
TWRP recovery (
3.1.1or
3.2.1) so that later
to putfrom it .zip archive with
SuperSU, but there is alsoMagisk,how do they do
hereor
here, and for this you need
unlock bootloader(bootloader), and Sony made it so that after unlocking it, all are automatically deleted
DRM keys, without which many Sony branded chips do not work, so you have options:
1) save DRM keys before opening the bootloader (bootloader), and after opening the bootloader and installing the firmware that you prefer, replace (flash) the kernel kernel from this firmware, but without your DRM keys, to the kernel from the same firmware, which you will need to be yourself
to collectbut with your DRM keys
2) install DRM-FIX
The first option is "more correct"
, and in official or other services, if you take it under warranty, you will notdig uporSobut then it turned out thatin the absence of DRM keys and an unlocked bootloader, a warranty disclaimernot legal ,but it’s a little more complicated, for this it’s necessary
to flash on 6-ku, you can download the firmware
here and
here ,
save your DRM keys, unlock the bootloader, and then flash on that
firmware which you like, then flash before
collected kernel kernel for this version of the firmware with its DRM keys, install recovery TWRP, and then flash the .zip archive from it
SuperSU or
Magisk : suicide:
A bit of theory about SurerSu and Magisk
a sourceif it doesn’t open, then
So, but
original sourceTraditionally, to get root on a smartphone or tablet, it was necessary to place the su file (which is responsible for privilege escalation) in the / system / xbin / directory, that is, in the system partition. This action changed its hash sum, which made it impossible to install OTA updates.
Moreover, with the release of Marshmallow, Google took care of security, the foundations of which were laid in Lollipop, making it impossible to correctly install su in / system. Chainfire, developer
SuperSU , began a search for workarounds, the result of which was quite unexpected.
Instead of placing su in / system, he injected it into the boot partition containing the kernel and the so-called RAM disk. The latter is an image of the file system, which is loaded into the RAM at the initial boot stage of Android. The RAM disk contains the basic system components that must be started before the / system partition is connected.
It turned out that if you implement su directly into the RAM disk, you can bypass all the Android defense mechanisms in one fell swoop and, in addition, ensure the normal operation of the OTA. This method of rooting was called systemless root (non-system root) and became the main SuperSU for devices running Android Marshmallow and Nougat. It should be noted that this method is also applicable to Samsung devices running on version 5.1 (or newer).
Non-root has its advantages and disadvantages. The main disadvantage is that it does not work on devices with a locked bootloader by default - of course, there may be workarounds, but they are specific to each device.
However, non-system root is more universal than the traditional one. In many cases, it does not break the OTA update. Non-system method is “cleaner”, since it does not add or change files in the / system section. This means that removing or hiding root will be much easier. After resetting to factory settings, the root access feature will be removed.
The last advantage is, of course, a double-edged sword. Most users would prefer that root access still remain, but to restore root access, you just need to flash the SuperSU file.
Magisk The information presented above has one goal - to help understand that systemless is convenient and not scary. After all, Magisk uses exactly this way of working with the system. Next, we dwell on the features of Magisk in more detail.
So, Magisk is a utility that patches the boot section and makes it possible to install various system mods in systemless mode. It allows you to run scripts at different stages of mounting and replace files (for example, build.prop) even before mounting the / data section, hide root and Xposed from applications and services such as Android Pay, Samsung Pay or Sberbank Online, and also get OTA- Stock firmware updates.
However, the main advantage of Magisk is that when a RAM disk is modified, it only writes a bootloader to it, while the mods themselves are stored in the / data and / cache sections. As a result, after flashing it will not be necessary to apply all the mods anew, just install Magisk, and it will download them all automatically.
Other features are also worth noting: changing the bootloader state for other programs and the KNOX state for Samsung devices; several entry / injection points for developers, reliably guarantee pauses at boot until all changes work; post-fs (cache) mode, which is triggered before the / data partition is mounted, and allows, for example, changing bootanimation; removal of dm-verity, forceencrypt; built-in BusyBox, built-in ability to spoof the / etc / hosts file (to block ads).
If you plan to use Android Pay or applications that do not want to work with or have root installed via SuperSU or swear at it (there are few of them, mainly bank customers, like Sberbank-Online, although there are
Maud, where checking the availability of root on the phone is disabled), then put Magisk, because it can hide the root from any applications and services, although if the root is installed through SuperSU, it can also be hidden, as it is written
hereby pre-setting
Xposed, anyway Xposed, the right thing, using its modules you can easily
expand functionalityyour phone, so sooner or later you will put it :), in general, there are various options ... if you want the easiest way for Android Pay to work and be root, then
Magisk + DRM-fixthe easiest option:
Hamsky @ 06/06/18, 11:10
Voila, SafetyNet is back with a bang! No modules needed! Sber and Google Pay work with a bang.
but if you do not use the phone as a payment card, and Sberbank-Online can be downloaded without checking the root
(although I would be wary of other people's mods of banking applications, you never know what they could put in there ...)then SuperSU to help you ...
You can also try, and if you can installSuhide-liteby thisinstructionsbut with him in this threadlittle experience, but you can’t find a positive one at all ... therefore, I do not recommend it ... but if you really want to, you can try, and if everything works out well for you, then write in this thread ..._____________________________________________________________________________________________________________________________
PS. They write that their DRM keys (what it is written
hereand
here)
but how to find out their availability on a used device, if you suddenly decidedcheckand get it writtenhere +
Magiskgive an eternal reboot, so, probably, the only option to stay with your DRM keys + have a root is to install SuperSU,
more, and Magisk only works with DRM-fix,
more The conclusion is based on these comments:
from hereAlekseyle @ 05/22/18, 10:21 PM
Tell me, what am I doing wrong?
1. Install the firmware via the 34.3.A.0.252 flash drive
2. Install the kernel with your own keys and recovery. Doing wipe
3.Install Magisk-v16.0
4.Boot into the system
I get a cyclic reboot
If I do not install Magisk, then everything loads fine
from hereShidoshi @ 05/30/18, 15:38
I have a kernel with embedded keys and Magisk, also a reboot. Installed Super Su and Xposed. Everything works fine.
But no one bothers you to verify this personally, maybe those who unsubscribed above did something wrong, and you can avoid rebooting
, but it may not work out :(,c
savedand
stitchedyou DRM keys +
Magisk... and you write detailed instructions about this, so that based on your experience, help those who did not succeed ...
And here is what they write from the new Magisk: K.E.M. @ 07/31/18, 20:18
Flash the desired firmware via the flash tool. Then flash the recovery and the kernel (the kernel must match the firmware!) Via fastboot. Then flash the magisk from the recovery.
WiCKed2007 @ 07/31/18, 20:36
You just need to flash it through fastboot TWRP and then through TWRP magisk. That’s enough. A this
instructionfor ancient Marshmallow
TWRPfastboot flash recovery twrp-3.2.2-0-kugo.img
Magisk