5,598,820 Members 33,739 Now Online
XDA Developers Android and Mobile Development Forum

[Hammerhead][CWM-RECOVERY]PhilZ Touch - 6.26.6 [updated 2014-04-16]

Tip us?
 
rootSU
Old
(Last edited by rootSU; 16th April 2014 at 09:19 PM.)
#1  
rootSU's Avatar
Senior Member - OP
Thanks Meter 7431
Posts: 17,988
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
Default [Hammerhead][CWM-RECOVERY]PhilZ Touch - 6.26.6 [updated 2014-04-16]

Quote:
Note from the thread author, please note - I am not the developer of Philz Touch. @Phil3759 is. I am merely an avid follower of Philz amazing efforts and the official Nexus 5 maintainer.

Please take a moment to thank Phil for his work by clicking "Thanks" on THIS POST

PhilZ Touch is a CWM Advanced Edition that adds all the features you could ever miss in CWM
It is a well proven recovery for many phones

It also adds a full touch interface a completely configurable GUI

Main thread + features + install instructions* + dev support
http://forum.xda-developers.com/show....php?t=2201860

Please note, USER queries / support for the Nexus 5 should be posted in THIS THREAD, and NOT in the main DEV thread.

I won't be compiling every build. I will skip builds that do not add /alter functionality to the Nexus 5 for obvious reasons.

I will only compile if we have:
  1. New or updated Features relevant to N5
  2. Bug Fixes

Code clean-up or libtouch_gui shouldn't affect the user experience. I don't want to keep bugging Phil to upload trivial builds to goo.im - so please don't get disheartened if not every version number from Philz master thread makes it to N5

Features:
  • 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
  • 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...
  • optional reboot after custom backups/restores
  • 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
  • you can cancel any 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 now will be named 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
  • 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 restore path supports stock clockworkmod path or TWRP path
  • poweroff, reboot to recovery and reboot to download/bootloader mode options
  • USB mount in recovery
  • adb root in recovery: just wait about a minute to activate

Download links
Latest version can be found here:
Backup versions (updated monthly):
*Zip is CWM / TWRP flashable, or you can extract the .img and fastboot flash in the normal way

Please note, not every new version contains commits that benefit every device, so the version in this thread title may not always match the version in the development thread title. Please do not ask for ETA in this thread or the development thread. New versions come as-and-when.
Always read the OP's of a thread and the last 2 pages before asking questions, unless there has been an update - in which case, read the last 5 pages!

nexus 5 | SlimKat | ElementalX kernel | Philz Touch Recovery

I do NOT reply to support queries over PM.
The Following 114 Users Say Thank You to rootSU For This Useful Post: [ Click to Expand ]
 
rootSU
Old
(Last edited by rootSU; 12th December 2013 at 12:13 PM.)
#2  
rootSU's Avatar
Senior Member - OP
Thanks Meter 7431
Posts: 17,988
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK








Always read the OP's of a thread and the last 2 pages before asking questions, unless there has been an update - in which case, read the last 5 pages!

nexus 5 | SlimKat | ElementalX kernel | Philz Touch Recovery

I do NOT reply to support queries over PM.
The Following 32 Users Say Thank You to rootSU For This Useful Post: [ Click to Expand ]
 
rootSU
Old
(Last edited by rootSU; 16th April 2014 at 09:18 PM.)
#3  
rootSU's Avatar
Senior Member - OP
Thanks Meter 7431
Posts: 17,988
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
Default Nexus 5 known issues / FAQ

Nexus 5 specific changes:

Nexus 5 specific changes are listed below. Please note, not all of these changes were in a single release of Philz. This is a list of changes for the latest version released for the Nexus 5 and all skipped versions released since the previous release for the Nexus 5.

For full change log, please click HERE

Changes between 6.26.1 and 6.26.6

- CWM 6.0.4.8 rebase
- Fixed rootsu error in fstab
- Removed /efs1 and /efs2 from mounts and storage menu


Changes between 6.23.9 and 6.26.1

- fb2png: better error logging
- sort files using case insensitive order
- remove old no more needed md5 check code
- fix successive gestures
- set these default gesture actions:
* swipe left = screen off
* swipe right = increase brightness
* press 1 sec and lift = show log
* press 2 sec and small move = screen shot
- merge "Only init legacy property environment once"
- revert using ntfs module and drop to fuse for complete write support
- use new md5digest code to generate/verify nandroid backups
- bring progress bar during nandroid md5 generation and check
- exclude log and md5 file when regenerating md5 files
- twrp mode: use new md5digest function with status bar during md5 check/create
- twrp mode: fix double md5 verification bug
- fix delete backup menu failed to reopen base backup folder + wired log message
- fix the "umount: can't umount /data: Invalid argument" log message on start when time daemon was loaded
- show "time daemon loading" message on recovery start when we're waiting for the daemon to load

