Anyone tried to re-partition a Redmi Note 4G Dior? - Redmi Note Q&A, Help & Troubleshooting

I was trying to install CM13 and Gapps Micro package on my Redmi Note 4G, but failed when install gapps. I found the root cause might be insufficient /system space, only 800M. I think I need a 1G /system to install CM13 and Micro package.
Has anyone tried to re-partition Redmi Note 4G yet?

Related

TWRP 3.0.

I have unlocked and rooted Mi Max Helium 64G MIUI global 8.0.3.0 with TWRP 3.0.2.0. I have no external SD-card, and want to backup ROM in internal memory. When backing up in TWRP, it shows failed and says unable to mount storage.
How to do that, please?

How To Root Redmi 3S Build Number 7.7.13?

How To Root Redmi 3S?
After Flashing TWRP & Disable The DM Verify It Is Booting Sucessfully...........
But
When Again After Installing The SuperSU
It Stuck On MI Logo
Flashed LazyFlasher Too
But It Is Not Working
If Some One Has Flashed 7.7.13 Build & Rooted Sucessfully & Install Xposed Installer Too.................
Please Help Me.........................................
Go to twrp and wipe catches and dalvic and repeat the process
rkjha said:
Go to twrp and wipe catches and dalvic and repeat the process
Click to expand...
Click to collapse
Will unlocking bootloader of Redmi 3S wipe the internal storage or not? Please reply as I don't want to get my internal storage and current state wiped.
harigat said:
Will unlocking bootloader of Redmi 3S wipe the internal storage or not? Please reply as I don't want to get my internal storage and current state wiped.
Click to expand...
Click to collapse
no it doesn't wipe internal as in official unlocking process

Any way to keep encryption but still mount data partition in TWRP?

Hi folks, I recently searched for some root guides for Asus Zenfone Max Pro M1 & noticed that all of them tell us to flash decrypt.zip & completely disable Android's automatic encryption feature. On my previous phone The Redmi Note 3, I was using a custom ROM named SlimROM because I wanted stock experience & whenever I wanted to mount the encrypted data partition in TWRP, all I had to do was enter the password in TWRP. But on Zenfone Max Pro M1, the unofficial TWRP that i installed refuses to mount the encrypted partition even if I input the right password. This means I'm forced to disable encryption altogether to flash stuff on data partition which was not the case on Redmi Note 3. Is there a recovery that can mount encrypted data partition with correct password? Also, is there a way to disable the "bootloader unlocked" warning? I remember my old motorola phone also had that warning but there was a hack on XDA I flashed to disable it, can't find something similar for Zenfone Max Pro M1
I don't think anyone has compiled a TWRP that can decrypt Android Pie; for some reason nobody thinks it's important to encrypt their phone. ¯\_(ツ)_/¯ For stock, a Taiwanese used to compile one with every ota that breaks decryption and upload to the MEGA folder here but he hasn't done so for the latest firmware .338 yet. I'd advise you stay with .337 if you need to decrypt your data in TWRP.

Lineage OS 16 unofficial for redmi 4a.

