[Android Software Development] Phil3759:
Older Change History v5.x

5.18.9 (04.11.2013)

- add option to disable all nags on exit (root, flash recovery)

- add menu to root system and verify recovery

- code clean-up

5.18.7 (03.11.2013)

- optimize Install zip menu + order entries

- merge "minui: Allow devices to blank/unblank using LCD backlight" into cm-10.2

- merge "recovery: Add a proper CleanSpec.mk * Clean all the stuff that conflicts with AOSP recovery."

- merge "Add guard makefile for allowing simple recovery build"

- merge "Quickly install from last install path"

- merge "Enable optional swipe based touch controls"

5.18.5 (18.10.2013)

- unmount /data on user request for /data/media devices

- fix bug when reading partition link target

- do not ever log to screen mount/unmount events for sdcards (this will preserve ui_print for USB OTG volumes)

- write recovery version on exiting recovery instead of start: spare an extra partition mount/unmount on start

- Asus Nexus 7 2013 (flo) support

- HTC One AT&T support

- HTC One m7ul, m7spr, m7att, m7tmo: support exfat kernel module instead of fuse

- Galaxy S3 i9300/i9305: add exfat kernel module support in minivold

5.18.2 (15.10.2013)

- merge [MENTION=3084245]Chenglu[/MENTION] latest changes for selinux context backup/restore (4.3 ROMs)

- user can enable/disable nandroid backup/restore of selinux context: speed up things for non JB 4.3 users

- fix bug where restore compressed archive from external storage caused vold crash because of busy volume:

- misc bug fixes

- S4 mini (i9195/i9190): use exfat/ntfs ko modules with custom kernel from samsung sources (thanks to [MENTION=3562083]wanam[/MENTION])

- Xperia Z (yuga): use stock Sony + exfat ko module instead of fuse

- Galaxy S4 ATT and VZW: support auto loki on flash

5.17.9 (13.10.2013)

- fix min brightness value in auto dim mode from 25 to 10

- merge temporary [MENTION=3084245]Chenglu[/MENTION] fix to backup/restore selinux context for 4.3 ROMs

5.17.8 (13.10.2013)

- merge "Make "one confirm" the default action. Create .many_confirm to restore all the extra no options"

- stop useless mount of /data in write_recovery_version() as it will be mounted later

- i9195: use custom kernel compiled from samsung source update1

- i9195: enable use exfat/ntfs ko modules + migrate to cm-10.2

5.17.7 (12.10.2013)

- merge su changes: "Add required libraries to list." into cm-10.2

- set lowest brightness value from 25 to 10

- i9505: use new custom kernel from google sources to fix ext4 corruption, exfat and ntfs kernel modules (huge thanks to [MENTION=3562083]wanam[/MENTION])

5.17.6 (09.10.2013)

- Merge "Recovery: Loki patching support" into cm-10.2

- Merge "Support f2fs format"

- Fix f2fs formatting through edify scripting (roots.c entry)

- Merge "Don't print any messages regarding sd-ext to the UI"

- merge touch changes into cm-10.2

- add extra.fstab file support to provide blk_device2, fs_type2 and fs_options2

- use blk_device2 to partition sdcard and to format in ext2/ext3 for voldmanaged volumes

- fix Aroma file manager cannot see external storage due to minivold/fuse

- fix ors scripting for new cm-10.2 fstab format

- ors backup target: ensure user doesn't enter a non valid volume mount point in recovery settings file

- fix Get_Size_Via_statfs() handling of /data/media storage with new vold

- improve get_ors_backup_volume() call

- serious cm-10.2 bug: do not show partition sdcard menu for voldmanaged devices unless they have a valid blk_device2

- allow custom format of voldmanaged volumes if fs_type == auto even if they cannot be partitioned (!can_partition)

- format_device() could fail to wipe /sdcard on /data/media devices

- format_volume() could fail to wipe /sdcard on /data/media devices (edify scripting)

- ensure_path_unmounted() could not unmount /sdcard path on /data/media devices

- Find_Partition_Size() can now get /data size partition from a /data/media path (/sdcard)

- misc bug fixes for cm-10.2 and vold

- remove included device_config.h and put all additional BoardConfig.mk in one file (easier port for devs)

- ignore Rainbow commit