Changes between 6.23.7 and 6.23.9

- Updated time daemon settings to use hammerhead default dir /data/system/time. Time now works (except Daylight Savings - Change Time zone manually for now to get correct time)

Changes between 6.22.7 and 6.23.7

- Better error checking to avoid segfaulting
- really hammer lazy developers (report outdated binary in ui print)
- Use legacy property environment if old update-binary
- fix fb2png flag to be enabled by default
- fix potential unsafe thread code
- Disable gesture actions during md5 checks as they are not thread safe

Changes between 6.21.2 and 6.22.7

-Qualcomm screenshot (fb2png) functionality added
- USB OTG install zip (black screen) Bug fixed

Changes between 6.20.6 and 6.21.2

- add progress bar while reading zip file to compute md5 check
- add color printing during md5sum checks
- (derp) fix color code printing on md5 check disappears after 5 sec (ui_wait_key() screen refresh)
- md5sum check potential bug fixes and optimizations
- libtouch_gui 1.05
 

Changes between 6.19.7 and 6.20.6

- add md5 sum calculation and toggle verification during install of zip files
- many bug fixes and code cleanups
- libtouch_gui 1.04

Changes between 6.19.3 and 6.19.7

- add /efs backup support*
Note, efs is split over 2 partitions on the N5. Back them both up in custom backup! DO NOT RESTORE EFS BACKUPS ON ANOTHER PHONE!

Changes between 6.15.4 and 6.19.3

- merge "update-binary: Add collect_backup_data function"
- merge "recovery: add overlay interface for recovery mode"
- merge Aroma patches:
- User selectable colorspace added to settings.
- Unmount /system at exit if mounted.
- Some more logging added
- merge remote cm-11.0 changes
- led state in menu
- more comprehensive menu text display for /data/media/0 toggle
- fix potential memory leak in /data/media/0 toggle
- huge cleanup and potential bug fixes


Changes between 6.12.9 and 6.15.4

