Question Changes applied to /system get lost after rebooting the device - Xiaomi Poco X3 Pro

I have a rooted device Xiaomi Poco X3 Pro.
I am copying the the file to /system/bin.
The file stays only until I reboot device. The same with TWRP recovery.
What's the correct way to solve this problem?
What I figured out so far the path /system/bin is using tmpfs system. This would explain why changes do not stay. How can I modify it?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

fastman92 said:
I have a rooted device Xiaomi Poco X3 Pro.
I am copying the the file to /system/bin.
The file stays only until I reboot device. The same with TWRP recovery.
What's the correct way to solve this problem?
What I figured out so far the path /system/bin is using tmpfs system. This would explain why changes do not stay. How can I modify it?
View attachment 5440407
Click to expand...
Click to collapse
[GUIDE] How to make your System RW / Super R/W read/write-able
Welcome to the one and only, the original, universal SystemRW / SuperRW feat. MakeRW / ro2rw by lebigmac This script removes the read-only lock of all partitions embedded in the super partition of your stock firmware. This allows you to mount...
forum.xda-developers.com

Thanks, I may try it later.
I have read about the system-on-root.
Because the file should be copied by other users as well and executed it will make better sense to put this file under /data instead.

Related

(Tutorial) IMEI backup and restore

/EFS partition contains a lot of information about your phone, f.e: wifi/bt mac address and your IMEI (nv_data.bin).
It's highly recommended to backup the whole partition, or at least copy the files from the efs directory.
CORRUPTED OR NOT?
You can check if the efs is mounted or completly damaged with this command:
adb shell
mount
You will see something like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Red part means /efs is mounted.
IF YOUR PHONE HAVE CORRECT EFS PARTITION:
1, Root your phone - there are several methods to do this.
2, Install root explorer or Estrongs file explorer and copy /efs dir to your sdcard - this will copy the files.
or
2, Make a backup from the whole partition -this is better if you flash a phone with wrong ops, the only way to restore using this backup.
Backup:
adb shell
su
dd if=/dev/block/stl4 of=/sdcard/efs.rfs
Restore:
Add efs.rfs to and unix compatible tar and flash with odin as efs file:
IF YOUR PHONE /EFS IS CORRUPTED:
Flash the included /efs tar with odin:
This will remount your efs partition and (if you have a backup or fixed nv_data.bin) you just need to overwrite files with a file explorer.
what is the point to copy the other thread?
http://forum.xda-developers.com/showthread.php?t=888193

fixing permission ext_sdcard sense 5.5 android 4.3

I'm looking for the solution to this problem in android 4.3, when using applications how; foldermount, gl to sd or other similar donĀ“t work, receipt notification: problem fixing external sdcard ownership, I tried some solutions like editing platform.xml but without results
I would like to contribute some ideas to try to solve the problem, thanks :good:
___________________________________________________________________________________________
Solution:
that is what is needed
-Phone Rooted
-Busybox (from google play)
-xpose installer http://forum.xda-developers.com/showthread.php?t=1574401
-es file explorer apk (from google play)
Inst:
- go to xpose installer / Framework / install/update and reboot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-es file explorer, go to menu / menu root explorer / mount R/W, change all path to RW, reboot phone
now you can rw on system, use folder mount or gl to sd for move the game to extsd card :good:
tested on odex rom, in boa rom, work fine :laugh:
HTC ONE MAX question.....
I now ask android 4.3 is not impossible to use this method?
I want to use this software to Gl to sd move my internal space of the data packets to the external space,
But I use your method does not work,
Phone model I use for HTC ONE MAX,
android system is the sense 5.5 android 4.3.

[SOLVED] Mount System partition with write permissions on Android 10?

