[Tutorial] Backup Tecno CF7 Stock ROM before Rooting/Changing OS
[Tutorial] Backup Tecno CF7 Stock ROM before Rooting/Changing OS
(22-08-2019, 06:47 AM)olakunal I use a Tecno cf7 phone which came with stock OS CF7-H399BCDEFH-O-190424V189 after which I did an OTA upgrade to CF7-H399BCDEFH-O-190615V212
Anyway, I came across the post https://www.hovatek.com/forum/thread-26150.html while learning the safest way to root my secure boot phone (Tecno Camon CF7) without bricking it and made sure I could back up 100% before making any attempt to flash a patched boot image.
Again, I wouldn't advise anyone to make modifications to a boot.img file without first backing up the boot.img file as a failsafe.
What I did.
1. Download & extract hovatak CF7 Download Agent(DA) to a folder @ https://www.hovatek.com/forum/thread-23243.html
2. Download cf7 scatter file from hovatek @ https://www.hovatek.com/forum/thread-25781.html
3. Download Mediatek USB VCOM drivers & install the 'Preloader USB VCOM port' driver @ https://www.hovatek.com/forum/thread-440.html
2a. Download SPFT @ https://www.hovatek.com/forum/thread-13970.html ; extact to a folder, edit options.ini file in SPFT folder to
[ReadBack]
ShowByScatter=true
2b. save & exit notepad.
2c. launch SP flash tool
3. Untick 'Check LIB DA match' within SP flash tool general settings (Options > option).
4. Set Default SPFT(Download Agent) to the one extracted in step 1.
5. Set the scatter-loading to MT6739_Android_scatter.txt of step 2.
Note:
Avoid the Download Tab in SPFT because it's for flashing/restoring/upgrading firmware i.e. uploading anything to your phone.
ReadBack is for backing up phone's partitions & saving the backup file on your computer for emergency restore when phone is soft bricked or dead. eg. when rooting fails and phone is dead.
6. readback one partition at a time until all partitions are backed up ( including nvram, nvdata & vendor etc) DO NOT IGNORE.
Once the read back is complete, you are free to make any changes to stock rom eg: install twrp, install AOSP 9, Descendant OS, root with magisk.
Notes:
1. Alternatively, multiple backup solutions are recommended so as to salvage user files(pictures, vidoes, music, contacts, calendar, application, messages, call history etc when android fails to decrypt your data after restoring a SPFT readback file). dr fone - Backup and Restore is a better solution free of encryption.
2. The userdata.img file cannot be moved (restored) across different roms because of 'encryption' in android phones, FRP etc. You'll need other 3rd party software to extract your personal data( apks, pictures, etc) from userdata.img afterwards. So backup personal data to a memory card or use dr fone - Backup and Restore (on a PC).
3. Should I unlock the bootloader & enable usb debugging?
YES. If you want to flash a custom recovery or custom rom. Note that all your user data will be erased so backup using dr fone - Backup and Restore first.
Using adb/fastboot method.
I flashed TWRP V3.2.3-0 (PB V2.8.1) for TECNO CAMON 11 OREO by spalo.zip by Jackson Makinda aka spalo) which was successful using adb/fastboot and phone still booted to stock recovery everytime so I used SPFT to flash pbrp.img and phone booted to custom recovery nicely.
NO. If you want to use SPFT method to flash a magisk patched boot.img only enable USB debugging. The phone will not prompt you to factory reset.
4. Keep your backed up stock rom always. nandroid backups are faster and done with TWRP/CWM. perform a nandroid backup of boot, system and data immediately after you root and keep it as your system restore. Do nandroid backups frequently before making any changes to rom eg: updating magisk, testing xposed modules, removing a system app etc.
5. If you frequently switch to custom roms for testing then always have a nandroid backup of stock rom's boot, system, data and vendor saved away on a USB OTG Drive.
(17-04-2020, 02:10 PM)Goldinhma I've been trying to root my Tecno Cf7 Without success. I've tried and followed countless tutorial without success so I'll be glad if you can put me through.
I've unlocked my bootloader and I'm already receiving tecno Orange state when booting on the phone. I used adb mode to flash the recovery you gave but he phone won't start in twrp recovery.
I also try using the adb command to boot Into recovery state, but I only get the android icon and among the listed options, there isn't recovery to choose from.
I'll really appreciate if you can put me through. Thanks