[Alcatel Pop C3 ROMs, Kernels, Recoveries, & Other ] LowTension:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired. Please
* do some research if you have any concerns about features included in this Recovery
* 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.
*/

* * * * * * * * * * * * * * * * * * * * * * * * *

PhilZ Touch 6 Recovery

CWM Advanced Edition 6.x

* * * * * * * * * * * * * * * * * * * * * * * * *

Features:

-touch interface:

- toggle between 4 touch modes: FULL TOUCH, DOUBLE TAP to validate, SEMI TOUCH (scroll but no touch validation) and NO TOUCH to only use hardware keys

- written from scratch full touch code

- basic scroll kinetics for faster scrolling on demand

- safe full touch : no wrongly validations while scrolling

- when you set full touch mode, it defaults to optimized settings for menu height, scroll sensitivity and touch accuracy (you still can alter them manually later)

- adjust scroll sensitivity in a huge palette

- adjust menu height in a huge palette

- adjust touch accuracy

- 30 color settings for each of the 8 GUI parts + 5 alpha transparency settings

- user custom background png can be selected in addition to 30 solid colors option

- show / hide background icon

- show / hide bottom virtual buttons

- show/hide + set color and transparency for menu line separators to match solid color themes, like Black...

- set number of bottom log rows to show

- pause on logs mode: no more miss logs during zip installs

- auto dim screen after user configurable delay

- auto turn off screen after user configurable delay

- adjust brightness and turn off screen with a gesture action

- show/hide clock and remaining battery %, even during nandroid operations

- clock and battery stats now effectively refresh every 5 seconds and during nandroid operations

- toggle vibrator on/off on touch

- toggle key repeat for volume up/down scrolling when maintained pressed

- key repeat also enabled for virtual buttons

- set time zone + 30mn offset + DST: correct time can now be set for nandroid backup path and clock

- capture recovery screen shots with a gesture action (only some devices)

- basic theme support

- one file to save all settings

- backup and restore settings file

- backup and restore only GUI settings

- reset to default settings option

- prompt to restore your settings from a backup when they are wiped by a new ROM install

- option to auto restore your settings from a backup without a prompt

- all toggles are applied live, without restart of recovery (except reset of stock CWM background image)

- toggle menu options are automatically right aligned and menu text left aligned based on device display size

- configurable gesture actions: double tap, slide right/left, long press/lift, long press/move, can be associated with any of: show log, change brightness, blank screen, capture screen shot, launch Aroma File Manager

Note: after scroll, there is a minimal small delay (0.5 sec) to validate on next touch. This is by design and not a bug. It is there to limit erroneous validation while scrolling

true JB 4.2 migration: toggle between /data/media and /data/media/0

Secure recovery lock with passkey

browse phone with root access using full GUI in Aroma File Manager

terminal access from recovery with root access through Aroma File Manager

Multi Zip Install menu: check multiple zip files to install in a row

Custom Install Zip Mode: set a default folder to start with + browse backward up to the root

exFAT, NTFS and Ext4 support in recovery for external storage through kernel modules for many devices for faster write speed

TWRP backup and restore support, include full md5 sum support (single and multivolume, compressed and non compressed formats)

Advanced statistics during backup operations shown in color: total backup size, backup size progress, backup time, compression ratio...

support .android_secure backup/restore from external storage

optional reboot after custom backups/restores

sd-ext support (ext4)

nandroid backups support /preload in backup and restore jobs (custom and stock modes)

nandroid backups support /misc in backup and restore jobs (custom mode)

devs: 5 extra optional partitions supported in nandroid operations by editing recovery.fstab

set special nandroid settings: time zone, toggle md5 check for lightning fast backup and restore, toggle /preload backup and restore, enable nandroid compression using pigz (multi-cpu gzip compression) and choose ors backup target volume

recreate md5 sum check for your cwm backups for compatibility with stock CWM if you need to revert

cancel nandroid operation with back button

create custom_rom.zip from current ROM or from a pre-existing nandroid backup (based on boot, /system and optionally /preload)