I am trying to mount my System partition with write partitions on my Google Pixel (fully rooted with Magisk).
I have tried the following commands:
$ su
# mount -wo remount /
and I got the error
Code:
'/dev/root' is read-only
I also tried:
$ su
# mount -wo remount /system
And I got the error:
Code:
'/system' not in /proc/mounts
Also after flashing things in TWRP I get failed to mount /system
And failed to mount /vendor
Is there any way I can remount the partition with write permissions?
If not is there a Magisk module that can edit it Systemlessly?
EDIT: I've done some research and I found out that you can't mount the partition as rw so to edit the files you have to make a Magisk module that replaces the files with the modded versions.
Here is the solution to your problem my friends. Enjoy!
Works like a charm in Android 10 and later. Now my system, vendor and product partitions are read-write!
Use at your own risk!
https://forum.xda-developers.com/t/script-mount-system-as-read-write-android-10.4240703/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
lebigmac said:
Here is the solution to your problem my friends. Enjoy!
Works like a charm in Android 10 and later. Now my system, vendor and product partitions are read-write!
Use at your own risk!
https://forum.xda-developers.com/t/script-mount-system-as-read-write-android-10.4240703/
Click to expand...
Click to collapse
while trying to flash your zip , I'm getting an error. I have Redmi k20 pro with Corvus Android v11 flashed. But it worked for many others...
@warhawk971 I just responded to you in the project thread. Please try installing it manually and report back any errors. Thanks!
lebigmac said:
@warhawk971 I just responded to you in the project thread. Please try installing it manually and report back any errors. Thanks!
Click to expand...
Click to collapse
Thanks. I'll report you further...

Did someone successfully mount system as r/w ?

I tried to install Micro-g and still can't figure out if is it possible to mount system as read-write on OxygenOs 10. Standart command to do this
Code:
mount -o rw,remount /system
and many others from internet dont work. Is it possible to do this on OxygenOs 10?
Odalric said:
I tried to install Micro-g and still can't figure out if is it possible to mount system as read-write on OxygenOs 10. Standart command to do this
Code:
mount -o rw,remount /system
and many others from internet dont work. Is it possible to do this on OxygenOs 10?
Click to expand...
Click to collapse
No, OOS is read only. I gave up and installed PixelExperince 10.0 , removed all google stuff, installed microg, patched services.jar and all set .
Here is the solution to your problem my friends. Enjoy!
Works like a charm in Android 10 and later. Now my system, vendor and product partitions are read-write!
Use at your own risk!
https://forum.xda-developers.com/t/script-mount-system-as-read-write-android-10.4240703/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
While the above might work, you don't need to extract the whole super partitions. You can do it manually on whatever partition you wish.
Make Dynamic Partition Read/Write (github.com)
@Lossyx that's interesting thanks for the feedback. Yes you're right it should be possible to do the whole process directly on the device without having to pull the whole super.img first. But it shouldn't really matter if you do it with the help of your computer or directly on the device itself.
However people decide to do it, what's important is that the Android 10+ users get write access to all their partitions again so we can customize our device to fit our needs and remove all that bloatware and then some.

I have ROOT, but I am not allowed to read and write to the system folder.

Does anyone know how do I get read and write access to the system folder?
*BOOTLOADER UNLOCKED OK
*TWRP OK
*MAGISK OK
*ROOT OK
*APPS PERMISSION (STORAGE) OK
Stock MIUI Global (QJGEUXM) v12.0.8 Stable
Apps like "Uninstaller" and "Titanium Backup" don't work normally.
I unlocked the bootloader, installed TRWP and installed Magisk.zip with TWRP.
I did just that. Is there anything else I forgot?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
you and what army? check your PM
It looks like you forgot to run my new script. It makes your system read write able like in the good old days before this systemless hype.
PandaEuropeu said:
Does anyone know how do I get read and write access to the system folder?
*BOOTLOADER UNLOCKED OK
*TWRP OK
*MAGISK OK
*ROOT OK
*APPS PERMISSION (STORAGE) OK
Stock MIUI Global (QJGEUXM) v12.0.8 Stable
Apps like "Uninstaller" and "Titanium Backup" don't work normally.
I unlocked the bootloader, installed TRWP and installed Magisk.zip with TWRP.
I did just that. Is there anything else I forgot?
View attachment 5254365
Click to expand...
Click to collapse
Here the same problem ...

Categories

Resources