Question Disappeared memory expansion function after root access - OnePlus 9 Pro

Upgraded from C.47 to C.60. The memory expansion function appeared. After getting root access through the patched boot, the function disappeared. Has anyone encountered something like this? Have you found a solution to this problem?

Mi Bodya said:
Upgraded from C.47 to C.60. The memory expansion function appeared. After getting root access through the patched boot, the function disappeared. Has anyone encountered something like this? Have you found a solution to this problem?
Click to expand...
Click to collapse
There is no workaround for this. If you're rooted, RAM expansion is gone. Also, if you have a device with at least 8Gb+ RAM, there are zero reasons to use the RAM expansion.

If you try to find this item through the search, then opening it you can see the message "not enough memory to enable this function"

Mi Bodya said:
View attachment 5629613View attachment 5629615If you try to find this item through the search, then opening it you can see the message "not enough memory to enable this function"
Click to expand...
Click to collapse
Have you found the solution?

handydandy said:
Have you found the solutio
Click to expand...
Click to collapse
No

Taken from telegram;
As we all know, after oos13 and 12 get Magisk on mobile phones, the memory expansion disappears and can't be used.
Then the solution is to enter in the terminal emulator:
su
Then enter:
resetprop persist.sys.oplus.nandswap.condition true
And then enter:
echo 1 >/sys/block/zram0/hybridswap_dev_life
Then the phone has to be restarted twice for it to take effect.
You could also make a module with a service.sh file
```
#!/system/bin/sh
# Do NOT assume where your module will be located.
# ALWAYS use $MODDIR if you need to know where this script
# and module is placed.
# This will make sure your module will still work
# if Magisk change its mount point in the future
resetprop persist.sys.oplus.nandswap.condition true
echo 1 >/sys/block/zram0/hybridswap_dev_life
# This script will be executed in late_start service mode
```

install this module and thanks me later

yassine2217 said:
instale este modulo y me agradece mas tarde
Click to expand...
Click to collapse
Perfect, thanks.

yassine2217 said:
install this module and thanks me later
Click to expand...
Click to collapse
Noz working on oos 13 f72 (the tab ram extension is no longer found at all)

ChrisFeiveel84 said:
Noz working on oos 13 f72 (the tab ram extension is no longer found at all)
Click to expand...
Click to collapse
using coloros work perfectly

yassine2217 said:
using coloros work perfectly
Click to expand...
Click to collapse
Never coloros! (For china market )

ChrisFeiveel84 said:
Never coloros! (For china market )
Click to expand...
Click to collapse

I'm not concerned with playstore, I'm concerned with the restrictions that coloros has (e.g. how many apps can be set in the auto start,) that coloros does not speak German, and that coloros does not comply with the data protection laws applicable in the eu holds . and some more
.......

co4 said:
Taken from telegram;
As we all know, after oos13 and 12 get Magisk on mobile phones, the memory expansion disappears and can't be used.
Then the solution is to enter in the terminal emulator:
su
Then enter:
resetprop persist.sys.oplus.nandswap.condition true
And then enter:
echo 1 >/sys/block/zram0/hybridswap_dev_life
Then the phone has to be restarted twice for it to take effect.
You could also make a module with a service.sh file
```
#!/system/bin/sh
# Do NOT assume where your module will be located.
# ALWAYS use $MODDIR if you need to know where this script
# and module is placed.
# This will make sure your module will still work
# if Magisk change its mount point in the future
resetprop persist.sys.oplus.nandswap.condition true
echo 1 >/sys/block/zram0/hybridswap_dev_life
# This script will be executed in late_start service mode
```
Click to expand...
Click to collapse
Any solution for us non-rooted phones?

yassine2217 said:
install this module and thanks me later
Click to expand...
Click to collapse
Are you sure you made it correctly like it works when flashing the ram extension pops up but upon reboot I lose it till I flash module again. I think the module doesn't send the command each boot but only when installing . Is that right Yassine? How do I fix this.

