Question New to MIUI 13 - Need some advice - Xiaomi 11T Pro

Hi guys.
Coming from a Mi 9T Pro which is stuck at MIUI 12.
Got a couple questions that i can't solve (tried google but that just gave me more questions)
First off. Followed this guide to root my phone. The root is working just fine, but Adaway is giving me some errors. Every time i try to install new hosts it tells me something like -Failed to copy the hosts file to the /system partition.
Adaway says it has something like 150k blocked, but it wont work.
Second. How the heck do i get rid of the clock in upper left corner? Can't find any settings and can't remember that i had it on my 9T Pro.
Thanks in advance.

Related

[Urgent] How to upgrade from SUperSU to SuperSU Pro

Hi mates, I've a Samsung Neo device (or something similar), I want to use it as a security cam but I need to change file playlpm into /sytem/bin to reboot phone when power plug is connected.
I've rooted the phone with a package, but it contains the SuperSU free, which doesn't let me write into /system/bin, how can I overcome this? I've found SuperSU pro 2.82 but after installing it I can't open the new app, old still there, I've rebboted but didn't help.
Please I need *any* advice which make me able to overwrite playlpm file! Thank you a lot!
It's getting me mad, I've installed and rebooted
I've forced disabled SuperSU and installed the pro after it, nothing. I an only install but no open, no icon.
I've uninstalled SuperSU, nothing too.
I've intslla Kingroot and it gives an error when I run it.
I solved myself, I don't know if SuperSU tricked me only showing on logs "you need the PRO version to do this" when I tried do write somethin on /system, but after some experiments, like installing KingRoot I've figured out I need to mount on write the /system. I used this:
https://forum.xda-developers.com/showpost.php?p=10691125&postcount=7

G9+ & Adaway: Ads show up

