Android 12 - disable "To protect your privacy, choose another folder" - Android Software/Hacking General [Developers Only]

you need to grab
Android 11
/system/priv-app/DocumentsUI ( + oat dir)
and copy it to
Android 12
/system/priv-app/DocumentsUI ( + oat dir)
(apparently PowerAmp's SAF breaks this)
tho magisk NoStorageRestrict module gets around this

smallville7123 said:
you need to grab
Android 11
/system/priv-app/DocumentsUI
and copy it to
Android 12
/system/priv-app/DocumentsUI
(apparently PowerAmp's SAF breaks this)
tho magisk NoStorageRestrict module gets around this
Click to expand...
Click to collapse
not understand, i have the Same Question.. how to Disable Android 12 Privacy Protection..

Root User M said:
not understand, i have the Same Question.. how to Disable Android 12 Privacy Protection..
Click to expand...
Click to collapse
Copy from android 11 rom to android 12 rom

smallville7123 said:
Copy from android 11 rom to android 12 rom
Click to expand...
Click to collapse
i am Totally disappointed..
i am Blaming my self because i sold my android 10 Version phone where i can use any app.. now i have android 12 version phone where only some apps work.

which thing i copy from android 11 ?

Try this

But as stated above
magisk NoStorageRestrict module gets around this
Meaning it does this correctly so SAF (storage access framework) does not break with certain apps

Related

PurifyOS By-pass PIE

Google in the update from Android KitKat to Android Lollipop has introduced a new type of restriction that blocks the execution of non-PIE binary.
This block mainly forces the user to copy the binaries he wants to run in /system/bin, /system/xbin, or in /sbin.
This restriction stops executing some apps (also app no-root), this Magisk module disable this restriction.
Who needs this module ?:
This modulr can be useful if you run the following statement while you are running a binary:
Error: only available independent executables (PIE) are supported.
How does the module work ?:
The operation is really simple, I checked the commit of the aosp source to identify the changes made to linker.cc responsible for the PIE restriction and I removed the part of code that blocks the execution of non-PIE binaries then it was enough to compile the linker and create a Magisk module with modified binaries.
Compatibility:
Android 7.1.X (probably also 7.0 but has not been tested)
Architectures: all
Flash in Magisk Manager or TWRP, NEEDED MAGISK 13.1 OR NEWER
The source for now is not available, will be released on the following days (Monday at maximum)
Working on Samsung Galaxy S7 edge nougat 7.0
Spartacus500 said:
Working on Samsung Galaxy S7 edge nougat 7.0
Click to expand...
Click to collapse
Did you try to run a non-PIE binary?
No, I did not try, I just installed the module.
ErnyTech said:
Did you try to run a non-PIE binary?
Click to expand...
Click to collapse
Hi! Small understanding info on my language on net. Its security restrictions for PIE added,removed by Google in different versions of Android. But in newer buidls his add this check,and any modern OS too have it. In two words tell me why i need bypass this sec.system(e.g disable security)? For exploits?
sorry,Eng is not my native lang.
zentao78 said:
Hi! Small understanding info on my language on net. Its security restrictions for PIE added,removed by Google in different versions of Android. But in newer buidls his add this check,and any modern OS too have it. In two words tell me why i need bypass this sec.system(e.g disable security)? For exploits?
sorry,Eng is not my native lang.
Click to expand...
Click to collapse
Unfortunately in some roms there are, for example, the Oxygen OS and sometimes also the Lineage. The mod need for users who have to run a binary but its execution is blocked by PIE verification, probably most of the users do not need
Yes may be most of the users don't need but thanks for your efforts
If I use this Magisk module, I cannot take any photo with my camera. Disabling this module, everything is ok again.
I have got a HTC One M8 with LineageOS 14.1.
Herbie_2005 said:
If I use this Magisk module, I cannot take any photo with my camera. Disabling this module, everything is ok again.
I have got a HTC One M8 with LineageOS 14.1.
Click to expand...
Click to collapse
Uhm what rom?
LineageOS 14.1 (CM 14.1)
is it will work on latest LineageOS 14.1??
Edit :: Yes.! it works ...but can u please make a zip for supersu user??it will be really helpful.
Does this work on stock Android 8.0?
I cannot pass the "Starting apps" if i use this module
Darkaxis said:
I cannot pass the "Starting apps" if i use this module
Click to expand...
Click to collapse
What rom you're using?

How can I install Google services and apps on Honor 9X?

Hi
A month ago, I bought an Honor 9X, not from China, and tried many tutorials and apps like LZPlay, Googlefier, etc. But nothing worked. I even asked some people in China but they even said it's nearly not possible.
Does anyone know any way to install Google services on it?
Techinal details:
Model: MOA-LX9N
Build number: 3.1.0.185(C185E4R4P1)
Magic UI version: 3.1.0
Android version: 10
Kernel version: 4.14.141
Jan 4 2021
Security patch level: December 1 2020
As long as your phone's Android system is protected against any changes made by a customer ( keywords: AVB & DM-Verity & SELinux ) - what I suspect - you have no chance.
jwoegerbauer said:
As long as your phone's Android system is protected against any changes made by a customer ( keywords: AVB & DM-Verity & SELinux ) - what I suspect - you have no chance.
Click to expand...
Click to collapse
I am not familiar with all this, but is there any way to get the services by rooting?
omerbilal1 said:
I am not familiar with all this, but is there any way to get the services by rooting?
Click to expand...
Click to collapse
Why not try to become familiar with this?
Trying to root device's Android doesn't change anything on given situation.

I cannot root my Logicom Le Hola FR

Hi, I recently bought a cheap phone (Le Hola FR Logicom) thinking that I could root it with Magisk to fix its shortcomings afterwards. However, after much research on the net I am unable to do this because its ROM cannot be found on the internet and it does not seem compatible with TWRP. How do I root it with Magisk please?
1st thing of all things is that you must have a copy of phon'e Stock ROM ( Android 10 GO ? ) at your fingertips: it's required to install Magisk without TWRP.
Look also inside here:
How To Root Android 10 - Root Android Phone - ineed2root.com
In this article, I will show you how to root Android 10 with the latest Magisk....
ineed2root.com
jwoegerbauer said:
1st thing of all things is that you must have a copy of phon'e Stock ROM ( Android 10 GO ? ) at your fingertips: it's required to install Magisk without TWRP.
Look also inside here:
How To Root Android 10 - Root Android Phone - ineed2root.com
In this article, I will show you how to root Android 10 with the latest Magisk....
ineed2root.com
Click to expand...
Click to collapse
thanks for your reply, but the problem is that I can't find the firmware for this model so I cannot continue the steps of this site

HELP ME ROOT !!!!

sorry if you felt I'm shouting in the title. I want to root my Lenovo K33a42, Android 7.0 (yes an old phone). I tried to root using KingRoot, KingoRoot, FramaRoot, Root Master (including PC versions) and none of them were able to root my phone. I seriously want to root my phone and I don't wanna risk bricking it as it's my primary. I know the method of Flashing TWRP and then flashing Magisk or SuperSU, but I'm scared of bricking. is there any better method to root my phone?
DamnBro304 said:
sorry if you felt I'm shouting in the title. I want to root my Lenovo K33a42, Android 7.0 (yes an old phone). I tried to root using KingRoot, KingoRoot, FramaRoot, Root Master (including PC versions) and none of them were able to root my phone. I seriously want to root my phone and I don't wanna risk bricking it as it's my primary. I know the method of Flashing TWRP and then flashing Magisk or SuperSU, but I'm scared of bricking. is there any better method to root my phone?
Click to expand...
Click to collapse
Well always do everything with extra care. I cound not assure that you will not brick your device.
Your phone is Lenovo K6 power.
Also, I recommend updating to a newer android version as android 7 is already too outdated and not safe to use. An example is this, which you can also flash in TWRP (wipe before installing)
[ROM][11.0.0_r19]LineageOS 18.1 for Lenovo K6 Power
LineageOS is a free, community-built, aftermarket firmware distribution of Android 6, which is designed to increase performance and reliability over stock Android for your device. LineageOS is based on the Android Open Source Project with extra...
forum.xda-developers.com
If you want to know why one click root apps doesn't work, those apps highly depends on a bug occuring on android 4.0 to android 6.0. Android 7 have this 'issue' , or exploit, patched, so one click root apps died instantly.
@DamnBro304
No Magisk, TWRP, SuperSu, etc.pp is needed to root a phone what has Android 5 and higher running.
Because your device's Android is version 7 to get the superuser access to be able to control various aspects of Android OS means you need to perform a certain modification that will root your phone's Android.
Here is what you have to do to root your device's Android: Replace Android's Toybox binary - what is a restricted version by default - by unrestricted Toybox v0.8.5. This can get achieved by means of ADB.
Toybox v0.8.5 is available here:
Index of /toybox/bin
jwoegerbauer said:
@DamnBro304
No Magisk, TWRP, SuperSu, etc.pp is needed to root a phone what has Android 5 and higher running.
Because your device's Android is version 7 to get the superuser access to be able to control various aspects of Android OS means you need to perform a certain modification that will root your phone's Android.
Here is what you have to do to root your device's Android: Replace Android's Toybox binary - what is a restricted version by default - by unrestricted Toybox v0.8.5. This can get achieved by means of ADB.
Toybox v0.8.5 is available here:
Index of /toybox/bin
Click to expand...
Click to collapse
thanks for your quick reply but I'm still kinda new to this flashing and stuff so can you give me the exact commands to root my phone? and I see there are many options of downloading toybox in the link you gave me I don't know which one I need so can u help me out in that too?
LR7875 said:
Well always do everything with extra care. I cound not assure that you will not brick your device.
Your phone is Lenovo K6 power.
Also, I recommend updating to a newer android version as android 7 is already too outdated and not safe to use. An example is this, which you can also flash in TWRP (wipe before installing)
[ROM][11.0.0_r19]LineageOS 18.1 for Lenovo K6 Power
LineageOS is a free, community-built, aftermarket firmware distribution of Android 6, which is designed to increase performance and reliability over stock Android for your device. LineageOS is based on the Android Open Source Project with extra...
forum.xda-developers.com
If you want to know why one click root apps doesn't work, those apps highly depends on a bug occuring on android 4.0 to android 6.0. Android 7 have this 'issue' , or exploit, patched, so one click root apps died instantly.
Click to expand...
Click to collapse
as I said in my previous reply I am new to these stuff and I see that the lineageos is of Android 6 and had a doubt. will flashing that ROM give me root access without doing anything else?
DamnBro304 said:
as I said in my previous reply I am new to these stuff and I see that the lineageos is of Android 6 and had a doubt. will flashing that ROM give me root access without doing anything else?
Click to expand...
Click to collapse
Ah **** posted wrong link, this is the right one:
[UNOFFICIAL][9.0.0_r46] Pixel Experience - Plus [karate]
PixelExperience Plus for Lenovo K6 Power(karate) What is this? Pixel Experience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, bootanimation) Our mission is to offer the maximum...
forum.xda-developers.com
You need to flash magisk.
jwoegerbauer said:
@DamnBro304
No Magisk, TWRP, SuperSu, etc.pp is needed to root a phone what has Android 5 and higher running.
Because your device's Android is version 7 to get the superuser access to be able to control various aspects of Android OS means you need to perform a certain modification that will root your phone's Android.
Here is what you have to do to root your device's Android: Replace Android's Toybox binary - what is a restricted version by default - by unrestricted Toybox v0.8.5. This can get achieved by means of ADB.
Toybox v0.8.5 is available here:
Index of /toybox/bin
Click to expand...
Click to collapse
Well how? Not heard about that, can you please elaborate? Thanks.
IMO out of scope of this thread, it would require a separate thread everyone on XDA can make use of,
May be I'll create one, stay tuned ...
LR7875 said:
Ah **** posted wrong link, this is the right one:
[UNOFFICIAL][9.0.0_r46] Pixel Experience - Plus [karate]
PixelExperience Plus for Lenovo K6 Power(karate) What is this? Pixel Experience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, bootanimation) Our mission is to offer the maximum...
forum.xda-developers.com
You need to flash magisk.
Well how? Not heard about that, can you please elaborate? Thanks.
Click to expand...
Click to collapse
thank you very very very much. Now what I have to do is just extract the boot.img from this OS and then patch it with Magisk and then flash this OS right? correct me if I'm wrong bcoz I don't at all wanna brick this phone and please mention the FULL method if I'm wrong and I'm new too new to these stuff. I will forever be indebted to you
DamnBro304 said:
thank you very very very much. Now what I have to do is just extract the boot.img from this os and then patch it with Magisk and then flash this right? correct me if I'm wrong bcoz I don't at all wanna brick this phone and please mention the FULL method if I'm wrong and I'm new too new to these stuff. I will forever be indebted to you
Click to expand...
Click to collapse
yes.
LR7875 said:
yes.
Click to expand...
Click to collapse
ok cool cool cool cool cool cool cool cool cool cool so this will get 3 advantages. I will get root + android 9 + Pixel Experience very noice thanks man ily