nandroid backup path auto-renamed with current ROM id from build.prop (ro.modversion, then ro.romversion, then ro.build.display.id)

custom backup and restore job list: backup and restore freely any partition combo (include modem and efs)

backup/restore EFS in both tar + img formats, now with time tags for both tar and .img

support flash modem.bin image files in addition to custom modem.img files, now support for multiple *.bin versions under dedicated folder

during custom restore, you can see the contents of the folder you want to restore from

delete custom or TWRP backups from recovery menu

full wipe before flashing new ROM: wipe user data + format /system and /preload. SD card content is not affected

full support for openrecovery script specifications include all backup and restore options

run openrecovery scripts in 2 modes: on start goomanager boot scripts + one touch menu to either directly open a default path or freely browse for scripts

define ors backup target volume from within Nandroid Settings menu

ors backup/restore in stock clockworkmod or TWRP modes

advanced power options menu

detailed build info in About menu

Special Features Guide:

PhilZ Touch Quick Guide

It is based on Koush clockworkmod 6.x to which I added many features and a full reliable touch interface

It brings a true touch and scroll interface, fully customizable GUI, theme support, advanced nandroid options and much more

How to select your .android_secure path

In Custom Backup and Restore operations, you can select the target/source for android.secure or disable it

In stock backup/restore operations, include those started with ROM Manager, you can also force a target/source for .android_secure

basically, recovery will check first external storage for a .android_secure folder. If it doesn't find it, it will look in internal storage

If you want for example .android_secure to be in internal sd, just delete .android_secure folder from external sd and ensure there is a .android_secure folder in internal sd

for external sd, just ensure there is a .android_secure folder in it. It will be chosen what ever is the internal sd state

Custom Backup and Restore menu

This is one of the most powerful features of this recovery.

It is made completely open source code, built from sratch. Just keep credits headers and give proper credit if you use them

You can select which partitions you want to backup or restore

You can choose your .android_secure source and target or even disable it

You can set it to reboot directly after job is done

backups will go under the folder clockworkmod/backup (please move all contents of custom_backup folder used in previous versions to the default backup folder in cwm)

TWRP backups go under stock TWRP/BACKUPS/device_id folder and will be automatically recognized by TWRP

Custom Restore Menu allows you to restore from any of the stock clockworkmod backups, the custom backups or the TWRP backups

efs is backed up under clockworkmod/backup/.efs_backup

- efs must be selected alone for backup in cwm mode

- it will create 2 copies: a tar and raw img backup using cat/dd command

- to restore efs, under Custom Restore menu, select efs only and toggle between tar and .img

- restore .img format is advised, but tar will work under most circumstances

modem.bin files can be named any_thing.bin and must go under clockworkmod/backup/.modem_bin

- with that, you can flash modem.bin files that come with official firmware (may need unlocked devices for some models)

