He can't edit partitions which are mounted and used.
Hi! I'm thinking about installing Ivan's 5.1.1 AOSP and a couple questions came to my mind: can I remove system1? I mean, not giving it the minimum size possible, but removing it completely (which will cause partition numbers to change).
What about cache? Is it really used by Play Store to download apks?
Can you link it to me, please? I already repartitioned my phone to increase userdata size following this guide, so I was going to merge partitions this way, manually. I'd really like to enable TDB or to remove system1 completely.Yes, there is a guide by m1cha for do that and also install G4A
Can you link it to me, please? I already repartitioned my phone to increase userdata size following this guide, so I was going to merge partitions this way, manually. I'd really like to enable TDB or to remove system1 completely.
Hi! Keep in mind that this is an intermediate procedure, in terms of difficulty. You don't need to be a developer (I'm not), but at least a power user. If you don't know what CWM or ADB is, there is a non-zero risk you could end up bricking your phone.
CWM is not an app you install on your phone, it's a recovery ROM. If you turn your phone off, and then turn it back on by pressing Power + Volume Up, you'll see a black screen with orange writings and shapes. That is Xiaomi's default recovery. It allows you to delete all user data (apps and their saved files, settings and such) restoring your phone to "factory settings", and to flash a newer version of the same ROM you already have, if it is placed in your /storage partition and named "update.zip". What you need to do is replace that with a more advanced recovery (CWM or, better, TWRP) which will allow you to perform more advanced actions. A recovery serves to modify your phone in various ways bypassing your operating system. This will allow you to do radical procedures not permitted to the average user by Android, and to replace the system, which obviously can't be done while it's running.
ADB, Android Debug Bridge, allows you to act on the flash memory of your phone using your computer. This will be possible even in the most critical situation. Generally speaking, unless your phone is physically damaged you should be able to restore it in some way via ADB. Basically, with ADB your phone, connected via USB, will act as a mass storage device, without MTP or anything. You will access your eMMC directly by mounting its partitions. The software "parted", used in GNU/Linux systems as well, can modify the partition table of any accessible drive. Keep in mind that this will make you lose any last bit of data you have on your phone so, even if everything goes smooth, you need to back everything up on an external drive first.
adb shell "su -c 'chmod +x %path'"
We use essential cookies to make this site work, and optional cookies to enhance your experience. Cookies are also used for ads personalisation