[HD2 Android NAND Development] kokotas:
Timeline

Commit History

HD2_Extended_TWRP_2.6.3.4 @ 2013.11.24

Compiled tytung's jellybean kernel with CONFIG_YAFFS_XATTR=y

and replaced existing recovery kernel.

Attempt to fix curtain.jpg loading bug.

HD2_Extended_TWRP_2.6.3.3 @ 2013.11.20

Reverted to 2.x kernel (more stable and smaller size).

HD2_Extended_TWRP_2.6.3.2 @ 2013.11.20

Ported latest mainline commits.

Compiled without ntfs and exFat support (since no existing HD2 Rom really requires any of them).

Switched to 3.x kernel (github.com/TeamNightmare/android_kernel_htc_leo).

HD2_Extended_TWRP_2.6.3.0 @ 2013.09.19

Ported latest mainline commits (update to v2.6.3.0).

Disabled the ability to encrypt the backup of the data partition. Rolled back to old twrpTar code in an attempt to temporarily fix some backup/restore errors.

(The backups made by previous versions might not be good).

HD2_Extended_TWRP_2.6.1.2 @ 2013.09.09

Fix crashing when installing a recovery-package.

Added "bootloader=haret" to startup.txt for haret's case.

HD2_Extended_TWRP_2.6.1.1 @ 2013.09.06

Reverted a commit that messed up the rotation feature.

Attempt to improve bootloader detection.

HD2_Extended_TWRP_2.6.1.0 @ 2013.08.31

Ported latest mainline commits (update to v2.6.1.0).

HD2_Extended_TWRP_2.6.0.0 @ 2013.07.16

Ported (most of the) latest mainline commits (update to v2.6).

Ported Vojtech Bocek's screen rotation.

Old themes are not compatible!

Instead of

one

ui.xml file, the new theme requires

two

files portrait.xml and landscape.xml and the appropriate images.

Misc code cleanups/fixes.

HD2_Extended_TWRP_2.5.0.5 @ 2013.05.10