cbomb1337 said:
Are you sure you made it correctly like it works when flashing the ram extension pops up but upon reboot I lose it till I flash module again. I think the module doesn't send the command each boot but only when installing . Is that right Yassine? How do I fix this.
Click to expand...
Click to collapse
I didn't say I made it, i just suggested the module because I know it works, as I used it in my Coloros 13.

Oh wait all good I just put the code in 3c tool boxes scripter section and set it to boot using that. And removed module and rebooted with it active in scripter and it worked so all good thanks to .

Related

[SCRIPT][17.04.22][v1.2.0] MIUI Power Menu Patcher - add recovery & fastboot reboot

[SCRIPT][17.04.22][v1.2.0] MIUI Power Menu Patcher - add recovery & fastboot reboot
This patch your system to have got recovery & fastboot reboot from power menu.
Download latest release
Changelog
-Added visual menu
-Added function to restore backups
-Added ability to supply environment directory as argument with `-d <dir>`
-Added a lot of code improvements
-Fixed correct build number in backup folder
-Fixed some Busybox issues
Thanks to @DarthJabba9 for all the work of this update.
All releases and changelogs
Source code on Github
How-To
This script is to use from Android, need a terminal app as Terminal Emulator for example and a rooted device. Tested in Redmi Note 2 with Xiaomi EU & MultiROM
Run from terminal this
Code:
su
sh DIR/miui-powermenu-patcher.sh
Change "DIR" to the location where is the script.
Pro tip: move the script to /data and rename to mpp for example to have easy access from terminal.
Example (click image)
Patch sh no such, following dir change it, any solution?
Sent from my Redmi Note 2 using Tapatalk
if i move file to /data so what command..still DIR?
rockadz9 said:
View attachment 4095317
Patch sh no such, following dir change it, any solution?
Sent from my Redmi Note 2 using Tapatalk
Click to expand...
Click to collapse
The problem is that tail search for $0 variable and in your case is miuipm.sh, so as in the script the current directory is changed and the script isn't in it, occurs that.
Thanks for report it, I will fix it. ATM run as: sh $(pwd)/miuipm.sh
harizamzi said:
if i move file to /data so what command..still DIR?
Click to expand...
Click to collapse
Run from terminal this
Code:
su
sh DIR/miui-powermenu-patcher.sh
Change "DIR" to the location where is the script.
Click to expand...
Click to collapse
Please read...
Updated to v1.1.1
Deic said:
The problem is that tail search for $0 variable and in your case is miuipm.sh, so as in the script the current directory is changed and the script isn't in it, occurs that.
Thanks for report it, I will fix it. ATM run as: sh $(pwd)/miuipm.sh
Please read...
Click to expand...
Click to collapse
Yes mate my ROM 7.3.23 xiaomi.eu, this file change name & directory same problem. (Miui-powermenu-patcher.sh =old version / mpp.sh =new version)
Any solution?
Sent from my Redmi Note 2 using Tapatalk
rockadz9 said:
Yes mate my ROM 7.3.23 xiaomi.eu, this file change name & directory same problem. (Miui-powermenu-patcher.sh =old version / mpp.sh =new version)View attachment 4096809
Any solution?
Sent from my Redmi Note 2 using Tapatalk
Click to expand...
Click to collapse
Did you try run as "sh /data/mpp.sh" (add "/" before "data") or "cd /data" and after "sh mmp.sh"?
Deic said:
Did you try run as "sh /data/mpp.sh" (add "/" before "data") or "cd /data" and after "sh mmp.sh"?
Click to expand...
Click to collapse
I try run as "sh data/mpp.sh" and run as "sh /data/mpp.sh"
Sent from my Redmi Note 2 using Tapatalk
rockadz9 said:
I try run as "sh data/mpp.sh" and run as "sh /data/mpp.sh"
Sent from my Redmi Note 2 using Tapatalk
Click to expand...
Click to collapse
and the result is the same? that is strange... what is your busybox version? and you can provide miui-powermenu-patcher.log under /data/miui-powermenu-patcher folder? looks like you have not got proper unzip busybox built-in command...
@Deic There seem to be 2 problems:
1. wget.zip - it seems that it does not get decoded properly with base64; in any case, the error log shows that it cannot be unzipped
2. The call to patch.sh - you might want to provide the full pathname
Edit: I think the wget problem is that the zip file is corrupt - probably a result of a wrong START_LINE
DarthJabba9 said:
@Deic There seem to be 2 problems:
1. wget.zip - it seems that it does not get decoded properly with base64; in any case, the error log shows that it cannot be unzipped
2. The call to patch.sh - you might want to provide the full pathname
Edit: I think the wget problem is that the zip file is corrupt - probably a result of a wrong START_LINE
Click to expand...
Click to collapse
The START_LINE is good in all versions released, I tested before of release them and all is fine... And the output of no patch.sh is because, no wget = no patch.sh. I will wait to @rockadz9 to see what is the issue, I maybe due to bad unzip or that seems.
Deic said:
and the result is the same? that is strange... what is your busybox version? and you can provide miui-powermenu-patcher.log under /data/miui-powermenu-patcher folder? looks like you have not got proper unzip busybox built-in command...
Click to expand...
Click to collapse
Yes results is the same, version Busybox1.26-2_arm64. and patch log attch
Sent from my Redmi Note 2 using Tapatalk
@rockadz9 Open the script file with a text editor, and add these lines near the top of the file
Code:
alias basename="busybox basename"
alias dirname="busybox dirname"
alias tail="busybox tail"
alias base64="busybox base64"
alias unzip="busybox unzip"
alias sed="busybox sed"
alias awk="busybox awk"
Then add 7 to the value of START_LINE, save the file, and run the script again.
1.2.0 released!
All the nice stuff of this update is thanks to @DarthJabba9, I did almost nothing.
Go to OP to download!
It's work for me, first one i run as 'sh data/mpp.sh and i got message no such....
and second time i run as 'sh /data/mpp.sh its work fine. thx bro
I'm trying to get this to work on stable EU version 7.0.6. After running the script the menu can be displayed but only the reboot option works. Both the fastboot and recovery cause the screen to become blurred and nothing happens. Pressing the back button clears the screen and I'm back at the point prior to pressing the power button. I've attached the script log. Can anyone tell me what's wrong ?
Cannot show text bellow addition icon
MIUI 9 7.9.7 global dev
worked great
thanks a lot

