View Single Post
Old 02-09-2020, 01:48 PM   #21
Peripathetic
Enthusiast
Peripathetic composes epic poetry in binary.Peripathetic composes epic poetry in binary.Peripathetic composes epic poetry in binary.Peripathetic composes epic poetry in binary.Peripathetic composes epic poetry in binary.Peripathetic composes epic poetry in binary.Peripathetic composes epic poetry in binary.Peripathetic composes epic poetry in binary.Peripathetic composes epic poetry in binary.Peripathetic composes epic poetry in binary.Peripathetic composes epic poetry in binary.
 
Posts: 38
Karma: 90402
Join Date: Feb 2019
Device: Tolino Shine 3
The Modified Tolino App & Firmware Patch

The Modified Tolino App

The APK file with all the modifications as described in this thread can be downloaded here:


Below are a couple of annotated screenshots showing some of the changes, and possible scope for improvement in the future:

Click image for larger version

Name:	Home Screen Annotated.png
Views:	401
Size:	81.6 KB
ID:	177030 Click image for larger version

Name:	Bookmark Hidden Annotated.png
Views:	331
Size:	112.2 KB
ID:	177031 Click image for larger version

Name:	Bookmark Visible Annotated.png
Views:	306
Size:	116.9 KB
ID:	177032 Click image for larger version

Name:	Button for Refresh Annotated.png
Views:	323
Size:	52.3 KB
ID:	177033

Firmware Patch Installer

A convenient way to apply all the changes I made is to use an installable update file. However, the file is too large to store here, so I have to host it externally. If there's a problem accessing it, let me know.

  1. Boot into TWRP recovery.
  2. Flash the official firmware update 13.2.1.
  3. Flash the installable update I prepared, patch_installer_tolino_v#.zip.
  4. Wipe cache and Dalvik cache, reboot.
Customizing the Patch

If you want to make your own patch, all the sources for what I did are already included inside the ZIP file. In particular, have a look at:
  • META-INF/com/google/android/updater-script
    The script that runs the installation process.
  • diff/*.diff
    GNU diff patches against all the modified files
  • diff/system_app_EPubProd.apk/*.bat
    Batch scripts that automate each step of modifying the EPubProd APK file
  • build_patch_installer.bat
    Batch script to build the installable ZIP file (note: signing the ZIP is optional, TWRP will accept it regardless)
Making changes to the tools requires some utilities. If you don't have them already, feel free to download the archive 7za-adb-apktool-diff-fastboot-patch-signapk-zipalign.zip from the shared folder on Mega.nz. You'll also need Java as mentioned before.

Mandatory Disclaimer

The files work well on my Tolino Shine 3, should be safe to use, and if you have a backup of your SD card it's always possible to restore things to their previous state. However, please understand that you assume all responsibility for using the files and instructions I am sharing.

I will not be liable for any damage, neither should you expect any support from me or anybody else in case of problems. If you disagree or have any doubts, do not use these files.


Have fun, and please share any interesting results of your modifications.
Peripathetic is offline   Reply With Quote