Modified TWRP:
File Name | Android version |
---|---|
twrp-3.7.1_12-vayu.img | Android 12/12.1/13/14 |
twrp-3.7.0_11-vayu.img | Android 11 |
-
Unlocked bootloader
Warning
All your data will be erased! Back up now if needed.
Do not run the same command twice.
DO NOT REBOOT YOUR PHONE if you think you made a mistake, ask for help in the Telegram chat.
Do not run all commands at once, execute them in order!
Important
Make sure you use the MODDED Recovery throughout this whole tutorial as we provide tools to help aid this installation process and make it as easy as possible for you.
If you don't use it and you face any errors, consider it your fault and consider yourself alone if you try asking for support as you have deferred from the main guide.
Download platform-tools and extract the folder somewhere, then open CMD as an administrator.
It is recommended to keep this window open and use it throughout the entire guide.
Replace
path\to\platform-tools
with the actual path to the platform-tools folder, for example C:\platform-tools.
cd path\to\platform-tools
Note
If your device is not detected in fastboot or recovery mode, you'll have to install USB drivers using this guide
While in fastboot mode, replace
path\to\moddedtwrp.img
with the actual path to the modded recovery image
fastboot flash recovery path\to\moddedtwrp.img reboot recovery
This will back up your boot image in the current directory
adb pull /dev/block/by-name/boot boot.img
Ignore any possible errors and continue
adb shell umount /dev/block/by-name/userdata
adb shell sgdisk --resize-table 64 /dev/block/sda
adb shell parted /dev/block/sda
Parted will print the list of partitions, userdata should be the last partition in the list.
print
Replace $ with the number of the userdata partition, which should be 32
rm $
Replace 11.7GB with the former start value of userdata which we just deleted
Replace 70GB with the end value you want userdata to have. In this example Android will have 70-11.7 = 58.3GB of usable space
mkpart userdata ext4 11.7GB 70GB
Replace 70GB with the end value of userdata
Replace 70.4GB with the value you used before, adding 0.4GB to it
mkpart esp fat32 70GB 70.4GB
Replace 70.4GB with the end value of esp
mkpart win ntfs 70.4GB -0MB
Use
set $ esp on
quit
adb shell mkfs.ntfs -f /dev/block/sda34 -L WINVAYU
adb shell mkfs.fat -F32 -s1 /dev/block/sda33 -n ESPVAYU
- Format all data in TWRP, or Android will not boot.
- ( Go to Wipe > Format data > type yes )
- Just restart the phone, and see if Android still works