Waiting is over!!! Hi, guys there are not many custom Roms or tweaks for the Unite 3 device as there are for its predecessor Unite 2. This made me to do extensive search and compile myself necessary tweaks to boost the device performance. As I believe I have made considerable progress on this, I dare to share them here with you. These tweaks have been devised after searching lot through the Internet, especially xda forum and modified to suite to Unite 3. Many of them are directly embedded in boot.img as they are related to boot.img or are required to be set during boot. Some are shipped in zip files for flashing through custom recovery (in second posting). Here are my works and explanation of what they feature and do.
A. Features of boot.img
1. Encryption disabled: It is found that encryption of data partition affects device performance. Apps on data partition don't open up quickly and on launching also their performance is not as good as sys apps due to encryption. Hence in the tweaked boot.img I have completely disabled the encryption which results in improved performance of user installed apps. Another added advantage of unencrypted data partition is that in recovery mode we can mount data partition which otherwise is not possible in any of the recovery images of unite 3. Further with this, it is also possible to take backup of data partition and restore it. However, for the data partition to be unencrypted, after porting the boot.img, you have to factory reset the device (in TWRP custom recovery, wipe -> swipe to factory reset) that wipe the data partition (take back up of data through Titanium app in case you want to restore later). This is one time job. After this, data partition would be unencrypted enabling mounting while in recovery.
2. Insecure adbd (root required): With insecured adb binary, while connected to the computer (of course ADB platform tools are to be installed on the computer) device's root shell can be directly entered by typing just 'adb shell' at the prompt.
3. init.d enabled (root required): init.d is enabled in boot.img. init.d scripts can simply be put in the /system/etc/init.d folder and tweak zips requiring init.d folder for running scripts at boot be flashed after entering recovery mode.
4. Disabled unnecessary daemon services: Some services which have been disabled are BTW, logd, PPLAgent, DMAgent, etc to improve upon battery as well as device performance.
5. swap partition on data partition: Tweaked boot.img creates swap partition on data partition. Swap virtually increases the ram of the device facilitating the apps to perform without glitches. Along with creation of swap partition, minfree values will also get changed. Modified minfree values allow apps to remain longer in ram without being killed in oom (out of memory) situations. As a result, apps quickly open if already launched. I have created three versions of boot.img. First one does not create swap partition while other two versions create swap partition of sizes 300mb and 500mb. Before porting the images that create swap partition, please ensure that required size of free space is available in data partition.
6. Various kernel tweaks: Besides, there are many kernel, VM, entropy tweaks incorporated in boot.img. Thermal.off.conf file will be loaded so that device performance is not diminished on increase in device heat after prolonged working (against default settings of diminished performance in case of heat increase).
7. Selinux set to permissive: Selinux is set to permissive during boot. It is a prerequisite for some root apps for functioning.
For no_swap_boot.img - http://www.mediafire.com/file/3zfw5d..._swap_boot.img
For with300mb_swap_boot.img - http://www.mediafire.com/file/8gj8dr..._swap_boot.img
For with500mb_swap_boot.img - http://www.mediafire.com/file/anjxea..._swap_boot.img
B. TWRP 126.96.36.199 recovery.img
TWRP img version 188.8.131.52 works perfectly except that it's image is upside down. You've to hold the device upside down while in recovery. That is not at all a problem. And all other features work perfectly. You can take back up, restore the back up, flash custom Roms and install zip files in the custom recovery.
Thanks: TWRP TEAM
Download link: http://www.mediafire.com/file/36332m..._3recovery.img
Method to flash boot and custom recovery images
1. Root the device (with KingRoot)
2. Install busybox
3. Install flashify app
You can flash boot and recovery images through flashify app (root required - root Unite 3 with KingRoot app) and busybox installed. However, the app does not readily work on Unite 3. You have to do a small adjustment of changing the order of contents of PATH variable before app becomes functional. For this, you require android Terminal Emulator app installed on the device. In the Terminal Emulator app, type at the prompt the following, PATH=/system/xbin:/system/bin, and press enter button. This sets the PATH variable to our requirement. Now we are ready for flashing (in flashify app). Place first the downloaded boot and recovery img files in internal or external memory and open up the flashify app, go for flash boot and recovery as the case may be and select the img file. Be careful to select boot.img file while flashing boot and recovery.img (TWRP recovery file) while flashing recovery. That's all
Once again it is reiterated that after porting (flashing) boot.img, do a factory reset in recovery mode (after flashing TWRP custom recovery, reboot into recovery, select wipe and swipe for factory reset) for data partition to become unencrypted afterwards.