I have two G9+ phones, both rooted with Adaway installed. One has the stock ROM (Android 10) & the other has LineageOS 18.1.
On the phone with Lineage there are no ads when running a particular game. The same version of the game on Moto Android 10 has ads.
There is some app I don't understand called Moto GameTime that appeared when I started the game but I have disabled it. (I tried to move GameTime out of system using system/app mover but I got an error: "Could not remount /system".)
Still, Google ads appear with the stock ROM despite having Adaway.
Everything looked ok in Adaway. It tells me its three sources are up to date. When I try to reload & reinstall hosts from those sources I get an error: "Unable to copy hosts file to /system partition. Please check Magisk systemless module is enabled the reboot." (Magisk Manager shows Magisk 23.0 is installed.)
Something is causing problems that seem to involve lack of access to the /system partition. I don't know if that is related to the appearance of ads on the stock ROM, but any thoughts? How can I fix this?
As I've stimulated no response here, I took the ugly step of wiping the phone, flashing the experimental LineageOS and restoring everything from backup (not a fully successful process because the data for certain apps was not backed up by Super Backup & Restore).
At least there are now no ads getting through onto the phone.
The issue you are having is related to stock Android 10. It does not allow you to make any changes to the system partition, as it won't allow you to mount it as r/w. There is a workaround for it (currently in development stages). It's a flash able zip script that dumps the super partition "fixes" it and flashes it back. Your phone must have the bootloader unlocked and be rooted for it to work. It currently works for A only devices without any issues, but is throwing an lpmake error 73 for mysterious/unknown reasons, but a fix is in the works. I will post a link when I get home.
I assume the phone is rooted with Magisk which is a systemless root method. Even with older devices /system remains unmodified. All changes are only overlays/modules managed by the Magisk App.
doktorspin said:
(I tried to move GameTime out of system using system/app mover but I got an error: "Could not remount /system".)
Click to expand...
Click to collapse
This could also be done with a own module. See instructions here.
Keven11 said:
The issue you are having is related to stock Android 10. It does not allow you to make any changes to the system partition, as it won't allow you to mount it as r/w.
Click to expand...
Click to collapse
Thanks. I decided to replace the stock ROM with LOS18.1. That problem solved. (Got a new one: can't use data over the phone connection.)
doktorspin said:
Thanks. I decided to replace the stock ROM with LOS18.1. That problem solved. (Got a new one: can't use data over the phone connection.)
Click to expand...
Click to collapse
I fixed the issue by ditching Android 10 for LOS 18.1. But thanks for the pointer.
doktorspin said:
Thanks. I decided to replace the stock ROM with LOS18.1. That problem solved. (Got a new one: can't use data over the phone connection.)
Click to expand...
Click to collapse
I'm glad you got it figured out. The data issue, along with many other bugs will be rectified any day now with the new release. The issue you are having with LOS 18.1 is because at the time of development the kernel for A11 hadn't been released by Moto yet. However, they did finally release it a little under 2 weeks ago. So the new version of it will be much much better. It will be linked to the same link I posted. It's just a matter of time now, and not much of it.
Telegram Odessa Devs and testers group: https://t.me/joinchat/SaZ2BX0M8bQmkioW

Question A Draconian legitimized redmi Spyware - com.miui.securitycenter & how to throw it out without boot looping

com.miui.securitycenter
This thing along with 3-4 other security components , pretends to securize
But it does just the opposite. It's a legitimized spyware from Xiaomi in every MI UI ROM .
So I opened up the APK components - services broadcast receivers etc.
Here is what I am find ( see more in screenshot )
-
Code:
AdsProcessPriorityService
com.facebook.ads.internal.ipc.AdsProcess
PriorityService
AdsMessengerService
com.facebook.ads.internal.ipc.AdsMessen
gerService
On disabling these specific components - it will not let me change them my modifications are reset to their default
- Being rooted -I do a magisk hide on all non essential components. Here too certain components of Xiaomi including this one are forcibly unhidden from magisk
-try and disable this using pm disable and that will not work
-tried to use a third party tool To fine grain it's permissions and remove them.
Here I get a warning
Code:
"This is a system application, change
A
settings may cause serious problems.
The Shared user ID for this application is
android.uid.system, and applications with
the same Shared user ID share most of the
permissions.
"
I am opening up this thread so we can collaborate and think of how to MOD this app possibly or any other solutions where all these so called security components of Xiaomi can be thrown out without boot looping.
One approach would be model security component is loaded after booting and original one is thrown out through a magisk module.
Can someone please give Me an approach how to go about doing this
Thanks for sharing this information.
This is annoying and I would never have noticed since I regularly use the cleaning tool (it is my first time using a Xiaomi phone). I just checked the Security Center's data usage and it's been consuming a little bit of my mobile data and WiFi. It's only now I know where's that supposedly going to
What about removing authorization for the app?
What ROM is it on? I'm on the EU and there is nothing called this in the apps, even system apps. Closest app below as attached.
MIUI 11.0.3 Android version 9
xNAPx said:
What about removing authorization for the app?
Click to expand...
Click to collapse
Yeah there's an option to revoke Authorization but that is just window dressing. It is switched off and whether you switch it on or off it will behave exactly the same way it has absolutely no impact I I try to disable individual service components and those to remain as they are
did you try magisk debloater module? Bootloop? I am interested
xNAPx said:
did you try magisk debloater module? Bootloop? I am interested
Click to expand...
Click to collapse
xNAPx said:
did you try magisk debloater module? Bootloop? I am interested
Click to expand...
Click to collapse
you mean this right here nah thx I will give it a shot. My biggest concern is if there is some kind of APK checking going on for the system to boot then it will get stuck in bootloop and I had to restore /system once again -though the terminal apps says that it creates a dummy file
let me know because I have it on my phone and looking for newer ways to debloat my phone, I might give it a shot tomorrow as I plan to reflash my firmware from scratch with the latest fastboot global stable, the thing is we need to understand what dependencies has this app and what triggers them
By the way I already a jar debloater file that brought an applet which will let you enable disable install uninstall. Even after I disable a lot of bloatware or uninstall it - un-installing in redmi isn't permanent , that crap is still out there - dunno where its stored. And you can always reinstall after you have uninstalled. So that uninstall is just a lollipop. Hopefully magisk mod will trick it.
did you try the magisk module?
Nandroided /system and ran the debloat --> boot looped.
restored /system and I am still in boot loop
I had 2 Nandrois of system still got stuck . Finally got it to boot after restoring /vendor from an old backup.
Dunno why /vendor was affected at all.
sieger007 said:
Nandroided /system and ran the debloat --> boot looped.
restored /system and I am still in boot loop
I had 2 Nandrois of system still got stuck . Finally got it to boot after restoring /vendor from an old backup.
Dunno why /vendor was affected at all.
Click to expand...
Click to collapse
BTW boot loop was AFTER that Redmi logo @ Powered by android . I moved a week ago from Havoc to MIUI due to some limitations in the former. Even then a simple full Nandroid restore would''nt work & it got stuck the same spot (@ Powered by android .)
what d'e do now?
We should understand what dependencies this app has, because for sure once we delete it something is looking for it. What did you debloat safely so far?
Hey fellas ...'y dope on this?
Did you find the dependencies? I don't think there are alternatives otherwise. If it is a spy software xiaomi made this by purpose
xNAPx said:
Did you find the dependencies? I don't think there are alternatives otherwise. If it is a spy software xiaomi made this by purpose
Click to expand...
Click to collapse
ty . looking for dependencies ... yes obvious analysis. got any code or something hand that I can test out or work with to develop something ?.
Do you mean the package com.miui.analytics?
Did you try to debloat both? As well as MIUI daemon?
I don't have any code I'm afraid and I would know anyway I'm not a developer
xNAPx said:
Do you mean the package com.miui.analytics?
Did you try to debloat both? As well as MIUI daemon?
I don't have any code I'm afraid and I would know anyway I'm not a developer
Click to expand...
Click to collapse
Dad is no issue with De bloating analytics. Problem is security center

Question Viper 4 Android

Anyone got it working? I keep getting install driver loops.
Unless there is TWRP available, I wont try those risky flashing stuff.
Oh that's just easy hahah
Well here are the steps first you start clean so no audio modules or viper installed so delete them first then follow this steps
1. Open termux and type su -c setenforce 0 and to be sure type su -c getenforce if it stands on permissive
2. Flash viper module only so no other modules when it's done flashing don't reboot your device and startup viper then you need to install a module what the apps says then do it
3. DONT OPEN VIPER YET UNTIL YOU HAVE DONE THIS.
Then you go to /data/adb/modules/ViPER4AndroidFX and there you will see a file who is called post-fs-data.sh replace it with the one who has been send in this chat just overwrite it and then reboot
4. Open viper and you won't see any message popping up then it's means it works go to the settings and turn on legacy mode when that's done try to go to YouTube or any other music player like SoundCloud (btw i only have been testing it like that so maybe spotty works too) go back to your viper until you see this message jump away from the other (look at the screenshots)
5. If it is still not working and it doesn't hurt to install afterwards then install ainur narsil module don't reboot go back and flash audio modification library
HessNL said:
Oh that's just easy hahah
Well here are the steps first you start clean so no audio modules or viper installed so delete them first then follow this steps
1. Open termux and type su -c setenforce 0 and to be sure type su -c getenforce if it stands on permissive
2. Flash viper module only so no other modules when it's done flashing don't reboot your device and startup viper then you need to install a module what the apps says then do it
3. DONT OPEN VIPER YET UNTIL YOU HAVE DONE THIS.
Then you go to /data/adb/modules/ViPER4AndroidFX and there you will see a file who is called post-fs-data.sh replace it with the one who has been send in this chat just overwrite it and then reboot
4. Open viper and you won't see any message popping up then it's means it works go to the settings and turn on legacy mode when that's done try to go to YouTube or any other music player like SoundCloud (btw i only have been testing it like that so maybe spotty works too) go back to your viper until you see this message jump away from the other (look at the screenshots)
5. If it is still not working and it doesn't hurt to install afterwards then install ainur narsil module don't reboot go back and flash audio modification library
Click to expand...
Click to collapse
I'll try this when I'm off work.
HessNL said:
Oh that's just easy hahah
Well here are the steps first you start clean so no audio modules or viper installed so delete them first then follow this steps
1. Open termux and type su -c setenforce 0 and to be sure type su -c getenforce if it stands on permissive
2. Flash viper module only so no other modules when it's done flashing don't reboot your device and startup viper then you need to install a module what the apps says then do it
3. DONT OPEN VIPER YET UNTIL YOU HAVE DONE THIS.
Then you go to /data/adb/modules/ViPER4AndroidFX and there you will see a file who is called post-fs-data.sh replace it with the one who has been send in this chat just overwrite it and then reboot
4. Open viper and you won't see any message popping up then it's means it works go to the settings and turn on legacy mode when that's done try to go to YouTube or any other music player like SoundCloud (btw i only have been testing it like that so maybe spotty works too) go back to your viper until you see this message jump away from the other (look at the screenshots)
5. If it is still not working and it doesn't hurt to install afterwards then install ainur narsil module don't reboot go back and flash audio modification library
Click to expand...
Click to collapse
I'm still getting the driver loop. You have the zip to the ainur module?
Psych0t1c20 said:
I'm still getting the driver loop. You have the zip to the ainur module?
Click to expand...
Click to collapse
Then something's it wrong normal if you have placed the post-fs-data.sh in it then normally driver loop should have ended already delete everything of viper and try again
HessNL said:
Then something's it wrong normal if you have placed the post-fs-data.sh in it then normally driver loop should have ended already delete everything of viper and try again
Click to expand...
Click to collapse
What version/build of oos are you on? Maybe I need to update or something.
I'm right now on oos 11 but i used it with oos 12 and it was working okay and with colorOS 12.1 maybe you aml and ainur with it but i thought I posted the files but doesn't seem like it
HessNL said:
I'm right now on oos 11 but i used it with oos 12 and it was working okay and with colorOS 12.1 maybe you aml and ainur with it but i thought I posted the files but doesn't seem like it
Click to expand...
Click to collapse
Ok that's why. I'm on oos 12.1. It's prolly different.
It looks like OPPO decided to move audio_effects.xml to ODM instead of vendor like most other devices so V4A doesn't patch it.
I tried modding both vendor and odm to return original layout that other phones use and even used permissive selinux to make things go smoother but no luck. Then I patched the firmware manually and tried few other tricks too but no luck whatsoever on both OOS 12.1 and COS 12.1.
Ended up using Wavelet which isn't that bad but V4A has more customisation and better results.
As far as I remember I didn't have issues like ever with V4A not working on 8 Pro or any phone in fact, so it's pretty weird that it doesn't work here even with all these fix attempts.
Hi, just following up. Is anyone able to get this working on the Oneplus 10 pro? I'm on the global variant and I was unable to get viper working using the steps above. Thanks.
Psych0t1c20 said:
Ok that's why. I'm on oos 12.1. It's prolly different.
Click to expand...
Click to collapse
Really weird because i had this working in me OnePlus 9 pro too with colorOS 12.1
HessNL said:
Really weird because i had this working in me OnePlus 9 pro too with colorOS 12.1
Click to expand...
Click to collapse
I had it working on the OP9P as well on OOS 12, but on the OP10P none of the usual methods work for me. I keep getting the driver loop. Not sure what else to try.
kouzelnik3 said:
Unless there is TWRP available, I wont try those risky flashing stuff.
Click to expand...
Click to collapse
Won't SwiftBackup serve the purpose ?
Any body got this to work yet ?
HessNL said:
Any body got this to work yet ?
Click to expand...
Click to collapse
Been trying for about a week now. Nothing seems to work. I've tried aml, jdsp,ainur narsil,acp,permissive,viper12fix zip. I've tried different versions of viper. I've replaced the post-fs-data.sh with the one that worked for my OP9 pro that was running oos12. I know that the post-fs-data fix involves binding the two locations of the audio_effects.xml which on the OP9 pro is located /odm/etc and vendor/etc. On the OP10 pro they are located in odm/etc and vendor/odm/etc. I've tried changing the location to accommodate this, but no luck. I've been lurking and asked in the v4a telegram group trying to see if anyone with the 10 pro has got it to work, but it doesn't seem like it.
ecera said:
Been trying for about a week now. Nothing seems to work. I've tried aml, jdsp,ainur narsil,acp,permissive,viper12fix zip. I've tried different versions of viper. I've replaced the post-fs-data.sh with the one that worked for my OP9 pro that was running oos12. I know that the post-fs-data fix involves binding the two locations of the audio_effects.xml which on the OP9 pro is located /odm/etc and vendor/etc. On the OP10 pro they are located in odm/etc and vendor/odm/etc. I've tried changing the location to accommodate this, but no luck. I've been lurking and asked in the v4a telegram group trying to see if anyone with the 10 pro has got it to work, but it doesn't seem like it.
Click to expand...
Click to collapse
Hmm well i hope someone will find it out at the moment I'm only using 10 pro and i wanted some better audio settings i don't know if you know this app wavelet? It might work on every device but i didn't try it out yet i shaw this posted in one of the Viper4android channels
I never found Wavelet anywhere near as good as Viper
If I run "su -c dumpsys media.audio_flinger", it looks like the 10 pro using the libs from /vendor/lib64/soundfx/ while the 9 pro was using /vendor/lib/soundfx/. Not sure if there is a way to make it use the 32-bit lib folder.
ecera said:
Been trying for about a week now. Nothing seems to work. I've tried aml, jdsp,ainur narsil,acp,permissive,viper12fix zip. I've tried different versions of viper. I've replaced the post-fs-data.sh with the one that worked for my OP9 pro that was running oos12. I know that the post-fs-data fix involves binding the two locations of the audio_effects.xml which on the OP9 pro is located /odm/etc and vendor/etc. On the OP10 pro they are located in odm/etc and vendor/odm/etc. I've tried changing the location to accommodate this, but no luck. I've been lurking and asked in the v4a telegram group trying to see if anyone with the 10 pro has got it to work, but it doesn't seem like it.
Click to expand...
Click to collapse
After looking into it more I've come to the conclusion that both directories are the same on the OnePlus 10 pro. /odm/etc & /vendor/odm/etc is the same exact directory. So trying to apply the "mount -o bind /vendor/etc/audio_effects.xml /odm/etc/audio_effects.xml" fix won't do much for us in this case even if we add the "odm"(example: /vendor/odm/etc) because it's the same directory. I've found that audio_effects.xml exists in the following locations(refer to attachment).

Magisk: init user 0 failed (merlin)

Hello everyone! I've successfully installed Pixel Experience 13 (PixelExperience_merlinx-13.0-20221113-1311-OFFICIAL) on my Redmi Note 9 merlin device and everything was great until I installed magisk, it asked me to reboot for extended setup and then I got thrown in TWRP recovery with nothing but: "init user 0 failed".
I took a screenshot of manager logs before rebooting and it looked like the screenshot I attached.
I couldn't try anything since I did this late at night and I had school and needed my phone. I had to reflash PEX.
This is the most information I can provide.
If someone could help me I would really appreciate it!
I forgot to include the screenshot here it is:

Categories

Resources