UNIVERSAL REPARTITION SCRIPT FOR THE 7870
- I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
- Flashing this script will delete system, vendor, cache and data partitions (including internal storage) so make a good backup first!
- Supported devices: A3 2017, A6 2018, J6 2018, J5 2017, J7 2016, J7 2017, J7 Nxt and J7 Prime
- It can be flashed being in stock or modded partitions
- It will set 4096Mb for SYSTEM, 512Mb for VENDOR, 64Mb for CACHE and 128Mb for ODM in devices that support it. You can mod these values in repartition.sh script, and set the values you want.
- CAUTION: FLASHING IT WILL DELETE SYSTEM, VENDOR, CACHE AND ALSO DATA PARTITION, so internal storage will be wiped too!
- To revert, best way is to flash your device PIT file in ODIN
- Remember: FLASH AT YOUR OWN RISK!
- Remember, your internal storage will be wiped flashing this!
- Highly recommended to use an updated recovery
- Flash the attached zip file. The script itself will reboot the phone in recovery once done
- Now in recovery again, wipe system, cache and vendor and format data
- That's all!
- @DAvinash97 for ideas and tips