- improve write_recovery_version() to also unmount /sdcard on non /data/media devices

- favour kernel module over fuse to mount exfat volumes

- add get_device_mmcblk() function to read real device /dev/block path from blk_device link

- fix dd raw backup and restore to better detect real device block (efs / modem backup and restore)

- nandroid backup and restore speed fix

* spare some pthread_mutex_lock(&gUpdateMutex) on ui_delete_line() call

* do not hammer with fputs to write nandroid log

* increase NICE_INTERVAL from 100 to 350 msec to lower screen refresh rate during nandroid jobs

- do not define S4 i9505 with BOARD_HAS_SLOW_STORAGE to re-enable displaying all backup stats by default

- allow sideload to be used in conjunction with other commands.

- merge: Array max is incorrectly calculated, can lead to missed events for ids > MAX_DEVICES (thanks [MENTION=2471504]jeboo[/MENTION])

- sync sources to update su

- merge "loki: Update to 2.0, Add support for LG G2 (and device trees in general)"

- update cwm to 6.0.4.4 + sync sources

- i9505: move to wanam 1.6 kernel : small size, adb root, touch, force load of exfat

- i9505: support ntfs through ko modules

5.15.9 (26.09.2013)

- get rid of = and space in ors script (merge from twrp) + merge to cm-10.1

- touch: drop unwanted devices to handle touch events for some devices (Xperia Z...) + merge to cm-10.1

- touch: improve scroll and make it more friendly

- touch: fix slide right/left actions triggered after a scroll ending outside menu

- touch: improve long press and lift + long press and move actions and lower delay to 0.6 sec

- touch: in double tap and highlight only modes, fix unwanted scroll down while selecting a menu after a scroll

- touch: misc bug fixes + cleaner code

- HTC One X (endeavoru): repack with 4.18 stock ramdisk to fix write/read speed

- HTC One S (ville): add compatibility with new /data/media hboot

- SGH-T599N (codinamtr): rebase repack on Unjestified Dev tree to fix adb/mount usb storage

- Xperia Z: fix touch handling

- Motorola Droid RAZR M (xt907)

- Motorola Droid RAZR HD GSM (xt925) and US (xt926)

- Galaxy S Blaze 4G - SGH T769 (t769)

- Galaxy Exhilarate - SGH-I577 (i577)

- Galaxy S4 mini i9190 (serrano3gxx)

- Galaxy S4 mini i9195 (serranoltexx)

- Micromax A57 (a57)

- LG Optimus G ATT (e970)

- LG Optimus G Canada (e973)

- LG Optimus G Sprint (ls970)

- LG Optimus G Intl (e975)

5.15.0 (21.09.2013)

- fix bug where android_secure could not be restored

- add png files for 320px width devices and fix pico device tree for screen resolution + merge to cm-10.1

- selectively force tar wrapper on yaffs2 file systems (better handling of make update.zip from ROM and ors backup in cwm format)

- fix touch support for some Samsung phones

- merge latest aroma 1.91 changes to fix theme loading bug

- fix user choice format sdcard options

- i9505: powered by stock 4.3 Samsung kernel compiled and fixed by [MENTION=395758]ausdim[/MENTION]: huge thanks to him

- i9505: fix adb root, sideload, exfat loading, time setting, touch and brightness

- i9500: fix flashing of cm-10.2 and AOKP 4.3 ROMs

- Galaxy S4 US variants: fix flashing of cm-10.2 and AOKP 4.3 ROMs

- i9100/n7000: add again the bootloop workaround (init swap from older version)

- fix /data/media toggle display was not correctly refreshed

- remove compute_archive_stats() file number calculation and replace with archive size for faster restores

- increase nandroid size check interval from 3 to 5 sec for slow storage devices (i9505)

- merge exclude google music cached files from nandroid backup

- merge new tar.gz wrapper into cm-10.1

- add pigz fast compression (-1) option + merge to cm-10.1

- add backup and restore of /data/media to external storage

- fix left free space warning when backup in compressed tar.gz mode

- fix partition sdcard menu not showing on devices without a second storage (cm-10.1 only)

- misc menus cleanup

- when key repeat is disabled: fix reboot when turning on screen after it was auto-blanked