unable to process request due to missing initial state

I followed the instructions here to put LOS 18.1 on the Uniherz Jelly 2:
[ROM] [UNOFFICIAL] Lineage OS 17.1 | Unihertz Jelly 2
https://drive.google.com/drive/u/0/folders/1VSmj_-a1PYNzFWtUfbsDGWg4uIh-Tgkd This ROM is built using binaries from non-european (TEE) version of Jelly 2. Theoretically it should work on european (EEA). If it won't - contact me, I'll prepare ROW...
forum.xda-developers.com
Next used the infos in this thread to make it spoof and put MicroG ( 0.2.14.204215 ) on it:
Signature Spoofing on unsuported Android 11 (R) Roms
How to get Signature Spoofing working on Android 11 (R) Roms that have no support for Signature Spoofing? In my Case here I use a Samsung Galaxy S8 with an unofficial LineageOS 18.1 (Android 11) by stricted I use TWRP recovery but this should...
forum.xda-developers.com
So now the main thing I wanted out of the latter is working - a car sharing app works on the phone.
I attempted however to run another mobility app, which does electric scooters and while it didn't complain about Play Services anymore, it eventually opened up some kind of empty browser window with the following text in it:
Unable to process request due to missing initial state. This may happen if browser sessionStoraage is inaccessible or accidentally cleared.
Click to expand...
Click to collapse
"Cloud Mesaging" in MicroG is not switched on, but doubt it is that. I added no Location modules (backends) as the GPS seems to work so well. Everything is ticked under the MicroG requirements, but I tried to switch on permission to access location in the background on MicroG but it will not let me switch it on. I'm scared to update MicroG from F-Droid to a newer version, since I followed instructions from somewhere to install it from Magisk along with something else which patched the services.jar to spoof.
Any ideas as to how to fix this problem and what things to try, in what order?

Categories

Resources