[G4 Android Development] steadfasterX:
Releases

TWRP-in-FIsH v5 (5.0)

Released: 2017-12-19

Download: Go to the Downloads tab

Changelog for

FIsH

: previously used version <---> this version

Changelog for

TWRP-in-FIsH

device tree: previously used version <---> this version

Changelog for:

-

TWRP

v3.2.0-0

-

TWRP

v3.2.1-0

Summary

changelog (read the above FULL changelogs for details!):

new TWRP version

all important fixes from the main TWRP releases like corrected time and EFS backup, added Bootloader backups etc.

Many enhancements and fixes in FIsH, e.g. enhanced and fixes issues in the installer and qseecomd (device encryption) added to the brand new exclude service option

Everything

is better now ;)

Old releases:

TWRP-in-FIsH v4 (4.2)

Released: 2017-06-21

Download: Go to the Downloads tab

Changelog for

FIsH

: previously used version <---> this version

Changelog for

TWRP-in-FIsH

device tree: previously used version <---> this version

Changelog for

TWRP

: v3.1.1-0

Summary

changelog (read the above FULL changelogs for details!):

Installer is now able to detect and run from within Android* (read the NOTES in the OP - topic "Installation (Android / no PC)"!)

Added the option to backup /system as an IMAGE* (read the following HINT!)

Using this new option is a bulletproof method to backup and restore in TWRP-in-FIsH because you have to keep in mind that FIsH is a giant and brutal hack and even when a usual backup & restore is proven to work fine I would recommend to use both backup methods - if you can.

HINT: This method requires an ext4 or exfat partition on your external SD card otherwise image backups will fail due to the file size.

[MENTION=6302635]sdembiske[/MENTION] reports success using the internal storage as target for the backup but keep in mind that if you do this you have to move that backup to your PC manually to ensure you have it by hand for the worst case.

Everything

is better now ;)

(.... TWRP updated, many FIsH improvements, added an option to backup /system as image,... read ALL the above changelogs!)

TWRP-in-FIsH-v3_LGG4_LL

Released: 2017-04-16

Download: here

Changelog: on github

Summary:

Big

speed improvements

adding model detection as property (ro.product.detection -> should be "success")

fixing unify detection

adding all known devices to unification

- these both above will fix issues where your device was not detected correctly in TWRP and fails to install a ZIP which requires this!

Installer:

./install.sh --check will give you the option to check if TWRP-in-FIsH works for your or not - without changing anything on your device.

TWRP-in-FIsH-v2.0_LGG4_LL

(as far as im able to remember.. i have changed so many things inside..)

Released: 2017-03-24

Changelog: on github

Summary:

TWRP-in-FIsH now has a meaningful package name (TWRP-in-FIsH-v2.0-BETA1_LGG4_LL.tgz) which reflects all required information

The installer is checking for the SDK level now instead of the Android release version! This means ANY Lollipop version will work without modifications of the installer

new: completely overworked WIDE parts of FIsH

In order to be more easy portable all variables users may need to adjust are moved to FIsH.porting

while FIsH.me contains global variables for FIsH a user/dev normally would

NOT

change.

The log has been enriched with some more useful information

The stopping of android services is now more aggressive

Apropos aggressive: now we use fuser to kill ALL processes before trying to unmount a disk (excluding init and ourself)

Another porting stuff was added: we extract the FISHFOOD but WITHOUT a possibly existing file </init>. When you prepare your own ramdisk it may or may not contain a file /init but we do not want to overwrite the current running /init by just cpio yet.

The reason is: it makes a difference in the Linux world to use cp or mv or cpio > to overwrite!

The short version: using mv is the best choice here. So we extract first without /init (if there is one) and then extract /init ONLY but to a different directory. Afterwards we use mv to overwrite the current /init with either an extracted /init or your own init name configured by the new FOODBIN variable.

Unfortunately this has not that positive effect I hoped but I leave it there because it is the way it should be done nevertheless.

Now FIsH also:

- checks the exec bit before it tries to start it! Im still thinking of adding a reboot if not.. but this could cause bootloops.. on the other hand doing nothing will leave the device in a unusuable state.. well it should more or less never happen though but.. :P

- save the current SELinux mode

- trying to restore the saved SELinux mode when something goes wrong (at the end this will make no sense but it doesnt hurt)

- umounts when a mount point is mounted ONLY

Besides that FIsH now comes with callmeFIsH - a caller script which gets executed at very first.

The only task callmeFIsH has is to prepare the whole FIsH to get started out of /system and then starting FIsH from /res. After this it immediately exists to not keep open tasks on /system.

Also new are some parts of the installer e.g. starting adb server first and then wait for a connected device before continue the installation.

The installer is keeping track of an older FIsH install and removes the previous one before as well

The installer also now giving a hint that you may have to change to PTP mode on your G4 to get detected

For completeness: Same TWRP version inside so nothing changed here..

During these changes I have renamed the package folder from openFIsH to

android_FIsH

. Please keep this in mind when you extract the FIsH ;)

So after you extract the BETA package you have to do

"cd

android_FIsH

"

instead.

TWRPinFIsH_v1.0

Released: 2017-03-18

Changelog:

first public release

.