any way to bypass "5Ghz not available in this country" hotspot setup ?

Since january 8.1 update i no longer able to create a wireless hotspot using 5Ghz band,
Saying that its not available in my country,
The option for 5Ghz still there though, only it (tethering) cant be toggled on if i choose 5Ghz
What a *bs* by google, a lot of AP i my country use 5Ghz just fine
Any idea how to get through this limitation ? In december patch it work btw
otonieru said:
Since january 8.1 update i no longer able to create a wireless hotspot using 5Ghz band,
Saying that its not available in my country,
The option for 5Ghz still there though, only it (tethering) cant be toggled on if i choose 5Ghz
What a *bs* by google, a lot of AP i my country use 5Ghz just fine
Any idea how to get through this limitation ? In december patch it work btw
Click to expand...
Click to collapse
I know it *was* working just fine on Telkomsel, Pak ...and I see you are on Telkomsel. Maybe try the build.prop mod people are using to bypass tethering restrictions. Couldn't hurt to try it. Semoga beruntung!
v12xke said:
I know it *was* working just fine on Telkomsel, Pak ...and I see you are on Telkomsel. Maybe try the build.prop mod people are using to bypass tethering restrictions. Couldn't hurt to try it. Semoga beruntung!
Click to expand...
Click to collapse
Yes, thank you pak for the heads up,
Benar benar lupa ada modif itu, since last time i need that kind of mod is back in htc one M7 era
Sudah berhasil skrg aktifkan 5Ghz
Just in case butuh juga, ini saya ada buat module magisknya, supaya tidak usah edit build.prop manual. Resiko kena SN. Nanti e-money isi ulang mandiri ga jalan. Hahaha
Still need to manually do "settings put global tether_dun_required 0" from adb shell or terminal though (one time only)
Forget to attach the module
otonieru said:
Forget to attach the module
Click to expand...
Click to collapse
What is it? Is it something in the Build_Prop that I can edit? I'm trying not to break systemless root so I've installed everything via Magistk.
Aircraft800 said:
What is it? Is it something in the Build_Prop that I can edit? I'm trying not to break systemless root so I've installed everything via Magistk.
Click to expand...
Click to collapse
No, thats a magisk module.
otonieru said:
No, thats a magisk module.
Click to expand...
Click to collapse
Do you know if there is an updated Magisk module? I flashed the one you posted, no luck for me.
Aircraft800 said:
Do you know if there is an updated Magisk module? I flashed the one you posted, no luck for me.
Click to expand...
Click to collapse
After installing the module, you still need to run this command from terminal :
"settings put global tether_dun_required 0"
Sorry to dig out this old thread.
Were do i have time write this command?
Tried it in twrp. It said there is no command like this.
edit:
i receive this message:
Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:1798)
at com.android.providers.settings.SettingsProvider.mutateGlobalSetting(SettingsProvider.java:979)
at com.android.providers.settings.SettingsProvider.insertGlobalSetting(SettingsProvider.java:953)
at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:359)
at android.content.ContentProvider$Transport.call(Unknown Source:12)
at com.android.providers.settings.SettingsService$MyShellCommand.putForUser(SettingsService.java:387)
at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:285)
at android.os.ShellCommand.exec(Unknown Source:35)
at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:51)
at android.os.Binder.shellCommand(Unknown Source:0)
at android.os.Binder.onTransact(Unknown Source:111)
at android.os.Binder.execTransact(Unknown Source:51)
ermission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
any idea whats wrong here?
schlubbi said:
Sorry to dig out this old thread.
Were do i have time write this command?
Tried it in twrp. It said there is no command like this.
edit:
i receive this message:
Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:1798)
at com.android.providers.settings.SettingsProvider.mutateGlobalSetting(SettingsProvider.java:979)
at com.android.providers.settings.SettingsProvider.insertGlobalSetting(SettingsProvider.java:953)
at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:359)
at android.content.ContentProvider$Transport.call(Unknown Source:12)
at com.android.providers.settings.SettingsService$MyShellCommand.putForUser(SettingsService.java:387)
at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:285)
at android.os.ShellCommand.exec(Unknown Source:35)
at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:51)
at android.os.Binder.shellCommand(Unknown Source:0)
at android.os.Binder.onTransact(Unknown Source:111)
at android.os.Binder.execTransact(Unknown Source:51)
ermission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
any idea whats wrong here?
Click to expand...
Click to collapse
You need to do it from terminal emulator after boot into system
Don't forget to type "su" first to grant superuser,
Else, you will face permission denied error like above
otonieru said:
You need to do it from terminal emulator after boot into system
Don't forget to type "su" first to grant superuser,
Else, you will face permission denied error like above
Click to expand...
Click to collapse
I downloaded a emulator from playstore and also tried it from cmd in Windows
wrote:
su settings put global tether_dun_required 0
i also tried:
su
settings put global tether_dun_required 0
and nothing happend.
5ghz hotspot is still not working and i still cant use my MiMover to send data from my MiNote 2 to my Mi8 Pro.