if you disable md5, your backups will no more be recognized by stock cwm builds. Look at next step to regenerate md5 for stock cwm compatibility. Otherwise, all stock and custom backups are backward compatible with stock cwm (except special partitions like preload, recovery, modem and efs which stock cwm doesn't support)

you can now recreate md5 sum for any backup you want. Use with caution!

Open Recovery Script Support (ORS): revised and adapted from original sk8erwitskil source

On start, recovery looks automatically for "/cache/recovery/openrecoveryscript" installed by goomanager or any tasker. If it finds it, it is run and phone will reboot

You can also add custom ors scripts you edit your self:

When pressing the ors menu, it will look at default locations for your custom scripts:

"clockworkmod/ors" first in extra storage, then in internal sd. Put your custom scripts there with file extension .ors

That way you can access your jobs (flash, wipe, backup, restore...) instantly

If no scripts are found in default folder, you get option to browse both storage volumes for a custom location

To learn how to write ors scripts to automate your backup/restore/wipe/flash tasks, read here, it is very easy: http://wiki.rootzwiki.com/OpenRecoveryScript

Give Goomanager a try

All backup and restore options are supported include special partitions 1, 2 and 3 and even extra 4 and 5 partitions (could add modem, efs and preload linked to them later)

/preload will be included with /system if you enabled the /preload option in Misc Nandroid Settings

you have an extra here: you can set the target volume for ors backups under Misc Nandroid Settings menu

ors backups can be set to either TWRP or CWM format

Aroma File Manager Support *Adapted from amarullz and sk8erwitskil

You get here the possibility to browse your phone with root access in a friendly GUI file browser, while being in recovery

You even now get a terminal emulator to run in recovery

Download Aroma File Manager from its Home Page

Get the last version and rename the file aromafm.zip

Put the aromafm.zip in "clockworkmod/aromafm/aromafm.zip" in any of the storage volumes

In recovery, tap the Aroma File Manager menu or double tap any part of the screen outside menus

It will launch the file manager automatically

Double tap gesture linked to Aroma File Manager can be altered in the GUI Settings menu

Touch GUI Preferences:

This is another unique feature of this recovery and is built from scratch

You can toggle through 4 touch modes:

Full Touch: menus are validated by touching them. I added extra checks to make it robust to validation by error while scrolling.

Double Tap: menus are highlighted on first touch. To validate action, you need to double tap the same menu

Semi Touch: the classic semi-touch interface I enhanced. Menus are selected/highlighted on first touch. You can scroll by swiping up/down, but no validation on touch.

Disable Touch: touch code completely disabled. You have all gui options left, but only hardware keys

When Full Touch mode is selected, it will automatically set recommended menu height, touch accuracy and scroll sensitivity. You can alter them later if you want

Scroll sensitivity controls scrolling on swipe up/down. Lower values are the most sensitive. Adjust this based on selected menu height

Touch accuracy: increase it if your touch gestures are not well accounted for

Config files are saved in /data/philz-touch/philz-touch_x.ini file.

You can do a backup of your settings file, it will go under /sdcard/clockworkmod/philz-touch.ini.bak

You can choose to be prompted to restore your settings whenever they are wiped while you have a backup. You can also set recovery to auto-restore them when needed. This check is done when you reboot to main system from within recovery

There are many gesture actions that you can setup at your wish (some default actions are setup by default)

Long press/move is the bad equivalent to a long press gesture action: just that after 0.6 sec of touch, slightly move your finger or change the pressure surface without actually lifting it

Your screen should auto-dim automatically after one minute and turn off after 3 mn. You can change those time settings. Just touch the screen to reset brightness and turn it on (some devices need to press hardware button)

All GUI parts can be customized: menu hight, text colors, menu colors, selection colors, background color and icon, menu seprators, battery and clock, header text...

To setup a custom background image: put a png image with your device resolution in a folder clockworkmod/custom_res

You can take screen shots from recovery display by the slide left gesture (change it at your wish). Pics captures will go under clockworkmod/screen_shots folder. External storage will be always used first. If no external storage is found, internal storage is used. You can take up to 999 pics before it resets to 1

Setup Free Browse Mode and Multi-zip Installer:

Free Browse Mode:

You can setup a default folder from where the Install Zip menu will start

From within your set default folder, you can now browse backward up to the root file system to install a zip file

Multi-zip Installer menu:

Lets you select multiple zip files to flash at the same time

The zip files must go into a subfolder under: "clockworkmod/multi_flash"

At least one subfolder with your zip files must be created. You can create as many subfolders as you want

exp: clockworkmod/multi_flash/NEAT_ROM_files

Pause on Logs:

Pause on Logs: when enabled, after flashing a zip file or doing a nandroid job, you will be prompted for a key to return to menu display. That way, logs are kept in full screen. Obviously, no pause will be performed on boot scripts and multi-zip operations

Screenshots:

Credits:

[MENTION=4666971]Phil3759[/MENTION] for develop this awesome recovery

[MENTION=4478781]yuweng[/MENTION] for Easy Magic PhilZ Touch Installer Tool

and me.​