Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Releases: pvliesdonk/device_philips_ppx620

v1.1

15 May 16:07
v1.1
a4ceeca
Compare
Choose a tag to compare

Please follow instructions from the README file to use.

This new build v1.1 includes

  • can backup the misc partition
    restoring this can save you from a bootloop.
  • includes nano text editor and sqlite3
    both accessible via the terminal or adb shell

Known issues:

  • No USB host (USB flash drives, keyboards, mouses)
    I had to make a choice between gadget mode (for ADB) and host mode and the first won.

    You can still use ADB, MTP and/or microSD cards to transfer files.
    Navigate via the trackpad.

Please report any other issues via the Issues tab.

Other notes:

OTA updates

Over-the-air updates stop working with a custom recovery. You cannot install the Philips OTA update zip via this recovery. You can modify the the update.zip file by removing the version compatibility check:
Inside the update.zip:

  • remove the file compatibility.zip
  • remove the first two lines of the script file META-INF/com/google/android/updater-script.

Alternatively, you can use TWRP to flash the pre-modified file update_1.1.01_nocompat.zip below which has these patches already in place. This will bring you system back to stock 1.1.01. A factory reset may be necessary if you heavily modified your system.
I will try to keep a patched zip of the most revent OTA in this location.

Keep recovery on boot

PPX620 recovers its original recovery on booting the system. To disable this behaviour, install 1-protectrecovery.zip via TWRP.

Getting root access

Install 2a-root.zip via TWRP will give you root access through ADB (both cable and/or network). Afterwards you can use ADB to make direct modifications to the system partition.

OpenGapps Google Apps

Get the OpenGapps zip from here. Use ARM64/9.0/pico.

Use Pico. Full is too big to flash, Aroma crashes. For tvstock, see below.

Installation can fail (without errors) due to OpenGapps thinking the PPX620 is a TV.
We can make this work by flashing

  • 3a-pregapps.zip -- this changes a property of the PPX620 from TV to Tablet
  • the OpenGapps zip
  • 3b-postgapps.zip -- this changes the property back again