DISCLAIMER:
THIS IS AN INITIAL BUILD OF LineageOS 16 FOR Redmi 4A, WHICH MAY HAVE BUGS.
MAKE SURE TO BACKUP ALL DATA OF YOUR PHONE.
FLASH AT YOUR OWN RISK.
Installing a custom ROM may require an unlock bootloader on Redmi 4A, which may VOID your warranty and may delete all your data. Before proceeding further you may consider backup all data on the phone.
You are the only person doing changes to your phone; neither the developer nor I can be held responsible for the mistakes done by you.
Status of the Redmi 4A LineageOS 16 ROM:
WHAT’S WORKING:
– Almost everything
KNOWN ISSUES:
– SEPolicy is permissive
REQUIRED GUIDES AND DOWNLOADS TO INSTALL LineageOS 16 ON Redmi 4A:
Flashing LineageOS 16 on Redmi 4A for the first time:
Points to NOTE:
Try to avoid restoring apps backup using Titanium Backup. It may break things up.
Don’t restore system data using Titanium Backup! It will definitely break the current installation.
It is also discouraged to Restoring Apps + Data using Titanium Backup.
Download and Copy the Redmi 4A LineageOS 16 ROM and Android Pie GApps ZIP file to your phone.
Boot into the TWRP custom Recovery to install this LineageOS 16 on Redmi 4A.
– Make sure to have a Custom recovery like a TWRP recovery or any other custom recovery.
– Installing TWRP recovery requires an unlocked bootloader on Redmi 4A
Wipe the data partition (or do a factory reset), Cache partition, Dalvik Cache or ART cache and Format the System partition.
This will delete all your data on your phone. You may consider complete backup of your phone data or take a NANDROID backup of the current ROM
First flash the LineageOS 16 for Redmi 4A
Then install the Android Pie MindTheGapps for LineageOS 16 package.
Reboot and Enjoy the Android 9 Pie LineageOS 16 on Redmi 4A.
Upgrading from earlier version of LineageOS 16 on Redmi 4A (rolex):
Copy the latest ROM zip file of LineageOS 16 for Redmi 4A, LineageOS 16 GApps and/or Magisk ROOT package to the phone
Boot into Recovery.- Make sure you have a latest custom Recovery that should be able to flash the LineageOS 16 ROM update.
Format or wipe the system partition from the custom recovery menu.
Install the LineageOS 16 for Redmi 4A
– Gapps is built in such a way that it will sustain across ROM updates.
If you don’t have GApps after upgrading the LineageOS 16 on Redmi 4A, then flash the GApps.
– Here is a post explaining how to flash GApps using TWRP recovery.
If you don’t have ROOT after upgrading the LineageOS 16 on Redmi 4A, then flash the SuperSU or Magisk or the Lineage SU binary.
Once everything is done, reboot and Enjoy the LineageOS 16 on Redmi 4A.
Complete the initial setup and enjoy Android 9 Pie with LineageOS 16 on Redmi 4A.
Download Link -Lineage OS 16
https://sourceforge.net/projects/roms-for-xiaomi/files/
Where is source code?
wtf does redmi 4a have to do with Honor 9 lite forums?

Can't install any GApps at all *fixed, see my post page 2*