Android 10 Rooted Can't Edit build.prop

So, grabbed the latest OTA, and went through the usual re-root cycle, but was unable to edit the build.prop. While /root is mountable, /root/system is not, which means no tethering for me.
Anyone else running into the same issue?
I have the same issue, I've been fighting with it all day.
I patched the boot.img with Magisk Manager and flashed it, Magisk Manager show's I'm installed and Root Checker says I'm rooted, I was even able to install Adaway. But i cannot use any root app that needs to mount /System
I tried using Root Uninstaller and it says it has root access but cannot mount /system as R/W
It seems Magisk is only able to partially root on Android 10
I tried this with the Canary version and the standard version of Magisk and the same issue both times
Same issue on regular pixel:
sailfish:/ # mount -o remount,rw /system
'/dev/block/sda33' is read-only
lame
bbarnes1 said:
Same issue on regular pixel:
sailfish:/ # mount -o remount,rw /system
'/dev/block/sda33' is read-only
lame
Click to expand...
Click to collapse
if all you want to do is edit a prop in build.prop, just use the Magisk module MagiskHidePropsConfig....works like a charm (at least it did on Android 9 - assume it would work on 10....it sounded like it worked on the betas)....
https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228
This has been a problem since the Q beta came out, with each update I tried to figure something out. With no luck! I tried the Magisk Mod but it didn't seem to work.
suggestions would be most appreciated!!
Thinkin about a clean install....maybe.....
Edit: It was also a problem with the P beta until it was out of beta (That was my hope for this)
sb1893 said:
if all you want to do is edit a prop in build.prop, just use the Magisk module MagiskHidePropsConfig....
Click to expand...
Click to collapse
I'm trying to add a prop, which seems like a different need, but will look into it.
tufyuma said:
Thinkin about a clean install....maybe.....
Click to expand...
Click to collapse
Was thinking about this, but realized a clean install for every update isn't worth a hotspot to me.
sb1893 said:
if all you want to do is edit a prop in build.prop, just use the Magisk module MagiskHidePropsConfig....works like a charm (at least it did on Android 9 - assume it would work on 10....it sounded like it worked on the betas)....
https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228
Click to expand...
Click to collapse
I gave this a whirl, its doesn't appear to actually be change build.prop
bbarnes1 said:
I gave this a whirl, its doesn't appear to actually be change build.prop
Click to expand...
Click to collapse
It doesn't physically change anything in system. The intent is to offer the same functionality as physically editing the build.prop without modifying that file. It creates the prop and value setting and loads into into memory at boot time.....(similar to the way the build.prop file is read at boot time for those settings.) At least that is my understanding. It works for me on Android 9 for setting the prop for tethering...for example. You can confirm it works by using the getprop command to verify the prop you set is set as you intended.
Welp, still can't mount /system or edit the file directly, but PropsConfig seems to be good enough for my needs.
somethingsomethingroot said:
Welp, still can't mount /system or edit the file directly, but PropsConfig seems to be good enough for my needs.
Click to expand...
Click to collapse
Can you tell me what the process is that got you tethering capability?
Having the same issue on my P2XL which was upgraded via flash of full image minus -w. Using latest canary build of Magisk. I couldn't mount system or anything under it.
I then downgraded Magisk to v19.3 and had no issues mounting system using FX File Explorer, etc. and still had root. But I couldn't mount anything under system so I still can't edit build.prop.
For those who are just trying to find a way to get hotspot working (via build.prop edit), try this...worked for me on a dirty upgrade (A9 -> A10 via full image flash without -w) + latest Magisk Canary:
https://forum.xda-developers.com/showpost.php?p=75238542&postcount=59
IlyaKol said:
For those who are just trying to find a way to get hotspot working (via build.prop edit), try this...worked for me on a dirty upgrade (A9 -> A10 via full image flash without -w) + latest Magisk Canary:
https://forum.xda-developers.com/showpost.php?p=75238542&postcount=59
Click to expand...
Click to collapse
Thanks for posting this, it worked great on my Pixel XL on Sprint. I had about given up on being able to edit the build.prop.
You no longer need the canary version of Magisk. Version 20.00 will rebuild your boot.img and if you load busybox and use a terminal type "props" and follow the onscreen menu. you can get your tethering back. My output:
Your prop
DebianDog said:
You no longer need the canary version of Magisk. Version 20.00 will rebuild your boot.img and if you load busybox and use a terminal type "props" and follow the onscreen menu. you can get your tethering back. My output:
Click to expand...
Click to collapse
Are you sure that your screenshot of the props output is correct? Because it looks like you have the value set to "net.tethering.noprovisioning" and the prop name has =true in it. I'm just trying to figure this out because I've tried this and everything else trying to get my hotspot to work. My hotspot will turn on and devices can connect to it, but they don't have internet access. Any ideas at all?
Edit: Nevermind, I had the custom prop set to post fs data when it was supposed to be set at boot stage (default). My hotspot is working now. Thank you all.
DebianDog said:
You no longer need the canary version of Magisk. Version 20.00 will rebuild your boot.img and if you load busybox and use a terminal type "props" and follow the onscreen menu. you can get your tethering back. My output:
Click to expand...
Click to collapse
Confirming that this works on rooted pixel 4. Thank you for this btw
IlyaKol said:
For those who are just trying to find a way to get hotspot working (via build.prop edit), try this...worked for me on a dirty upgrade (A9 -> A10 via full image flash without -w) + latest Magisk Canary:
https://forum.xda-developers.com/showpost.php?p=75238542&postcount=59
Click to expand...
Click to collapse
This seems to have worked for me, though I don't really understand why or what did it.
For any dummies like me that happen to fall on this post after their build.prop seems to fail to save. The link above to: https://forum.xda-developers.com/showpost.php?p=75238542&postcount=59 worked for me.
download
https://forum.xda-developers.com/attachment.php?attachmentid=4392434&d=1516234353
to the device > run TWRP
I have to run twrp from cmd line since my Pixel XL refuses to install it using command::
.... fastboot boot twrp.img
and installing the zip file above > rebooting
back to cmd line
> adb shell
> settings put global tether_dun_required 0
> reboot
swipe notifications bar and turn on hotspot and wamo she's kicking.
Thanks guys
I haven't been beating my head too hard this time around. Many thanks to the brains that are keeping the rest of us dummies excited to keep tinkering about with our androids!
wolvmarine said:
For any dummies like me that happen to fall on this post after their build.prop seems to fail to save. The link above to: https://forum.xda-developers.com/showpost.php?p=75238542&postcount=59 worked for me.
download
https://forum.xda-developers.com/attachment.php?attachmentid=4392434&d=1516234353
to the device > run TWRP
I have to run twrp from cmd line since my Pixel XL refuses to install it using command::
.... fastboot boot twrp.img
and installing the zip file above > rebooting
back to cmd line
> adb shell
> settings put global tether_dun_required 0
> reboot
swipe notifications bar and turn on hotspot and wamo she's kicking.
Thanks guys
I haven't been beating my head too hard this time around. Many thanks to the brains that are keeping the rest of us dummies excited to keep tinkering about with our androids!
Click to expand...
Click to collapse
Why need to turn on Hotspot for build.Prop editing? What's wamo?
truelies1 said:
Why need to turn on Hotspot for build.Prop editing? What's wamo?
Click to expand...
Click to collapse
Does anyone know a way to enable gestures on 3rd party launchers on stock rom