Afterward you have to register your device with Google:
Find your Google Services Framework ID (e.g. via the DeviceID app and register your device at Google. It can take a couple of minutes before you can actually login to your Google account via the play store.

Altogether

I use TWRP to stage zip updates in the following order, the flash in one go:

  • update_1.x.yy_nocompat.zip -- flashes the stock OTA
  • 1-protectrecovery.zip -- protects the recovery from beting overwritten on next boot
  • 2a-root.zip -- gives root access via ADB
  • 3a-pregapps.zip -- change PPX620 characteristic to Tablet to prepare for OpenGapps
  • open_gapps-arm64-9.0-pico-xxxxyyzz.zip -- installs a minimal Google Apps
  • 3b-postgapps.zip -- restore characteristic to to TV only

Wipe Dalvik/Cache

LDAC

Patch 4-enable-ldac.zip enables the high quality LDAC codec over bluetooth.

Android TV

If you are in an experimental mood, you can play with AndroidTV.
Instead of the above, first flash OpenGapps TVStock zip.
Then apply 5-posttvgapps.zip, which turns on some missing AndroidTV features.
You can skip the remote pairing by using the back button on the airmote (via IR), but it usually crashes afterwards.
You also still need to register your device somehow.
I've had some form of succes by flashing this without factory reset on a system that was already registered for the regular GApps, then manually removing any updates on the Google Store.

Fully working beta

30 Apr 06:49
v1.0
d17347a
Compare
Choose a tag to compare

This release does everything I need it to and will remain unless bugs are reported.

Please follow instructions from the README file to use.

Known issues:

  • No USB host (USB flash drives, keyboards, mouses)
    I had to make a choice between gadget mode (for ADB) and host mode and the first won.

    You can still use ADB, MTP and/or microSD cards to transfer files.
    Navigate via the trackpad.

Please report any other issues via the Issues tab.

Working:

Everything I could think of.

Please report any other issues via the Issues tab.

Other notes:

OTA updates

Over-the-air updates stop working with a custom recovery. You cannot install the Philips OTA update zip via this recovery. You can modify the the update.zip file by removing the version compatibility check:
Inside the update.zip:

  • remove the file compatibility.zip
  • remove the first two lines of the script file META-INF/com/google/android/updater-script.

Alternatively, you can use TWRP to flash the pre-modified file update_1.0.32_nocompat.zip below which has these patches already in place. This will bring you system back to stock 1.0.32. A factory reset may be necessary if you heavily modified your system.
I will try to keep a patched zip of the most revent OTA in this location.

Keep recovery on boot

PPX620 recovers its original recovery on booting the system. To disable this behaviour, install 1_update-protectrecovery.zip via TWRP.

Getting root access

Install 2_update-root.zip via TWRP will give you root access through ADB (both cable and/or network). Afterwards you can use ADB to make direct modifications to the system partition.

OpenGapps Google Apps

Get the OpenGapps zip from here (ARM64/9.0).

The tvstock version flashes, but I cannot get it activated. Feel free to share your experience.

Other versions fail (without error) due to OpenGapps thinking the PPX620 is a TV.
We can make this work by flashing

  • 3_update-pregapps.zip -- this changes a property of the PPX620 from TV to Tablet
  • the OpenGapps zip
  • 4_update-postgapps.zip -- this changes the property back again

Afterward you have to register your device with Google:
Find your Google Services Framework ID (e.g. via the DeviceID app and register your device at Google. It can take a couple of minutes before you can actually login to your Google account via the play store.

Altogether

I use TWRP to stage zip updates in the following order, the flash in one go:

  • update_1.x.yy_nocompat.zip -- flashes the stock OTA
  • 1_update-protectrecovery.zip -- protects the recovery from beting overwritten on next boot
  • 2_update-root.zip -- gives root access via ADB
  • 3_update-pregapps.zip -- change PPX620 characteristic to Tablet to prepare for OpenGapps
  • open_gapps-arm64-9.0-pico-xxxxyyzz.zip -- installs a minimal Google Apps
  • 4_update-postgapps.zip -- restore characteristic to to TV

Wipe Dalvik/Cache

Alpha release

16 Mar 12:51
v0.5
Compare
Choose a tag to compare

First release I consider 'working'.
Please follow instructions from the README file to use.

Known issues:

  • ADB doesn't work (Issue #1)
  • Touchpad doesn't work (Issue #2)
  • Wonky GApps install (see below)

Working:

  • Using usb mouse/keyboard work.
  • Mounting/editing system partition
  • Mounting USB sticks (also with keyboard via USB hub)
  • backup/recovery seems to work

Untested:

  • Anythin Magisk or Xposed related

Other notes:

  • PPX620 recovers original recovery on booting the system. This can be disabled by renaming /system/bin/install-recovery.sh to prevent it from running. (e.g. via File Manager)
  • You cannot install the Philips OTA update zip via this recovery. You can modify the the update.zip file by removing the file compatibility.zip file inside the update.zip and removing the first two lines of the script file META-INF/com/google/android/updater-script

OpenGapps

Cannot flash OpenGapps, due to identification of PPX620 as TV. Flashing Opengapps TVStock does work, but first time setup doesn't run. Manually copying some of the GMS files does work however. Still looking into a better solution.

My current solutions is to take the gapps.tar.gz file linked in this release and manually install it in the system partition. Mount system as read-write, then open a terminal

  cd /system/
  tar xzvpf /usb-otg/gapps.tar.gz

This should automatically extract all files in their required places. Reboot to system.

Find your Google Services Framework ID (e.g. via the DeviceID app and register your device at Google. It can take a couple of minutes before you can actually login to your Google account via the play store.

v0.4

12 Mar 18:51
v0.4
Compare
Choose a tag to compare
v0.4 Pre-release
Pre-release

Working mostly, but with no ADB.
Seems like the stock kernel doesn't support functionfs, so I must convert the ffs init.rc scripts back to configfs

v0.3

11 Mar 10:21
v0.3
50c0ba7
Compare
Choose a tag to compare
v0.3 Pre-release
Pre-release

Upgraded kernel and device tree to the versions included in firmware v1.0.27beta

Seond try

06 Mar 14:57
v0.2
Compare
Choose a tag to compare
Seond try Pre-release
Pre-release

Hopefully fixed the fstab. Have not yet tried.

First pre-release

06 Mar 11:35
v0.1
Compare
Choose a tag to compare
First pre-release Pre-release
Pre-release

Version that actually boots.

Known issues:

  • fstab problems, therefore no correct partitions
  • touchpad doesn't work (or only works when a mouse is also inserted)

This release should be seen as a proof of concept.