I've made a couple of mistakes, so I decided to reinstall the original firmware to reset everything and have a fresh start:
I want Android 11 with Google apps. I'm following this:
When installing MindTheGapps-11.0.0-arm-20220217_095902 or BiTGApps-arm-11.0.0-R20_signed.zip I'm getting:
Could not mount /mnt/system! Aborting
Updater process ended with ERROR: 1
When installing open_gapps-arm-11.0 pico or nano I'm getting:
"Error 10: failed to set-up open gapps pre-bundled busybox"
When I want to repair System it says:
/sbin/e2fsck -fp /dev/block/platform/msm_sdcc.1/by-
Unable to repair System.
I am kind of stuck here, but I will try some more things.
I'm using:
twrp-3.6.2-jflte-20220620
lineage-18.1-20220707-nightly-jfltexx-signed
S4 GT-I9505 said:
I've made a couple of mistakes, so I decided to reinstall the original firmware to reset everything and have a fresh start:
I want Android 11 with Google apps. I'm following this:
When installing MindTheGapps-11.0.0-arm-20220217_095902 or BiTGApps-arm-11.0.0-R20_signed.zip I'm getting:
Could not mount /mnt/system! Aborting
Updater process ended with ERROR: 1
When installing open_gapps-arm-11.0 pico or nano I'm getting:
"Error 10: failed to set-up open gapps pre-bundled busybox"
When I want to repair System it says:
/sbin/e2fsck -fp /dev/block/platform/msm_sdcc.1/by-
Unable to repair System.
I am kind of stuck here, but I will try some more things.
I'm using:
twrp-3.6.2-jflte-20220620
lineage-18.1-20220707-nightly-jfltexx-signed
Click to expand...
Click to collapse
Follow my clean installation guide in my S4 Unified Collection & Guides thread.
I just did that and I still get:
"Error 10: failed to set-up open gapps pre-bundled busybox"
Retrial said:
Follow my clean installation guide in my S4 Unified Collection & Guides thread.
Click to expand...
Click to collapse
Retrial said:
Follow my clean installation guide in my S4 Unified Collection & Guides thread.
Click to expand...
Click to collapse
I have followed your steps:
Select Wipe > Advanced Wipe
Select Dalvik / ART Cache, System, Data, Internal Storage, Cache and then Swipe to Wipe. [All your data into Internal Storage will be lost]
Go back and select Wipe > Format Data > type yes [All your data into Internal Storage will be lost]
Connect your device to PC while you are on TWRP and transfer into Internal Storage, the ROM, GApps etc. and the files you want to flash.
Flash ROM > GApps [Optional]
After that I still get "Error 10: failed to set-up open gapps pre-bundled busybox"
S4 GT-I9505 said:
I have followed your steps:
Select Wipe > Advanced Wipe
Select Dalvik / ART Cache, System, Data, Internal Storage, Cache and then Swipe to Wipe. [All your data into Internal Storage will be lost]
Go back and select Wipe > Format Data > type yes [All your data into Internal Storage will be lost]
Connect your device to PC while you are on TWRP and transfer into Internal Storage, the ROM, GApps etc. and the files you want to flash.
Flash ROM > GApps [Optional]
After that I still get "Error 10: failed to set-up open gapps pre-bundled busybox"
Click to expand...
Click to collapse
What recovery you u use?
Use the latest official twrp, redownload mindthegapps arm and try again.
If you still getting error try to flash the PIT file and try again by clean install steps.
Retrial said:
What recovery you u use?
Use the latest official twrp, redownload mindthegapps arm and try again.
If you still getting error try to flash the PIT file and try again by clean install steps.
Click to expand...
Click to collapse
I'm using:
twrp-3.6.2-jflte-20220620
lineage-18.1-20220707-nightly-jfltexx-signed
open_gapps-arm-11.0-pico-20220215
But when using MindTheGapps-11.0.0-arm-20220217_095902 or BiTGApps-arm-11.0.0-R20_signed.zip I'm getting:
Could not mount /mnt/system! Aborting
Updater process ended with ERROR: 1
I have no idea how to flash PIT file, I will look into it.
To be sure I just tried again installing MindTheGapps-11.0.0-arm-20220217_095902 and I'm still getting:
Could not mount /mnt/system! Aborting
Updater process ended with ERROR: 1
I've found a pit file here, but getting installation errors:
PIT file GT-I9505
PIT file GT-I9505 Tested for use download:
forum.xda-developers.com
Maybe the problem is the TWRP I'm using. But I just tried another TWRP version and got the no touch problem...
I will try some other TWRP's...
Works, but doesn't install GApps:
twrp-3.6.2-jflte-20220620
No touch:
twrp-3.6.1_9-0-jflte.img
TWRP-JDCTeam-3.3.0-0-build1
I don't know what to do anymore. I'll try new things tomorrow.
S4 GT-I9505 said:
Works, but doesn't install GApps:
twrp-3.6.2-jflte-20220620
No touch:
twrp-3.6.1_9-0-jflte.img
TWRP-JDCTeam-3.3.0-0-build1
I don't know what to do anymore. I'll try new things tomorrow.
Click to expand...
Click to collapse
Use this recovery.
You can find the PIT file in my Collection, read the note how to flash it.
Then proceed with clean install steps.
If you still getting the issue with mount, go in twrp menu press Mount and select System and then flash.
Retrial said:
Use this recovery.
You can find the PIT file in my Collection, read the note how to flash it.
Then proceed with clean install steps.
If you still getting the issue with mount, go in twrp menu press Mount and select System and then flash.
Click to expand...
Click to collapse
Yes I tried twrp-3.6.1_9-0-jflte.img but then I get the no touch problem.
I did the PIT flash, but still have the "Error 10: failed to set-up open gapps pre-bundled busybox" after installing open_gapps-arm-11.0-pico-20220215
When I'm in Mount, I select System, but can't start the flash, no button.
Right now, I'm just gonna test all the other TWRP's from https://eu.dl.twrp.me/jflte/
No touch problem:
twrp-3.6.1_9-0-jflte.img
twrp-3.6.0_9-0-jflte.img
twrp-3.5.2_9-1-jflte.img
TWRP-JDCTeam-3.3.0-0-build1
The only TWRP working for me is:
twrp-3.6.2-jflte-20220620
I am 100% stuck again. I even tried installing a Note 7 custom rom but then I got the no touch problem while installing.
I don't know what to do anymore...
I prefer to have Android 11 with open_gapps-arm-11.0-pico-20220215
Should I throw away my phone and buy a new one?
I just tried to install Miui 8 on the phone but I got the following error:
mount: failed to mount /dev/block/mmcblk0p21
mount: failed to mount /dev/block/mmcblk0p20
ERROR 7
Maybe this is caused cause I accidentally wiped Micro SD card earlier?
What can I do to fix my phone?
S4 GT-I9505 said:
I am 100% stuck again. I even tried installing a Note 7 custom rom but then I got the no touch problem while installing.
I don't know what to do anymore...
I prefer to have Android 11 with open_gapps-arm-11.0-pico-20220215
Should I throw away my phone and buy a new one?
Click to expand...
Click to collapse
S4 GT-I9505 said:
I just tried to install Miui 8 on the phone but I got the following error:
mount: failed to mount /dev/block/mmcblk0p21
mount: failed to mount /dev/block/mmcblk0p20
ERROR 7
Maybe this is caused cause I accidentally wiped Micro SD card earlier?
What can I do to fix my phone?
Click to expand...
Click to collapse
You tried to install ROMs from different device to your S4?
I don't know what you are doing but seems a mess.
I recommend you to flash PIT, Clean Install the latest Stock ROM/Firmware and latest Bootloader & Modem and then do Clean Install a Custom ROM.
You can find all the guides and latest links in my thread.
Retrial said:
Use this recovery.
You can find the PIT file in my Collection, read the note how to flash it.
Then proceed with clean install steps.
If you still getting the issue with mount, go in twrp menu press Mount and select System and then flash.
Click to expand...
Click to collapse
I think I accidentally wiped the Micro SD card which s. How to fix this?
Retrial said:
You tried to install ROMs from different device to your S4?
I don't know what you are doing but seems a mess.
I recommend you to flash PIT, Clean Install the latest Stock ROM/Firmware and latest Bootloader & Modem and then do Clean Install a Custom ROM.
You can find all the guides and latest links in my thread.
Click to expand...
Click to collapse
Reason I've tried that, because those are complete packages with GApps already in them. I used these:
OK, fresh start, I just did:
- Flashed PIT
- Clean installed stock ROM
- Installed Bootloader & Modem
- Installed TWRP
- Clean installed lineage-18.1-20220707-nightly-jfltexx-signed
- Installed open_gapps-arm-11.0-pico-20220215 then I got the error again:
S4 GT-I9505 said:
I think I accidentally wiped the Micro SD card which s. How to fix this?
- Flashed PIT
- Clean installed stock ROM
- Installed Bootloader & Modem
- Installed TWRP
- Clean installed lineage-18.1-20220707-nightly-jfltexx-signed
- Installed open_gapps-arm-11.0-pico-20220215 then I got the error again:
Click to expand...
Click to collapse
If you wiped MicroSD then you can't fix it. You lost ur data there.
It may be also problem with SDcard or corrupted .zip.
Redownload MindTheGApps.zip
After wipes and format data move ur zips (rom and gapps) to Internal Storage instead of SDcard and try flashing from there.
Retrial said:
If you wiped MicroSD then you can't fix it. You lost ur data there.
It may be also problem with SDcard or corrupted .zip.
Redownload MindTheGApps.zip
After wipes and format data move ur zips (rom and gapps) to Internal Storage instead of SDcard and try flashing from there.
Click to expand...
Click to collapse
This should be OK:
Retrial said:
If you wiped MicroSD then you can't fix it. You lost ur data there.
It may be also problem with SDcard or corrupted .zip.
Redownload MindTheGApps.zip
After wipes and format data move ur zips (rom and gapps) to Internal Storage instead of SDcard and try flashing from there.
Click to expand...
Click to collapse
I just installed MindTheGapps-11.0.0-arm-20220217_095902 and getting this again:

Categories

Resources