Question Mount as R/W partition - Realme GT 2 Pro

Hello everyone,
I have a rooted RMX3301 and i was hoping to find a way to mount system as R/W because root only doesn't satisfy my needs of modifying the phone, any help will be appreciated.

I don't recommend you to set R/W to partition system, it isn't secure.
Other than that, you have to disable encryption to constantly read and write.

Related

[Q] Application/Data partition resize?

Hi.
I've rooted my A70s with chulri's kernel and it seems to work ok.
My next goal is to get more app room ... so I guess I need to resize the app/data partition.
I've thought that having my internal storage formatted on ext4, it would be possible to ln the /data folder to /storage/data without problems, but then I should create a boot script for that. The question is... can I do this with my current root status? What would be the way to do it? I'm don't know enough of linux os to make it on my own.
If the system can't be fooled with a ln, then is there any way to resize the data partition, even if I have to backup/restore my current data?
I don't want to use Urukdroid, since all the versions I tried were very unstable on my machine.
Cheers!!
search the forum: http://forum.xda-developers.com/showthread.php?p=14710945#post14710945
Follow chulri's method, or repartition your internal storage in Linux, mount it on the archos, and copy the data there. Then edit init.rc and change the data mount line. If it gets mounted in the kernel, you'll have to umount it first to remount it to the other partition.

Internal memory access during recovery (backup purposes)

I'm trying to access my phone from recovery mode (as a practice before I'm doing it on someone elses phone to backup hers up, as her system is stuck in a bootloop or something im unaware of yet),
I figured I should use recovery mode to access my phone because she can access that mode too.
Differences:
I'm rooted and on 4.2.2 leak, using cwm recovery.
Hers probably is official 4.1.2 or somesort of ics.
The issues im having right now are:
I managed to get connected to the phone through ADB, although, nor /sdcard /sdcard1 /data/media /emmc folders appear to contain any file, i tried to mount up /dev/block/mmcblk0p1 to /mnt but the output:
Code:
~ # mount /dev/block/mmcblk0p1 /mnt
mount /dev/block/mmcblk0p1 /mnt
mount: mounting /dev/block/mmcblk0p1 on /mnt failed: I/O error
not even mentioning that probably the above part will be impossible on her phone since it'll need to be rooted.
and in that scenario, even if her phone is "semi bricked", could i flash root to it and continue to treat it likewise even though its on its state?
I'm also 90% sure that she havn't enabled usb debugging, so I'm actually doomed.
And, is there a better way to recover the data? (even after a factory reset)
I'm sort of a linux newbie, so I can understand some stuff, and if I dont, I usually search and study it up, so feel free to write any-level stuff at me.
Much appreciated for the help,
Ron
EDIT:
About the mount part, apparently the correct mount point is located at /dev/block/mmcblk0p12
Yet again, I'm sure I wont be able to access it during her connection, so... any tips?
1) you don't need root. You need a custom kernel. Root is within android only
2) you don't need usb debugging. This is required within android only
3) if its an s3, "mount /data/media"
4) you can mount data via custom recovery too
Have a read of general > sticky roll-up thread > s3 storage data recovery
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit

Problem with sdcard backup

Hi!
I wanted to reformat my internal sdcard to ext4 today to enable trimming (it should also help the /data partition, because it is on the same physical flash storage, right?).
To back up my data I thought about packing everything into a TAR archive to also save all permissions (for example of the ./Android/data/ folder). But now I have the following problem:
if I browse through /storage/sdcard0, I see all the permissions and the correct owners, but I dont have access to .android_secure. I am using a adb root shell, how can I not have access to this?!
if I browse through /mnt/media_rw/sdcard0, I have access to .android_secure, but all the file owners are set to "media_rw", which is not what I want to backup, I need the correct owner info to correctly restore the data later.
Could you please help me to answer these questions?:
As I understand, FAT doesnt support permissions, so how does android emulate the permissions in the ./Android/data folder?
How can I see the same folder (my internal sdcard) with different file owners? Is it mounted twice with special options?
How can I backup my whole sdcard (with owner/group info & permissions & file access dates) to restore everything 1:1 after reformating to ext4?
How do I reformat my sdcard to ext4? (which block device comes after "mkfs.ext4"?)
Thank you very much!!
GridLockFour said:
Hi!
I wanted to reformat my internal sdcard to ext4 today to enable trimming (it should also help the /data partition, because it is on the same physical flash storage, right?).
To back up my data I thought about packing everything into a TAR archive to also save all permissions (for example of the ./Android/data/ folder). But now I have the following problem:
if I browse through /storage/sdcard0, I see all the permissions and the correct owners, but I dont have access to .android_secure. I am using a adb root shell, how can I not have access to this?!
if I browse through /mnt/media_rw/sdcard0, I have access to .android_secure, but all the file owners are set to "media_rw", which is not what I want to backup, I need the correct owner info to correctly restore the data later.
Could you please help me to answer these questions?:
As I understand, FAT doesnt support permissions, so how does android emulate the permissions in the ./Android/data folder?
How can I see the same folder (my internal sdcard) with different file owners? Is it mounted twice with special options?
How can I backup my whole sdcard (with owner/group info & permissions & file access dates) to restore everything 1:1 after reformating to ext4?
How do I reformat my sdcard to ext4? (which block device comes after "mkfs.ext4"?)
Thank you very much!!
Click to expand...
Click to collapse
I'm not sure the answer to some of that, but you don't need ext4 for trimming(EDIT: although I don't know whether android enables trim on FAT) and /data is already ext4 by default. The /data partition is separate to /sdcard0
Most if not all gains from trimming would be made from trimming /system, /data, /cache, and /preload(if you use touchwiz based rom or stock)

write to /data via ADB without root?

Hi, i have a small question:
Do we have write access to /data with ADB and without root on our Moto360?
I would like to test some things but obviously we don't have root access yet.
I believe i have seen someone using a custom build.prop on the /data partition instead of /system partition years ago.
My goal is to "replace" the ro.ambient.low_bit_enabled=true line with a custom build.prop on the /data partition.
I believe this is possible, but i don't remember if i need root to write the /data partition.
Thanks in advance!

Questions About System Partition Filesystem Settings

Hi
I am running Stock OS (8.0) with Magisk and read-only system partition in order to be able to take OTA's.
The good thing is that i can install any Magisk module without worrying about breaking OTA.
The Problem comes with root access apps, for example ES File Explorer (ye...ye...i know, switching soon, bad habit ).
I checked the root explorer option and granted permission before thinking it through. Luckily the "/" and "/system" partitions
stay read-only per default, so they haven't been mounted R/W, but certain folders in "/system" were mounted as R/W.
The questions now are following?
-Is my OTA broken?
-Will remounting everything as RO help?
-Is there a way to check if system has ever been mounted as R/W?
-How can check if an app asking for root will modify my system partition and break OTA?
Thanks!

Categories

Resources