no signal - a2lite 4gb

Hi,
I did something wrong with my A2 Lite, i've updated the Magisk boot file from the Magisk app. Caused my phone to stop booting Android.
So i tried reflashing it with Mi Flash in EDL mode. That worked but i don't have any signal when i put a SIM in.
It shows my provider in settings so it recognizes the SIM but doesn't do anything with it.
Tried 10.0.13.0 manually and via Mi Flash = no signal
Tried 10.0.2.0 via Mi Flash = no signal
Loaded TWRP, switch A/B = no effect
Does anyone have a clue what i can do now?
Looks like the IMEI numbers are 0.
terrorsource said:
Looks like the IMEI numbers are 0.
Click to expand...
Click to collapse
I don't know how you got here, but it looks like some important stuff was overwritten.
The mobile network is probably blocking you due to the invalid IMEI...
This is typically something that is stored only in the phone's flash. I'm not sure you'll be able to recover the phone.
a1291762 said:
I don't know how you got here, but it looks like some important stuff was overwritten.
The mobile network is probably blocking you due to the invalid IMEI...
This is typically something that is stored only in the phone's flash. I'm not sure you'll be able to recover the phone.
Click to expand...
Click to collapse
Is it possible to write back the IMEI's if i have them?
terrorsource said:
Is it possible to write back the IMEI's if i have them?
Click to expand...
Click to collapse
It might be. In theory. You'd need to know the format of whatever was overwritten.
You can't rewrite the IMEI, I've have that issue before and I created a guide on how to fix it
https://forum.xda-developers.com/mi...-to-fix-efs-corruption-sim-card-t3928910/amp/
Enjoy ?
You can download the latest rom and install it (ignore the rom that's in the guide it is outdated, but the rest of the guide stays the same).
Noam5651 said:
You can't rewrite the IMEI, I've have that issue before and I created a guide on how to fix it
https://forum.xda-developers.com/mi...-to-fix-efs-corruption-sim-card-t3928910/amp/
Enjoy
You can download the latest rom and install it (ignore the rom that's in the guide it is outdated, but the rest of the guide stays the same).
Click to expand...
Click to collapse
Thanks, will check it out the next couple of days.
I do see some websites/youtube video's of people/apps claiming it is possible by re-writing the QCN file...
I do know where i made a mistake, i tried to manually install all files in an image folder, including flashing a not-so-good QCN file...
terrorsource said:
Thanks, will check it out the next couple of days.
I do see some websites/youtube video's of people/apps claiming it is possible by re-writing the QCN file...
I do know where i made a mistake, i tried to manually install all files in an image folder, including flashing a not-so-good QCN file...
Click to expand...
Click to collapse
https://forum.xda-developers.com/mi-a2-lite/how-to/sim-network-solution-alternatively-t3914161
if this doesn't work ,pm me
nikoman1987 said:
https://forum.xda-developers.com/mi-a2-lite/how-to/sim-network-solution-alternatively-t3914161
if this doesn't work ,pm me
Click to expand...
Click to collapse
Works partially!
I cannot install the latest "QPST_2.7.453" due to "Installation errors".
If i try "QPST_2.7.422" i can restore the created QCN but i cannot select "Enable Multi-SIM" and it only restores IMEI-1
nikoman1987 said:
https://forum.xda-developers.com/mi-a2-lite/how-to/sim-network-solution-alternatively-t3914161
if this doesn't work ,pm me
Click to expand...
Click to collapse
Works now! both IMEI's are now shown in the settings.
IMEI SV is still at 0 though.
Your manual needs some work though.
Latest QFI: https://androidmtk.com/download-qualcomm-flash-image-loader-qfil
Enable Multi-SIM is not in all versions. I've used v2.0.1.9
Restoring QCN with this version can take a while. DO NOT USE PC until done!
8. daisy_sprout:/ $ su
/system/bin/sh: su: not found
127|daisy_sprout:/ $ setprop sys.usb.config rndis,diag,adb
setprop: failed to set property 'sys.usb.config' to 'rndis,diag,adb'
16. is not "QPST.exe" but "QFIL.exe"
20. 21. 22. not needed. directly went to 23 from 19.
stopped at 27, rebooted phone, IMEI's are back. Did not proceed with the manual any further.
terrorsource said:
Works now! both IMEI's are now shown in the settings.
IMEI SV is still at 0 though.
Your manual needs some work though.
Latest QFI: https://androidmtk.com/download-qualcomm-flash-image-loader-qfil
Enable Multi-SIM is not in all versions. I've used v2.0.1.9
Restoring QCN with this version can take a while. DO NOT USE PC until done!
8. daisy_sprout:/ $ su
/system/bin/sh: su: not found
127|daisy_sprout:/ $ setprop sys.usb.config rndis,diag,adb
setprop: failed to set property 'sys.usb.config' to 'rndis,diag,adb'
16. is not "QPST.exe" but "QFIL.exe"
20. 21. 22. not needed. directly went to 23 from 19.
stopped at 27, rebooted phone, IMEI's are back. Did not proceed with the manual any further.
Click to expand...
Click to collapse
We'll I have never had an issue with losing my IMEI , the manual is not mine ,I'm glad that it worked!

[ROOT]Stock and Magisk patched boot images

Until TWRP is available for this device, root must be done by flashing patched boot image via fastboot. I'm still in the waiting period for the bootloader unlocking, but I prepared files in the meantime. Maybe someone will find them useful. Attached are stock boot and patched image with Magisk 21.1, EEA ROM version. Just unzip them and flash from fastboot.
Full version: V12.0.6.0.QJSEUXM_20201117
Edit: patched boot image reuploaded, the previous one didn't work (at least on my phone). This one has been tested and is working fine.
hello,
having the EEA version 12.0.6.0, as a boot patch can I immediately give the modded boot, in fastboot?
carabot said:
hello,
having the EEA version 12.0.6.0, as a boot patch can I immediately give the modded boot, in fastboot?
Click to expand...
Click to collapse
You can flash patched boot image directly, or just hotboot it (fastboot boot patched_image.img) and install Magisk from Magisk manager.
hello,
I did and at the moment everything is ok.
thanks
but there is a strange thing, Mixplorer, it does not change the permissions of the files, yet it has root permissions
I think the root is not perfect, I can't change the permissions of the files
carabot said:
I think the root is not perfect, I can't change the permissions of the files
Click to expand...
Click to collapse
Which files on which partition with what kind of permissions? RO partitions must be remounted as RW, but it's not always possible and using Magisk is usually a better and safer approach.
hello
let's talk about system partition files how can I remount as RO?
using Mixplorer, if I click comeback as RO, it tells me failed
carabot said:
hello
let's talk about system partition files how can I remount as RO?
using Mixplorer, if I click comeback as RO, it tells me failed
Click to expand...
Click to collapse
I keep my system partition RO so I can apply OTA updates, so I haven't tried it. You could try another app (for example Total commander), but you will be probably out of luck because of Android 10 limitation. Read more detailed explanation here https://android.stackexchange.com/q...m-partition-locked-to-read-only-in-android-10
I would suggest using Magisk module for system modifications.
hi
i tried other app manager like root explorer and es explorer, but the result is the same. i also installed magiskhideprops module, but my phone is not supported as fingerprint yet
What are you trying to achieve?
the terminal command to try to mount as RO would you know?
_mysiak_ said:
What are you trying to achieve?
Click to expand...
Click to collapse
full root to modify root files
carabot said:
full root to modify root files
Click to expand...
Click to collapse
I meant which files do you want to modify and why..
carabot said:
the terminal command to try to mount as RO would you know?
Click to expand...
Click to collapse
It's in the link above, along with explanation why it might be impossible to do.
I wanted to change the audio files regarding the volume, I wanted it a little higher
carabot said:
I wanted to change the audio files regarding the volume, I wanted it a little higher
Click to expand...
Click to collapse
Why don't you do it with a Magisk module? Once you install a module, you can edit it directly in /data/adb/modules folder.
i read android 10 problem, would you recommend me to mount with termux, installing vim?
_mysiak_ said:
Why don't you do it with a Magisk module? Once you install a module, you can edit it directly in /data/adb/modules folder.
Click to expand...
Click to collapse
i don't know about magisk modules that can affect volume controls
carabot said:
i don't know about magisk modules that can affect volume controls
Click to expand...
Click to collapse
If you know how to edit system mixer files, you should be able to build your own module (or adapt one of the existing ones). But of course it's up to you, I'm just offering a well known and working solution to your problem.
_mysiak_ said:
If you know how to edit system mixer files, you should be able to build your own module (or adapt one of the existing ones). But of course it's up to you, I'm just offering a well known and working solution to your problem.
Click to expand...
Click to collapse
unfortunately no, I edit the audio value of the system files, but I don't know how to build a module
Hello
the twrp for gauguin is online, to mount it i have to go back to the stock boot?

Categories

Resources