<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pine64.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Moobythegoldensock</id>
	<title>PINE64 - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pine64.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Moobythegoldensock"/>
	<link rel="alternate" type="text/html" href="https://wiki.pine64.org/wiki/Special:Contributions/Moobythegoldensock"/>
	<updated>2026-04-13T19:44:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2_FAQ&amp;diff=20104</id>
		<title>PineTab2 FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2_FAQ&amp;diff=20104"/>
		<updated>2023-07-19T00:39:15Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a collection of tutorials and frequently asked questions for the PineTab2.&lt;br /&gt;
&lt;br /&gt;
== Tutorials ==&lt;br /&gt;
&lt;br /&gt;
=== Putting the Device into Maskrom Mode ===&lt;br /&gt;
&lt;br /&gt;
To recover from a bad eMMC/SPI flash, plug the included debug adapter into the charging USB-C port and switch the white switch to its &amp;quot;ON&amp;quot; position to bypass eMMC/SPI boot. This tries to boot from SD, and if no SD is inserted, enters Maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Networking using USB ===&lt;br /&gt;
&lt;br /&gt;
Until the internal BES2600 WIFI has a stable driver, the community suggests that you connect using USB. This section summarizes the more detailed information in [[File:PineTab2_USB_Guide.pdf]], which covers connecting via [[#Performing USB Tethering with an Android Phone|a tethered Android phone]], [[#Selecting a USB WIFI Adapter|a suitable USB WIFI adapter]], a wired USB Ethernet adapter, and a tethered iOS device.&lt;br /&gt;
&lt;br /&gt;
==== Selecting a USB WIFI Adapter ====&lt;br /&gt;
&lt;br /&gt;
Insert a supported WIFI dongle in the upper USB port, using a USB-C to USB-A adapter as necessary. As a general rule, single state adapters are recommended. Even better, select one from this list: https://github.com/morrownr/USB-WiFi/blob/main/home/The_Short_List.md&lt;br /&gt;
&lt;br /&gt;
If you must use a multi-state adapter and it isn't recognized by the kernel, you can try ejecting the device.  This ''should'' force it back into adapter mode.  If this does not work, you can try installing [https://man.archlinux.org/man/usb_modeswitch.1.en usb_modeswitch] to troubleshoot.  You will need to temporarily use another method to get internet (such as phone tethering below) or load the package on an SD card to install it.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an Android Phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use an Android phone as a network adapter.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* An Android phone&lt;br /&gt;
* A USB OTG adapter (or the USB-C to USB-C cable)&lt;br /&gt;
* Some knowledge of your variation of Android&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug in the device to the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your android phone, open the settings app (specifics from here may vary on version)&lt;br /&gt;
** Navigate to &amp;quot;Network &amp;amp; Internet&amp;quot;&lt;br /&gt;
** Navigate to &amp;quot;Hotspot &amp;amp; Tethering&amp;quot;&lt;br /&gt;
** Tap on &amp;quot;USB Tethering&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an iPhone ====&lt;br /&gt;
&lt;br /&gt;
Prerequisite:&lt;br /&gt;
&lt;br /&gt;
On the iPhone make sure that Settings -&amp;gt; Personal Hotspot -&amp;gt; Allow others to join is turned on.&lt;br /&gt;
&lt;br /&gt;
# Use an Lightning (Apple) to USB-C (Pinetab2) cable to connect the devices.&lt;br /&gt;
# In the Pinetab make sure to use the USB-C port next to the volume keys.&lt;br /&gt;
# Once the cable is connected open your iPhone. &lt;br /&gt;
# You will see a request to trust the new device. Trust it.&lt;br /&gt;
# Confirm by typing in your Apple Device PIN&lt;br /&gt;
&lt;br /&gt;
This should be it. The Pinetab2 will show you the new device and the network connects to `Wired connection 1`&lt;br /&gt;
&lt;br /&gt;
Make sure to open the iPhone once you reconnect.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with a KaiOS phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use a KaiOS phone for mobile Internet use with your PineTab2.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* A KaiOS phone&lt;br /&gt;
* A USB OTG adapter (hama #00200311 tested)&lt;br /&gt;
* Your device’s charging cable&lt;br /&gt;
* Some knowledge of your KaiOS phone&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug the device into the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your KaiOS phone, open settings (specifics from here may vary on version)&lt;br /&gt;
* Navigate to &amp;quot;Network &amp;amp; Connectivity&amp;quot;&lt;br /&gt;
* Navigate to &amp;quot;Internet Sharing&amp;quot;&lt;br /&gt;
* Select &amp;quot;USB&amp;quot; and select On under USB tethering (Note: This option will be greyed out unless connected to the PineTab2)&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2 and it should show a wired connection icon.&lt;br /&gt;
&lt;br /&gt;
=== Screen Rotation ===&lt;br /&gt;
==== Auto-rotating the Screen ====&lt;br /&gt;
Auto-rotation is handled by your operating system. However, the following general steps should work on distributions that support iio-sensor-proxy:&lt;br /&gt;
&lt;br /&gt;
* To enable auto-rotation, install the iio-sensor-proxy package: &amp;lt;code&amp;gt;sudo pacman -S iio-sensor-proxy&amp;lt;/code&amp;gt; and reboot.&lt;br /&gt;
* Some desktop environments, such as KDE, default to only allowing screen rotation while in tablet mode (detached from the case.)  To enable it with the keyboard attached, go to System Settings--&amp;gt;Display and Monitor--&amp;gt;Display Configuration--&amp;gt;Uncheck &amp;quot;Only when in tablet mode&amp;quot; and click &amp;quot;Apply.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Rotating the Login Screen ====&lt;br /&gt;
Login screen orientation is handled by your operating system.  Below are the instructions for the SDDM login screen that ships with the factory image:&lt;br /&gt;
&lt;br /&gt;
By default, the login screen is set to display in portrait mode.  If you wish to change it to landscape mode to match the keyboard while in the case, use the following steps ([https://forum.pine64.org/showthread.php?tid=18313 Credit to chzbacon]) :&lt;br /&gt;
&lt;br /&gt;
* Install necessary software: &amp;lt;code&amp;gt;sudo pacman -S xorg-xrandr xorg-xinput&amp;lt;/code&amp;gt;&lt;br /&gt;
* Edit /usr/share/sddm/scripts/Xsetup.  For example, using nano: &amp;lt;code&amp;gt;sudo nano /usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt; and add the following two lines to the end of file:&lt;br /&gt;
** &amp;lt;code&amp;gt;xrandr --output DSI-1 --mode 800x1280 --rate 60.00 --rotate right&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;xinput set-prop &amp;quot;pointer:Goodix Capacitive TouchScreen&amp;quot; --type=float &amp;quot;Coordinate Transformation Matrix&amp;quot; 0 1 0 -1 0 1 0 0 1&amp;lt;/code&amp;gt;&lt;br /&gt;
* Now edit /etc/sddm.conf.d/sddm.conf, for example: &amp;lt;code&amp;gt;sudo nano /etc/sddm.conf.d/sddm.conf&amp;lt;/code&amp;gt; and add the following two lines (case sensitive):&lt;br /&gt;
** &amp;lt;code&amp;gt;[X11]&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;DisplayCommand=/usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt;&lt;br /&gt;
*Reboot, and your login screen should now display in landscape mode.&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
&lt;br /&gt;
==== How does the PineTab2 compare to the Pinebook Pro? ====&lt;br /&gt;
It's slower, as it is intended to be a successor to the PineTab1, not the Pinebook Pro. It'll still handle web browsing, video playback and documents fine though.&lt;br /&gt;
&lt;br /&gt;
==== What is the Performance of the PineTab2 compared to the PineTab-V? ====&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
==== I am a casual user with minimal Linux experience. Is this device for me? ====&lt;br /&gt;
The PineTab 2 is considered early release at this point, and the community is expected to develop support for it over time. For example, the [[PineTab2#Known_Issues]] page details several features that are not yet fully working. You may at times need to troubleshoot this device and some development experience is ideal if you want to realize the tablet's full potential at this stage. &lt;br /&gt;
&lt;br /&gt;
For these reasons, the PineTab2 may not be the ideal device for casual users. However, if you feel up to the challenge and want to learn while joining a great community, you are more than welcome! Please join one of our [[Main_Page#Chat_Platforms|chat platforms]]: the community is always happy to help!&lt;br /&gt;
&lt;br /&gt;
==== What works, what doesn't? ====&lt;br /&gt;
&lt;br /&gt;
Please see [[PineTab2#Known_Issues]].&lt;br /&gt;
&lt;br /&gt;
==== I only know Python, can I help with drivers? ====&lt;br /&gt;
Yes, if you learn C first. Otherwise, no. (This response isn't trying to be snarky, this question was asked so many times it really needed to be here.)&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
==== Does the Tablet support a Pen? ====&lt;br /&gt;
No, adding a digitiser for pen inputs would make the price too high.&lt;br /&gt;
&lt;br /&gt;
==== Is there SPI Flash? ====&lt;br /&gt;
Yes! A 128 Mbit flash chip (sk25lp128) is reportedly present on production devices.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
==== What operating systems are currently available? ====&lt;br /&gt;
The PineTab2 uses ARM operating systems.  Please see [[PineTab2 Releases]] for a current list of software releases.&lt;br /&gt;
&lt;br /&gt;
==== How can I install an operating system on the SD card / eMMC? ====&lt;br /&gt;
&lt;br /&gt;
See [[PinePhone Installation Instructions|Installation Instructions]].&lt;br /&gt;
&lt;br /&gt;
==== Can I run Android on it? ====&lt;br /&gt;
Theoretically yes, practically there's little chance anyone wants to make a well-supported Android build for this device. If you're looking for an Android tablet, buy any mainstream tablet, you'll get better value for your money.&lt;br /&gt;
&lt;br /&gt;
However, if you just need to run a few simple android apps, you might want to have a look at [https://docs.waydro.id/usage/install-on-desktops Waydroid] which can be installed on Arch Linux ARM using the following command: &amp;lt;code&amp;gt;sudo pacman -S waydroid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Booting ===&lt;br /&gt;
&lt;br /&gt;
==== What's the boot order for SD cards and eMMC? ====&lt;br /&gt;
The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card.  Please see the [[PinePhone Installation Instructions#PineTab2|boot priority]] page for more detailed information.&lt;br /&gt;
&lt;br /&gt;
==== Can I install a different OS on my PineTab2? ====&lt;br /&gt;
&lt;br /&gt;
Yes! While all PineTab2 come with an OS preinstalled, you are free to use any OS on the integrated storage (the eMMC) or an SD card.  See [[PinePhone Installation Instructions|Installation Instructions]] and [[PineTab2 Releases]] for how to install them.&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
&lt;br /&gt;
==== The Bluetooth isn't working ====&lt;br /&gt;
The BES2600 Bluetooth driver still needs to be implemented. Please see the [[#Networking Using USB]] section above for a workaround.&lt;br /&gt;
&lt;br /&gt;
=== Wi-Fi ===&lt;br /&gt;
&lt;br /&gt;
==== The Wi-Fi isn't working ====&lt;br /&gt;
The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing: at the moment it causes system crashes. Please see the [[#Networking Using USB]] section above for a workaround.&lt;br /&gt;
&lt;br /&gt;
=== Video ===&lt;br /&gt;
&lt;br /&gt;
==== Can PineTab2 play back DRM content such as Netflix? ====&lt;br /&gt;
Yes, though the specific implementation depends on your installed operating system.&lt;br /&gt;
&lt;br /&gt;
On the default Arch Linux Arm: Widevine, using the `widevine-aarch64` package in the AUR is working, and was demonstrated on the PineTab2 using Paramount+ and Disney+. Install it (`yay -S widevine-aarch64`), run the included register script to get Firefox to recognize it, and it should start working. &lt;br /&gt;
&lt;br /&gt;
=== Shipping ===&lt;br /&gt;
==== I did not receive an order confirmation ====&lt;br /&gt;
Check your &amp;quot;spam&amp;quot; folder. It was reported that some users did not receive an order confirmation. You will also still get a shipping notification when the device ships out, even if you didn't get an order confirmation email.&lt;br /&gt;
&lt;br /&gt;
==== When does the tablet ship? ====&lt;br /&gt;
For up-to-date information when the shipping date is estimated, see the edits in the corresponding forum thread.&lt;br /&gt;
&lt;br /&gt;
==== It is shipping day but I did not receive a shipping notification ====&lt;br /&gt;
For shipments with DHL, the shipping notification is sent out as soon as the packet reached DHL's warehouse and scanned (it can take up to 24 hours after scanning after the shipment is added to DHL's database). For all other shipments (via Ascendia) the notification is sent out sometime after shipment.&lt;br /&gt;
&lt;br /&gt;
==== What about import taxes? =====&lt;br /&gt;
Import taxes have to be paid by the buyer depending on the jurisdiction of the country of the buyer. Please check with your local laws if there are import taxes to pay and if so how to do the tax filing.&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2_FAQ&amp;diff=20103</id>
		<title>PineTab2 FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2_FAQ&amp;diff=20103"/>
		<updated>2023-07-19T00:37:53Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: Formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a collection of tutorials and frequently asked questions for the PineTab2.&lt;br /&gt;
&lt;br /&gt;
== Tutorials ==&lt;br /&gt;
&lt;br /&gt;
=== Putting the Device into Maskrom Mode ===&lt;br /&gt;
&lt;br /&gt;
To recover from a bad eMMC/SPI flash, plug the included debug adapter into the charging USB-C port and switch the white switch to its &amp;quot;ON&amp;quot; position to bypass eMMC/SPI boot. This tries to boot from SD, and if no SD is inserted, enters Maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Networking using USB ===&lt;br /&gt;
&lt;br /&gt;
Until the internal BES2600 WIFI has a stable driver, the community suggests that you connect using USB. This section summarizes the more detailed information in [[File:PineTab2_USB_Guide.pdf]], which covers connecting via [[#Performing USB Tethering with an Android Phone|a tethered Android phone]], [[#Selecting a USB WIFI Adapter|a suitable USB WIFI adapter]], a wired USB Ethernet adapter, and a tethered iOS device.&lt;br /&gt;
&lt;br /&gt;
==== Selecting a USB WIFI Adapter ====&lt;br /&gt;
&lt;br /&gt;
Insert a supported WIFI dongle in the upper USB port, using a USB-C to USB-A adapter as necessary. As a general rule, single state adapters are recommended. Even better, select one from this list: https://github.com/morrownr/USB-WiFi/blob/main/home/The_Short_List.md&lt;br /&gt;
&lt;br /&gt;
If you must use a multi-state adapter and it isn't recognized by the kernel, you can try ejecting the device.  This ''should'' force it back into adapter mode.  If this does not work, you can try installing [https://man.archlinux.org/man/usb_modeswitch.1.en usb_modeswitch] to troubleshoot.  You will need to temporarily use another method to get internet (such as phone tethering below) or load the package on an SD card to install it.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an Android Phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use an Android phone as a network adapter.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* An Android phone&lt;br /&gt;
* A USB OTG adapter (or the USB-C to USB-C cable)&lt;br /&gt;
* Some knowledge of your variation of Android&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug in the device to the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your android phone, open the settings app (specifics from here may vary on version)&lt;br /&gt;
** Navigate to &amp;quot;Network &amp;amp; Internet&amp;quot;&lt;br /&gt;
** Navigate to &amp;quot;Hotspot &amp;amp; Tethering&amp;quot;&lt;br /&gt;
** Tap on &amp;quot;USB Tethering&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an iPhone ====&lt;br /&gt;
&lt;br /&gt;
Prerequisite:&lt;br /&gt;
&lt;br /&gt;
On the iPhone make sure that Settings -&amp;gt; Personal Hotspot -&amp;gt; Allow others to join is turned on.&lt;br /&gt;
&lt;br /&gt;
# Use an Lightning (Apple) to USB-C (Pinetab2) cable to connect the devices.&lt;br /&gt;
# In the Pinetab make sure to use the USB-C port next to the volume keys.&lt;br /&gt;
# Once the cable is connected open your iPhone. &lt;br /&gt;
# You will see a request to trust the new device. Trust it.&lt;br /&gt;
# Confirm by typing in your Apple Device PIN&lt;br /&gt;
&lt;br /&gt;
This should be it. The Pinetab2 will show you the new device and the network connects to `Wired connection 1`&lt;br /&gt;
&lt;br /&gt;
Make sure to open the iPhone once you reconnect.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with a KaiOS phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use a KaiOS phone for mobile Internet use with your PineTab2.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* A KaiOS phone&lt;br /&gt;
* A USB OTG adapter (hama #00200311 tested)&lt;br /&gt;
* Your device’s charging cable&lt;br /&gt;
* Some knowledge of your KaiOS phone&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug the device into the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your KaiOS phone, open settings (specifics from here may vary on version)&lt;br /&gt;
* Navigate to &amp;quot;Network &amp;amp; Connectivity&amp;quot;&lt;br /&gt;
* Navigate to &amp;quot;Internet Sharing&amp;quot;&lt;br /&gt;
* Select &amp;quot;USB&amp;quot; and select On under USB tethering (Note: This option will be greyed out unless connected to the PineTab2)&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2 and it should show a wired connection icon.&lt;br /&gt;
&lt;br /&gt;
=== Screen Rotation ===&lt;br /&gt;
==== Auto-rotating the Screen ====&lt;br /&gt;
Auto-rotation is handled by your operating system. However, the following general steps should work on distributions that support iio-sensor-proxy:&lt;br /&gt;
&lt;br /&gt;
* To enable auto-rotation, install the iio-sensor-proxy package: &amp;lt;code&amp;gt;sudo pacman -S iio-sensor-proxy&amp;lt;/code&amp;gt; and reboot.&lt;br /&gt;
* Some desktop environments, such as KDE, default to only allowing screen rotation while in tablet mode (detached from the case.)  To enable it with the keyboard attached, go to System Settings--&amp;gt;Display and Monitor--&amp;gt;Display Configuration--&amp;gt;Uncheck &amp;quot;Only when in tablet mode&amp;quot; and click &amp;quot;Apply.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Rotating the Login Screen ====&lt;br /&gt;
Login screen orientation is handled by your operating system.  Below are the instructions for the SDDM login screen that ships with the factory image:&lt;br /&gt;
&lt;br /&gt;
By default, the login screen is set to display in portrait mode.  If you wish to change it to landscape mode to match the keyboard while in the case, use the following steps ([https://forum.pine64.org/showthread.php?tid=18313 Credit to chzbacon]) :&lt;br /&gt;
&lt;br /&gt;
* Install necessary software: &amp;lt;code&amp;gt;sudo pacman -S xorg-xrandr xorg-xinput&amp;lt;/code&amp;gt;&lt;br /&gt;
* Edit /usr/share/sddm/scripts/Xsetup.  For example, using nano: &amp;lt;code&amp;gt;sudo nano /usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt; and add the following two lines to the end of file:&lt;br /&gt;
** &amp;lt;code&amp;gt;xrandr --output DSI-1 --mode 800x1280 --rate 60.00 --rotate right&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;xinput set-prop &amp;quot;pointer:Goodix Capacitive TouchScreen&amp;quot; --type=float &amp;quot;Coordinate Transformation Matrix&amp;quot; 0 1 0 -1 0 1 0 0 1&amp;lt;/code&amp;gt;&lt;br /&gt;
* Now edit /etc/sddm.conf.d/sddm.conf, for example: &amp;lt;code&amp;gt;sudo nano /etc/sddm.conf.d/sddm.conf&amp;lt;/code&amp;gt; and add the following two lines (case sensitive):&lt;br /&gt;
** &amp;lt;code&amp;gt;[X11]&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;DisplayCommand=/usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt;&lt;br /&gt;
*Reboot, and your login screen should now display in landscape mode.&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
&lt;br /&gt;
==== How does the PineTab2 compare to the Pinebook Pro? ====&lt;br /&gt;
It's slower, as it is intended to be a successor to the PineTab1, not the Pinebook Pro. It'll still handle web browsing, video playback and documents fine though.&lt;br /&gt;
&lt;br /&gt;
==== What is the Performance of the PineTab2 compared to the PineTab-V? ====&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
==== I am a casual user with minimal Linux experience. Is this device for me? ====&lt;br /&gt;
The PineTab 2 is considered early release at this point, and the community is expected to develop support for it over time. For example, the [[PineTab2#Known_Issues]] page details several features that are not yet fully working. You may at times need to troubleshoot this device and some development experience is ideal if you want to realize the tablet's full potential at this stage. &lt;br /&gt;
&lt;br /&gt;
For these reasons, the PineTab2 may not be the ideal device for casual users. However, if you feel up to the challenge and want to learn while joining a great community, you are more than welcome!&lt;br /&gt;
&lt;br /&gt;
Please join one of our [[Main_Page#Chat_Platforms|chat platforms]], the community is always happy to help!&lt;br /&gt;
&lt;br /&gt;
==== What works, what doesn't? ====&lt;br /&gt;
&lt;br /&gt;
Please see [[PineTab2#Known_Issues]].&lt;br /&gt;
&lt;br /&gt;
==== I only know Python, can I help with drivers? ====&lt;br /&gt;
Yes, if you learn C first. Otherwise, no. (This response isn't trying to be snarky, this question was asked so many times it really needed to be here.)&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
==== Does the Tablet support a Pen? ====&lt;br /&gt;
No, adding a digitiser for pen inputs would make the price too high.&lt;br /&gt;
&lt;br /&gt;
==== Is there SPI Flash? ====&lt;br /&gt;
Yes! A 128 Mbit flash chip (sk25lp128) is reportedly present on production devices.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
==== What operating systems are currently available? ====&lt;br /&gt;
The PineTab2 uses ARM operating systems.  Please see [[PineTab2 Releases]] for a current list of software releases.&lt;br /&gt;
&lt;br /&gt;
==== How can I install an operating system on the SD card / eMMC? ====&lt;br /&gt;
&lt;br /&gt;
See [[PinePhone Installation Instructions|Installation Instructions]].&lt;br /&gt;
&lt;br /&gt;
==== Can I run Android on it? ====&lt;br /&gt;
Theoretically yes, practically there's little chance anyone wants to make a well-supported Android build for this device. If you're looking for an Android tablet, buy any mainstream tablet, you'll get better value for your money.&lt;br /&gt;
&lt;br /&gt;
However, if you just need to run a few simple android apps, you might want to have a look at [https://docs.waydro.id/usage/install-on-desktops Waydroid] which can be installed on Arch Linux ARM using the following command: &amp;lt;code&amp;gt;sudo pacman -S waydroid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Booting ===&lt;br /&gt;
&lt;br /&gt;
==== What's the boot order for SD cards and eMMC? ====&lt;br /&gt;
The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card.  Please see the [[PinePhone Installation Instructions#PineTab2|boot priority]] page for more detailed information.&lt;br /&gt;
&lt;br /&gt;
==== Can I install a different OS on my PineTab2? ====&lt;br /&gt;
&lt;br /&gt;
Yes! While all PineTab2 come with an OS preinstalled, you are free to use any OS on the integrated storage (the eMMC) or an SD card.  See [[PinePhone Installation Instructions|Installation Instructions]] and [[PineTab2 Releases]] for how to install them.&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
&lt;br /&gt;
==== The Bluetooth isn't working ====&lt;br /&gt;
The BES2600 Bluetooth driver still needs to be implemented. Please see the [[#Networking Using USB]] section above for a workaround.&lt;br /&gt;
&lt;br /&gt;
=== Wi-Fi ===&lt;br /&gt;
&lt;br /&gt;
==== The Wi-Fi isn't working ====&lt;br /&gt;
The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing: at the moment it causes system crashes. Please see the [[#Networking Using USB]] section above for a workaround.&lt;br /&gt;
&lt;br /&gt;
=== Video ===&lt;br /&gt;
&lt;br /&gt;
==== Can PineTab2 play back DRM content such as Netflix? ====&lt;br /&gt;
Yes, though the specific implementation depends on your installed operating system.&lt;br /&gt;
&lt;br /&gt;
On the default Arch Linux Arm: Widevine, using the `widevine-aarch64` package in the AUR is working, and was demonstrated on the PineTab2 using Paramount+ and Disney+. Install it (`yay -S widevine-aarch64`), run the included register script to get Firefox to recognize it, and it should start working. &lt;br /&gt;
&lt;br /&gt;
=== Shipping ===&lt;br /&gt;
==== I did not receive an order confirmation ====&lt;br /&gt;
Check your &amp;quot;spam&amp;quot; folder. It was reported that some users did not receive an order confirmation. You will also still get a shipping notification when the device ships out, even if you didn't get an order confirmation email.&lt;br /&gt;
&lt;br /&gt;
==== When does the tablet ship? ====&lt;br /&gt;
For up-to-date information when the shipping date is estimated, see the edits in the corresponding forum thread.&lt;br /&gt;
&lt;br /&gt;
==== It is shipping day but I did not receive a shipping notification ====&lt;br /&gt;
For shipments with DHL, the shipping notification is sent out as soon as the packet reached DHL's warehouse and scanned (it can take up to 24 hours after scanning after the shipment is added to DHL's database). For all other shipments (via Ascendia) the notification is sent out sometime after shipment.&lt;br /&gt;
&lt;br /&gt;
==== What about import taxes? =====&lt;br /&gt;
Import taxes have to be paid by the buyer depending on the jurisdiction of the country of the buyer. Please check with your local laws if there are import taxes to pay and if so how to do the tax filing.&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2_FAQ&amp;diff=20102</id>
		<title>PineTab2 FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2_FAQ&amp;diff=20102"/>
		<updated>2023-07-19T00:35:19Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: Formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a collection of tutorials and frequently asked questions for the PineTab2.&lt;br /&gt;
&lt;br /&gt;
== Tutorials ==&lt;br /&gt;
&lt;br /&gt;
=== Putting the Device into Maskrom Mode ===&lt;br /&gt;
&lt;br /&gt;
To recover from a bad eMMC/SPI flash, plug the included debug adapter into the charging USB-C port and switch the white switch to its &amp;quot;ON&amp;quot; position to bypass eMMC/SPI boot. This tries to boot from SD, and if no SD is inserted, enters Maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Networking using USB ===&lt;br /&gt;
&lt;br /&gt;
Until the internal BES2600 WIFI has a stable driver, the community suggests that you connect using USB. This section summarizes the more detailed information in [[File:PineTab2_USB_Guide.pdf]], which covers connecting via [[#Performing USB Tethering with an Android Phone|a tethered Android phone]], [[#Selecting a USB WIFI Adapter|a suitable USB WIFI adapter]], a wired USB Ethernet adapter, and a tethered iOS device.&lt;br /&gt;
&lt;br /&gt;
==== Selecting a USB WIFI Adapter ====&lt;br /&gt;
&lt;br /&gt;
Insert a supported WIFI dongle in the upper USB port, using a USB-C to USB-A adapter as necessary. As a general rule, single state adapters are recommended. Even better, select one from this list: https://github.com/morrownr/USB-WiFi/blob/main/home/The_Short_List.md&lt;br /&gt;
&lt;br /&gt;
If you must use a multi-state adapter and it isn't recognized by the kernel, you can try ejecting the device.  This ''should'' force it back into adapter mode.  If this does not work, you can try installing [https://man.archlinux.org/man/usb_modeswitch.1.en usb_modeswitch] to troubleshoot.  You will need to temporarily use another method to get internet (such as phone tethering below) or load the package on an SD card to install it.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an Android Phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use an Android phone as a network adapter.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* An Android phone&lt;br /&gt;
* A USB OTG adapter (or the USB-C to USB-C cable)&lt;br /&gt;
* Some knowledge of your variation of Android&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug in the device to the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your android phone, open the settings app (specifics from here may vary on version)&lt;br /&gt;
** Navigate to &amp;quot;Network &amp;amp; Internet&amp;quot;&lt;br /&gt;
** Navigate to &amp;quot;Hotspot &amp;amp; Tethering&amp;quot;&lt;br /&gt;
** Tap on &amp;quot;USB Tethering&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an iPhone ====&lt;br /&gt;
&lt;br /&gt;
Prerequisite:&lt;br /&gt;
&lt;br /&gt;
On the iPhone make sure that Settings -&amp;gt; Personal Hotspot -&amp;gt; Allow others to join is turned on.&lt;br /&gt;
&lt;br /&gt;
# Use an Lightning (Apple) to USB-C (Pinetab2) cable to connect the devices.&lt;br /&gt;
# In the Pinetab make sure to use the USB-C port next to the volume keys.&lt;br /&gt;
# Once the cable is connected open your iPhone. &lt;br /&gt;
# You will see a request to trust the new device. Trust it.&lt;br /&gt;
# Confirm by typing in your Apple Device PIN&lt;br /&gt;
&lt;br /&gt;
This should be it. The Pinetab2 will show you the new device and the network connects to `Wired connection 1`&lt;br /&gt;
&lt;br /&gt;
Make sure to open the iPhone once you reconnect.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with a KaiOS phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use a KaiOS phone for mobile Internet use with your PineTab2.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* A KaiOS phone&lt;br /&gt;
* A USB OTG adapter (hama #00200311 tested)&lt;br /&gt;
* Your device’s charging cable&lt;br /&gt;
* Some knowledge of your KaiOS phone&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug the device into the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your KaiOS phone, open settings (specifics from here may vary on version)&lt;br /&gt;
* Navigate to &amp;quot;Network &amp;amp; Connectivity&amp;quot;&lt;br /&gt;
* Navigate to &amp;quot;Internet Sharing&amp;quot;&lt;br /&gt;
* Select &amp;quot;USB&amp;quot; and select On under USB tethering (Note: This option will be greyed out unless connected to the PineTab2)&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2 and it should show a wired connection icon.&lt;br /&gt;
&lt;br /&gt;
=== Screen Rotation ===&lt;br /&gt;
==== Auto-rotating the Screen ====&lt;br /&gt;
Auto-rotation is handled by your operating system. However, the following general steps should work on distributions that support iio-sensor-proxy:&lt;br /&gt;
&lt;br /&gt;
* To enable auto-rotation, install the iio-sensor-proxy package: &amp;lt;code&amp;gt;sudo pacman -S iio-sensor-proxy&amp;lt;/code&amp;gt; and reboot.&lt;br /&gt;
* Some desktop environments, such as KDE, default to only allowing screen rotation while in tablet mode (detached from the case.)  To enable it with the keyboard attached, go to System Settings--&amp;gt;Display and Monitor--&amp;gt;Display Configuration--&amp;gt;Uncheck &amp;quot;Only when in tablet mode&amp;quot; and click &amp;quot;Apply.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Rotating the Login Screen ====&lt;br /&gt;
Login screen orientation is handled by your operating system.  Below are the instructions for the SDDM login screen that ships with the factory image:&lt;br /&gt;
&lt;br /&gt;
By default, the login screen is set to display in portrait mode.  If you wish to change it to landscape mode to match the keyboard while in the case, use the following steps ([https://forum.pine64.org/showthread.php?tid=18313 Credit to chzbacon]) :&lt;br /&gt;
&lt;br /&gt;
* Install necessary software: &amp;lt;code&amp;gt;sudo pacman -S xorg-xrandr xorg-xinput&amp;lt;/code&amp;gt;&lt;br /&gt;
* Edit /usr/share/sddm/scripts/Xsetup.  For example, using nano: &amp;lt;code&amp;gt;sudo nano /usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt; and add the following two lines to the end of file:&lt;br /&gt;
** &amp;lt;code&amp;gt;xrandr --output DSI-1 --mode 800x1280 --rate 60.00 --rotate right&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;xinput set-prop &amp;quot;pointer:Goodix Capacitive TouchScreen&amp;quot; --type=float &amp;quot;Coordinate Transformation Matrix&amp;quot; 0 1 0 -1 0 1 0 0 1&amp;lt;/code&amp;gt;&lt;br /&gt;
* Now edit /etc/sddm.conf.d/sddm.conf, for example: &amp;lt;code&amp;gt;sudo nano /etc/sddm.conf.d/sddm.conf&amp;lt;/code&amp;gt; and add the following two lines (case sensitive):&lt;br /&gt;
** &amp;lt;code&amp;gt;[X11]&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;DisplayCommand=/usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt;&lt;br /&gt;
*Reboot, and your login screen should now display in landscape mode.&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
&lt;br /&gt;
==== How does the PineTab2 compare to a Pinebook Pro? ====&lt;br /&gt;
It's slower, as it is intended to be a successor to the PineTab1, not the Pinebook Pro. It'll still handle web browsing, video playback and documents fine though.&lt;br /&gt;
&lt;br /&gt;
==== What is the Performance of the PineTab2 compared to the PineTab-V? ====&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
==== I am a casual user with minimal Linux experience. Is this device for me? ====&lt;br /&gt;
The PineTab 2 is considered early release at this point, and the community is expected to develop support for it over time. For example, the [[PineTab2#Known_Issues]] page details several features that are not yet fully working.&lt;br /&gt;
&lt;br /&gt;
You may at times need to troubleshoot this device and some development experience is ideal if you want to realize the tablet's full potential at this stage. However, if you feel up to the challenge and want to learn while joining a great community, you are more than welcome!&lt;br /&gt;
&lt;br /&gt;
Please join one of our [[Main_Page#Chat_Platforms|chat platforms]], the community is always happy to help!&lt;br /&gt;
&lt;br /&gt;
==== What works, what doesn't? ====&lt;br /&gt;
&lt;br /&gt;
Please see [[PineTab2#Known_Issues]].&lt;br /&gt;
&lt;br /&gt;
==== I only know Python, can I help with drivers? ====&lt;br /&gt;
Yes, if you learn C first. Otherwise, no. (This response isn't trying to be snarky, this question was asked so many times it really needed to be here.)&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
==== Does the Tablet support a Pen? ====&lt;br /&gt;
No, adding a digitiser for pen inputs would make the price too high.&lt;br /&gt;
&lt;br /&gt;
==== Is there SPI Flash? ====&lt;br /&gt;
Yes! A 128 Mbit flash chip (sk25lp128) is reportedly present on production devices.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
==== What operating systems are currently available? ====&lt;br /&gt;
The PineTab2 uses ARM operating systems.  Please see [[PineTab2 Releases]] for a current list of software releases.&lt;br /&gt;
&lt;br /&gt;
==== How can I install an operating system on the SD card / eMMC? ====&lt;br /&gt;
&lt;br /&gt;
See [[PinePhone Installation Instructions|Installation Instructions]].&lt;br /&gt;
&lt;br /&gt;
==== Can I run Android on it? ====&lt;br /&gt;
Theoretically yes, practically there's little chance anyone wants to make a well-supported Android build for this device. If you're looking for an Android tablet, buy any mainstream tablet, you'll get better value for your money.&lt;br /&gt;
&lt;br /&gt;
However, if you just need to run a few simple android apps, you might want to have a look at [https://docs.waydro.id/usage/install-on-desktops Waydroid] which can be installed on Arch Linux ARM using the following command: &amp;lt;code&amp;gt;sudo pacman -S waydroid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Booting ===&lt;br /&gt;
&lt;br /&gt;
==== What's the boot order for SD cards and eMMC? ====&lt;br /&gt;
The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card.  Please see the [[PinePhone Installation Instructions#PineTab2|boot priority]] page for more detailed information.&lt;br /&gt;
&lt;br /&gt;
==== Can I install a different OS on my PineTab2? ====&lt;br /&gt;
&lt;br /&gt;
Yes! While all PineTab2 come with an OS preinstalled, you are free to use any OS on the integrated storage (the eMMC) or an SD card.  See [[PinePhone Installation Instructions|Installation Instructions]] and [[PineTab2 Releases]] for how to install them.&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
&lt;br /&gt;
==== The Bluetooth isn't working ====&lt;br /&gt;
The BES2600 Bluetooth driver still needs to be implemented. Please see the [[#Networking Using USB]] section above for a workaround.&lt;br /&gt;
&lt;br /&gt;
=== Wi-Fi ===&lt;br /&gt;
&lt;br /&gt;
==== The Wi-Fi isn't working ====&lt;br /&gt;
The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing: at the moment it causes system crashes. Please see the [[#Networking Using USB]] section above for a workaround.&lt;br /&gt;
&lt;br /&gt;
=== Video ===&lt;br /&gt;
&lt;br /&gt;
==== Can PineTab2 play back DRM content such as Netflix? ====&lt;br /&gt;
Yes, though the specific implementation depends on your installed operating system.&lt;br /&gt;
&lt;br /&gt;
On the default Arch Linux Arm: Widevine, using the `widevine-aarch64` package in the AUR is working, and was demonstrated on the PineTab2 using Paramount+ and Disney+. Install it (`yay -S widevine-aarch64`), run the included register script to get Firefox to recognize it, and it should start working. &lt;br /&gt;
&lt;br /&gt;
=== Shipping ===&lt;br /&gt;
==== I did not receive an order confirmation ====&lt;br /&gt;
Check your &amp;quot;spam&amp;quot; folder. It was reported that some users did not receive an order confirmation. You will also still get a shipping notification when the device ships out, even if you didn't get an order confirmation email.&lt;br /&gt;
&lt;br /&gt;
==== When does the tablet ship? ====&lt;br /&gt;
For up-to-date information when the shipping date is estimated, see the edits in the corresponding forum thread.&lt;br /&gt;
&lt;br /&gt;
==== It is shipping day but I did not receive a shipping notification ====&lt;br /&gt;
For shipments with DHL, the shipping notification is sent out as soon as the packet reached DHL's warehouse and scanned (it can take up to 24 hours after scanning after the shipment is added to DHL's database). For all other shipments (via Ascendia) the notification is sent out sometime after shipment.&lt;br /&gt;
&lt;br /&gt;
==== What about import taxes? =====&lt;br /&gt;
Import taxes have to be paid by the buyer depending on the jurisdiction of the country of the buyer. Please check with your local laws if there are import taxes to pay and if so how to do the tax filing.&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2_FAQ&amp;diff=20099</id>
		<title>PineTab2 FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2_FAQ&amp;diff=20099"/>
		<updated>2023-07-18T20:09:49Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: Remove How-to and FAQ from PineTab2 page and recreate them here.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a collection of tutorials and frequently asked questions for the PineTab2.&lt;br /&gt;
&lt;br /&gt;
== Tutorials ==&lt;br /&gt;
&lt;br /&gt;
=== Putting the Device into Maskrom Mode ===&lt;br /&gt;
&lt;br /&gt;
To recover from a bad eMMC/SPI flash, plug the included debug adapter into the charging USB-C port and switch the white switch to its &amp;quot;ON&amp;quot; position to bypass eMMC/SPI boot. This tries to boot from SD, and if no SD is inserted, enters Maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Networking using USB ===&lt;br /&gt;
&lt;br /&gt;
Until the internal BES2600 WIFI has a stable driver, the community suggests that you connect using USB. This section summarizes the more detailed information in [[File:PineTab2_USB_Guide.pdf]], which covers connecting via [[#Performing USB Tethering with an Android Phone|a tethered Android phone]], [[#Selecting a USB WIFI Adapter|a suitable USB WIFI adapter]], a wired USB Ethernet adapter, and a tethered iOS device.&lt;br /&gt;
&lt;br /&gt;
==== Selecting a USB WIFI Adapter ====&lt;br /&gt;
&lt;br /&gt;
Insert a supported WIFI dongle in the upper USB port, using a USB-C to USB-A adapter as necessary. As a general rule, single state adapters are recommended. Even better, select one from this list: https://github.com/morrownr/USB-WiFi/blob/main/home/The_Short_List.md&lt;br /&gt;
&lt;br /&gt;
If you must use a multi-state adapter and it isn't recognized by the kernel, you can try ejecting the device.  This ''should'' force it back into adapter mode.  If this does not work, you can try installing [https://man.archlinux.org/man/usb_modeswitch.1.en usb_modeswitch] to troubleshoot.  You will need to temporarily use another method to get internet (such as phone tethering below) or load the package on an SD card to install it.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an Android Phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use an Android phone as a network adapter.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* An Android phone&lt;br /&gt;
* A USB OTG adapter (or the USB-C to USB-C cable)&lt;br /&gt;
* Some knowledge of your variation of Android&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug in the device to the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your android phone, open the settings app (specifics from here may vary on version)&lt;br /&gt;
** Navigate to &amp;quot;Network &amp;amp; Internet&amp;quot;&lt;br /&gt;
** Navigate to &amp;quot;Hotspot &amp;amp; Tethering&amp;quot;&lt;br /&gt;
** Tap on &amp;quot;USB Tethering&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an iPhone ====&lt;br /&gt;
&lt;br /&gt;
Prerequisite:&lt;br /&gt;
&lt;br /&gt;
On the iPhone make sure that Settings -&amp;gt; Personal Hotspot -&amp;gt; Allow others to join is turned on.&lt;br /&gt;
&lt;br /&gt;
# Use an Lightning (Apple) to USB-C (Pinetab2) cable to connect the devices.&lt;br /&gt;
# In the Pinetab make sure to use the USB-C port next to the volume keys.&lt;br /&gt;
# Once the cable is connected open your iPhone. &lt;br /&gt;
# You will see a request to trust the new device. Trust it.&lt;br /&gt;
# Confirm by typing in your Apple Device PIN&lt;br /&gt;
&lt;br /&gt;
This should be it. The Pinetab2 will show you the new device and the network connects to `Wired connection 1`&lt;br /&gt;
&lt;br /&gt;
Make sure to open the iPhone once you reconnect.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with a KaiOS phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use a KaiOS phone for mobile Internet use with your PineTab2.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* A KaiOS phone&lt;br /&gt;
* A USB OTG adapter (hama #00200311 tested)&lt;br /&gt;
* Your device’s charging cable&lt;br /&gt;
* Some knowledge of your KaiOS phone&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug the device into the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your KaiOS phone, open settings (specifics from here may vary on version)&lt;br /&gt;
* Navigate to &amp;quot;Network &amp;amp; Connectivity&amp;quot;&lt;br /&gt;
* Navigate to &amp;quot;Internet Sharing&amp;quot;&lt;br /&gt;
* Select &amp;quot;USB&amp;quot; and select On under USB tethering (Note: This option will be greyed out unless connected to the PineTab2)&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2 and it should show a wired connection icon.&lt;br /&gt;
&lt;br /&gt;
=== Screen Rotation ===&lt;br /&gt;
==== Auto-rotating the Screen ====&lt;br /&gt;
Auto-rotation is handled by your operating system. However, the following general steps should work on distributions that support iio-sensor-proxy:&lt;br /&gt;
&lt;br /&gt;
* To enable auto-rotation, install the iio-sensor-proxy package: &amp;lt;code&amp;gt;sudo pacman -S iio-sensor-proxy&amp;lt;/code&amp;gt; and reboot.&lt;br /&gt;
* Some desktop environments, such as KDE, default to only allowing screen rotation while in tablet mode (detached from the case.)  To enable it with the keyboard attached, go to System Settings--&amp;gt;Display and Monitor--&amp;gt;Display Configuration--&amp;gt;Uncheck &amp;quot;Only when in tablet mode&amp;quot; and click &amp;quot;Apply.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Rotating the Login Screen ====&lt;br /&gt;
Login screen orientation is handled by your operating system.  Below are the instructions for the SDDM login screen that ships with the factory image:&lt;br /&gt;
&lt;br /&gt;
By default, the login screen is set to display in portrait mode.  If you wish to change it to landscape mode to match the keyboard while in the case, use the following steps ([https://forum.pine64.org/showthread.php?tid=18313 Credit to chzbacon]) :&lt;br /&gt;
&lt;br /&gt;
* Install necessary software: &amp;lt;code&amp;gt;sudo pacman -S xorg-xrandr xorg-xinput&amp;lt;/code&amp;gt;&lt;br /&gt;
* Edit /usr/share/sddm/scripts/Xsetup.  For example, using nano: &amp;lt;code&amp;gt;sudo nano /usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt; and add the following two lines to the end of file:&lt;br /&gt;
** &amp;lt;code&amp;gt;xrandr --output DSI-1 --mode 800x1280 --rate 60.00 --rotate right&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;xinput set-prop &amp;quot;pointer:Goodix Capacitive TouchScreen&amp;quot; --type=float &amp;quot;Coordinate Transformation Matrix&amp;quot; 0 1 0 -1 0 1 0 0 1&amp;lt;/code&amp;gt;&lt;br /&gt;
* Now edit /etc/sddm.conf.d/sddm.conf, for example: &amp;lt;code&amp;gt;sudo nano /etc/sddm.conf.d/sddm.conf&amp;lt;/code&amp;gt; and add the following two lines (case sensitive):&lt;br /&gt;
** &amp;lt;code&amp;gt;[X11]&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;DisplayCommand=/usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt;&lt;br /&gt;
*Reboot, and your login screen should now display in landscape mode.&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
&lt;br /&gt;
==== How does the Tablet compare to a Pinebook Pro? ====&lt;br /&gt;
It's slower, as it is intended to be a successor to the PineTab1, not the Pinebook Pro. It'll still handle web browsing, video playback and documents fine though.&lt;br /&gt;
&lt;br /&gt;
==== What is the Performance of the PineTab2 compared to the PineTab-V? ====&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
==== I am a casual user with minimal Linux experience. Is this device for me? ====&lt;br /&gt;
The PineTab 2 is considered early release at this point, and the community is expected to develop support for it over time. For example, the [[PineTab2#Known_Issues]] page details several features that are not yet fully working.&lt;br /&gt;
&lt;br /&gt;
You may at times need to troubleshoot this device and some development experience is ideal if you want to realize the tablet's full potential at this stage. However, if you feel up to the challenge and want to learn while joining a great community, you are more than welcome!&lt;br /&gt;
&lt;br /&gt;
Please join one of our [[Main_Page#Chat_Platforms|chat platforms]], the community is always happy to help!&lt;br /&gt;
&lt;br /&gt;
==== What works, what doesn't? ====&lt;br /&gt;
&lt;br /&gt;
Please see [[PineTab2#Known_Issues]].&lt;br /&gt;
&lt;br /&gt;
==== I only know Python, can I help with drivers? ====&lt;br /&gt;
Yes, if you learn C first. Otherwise, no. (This response isn't trying to be snarky, this question was asked so many times it really needed to be here.)&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
==== Does the Tablet support a Pen? ====&lt;br /&gt;
No, adding a digitiser for pen inputs would make the price too high.&lt;br /&gt;
&lt;br /&gt;
==== Is there SPI Flash? ====&lt;br /&gt;
Yes! A 128 Mbit flash chip (sk25lp128) is reportedly present on production devices.&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
==== What operating systems are currently available? ====&lt;br /&gt;
The PineTab2 uses ARM operating systems.  Please see [[PineTab2 Releases]] for a current list of software releases.&lt;br /&gt;
&lt;br /&gt;
==== How can I install an operating system on the SD card / eMMC? ====&lt;br /&gt;
&lt;br /&gt;
See [[PinePhone Installation Instructions|Installation Instructions]].&lt;br /&gt;
&lt;br /&gt;
==== Can I run Android on it? ====&lt;br /&gt;
Theoretically yes, practically there's little chance anyone wants to make a well-supported Android build for this device. If you're looking for an Android tablet, buy any mainstream tablet, you'll get better value for your money.&lt;br /&gt;
&lt;br /&gt;
However, if you just need to run a few simple android apps, you might want to have a look at [https://docs.waydro.id/usage/install-on-desktops Waydroid] which can be installed on Arch Linux ARM using the following command: &amp;lt;code&amp;gt;sudo pacman -S waydroid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Booting ===&lt;br /&gt;
&lt;br /&gt;
==== What's the boot order for SD cards and eMMC? ====&lt;br /&gt;
The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card.  Please see the [[PinePhone Installation Instructions#PineTab2|boot priority]] page for more detailed information.&lt;br /&gt;
&lt;br /&gt;
==== Can I install a different OS on my PineTab2? ====&lt;br /&gt;
&lt;br /&gt;
Yes! While all PineTab2 come with an OS preinstalled, you are free to use any OS on the integrated storage (the eMMC) or an SD card.  See [[PinePhone Installation Instructions|Installation Instructions]] and [[PineTab2 Releases]] for how to install them.&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
&lt;br /&gt;
==== The Bluetooth isn't working ====&lt;br /&gt;
The BES2600 Bluetooth driver still needs to be implemented. Please see the [[#Networking Using USB]] section above for a workaround.&lt;br /&gt;
&lt;br /&gt;
=== Wi-Fi ===&lt;br /&gt;
&lt;br /&gt;
==== The Wi-Fi isn't working ====&lt;br /&gt;
The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing: at the moment it causes system crashes. Please see the [[#Networking Using USB]] section above for a workaround.&lt;br /&gt;
&lt;br /&gt;
=== Video ===&lt;br /&gt;
&lt;br /&gt;
==== Can PineTab2 play back DRM content such as Netflix? ====&lt;br /&gt;
Yes, though the specific implementation depends on your installed operating system.&lt;br /&gt;
&lt;br /&gt;
On the default Arch Linux Arm: Widevine, using the `widevine-aarch64` package in the AUR is working, and was demonstrated on the PineTab2 using Paramount+ and Disney+. Install it (`yay -S widevine-aarch64`), run the included register script to get Firefox to recognize it, and it should start working. &lt;br /&gt;
&lt;br /&gt;
== Shipping ==&lt;br /&gt;
=== I did not receive an order confirmation ===&lt;br /&gt;
Check your &amp;quot;spam&amp;quot; folder. It was reported that some users did not receive an order confirmation. You will also still get a shipping notification when the device ships out, even if you didn't get an order confirmation email.&lt;br /&gt;
&lt;br /&gt;
=== When does the tablet ship? ===&lt;br /&gt;
For up-to-date information when the shipping date is estimated, see the edits in the corresponding forum thread.&lt;br /&gt;
&lt;br /&gt;
=== It is shipping day but I did not receive a shipping notification ===&lt;br /&gt;
For shipments with DHL, the shipping notification is sent out as soon as the packet reached DHL's warehouse and scanned (it can take up to 24 hours after scanning after the shipment is added to DHL's database). For all other shipments (via Ascendia) the notification is sent out sometime after shipment.&lt;br /&gt;
&lt;br /&gt;
=== What about import taxes? ===&lt;br /&gt;
Import taxes have to be paid by the buyer depending on the jurisdiction of the country of the buyer. Please check with your local laws if there are import taxes to pay and if so how to do the tax filing.&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20098</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20098"/>
		<updated>2023-07-18T20:09:34Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: Moved tutorials and FAQ to the PineTab2 FAQ page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. Similarly packaged RISC-V tablet is [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes.&lt;br /&gt;
&lt;br /&gt;
The first package includes:&lt;br /&gt;
* the PineTab2, &lt;br /&gt;
* a short user guide, &lt;br /&gt;
* a power cable and &lt;br /&gt;
* the UART adapter Note that the UART adapter is in the same package as the power cable in a second compartment and can be a bit hidden, search for it. &lt;br /&gt;
&lt;br /&gt;
The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Software Releases ===&lt;br /&gt;
&lt;br /&gt;
* The PineTab2 ships with ''Danctnix Arch Linux ARM''. The factory image can be found here:&lt;br /&gt;
** https://echo.danctnix.org:7269/danctnix-factory-image-20230527.img.xz (1.5 GB)&lt;br /&gt;
** {{Info|The factory image is flashed to a microSD card and it will overwrite the eMMC installation after booting.}}&lt;br /&gt;
* All other releases for the PineTab2 will be listed under [[PineTab2 Releases]] as they're released. Your contributions are wanted!&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card. Please see the [[PinePhone Installation Instructions|Installation Instructions]] for detailed instructions.  Please also note the info under the [[PinePhone Installation Instructions#PineTab2|boot priority]] entry when booting from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above linked procedure.&lt;br /&gt;
&lt;br /&gt;
== Keyboard cover==&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned.&lt;br /&gt;
&lt;br /&gt;
Change the backlight with '''Pinekey - Ctrl-Right'''.&lt;br /&gt;
&lt;br /&gt;
The external keyboard has 5 connection pins (the golden pins). &lt;br /&gt;
4 are standard USB connectors, one is to detect that the keyboard is connected.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|400px|right]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi&lt;br /&gt;
** Bluetooth&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Sensors:'''&lt;br /&gt;
** Accelerometer&lt;br /&gt;
** Ambient Light &amp;amp; Proximity Sensor&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* The display panel driver is in PineTab2's kernel fork, and needs to be submitted to upstream.&lt;br /&gt;
* The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[#Performing USB Tethering with an Android Phone|USB tether a phone]] or [[#Selecting a USB WIFI Adapter|use a supported WI-FI dongle]].&lt;br /&gt;
* The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
* The Camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter face-up in the USB-C port furthest away from the power button. If all the lights are lit, you have the wrong port: only the green light should be lit when you first plug it in.&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://fccid.io/2A8NB-PINETAB2 FCC: 2A8NB-PINETAB2]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
== Tutorials and Frequently Asked Questions ==&lt;br /&gt;
Please see the [[PineTab2 FAQ]] page for tutorials and frequently asked questions.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20095</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20095"/>
		<updated>2023-07-18T19:21:44Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: Moved installation instructions to the PinePhone Installation Instructions Page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. Similarly packaged RISC-V tablet is [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes.&lt;br /&gt;
&lt;br /&gt;
The first package includes:&lt;br /&gt;
* the PineTab2, &lt;br /&gt;
* a short user guide, &lt;br /&gt;
* a power cable and &lt;br /&gt;
* the UART adapter Note that the UART adapter is in the same package as the power cable in a second compartment and can be a bit hidden, search for it. &lt;br /&gt;
&lt;br /&gt;
The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Software Releases ===&lt;br /&gt;
&lt;br /&gt;
* The PineTab2 ships with ''Danctnix Arch Linux ARM''. The factory image can be found here:&lt;br /&gt;
** https://echo.danctnix.org:7269/danctnix-factory-image-20230527.img.xz (1.5 GB)&lt;br /&gt;
** {{Info|The factory image is flashed to a microSD card and it will overwrite the eMMC installation after booting.}}&lt;br /&gt;
* All other releases for the PineTab2 will be listed under [[PineTab2 Releases]] as they're released. Your contributions are wanted!&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card. Please see the [[PinePhone Installation Instructions|Installation Instructions]] for detailed instructions.  Please also note the info under the [[PinePhone Installation Instructions#PineTab2|boot priority]] entry when booting from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above linked procedure.&lt;br /&gt;
&lt;br /&gt;
== Keyboard cover==&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned.&lt;br /&gt;
&lt;br /&gt;
Change the backlight with '''Pinekey - Ctrl-Right'''.&lt;br /&gt;
&lt;br /&gt;
The external keyboard has 5 connection pins (the golden pins). &lt;br /&gt;
4 are standard USB connectors, one is to detect that the keyboard is connected.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|400px|right]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi&lt;br /&gt;
** Bluetooth&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Sensors:'''&lt;br /&gt;
** Accelerometer&lt;br /&gt;
** Ambient Light &amp;amp; Proximity Sensor&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* The display panel driver is in PineTab2's kernel fork, and needs to be submitted to upstream.&lt;br /&gt;
* The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[#Performing USB Tethering with an Android Phone|USB tether a phone]] or [[#Selecting a USB WIFI Adapter|use a supported WI-FI dongle]].&lt;br /&gt;
* The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
* The Camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter face-up in the USB-C port furthest away from the power button. If all the lights are lit, you have the wrong port: only the green light should be lit when you first plug it in.&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://fccid.io/2A8NB-PINETAB2 FCC: 2A8NB-PINETAB2]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
'''Does the Tablet support a Pen?'''&lt;br /&gt;
&lt;br /&gt;
No, adding a digitiser for pen inputs would make the price too high.&lt;br /&gt;
&lt;br /&gt;
'''Can I run Android on it?'''&lt;br /&gt;
&lt;br /&gt;
Theoretically yes, practically there's little chance anyone wants to make a well-supported Android build for this device. If you're looking for an Android tablet, buy any mainstream tablet, you'll get better value for your money.&lt;br /&gt;
&lt;br /&gt;
However, if you just need to run a few simple android apps, you might want to have a look at [https://docs.waydro.id/usage/install-on-desktops Waydroid] which can be installed on Arch Linux ARM using the following command: &amp;lt;code&amp;gt;sudo pacman -S waydroid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Is there SPI Flash?'''&lt;br /&gt;
&lt;br /&gt;
Yes! A 128 Mbit flash chip (sk25lp128) is reportedly present on production devices.&lt;br /&gt;
&lt;br /&gt;
'''My only Development Experience is Visual Basic Macros in Excel and Redstone in Minecraft, should I buy this?'''&lt;br /&gt;
&lt;br /&gt;
At this stage, probably not, unless you're happy with a tablet that has a buggy Wi-Fi driver and no camera controller driver.&lt;br /&gt;
&lt;br /&gt;
'''How does the Tablet compare to a Pinebook Pro?'''&lt;br /&gt;
&lt;br /&gt;
It's slower, as it is intended to be a successor to the PineTab1, not the Pinebook Pro. It'll still handle web browsing, video playback and documents fine though.&lt;br /&gt;
&lt;br /&gt;
'''What is the Performance of the PineTab2 compared to the PineTab-V?'''&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
'''Does PineTab2 play back DRM'd Content such as Netflix?'''&lt;br /&gt;
&lt;br /&gt;
Yes.  Widevine, using the `widevine-aarch64` package in the AUR is working, and was demonstrated on the PineTab2 using Paramount+ and Disney+.  Install it (`yay -S widevine-aarch64`), run the included register script to get Firefox to recognize it, and it should start working.&lt;br /&gt;
&lt;br /&gt;
'''I only know Python, can I help with drivers?'''&lt;br /&gt;
&lt;br /&gt;
Yes, if you learn C first. If that's too big of a hurdle, then no. (This response isn't trying to be snarky, this question was asked so many times it really needed to be here.)&lt;br /&gt;
&lt;br /&gt;
== How-to ==&lt;br /&gt;
&lt;br /&gt;
=== Putting the Device into Maskrom Mode ===&lt;br /&gt;
&lt;br /&gt;
To recover from a bad eMMC/SPI flash, plug the included debug adapter into the charging USB-C port and switch the white switch to its &amp;quot;ON&amp;quot; position to bypass eMMC/SPI boot. This tries to boot from SD, and if no SD is inserted, enters Maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Networking using USB ===&lt;br /&gt;
&lt;br /&gt;
Until the internal BES2600 WIFI has a stable driver, the community suggests that you connect using USB. This section summarizes the more detailed information in [[File:PineTab2_USB_Guide.pdf]], which covers connecting via [[#Performing USB Tethering with an Android Phone|a tethered Android phone]], [[#Selecting a USB WIFI Adapter|a suitable USB WIFI adapter]], a wired USB Ethernet adapter, and a tethered iOS device.&lt;br /&gt;
&lt;br /&gt;
==== Selecting a USB WIFI Adapter ====&lt;br /&gt;
&lt;br /&gt;
Insert a supported WIFI dongle in the upper USB port, using a USB-C to USB-A adapter as necessary. As a general rule, single state adapters are recommended. Even better, select one from this list: https://github.com/morrownr/USB-WiFi/blob/main/home/The_Short_List.md&lt;br /&gt;
&lt;br /&gt;
If you must use a multi-state adapter and it isn't recognized by the kernel, you can try ejecting the device.  This ''should'' force it back into adapter mode.  If this does not work, you can try installing [https://man.archlinux.org/man/usb_modeswitch.1.en usb_modeswitch] to troubleshoot.  You will need to temporarily use another method to get internet (such as phone tethering below) or load the package on an SD card to install it.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an Android Phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use an Android phone as a network adapter.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* An Android phone&lt;br /&gt;
* A USB OTG adapter (or the USB-C to USB-C cable)&lt;br /&gt;
* Some knowledge of your variation of Android&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug in the device to the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your android phone, open the settings app (specifics from here may vary on version)&lt;br /&gt;
** Navigate to &amp;quot;Network &amp;amp; Internet&amp;quot;&lt;br /&gt;
** Navigate to &amp;quot;Hotspot &amp;amp; Tethering&amp;quot;&lt;br /&gt;
** Tap on &amp;quot;USB Tethering&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an iPhone ====&lt;br /&gt;
&lt;br /&gt;
Prerequisite:&lt;br /&gt;
&lt;br /&gt;
On the iPhone make sure that Settings -&amp;gt; Personal Hotspot -&amp;gt; Allow others to join is turned on.&lt;br /&gt;
&lt;br /&gt;
# Use an Lightning (Apple) to USB-C (Pinetab2) cable to connect the devices.&lt;br /&gt;
# In the Pinetab make sure to use the USB-C port next to the volume keys.&lt;br /&gt;
# Once the cable is connected open your iPhone. &lt;br /&gt;
# You will see a request to trust the new device. Trust it.&lt;br /&gt;
# Confirm by typing in your Apple Device PIN&lt;br /&gt;
&lt;br /&gt;
This should be it. The Pinetab2 will show you the new device and the network connects to `Wired connection 1`&lt;br /&gt;
&lt;br /&gt;
Make sure to open the iPhone once you reconnect.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with a KaiOS phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use a KaiOS phone for mobile Internet use with your PineTab2.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* A KaiOS phone&lt;br /&gt;
* A USB OTG adapter (hama #00200311 tested)&lt;br /&gt;
* Your device’s charging cable&lt;br /&gt;
* Some knowledge of your KaiOS phone&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug the device into the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your KaiOS phone, open settings (specifics from here may vary on version)&lt;br /&gt;
* Navigate to &amp;quot;Network &amp;amp; Connectivity&amp;quot;&lt;br /&gt;
* Navigate to &amp;quot;Internet Sharing&amp;quot;&lt;br /&gt;
* Select &amp;quot;USB&amp;quot; and select On under USB tethering (Note: This option will be greyed out unless connected to the PineTab2)&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2 and it should show a wired connection icon.&lt;br /&gt;
&lt;br /&gt;
=== Auto-rotating the Screen ===&lt;br /&gt;
* To enable auto-rotation, install the iio-sensor-proxy package: &amp;lt;code&amp;gt;sudo pacman -S iio-sensor-proxy&amp;lt;/code&amp;gt; and reboot.&lt;br /&gt;
* By default, the screen will only rotate while in tablet mode (detached from the case.)  To enable it with the keyboard attached, go to System Settings--&amp;gt;Display and Monitor--&amp;gt;Display Configuration--&amp;gt;Uncheck &amp;quot;Only when in tablet mode&amp;quot; and click &amp;quot;Apply.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Rotating the Login Screen ===&lt;br /&gt;
By default, the login screen is set to display in portrait mode.  If you wish to change it to landscape mode to match the keyboard while in the case, use the following steps ([https://forum.pine64.org/showthread.php?tid=18313 Credit to chzbacon]) :&lt;br /&gt;
&lt;br /&gt;
* Install necessary software: &amp;lt;code&amp;gt;sudo pacman -S xorg-xrandr xorg-xinput&amp;lt;/code&amp;gt;&lt;br /&gt;
* Edit /usr/share/sddm/scripts/Xsetup.  For example, using nano: &amp;lt;code&amp;gt;sudo nano /usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt; and add the following two lines to the end of file:&lt;br /&gt;
** &amp;lt;code&amp;gt;xrandr --output DSI-1 --mode 800x1280 --rate 60.00 --rotate right&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;xinput set-prop &amp;quot;pointer:Goodix Capacitive TouchScreen&amp;quot; --type=float &amp;quot;Coordinate Transformation Matrix&amp;quot; 0 1 0 -1 0 1 0 0 1&amp;lt;/code&amp;gt;&lt;br /&gt;
* Now edit /etc/sddm.conf.d/sddm.conf, for example: &amp;lt;code&amp;gt;sudo nano /etc/sddm.conf.d/sddm.conf&amp;lt;/code&amp;gt; and add the following two lines (case sensitive):&lt;br /&gt;
** &amp;lt;code&amp;gt;[X11]&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;DisplayCommand=/usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt;&lt;br /&gt;
*Reboot, and your login screen should now display in landscape mode.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PinePhone_Installation_Instructions&amp;diff=20094</id>
		<title>PinePhone Installation Instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PinePhone_Installation_Instructions&amp;diff=20094"/>
		<updated>2023-07-18T19:20:24Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: Fixed link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This section has generic installation instructions. &lt;br /&gt;
&lt;br /&gt;
For specific installation instructions for each distribution please see the software releases pages:&lt;br /&gt;
&lt;br /&gt;
* for the '''PinePhone''': [[PinePhone Software Releases]]&lt;br /&gt;
* for the '''PinePhone Pro''': [[PinePhone Pro Software Releases]]&lt;br /&gt;
* for the '''PineTab2''': [[PineTab2 Releases]]&lt;br /&gt;
&lt;br /&gt;
== Boot priority ==&lt;br /&gt;
&lt;br /&gt;
=== PinePhone Pro ===&lt;br /&gt;
&lt;br /&gt;
For details regarding the boot priority on the PinePhone Pro see [[PinePhone Pro#Boot order]].&lt;br /&gt;
&lt;br /&gt;
=== PinePhone ===&lt;br /&gt;
&lt;br /&gt;
The PinePhone always boots from the microSD card first. It is therefore recommended to have a microSD card handy. It is '''not''' possible to lock themself out of the phone when the installation on the internal storage (the eMMC) fails, as a correctly flashed microSD card will always boot. Note: Booting from USB is not supported by the hardware, a live USB stick will not boot.&lt;br /&gt;
&lt;br /&gt;
The phone will also try to boot from microSD cards, which were previously flashed with an OS and formatted later, causing the phone to fail to boot. See [[#Reuse SD card for data storage on system booting from eMMC|reuse SD card]] on how to format the microSD card properly, including wiping the residues of u-boot.&lt;br /&gt;
&lt;br /&gt;
=== PineTab2===&lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
== Installation to the microSD ==&lt;br /&gt;
&lt;br /&gt;
To install an image to the microSD card:&lt;br /&gt;
&lt;br /&gt;
# Download your chosen image from [[PinePhone Software Releases]] for the regular '''PinePhone'', [[PinePhone Pro Software Releases]] for the '''PinePhone Pro''', or [[PineTab2 Releases]] for the '''PineTab2.'''&lt;br /&gt;
# Extract the compressed file&lt;br /&gt;
# Write the image to your microSD card, see below&lt;br /&gt;
# Plug microSD card into phone (make sure to use the top slot, not the bottom slot)&lt;br /&gt;
# On the '''PinePhone Pro''': The eMMC might have to be disconnected to boot from the microSD card, see [[PinePhone Pro#Boot order]]&lt;br /&gt;
# Boot phone&lt;br /&gt;
&lt;br /&gt;
[[File:Pinephone slots.png|600px|thumb|none|The microSD belongs in the upper slot, the micro-SIM in the lower slot.]]&lt;br /&gt;
&lt;br /&gt;
=== Flashing the microSD ===&lt;br /&gt;
==== Using dd ====&lt;br /&gt;
Make sure to select the correct device using &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt;. Then run &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; with the selected device:&lt;br /&gt;
&lt;br /&gt;
 sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&lt;br /&gt;
&lt;br /&gt;
{{Info|The image needs to be written to the whole device, not to partition 1. Make sure you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target.}}&lt;br /&gt;
&lt;br /&gt;
==== Using bmaptool ====&lt;br /&gt;
Make sure to select the correct device using &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt;. Then run bmaptool with the correct device:&lt;br /&gt;
&lt;br /&gt;
Download the ''IMAGE.xz'' and the ''IMAGE.bmap'' files, then run &amp;lt;code&amp;gt;bmaptool copy --bmap '''IMAGE.bmap''' '''IMAGE.xz''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;. This takes around 2.5 minutes to flash a 4 Gb file.&lt;br /&gt;
&lt;br /&gt;
==== Using graphical tools ====&lt;br /&gt;
GUI applications such as Etcher and GNOME Disks can be used to flash the microSD too.&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
== Installation to the eMMC ==&lt;br /&gt;
&lt;br /&gt;
=== From the booted microSD OS ===&lt;br /&gt;
# Flash an OS to the microSD card (and optionally resize the partition, see below)&lt;br /&gt;
# Insert microSD card and boot the device (phone or tablet)&lt;br /&gt;
# Download the desired OS' image on the booted OS or transfer it to the microSD card&lt;br /&gt;
# Extract the image file if it is archived&lt;br /&gt;
# Flash the image file to eMMC using &amp;lt;code&amp;gt;dd if='''IMAGE.img''' of=/dev/'''mmcblkX''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt; where X is the number label of the eMMC (of the disk, not the partition!). Use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to check your devices: typically with the current kernel the microSD card is ''/dev/mmcblk0'' and the eMMC is ''/dev/mmcblk2'' but as always with ''dd'' be extremely cautious to get the devices correct. &lt;br /&gt;
# Turn off device, remove microSD card and then turn on the device.&lt;br /&gt;
&lt;br /&gt;
=== Using JumpDrive ===&lt;br /&gt;
&lt;br /&gt;
{{Info|This only applies to the regular '''PinePhone''', not the '''PinePhone Pro''' or '''PineTab2'''.}}&lt;br /&gt;
&lt;br /&gt;
[[File:jumpdrive.jpg|400px|thumb|right|Jumpdrive running on the PinePhone]]&lt;br /&gt;
The internal eMMC flash storage can be flashed using the Jumpdrive utility by Danct12 and Martijn from postmarketOS.&lt;br /&gt;
This utility boots from micro SD and exposes the internal eMMC flash storage when the PinePhone is connected to a computer.&lt;br /&gt;
The process of flashing an OS to the exposed and mounted eMMC is identical to that of any other storage medium - e.g. a microSD card. You can use the &amp;lt;i&amp;gt;dd&amp;lt;/i&amp;gt; command or a utility such as Etcher or Gnome Disks, etc.&lt;br /&gt;
&lt;br /&gt;
Latest Jumpdrive can be found [https://github.com/dreemurrs-embedded/Jumpdrive/releases/ here].&lt;br /&gt;
&lt;br /&gt;
# Download and extract [https://github.com/dreemurrs-embedded/Jumpdrive/releases the Jumpdrive image]&lt;br /&gt;
# Flash the Jumpdrive image to a microSD card&lt;br /&gt;
# Boot the PinePhone from the Jumpdrive microSD card&lt;br /&gt;
# Connect the PinePhone to your computer using USB-A -&amp;gt; USB-C cable&lt;br /&gt;
# Flash the exposed PinePhone drive (e.g. ''/dev/mm...'', check for the right device in &amp;lt;code&amp;gt;dmesg&amp;lt;/code&amp;gt;, GNOME disks, or similar, and make sure it's unmounted) with your chosen OS image&lt;br /&gt;
# Once the flashing process is complete, disconnect the PinePhone from your PC, power it down and remove the Jumpdrive microSD card&lt;br /&gt;
# The process is now finished, and you can boot from eMMC&lt;br /&gt;
&lt;br /&gt;
The Jumpdrive image is smaller than 50MB. You can keep an microSD card specifically for using Jumpdrive, and there are 64MB microSD cards sold cheaply that will suffice. Jumpdrive also acts as a rescue image in case if you messed up your installation. To do so, you can telnet to '''172.16.42.1''', mount rootfs and fix it!&lt;br /&gt;
&lt;br /&gt;
=== SD to eMMC via installer ===&lt;br /&gt;
&lt;br /&gt;
An special installer image booted from the microSD card can be used to flash the eMMC as well. Mobian and postmarketOS installer images for the Pinephone series and the PineTab 2 factory image booted from microSD card will simply ask the user if they want to install to eMMC. The feature lives in the distribution-agnostic calamares-extensions repository (see [https://github.com/calamares/calamares-extensions/pull/7 calamares-extensions#7]), so other distributions might adopt this in the future.&lt;br /&gt;
&lt;br /&gt;
=== Using Tow-Boot ===&lt;br /&gt;
&lt;br /&gt;
Tow-Boot is an opinionated distribution of the U-Boot bootloader. It includes an USB Mass Storage Mode, which exposes the flash drive(s) to a computer connected to the phone via USB-C. The Tow-Boot bootloader has to be installed if it is not pre-installed already. For instructions see the following links:&lt;br /&gt;
&lt;br /&gt;
* '''PinePhone:''' https://tow-boot.org/devices/pine64-pinephoneA64.html &lt;br /&gt;
* '''PinePhone Pro:''' https://tow-boot.org/devices/pine64-pinephonePro.html&lt;br /&gt;
&lt;br /&gt;
If Tow-Boot is installed the phone can be started into USB Mass Storage Mode by holding the ''volume up'' key on startup.&lt;br /&gt;
&lt;br /&gt;
The steps of flashing an operating system to the phone after booting Tow-Boot's USB Mass Storage Mode and connecting the phone to a computer is identical to that of any other storage medium - e.g. a microSD card. You can use the &amp;lt;i&amp;gt;dd&amp;lt;/i&amp;gt; command or a utility such as Etcher or Gnome Disks from the computer the phone is connected to.&lt;br /&gt;
&lt;br /&gt;
== Resize partition to fit disk space ==&lt;br /&gt;
&lt;br /&gt;
{{Info|Many operating systems already include a script, which is resizing the partition on first boot, where this step is not required.}}&lt;br /&gt;
&lt;br /&gt;
Once you've flashed the OS to your microSD card or eMMC storage, you may also need to expand the partition to fill all the available space.&lt;br /&gt;
&lt;br /&gt;
=== Resize SD card's partition using computer ===&lt;br /&gt;
&lt;br /&gt;
For microSD cards, insert the microSD card and resize the partitions through the computer. For eMMC, insert the phone cable and use Jumpdrive to access the eMMC directly, and resize the partition after flashing the image. To do the flashing you have two options:&lt;br /&gt;
&lt;br /&gt;
==== Using Growpart ====&lt;br /&gt;
&lt;br /&gt;
Install &amp;lt;i&amp;gt;growpart&amp;lt;/i&amp;gt; and run:&lt;br /&gt;
 growpart /dev/'''mmcblkX''' '''Y'''&lt;br /&gt;
 resize2fs /dev/'''mmcblkXpY'''&lt;br /&gt;
where ''X'' is the storage device and ''Y'' is the partition number (viewable from &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
If you get any errors about missing or unknown commands, use &amp;lt;code&amp;gt;apt-cache search&amp;lt;/code&amp;gt; to find and install the needed software. Also don't forget to use &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Using Parted ====&lt;br /&gt;
&lt;br /&gt;
Parted's interactive mode and resize work well together. Do this before you put your microSD card into your device for the first time for best results.&lt;br /&gt;
&lt;br /&gt;
 sudo parted /dev/'''&amp;lt;your_sd_card_device&amp;gt;'''&lt;br /&gt;
 (parted) resizepart 2 100%&lt;br /&gt;
 (parted) quit&lt;br /&gt;
 sudo resize2fs /dev/'''&amp;lt;the_second_sd_card_PARTITION&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
=== Resize from within the Device ===&lt;br /&gt;
&lt;br /&gt;
eMMC: you would need to resize the partition on eMMC (flashed with the operating system) by booting another image from the microSD card: that way, the eMMC will be unmounted. It is '''not recommended''' to resize eMMC while booted from eMMC! Resizing a currently mounted partition can have weird results. If you booted from the microSD card, you can follow the above guidelines on how to resize from a computer. &lt;br /&gt;
&lt;br /&gt;
MicroSD card: It is generally not possible to boot from eMMC to partition the unmounted microSD card, because of the boot order - you would have to write the image to the empty microSD card first, then resize partition, all without rebooting. It is also '''not recommended''' to resize the microSD card while booted from microSD card! Resizing a currently mounted partition can have weird results.&lt;br /&gt;
&lt;br /&gt;
== Reuse SD card for data storage on system booting from eMMC==&lt;br /&gt;
Once you have installed your release of choice to eMMC, you may wish to use an microSD card for data storage. If you choose to re-use a card you have previously used to boot from, you will find your phone will not boot if you just reformat the card and insert it. This is because the Allwinner firmware in the PinePhone uses some (normally) unused space at the front of the microSD card to store boot software, which you need to clear.&lt;br /&gt;
&lt;br /&gt;
This can be done as follows on any Linux system:&lt;br /&gt;
 lsblk&lt;br /&gt;
to check the device of your microSD card – as an example lets assume it is /dev/mmcblk0&lt;br /&gt;
then&lt;br /&gt;
 sudo dd if=/dev/zero of=/dev/'''[DEVICE]''' bs=8k seek=1 count=4&lt;br /&gt;
will clear the relevant sectors of your card.&lt;br /&gt;
&lt;br /&gt;
Since Danctnix (arch) switched to a gpt partition table from mbr in May of 2022 it installs u-boot at an offset of 128k instead of 8k, which means this command must be used instead&lt;br /&gt;
 sudo dd if=/dev/zero of=/dev/'''[DEVICE]''' bs=32k seek=4 count=1&lt;br /&gt;
&lt;br /&gt;
== Web resources ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.youtube.com/watch?v=7HMkU43P9hw Youtube video on how to flash OS images on the Pinephone (SD or eMMC) by Tech Pills]&lt;br /&gt;
* [https://www.youtube.com/watch?v=u65dofYFAPY Youtube video on How to install different operating systems on the PinePhone plus an Mobian overview by Elatronion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:PinePhone]][[Category:Guide]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PinePhone_Installation_Instructions&amp;diff=20093</id>
		<title>PinePhone Installation Instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PinePhone_Installation_Instructions&amp;diff=20093"/>
		<updated>2023-07-18T19:13:27Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: PineTab2 boot order&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This section has generic installation instructions. &lt;br /&gt;
&lt;br /&gt;
For specific installation instructions for each distribution please see the software releases pages:&lt;br /&gt;
&lt;br /&gt;
* for the '''PinePhone''': [[PinePhone Software Releases]]&lt;br /&gt;
* for the '''PinePhone Pro''': [[PinePhone Pro Software Releases]]&lt;br /&gt;
* for the '''PineTab2''': [[PineTab2]]&lt;br /&gt;
&lt;br /&gt;
== Boot priority ==&lt;br /&gt;
&lt;br /&gt;
=== PinePhone Pro ===&lt;br /&gt;
&lt;br /&gt;
For details regarding the boot priority on the PinePhone Pro see [[PinePhone Pro#Boot order]].&lt;br /&gt;
&lt;br /&gt;
=== PinePhone ===&lt;br /&gt;
&lt;br /&gt;
The PinePhone always boots from the microSD card first. It is therefore recommended to have a microSD card handy. It is '''not''' possible to lock themself out of the phone when the installation on the internal storage (the eMMC) fails, as a correctly flashed microSD card will always boot. Note: Booting from USB is not supported by the hardware, a live USB stick will not boot.&lt;br /&gt;
&lt;br /&gt;
The phone will also try to boot from microSD cards, which were previously flashed with an OS and formatted later, causing the phone to fail to boot. See [[#Reuse SD card for data storage on system booting from eMMC|reuse SD card]] on how to format the microSD card properly, including wiping the residues of u-boot.&lt;br /&gt;
&lt;br /&gt;
=== PineTab2===&lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
== Installation to the microSD ==&lt;br /&gt;
&lt;br /&gt;
To install an image to the microSD card:&lt;br /&gt;
&lt;br /&gt;
# Download your chosen image from [[PinePhone Software Releases]] for the regular '''PinePhone'', [[PinePhone Pro Software Releases]] for the '''PinePhone Pro''', or [[PineTab2 Releases]] for the '''PineTab2.'''&lt;br /&gt;
# Extract the compressed file&lt;br /&gt;
# Write the image to your microSD card, see below&lt;br /&gt;
# Plug microSD card into phone (make sure to use the top slot, not the bottom slot)&lt;br /&gt;
# On the '''PinePhone Pro''': The eMMC might have to be disconnected to boot from the microSD card, see [[PinePhone Pro#Boot order]]&lt;br /&gt;
# Boot phone&lt;br /&gt;
&lt;br /&gt;
[[File:Pinephone slots.png|600px|thumb|none|The microSD belongs in the upper slot, the micro-SIM in the lower slot.]]&lt;br /&gt;
&lt;br /&gt;
=== Flashing the microSD ===&lt;br /&gt;
==== Using dd ====&lt;br /&gt;
Make sure to select the correct device using &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt;. Then run &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; with the selected device:&lt;br /&gt;
&lt;br /&gt;
 sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&lt;br /&gt;
&lt;br /&gt;
{{Info|The image needs to be written to the whole device, not to partition 1. Make sure you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target.}}&lt;br /&gt;
&lt;br /&gt;
==== Using bmaptool ====&lt;br /&gt;
Make sure to select the correct device using &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt;. Then run bmaptool with the correct device:&lt;br /&gt;
&lt;br /&gt;
Download the ''IMAGE.xz'' and the ''IMAGE.bmap'' files, then run &amp;lt;code&amp;gt;bmaptool copy --bmap '''IMAGE.bmap''' '''IMAGE.xz''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;. This takes around 2.5 minutes to flash a 4 Gb file.&lt;br /&gt;
&lt;br /&gt;
==== Using graphical tools ====&lt;br /&gt;
GUI applications such as Etcher and GNOME Disks can be used to flash the microSD too.&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
== Installation to the eMMC ==&lt;br /&gt;
&lt;br /&gt;
=== From the booted microSD OS ===&lt;br /&gt;
# Flash an OS to the microSD card (and optionally resize the partition, see below)&lt;br /&gt;
# Insert microSD card and boot the device (phone or tablet)&lt;br /&gt;
# Download the desired OS' image on the booted OS or transfer it to the microSD card&lt;br /&gt;
# Extract the image file if it is archived&lt;br /&gt;
# Flash the image file to eMMC using &amp;lt;code&amp;gt;dd if='''IMAGE.img''' of=/dev/'''mmcblkX''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt; where X is the number label of the eMMC (of the disk, not the partition!). Use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to check your devices: typically with the current kernel the microSD card is ''/dev/mmcblk0'' and the eMMC is ''/dev/mmcblk2'' but as always with ''dd'' be extremely cautious to get the devices correct. &lt;br /&gt;
# Turn off device, remove microSD card and then turn on the device.&lt;br /&gt;
&lt;br /&gt;
=== Using JumpDrive ===&lt;br /&gt;
&lt;br /&gt;
{{Info|This only applies to the regular '''PinePhone''', not the '''PinePhone Pro''' or '''PineTab2'''.}}&lt;br /&gt;
&lt;br /&gt;
[[File:jumpdrive.jpg|400px|thumb|right|Jumpdrive running on the PinePhone]]&lt;br /&gt;
The internal eMMC flash storage can be flashed using the Jumpdrive utility by Danct12 and Martijn from postmarketOS.&lt;br /&gt;
This utility boots from micro SD and exposes the internal eMMC flash storage when the PinePhone is connected to a computer.&lt;br /&gt;
The process of flashing an OS to the exposed and mounted eMMC is identical to that of any other storage medium - e.g. a microSD card. You can use the &amp;lt;i&amp;gt;dd&amp;lt;/i&amp;gt; command or a utility such as Etcher or Gnome Disks, etc.&lt;br /&gt;
&lt;br /&gt;
Latest Jumpdrive can be found [https://github.com/dreemurrs-embedded/Jumpdrive/releases/ here].&lt;br /&gt;
&lt;br /&gt;
# Download and extract [https://github.com/dreemurrs-embedded/Jumpdrive/releases the Jumpdrive image]&lt;br /&gt;
# Flash the Jumpdrive image to a microSD card&lt;br /&gt;
# Boot the PinePhone from the Jumpdrive microSD card&lt;br /&gt;
# Connect the PinePhone to your computer using USB-A -&amp;gt; USB-C cable&lt;br /&gt;
# Flash the exposed PinePhone drive (e.g. ''/dev/mm...'', check for the right device in &amp;lt;code&amp;gt;dmesg&amp;lt;/code&amp;gt;, GNOME disks, or similar, and make sure it's unmounted) with your chosen OS image&lt;br /&gt;
# Once the flashing process is complete, disconnect the PinePhone from your PC, power it down and remove the Jumpdrive microSD card&lt;br /&gt;
# The process is now finished, and you can boot from eMMC&lt;br /&gt;
&lt;br /&gt;
The Jumpdrive image is smaller than 50MB. You can keep an microSD card specifically for using Jumpdrive, and there are 64MB microSD cards sold cheaply that will suffice. Jumpdrive also acts as a rescue image in case if you messed up your installation. To do so, you can telnet to '''172.16.42.1''', mount rootfs and fix it!&lt;br /&gt;
&lt;br /&gt;
=== SD to eMMC via installer ===&lt;br /&gt;
&lt;br /&gt;
An special installer image booted from the microSD card can be used to flash the eMMC as well. Mobian and postmarketOS installer images for the Pinephone series and the PineTab 2 factory image booted from microSD card will simply ask the user if they want to install to eMMC. The feature lives in the distribution-agnostic calamares-extensions repository (see [https://github.com/calamares/calamares-extensions/pull/7 calamares-extensions#7]), so other distributions might adopt this in the future.&lt;br /&gt;
&lt;br /&gt;
=== Using Tow-Boot ===&lt;br /&gt;
&lt;br /&gt;
Tow-Boot is an opinionated distribution of the U-Boot bootloader. It includes an USB Mass Storage Mode, which exposes the flash drive(s) to a computer connected to the phone via USB-C. The Tow-Boot bootloader has to be installed if it is not pre-installed already. For instructions see the following links:&lt;br /&gt;
&lt;br /&gt;
* '''PinePhone:''' https://tow-boot.org/devices/pine64-pinephoneA64.html &lt;br /&gt;
* '''PinePhone Pro:''' https://tow-boot.org/devices/pine64-pinephonePro.html&lt;br /&gt;
&lt;br /&gt;
If Tow-Boot is installed the phone can be started into USB Mass Storage Mode by holding the ''volume up'' key on startup.&lt;br /&gt;
&lt;br /&gt;
The steps of flashing an operating system to the phone after booting Tow-Boot's USB Mass Storage Mode and connecting the phone to a computer is identical to that of any other storage medium - e.g. a microSD card. You can use the &amp;lt;i&amp;gt;dd&amp;lt;/i&amp;gt; command or a utility such as Etcher or Gnome Disks from the computer the phone is connected to.&lt;br /&gt;
&lt;br /&gt;
== Resize partition to fit disk space ==&lt;br /&gt;
&lt;br /&gt;
{{Info|Many operating systems already include a script, which is resizing the partition on first boot, where this step is not required.}}&lt;br /&gt;
&lt;br /&gt;
Once you've flashed the OS to your microSD card or eMMC storage, you may also need to expand the partition to fill all the available space.&lt;br /&gt;
&lt;br /&gt;
=== Resize SD card's partition using computer ===&lt;br /&gt;
&lt;br /&gt;
For microSD cards, insert the microSD card and resize the partitions through the computer. For eMMC, insert the phone cable and use Jumpdrive to access the eMMC directly, and resize the partition after flashing the image. To do the flashing you have two options:&lt;br /&gt;
&lt;br /&gt;
==== Using Growpart ====&lt;br /&gt;
&lt;br /&gt;
Install &amp;lt;i&amp;gt;growpart&amp;lt;/i&amp;gt; and run:&lt;br /&gt;
 growpart /dev/'''mmcblkX''' '''Y'''&lt;br /&gt;
 resize2fs /dev/'''mmcblkXpY'''&lt;br /&gt;
where ''X'' is the storage device and ''Y'' is the partition number (viewable from &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
If you get any errors about missing or unknown commands, use &amp;lt;code&amp;gt;apt-cache search&amp;lt;/code&amp;gt; to find and install the needed software. Also don't forget to use &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Using Parted ====&lt;br /&gt;
&lt;br /&gt;
Parted's interactive mode and resize work well together. Do this before you put your microSD card into your device for the first time for best results.&lt;br /&gt;
&lt;br /&gt;
 sudo parted /dev/'''&amp;lt;your_sd_card_device&amp;gt;'''&lt;br /&gt;
 (parted) resizepart 2 100%&lt;br /&gt;
 (parted) quit&lt;br /&gt;
 sudo resize2fs /dev/'''&amp;lt;the_second_sd_card_PARTITION&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
=== Resize from within the Device ===&lt;br /&gt;
&lt;br /&gt;
eMMC: you would need to resize the partition on eMMC (flashed with the operating system) by booting another image from the microSD card: that way, the eMMC will be unmounted. It is '''not recommended''' to resize eMMC while booted from eMMC! Resizing a currently mounted partition can have weird results. If you booted from the microSD card, you can follow the above guidelines on how to resize from a computer. &lt;br /&gt;
&lt;br /&gt;
MicroSD card: It is generally not possible to boot from eMMC to partition the unmounted microSD card, because of the boot order - you would have to write the image to the empty microSD card first, then resize partition, all without rebooting. It is also '''not recommended''' to resize the microSD card while booted from microSD card! Resizing a currently mounted partition can have weird results.&lt;br /&gt;
&lt;br /&gt;
== Reuse SD card for data storage on system booting from eMMC==&lt;br /&gt;
Once you have installed your release of choice to eMMC, you may wish to use an microSD card for data storage. If you choose to re-use a card you have previously used to boot from, you will find your phone will not boot if you just reformat the card and insert it. This is because the Allwinner firmware in the PinePhone uses some (normally) unused space at the front of the microSD card to store boot software, which you need to clear.&lt;br /&gt;
&lt;br /&gt;
This can be done as follows on any Linux system:&lt;br /&gt;
 lsblk&lt;br /&gt;
to check the device of your microSD card – as an example lets assume it is /dev/mmcblk0&lt;br /&gt;
then&lt;br /&gt;
 sudo dd if=/dev/zero of=/dev/'''[DEVICE]''' bs=8k seek=1 count=4&lt;br /&gt;
will clear the relevant sectors of your card.&lt;br /&gt;
&lt;br /&gt;
Since Danctnix (arch) switched to a gpt partition table from mbr in May of 2022 it installs u-boot at an offset of 128k instead of 8k, which means this command must be used instead&lt;br /&gt;
 sudo dd if=/dev/zero of=/dev/'''[DEVICE]''' bs=32k seek=4 count=1&lt;br /&gt;
&lt;br /&gt;
== Web resources ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.youtube.com/watch?v=7HMkU43P9hw Youtube video on how to flash OS images on the Pinephone (SD or eMMC) by Tech Pills]&lt;br /&gt;
* [https://www.youtube.com/watch?v=u65dofYFAPY Youtube video on How to install different operating systems on the PinePhone plus an Mobian overview by Elatronion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:PinePhone]][[Category:Guide]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PinePhone_Installation_Instructions&amp;diff=20092</id>
		<title>PinePhone Installation Instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PinePhone_Installation_Instructions&amp;diff=20092"/>
		<updated>2023-07-18T19:08:32Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: Added PineTab2 info.  If this change is reverted, please also revert the removal of boot info from the PineTab2 page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This section has generic installation instructions. &lt;br /&gt;
&lt;br /&gt;
For specific installation instructions for each distribution please see the software releases pages:&lt;br /&gt;
&lt;br /&gt;
* for the '''PinePhone''': [[PinePhone Software Releases]]&lt;br /&gt;
* for the '''PinePhone Pro''': [[PinePhone Pro Software Releases]]&lt;br /&gt;
* for the '''PineTab2''': [[PineTab2]]&lt;br /&gt;
&lt;br /&gt;
== Boot priority ==&lt;br /&gt;
&lt;br /&gt;
=== PinePhone Pro ===&lt;br /&gt;
&lt;br /&gt;
For details regarding the boot priority on the PinePhone Pro see [[PinePhone Pro#Boot order]].&lt;br /&gt;
&lt;br /&gt;
=== PinePhone ===&lt;br /&gt;
&lt;br /&gt;
The PinePhone always boots from the microSD card first. It is therefore recommended to have a microSD card handy. It is '''not''' possible to lock themself out of the phone when the installation on the internal storage (the eMMC) fails, as a correctly flashed microSD card will always boot. Note: Booting from USB is not supported by the hardware, a live USB stick will not boot.&lt;br /&gt;
&lt;br /&gt;
The phone will also try to boot from microSD cards, which were previously flashed with an OS and formatted later, causing the phone to fail to boot. See [[#Reuse SD card for data storage on system booting from eMMC|reuse SD card]] on how to format the microSD card properly, including wiping the residues of u-boot.&lt;br /&gt;
&lt;br /&gt;
=== PineTab2===&lt;br /&gt;
&lt;br /&gt;
For details regarding the boot priority on the PineTab2 see [[PineTab2#Installation Instructions]]&lt;br /&gt;
&lt;br /&gt;
== Installation to the microSD ==&lt;br /&gt;
&lt;br /&gt;
To install an image to the microSD card:&lt;br /&gt;
&lt;br /&gt;
# Download your chosen image from [[PinePhone Software Releases]] for the regular '''PinePhone'', [[PinePhone Pro Software Releases]] for the '''PinePhone Pro''', or [[PineTab2 Releases]] for the '''PineTab2.'''&lt;br /&gt;
# Extract the compressed file&lt;br /&gt;
# Write the image to your microSD card, see below&lt;br /&gt;
# Plug microSD card into phone (make sure to use the top slot, not the bottom slot)&lt;br /&gt;
# On the '''PinePhone Pro''': The eMMC might have to be disconnected to boot from the microSD card, see [[PinePhone Pro#Boot order]]&lt;br /&gt;
# Boot phone&lt;br /&gt;
&lt;br /&gt;
[[File:Pinephone slots.png|600px|thumb|none|The microSD belongs in the upper slot, the micro-SIM in the lower slot.]]&lt;br /&gt;
&lt;br /&gt;
=== Flashing the microSD ===&lt;br /&gt;
==== Using dd ====&lt;br /&gt;
Make sure to select the correct device using &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt;. Then run &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; with the selected device:&lt;br /&gt;
&lt;br /&gt;
 sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&lt;br /&gt;
&lt;br /&gt;
{{Info|The image needs to be written to the whole device, not to partition 1. Make sure you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target.}}&lt;br /&gt;
&lt;br /&gt;
==== Using bmaptool ====&lt;br /&gt;
Make sure to select the correct device using &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt;. Then run bmaptool with the correct device:&lt;br /&gt;
&lt;br /&gt;
Download the ''IMAGE.xz'' and the ''IMAGE.bmap'' files, then run &amp;lt;code&amp;gt;bmaptool copy --bmap '''IMAGE.bmap''' '''IMAGE.xz''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;. This takes around 2.5 minutes to flash a 4 Gb file.&lt;br /&gt;
&lt;br /&gt;
==== Using graphical tools ====&lt;br /&gt;
GUI applications such as Etcher and GNOME Disks can be used to flash the microSD too.&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
== Installation to the eMMC ==&lt;br /&gt;
&lt;br /&gt;
=== From the booted microSD OS ===&lt;br /&gt;
# Flash an OS to the microSD card (and optionally resize the partition, see below)&lt;br /&gt;
# Insert microSD card and boot the device (phone or tablet)&lt;br /&gt;
# Download the desired OS' image on the booted OS or transfer it to the microSD card&lt;br /&gt;
# Extract the image file if it is archived&lt;br /&gt;
# Flash the image file to eMMC using &amp;lt;code&amp;gt;dd if='''IMAGE.img''' of=/dev/'''mmcblkX''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt; where X is the number label of the eMMC (of the disk, not the partition!). Use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to check your devices: typically with the current kernel the microSD card is ''/dev/mmcblk0'' and the eMMC is ''/dev/mmcblk2'' but as always with ''dd'' be extremely cautious to get the devices correct. &lt;br /&gt;
# Turn off device, remove microSD card and then turn on the device.&lt;br /&gt;
&lt;br /&gt;
=== Using JumpDrive ===&lt;br /&gt;
&lt;br /&gt;
{{Info|This only applies to the regular '''PinePhone''', not the '''PinePhone Pro''' or '''PineTab2'''.}}&lt;br /&gt;
&lt;br /&gt;
[[File:jumpdrive.jpg|400px|thumb|right|Jumpdrive running on the PinePhone]]&lt;br /&gt;
The internal eMMC flash storage can be flashed using the Jumpdrive utility by Danct12 and Martijn from postmarketOS.&lt;br /&gt;
This utility boots from micro SD and exposes the internal eMMC flash storage when the PinePhone is connected to a computer.&lt;br /&gt;
The process of flashing an OS to the exposed and mounted eMMC is identical to that of any other storage medium - e.g. a microSD card. You can use the &amp;lt;i&amp;gt;dd&amp;lt;/i&amp;gt; command or a utility such as Etcher or Gnome Disks, etc.&lt;br /&gt;
&lt;br /&gt;
Latest Jumpdrive can be found [https://github.com/dreemurrs-embedded/Jumpdrive/releases/ here].&lt;br /&gt;
&lt;br /&gt;
# Download and extract [https://github.com/dreemurrs-embedded/Jumpdrive/releases the Jumpdrive image]&lt;br /&gt;
# Flash the Jumpdrive image to a microSD card&lt;br /&gt;
# Boot the PinePhone from the Jumpdrive microSD card&lt;br /&gt;
# Connect the PinePhone to your computer using USB-A -&amp;gt; USB-C cable&lt;br /&gt;
# Flash the exposed PinePhone drive (e.g. ''/dev/mm...'', check for the right device in &amp;lt;code&amp;gt;dmesg&amp;lt;/code&amp;gt;, GNOME disks, or similar, and make sure it's unmounted) with your chosen OS image&lt;br /&gt;
# Once the flashing process is complete, disconnect the PinePhone from your PC, power it down and remove the Jumpdrive microSD card&lt;br /&gt;
# The process is now finished, and you can boot from eMMC&lt;br /&gt;
&lt;br /&gt;
The Jumpdrive image is smaller than 50MB. You can keep an microSD card specifically for using Jumpdrive, and there are 64MB microSD cards sold cheaply that will suffice. Jumpdrive also acts as a rescue image in case if you messed up your installation. To do so, you can telnet to '''172.16.42.1''', mount rootfs and fix it!&lt;br /&gt;
&lt;br /&gt;
=== SD to eMMC via installer ===&lt;br /&gt;
&lt;br /&gt;
An special installer image booted from the microSD card can be used to flash the eMMC as well. Mobian and postmarketOS installer images for the Pinephone series and the PineTab 2 factory image booted from microSD card will simply ask the user if they want to install to eMMC. The feature lives in the distribution-agnostic calamares-extensions repository (see [https://github.com/calamares/calamares-extensions/pull/7 calamares-extensions#7]), so other distributions might adopt this in the future.&lt;br /&gt;
&lt;br /&gt;
=== Using Tow-Boot ===&lt;br /&gt;
&lt;br /&gt;
Tow-Boot is an opinionated distribution of the U-Boot bootloader. It includes an USB Mass Storage Mode, which exposes the flash drive(s) to a computer connected to the phone via USB-C. The Tow-Boot bootloader has to be installed if it is not pre-installed already. For instructions see the following links:&lt;br /&gt;
&lt;br /&gt;
* '''PinePhone:''' https://tow-boot.org/devices/pine64-pinephoneA64.html &lt;br /&gt;
* '''PinePhone Pro:''' https://tow-boot.org/devices/pine64-pinephonePro.html&lt;br /&gt;
&lt;br /&gt;
If Tow-Boot is installed the phone can be started into USB Mass Storage Mode by holding the ''volume up'' key on startup.&lt;br /&gt;
&lt;br /&gt;
The steps of flashing an operating system to the phone after booting Tow-Boot's USB Mass Storage Mode and connecting the phone to a computer is identical to that of any other storage medium - e.g. a microSD card. You can use the &amp;lt;i&amp;gt;dd&amp;lt;/i&amp;gt; command or a utility such as Etcher or Gnome Disks from the computer the phone is connected to.&lt;br /&gt;
&lt;br /&gt;
== Resize partition to fit disk space ==&lt;br /&gt;
&lt;br /&gt;
{{Info|Many operating systems already include a script, which is resizing the partition on first boot, where this step is not required.}}&lt;br /&gt;
&lt;br /&gt;
Once you've flashed the OS to your microSD card or eMMC storage, you may also need to expand the partition to fill all the available space.&lt;br /&gt;
&lt;br /&gt;
=== Resize SD card's partition using computer ===&lt;br /&gt;
&lt;br /&gt;
For microSD cards, insert the microSD card and resize the partitions through the computer. For eMMC, insert the phone cable and use Jumpdrive to access the eMMC directly, and resize the partition after flashing the image. To do the flashing you have two options:&lt;br /&gt;
&lt;br /&gt;
==== Using Growpart ====&lt;br /&gt;
&lt;br /&gt;
Install &amp;lt;i&amp;gt;growpart&amp;lt;/i&amp;gt; and run:&lt;br /&gt;
 growpart /dev/'''mmcblkX''' '''Y'''&lt;br /&gt;
 resize2fs /dev/'''mmcblkXpY'''&lt;br /&gt;
where ''X'' is the storage device and ''Y'' is the partition number (viewable from &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
If you get any errors about missing or unknown commands, use &amp;lt;code&amp;gt;apt-cache search&amp;lt;/code&amp;gt; to find and install the needed software. Also don't forget to use &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Using Parted ====&lt;br /&gt;
&lt;br /&gt;
Parted's interactive mode and resize work well together. Do this before you put your microSD card into your device for the first time for best results.&lt;br /&gt;
&lt;br /&gt;
 sudo parted /dev/'''&amp;lt;your_sd_card_device&amp;gt;'''&lt;br /&gt;
 (parted) resizepart 2 100%&lt;br /&gt;
 (parted) quit&lt;br /&gt;
 sudo resize2fs /dev/'''&amp;lt;the_second_sd_card_PARTITION&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
=== Resize from within the Device ===&lt;br /&gt;
&lt;br /&gt;
eMMC: you would need to resize the partition on eMMC (flashed with the operating system) by booting another image from the microSD card: that way, the eMMC will be unmounted. It is '''not recommended''' to resize eMMC while booted from eMMC! Resizing a currently mounted partition can have weird results. If you booted from the microSD card, you can follow the above guidelines on how to resize from a computer. &lt;br /&gt;
&lt;br /&gt;
MicroSD card: It is generally not possible to boot from eMMC to partition the unmounted microSD card, because of the boot order - you would have to write the image to the empty microSD card first, then resize partition, all without rebooting. It is also '''not recommended''' to resize the microSD card while booted from microSD card! Resizing a currently mounted partition can have weird results.&lt;br /&gt;
&lt;br /&gt;
== Reuse SD card for data storage on system booting from eMMC==&lt;br /&gt;
Once you have installed your release of choice to eMMC, you may wish to use an microSD card for data storage. If you choose to re-use a card you have previously used to boot from, you will find your phone will not boot if you just reformat the card and insert it. This is because the Allwinner firmware in the PinePhone uses some (normally) unused space at the front of the microSD card to store boot software, which you need to clear.&lt;br /&gt;
&lt;br /&gt;
This can be done as follows on any Linux system:&lt;br /&gt;
 lsblk&lt;br /&gt;
to check the device of your microSD card – as an example lets assume it is /dev/mmcblk0&lt;br /&gt;
then&lt;br /&gt;
 sudo dd if=/dev/zero of=/dev/'''[DEVICE]''' bs=8k seek=1 count=4&lt;br /&gt;
will clear the relevant sectors of your card.&lt;br /&gt;
&lt;br /&gt;
Since Danctnix (arch) switched to a gpt partition table from mbr in May of 2022 it installs u-boot at an offset of 128k instead of 8k, which means this command must be used instead&lt;br /&gt;
 sudo dd if=/dev/zero of=/dev/'''[DEVICE]''' bs=32k seek=4 count=1&lt;br /&gt;
&lt;br /&gt;
== Web resources ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.youtube.com/watch?v=7HMkU43P9hw Youtube video on how to flash OS images on the Pinephone (SD or eMMC) by Tech Pills]&lt;br /&gt;
* [https://www.youtube.com/watch?v=u65dofYFAPY Youtube video on How to install different operating systems on the PinePhone plus an Mobian overview by Elatronion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:PinePhone]][[Category:Guide]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20056</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20056"/>
		<updated>2023-07-09T14:15:06Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: wording&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. Similarly packaged RISC-V tablet is [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes. The first package includes the PineTab2, a short user guide, a power cable and the UART adapter Note that the UART adapter is in the same package as the power cable in a second compartment and can be a bit hidden, search for it. The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''Danctnix Arch Linux ARM''. The factory image can be found here:&lt;br /&gt;
&lt;br /&gt;
* https://echo.danctnix.org:7269/danctnix-factory-image-20230527.img.xz (1.5 GB)&lt;br /&gt;
&lt;br /&gt;
{{Info|The factory image is flashed to a microSD card and it will overwrite the eMMC installation after booting.}}&lt;br /&gt;
&lt;br /&gt;
There are currently no stable releases. All releases for the PineTab2 will be listed under [[PineTab2 Releases]] as they're released. Your contributions are wanted!&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Preparing the microSD card'''&lt;br /&gt;
&lt;br /&gt;
To write an operating system to the microSD card (typically called &amp;quot;flashing&amp;quot; in the community), you need to first download a compatible image from the [[#Releases|releases]] section.&lt;br /&gt;
&lt;br /&gt;
Next you need to decompress the downloaded image. The images are typically compressed in an archive format such as ''xz'' to reduce the download size. If you are using a graphical tool such as ''balenaEtcher'' or ''Gnome Disks'' it will handle the decompression of the image in the flashing step automatically.&lt;br /&gt;
&lt;br /&gt;
Further you need to flash the image to the microSD card. This can be done using various tools, for example ''balenaEtcher'' (recommended for new users), ''Gnome Disks'' or command-line tools such as ''cp'' and ''dd''. Insert the microSD card in a microSD card reader connected to your computer and then choose a tool of your liking.&lt;br /&gt;
&lt;br /&gt;
Graphical applications:&lt;br /&gt;
&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
Command-line tools:&lt;br /&gt;
&lt;br /&gt;
* '''cp''': &amp;lt;code&amp;gt;sudo cp '''IMAGE.img''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''dd''': &amp;lt;code&amp;gt;sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Info|Make sure to replace '''IMAGE.img''' and '''[DEVICE]''' with the filename of the image (double check if it is decompressed and has the file extension ''.img'') and the device name. You can use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to find the device name. Make sure to flash to the whole device instead of partition 1 and that you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target. Be very careful to select the correct device, as the tools can overwrite your data when the wrong device is selected.}}&lt;br /&gt;
&lt;br /&gt;
Then insert the microSD card into the PineTab2. &lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
{{Hint|'''Note regarding the boot order:''' The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info box above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above procudere.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned.&lt;br /&gt;
&lt;br /&gt;
Change the backlight with '''Pinekey - Ctrl-Right'''.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|400px|right]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi&lt;br /&gt;
** Bluetooth&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Sensors:'''&lt;br /&gt;
** Accelerometer&lt;br /&gt;
** Ambient Light &amp;amp; Proximity Sensor&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* The display panel driver is in PineTab2's kernel fork, and needs to be submitted to upstream.&lt;br /&gt;
* The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[#Performing USB Tethering with an Android Phone|USB tether a phone]] or [[#Selecting a USB WIFI Adapter|use a supported WI-FI dongle]].&lt;br /&gt;
* The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
* The Camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter face-up in the USB-C port furthest away from the power button. If all the lights are lit, you have the wrong port: only the green light should be lit when you first plug it in.&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://fccid.io/2A8NB-PINETAB2 FCC: 2A8NB-PINETAB2]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
'''Does the Tablet support a Pen?'''&lt;br /&gt;
&lt;br /&gt;
No, adding a digitiser for pen inputs would make the price too high.&lt;br /&gt;
&lt;br /&gt;
'''Can I run Android on it?'''&lt;br /&gt;
&lt;br /&gt;
Theoretically yes, practically there's little chance anyone wants to make a well-supported Android build for this device. If you're looking for an Android tablet, buy any mainstream tablet, you'll get better value for your money.&lt;br /&gt;
&lt;br /&gt;
However, if you just need to run a few simple android apps, you might want to have a look at [https://docs.waydro.id/usage/install-on-desktops Waydroid] which can be installed on Arch Linux ARM using the following command: &amp;lt;code&amp;gt;sudo pacman -S waydroid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Is there SPI Flash?'''&lt;br /&gt;
&lt;br /&gt;
Yes! A 128 Mbit flash chip (sk25lp128) is reportedly present on production devices.&lt;br /&gt;
&lt;br /&gt;
'''My only Development Experience is Visual Basic Macros in Excel and Redstone in Minecraft, should I buy this?'''&lt;br /&gt;
&lt;br /&gt;
At this stage, probably not, unless you're happy with a tablet that has a buggy Wi-Fi driver and no camera controller driver.&lt;br /&gt;
&lt;br /&gt;
'''How does the Tablet compare to a Pinebook Pro?'''&lt;br /&gt;
&lt;br /&gt;
It's slower, as it is intended to be a successor to the PineTab1, not the Pinebook Pro. It'll still handle web browsing, video playback and documents fine though.&lt;br /&gt;
&lt;br /&gt;
'''What is the Performance of the PineTab2 compared to the PineTab-V?'''&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
'''Does PineTab2 play back DRM'd Content such as Netflix?'''&lt;br /&gt;
&lt;br /&gt;
Yes.  Widevine, using the `widevine-aarch64` package in the AUR is working, and was demonstrated on the PineTab2 using Paramount+ and Disney+.  Install it (`yay -S widevine-aarch64`), run the included register script to get Firefox to recognize it, and it should start working.&lt;br /&gt;
&lt;br /&gt;
'''I only know Python, can I help with drivers?'''&lt;br /&gt;
&lt;br /&gt;
Yes, if you learn C first. If that's too big of a hurdle, then no. (This response isn't trying to be snarky, this question was asked so many times it really needed to be here.)&lt;br /&gt;
&lt;br /&gt;
== How-to ==&lt;br /&gt;
&lt;br /&gt;
=== Putting the Device into Maskrom Mode ===&lt;br /&gt;
&lt;br /&gt;
To recover from a bad eMMC/SPI flash, plug the included debug adapter into the charging USB-C port and switch the white switch to its &amp;quot;ON&amp;quot; position to bypass eMMC/SPI boot. This tries to boot from SD, and if no SD is inserted, enters Maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Networking using USB ===&lt;br /&gt;
&lt;br /&gt;
Until the internal BES2600 WIFI has a stable driver, the community suggests that you connect using USB. This section summarizes the more detailed information in [[File:PineTab2_USB_Guide.pdf]], which covers connecting via [[#Performing USB Tethering with an Android Phone|a tethered Android phone]], [[#Selecting a USB WIFI Adapter|a suitable USB WIFI adapter]], a wired USB Ethernet adapter, and a tethered iOS device.&lt;br /&gt;
&lt;br /&gt;
==== Selecting a USB WIFI Adapter ====&lt;br /&gt;
&lt;br /&gt;
Insert a supported WIFI dongle in the upper USB port, using a USB-C to USB-A adapter as necessary. As a general rule, single state adapters are recommended. Even better, select one from this list: https://github.com/morrownr/USB-WiFi/blob/main/home/The_Short_List.md&lt;br /&gt;
&lt;br /&gt;
If you must use a multi-state adapter and it isn't recognized by the kernel, you can try ejecting the device.  This ''should'' force it back into adapter mode.  If this does not work, you can try installing [https://man.archlinux.org/man/usb_modeswitch.1.en usb_modeswitch] to troubleshoot.  You will need to temporarily use another method to get internet (such as phone tethering below) or load the package on an SD card to install it.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an Android Phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use an Android phone as a network adapter.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* An Android phone&lt;br /&gt;
* A USB OTG adapter (or the USB-C to USB-C cable)&lt;br /&gt;
* Some knowledge of your variation of Android&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug in the device to the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your android phone, open the settings app (specifics from here may vary on version)&lt;br /&gt;
** Navigate to &amp;quot;Network &amp;amp; Internet&amp;quot;&lt;br /&gt;
** Navigate to &amp;quot;Hotspot &amp;amp; Tethering&amp;quot;&lt;br /&gt;
** Tap on &amp;quot;USB Tethering&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an iPhone ====&lt;br /&gt;
&lt;br /&gt;
Prerequisite:&lt;br /&gt;
&lt;br /&gt;
On the iPhone make sure that Settings -&amp;gt; Personal Hotspot -&amp;gt; Allow others to join is turned on.&lt;br /&gt;
&lt;br /&gt;
# Use an Lightning (Apple) to USB-C (Pinetab2) cable to connect the devices.&lt;br /&gt;
# In the Pinetab make sure to use the USB-C port next to the volume keys.&lt;br /&gt;
# Once the cable is connected open your iPhone. &lt;br /&gt;
# You will see a request to trust the new device. Trust it.&lt;br /&gt;
# Confirm by typing in your Apple Device PIN&lt;br /&gt;
&lt;br /&gt;
This should be it. The Pinetab2 will show you the new device and the network connects to `Wired connection 1`&lt;br /&gt;
&lt;br /&gt;
Make sure to open the iPhone once you reconnect.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with a KaiOS phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use a KaiOS phone for mobile Internet use with your PineTab2.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* A KaiOS phone&lt;br /&gt;
* A USB OTG adapter (hama #00200311 tested)&lt;br /&gt;
* Your device’s charging cable&lt;br /&gt;
* Some knowledge of your KaiOS phone&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug the device into the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your KaiOS phone, open settings (specifics from here may vary on version)&lt;br /&gt;
* Navigate to &amp;quot;Network &amp;amp; Connectivity&amp;quot;&lt;br /&gt;
* Navigate to &amp;quot;Internet Sharing&amp;quot;&lt;br /&gt;
* Select &amp;quot;USB&amp;quot; and select On under USB tethering (Note: This option will be greyed out unless connected to the PineTab2)&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2 and it should show a wired connection icon.&lt;br /&gt;
&lt;br /&gt;
=== Auto-rotating the Screen ===&lt;br /&gt;
* To enable auto-rotation, install the iio-sensor-proxy package: &amp;lt;code&amp;gt;sudo pacman -S iio-sensor-proxy&amp;lt;/code&amp;gt; and reboot.&lt;br /&gt;
* By default, the screen will only rotate while in tablet mode (detached from the case.)  To enable it with the keyboard attached, go to System Settings--&amp;gt;Display and Monitor--&amp;gt;Display Configuration--&amp;gt;Uncheck &amp;quot;Only when in tablet mode&amp;quot; and click &amp;quot;Apply.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Rotating the Login Screen ===&lt;br /&gt;
By default, the login screen is set to display in portrait mode.  If you wish to change it to landscape mode to match the keyboard while in the case, use the following steps ([https://forum.pine64.org/showthread.php?tid=18313 Credit to chzbacon]) :&lt;br /&gt;
&lt;br /&gt;
* Install necessary software: &amp;lt;code&amp;gt;sudo pacman -S xorg-xrandr xorg-xinput&amp;lt;/code&amp;gt;&lt;br /&gt;
* Edit /usr/share/sddm/scripts/Xsetup.  For example, using nano: &amp;lt;code&amp;gt;sudo nano /usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt; and add the following two lines to the end of file:&lt;br /&gt;
** &amp;lt;code&amp;gt;xrandr --output DSI-1 --mode 800x1280 --rate 60.00 --rotate right&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;xinput set-prop &amp;quot;pointer:Goodix Capacitive TouchScreen&amp;quot; --type=float &amp;quot;Coordinate Transformation Matrix&amp;quot; 0 1 0 -1 0 1 0 0 1&amp;lt;/code&amp;gt;&lt;br /&gt;
* Now edit /etc/sddm.conf.d/sddm.conf, for example: &amp;lt;code&amp;gt;sudo nano /etc/sddm.conf.d/sddm.conf&amp;lt;/code&amp;gt; and add the following two lines (case sensitive):&lt;br /&gt;
** &amp;lt;code&amp;gt;[X11]&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;DisplayCommand=/usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt;&lt;br /&gt;
*Reboot, and your login screen should now display in landscape mode.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20055</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20055"/>
		<updated>2023-07-09T14:12:41Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: UART clarification&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. Similarly packaged RISC-V tablet is [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes. The first package includes the PineTab2, a short user guide, a power cable and the UART adapter Note that the UART adapter is in the same package as the power cable in a second compartment and can be a bit hidden, search for it. The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''Danctnix Arch Linux ARM''. The factory image can be found here:&lt;br /&gt;
&lt;br /&gt;
* https://echo.danctnix.org:7269/danctnix-factory-image-20230527.img.xz (1.5 GB)&lt;br /&gt;
&lt;br /&gt;
{{Info|The factory image is flashed to a microSD card and it will overwrite the eMMC installation after booting.}}&lt;br /&gt;
&lt;br /&gt;
There are currently no stable releases. All releases for the PineTab2 will be listed under [[PineTab2 Releases]] as they're released. Your contributions are wanted!&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Preparing the microSD card'''&lt;br /&gt;
&lt;br /&gt;
To write an operating system to the microSD card (typically called &amp;quot;flashing&amp;quot; in the community), you need to first download a compatible image from the [[#Releases|releases]] section.&lt;br /&gt;
&lt;br /&gt;
Next you need to decompress the downloaded image. The images are typically compressed in an archive format such as ''xz'' to reduce the download size. If you are using a graphical tool such as ''balenaEtcher'' or ''Gnome Disks'' it will handle the decompression of the image in the flashing step automatically.&lt;br /&gt;
&lt;br /&gt;
Further you need to flash the image to the microSD card. This can be done using various tools, for example ''balenaEtcher'' (recommended for new users), ''Gnome Disks'' or command-line tools such as ''cp'' and ''dd''. Insert the microSD card in a microSD card reader connected to your computer and then choose a tool of your liking.&lt;br /&gt;
&lt;br /&gt;
Graphical applications:&lt;br /&gt;
&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
Command-line tools:&lt;br /&gt;
&lt;br /&gt;
* '''cp''': &amp;lt;code&amp;gt;sudo cp '''IMAGE.img''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''dd''': &amp;lt;code&amp;gt;sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Info|Make sure to replace '''IMAGE.img''' and '''[DEVICE]''' with the filename of the image (double check if it is decompressed and has the file extension ''.img'') and the device name. You can use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to find the device name. Make sure to flash to the whole device instead of partition 1 and that you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target. Be very careful to select the correct device, as the tools can overwrite your data when the wrong device is selected.}}&lt;br /&gt;
&lt;br /&gt;
Then insert the microSD card into the PineTab2. &lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
{{Hint|'''Note regarding the boot order:''' The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info box above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above procudere.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned.&lt;br /&gt;
&lt;br /&gt;
Change the backlight with '''Pinekey - Ctrl-Right'''.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|400px|right]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi&lt;br /&gt;
** Bluetooth&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Sensors:'''&lt;br /&gt;
** Accelerometer&lt;br /&gt;
** Ambient Light &amp;amp; Proximity Sensor&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* The display panel driver is in PineTab2's kernel fork, and needs to be submitted to upstream.&lt;br /&gt;
* The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[#Performing USB Tethering with an Android Phone|USB tether a phone]] or [[#Selecting a USB WIFI Adapter|use a supported WI-FI dongle]].&lt;br /&gt;
* The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
* The Camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter face-up in the USB-C port furthest away from the power button. If you see red and blue lights, you have the wrong port: only the green light should be lit.&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://fccid.io/2A8NB-PINETAB2 FCC: 2A8NB-PINETAB2]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
'''Does the Tablet support a Pen?'''&lt;br /&gt;
&lt;br /&gt;
No, adding a digitiser for pen inputs would make the price too high.&lt;br /&gt;
&lt;br /&gt;
'''Can I run Android on it?'''&lt;br /&gt;
&lt;br /&gt;
Theoretically yes, practically there's little chance anyone wants to make a well-supported Android build for this device. If you're looking for an Android tablet, buy any mainstream tablet, you'll get better value for your money.&lt;br /&gt;
&lt;br /&gt;
However, if you just need to run a few simple android apps, you might want to have a look at [https://docs.waydro.id/usage/install-on-desktops Waydroid] which can be installed on Arch Linux ARM using the following command: &amp;lt;code&amp;gt;sudo pacman -S waydroid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Is there SPI Flash?'''&lt;br /&gt;
&lt;br /&gt;
Yes! A 128 Mbit flash chip (sk25lp128) is reportedly present on production devices.&lt;br /&gt;
&lt;br /&gt;
'''My only Development Experience is Visual Basic Macros in Excel and Redstone in Minecraft, should I buy this?'''&lt;br /&gt;
&lt;br /&gt;
At this stage, probably not, unless you're happy with a tablet that has a buggy Wi-Fi driver and no camera controller driver.&lt;br /&gt;
&lt;br /&gt;
'''How does the Tablet compare to a Pinebook Pro?'''&lt;br /&gt;
&lt;br /&gt;
It's slower, as it is intended to be a successor to the PineTab1, not the Pinebook Pro. It'll still handle web browsing, video playback and documents fine though.&lt;br /&gt;
&lt;br /&gt;
'''What is the Performance of the PineTab2 compared to the PineTab-V?'''&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
'''Does PineTab2 play back DRM'd Content such as Netflix?'''&lt;br /&gt;
&lt;br /&gt;
Yes.  Widevine, using the `widevine-aarch64` package in the AUR is working, and was demonstrated on the PineTab2 using Paramount+ and Disney+.  Install it (`yay -S widevine-aarch64`), run the included register script to get Firefox to recognize it, and it should start working.&lt;br /&gt;
&lt;br /&gt;
'''I only know Python, can I help with drivers?'''&lt;br /&gt;
&lt;br /&gt;
Yes, if you learn C first. If that's too big of a hurdle, then no. (This response isn't trying to be snarky, this question was asked so many times it really needed to be here.)&lt;br /&gt;
&lt;br /&gt;
== How-to ==&lt;br /&gt;
&lt;br /&gt;
=== Putting the Device into Maskrom Mode ===&lt;br /&gt;
&lt;br /&gt;
To recover from a bad eMMC/SPI flash, plug the included debug adapter into the charging USB-C port and switch the white switch to its &amp;quot;ON&amp;quot; position to bypass eMMC/SPI boot. This tries to boot from SD, and if no SD is inserted, enters Maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Networking using USB ===&lt;br /&gt;
&lt;br /&gt;
Until the internal BES2600 WIFI has a stable driver, the community suggests that you connect using USB. This section summarizes the more detailed information in [[File:PineTab2_USB_Guide.pdf]], which covers connecting via [[#Performing USB Tethering with an Android Phone|a tethered Android phone]], [[#Selecting a USB WIFI Adapter|a suitable USB WIFI adapter]], a wired USB Ethernet adapter, and a tethered iOS device.&lt;br /&gt;
&lt;br /&gt;
==== Selecting a USB WIFI Adapter ====&lt;br /&gt;
&lt;br /&gt;
Insert a supported WIFI dongle in the upper USB port, using a USB-C to USB-A adapter as necessary. As a general rule, single state adapters are recommended. Even better, select one from this list: https://github.com/morrownr/USB-WiFi/blob/main/home/The_Short_List.md&lt;br /&gt;
&lt;br /&gt;
If you must use a multi-state adapter and it isn't recognized by the kernel, you can try ejecting the device.  This ''should'' force it back into adapter mode.  If this does not work, you can try installing [https://man.archlinux.org/man/usb_modeswitch.1.en usb_modeswitch] to troubleshoot.  You will need to temporarily use another method to get internet (such as phone tethering below) or load the package on an SD card to install it.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an Android Phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use an Android phone as a network adapter.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* An Android phone&lt;br /&gt;
* A USB OTG adapter (or the USB-C to USB-C cable)&lt;br /&gt;
* Some knowledge of your variation of Android&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug in the device to the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your android phone, open the settings app (specifics from here may vary on version)&lt;br /&gt;
** Navigate to &amp;quot;Network &amp;amp; Internet&amp;quot;&lt;br /&gt;
** Navigate to &amp;quot;Hotspot &amp;amp; Tethering&amp;quot;&lt;br /&gt;
** Tap on &amp;quot;USB Tethering&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an iPhone ====&lt;br /&gt;
&lt;br /&gt;
Prerequisite:&lt;br /&gt;
&lt;br /&gt;
On the iPhone make sure that Settings -&amp;gt; Personal Hotspot -&amp;gt; Allow others to join is turned on.&lt;br /&gt;
&lt;br /&gt;
# Use an Lightning (Apple) to USB-C (Pinetab2) cable to connect the devices.&lt;br /&gt;
# In the Pinetab make sure to use the USB-C port next to the volume keys.&lt;br /&gt;
# Once the cable is connected open your iPhone. &lt;br /&gt;
# You will see a request to trust the new device. Trust it.&lt;br /&gt;
# Confirm by typing in your Apple Device PIN&lt;br /&gt;
&lt;br /&gt;
This should be it. The Pinetab2 will show you the new device and the network connects to `Wired connection 1`&lt;br /&gt;
&lt;br /&gt;
Make sure to open the iPhone once you reconnect.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with a KaiOS phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use a KaiOS phone for mobile Internet use with your PineTab2.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* A KaiOS phone&lt;br /&gt;
* A USB OTG adapter (hama #00200311 tested)&lt;br /&gt;
* Your device’s charging cable&lt;br /&gt;
* Some knowledge of your KaiOS phone&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug the device into the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your KaiOS phone, open settings (specifics from here may vary on version)&lt;br /&gt;
* Navigate to &amp;quot;Network &amp;amp; Connectivity&amp;quot;&lt;br /&gt;
* Navigate to &amp;quot;Internet Sharing&amp;quot;&lt;br /&gt;
* Select &amp;quot;USB&amp;quot; and select On under USB tethering (Note: This option will be greyed out unless connected to the PineTab2)&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2 and it should show a wired connection icon.&lt;br /&gt;
&lt;br /&gt;
=== Auto-rotating the Screen ===&lt;br /&gt;
* To enable auto-rotation, install the iio-sensor-proxy package: &amp;lt;code&amp;gt;sudo pacman -S iio-sensor-proxy&amp;lt;/code&amp;gt; and reboot.&lt;br /&gt;
* By default, the screen will only rotate while in tablet mode (detached from the case.)  To enable it with the keyboard attached, go to System Settings--&amp;gt;Display and Monitor--&amp;gt;Display Configuration--&amp;gt;Uncheck &amp;quot;Only when in tablet mode&amp;quot; and click &amp;quot;Apply.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Rotating the Login Screen ===&lt;br /&gt;
By default, the login screen is set to display in portrait mode.  If you wish to change it to landscape mode to match the keyboard while in the case, use the following steps ([https://forum.pine64.org/showthread.php?tid=18313 Credit to chzbacon]) :&lt;br /&gt;
&lt;br /&gt;
* Install necessary software: &amp;lt;code&amp;gt;sudo pacman -S xorg-xrandr xorg-xinput&amp;lt;/code&amp;gt;&lt;br /&gt;
* Edit /usr/share/sddm/scripts/Xsetup.  For example, using nano: &amp;lt;code&amp;gt;sudo nano /usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt; and add the following two lines to the end of file:&lt;br /&gt;
** &amp;lt;code&amp;gt;xrandr --output DSI-1 --mode 800x1280 --rate 60.00 --rotate right&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;xinput set-prop &amp;quot;pointer:Goodix Capacitive TouchScreen&amp;quot; --type=float &amp;quot;Coordinate Transformation Matrix&amp;quot; 0 1 0 -1 0 1 0 0 1&amp;lt;/code&amp;gt;&lt;br /&gt;
* Now edit /etc/sddm.conf.d/sddm.conf, for example: &amp;lt;code&amp;gt;sudo nano /etc/sddm.conf.d/sddm.conf&amp;lt;/code&amp;gt; and add the following two lines (case sensitive):&lt;br /&gt;
** &amp;lt;code&amp;gt;[X11]&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;DisplayCommand=/usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt;&lt;br /&gt;
*Reboot, and your login screen should now display in landscape mode.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20054</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20054"/>
		<updated>2023-07-08T21:57:59Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: Rotate Login Screen&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. Similarly packaged RISC-V tablet is [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes. The first package includes the PineTab2, a short user guide, a power cable and the UART adapter Note that the UART adapter is in the same package as the power cable in a second compartment and can be a bit hidden, search for it. The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''Danctnix Arch Linux ARM''. The factory image can be found here:&lt;br /&gt;
&lt;br /&gt;
* https://echo.danctnix.org:7269/danctnix-factory-image-20230527.img.xz (1.5 GB)&lt;br /&gt;
&lt;br /&gt;
{{Info|The factory image is flashed to a microSD card and it will overwrite the eMMC installation after booting.}}&lt;br /&gt;
&lt;br /&gt;
There are currently no stable releases. All releases for the PineTab2 will be listed under [[PineTab2 Releases]] as they're released. Your contributions are wanted!&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Preparing the microSD card'''&lt;br /&gt;
&lt;br /&gt;
To write an operating system to the microSD card (typically called &amp;quot;flashing&amp;quot; in the community), you need to first download a compatible image from the [[#Releases|releases]] section.&lt;br /&gt;
&lt;br /&gt;
Next you need to decompress the downloaded image. The images are typically compressed in an archive format such as ''xz'' to reduce the download size. If you are using a graphical tool such as ''balenaEtcher'' or ''Gnome Disks'' it will handle the decompression of the image in the flashing step automatically.&lt;br /&gt;
&lt;br /&gt;
Further you need to flash the image to the microSD card. This can be done using various tools, for example ''balenaEtcher'' (recommended for new users), ''Gnome Disks'' or command-line tools such as ''cp'' and ''dd''. Insert the microSD card in a microSD card reader connected to your computer and then choose a tool of your liking.&lt;br /&gt;
&lt;br /&gt;
Graphical applications:&lt;br /&gt;
&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
Command-line tools:&lt;br /&gt;
&lt;br /&gt;
* '''cp''': &amp;lt;code&amp;gt;sudo cp '''IMAGE.img''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''dd''': &amp;lt;code&amp;gt;sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Info|Make sure to replace '''IMAGE.img''' and '''[DEVICE]''' with the filename of the image (double check if it is decompressed and has the file extension ''.img'') and the device name. You can use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to find the device name. Make sure to flash to the whole device instead of partition 1 and that you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target. Be very careful to select the correct device, as the tools can overwrite your data when the wrong device is selected.}}&lt;br /&gt;
&lt;br /&gt;
Then insert the microSD card into the PineTab2. &lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
{{Hint|'''Note regarding the boot order:''' The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info box above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above procudere.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned.&lt;br /&gt;
&lt;br /&gt;
Change the backlight with '''Pinekey - Ctrl-Right'''.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|400px|right]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi&lt;br /&gt;
** Bluetooth&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Sensors:'''&lt;br /&gt;
** Accelerometer&lt;br /&gt;
** Ambient Light &amp;amp; Proximity Sensor&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* The display panel driver is in PineTab2's kernel fork, and needs to be submitted to upstream.&lt;br /&gt;
* The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[#Performing USB Tethering with an Android Phone|USB tether a phone]] or [[#Selecting a USB WIFI Adapter|use a supported WI-FI dongle]].&lt;br /&gt;
* The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
* The Camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter in the USB-C port furthest away from the power button&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://fccid.io/2A8NB-PINETAB2 FCC: 2A8NB-PINETAB2]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
'''Does the Tablet support a Pen?'''&lt;br /&gt;
&lt;br /&gt;
No, adding a digitiser for pen inputs would make the price too high.&lt;br /&gt;
&lt;br /&gt;
'''Can I run Android on it?'''&lt;br /&gt;
&lt;br /&gt;
Theoretically yes, practically there's little chance anyone wants to make a well-supported Android build for this device. If you're looking for an Android tablet, buy any mainstream tablet, you'll get better value for your money.&lt;br /&gt;
&lt;br /&gt;
However, if you just need to run a few simple android apps, you might want to have a look at [https://docs.waydro.id/usage/install-on-desktops Waydroid] which can be installed on Arch Linux ARM using the following command: &amp;lt;code&amp;gt;sudo pacman -S waydroid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Is there SPI Flash?'''&lt;br /&gt;
&lt;br /&gt;
Yes! A 128 Mbit flash chip (sk25lp128) is reportedly present on production devices.&lt;br /&gt;
&lt;br /&gt;
'''My only Development Experience is Visual Basic Macros in Excel and Redstone in Minecraft, should I buy this?'''&lt;br /&gt;
&lt;br /&gt;
At this stage, probably not, unless you're happy with a tablet that has a buggy Wi-Fi driver and no camera controller driver.&lt;br /&gt;
&lt;br /&gt;
'''How does the Tablet compare to a Pinebook Pro?'''&lt;br /&gt;
&lt;br /&gt;
It's slower, as it is intended to be a successor to the PineTab1, not the Pinebook Pro. It'll still handle web browsing, video playback and documents fine though.&lt;br /&gt;
&lt;br /&gt;
'''What is the Performance of the PineTab2 compared to the PineTab-V?'''&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
'''Does PineTab2 play back DRM'd Content such as Netflix?'''&lt;br /&gt;
&lt;br /&gt;
Yes.  Widevine, using the `widevine-aarch64` package in the AUR is working, and was demonstrated on the PineTab2 using Paramount+ and Disney+.  Install it (`yay -S widevine-aarch64`), run the included register script to get Firefox to recognize it, and it should start working.&lt;br /&gt;
&lt;br /&gt;
'''I only know Python, can I help with drivers?'''&lt;br /&gt;
&lt;br /&gt;
Yes, if you learn C first. If that's too big of a hurdle, then no. (This response isn't trying to be snarky, this question was asked so many times it really needed to be here.)&lt;br /&gt;
&lt;br /&gt;
== How-to ==&lt;br /&gt;
&lt;br /&gt;
=== Putting the Device into Maskrom Mode ===&lt;br /&gt;
&lt;br /&gt;
To recover from a bad eMMC/SPI flash, plug the included debug adapter into the charging USB-C port and switch the white switch to its &amp;quot;ON&amp;quot; position to bypass eMMC/SPI boot. This tries to boot from SD, and if no SD is inserted, enters Maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Networking using USB ===&lt;br /&gt;
&lt;br /&gt;
Until the internal BES2600 WIFI has a stable driver, the community suggests that you connect using USB. This section summarizes the more detailed information in [[File:PineTab2_USB_Guide.pdf]], which covers connecting via [[#Performing USB Tethering with an Android Phone|a tethered Android phone]], [[#Selecting a USB WIFI Adapter|a suitable USB WIFI adapter]], a wired USB Ethernet adapter, and a tethered iOS device.&lt;br /&gt;
&lt;br /&gt;
==== Selecting a USB WIFI Adapter ====&lt;br /&gt;
&lt;br /&gt;
Insert a supported WIFI dongle in the upper USB port, using a USB-C to USB-A adapter as necessary. As a general rule, single state adapters are recommended. Even better, select one from this list: https://github.com/morrownr/USB-WiFi/blob/main/home/The_Short_List.md&lt;br /&gt;
&lt;br /&gt;
If you must use a multi-state adapter and it isn't recognized by the kernel, you can try ejecting the device.  This ''should'' force it back into adapter mode.  If this does not work, you can try installing [https://man.archlinux.org/man/usb_modeswitch.1.en usb_modeswitch] to troubleshoot.  You will need to temporarily use another method to get internet (such as phone tethering below) or load the package on an SD card to install it.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an Android Phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use an Android phone as a network adapter.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* An Android phone&lt;br /&gt;
* A USB OTG adapter (or the USB-C to USB-C cable)&lt;br /&gt;
* Some knowledge of your variation of Android&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug in the device to the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your android phone, open the settings app (specifics from here may vary on version)&lt;br /&gt;
** Navigate to &amp;quot;Network &amp;amp; Internet&amp;quot;&lt;br /&gt;
** Navigate to &amp;quot;Hotspot &amp;amp; Tethering&amp;quot;&lt;br /&gt;
** Tap on &amp;quot;USB Tethering&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an iPhone ====&lt;br /&gt;
&lt;br /&gt;
Prerequisite:&lt;br /&gt;
&lt;br /&gt;
On the iPhone make sure that Settings -&amp;gt; Personal Hotspot -&amp;gt; Allow others to join is turned on.&lt;br /&gt;
&lt;br /&gt;
# Use an Lightning (Apple) to USB-C (Pinetab2) cable to connect the devices.&lt;br /&gt;
# In the Pinetab make sure to use the USB-C port next to the volume keys.&lt;br /&gt;
# Once the cable is connected open your iPhone. &lt;br /&gt;
# You will see a request to trust the new device. Trust it.&lt;br /&gt;
# Confirm by typing in your Apple Device PIN&lt;br /&gt;
&lt;br /&gt;
This should be it. The Pinetab2 will show you the new device and the network connects to `Wired connection 1`&lt;br /&gt;
&lt;br /&gt;
Make sure to open the iPhone once you reconnect.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with a KaiOS phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use a KaiOS phone for mobile Internet use with your PineTab2.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* A KaiOS phone&lt;br /&gt;
* A USB OTG adapter (hama #00200311 tested)&lt;br /&gt;
* Your device’s charging cable&lt;br /&gt;
* Some knowledge of your KaiOS phone&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug the device into the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your KaiOS phone, open settings (specifics from here may vary on version)&lt;br /&gt;
* Navigate to &amp;quot;Network &amp;amp; Connectivity&amp;quot;&lt;br /&gt;
* Navigate to &amp;quot;Internet Sharing&amp;quot;&lt;br /&gt;
* Select &amp;quot;USB&amp;quot; and select On under USB tethering (Note: This option will be greyed out unless connected to the PineTab2)&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2 and it should show a wired connection icon.&lt;br /&gt;
&lt;br /&gt;
=== Auto-rotating the Screen ===&lt;br /&gt;
* To enable auto-rotation, install the iio-sensor-proxy package: &amp;lt;code&amp;gt;sudo pacman -S iio-sensor-proxy&amp;lt;/code&amp;gt; and reboot.&lt;br /&gt;
* By default, the screen will only rotate while in tablet mode (detached from the case.)  To enable it with the keyboard attached, go to System Settings--&amp;gt;Display and Monitor--&amp;gt;Display Configuration--&amp;gt;Uncheck &amp;quot;Only when in tablet mode&amp;quot; and click &amp;quot;Apply.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Rotating the Login Screen ===&lt;br /&gt;
By default, the login screen is set to display in portrait mode.  If you wish to change it to landscape mode to match the keyboard while in the case, use the following steps ([https://forum.pine64.org/showthread.php?tid=18313 Credit to chzbacon]) :&lt;br /&gt;
&lt;br /&gt;
* Install necessary software: &amp;lt;code&amp;gt;sudo pacman -S xorg-xrandr xorg-xinput&amp;lt;/code&amp;gt;&lt;br /&gt;
* Edit /usr/share/sddm/scripts/Xsetup.  For example, using nano: &amp;lt;code&amp;gt;sudo nano /usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt; and add the following two lines to the end of file:&lt;br /&gt;
** &amp;lt;code&amp;gt;xrandr --output DSI-1 --mode 800x1280 --rate 60.00 --rotate right&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;xinput set-prop &amp;quot;pointer:Goodix Capacitive TouchScreen&amp;quot; --type=float &amp;quot;Coordinate Transformation Matrix&amp;quot; 0 1 0 -1 0 1 0 0 1&amp;lt;/code&amp;gt;&lt;br /&gt;
* Now edit /etc/sddm.conf.d/sddm.conf, for example: &amp;lt;code&amp;gt;sudo nano /etc/sddm.conf.d/sddm.conf&amp;lt;/code&amp;gt; and add the following two lines (case sensitive):&lt;br /&gt;
** &amp;lt;code&amp;gt;[X11]&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;DisplayCommand=/usr/share/sddm/scripts/Xsetup&amp;lt;/code&amp;gt;&lt;br /&gt;
*Reboot, and your login screen should now display in landscape mode.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2_Releases&amp;diff=20052</id>
		<title>PineTab2 Releases</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2_Releases&amp;diff=20052"/>
		<updated>2023-07-08T21:17:14Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: Added PostmarketOS&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains a list of all available releases and tools for the [[PineTab2]] in alphabetical order. &lt;br /&gt;
&lt;br /&gt;
The installation instructions can be found under [[PineTab2#Installation instructions]].&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux ARM ===&lt;br /&gt;
[[File:Archlinux-logo.png|right|100px]]&lt;br /&gt;
&lt;br /&gt;
(Unofficial) Arch Linux ARM maintained by the [https://danctnix.org/ DanctNIX] community (GitHub: [https://github.com/DanctNIX/danctnix danctnix], [https://github.com/dreemurrs-embedded dreemurrs-embedded]).&lt;br /&gt;
&lt;br /&gt;
==== Download ====&lt;br /&gt;
&lt;br /&gt;
* https://echo.danctnix.org:7269/danctnix-factory-image-20230527.img.xz&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm/123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Notes ====&lt;br /&gt;
&lt;br /&gt;
* Currently ships without a Wi-Fi and Bluetooth driver&lt;br /&gt;
* [https://wiki.archlinux.org/title/SDDM#KDE_Plasma_Wayland_hangs_on_shutdown_and_reboot system hangs on reboot/shutdown] (SDDM bug, workaround possible)&lt;br /&gt;
* [https://forum.pine64.org/showthread.php?tid=18313 screen rotated 90°, workaround possible]&lt;br /&gt;
* [https://github.com/ScottFreeCode/Pine64-Arch/tree/master/PKGBUILDS/pine64/alsa-ucm-pinetab2 HP/Speaker switching via Alsa UCM]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Buildroot ===&lt;br /&gt;
[[File:Buildroot.png|right|100px]]&lt;br /&gt;
&lt;br /&gt;
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation.&lt;br /&gt;
&lt;br /&gt;
An external tree for the PINE64 PineTab2 is developed and maintained by ''Danct12'' (same developer behind the PineTab2 port of ''Arch Linux ARM'').&lt;br /&gt;
&lt;br /&gt;
==== Download ====&lt;br /&gt;
&lt;br /&gt;
* The repository and build instructions can be found [https://github.com/Danct12/buildroot_pinetab2 here].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Mobian ===&lt;br /&gt;
[[File:Debian-logo.png|right|100px]]&lt;br /&gt;
&lt;br /&gt;
An unofficial [https://www.debian.org Debian] build for ARM64 running with Phosh. The current version of the base Debian system is Debian Bookworm. See the installation instructions [https://wiki.debian.org/InstallingDebianOn/PINE64/PineTab2 here]. If you have questions about Mobian, please ask them in the [https://matrix.to/#/#mobian:matrix.org Mobian Matrix room].&lt;br /&gt;
&lt;br /&gt;
==== Download ====&lt;br /&gt;
&lt;br /&gt;
* [https://images.mobian.org/pinetab2/ Images]&lt;br /&gt;
&lt;br /&gt;
{{Info|U-Boot is required to boot the images. If you have the factory image installed and updated to the latest version, you can boot Mobian from an SD card without installing U-Boot.}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;mobian/1234&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Notes ====&lt;br /&gt;
* The development is work in progress. Mobian's support for the PineTab2 is maintained by [https://salsa.debian.org/julianfairfax Julian]. The Mobian wiki can be found [https://wiki.mobian-project.org/ here].&lt;br /&gt;
* In order to connect to the device using SSH/SCP, you need to install SSH on the device. You can do this by executing the following in a shell: &amp;quot;sudo apt-get install ssh&amp;quot;, afterwards you can connect via SSH/SCP using the PineTab2's IP address on port 22.&lt;br /&gt;
* When installing Mobian with full disk encryption and booting with the keyboard case connected, you will have to touch the screen or press a key to show the decryption screen. This is an [https://gitlab.com/postmarketOS/osk-sdl/-/issues/148 upstream issue].&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== NixOS ===&lt;br /&gt;
[[File:NixOS.webp|right|100px]]&lt;br /&gt;
&lt;br /&gt;
NixOS is an immutable Linux distribution built around the Nix configuration language. The NixOS image for PineTab2 uses some downstream modifications to packages, such as an U-Boot package based on 2023.07-rc4 and a kernel also used by the Arch Linux Arm image.&lt;br /&gt;
&lt;br /&gt;
This image is extremely basic and currently boots to a console. A NixOS configuration can be applied after booting to gain a full graphical system.&lt;br /&gt;
&lt;br /&gt;
==== Download ====&lt;br /&gt;
&lt;br /&gt;
* https://github.com/nabam/nixos-rockchip/releases&lt;br /&gt;
&lt;br /&gt;
==== Notes ====&lt;br /&gt;
&lt;br /&gt;
After booting, download this flake to the pinetab and place it at '''/etc/nixos/flake.nix''':&lt;br /&gt;
&lt;br /&gt;
* https://git.asonix.dog/asonix/pinetab2-nixos/raw/branch/main/flake.nix&lt;br /&gt;
&lt;br /&gt;
Run the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ sudo su&lt;br /&gt;
 &amp;gt; cd&lt;br /&gt;
 &amp;gt; nixos-rebuild switch&lt;br /&gt;
 &amp;gt; nixos-rebuild switch # yes, do it two times&lt;br /&gt;
 &amp;gt; reboot&lt;br /&gt;
&lt;br /&gt;
After rebooting, there will be a new user account.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;pinetab2/changeme&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== postmarketOS ===&lt;br /&gt;
[[File:PostmarketOS_logo.png|right|80px]]&lt;br /&gt;
&lt;br /&gt;
'''postmarketOS''' extends [https://www.alpinelinux.org/ Alpine Linux] to run on smartphones and other mobile devices.&lt;br /&gt;
&lt;br /&gt;
It offers various user interfaces (Phosh, Plasma Mobile, Sxmo, Plasma Desktop, Gnome 3, Kodi, XFCE4 and more). As of writing, this distro is currently in testing and no official releases are available for download.  Instead, users will need to create their own image with the distribution's install and development tool &amp;lt;code&amp;gt;pmbootstrap&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Download====&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/PINE64_PineTab_2_(pine64-pinetab2) Pinetab2 Device Page]&lt;br /&gt;
* Build the image with [https://wiki.postmarketos.org/wiki/Pmbootstrap pmbootstrap] and flash it to an SD.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu Touch ===&lt;br /&gt;
[[File:Ubports-logo.png|right|100px]]&lt;br /&gt;
&lt;br /&gt;
A Mobile Version of the Ubuntu Operating System made and maintained by the UBports Community. The port is currently maintained by Oren Klopfer (oklopfer).&lt;br /&gt;
&lt;br /&gt;
The bootloader (u-boot) comes pre-flashed in the port. Installation just requires flashing the &amp;lt;code&amp;gt;.img.xz&amp;lt;/code&amp;gt; to an SD or the eMMC.&lt;br /&gt;
&lt;br /&gt;
==== Download ====&lt;br /&gt;
&lt;br /&gt;
[https://gitlab.com/ook37/pinephone-pro-debos/-/releases UBports 20.04 PineTab2 Latest Releases]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| Set during boot&lt;br /&gt;
|-&lt;br /&gt;
! root&lt;br /&gt;
| &amp;lt;code&amp;gt;phablet/1234&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Notes ====&lt;br /&gt;
&lt;br /&gt;
Scroll down to the middle of [https://gitlab.com/ook37/pinephone-pro-debos/ the GitLab project page] to see which features work.&lt;br /&gt;
&lt;br /&gt;
Contributions and bug reports can be made at the [https://gitlab.com/ook37/pinephone-pro-debos/ UBports PineTab2 GitLab page]. See [https://ubports.com/foundation/sponsors UBports website] for how to donate.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Rhino Linux ===&lt;br /&gt;
[[File:rhino-linux-logo.png|right|100px]]&lt;br /&gt;
&lt;br /&gt;
Rhino Linux is an Ubuntu-based distribution that uses the rolling-release model by tracking the &amp;lt;code&amp;gt;devel&amp;lt;/code&amp;gt; branch of repositories. The port is currently maintained by Oren Klopfer (oklopfer).&lt;br /&gt;
&lt;br /&gt;
The bootloader (u-boot) comes pre-flashed in the port. Installation just requires flashing the &amp;lt;code&amp;gt;.img.xz&amp;lt;/code&amp;gt; to an SD or the eMMC.&lt;br /&gt;
&lt;br /&gt;
==== Download ====&lt;br /&gt;
[https://rhinolinux.org/download/ Rhino Linux Downloads] (select Pine64 on the dropdown)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;rhino/1234&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Notes ====&lt;br /&gt;
Foundational to the distribution is [https://pacstall.dev Pacstall], a Debian-based user repository inspired by the AUR. Additionally, RL comes with [https://rhinolinux.org/unicorn/ Unicorn], a custom modified version of XFCE with various modernizations and improvements, including auto-rotation for mobile devices.&lt;br /&gt;
&lt;br /&gt;
[https://discord.gg/reSvc8Ztk3 Discord] - [https://matrix.to/#/#rolling-rhino-remix:matrix.org Matrix] - [https://github.com/rhino-linux GitHub] - [https://rhinolinux.org/wiki/ Wiki]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20032</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20032"/>
		<updated>2023-07-07T14:19:09Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: Auto-rotation instructions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. Similarly packaged RISC-V tablet is [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes. The first package includes the PineTab2, a short user guide, a power cable and the UART adapter Note that the UART adapter is in the same package as the power cable in a second compartment and can be a bit hidden, search for it. The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''Danctnix Arch Linux ARM''. The factory image can be found here:&lt;br /&gt;
&lt;br /&gt;
* https://echo.danctnix.org:7269/danctnix-factory-image-20230527.img.xz (1.5 GB)&lt;br /&gt;
&lt;br /&gt;
{{Info|The factory image is flashed to a microSD card and it will overwrite the eMMC installation after booting.}}&lt;br /&gt;
&lt;br /&gt;
There are currently no stable releases. All releases for the PineTab2 will be listed under [[PineTab2 Releases]] as they're released. Your contributions are wanted!&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Preparing the microSD card'''&lt;br /&gt;
&lt;br /&gt;
To write an operating system to the microSD card (typically called &amp;quot;flashing&amp;quot; in the community), you need to first download a compatible image from the [[#Releases|releases]] section.&lt;br /&gt;
&lt;br /&gt;
Next you need to decompress the downloaded image. The images are typically compressed in an archive format such as ''xz'' to reduce the download size. If you are using a graphical tool such as ''balenaEtcher'' or ''Gnome Disks'' it will handle the decompression of the image in the flashing step automatically.&lt;br /&gt;
&lt;br /&gt;
Further you need to flash the image to the microSD card. This can be done using various tools, for example ''balenaEtcher'' (recommended for new users), ''Gnome Disks'' or command-line tools such as ''cp'' and ''dd''. Insert the microSD card in a microSD card reader connected to your computer and then choose a tool of your liking.&lt;br /&gt;
&lt;br /&gt;
Graphical applications:&lt;br /&gt;
&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
Command-line tools:&lt;br /&gt;
&lt;br /&gt;
* '''cp''': &amp;lt;code&amp;gt;sudo cp '''IMAGE.img''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''dd''': &amp;lt;code&amp;gt;sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Info|Make sure to replace '''IMAGE.img''' and '''[DEVICE]''' with the filename of the image (double check if it is decompressed and has the file extension ''.img'') and the device name. You can use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to find the device name. Make sure to flash to the whole device instead of partition 1 and that you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target. Be very careful to select the correct device, as the tools can overwrite your data when the wrong device is selected.}}&lt;br /&gt;
&lt;br /&gt;
Then insert the microSD card into the PineTab2. &lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
{{Hint|'''Note regarding the boot order:''' The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info box above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above procudere.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned.&lt;br /&gt;
&lt;br /&gt;
Change the backlight with '''Pinekey - Ctrl-Right'''.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|400px|right]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi&lt;br /&gt;
** Bluetooth&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* The display panel driver is in PineTab2's kernel fork, and needs to be submitted to upstream.&lt;br /&gt;
* The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[#Performing USB Tethering with an Android Phone|USB tether a phone]] or [[#Selecting a USB WIFI Adapter|use a supported WI-FI dongle]].&lt;br /&gt;
* The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
* The Camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter in the USB-C port furthest away from the power button&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://fccid.io/2A8NB-PINETAB2 FCC: 2A8NB-PINETAB2]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
'''Does the Tablet support a Pen?'''&lt;br /&gt;
&lt;br /&gt;
No, adding a digitiser for pen inputs would make the price too high.&lt;br /&gt;
&lt;br /&gt;
'''Can I run Android on it?'''&lt;br /&gt;
&lt;br /&gt;
Theoretically yes, practically there's little chance anyone wants to make a well-supported Android build for this device. If you're looking for an Android tablet, buy any mainstream tablet, you'll get better value for your money.&lt;br /&gt;
&lt;br /&gt;
However, if you just need to run a few simple android apps, you might want to have a look at [https://docs.waydro.id/usage/install-on-desktops Waydroid] which can be installed on Arch Linux ARM using the following command: &amp;lt;code&amp;gt;sudo pacman -S waydroid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Is there SPI Flash?'''&lt;br /&gt;
&lt;br /&gt;
Yes! A 128 Mbit flash chip (sk25lp128) is reportedly present on production devices.&lt;br /&gt;
&lt;br /&gt;
'''My only Development Experience is Visual Basic Macros in Excel and Redstone in Minecraft, should I buy this?'''&lt;br /&gt;
&lt;br /&gt;
At this stage, probably not, unless you're happy with a tablet that has a buggy Wi-Fi driver and no camera controller driver.&lt;br /&gt;
&lt;br /&gt;
'''How does the Tablet compare to a Pinebook Pro?'''&lt;br /&gt;
&lt;br /&gt;
It's slower, as it is intended to be a successor to the PineTab1, not the Pinebook Pro. It'll still handle web browsing, video playback and documents fine though.&lt;br /&gt;
&lt;br /&gt;
'''What is the Performance of the PineTab2 compared to the PineTab-V?'''&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
'''Does PineTab2 play back DRM'd Content such as Netflix?'''&lt;br /&gt;
&lt;br /&gt;
Yes.  Widevine, using the `widevine-aarch64` package in the AUR is working, and was demonstrated on the PineTab2 using Paramount+ and Disney+.  Install it (`yay -S widevine-aarch64`), run the included register script to get Firefox to recognize it, and it should start working.&lt;br /&gt;
&lt;br /&gt;
'''I only know Python, can I help with drivers?'''&lt;br /&gt;
&lt;br /&gt;
Yes, if you learn C first. If that's too big of a hurdle, then no. (This response isn't trying to be snarky, this question was asked so many times it really needed to be here.)&lt;br /&gt;
&lt;br /&gt;
== How-to ==&lt;br /&gt;
&lt;br /&gt;
=== Putting the Device into Maskrom Mode ===&lt;br /&gt;
&lt;br /&gt;
To recover from a bad eMMC/SPI flash, plug the included debug adapter into the charging USB-C port and switch the white switch to its &amp;quot;ON&amp;quot; position to bypass eMMC/SPI boot. This tries to boot from SD, and if no SD is inserted, enters Maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Networking using USB ===&lt;br /&gt;
&lt;br /&gt;
Until the internal BES2600 WIFI has a stable driver, the community suggests that you connect using USB. This section summarizes the more detailed information in [[File:PineTab2_USB_Guide.pdf]], which covers connecting via [[#Performing USB Tethering with an Android Phone|a tethered Android phone]], [[#Selecting a USB WIFI Adapter|a suitable USB WIFI adapter]], a wired USB Ethernet adapter, and a tethered iOS device.&lt;br /&gt;
&lt;br /&gt;
==== Selecting a USB WIFI Adapter ====&lt;br /&gt;
&lt;br /&gt;
Insert a supported WIFI dongle in the upper USB port, using a USB-C to USB-A adapter as necessary. As a general rule, single state adapters are recommended. Even better, select one from this list: https://github.com/morrownr/USB-WiFi/blob/main/home/The_Short_List.md&lt;br /&gt;
&lt;br /&gt;
If you must use a multi-state adapter and it isn't recognized by the kernel, you can try ejecting the device.  This ''should'' force it back into adapter mode.  If this does not work, you can try installing [https://man.archlinux.org/man/usb_modeswitch.1.en usb_modeswitch] to troubleshoot.  You will need to temporarily use another method to get internet (such as phone tethering below) or load the package on an SD card to install it.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an Android Phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use an Android phone as a network adapter.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* An Android phone&lt;br /&gt;
* A USB OTG adapter (USB-C to USB-C may work, not tested)&lt;br /&gt;
* Some knowledge of your variation of Android&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug in the device to the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your android phone, open the settings app (specifics from here may vary on version)&lt;br /&gt;
** Navigate to &amp;quot;Network &amp;amp; Internet&amp;quot;&lt;br /&gt;
** Navigate to &amp;quot;Hotspot &amp;amp; Tethering&amp;quot;&lt;br /&gt;
** Tap on &amp;quot;USB Tethering&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an iPhone ====&lt;br /&gt;
&lt;br /&gt;
Prerequisite:&lt;br /&gt;
&lt;br /&gt;
On the iPhone make sure that Settings -&amp;gt; Personal Hotspot -&amp;gt; Allow others to join is turned on.&lt;br /&gt;
&lt;br /&gt;
# Use an Lightning (Apple) to USB-C (Pinetab2) cable to connect the devices.&lt;br /&gt;
# In the Pinetab make sure to use the USB-C port next to the volume keys.&lt;br /&gt;
# Once the cable is connected open your iPhone. &lt;br /&gt;
# You will see a request to trust the new device. Trust it.&lt;br /&gt;
# Confirm by typing in your Apple Device PIN&lt;br /&gt;
&lt;br /&gt;
This should be it. The Pinetab2 will show you the new device and the network connects to `Wired connection 1`&lt;br /&gt;
&lt;br /&gt;
Make sure to open the iPhone once you reconnect.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with a KaiOS phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use a KaiOS phone for mobile Internet use with your PineTab2.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* A KaiOS phone&lt;br /&gt;
* A USB OTG adapter (hama #00200311 tested)&lt;br /&gt;
* Your device’s charging cable&lt;br /&gt;
* Some knowledge of your KaiOS phone&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug the device into the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your KaiOS phone, open settings (specifics from here may vary on version)&lt;br /&gt;
* Navigate to &amp;quot;Network &amp;amp; Connectivity&amp;quot;&lt;br /&gt;
* Navigate to &amp;quot;Internet Sharing&amp;quot;&lt;br /&gt;
* Select &amp;quot;USB&amp;quot; and select On under USB tethering (Note: This option will be greyed out unless connected to the PineTab2)&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2 and it should show a wired connection icon.&lt;br /&gt;
&lt;br /&gt;
=== Auto-rotating the Screen ===&lt;br /&gt;
* To enable auto-rotation, install the iio-sensor-proxy package: &amp;lt;code&amp;gt;sudo pacman -S iio-sensor-proxy&amp;lt;/code&amp;gt; and reboot.&lt;br /&gt;
* By default, the screen will only rotate while in tablet mode (detached from the case.)  To enable it with the keyboard attached, go to System Settings--&amp;gt;Display and Monitor--&amp;gt;Display Configuration--&amp;gt;Uncheck &amp;quot;Only when in tablet mode&amp;quot; and click &amp;quot;Apply.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20031</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20031"/>
		<updated>2023-07-07T10:35:14Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: britty —&amp;gt; brltty&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. Similarly packaged RISC-V tablet is [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes. The first package includes the PineTab2, a short user guide, a power cable and the UART adapter Note that the UART adapter is in the same package as the power cable in a second compartment and can be a bit hidden, search for it. The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''Danctnix Arch Linux ARM''. The factory image can be found here:&lt;br /&gt;
&lt;br /&gt;
* https://echo.danctnix.org:7269/danctnix-factory-image-20230527.img.xz (1.5 GB)&lt;br /&gt;
&lt;br /&gt;
{{Info|The factory image is flashed to a microSD card and it will overwrite the eMMC installation after booting.}}&lt;br /&gt;
&lt;br /&gt;
There are currently no stable releases. All releases for the PineTab2 will be listed under [[PineTab2 Releases]] as they're released. Your contributions are wanted!&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Preparing the microSD card'''&lt;br /&gt;
&lt;br /&gt;
To write an operating system to the microSD card (typically called &amp;quot;flashing&amp;quot; in the community), you need to first download a compatible image from the [[#Releases|releases]] section.&lt;br /&gt;
&lt;br /&gt;
Next you need to decompress the downloaded image. The images are typically compressed in an archive format such as ''xz'' to reduce the download size. If you are using a graphical tool such as ''balenaEtcher'' or ''Gnome Disks'' it will handle the decompression of the image in the flashing step automatically.&lt;br /&gt;
&lt;br /&gt;
Further you need to flash the image to the microSD card. This can be done using various tools, for example ''balenaEtcher'' (recommended for new users), ''Gnome Disks'' or command-line tools such as ''cp'' and ''dd''. Insert the microSD card in a microSD card reader connected to your computer and then choose a tool of your liking.&lt;br /&gt;
&lt;br /&gt;
Graphical applications:&lt;br /&gt;
&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
Command-line tools:&lt;br /&gt;
&lt;br /&gt;
* '''cp''': &amp;lt;code&amp;gt;sudo cp '''IMAGE.img''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''dd''': &amp;lt;code&amp;gt;sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Info|Make sure to replace '''IMAGE.img''' and '''[DEVICE]''' with the filename of the image (double check if it is decompressed and has the file extension ''.img'') and the device name. You can use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to find the device name. Make sure to flash to the whole device instead of partition 1 and that you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target. Be very careful to select the correct device, as the tools can overwrite your data when the wrong device is selected.}}&lt;br /&gt;
&lt;br /&gt;
Then insert the microSD card into the PineTab2. &lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
{{Hint|'''Note regarding the boot order:''' The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info box above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above procudere.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned.&lt;br /&gt;
&lt;br /&gt;
Change the backlight with '''Pinekey - Ctrl-Right'''.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|400px|right]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi&lt;br /&gt;
** Bluetooth&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* The display panel driver is in PineTab2's kernel fork, and needs to be submitted to upstream.&lt;br /&gt;
* The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[#Performing USB Tethering with an Android Phone|USB tether a phone]] or [[#Selecting a USB WIFI Adapter|use a supported WI-FI dongle]].&lt;br /&gt;
* The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
* The Camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter in the USB-C port furthest away from the power button&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the brltty service is likely conflicting with this device.  Brltty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://fccid.io/2A8NB-PINETAB2 FCC: 2A8NB-PINETAB2]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
'''Does the Tablet support a Pen?'''&lt;br /&gt;
&lt;br /&gt;
No, adding a digitiser for pen inputs would make the price too high.&lt;br /&gt;
&lt;br /&gt;
'''Can I run Android on it?'''&lt;br /&gt;
&lt;br /&gt;
Theoretically yes, practically there's little chance anyone wants to make a well-supported Android build for this device. If you're looking for an Android tablet, buy any mainstream tablet, you'll get better value for your money.&lt;br /&gt;
&lt;br /&gt;
However, if you just need to run a few simple android apps, you might want to have a look at [https://docs.waydro.id/usage/install-on-desktops Waydroid] which can be installed on Arch Linux ARM using the following command: &amp;lt;code&amp;gt;sudo pacman -S waydroid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Is there SPI Flash?'''&lt;br /&gt;
&lt;br /&gt;
Yes! A 128 Mbit flash chip (sk25lp128) is reportedly present on production devices.&lt;br /&gt;
&lt;br /&gt;
'''My only Development Experience is Visual Basic Macros in Excel and Redstone in Minecraft, should I buy this?'''&lt;br /&gt;
&lt;br /&gt;
At this stage, probably not, unless you're happy with a tablet that has a buggy Wi-Fi driver and no camera controller driver.&lt;br /&gt;
&lt;br /&gt;
'''How does the Tablet compare to a Pinebook Pro?'''&lt;br /&gt;
&lt;br /&gt;
It's slower, as it is intended to be a successor to the PineTab1, not the Pinebook Pro. It'll still handle web browsing, video playback and documents fine though.&lt;br /&gt;
&lt;br /&gt;
'''What is the Performance of the PineTab2 compared to the PineTab-V?'''&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
'''Does PineTab2 play back DRM'd Content such as Netflix?'''&lt;br /&gt;
&lt;br /&gt;
Yes.  Widevine, using the `widevine-aarch64` package in the AUR is working, and was demonstrated on the PineTab2 using Paramount+ and Disney+.  Install it (`yay -S widevine-aarch64`), run the included register script to get Firefox to recognize it, and it should start working.&lt;br /&gt;
&lt;br /&gt;
'''I only know Python, can I help with drivers?'''&lt;br /&gt;
&lt;br /&gt;
Yes, if you learn C first. If that's too big of a hurdle, then no. (This response isn't trying to be snarky, this question was asked so many times it really needed to be here.)&lt;br /&gt;
&lt;br /&gt;
== How-to ==&lt;br /&gt;
&lt;br /&gt;
=== Putting the Device into Maskrom Mode ===&lt;br /&gt;
&lt;br /&gt;
To recover from a bad eMMC/SPI flash, plug the included debug adapter into the charging USB-C port and switch the white switch to its &amp;quot;ON&amp;quot; position to bypass eMMC/SPI boot. This tries to boot from SD, and if no SD is inserted, enters Maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Networking using USB ===&lt;br /&gt;
&lt;br /&gt;
Until the internal BES2600 WIFI has a stable driver, the community suggests that you connect using USB. This section summarizes the more detailed information in [[File:PineTab2_USB_Guide.pdf]], which covers connecting via [[#Performing USB Tethering with an Android Phone|a tethered Android phone]], [[#Selecting a USB WIFI Adapter|a suitable USB WIFI adapter]], a wired USB Ethernet adapter, and a tethered iOS device.&lt;br /&gt;
&lt;br /&gt;
==== Selecting a USB WIFI Adapter ====&lt;br /&gt;
&lt;br /&gt;
Insert a supported WIFI dongle in the upper USB port, using a USB-C to USB-A adapter as necessary. As a general rule, single state adapters are recommended. Even better, select one from this list: https://github.com/morrownr/USB-WiFi/blob/main/home/The_Short_List.md&lt;br /&gt;
&lt;br /&gt;
If you must use a multi-state adapter and it isn't recognized by the kernel, you can try ejecting the device.  This ''should'' force it back into adapter mode.  If this does not work, you can try installing [https://man.archlinux.org/man/usb_modeswitch.1.en usb_modeswitch] to troubleshoot.  You will need to temporarily use another method to get internet (such as phone tethering below) or load the package on an SD card to install it.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an Android Phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use an Android phone as a network adapter.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* An Android phone&lt;br /&gt;
* A USB OTG adapter (USB-C to USB-C may work, not tested)&lt;br /&gt;
* Some knowledge of your variation of Android&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug in the device to the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your android phone, open the settings app (specifics from here may vary on version)&lt;br /&gt;
** Navigate to &amp;quot;Network &amp;amp; Internet&amp;quot;&lt;br /&gt;
** Navigate to &amp;quot;Hotspot &amp;amp; Tethering&amp;quot;&lt;br /&gt;
** Tap on &amp;quot;USB Tethering&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an iPhone ====&lt;br /&gt;
&lt;br /&gt;
Prerequisite:&lt;br /&gt;
&lt;br /&gt;
On the iPhone make sure that Settings -&amp;gt; Personal Hotspot -&amp;gt; Allow others to join is turned on.&lt;br /&gt;
&lt;br /&gt;
# Use an Lightning (Apple) to USB-C (Pinetab2) cable to connect the devices.&lt;br /&gt;
# In the Pinetab make sure to use the USB-C port next to the volume keys.&lt;br /&gt;
# Once the cable is connected open your iPhone. &lt;br /&gt;
# You will see a request to trust the new device. Trust it.&lt;br /&gt;
# Confirm by typing in your Apple Device PIN&lt;br /&gt;
&lt;br /&gt;
This should be it. The Pinetab2 will show you the new device and the network connects to `Wired connection 1`&lt;br /&gt;
&lt;br /&gt;
Make sure to open the iPhone once you reconnect.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with a KaiOS phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use a KaiOS phone for mobile Internet use with your PineTab2.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* A KaiOS phone&lt;br /&gt;
* A USB OTG adapter (hama #00200311 tested)&lt;br /&gt;
* Your device’s charging cable&lt;br /&gt;
* Some knowledge of your KaiOS phone&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug the device into the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your KaiOS phone, open settings (specifics from here may vary on version)&lt;br /&gt;
* Navigate to &amp;quot;Network &amp;amp; Connectivity&amp;quot;&lt;br /&gt;
* Navigate to &amp;quot;Internet Sharing&amp;quot;&lt;br /&gt;
* Select &amp;quot;USB&amp;quot; and select On under USB tethering (Note: This option will be greyed out unless connected to the PineTab2)&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2 and it should show a wired connection icon.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20030</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=20030"/>
		<updated>2023-07-06T23:42:14Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: Troubleshooting uart for Ubuntu-based distros.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. Similarly packaged RISC-V tablet is [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 began shipping on June 2, 2023.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
&lt;br /&gt;
The PineTab2 box contains two smaller boxes. The first package includes the PineTab2, a short user guide, a power cable and the UART adapter Note that the UART adapter is in the same package as the power cable in a second compartment and can be a bit hidden, search for it. The second box has the keyboard in it.&lt;br /&gt;
&lt;br /&gt;
=== First start ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 can be started by pressing and holding the power button for two seconds. The device is initialized at the first boot and will power-cycle while the partition table is populated.&lt;br /&gt;
&lt;br /&gt;
{{Info|If the initialization process is interrupted it might lead to a corrupted operating system installation. In that case reinstall the operating system as explained below.}}&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''DanctNix Arch Linux'' and comes with a pre-set user and the default password &amp;lt;code&amp;gt;123456&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #a7d7f9;&amp;quot;| Default credentials&lt;br /&gt;
|-&lt;br /&gt;
! Default user&lt;br /&gt;
| &amp;lt;code&amp;gt;alarm / 123456&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can create a new user and set your own password after the initial boot. To do so, go to ''system settings'' -&amp;gt; ''users'' and create a new profile using your preferred name and password.&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
All operating systems for the PineTab2 are delivered by community developers and partner projects. Aside from the operating system that comes pre-installed on your device, you can install and run any other operating system available for the PineTab2. Most, if not all operating systems for the PineTab2 are open and free, such as Linux and BSD.&lt;br /&gt;
&lt;br /&gt;
Since most software issues will be release-specific, please see the [[PineTab2 Releases]] page for additional software related instructions, tips, and tricks.&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 ships with ''Danctnix Arch Linux ARM''. The factory image can be found here:&lt;br /&gt;
&lt;br /&gt;
* https://echo.danctnix.org:7269/danctnix-factory-image-20230527.img.xz (1.5 GB)&lt;br /&gt;
&lt;br /&gt;
{{Info|The factory image is flashed to a microSD card and it will overwrite the eMMC installation after booting.}}&lt;br /&gt;
&lt;br /&gt;
There are currently no stable releases. All releases for the PineTab2 will be listed under [[PineTab2 Releases]] as they're released. Your contributions are wanted!&lt;br /&gt;
&lt;br /&gt;
=== Installation instructions ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is capable of running different operating systems from the internal flash memory (eMMC) and from microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Preparing the microSD card'''&lt;br /&gt;
&lt;br /&gt;
To write an operating system to the microSD card (typically called &amp;quot;flashing&amp;quot; in the community), you need to first download a compatible image from the [[#Releases|releases]] section.&lt;br /&gt;
&lt;br /&gt;
Next you need to decompress the downloaded image. The images are typically compressed in an archive format such as ''xz'' to reduce the download size. If you are using a graphical tool such as ''balenaEtcher'' or ''Gnome Disks'' it will handle the decompression of the image in the flashing step automatically.&lt;br /&gt;
&lt;br /&gt;
Further you need to flash the image to the microSD card. This can be done using various tools, for example ''balenaEtcher'' (recommended for new users), ''Gnome Disks'' or command-line tools such as ''cp'' and ''dd''. Insert the microSD card in a microSD card reader connected to your computer and then choose a tool of your liking.&lt;br /&gt;
&lt;br /&gt;
Graphical applications:&lt;br /&gt;
&lt;br /&gt;
* '''balenaEtcher''' (Microsoft Windows, macOS, Linux): Click on ''Flash from file'' and select the image. Then select the microSD card target device and click on ''Flash!''.&lt;br /&gt;
&lt;br /&gt;
* '''Gnome Disks''' (Linux): Select the microSD card target device on the left side in the ''Disks'' list. Then select the three dot menu on the top right and click on ''Restore Disk Image...''. Select the image, verify the correct device is selected and then click on ''Start Restoring...''.&lt;br /&gt;
&lt;br /&gt;
Command-line tools:&lt;br /&gt;
&lt;br /&gt;
* '''cp''': &amp;lt;code&amp;gt;sudo cp '''IMAGE.img''' /dev/'''[DEVICE]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''dd''': &amp;lt;code&amp;gt;sudo dd if='''IMAGE.img''' of=/dev/'''[DEVICE]''' bs=1M status=progress conv=fsync&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Info|Make sure to replace '''IMAGE.img''' and '''[DEVICE]''' with the filename of the image (double check if it is decompressed and has the file extension ''.img'') and the device name. You can use the command &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; to find the device name. Make sure to flash to the whole device instead of partition 1 and that you're NOT selecting ''/dev/sda1'' or ''/dev/mmcblk0p1'' as target. Be very careful to select the correct device, as the tools can overwrite your data when the wrong device is selected.}}&lt;br /&gt;
&lt;br /&gt;
Then insert the microSD card into the PineTab2. &lt;br /&gt;
&lt;br /&gt;
[[File:PineTab2 USB UARTv2.jpg|thumb|right|400px|Using the USB UART adapter can be required in some cases as explained in the info box about the boot order. The adapter is shipped with the PineTab2 in the box which is also containing the charging cable. The switch to disable the eMMC and SPI is located on the top right of the image.]]&lt;br /&gt;
&lt;br /&gt;
{{Hint|'''Note regarding the boot order:''' The SPI and the internal memory (eMMC) have a higher boot priority than the microSD card. The pre-installed bootloader on the internal memory (eMMC) tries to boot from the microSD card first. '''In some cases''' it can be required to bypass the bootloader, for example if the bootloader is corrupted or was overwritten by a bootloader with varying settings.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To force the device to boot from the microSD card, the eMMC and the SPI can be disabled by using the debug UART adapter shipped with the device in the box also containing the charging cable. Set the ''SD BOOT MASKROM'' switch on the adapter to the position ''ON'' and plug it into the USB/PD charging port. Then power on the tablet and '''unplug the debug board or set the switch to the position ''OFF'' again''' when the factory image is started, otherwise the factory image won't find the eMMC.}}&lt;br /&gt;
&lt;br /&gt;
Power on the device with the microSD card inserted (and optionally with the USB UART adapter inserted and the bypass switch set to ''ON'' depending on the software situation, see the info box above). It should now boot the new operating system from the microSD card.&lt;br /&gt;
&lt;br /&gt;
'''Something is not working?''' Please join the [[Main_Page#Chat_Platforms|PineTab channel in the community chat]], the community is always happy to help. In the section [[#Connecting the UART adapter]] you can find information about how to connect the USB UART adapter and how to retrieve the boot logs if the device is not booting properly even after the above procudere.&lt;br /&gt;
&lt;br /&gt;
== Keyboard ==&lt;br /&gt;
&lt;br /&gt;
When connecting the keyboard to the Pinetab2 ensure that the camera and the golden pogo pin connectors are correctly aligned.&lt;br /&gt;
&lt;br /&gt;
Change the backlight with '''Pinekey - Ctrl-Right'''.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
[[File:Pinetab2-side.jpeg|400px|right]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC ([https://www.szyuda88.com/product-77313-276594.html SiliconGo SGM8 100C-S36BCG]; eMMC 5.1, up o 400MB/s)&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi&lt;br /&gt;
** Bluetooth&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0 (top, host mode only; power output up to 680mA)&lt;br /&gt;
** 1x USB-C 2.0 + PD (bottom, device mode by default; power input)&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 4 pole 3.5mm audio jack (microphone right) and headphone detection&lt;br /&gt;
** 2x speakers + microphone (microphone left)&lt;br /&gt;
** 1x 5 pin (USB 2.0; &amp;lt;=680mA) Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Some minor pinetab2-specific adjustments can be found [https://github.com/TuxThePenguin0/linux/tree/device/pine64-pinetab2_stable here] Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* The display panel driver is in PineTab2's kernel fork, and needs to be submitted to upstream.&lt;br /&gt;
* The [https://gitlab.com/TuxThePenguin0/bes2600 BES2600 Wi-Fi driver] needs major cleanup and bugfixing (at the moment it often causes system crashes). This is a priority, but for now, you can [[#Performing USB Tethering with an Android Phone|USB tether a phone]] or [[#Selecting a USB WIFI Adapter|use a supported WI-FI dongle]].&lt;br /&gt;
* The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
* The Camera drivers needs to be ported ([https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/media/i2c/gc02m2.c gc02m2], [https://elixir.bootlin.com/linux/latest/source/drivers/media/i2c/ov5648.c ov5648]), Rockchip CSI/ISP driver needs to be extended to handle 2 lanes.&lt;br /&gt;
* Suspend does not currently work reliably due to a driver issue. It is therefore disabled in the factory image. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
=== Connecting the UART adapter ===&lt;br /&gt;
&lt;br /&gt;
The USB-C UART adapter can be connected to the PineTab2 to debug boot issues at the early boot:&lt;br /&gt;
&lt;br /&gt;
* Plug the adapter in the USB-C port furthest away from the power button&lt;br /&gt;
* Plug USB-C cable into the port on the adapter marked &amp;quot;DEBUG&amp;quot;&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Install ''minicom'' or ''screen'' via your distribution's package manager, if you don't have it installed already&lt;br /&gt;
* Connect via minicom using &amp;lt;code&amp;gt;sudo minicom -D /dev/ttyUSB0 -b 1500000&amp;lt;/code&amp;gt; or via screen using &amp;lt;code&amp;gt;sudo screen /dev/ttyUSB0 1500000&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ubuntu-based distro users may encounter the error, &amp;quot;cannot open /dev/ttyUSB0: No such file or directory&amp;quot;.  If this occurs, check the output of &amp;lt;code&amp;gt;sudo dmesg --follow&amp;lt;/code&amp;gt; and unplug/replug the USB to look for any errors.  If you see an error like, &amp;quot;usb 1-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1&amp;quot;, then the britty service is likely conflicting with this device.  Britty provides access to blind users who use a braille display: if you do not need this service, try disabling it using these commands:&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask brltty-udev.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl stop brltty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
*** &amp;lt;code&amp;gt; sudo systemctl mask britty.service&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* [https://fccid.io/2A8NB-PINETAB2 FCC: 2A8NB-PINETAB2]&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
'''Does the Tablet support a Pen?'''&lt;br /&gt;
&lt;br /&gt;
No, adding a digitiser for pen inputs would make the price too high.&lt;br /&gt;
&lt;br /&gt;
'''Can I run Android on it?'''&lt;br /&gt;
&lt;br /&gt;
Theoretically yes, practically there's little chance anyone wants to make a well-supported Android build for this device. If you're looking for an Android tablet, buy any mainstream tablet, you'll get better value for your money.&lt;br /&gt;
&lt;br /&gt;
However, if you just need to run a few simple android apps, you might want to have a look at [https://docs.waydro.id/usage/install-on-desktops Waydroid] which can be installed on Arch Linux ARM using the following command: &amp;lt;code&amp;gt;sudo pacman -S waydroid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Is there SPI Flash?'''&lt;br /&gt;
&lt;br /&gt;
Yes! A 128 Mbit flash chip (sk25lp128) is reportedly present on production devices.&lt;br /&gt;
&lt;br /&gt;
'''My only Development Experience is Visual Basic Macros in Excel and Redstone in Minecraft, should I buy this?'''&lt;br /&gt;
&lt;br /&gt;
At this stage, probably not, unless you're happy with a tablet that has a buggy Wi-Fi driver and no camera controller driver.&lt;br /&gt;
&lt;br /&gt;
'''How does the Tablet compare to a Pinebook Pro?'''&lt;br /&gt;
&lt;br /&gt;
It's slower, as it is intended to be a successor to the PineTab1, not the Pinebook Pro. It'll still handle web browsing, video playback and documents fine though.&lt;br /&gt;
&lt;br /&gt;
'''What is the Performance of the PineTab2 compared to the PineTab-V?'''&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
'''Does PineTab2 play back DRM'd Content such as Netflix?'''&lt;br /&gt;
&lt;br /&gt;
Yes.  Widevine, using the `widevine-aarch64` package in the AUR is working, and was demonstrated on the PineTab2 using Paramount+ and Disney+.  Install it (`yay -S widevine-aarch64`), run the included register script to get Firefox to recognize it, and it should start working.&lt;br /&gt;
&lt;br /&gt;
'''I only know Python, can I help with drivers?'''&lt;br /&gt;
&lt;br /&gt;
Yes, if you learn C first. If that's too big of a hurdle, then no. (This response isn't trying to be snarky, this question was asked so many times it really needed to be here.)&lt;br /&gt;
&lt;br /&gt;
== How-to ==&lt;br /&gt;
&lt;br /&gt;
=== Putting the Device into Maskrom Mode ===&lt;br /&gt;
&lt;br /&gt;
To recover from a bad eMMC/SPI flash, plug the included debug adapter into the charging USB-C port and switch the white switch to its &amp;quot;ON&amp;quot; position to bypass eMMC/SPI boot. This tries to boot from SD, and if no SD is inserted, enters Maskrom mode.&lt;br /&gt;
&lt;br /&gt;
=== Networking using USB ===&lt;br /&gt;
&lt;br /&gt;
Until the internal BES2600 WIFI has a stable driver, the community suggests that you connect using USB. This section summarizes the more detailed information in [[File:PineTab2_USB_Guide.pdf]], which covers connecting via [[#Performing USB Tethering with an Android Phone|a tethered Android phone]], [[#Selecting a USB WIFI Adapter|a suitable USB WIFI adapter]], a wired USB Ethernet adapter, and a tethered iOS device.&lt;br /&gt;
&lt;br /&gt;
==== Selecting a USB WIFI Adapter ====&lt;br /&gt;
&lt;br /&gt;
Insert a supported WIFI dongle in the upper USB port, using a USB-C to USB-A adapter as necessary. As a general rule, single state adapters are recommended. Even better, select one from this list: https://github.com/morrownr/USB-WiFi/blob/main/home/The_Short_List.md&lt;br /&gt;
&lt;br /&gt;
If you must use a multi-state adapter and it isn't recognized by the kernel, you can try ejecting the device.  This ''should'' force it back into adapter mode.  If this does not work, you can try installing [https://man.archlinux.org/man/usb_modeswitch.1.en usb_modeswitch] to troubleshoot.  You will need to temporarily use another method to get internet (such as phone tethering below) or load the package on an SD card to install it.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an Android Phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use an Android phone as a network adapter.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* An Android phone&lt;br /&gt;
* A USB OTG adapter (USB-C to USB-C may work, not tested)&lt;br /&gt;
* Some knowledge of your variation of Android&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug in the device to the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your android phone, open the settings app (specifics from here may vary on version)&lt;br /&gt;
** Navigate to &amp;quot;Network &amp;amp; Internet&amp;quot;&lt;br /&gt;
** Navigate to &amp;quot;Hotspot &amp;amp; Tethering&amp;quot;&lt;br /&gt;
** Tap on &amp;quot;USB Tethering&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an iPhone ====&lt;br /&gt;
&lt;br /&gt;
Prerequisite:&lt;br /&gt;
&lt;br /&gt;
On the iPhone make sure that Settings -&amp;gt; Personal Hotspot -&amp;gt; Allow others to join is turned on.&lt;br /&gt;
&lt;br /&gt;
# Use an Lightning (Apple) to USB-C (Pinetab2) cable to connect the devices.&lt;br /&gt;
# In the Pinetab make sure to use the USB-C port next to the volume keys.&lt;br /&gt;
# Once the cable is connected open your iPhone. &lt;br /&gt;
# You will see a request to trust the new device. Trust it.&lt;br /&gt;
# Confirm by typing in your Apple Device PIN&lt;br /&gt;
&lt;br /&gt;
This should be it. The Pinetab2 will show you the new device and the network connects to `Wired connection 1`&lt;br /&gt;
&lt;br /&gt;
Make sure to open the iPhone once you reconnect.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with a KaiOS phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use a KaiOS phone for mobile Internet use with your PineTab2.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* A KaiOS phone&lt;br /&gt;
* A USB OTG adapter (hama #00200311 tested)&lt;br /&gt;
* Your device’s charging cable&lt;br /&gt;
* Some knowledge of your KaiOS phone&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug the device into the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your KaiOS phone, open settings (specifics from here may vary on version)&lt;br /&gt;
* Navigate to &amp;quot;Network &amp;amp; Connectivity&amp;quot;&lt;br /&gt;
* Navigate to &amp;quot;Internet Sharing&amp;quot;&lt;br /&gt;
* Select &amp;quot;USB&amp;quot; and select On under USB tethering (Note: This option will be greyed out unless connected to the PineTab2)&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2 and it should show a wired connection icon.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
	<entry>
		<id>https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=19716</id>
		<title>PineTab2</title>
		<link rel="alternate" type="text/html" href="https://wiki.pine64.org/index.php?title=PineTab2&amp;diff=19716"/>
		<updated>2023-06-03T14:27:45Z</updated>

		<summary type="html">&lt;p&gt;Moobythegoldensock: Provided instructions for multi-state adapters and installing usb_modeswitch (not included in the default image.)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:PineTab2 Front.jpg|250px|thumb|right|The PineTab2 with the detachable keyboard attached]]&lt;br /&gt;
&lt;br /&gt;
The '''PineTab2''' is PINE64's successor to the original [[PineTab]] Linux tablet computer, featuring a faster processor and better availability. The tablet is available in two configurations, 4GB of RAM and 64GB of internal storage or 8GB of RAM and 128GB of internal storage. The tablet ships with a detachable keyboard that doubles as a protective cover.&lt;br /&gt;
&lt;br /&gt;
The tablet is designed around the Rockchip RK3566 processor, which features 4 energy-efficient Cortex-A55 64-bit ARM cores and enjoys good mainline Linux support. Similarly packaged RISC-V tablet is [[PineTab-V]].&lt;br /&gt;
&lt;br /&gt;
Pre-orders started on the 13th of April 2023, with pricing starting at USD 159 for the 4GB/64GB version and USD 209 for the 8GB/128GB version. The PineTab2 is expected to ship mid-May of 2023.&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:RK3566_icon.png|right]]&lt;br /&gt;
* '''SoC:''' Rockchip RK3566&lt;br /&gt;
* '''CPU:''' 4x ARM Cortex-A55 @ 1.8 GHz&lt;br /&gt;
** 32KB L1 Instruction Cache and 32KB L1 Data Cache per core&lt;br /&gt;
** 512KB unified system L3 cache&lt;br /&gt;
** ARMv8 Cryptography Extensions&lt;br /&gt;
* '''GPU:''' Mali-G52 MP2 @ 800 MHz&lt;br /&gt;
** Supported by the open source 'Panfrost' driver in Linux and Mesa&lt;br /&gt;
** Supports OpenGL 3.1 and OpenGL ES 3.1 with many newer extensions&lt;br /&gt;
* '''NPU:''' 0.8 TOPS Neural Processing Unit&lt;br /&gt;
* '''RAM:''' 4GB or 8GB LPDDR4&lt;br /&gt;
* '''Storage:'''&lt;br /&gt;
** 64GB or 128GB internal eMMC&lt;br /&gt;
** 1x MicroSD slot&lt;br /&gt;
* '''Display:''' 10.1&amp;quot; IPS LCD Resolution 1280x800&lt;br /&gt;
* '''Cameras:'''&lt;br /&gt;
** Front: 2Mpx, chipset: Galaxycore GC02M2&lt;br /&gt;
** Rear: 5Mpx, chipset: Omnivision OV5648&lt;br /&gt;
* '''Battery:''' 6000 mAh (22.2Wh)&lt;br /&gt;
* '''Buttons:''' Power, volume up, volume down&lt;br /&gt;
* '''Network:'''&lt;br /&gt;
** Wi-Fi&lt;br /&gt;
** Bluetooth&lt;br /&gt;
* '''I/O:'''&lt;br /&gt;
** 1x USB-C 3.0&lt;br /&gt;
** 1x USB-C 2.0&lt;br /&gt;
** 1x MicroHDMI&lt;br /&gt;
** 1x 3.5mm audio jack&lt;br /&gt;
** 1x 5 pin Pogo connector for keyboard&lt;br /&gt;
** (PCIe on PCB as a flat flex ribbon connector, no room for M.2 NVMe drives in case)&lt;br /&gt;
* '''Multimedia:'''&lt;br /&gt;
** rkdjpeg: 1080p120 JPEG decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** hantro: JPEG/VP8/H.264 encode, 1080p MPEG-2/H.263/VP8/H.264 AVC decode&lt;br /&gt;
*** mainline driver does not yet support all codecs/functions&lt;br /&gt;
*** see [[Mainline Hardware Decoding]] and [[Mainline Hardware Encoding]]&lt;br /&gt;
** rkvdec2: 4K H.264 AVC Main10 L5.1/H.265 HEVC Main10 L5.1/VP9 Profile 0 and 2 L5.1 decode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
** rkvenc2: 4K H.264 AVC/H.265 HEVC encode&lt;br /&gt;
*** no driver in mainline yet&lt;br /&gt;
* '''Build:''' Metal and Plastic&lt;br /&gt;
* '''Dimensions:''' 242x161x9mm&lt;br /&gt;
* '''Misc:'''&lt;br /&gt;
** Protective cover with keyboard&lt;br /&gt;
&lt;br /&gt;
== Development efforts ==&lt;br /&gt;
&lt;br /&gt;
{{SeeMainArticle|Quartz64 Development}}&lt;br /&gt;
&lt;br /&gt;
Linux mainline is already quite far along for the device, as the SoC is the same as is used in the Quartz64 line of devices. Check the main article for the big picture; PineTab2 specific issues are listed here.&lt;br /&gt;
&lt;br /&gt;
=== Known Issues ===&lt;br /&gt;
&lt;br /&gt;
* The display panel driver is in PineTab2's kernel fork, and needs to be submitted to upstream.&lt;br /&gt;
* The BES2600 Wi-Fi driver needs porting/major cleanup. This is a priority, but for now, you can [[#Performing USB Tethering with an Android Phone|USB tether a phone]] or [[#Selecting a USB WIFI Adapter|use a supported WI-FI dongle]].&lt;br /&gt;
* The BES2600 Bluetooth driver needs to be implemented.&lt;br /&gt;
* The Camera driver needs to be written.&lt;br /&gt;
* Suspend does not currently work due to a driver issue. Suspend is disabled in the factory image for your protection. Caveat Emptor if you chose to unmask the feature prior to it being fixed.&lt;br /&gt;
&lt;br /&gt;
== Board information, schematics and certifications ==&lt;br /&gt;
&lt;br /&gt;
[[File:PPineTab2-pcb.jpg|thumb|right|PineTab2 Board]]&lt;br /&gt;
&lt;br /&gt;
PineTab2 mainboard schematic:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/PineTab/PineTab2_V2_schematic-20230417.pdf PineTab2 mainboard Released Schematic-20230417 ver 2.0]&lt;br /&gt;
&lt;br /&gt;
PineTab2 certifications:&lt;br /&gt;
* Available soon&lt;br /&gt;
&lt;br /&gt;
== Datasheets for Components and Peripherals ==&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3566 SoC information:&lt;br /&gt;
&lt;br /&gt;
* [https://files.pine64.org/doc/quartz64/Rockchip%20RK3566%20Datasheet%20V1.0-20201210.pdf Rockchip RK3566 ver 1.0 datasheet]&lt;br /&gt;
* [https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF Rockchip RK3566 and RK3568 TRM (Technical Reference Manual)]&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
&lt;br /&gt;
=== Does the Tablet support a Pen? ===&lt;br /&gt;
&lt;br /&gt;
No, adding a digitiser for pen inputs would make the price too high.&lt;br /&gt;
&lt;br /&gt;
=== Can I run Android on it? ===&lt;br /&gt;
&lt;br /&gt;
Theoretically yes, practically there's little chance anyone wants to make a well-supported Android build for this device. If you're looking for an Android tablet, buy any mainstream tablet, you'll get better value for your money.&lt;br /&gt;
&lt;br /&gt;
=== Is there SPI Flash? ===&lt;br /&gt;
&lt;br /&gt;
Unclear. The schematic shows a 128Mbit SPI flash chip, but it's possible that production models won't have it populated. Update this section once we've determined this.&lt;br /&gt;
&lt;br /&gt;
=== My only Development Experience is Visual Basic Macros in Excel and Redstone in Minecraft, should I buy this? ===&lt;br /&gt;
&lt;br /&gt;
At this stage, probably not, unless you're happy with a tablet that has a buggy Wi-Fi driver and no camera controller driver.&lt;br /&gt;
&lt;br /&gt;
=== How does the Tablet compare to a Pinebook Pro? ===&lt;br /&gt;
&lt;br /&gt;
It's slower, as it is intended to be a successor to the PineTab1, not the Pinebook Pro. It'll still handle web browsing, video playback and documents fine though.&lt;br /&gt;
&lt;br /&gt;
=== What is the Performance of the PineTab2 compared to the PineTab-V? ===&lt;br /&gt;
&lt;br /&gt;
The PineTab2 is notably faster than the PineTab-V. You can see this by [https://github.com/ThomasKaiser/sbc-bench/blob/master/Results.md comparing the Quartz64 sbc-bench results to the Star64 ones]. Performance should not be a factor of consideration when purchasing a PineTab-V.&lt;br /&gt;
&lt;br /&gt;
=== Does PineTab2 play back DRM'd Content such as Netflix? ===&lt;br /&gt;
&lt;br /&gt;
No, there are no Widevine binaries included in the image the PineTab2 ships with. They need to be taken from ChromeOS and probably patched https://gist.github.com/DavidBuchanan314/c6b97add51b97e4c3ee95dc890f9e3c8&lt;br /&gt;
&lt;br /&gt;
== How-to ==&lt;br /&gt;
&lt;br /&gt;
=== Putting the Device into Maskrom Mode ===&lt;br /&gt;
&lt;br /&gt;
To recover from a bad eMMC/SPI flash, it seems you can make the bootrom enter the USB recovery mode by applying a low(?) signal to the SSTX1_P or SSTX2_P pin of the USB2-only Type-C connector (the one that does UART.)&lt;br /&gt;
&lt;br /&gt;
=== Networking using USB ===&lt;br /&gt;
&lt;br /&gt;
Until the internal BES2600 WIFI has a stable driver, the community suggests that you connect using USB. This section summarizes the more detailed information in [[File:PineTab2_USB_Guide.pdf]], which covers connecting via [[#Performing USB Tethering with an Android Phone|a tethered Android phone]], [[#Selecting a USB WIFI Adapter|a suitable USB WIFI adapter]], a wired USB Ethernet adapter, and a tethered iOS device.&lt;br /&gt;
&lt;br /&gt;
==== Selecting a USB WIFI Adapter ====&lt;br /&gt;
&lt;br /&gt;
Insert a supported WIFI dongle in the upper USB port, using a USB-C to USB-A adapter as necessary. As a general rule, single state adapters are recommended. Even better, select one from this list: https://github.com/morrownr/USB-WiFi/blob/main/home/The_Short_List.md&lt;br /&gt;
&lt;br /&gt;
If you must use a multi-state adapter and it isn't recognized by the kernel, you can try ejecting the device.  This ''should'' force it back into adapter mode.  If this does not work, you can try installing [https://man.archlinux.org/man/usb_modeswitch.1.en usb_modeswitch] to troubleshoot.  You will need to temporarily use another method to get internet (such as phone tethering below) or load the package on an SD card to install it.&lt;br /&gt;
&lt;br /&gt;
==== Performing USB Tethering with an Android Phone ====&lt;br /&gt;
&lt;br /&gt;
This guide simply describes HOW to undertake this option. The user is responsible for ensuring that their wireless plan permits such use, and for any fees incurred.&lt;br /&gt;
&lt;br /&gt;
You can use an Android phone as a network adapter.&lt;br /&gt;
&lt;br /&gt;
You'll need:&lt;br /&gt;
&lt;br /&gt;
* An Android phone&lt;br /&gt;
* A USB OTG adapter (USB-C to USB-C may work, not tested)&lt;br /&gt;
* Some knowledge of your variation of Android&lt;br /&gt;
&lt;br /&gt;
Do the following in order:&lt;br /&gt;
&lt;br /&gt;
* Plug in the device to the PineTab2 using the USB cable and a USB OTG adapter&lt;br /&gt;
* On your android phone, open the settings app (specifics from here may vary on version)&lt;br /&gt;
** Navigate to &amp;quot;Network &amp;amp; Internet&amp;quot;&lt;br /&gt;
** Navigate to &amp;quot;Hotspot &amp;amp; Tethering&amp;quot;&lt;br /&gt;
** Tap on &amp;quot;USB Tethering&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see a new network interface on the PineTab2.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.pine64.org/2022/12/15/december-update-merry-christmas-and-happy-new-pinetab/ December 2022 Community Update]&lt;br /&gt;
* [https://www.pine64.org/2023/03/01/february-update-things-are-taking-shape/ February 2023 Community Update]&lt;br /&gt;
&lt;br /&gt;
[[Category:Rockchip RK3566]]&lt;/div&gt;</summary>
		<author><name>Moobythegoldensock</name></author>
	</entry>
</feed>