Try to fix libtar bug (present when creating sd-ext's backup).

Reboot options for "recovery" and "bootloader" will be available for cLK only.

Revised nativeSD manager.

HD2_Extended_TWRP_2.5.0.4 @ 2013.05.08

Made partitionlist's selection persist.

Added ability to load selected theme's curtain.jpg.

Fixed slider-touch.png, changed list's header separator color to red and reordered header info in built-in theme.

Revised how twrp handles 'userdata' partition when DataOnExt mode is.

Cause there is a chance 'DalvikOnNand' method is used.

Cleaned up unused code and added a flag for HD2-specific stuff so if anyone would try to build Extended TWRP for another device it would be easier.

HD2_Extended_TWRP_2.5.0.3 @ 2013.05.06

Added "View file" under filemanager options (it's more or less like 'cat /file').

Small fix to off-mode charging.

Attempt to fix progress bar issue.

Changed built-in theme. The new one is based on Dark_Avenger's Holo Dark.

Changed some log messages.

HD2_Extended_TWRP_2.5.0.2 @ 2013.04.22

Changed behavior of "Reset Defaults". Device will reboot after that.

Changed handling of extra boot partitions for cLK.

Now you can backup/restore/wipe any of those partitions just like the default ones!

(In the end this means that you can backup/restore EVERYTHING at once)

Changed versioning way (last digit will be used for the extended revision).

Changed screenshot function:

If the system is busy (perhaps doing something (?) to the sdcard) no screenshot will be taken if you press the top logo.

Otherwise, in order to notify the user that a screenshot was successfully taken the keys backlight will blink.

Reorganized/rewrote some of the code (backup/restore/wipe) around "partitionlist".

Removed sfdisk.

Recompiled tytung_jellybean_r2 kernel with increased MSM_MAX_PARTITIONS to 20 (this will fix the detection of cLK's extra boot partitions).

Misc fixes that I don't remember now...

HD2_Extended_TWRP_2.5.0.0_r1 @ 2013.04.17

Ported latest mainline commits (update to v2.5).

Fixed battery_thread().

Added ability to auto delete logs from cache to free up some space when needed (see Dark_Avenger's post).

Switched kernel to tytung_jellybean_r2.

Misc fixes.

Compiled img with TW_INCLUDE_CRYPTO = true & TW_INCLUDE_JB_CRYPTO = true.

Increased required min size to 9MB.

HD2_Extended_TWRP_2.4.4.0_r7 @ 2013.04.05

Attempt to fix /sdcard mounting issues in case of slow cards(thanks to Darren for helping).

Fixed restoring a tar that was made with a previous version that used busybox tar.

HD2_Extended_TWRP_2.4.4.0_r6 @ 2013.04.03

Attempt to fix archive extraction during restore.

Added separate option for excluding dalvik-cache from a NativeSD Rom's backup under NativeSD Manager Settings.

HD2_Extended_TWRP_2.4.4.0_r5 @ 2013.04.02

Attempt to fix timezone dst settings.

Revised extractTarFork() function.

HD2_Extended_TWRP_2.4.4.0_r4 @ 2013.03.31

3rd attempt to fix sdcard partitioning.

Added option for magldr users to select which NativeSD Rom to reboot to(jskenderi's idea).

Fixed cpu governor selection not getting applied at boot.

Removed "read_ahead_kb" tweaks from init.rc.

Revised LoadValues() function.

HD2_Extended_TWRP_2.4.4.0_r3 @ 2013.03.22

2nd attempt to fix sdcard partitioning.

Changed "Enable MD5 verification" to "Skip MD5 verification" - The default behavior is to verify md5s.

Fixed a bug regarding backing up with "Exclude NativeSD Roms..." option enabled.

HD2_Extended_TWRP_2.4.4.0_r2 @ 2013.03.20

First attempt to fix sdcard partitioning.

Ported latest mainline md5sum fix.

Fixed NativeSD dalvik wipe.

Replaced the option for the preboot scrict with an option to force TWRP to handle boot partition as 'mtd'.

Only MAGLDR users will be able to see it AND in case your "boot" is raw (rboot was used in flash.cfg), enable it!

HD2_Extended_TWRP_2.4.4.0_r1 @ 2013.03.14

Ported latest mainline commits.

Updated/fixed clkpartmgr (

needs cLK v1.5.2.0 to work correctly

) - partition size is passed in blocks.

Revised storage partitioning method.

Enabled ntfs and exFat formats for card's 1st primary partition.

Switched to libtar for archive handling.

Switched to libblkid for filesystem detection.

Added more options for haptic feedback.

Added option under "Settings" for the preboot scrict that sets the filesystem for "boot" partition before recovery loads recovery.fstab.

If your bootloader is MAGLDR and "boot" is raw, disable it. IN ANY OTHER CASE leave it enabled.

If you don't know what I'm talking about, leave it enabled.

Kernel is compiled with defaults: gov = performance, i/o scheduler = deadline, cpu freq = (245 - 998)MHz

SD Card read_ahead_kb set to 2048, NAND's partitions read_ahead_kb set to 128

Added system tweaks options (cpu gov, i/o scheduler, cpu max/min freq, available memory boost).

If we want to have a theme setting persisted there is a new function <action function="save"> instead of <action function="set">.

HD2_Extended_TWRP_2.4.3.0_r3 @ 2013.03.04

Reverted the way TWRP handles 'boot' partition's file-system.

Backup/restore for MAGLDR should work now.

Ported the dim effect before screen turns off from mainline.

Misc small changes in code.

HD2_Extended_TWRP_2.4.3.0_r2 @ 2013.03.02

Reverted fileselector to clear by default the data variable.

HD2_Extended_TWRP_2.4.3.0_r1 @ 2013.03.01

Ported mainline commits (update to 2.4.3.0).

One of them fixes the fileselector bug.

1st attempt to fix UI's bug (hot-rebooting after theme changing).

HD2_Extended_TWRP_2.4.2.0_r2 @ 2013.02.27

Fixed screen timeout not being loaded at boot (instead it was always 60 sec).

Added haptic feedback and an option to enable it under "Settings".

Fixed screenshot feature.

HD2_Extended_TWRP_2.4.2.0_r1 @ 2013.02.25

Added option for the root checking stuff. If you don't want TWRP messing with your system you have the option to disable it under "Settings".

Added option to select the clock-time format.

Cleaned up blanktimer.

HD2_Extended_TWRP_2.4.1.0_r3 @ 2013.02.24

Ported latest mainline commits.

Some of them were already in Extended TWRP(button highlight and 24h clock)

One of them added a "Screen" button under "Settings" which gives you the option to

(a)set the timeout for auto-turning-off the screen and

(b)set the level of screen brightness.

Created separate thread for monitoring battery capacity and usb status.

Led will work as normal. I've also set it to blink the amber led if battery < 10%.

Tweaked offmode-charging (this is for cLK users that don't use cLK's built-in offmode charging mode).

Fast charging is enabled in kernel and 'Powersave' settings will be used.

Also added the ability to wake up the device while offmode-charging by pressing ANY key.

Removed unused/duplicate options from "Settings".

When you skip dalvik-cache during a backup, a file named .nodalvikcache will be created in the backup folder with the size of dalvik-cache stored inside.

This will be used whenever you restore that backup in order to add that size to the calculations for minimum partition's size.

In case the '.nodalvikcache' file doesn't exist there is an option to set the increment(%) for the size of the partition to which a backup that doesn't contain dalvik-cache will be restored. Default value is 40%.

Changed the way TWRP handles 'boot' partition's file-system. It doesn't depend anymore on which bootloader we have (cause MAGLDR supports both yaffs2 and raw mtd).

Dropped the logic:
If cLK => mtd
else => yaffs2

Now it really checks the file-system.I think:p

Added the ability to restore a backup made with cLK as bootloader on MAGLDR.

...

HD2_Extended_TWRP_2.4.1.0_r2 @ 2013.02.11

Moved option for backing up nand's userdata to BACKUP page.

Instead of Data show DataOnExt or DataOnNand accordingly.

Added option under "SETTINGS" page to let TWRP check if a partition's size is enough for its backup to be restored before tar throws an error caused of insufficient space.

MAGLDR users: if the selected part of your backup is larger than the actual size of the partition, this part will be excluded from the restore process.

cLK users: Update to v1.5.1.9 and size mismatches will be no problem, since TWRP and cLK will automatically resize any partition that needs resizing.

Show progressbar during NativeSD backup.

Updated clkpartmgr (the args passed to it have changed too).

HD2_Extended_TWRP_2.4.1.0_r1 @ 2013.02.06

Port mainline commit(TWFuncc::Get_Folder_Size and MD5 checking).

Added function for finding a file on storage using the file's name and used it in OpenRecoveryScript.

Add clkpartmgr to TWRP.

HD2_Extended_TWRP_2.4.0.0_r8 @ 2013.02.01

When restoring a backup with DataOnExt show 'data' instead of 'sd-ext' under Restore page.

Always reset Use_unyaffs_To_Restore to false.

Fix Recreate_DataOnExt_Folder().

HD2_Extended_TWRP_2.4.0.0_r7 @ 2013.02.01

Created separate thread for updating time clock in order to avoid having it frozen.

Fix for sd-ext button disappearing after wiping.

Recreate folder for DataOnExt after wiping sd-ext.

Port last mailine commits.

HD2_Extended_TWRP_2.4.0.0_r6 @ 2013.01.31

Fixed backup part selection when there are split archives.

Corrected free space calculation in FS-converting and NativeSD-backup.

Time format changed to hh:mm:ss. (Sometimes seconds get frozen but it's nothing to worry about)

Misc NativeSD Manager fixes.

HD2_Extended_TWRP_2.4.0.0_r5 @ 2013.01.30

Added ability to select theme.

You must place the theme file(ui.zip) in a folder under /sdcard/TWRP/theme (eg /sdcard/TWRP/theme/Holo_Dark/ui.zip)

Added ability to select and load a recovery package like Aroma-File-Manager or NativeSD-Recovery.

You must place the files (*.zip) under /sdcard/TWRP/app.

Fixed NativeSD backup(tar arguments error).

Moved Update_Size() from Mount() function to Wipe().

HD2_Extended_TWRP_2.4.0.0_r4 @ 2013.01.29

Fixed a mounting issue:

Update_Size() function was called inside Mount().

However inside Update_Size() there was a call for Mount() and UnMount(!?) causing a mess.

Lets see if this could fix the problem with DataOnExt too.

HD2_Extended_TWRP_2.4.0.0_r3 @ 2013.01.29

Ported mainline commits till 29th of Jan.

Fixed boot partition's flag so that it can be wiped

Settings file (.twrps) is now read once at boot.

The TWRP folder structure on /sdcard will be auto-generated.

HD2_Extended_TWRP_2.4.0.0_r2 @ 2013.01.27

Updated to twrp2.4.

Ported all mainline commits till 26th of Jan.

Rewrote most of the extended functions.

Added option to format all main partitions except for /sdcard.

Added new feature in file manager: the size of the selected file or folder will be shown in the operation page.

HD2_Extended_TWRP_2.3.3.0_rev12 @ 2013.01.16

One&only purpose: Attempt to fix all issues for MAGLDR users.

Extensive logging is present in this rev.

HD2_Extended_TWRP_2.3.3.0_rev11 @ 2013.01.15

Second attempt to fix weird sdcard issues.

Added more logging output to help find the problem.

HD2_Extended_TWRP_2.3.3.0_rev10 @ 2013.01.14

Probably fixed the error during "Fix-Permissions" when DataOnExt is used.

Reverted changes in fstab as an attempt to fix weird sdcard issues.

HD2_Extended_TWRP_2.3.3.0_rev9 @ 2013.01.13

Another attempt to fix partitions' sizes for the backup process.

Added option (under "Backup" page) for the user to select if the NativeSD roms will be excluded or not from the sd-ext backup.

Added ability to run shell scripts that you might have on your sdcard (/sdcard/TWRP/scripts).

Added back the missing "Reload Theme" button under "Advanced" page.

HD2_Extended_TWRP_2.3.3.0_rev8 @ 2013.01.06

Changed the path where TWRP will save any taken screenshot to "/sdcard/TWRP/screenshots/".

The name of the png file will have this format "TWRPScr-001.png". The increment will be done automatically.

Unfortunately I haven't fixed the quality yet.

Added an option under "Settings" to "Enable path-checking for DataOnExt".

If enabled the path that will be used for the DataOnExt mode will be checked before any errors occur. Hopefully this will help non-experienced users to use DataOnExt function.

Added ability to automatically skip any NativeSD Rom folder from your sd-ext backup.

If you want to backup a NativeSD Rom do it from the NativeSD Manager.

Probably fixed the way TWRP calculates the partition sizes according to our extended settings(skip dalvik-cache - dataonext - skip nativesd roms).

So now the sizes (shown under "Backup" and) used during backup-process should be correct.

HD2_Extended_TWRP_2.3.3.0_rev7 @ 2013.01.04

Removed the second parsing of recovery.fstab (the one after "postrecoveryboot.sh" run). Instead the script "prerecoveryboot.sh" will run before TWRP parses the recovery.fstab file.

This should also eliminate any weird errors you've been seeing in the logs.

Attempt to resolve problems relevant to "Fix Permissions" when DataOnExt mode is ON.

Added a second step/check in UnMount() in case it fails the first time. Just like I did for the Mount() in previous rev.

Added option to skip saving "dalvik-cache" during backup (under "Backup" menu) in order to minimize the size of the backup file. After-all dalvik-cache is recreated. It will be like you've wiped it when you restore that backup.

Changed the way Backup & Restore work for DataOnExt:

If you have DataOnExt checked and you go ahead and start a backup process then

a (hidden) file called .dataonext will be created in the backup folder.

The path for your /data mount point will be stored inside that file.

Do not delete that file cause you'll have to recreate it manually!

Regardless of the settings you might have(DataOnExt checked or unchecked) if you go ahead and start a restore process of a backup with DataOnExt

(so it has the .dataonext file inside - if not it's easy to manually create it)

the option for "Setup recovery for DataOnExt" will be checked and

the path (DataOnExt button) will be reset to the path you had when the backup was done.

If you were using the entire /sd-ext for /data (original DataOnExt) when you made your backup then

when you restore that backup, the sd-ext will be formatted.

If you were using a subdir of /sd-ext for /data (modified DataOnExt like "/sdext/NexusHD2-JellyBean/data") when you made your backup then

when you restore that backup, the sd-ext will not be formatted - instead only that subdir will be deleted.

Ported Tasssadar's "clicked" effect to all buttons as feedback.

Been experimenting and added some code to be able to take a screenshot (will be saved as /sdcard/TWRPScr.png).

It is done by touching the top LOGO. To enable it, there is a relevant checkbox under "Settings".

It doesn't work as expected yet! The pics taken are crap:( but it's a wip...

HD2_Extended_TWRP_2.3.3.0_rev6 @ 2013.01.02

Fixed a problem when restoring an sd-ext backup that was made with CWM Recovery.

Added an option to run some filesystem checks on the sd-card under "Partition SD Card" button inside "Advanced".

Enabled power key to lock the screen.

HD2_Extended_TWRP_2.3.3.0_rev5 @ 2012.12.30

1st attempt to fix mounting problem(s) related to ext partition.

TWRP is now able to restore backups that were made using a CWM Recovery.

All you have to do is copy the entire backup folder (i.e. 2012-08-20.09.12.38) from /sdcard/clockworkmod/backup to /sdcard/TWRP/BACKUPS/htcleo

HD2_Extended_TWRP_2.3.3.0_rev4 @ 2012.12.28

1st attempt to fix TWRP's failure on file-system check when a partition has a label.

Changed how TWRP handles the ext partition(s) size while parsing recovery.fstab.

HD2_Extended_TWRP_2.3.3.0_rev3 @ 2012.12.27

3rd attempt to fix the .android_secure bug.

Added an SD version for testing.

HD2_Extended_TWRP_2.3.3.0_rev2 @ 2012.12.26

2nd attempt to fix the .android_secure bug.

1st attempt to fix the crash of sd card's partitioning when adding 2nd ext partition.

Reverted the logo to the default one.

New settings for fs-check and DataOnExt will be saved and not lost after a reset.

Switched the type of release from just an img-file to a flashable-zip with a script to check recovery's partition size before updating.

HD2_Extended_TWRP_2.3.3.0_rev1 @ 2012.12.24

Ported commits from mainline 2.3.3.0.

Changed how the DataOnExt will be handled.

Under "Settings" you'll find a checkbox with which you can "tell" recovery that you're using DataOnExt or not.

In case you're using a modified DataOnExt method you can set the actual path of your /data (i.e. /sd-ext/%RomName%/data) by hitting DataOnExt button.

Probably fixed the .android-secure bug.

Reverted the backup path(BACKUPS/htcleo/).

So you have to create an intermediate folder named "htcleo" under BACKUPS and move your backups inside.

Reverted the max size for splitting archive to 1.5GB.

1st attempt for saving the contents of your ext partition when you change the fs type (will need enough free space on your sdcard for this to work).

Added option to set the number of mounts that will trigger a filesystem check under "Settings".

Added option to wipe Data, Boot and (cLK)sBoot under "wipe" Menu.

Added necessary code for selecting fs type (vfat / ntfs) for /sdcard but since I can't make it function properly I've disabled it in the UI. (Also in case it will work using the ntfsprogs binaries, the size of the recovery will increase to ~ 8MB)

HD2_TWRP_2.3.2.X @ 2012.12.14

Detection of bootloader

Nilfs2 support for sdcard's ext partition

Option for converting file system(formatting) of sdcard's ext partition: [ext2 - ext3 - ext4 - nilfs2]

In-built NativeSD manager

Option for adding a 2nd ext partition(mmcblk0p3)

(cLK)Direct rebooting to selected boot partition

Option to adjust the backup process for DataOnExt case

1st attempt for archive splitting(also lowered the max size to 512MB)

1st attempt for MAGLDR boot restoring