- update superSU to 1.93
- sync sources
- fix recovery reboot command (adb and shell) by adding the init sys.powerctl property control
- merge "Fix mkfs.f2fs calling in roots"
- fix display current path when navigating backward in folders
- Nandroid Simple Logging: toggle logging of file names during nandroid to keep screen progress while speed up nandroid operations for some devices
- increase NICE_INTERVAL to 300 msec (faster backup/restore on some devices)
- hide unused settings in Nandroid Settings menu (if we disable all progress on screen, hide non valid options)
- re-order nandroid settings menu
- add a toggle for fall back to pre-built update-binary to permit use of older update-binary in zip packages (doesn't persist on reboot).
this will fix the assert errors due to outdate update-binary. It could still be affected by assert error on device name getprop. However, that one is easier to fix by end users by editing updater-script. This is a workaround. The best is to hammer your ROM cooker to update his scripts and binaries
- setting for signature check toggle on zip updates will be now saved on reboot
- Aroma File Manager: mount vold managed volumes on launch from recovery
- Free Browse Mode: make it possible to install from any custom path even ramdisk
- Free browse mode: fix exceptions when setting up custom path
- Free browse mode: mount known volumes during setup
- Free browse mode: better handling of /data/media devices



Changes between 6.12.8 and 6.12.9

- Update to Stock KOT49H kernel to fix Graphical glitches caused by CM 11 kernel

Changes between 6.09.2 and 6.12.8

- time and date menu text formatting and order
- version display edit
- add ntfs write support to devices using kernel modules instead of fuse
- zip installer: update loki binaries for LOKI devices
- zip installer: use new update-binary sources
- manually set time and date in recovery
- support Qualcom time daemon to sync time with main system (credits to dougiebee)
- support RTC offset hack for Qualcom devices without a proper time daemon in system ROM (credits to dougiebee)
- option to drop to system set time and date commands (credits to dougiebee)
- set default nandroid compression level back to low
- roll out exfat-nofuse sources from dorimanx into various kernels from Samsung and other brands
- code fix and cleanup
- update SuperSU to 1.91
- merge android_system_core changes to adb to fix push to extra storage paths
- do not use performance mode during install zip: fixes hang on unmount /system in updater-script when usb cable is connected
- update to CWM 6.0.4.7
- merge "Fix up bu restore"
- ROM Manager: workaround to backup/restore to/from external storage
- enhance touch init (fix touch on some Sony devices)
- really fix reading device max brightness value
- loki: merge "Support Open EU LG Optimus F6 and US Cellular Optimus F7"
- read the device max brightness setting to fix brightness toggle on some Sony devices
- merge: "Populate mount menu with new mount/format matrix" - final version
- merge: "Use cat for adb backup."
- merge: "Populate mount menu with new mount/format matrix"
- do not error on missing sd-ext when wiping dalvik cache
- merge: "su: Update for latest su daemon compatibility"
- merge "Clean up c formatting - 1"
- merge "Remove "Go Back" option from verify root and recovery options"
- merge "Fix potential chmod failures"
- merge: "Add a copy of the updater binary to the recovery resources"
- merge: "install: Support downgrade scenarios"
- merge: "install: Fix possible overflow condition in the updater "scanner""
- merge: "minui: do not use flexible array initialization"

Changes between 6.07.9 and 6.09.2

- TWRP: merge "support use TW_USE_MODEL_HARDWARE_ID_FOR_DEVICE_ID"
- toggle prompt on low free space during backup
- SuperSU update to v1.89
- loki: merge "Support LG Vu 3."
- code cleanup
- gesture action defaults changed
- long press and lift gesture action is now triggered after finger pressed for more than 1 sec
- do not include fb2png on non supported devices
- stop always rebuilding aroma intermediates

Changes between 6.03.5 and 6.07.9

- fix exiting "pause on logs" mode with virtual keys caused erroneous validation
- fix exiting screen off mode with hardware key could cause erroneous validations
- fix some devices could not exit "pause on logs" mode with screen touch
- bring immediate touch responsiveness after exiting screen off mode and "pause on logs" mode
- fix erroneous first menu validation when exiting screen off mode on some devices
- fix long press and move action could be triggered while swiping outside menus and returning to first touched area
- increase threshold for long press and move action for easier triggering
- small touch scroll optimizations
- improve touch responsiveness on low res devices
- code clean-up and optimization
- fix log text could overwrite clock/battery icons on some low res devices
- after successful zip install with sideload, hide the install background icon
- after installing zip with sideload, do not trigger "pause on logs" mode
- loki: sync latest sources (support LG G2 VS98012b)
- better fit text logs on non HD devices: stop slightly overwrite of bottom virtual keys separation bar and clock/battery area
- fix logs overwriting bottom virtual keys and progress bar in sideload mode
- add 5 extra partitions support in nandroid: can be added in fstab and will be auto detected
- custom backup and restore menu: move reboot item to top of partitions list
- custom backup and restore menu: auto hide all unused items
- advanced menu: hide /data/media toggle for non datamedia devices
- sync loki sources: add new LG devices
- SuperSU update to 1.86
- busybox: merge @Chenglu changes to support selinux (no tar --selinux yet)
- huge code clean ups and fixed
- fix twrp backup/restore default mode
- save loki support user setting (default is now disabled)
- add custom backup and restore options to main nandroid menu for each storage volume
- ditch stock cwm limited advanced restore function
- add toggle to switch between TWRP/CWM as default backup mode
- ors: backup mode is now the default backup mode set for all recovery session
- ors: smart restore mode to override main backup mode depending on path we restore from (TWRP vs CWM auto detection)
- backup/restore validation menu moved to top in custom modes
- sanitize rom name for backup: exclude "&" symbol and fix compiler warnings (size_t)
- when deleting backups, do not exit the menu each time
- fix new line in process_volumes()
- merge: "Don't return immediately from reboot commands."
- merge: "Enable incremental builder to find files that moved"
- merge: "Support recoveries without CONFIG_EXT4_FS_XATTR"

Known issues

 
1) Date and time incorrect
This affects all recoveries on all snapdragon 800 devices.
Fix: nothing can be done until someone figures out date / time retrieval from the snapdragon 800

Fix: Manual date and time override - see THIS POST

2) screenshot doesn't work properly
Screenshot is corrupt. Unusable.

Fix: new fb2png

3) Strange graphical glitch occurring randomly when changing settings.
Slight freeze followed by odd graphical glitch. Unfreezes with no detriment. This is a CM kernel bug.

Fix: Compile with stock kernel

4) 6.21.2 - Screen goes black if selecting a zip to flash from USB OTG and md5 verification is set to ( ) instead of (x)
Work around:
Set md5 verification to on
Generate md5's for all your zips

Fixed


Recommendations

Recommended time settings
 

Philz Settings > GUI Pref > Time Set up > change date and time

Use the "Time daemon" setting. Set this then boot into rom. Give it a couple of minutes and boot back into recovery.

Please note, qualcomm time daemon always uses UTC (GMT) so you must manually set your time zone in recovery.

Daylight saving is not yet managed by recovery so please alter time zone manually to compensate.



EFS Backup
 

In custom backup settings, select efs 1 AND efs 2. The N5 splits over both.

Do NOT restore efs on another phone. EFS must be unique on every handset. Restoring efs from another phone will ruin your phone.


md5 verification
 