- when key repeat is disabled: fix dim screen will not occur and only blank screen event was triggered

- fix dim/blank screen issues after reboot timer was reached and USB cable was connected

- fix various bugs with key handling through ui_wait_key()

- after screen is turned on, next touch event will now be considered (better touch response)

- more stable blank screen gesture actions (mainly on long press and move gesture)

- merge remove install update.zip from cm-10.2 to cm-10.1

- support new phones:

* Sony Xperia Z (yuga)

* Samsung S3 Sprint SPH-L710 (d2spr) - d2tmo repack

* Galaxy Exhibit Variants - SGH-T599N (codinamtr) - credits to [MENTION=4911249]Unjustified Dev[/MENTION]

* Galaxy Grand Duos (i9082) - credits [MENTION=4532929]chotu222[/MENTION]

* Galaxy S Plus - i9001 (ariesve) - thanks to [MENTION=4825267]alireza7991[/MENTION]

* HTC One V (primou) - credits to [MENTION=5258154]doga.ozkaraca[/MENTION]

* Huawei Acsend P1 U9200 (viva) - credits to [MENTION=5423065]kiprap[/MENTION]

5.11.2 (19.08.2013)

- ramdisk fixes for most devices to fix adb and sideload

- n7100/n7105/i317M: update to adam 2.7 kernel sensor free

- i9500: migrate to wanam sensors-free kernel v1.8 (fix boot into recovery delays, add back ntfs support)

- i9500: do not mount /data in postrecoveryboot.sh

- i9505: migrate to audism special repacked kernel (13.1) to fix poweroff bugs + update exfat kernel modules

- i9505 variants: revise ramdisk for stock based kernel edition

- i9100/n7000: update superuser to latest version

- i9100/n7000: stop patching kernel for emmc brick bug and replacing init for bootloop fix on unattended reboot

- n7000: do not include stock recovery and redbend_ua binaries to fit zImage size

- properly unmount /data after loading recovery settings on start

- properly unmount /data on recovery start for datamedia devices as per last cm changes

- mount /data before write_recovery_version() checks

- move advanced and twrp nandroid code to separate included file for easier code maintenance with cm sources

5.11.0 (17.08.2013)

- update to cwm 6.0.3.7

* Fix issue where android device manager, etc, dont actually wipe data.

--wipe_data issues via /cache/recovery/command will now completely format data.

- i9505: update to audism kernel v13 (smaller size to fit new ntfs/exfat format options) + new exfat modules

- jfltexx (i9505 cyanogenmod version) is now built properly using new TARGET_RECOVERY_INITRC in BoardConfig

- release i9505 cyanogenmod kernel based version

- n7100: update to adam kernel v2.7 for smaller size to fit ntfs/exfat format options

- endeavoru (HTC One X): do not use NTFS modules to fit recovery size

- i9500: remove fb2png and ntfs support because of small recovery size

- pico: remove exfat and ntfs support because of small recovery size

- clean up code when calling format_device() for sd-ext

- fix repacking script for toro, toroplus, grouper, protou

5.10.8 (14.08.2013)

- update to cwm 6.0.3.6

- merge cm sources: shrink cid

- fix text file formatting for dosfstools/Android.mk (PC to UNIX)

- sync sources

5.10.7 (10.08.2013)

- add option to toggle whole progress during backups for slow phones (hide size stats, progress bar and do not log backed up files)

- reorganize power options in a single menu

- update Aroma File Manager to latest sources

- port mkdosfs from TWRP + update to latest 3.0.16

- add mkextfatfs and mk_ntfs into recovery

- add support to choose format type for vfat storage: default, vfat, exfat, ntfs, ext2, ext3, ext4

- add preload partition on /etc/fstab generation: Now supports 'mount /preload' command in edify and recovery shell (by Ryuinferno)

- fix mount exfat/ntfs volumes under recovery for fs_type == auto

- fix partition sdcard auto for fstype

- merge cm-10.2 changes

* cwm: Add liblog dependency

* Add a recovery version variable, the releasetools want this now

* Use fstab v1 as a default

* Fixes for Superuser

* su installation and detection updates for 4.3

* su 4.3 detection fix

* update to v6.0.3.5

* add su daemon runner

* unset immutable bit on install-recovery.sh

* Don't treat link-time warnings as errors when linking with libbusybox

* Fix roots.c to use fs_mgr

* move key loading to verifier code. Add an option to verifier_test to load keys from a file, the way the recovery does.

* recovery: save logs from the last few invocations of recovery. Extends the last_log mechanism to save logs from the last six invocations of recovery

* recovery: ignore voldmanaged volumes

* update wipe data option confirmation

* merge "Revert "Use fstab v1 as a default."" into cm-10.2

- misc code cleanup

5.10.0 (25.07.2013)

- reorganize Backup and Restore menu:

* remove stock CWM Advanced Restore function

* move choose backup format to Misc Nandroid Settings menu

- add Misc Nandroid Settings option to disable nandroid size progress

- nandroid size progress is now disabled by default for specific phones (i9505)

- merge cm-10.1 changes:

* remove useless Fix Permissions menu

5.09.8 (24.07.2013)

- new time set function using TZ environement variable (should fix issues for some i9505 users)

- remove warning about selinux file_contexts (log only)

- Update CWM to v6.0.3.4

* merge more headless fixes from cm-10.1

- i9505 ramdisk: fix init.rc adb and sideload

- increase refresh backup size stats delay from 0.5 to 3 seconds (a proper fix will follow for i9505 users)

- fix some /data/media files could be included in TWRP backup mode

- It's summer time: open source many parts of PhilZ Touch

* settings file config

* all misc nandroid settings menu setup

* get rom name function to stamp backup folder name

* free browse mode and custom install zip folder

5.09.2 (21.07.2013)

- fix compiler warning in nandroid.c / nandroid_callback()

- remove non used virtual_keys images from ramdisk

- resync sources

- merge cm-10.1 changes:

* SELinux: don't suppress the "no file_contexts" message on the UI

* add --headless mode

5.09.1 (20.07.2013)

- add NTFS support for external storage

5.09.0 (19.07.2013)

- exfat-fuse: use existing external/exfat and external/fuse branches

- exfat-fuse: remove old implementation for prebuilt binary

5.08.9 (18.07.2013)

- compile mount.exfat-fuse static binary along recovery source to support exfat on cm-10.1 kernels

- fix Aroma File Manager compiling for non NEON devices

- clean up code (partition sdcard menu)

- fix broken touch after screen wake-up for some phones (i9500)

- resync sources

5.08.5 (11.07.2013)

- Compile Aroma File Manager (by amarullz) zip installer under recovery:

* either compile whole recovery, zip will be created at first pass

* or only compile aroma zip installer in two pass:

1- mmm bootable/recovery/aromafm

2- mmm bootable/recovery/aromafm/tools

* output: [target_out]/aromafm_out/aromafm_[DeviceID].zip

- detect aroma compatibility with non NEON devices during compiling

- use less conflicting flags: TARGET_NAME --> TARGET_COMMON_NAME

5.08.0 (07.07.2013)

- improve nandroid progress bar update

- fix recovery was not prompting when backup estimated size is larger than free space

- add ors backup support for twrp format requested by BillGoss

- ors backup: when no backup name is given, generate it using same way as nandroid operations (time stamp + rom name tag)

- support separated compiling for Loki patched devices (S4 AT&T and Verizon)

- i9505: revert some changes to fix time bug for some users

- Galaxy S4 US variants: repack around Audism stock JB 4.3 kernel v3 + Samsung exfat modules + revert use of mkefs for partition corruption issue

- fix missing break in set backup compression value menu (misc_nandroid_menu())

- misc clean up code

- sync latest sources

5.07.6 (05.07.2013)

- update version 6.0.3.3

- add exfat-fuse 1.0.1.362 / 2.9.2 optional support by enabling USE_EXFAT_FUSE_BIN CFLAG in BoardConfig (exfat support on cyanogenmod repacks)

- i9505: use Audism kernel v3 (Stock Samsung sources) to fix partition corruption without additional code and for better exfat support

5.07.1 (01.07.2013)

- i9100G support

5.07.0 (30.06.2013)

- fix "unknown volume for path /res/images/koush.png" on boot (do not search for a volume on ramdisk path)

5.06.8 (19.06.2013)

- fix bug introduced in v5.06.5: folder entries duplicated in some choose file menus (custom and twrp restore modes, regenerate md5 selection menu)

- by default, if /data/media/0 exists, it will be used as internal storage. You can still alter it in Advanced menu to force /data/media

5.06.7 (17.06.2013)

- Galaxy R/Z (i9103) support, thanks to Adam77Root

5.06.6 (13.06.2013)

- fix multi-zip flash "select/unselect all" persisting (static int select_all --> int select_all)

- add sdparted option to partition in ext4 fstype

- enable partition sdcard when non vfat fstype2 option is used in recovery.fstab

- merge cm-10.1 changes (6.0.3.2 Update 8):

* Merge "recovery: Fix adb backup" into cm-10.1

* Merge "Remove (un)mount option for datamedia partitions" into cm-10.1

* recovery.c: Fix the potential segmentation fault: Extral newline can trigger recovery segmentation fault

- Nexus 10 (manta): revert font changes since they were now merged in cm-10.1 device tree

- i9505 international: migrate to jfltexx device tree and repack with newer exfat modules

- Galaxy S4: support US variants

- misc code cleaning

5.06.4 (06.06.2013)

- fix touch repeat on capacitive virtual buttons for some devices

- Pico: ramdisk changes to enable backup size detection for mtd partitions (boot, recovery, misc)

5.06.3 (05.06.2013)

- HTC One Sprint and TMO variants support

- Galaxy S3 - T-Mobile (d2tmo): ramdisk changes to fix exfat (load modules using recovery-loader script)

5.06.2 (04.06.2013)

- Galaxy S3 - T-Mobile (d2tmo) - SGH-T999 support

5.06.1 (02.06.2013)

- HTC One: move to new m7ul device tree

5.06.0 (01.06.2013)

- support dual modem devices nandroid operations (dual sim, i9505)

- merge cm-10.1 changes: support version 2 (2048-bit e=65537) keys in recovery

- Nexus S/4G (crespo/4g): add mmcblk names to recovery.fstab to fix /data mount

- HTC Desire X (protou): support both protou-ics and protu-jb fstab

5.05.9 (31.05.2013)

- do not write backup size progress to log file

- show total time after restore job

- write backup path to log

5.05.7 (30.05.2013)

- use bigger 23x41 roboto font for HD devices (i9500, i9505, Nexus 10)

- do not uselessly statfs partition to refresh backup size progress if we're under NICE_INTERVAL (100ms)

- show backup compression 0% when backup is tar format and compression is disabled

- fix get time events during nandroid jobs and touch events

- universal scroll sensitivity and row height settings (fix hypersensitivity for HD devices)

- fix backup size progress for datamedia devices (special thanks to pickandwhammy for the time he spent in debugging this and providing logs)

- merge Get_Folder_Size() changes from twrp 2.5

- misc logging improvements

- small bug fixes

5.05.0 (26.05.2013)

- fix potential memory overflow during computing of size stats in backup

- fix /efs backup not possible for devices without /preload, unless preload menu was selected once

- fix custom nandroid and twrp backups for yaffs2 devices (do not force tar format on these)

- misc fixes for supporting more devices mainly during nandroid jobs:

* allow use of device2 for raw backup and restore operations (using dd/cat)

* better nandroid support when device names in fstab do not match actual mtd name (revert statfs for volume->device)

- revert cm-10.1 changes: write correctly fstab info in log (do not print to stderr)

- merge old custom_backup folder to cwm backup folder

- old .efs_backup and .modem_bin folders also should be moved to clockworkmod/backup

- .aromafm folder is now aromafm (no more hidden folder for this)

- add regenerate md5 sum option for nandroid backups (use with caution)

- revert inverting fstype and fstype2 (see github commit for more info on this)

- fix nandroid backup fails before generating md5 for /external_sd devices when card is not inserted/mountable (.android_secure check)

- fix falling back to system mount command will fail when calling ensure_path_mounted(filename)

- HTC Desire X (protou) support added

- HTC Droid Incredible 4G LTE (fireball):

* add support

* allow sd-ext and mount external sd in ext4

* allow backup/restore of /radio

- Galaxy S4 - i9505:

* support emmc partitions size detection during nandroid jobs

* fix exfat mount for some sdcards (thanks to chenglu)

- Nexus S/4G (crespo/crespo4g):

* allow raw + yaffs2 backups for /efs and /radio

* allow size detection for MTD partitions during nandroid backup

* fix device name to Samsung Nexus S

* repack with stock GB kernel to fix USB mount in recovery

- Nexus 10: enable efs backup and restore

- Galaxy Nexus (maguro/toro/toroplus): enable efs backup and restore

5.03.8 (20.05.2013)

- support HTC Droid Incredible 4G LTE - fireball

5.03.7 (19.05.2013)

- merge cm-10.1 changes: add getprop

- HTC One (m7) support

- i9505 fix graphics, date and cache/wipe issues (Big thanks to Chenglu for that)

- Samsung Nexus S (crespo) and Nexus S 4G (crespo4g) support

5.03.2 (16.05.2013)

- fix scroll down on touch issue when in double tap and highlight only modes

- support Galaxy Nexus GSM (maguro), Verizon (toro) and Sprint (toroplus), i9500 and i9505 Canada/Bell (jfltecan) and T-mobile (jfltetmo)

- merge cm-10.1 changes: add getprop

5.03.0 (12.05.2013)

- fix backup size progress in twrp mode

- improve code for backup stats during nandroid jobs

- display full backup stats (total size, compression ratio, elapsed time) at end of backups

- merge last cm-10.1 updates:

* fix nandroid cmd command did not load volume table

* support nandroid dump/undump commands

* nandroid backup command line still segfaults

* silent log when mounting /data/media

Touch:

- add 3 new color palettes (30 colors total): dimmer gray, yellow and gold

- add toggle for header custom color

- add toggle for battery and clock custom color

- line at bottom of menus will now have same color as menus separator lines

- set new defaults to header and menu text colors

- show backup/restore stats in color during nandroid jobs

- fix touch issue when exiting friendly log or blanked screen, and pressing on virtual buttons

5.02.3 (10.05.2013)

- fix root break for devices with shared recovery partition caused by Whil Wheaton update

- advanced backup size monitoring during nandroid operations

- prompt to cancel backup on low free space (% and absolute)

- live display size stats during backup: total data written, free space left

- support backup and restore of /misc partition for both CWM and TWRP operations

- prevent potential segfault when calling is_data_media_volume_path()

- merge cm-10.1 changes:

* remove adb sideload /tmp/update.zip after flashing to avoid second flash under some circumstances

- fix android_secure could not be backed up under some circumstances (ensure mount of sdcard)

- completely rewritten android_secure support: much simpler code

Touch:

- optimize cancel nandroid job action

- allow cancel yaffs2 nandroid operations

- allow dim screen timeout during yaffs2 nandroid operations

- fix set brightness and auto-dim screen timer for Nexus 7 and Nexus 10

- fix battery stats display for Nexus 10

- restore default actions of real device keys we fake for touch events

- correctly map device virtual keys to default recovery actions

- fix virtual buttons highlight color to match their line separator color (blue)

5.00.8 (05.05.2013)

- support Nexus 7 and Nexus 10

- clean code for non PhilZ Touch buils

- Merge cm-10.1 changes to cwm 6.0.3.2:

* recovery: fix sideload cancel" into cm-10.1

* make_ext4fs support

* auto prompt to root device when booting to main system

5.00.5 (04.05.2013)

- use device specific background images during compile process

5.00.4 (04.05.2013)

- touch code completely rewritten to support more devices (no more calibration needed)

- true touch scroll effect and much improved touch response

- secure touch: robust to wrong selections while scrolling + confirmation before any bad thing

- add option to completely disable touch

- options to restore Koush or PhilZ Touch background images

- restoring default backgrounds (Koush, PhilZ Touch) will apply live (a reboot was previously needed)

- fix touch on HTC Pico, HTC One S and HTC One XL

- restore support for device keys KEY_MENU and Home key (KEY_HOME, KEY_HOMEPAGE)

- add /preload support in twrp backup and restore modes

- mount /system and /data on Aroma File Explorer launch

- fix battery stats error in some circumstances

- i9100/n7000: update CWM Superuser to v1.0.1.8 (through zip installer)

- code cleaning, various fixes and optimizations

- force reset of recovery settings to v5: new settings file name

- backup file name is unchanged so that old settings can still be restored