If you're moving zips on and off your phone all the time, they can become corrupt during any one of those moves. The new Md5 functionality allows the md5 to be calculated before flashing a zip and shows you on the recovery screen. This means you can read the screen and compare it to a known md5sum for the zip.

There is additionally an md5 verification setting that will only flash the zip if it matches the md5 stored in an md5 file on your memory. I wrote a script to put in the directory with all your zips on your phone that will create an md5 file for you for each zip you have. This way, as you move your zips on and off your memory, you can take the md5 file too and have Philz prevent flashing of those zips if they become corrupt.

Simply unzip the attachment into the directory where you keep all your zips. In terminal emulator, cd to that directory then run the sh file. In this example, all my zips are in /sdcard/AFlash

Code:
cd /sdcard/AFlash
sh md5.sh
Enjoy

Attached Files
File Type: zip md5_all_zips.zip - [Click for QR Code] (286 Bytes, 31 views)
Always read the OP's of a thread and the last 2 pages before asking questions, unless there has been an update - in which case, read the last 5 pages!

nexus 5 | SlimKat | ElementalX kernel | Philz Touch Recovery

I do NOT reply to support queries over PM.
The Following 17 Users Say Thank You to rootSU For This Useful Post: [ Click to Expand ]
 
ZANGETSU786
Old
#4  
ZANGETSU786's Avatar
Senior Member
Thanks Meter 18
Posts: 147
Join Date: Apr 2013
Location: Manchester
Nice one mate.
 
rootSU
Old
#5  
rootSU's Avatar
Senior Member - OP
Thanks Meter 7431
Posts: 17,988
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
Quote:
Originally Posted by ZANGETSU786 View Post
Nice one mate.
It's working well so far. Try it out, let us know how you get on.
Always read the OP's of a thread and the last 2 pages before asking questions, unless there has been an update - in which case, read the last 5 pages!

nexus 5 | SlimKat | ElementalX kernel | Philz Touch Recovery

I do NOT reply to support queries over PM.
The Following 4 Users Say Thank You to rootSU For This Useful Post: [ Click to Expand ]
 
CRIME INC.
Old
#6  
CRIME INC.'s Avatar
Senior Member
Thanks Meter 1674
Posts: 2,811
Join Date: Jan 2011
Location: HENDERSONVILLE
Yes!! Was wanting this for my hammerhead. Thanks!!

sent from my HAMMERHEAD neXus

---------- Post added at 10:38 AM ---------- Previous post was at 10:30 AM ----------

Will you be updating this thread with newer versions?

sent from my HAMMERHEAD neXus

 
rootSU
Old
#7  
rootSU's Avatar
Senior Member - OP
Thanks Meter 7431
Posts: 17,988
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
Quote:
Originally Posted by CRIME INC. View Post
Yes!! Was wanting this for my hammerhead. Thanks!!

sent from my HAMMERHEAD neXus

---------- Post added at 10:38 AM ---------- Previous post was at 10:30 AM ----------

Will you be updating this thread with newer versions?

sent from my HAMMERHEAD neXus

I will. Phil will subscribe for support here too. I have made teh thread to his specifications, so do subscribe
Always read the OP's of a thread and the last 2 pages before asking questions, unless there has been an update - in which case, read the last 5 pages!

nexus 5 | SlimKat | ElementalX kernel | Philz Touch Recovery

I do NOT reply to support queries over PM.
The Following 4 Users Say Thank You to rootSU For This Useful Post: [ Click to Expand ]
 
CRIME INC.
Old
#8  
CRIME INC.'s Avatar
Senior Member
Thanks Meter 1674
Posts: 2,811
Join Date: Jan 2011
Location: HENDERSONVILLE
Subscribed:thumbup:

sent from my HAMMERHEAD neXus

The Following User Says Thank You to CRIME INC. For This Useful Post: [ Click to Expand ]
 
sewer56lol
Old
#9  
sewer56lol's Avatar
Senior Member
Thanks Meter 504
Posts: 1,423
Join Date: Jun 2012
Quote:
Originally Posted by rootSU View Post
It's working well so far. Try it out, let us know how you get on.
Everything appears fine.
The time in recovery was at first incorrect for me though. The default for GMT+0 the recovery had was 10 hours behind (or 14 hours ahead) compared to actual time here in UK.

Misc Stuff.
Buttons = Pass
Virtual Buttons = Pass
Brightness setting = Pass
Vibrator Toggle = Pass

Sent from my Nexus 5 using Tapatalk

The Following 2 Users Say Thank You to sewer56lol For This Useful Post: [ Click to Expand ]
 
icecore
Old
#10  
icecore's Avatar
Member
Thanks Meter 2
Posts: 60
Join Date: Jun 2011
Good Job! Waited for it! will try after reviews

With

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes