Jump to content

Google Nexus 10 (samsung-manta): Difference between revisions

From postmarketOS Wiki
Susurrus (talk | contribs)
m Specify type
Jenneron (talk | contribs)
remove downstream information and replace with mainline
Line 22: Line 22:
| status_screen = Y
| status_screen = Y
| status_wifi = Y
| status_wifi = Y
| status_xwayland = Y
| status_fde =  
| status_fde =  
| status_mainline =  
| status_mainline = Y
| status_battery = P
| status_battery = P
| status_3d =  
| status_3d = N
| status_accel =
| status_audio = Y
| status_audio = Y
| status_bluetooth =
| status_bluetooth = Y
| status_camera =
| status_camera = N
| status_gps =  
| status_gps = N
| status_mobiledata = -
| status_mobiledata = -
| status_sms = -
| status_sms = -
| status_calls = -
| status_calls = -
| status_otg = Y
| status_otg = Y
| status_nfc = N
| status_accel = N
| status_magnet = N
| status_light = N
| status_proximity = N
| status_hall =
| status_barometer = -
| status_powersensor = -
| status_usba = -
| status_hdmidp =
| status_keyboard = -
| status_touchpad = -
| status_irtx = -
| status_irrx = -
| status_trustzone = -
| status_fossbootloader = -
| status_stylus = -
| status_haptics =
| status_ethernet = -
| status_cameraflash = -
| status_dvb = -
| booting = yes
| booting = yes
}}
}}
== Contributors ==
* BakaOsaka
* MartijnBraam
* Blacksilver


== Users owning this device ==
== Users owning this device ==
Line 58: Line 72:


In either case, the <code>/system</code> partition isn't big enough for all but the smallest interfaces. So if you install anything bigger, use <code>--partition</code> or <code>--recovery-install-partition</code>, depending on which way you install it, to choose a bigger partition. <code>/data</code> should have more than enough space.
In either case, the <code>/system</code> partition isn't big enough for all but the smallest interfaces. So if you install anything bigger, use <code>--partition</code> or <code>--recovery-install-partition</code>, depending on which way you install it, to choose a bigger partition. <code>/data</code> should have more than enough space.
== Reverting back to stock / recreating broken partitions ==
Because postmarketOS uses partitions differently than android, reverting back to stock is a bit more complicated. These instructions should work in any situation, except if you managed to break the bootloader or physically damaged your device.
* Have fastboot installed
* Download and unzip the correct [https://developers.google.com/android/images#mantaray factory image]. In most cases you'll probably want the latest one (LMY49J).
* Open a terminal and navigate into the folder you just unzipped.
* Connect your Nexus 10 via USB, and boot to bootloader (hold power+vol_up+vol_down until you see a screen that says bootloader)
* On Linux/Mac: <code>./flash-all.sh</code> On Windows: <code>./flash-all.bat</code>
* The script will reflash the stock bootloader/recovery/system, wait for it to finish. Once it is done, the tablet will reboot and attempt to boot into android. Because some partitions are still broken, this means that it will be stuck at the android splash screen (if you chose the latest version, it's some colored dots flying around) indefinitely.
* To solve this, boot to bootloader again (hold power+vol_up+vol_down), use the volume buttons to choose <code>recovery mode</code> and select it by tapping the power button.
* After a short while, you should be at a mostly black screen, with a small android and a red triangle. To get to the actual recovery menu, tap the volume_up button while holding power.
* Now choose <code>wipe data/factory reset</code>, then <code>Yes -- delete all user data</code>, and once it is finished, choose <code>reboot system now</code>.
* Wait until it shows you the first time setup screen for android, and everything should be fixed :)
== Power ==
By default the device will drain its battery even if it is connected to your PC because USB does only provide ~100mA. This can be changed with:<source lang="shell">
sudo sh -c "echo 1 > /sys/class/power_supply/smb347-usb/usb_hc"
</source>
If you want to use a standalone charger, the following commands have to be issued after you plugged in the charger:<source lang="shell">
sudo sh -c "echo 1 > /sys/class/power_supply/smb347-usb/charger_detection"
</source>
Issue the following command to monitor the power consumption:<source lang="shell">
cat /sys/class/power_supply/ds2784-fuelgauge/current_now
</source>
A positive current value means that the battery is charging while a negative current
discharges the battery.
== Touchscreen ==
After booting the UI doesn't react to user input. Restarting lightdm solves this:<source lang="shell">
sudo rc-service lightdm restart
</source>
== Black screen after postmarketOS splash screen ==
For some unknown reason, most interfaces only show a black screen after booting. If you have your device connected via USB, you can execute <code>sudo startx</code> over [https://wiki.postmarketos.org/wiki/SSH ssh]. Somehow, this seems to fix it, at least temporarily (plasma-desktop just goes back to showing a black screen after login).
== Hardware status (<code>hwtest</code>) ==
{| class="wikitable feature-colors"
! style="text-align:left;"| Category
! style="text-align:left;"| Model
! style="text-align:left;"| Path
! style="text-align:left;"| Status
! style="text-align:left;"| Value
|-
|framebuffer
|
|/sys/class/graphics/fb0
| class="feature-yes"| Working
|U:2560x1600p-60
|-
|magnetometer
|mpu6050
|/sys/bus/iio/devices/iio:device0
|Broken
|
|-
|accelerometer
|mpu6050
|/sys/bus/iio/devices/iio:device0
|Broken
|
|-
|gyroscope
|mpu6050
|/sys/bus/iio/devices/iio:device0
|Broken
|
|-
|illuminance
|lightsensor-level
|/sys/bus/iio/devices/iio:device1
|Broken
|0
|-
|input
|Manta-I2S Headset
|/dev/input/event3
| class="feature-yes"| Working
|
|-
|input
|Atmel maXTouch Touchscreen
|/dev/input/event2
| class="feature-yes"| Working
|
|-
|input
|manta-switch
|/dev/input/event1
| class="feature-yes"| Working
|
|-
|input
|manta-keypad
|/dev/input/event0
| class="feature-yes"| Working
|
|}
== Xfce4 tweaks ==
Increasing DPI from the default 96 (settings / appearance / fonts / DPI) by a factor of 2 (or more, actual screen DPI is 300) makes the desktop reasonably stylus accessible. The interface issues discussed above remain:
* [[#Black screen after postmarketOS splash screen|black screen]] - <code>ssh; sudo startx; ctrl-c</code>.
** Possibly related to <code>FBDEV(0): FBIOBLANK: Resource busy...</code> info message in Xorg.log?
* [[#Power]] - manual intervention.
* [[#Touchscreen]] - becomes unresponsive after being idle for a few minutes.  use <code>startx</code> trick.
== Photos ==
|[[File:Nexus-10-weston.jpg|400x400px]]
|[[File:Screenshot-nexus-10-xfce4-dpi192-about-pwr.jpg|640x400px]]
|[[File:Screenshot-nexus-10-xfce4-dpi192-term.jpg|640x400px]]
== Mainline ==
The Exynos 5250 has support in the mainline kernel, so this tablet might be a good candidate.
There are even few 5250 devices which are pretty well supported by mainline kernel.
The smdk5250 board is close to manta.
Volunteers to work on a manta dtb ?


== Links ==
== Links ==
* [https://github.com/postmarketOS/pmbootstrap/pull/1138 Original pull request]
* [https://github.com/postmarketOS/pmbootstrap/pull/1572 Touchscreen pull request]
* [https://gitlab.com/postmarketOS/pmaports/-/merge_requests/2892 Wifi Audio pull request]
* {{Device package|samsung-manta}}
* {{Device package|samsung-manta}}
* {{Kernel package|samsung-manta}}
* {{Kernel package|samsung-manta}}

Revision as of 09:50, 21 October 2023

Google (Samsung) Nexus 10
Google Nexus 10
Google Nexus 10
Manufacturer Google (Samsung)
Name Nexus 10
Codename samsung-manta
Released 2012
Type tablet
Hardware
Chipset Samsung Exynos 5250
CPU 1.7 GHz Dual-core Cortex-A15
GPU Mali T-604
Display 2560x1600 IPS
Storage 16/32 GB
Memory 2 GB
Architecture armv7
Software
Original software Android 4.2.2 on Linux 3.0
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel Lineage 3.4.113
Unixbench Whet/Dhry score 956.9
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Partial
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Works
Camera
Broken
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Broken
NFC
Broken
Miscellaneous
FDE
No data
USB OTG
Works
HDMI/DP
No data
Sensors
Accelerometer
Broken
Magnetometer
Broken
Ambient Light
Broken
Proximity
Broken
Hall Effect
No data
Haptics
No data


Users owning this device


How to enter flash mode

  • Connect a USB cable
  • Power the device off
  • Hold power + volume down
  • You should get a bootloader screen saying "Downloading... Do not turn off target !!"

Installation

See Installation guide. If this doesn't work, try Android Recovery Zip Installation.

In either case, the /system partition isn't big enough for all but the smallest interfaces. So if you install anything bigger, use --partition or --recovery-install-partition, depending on which way you install it, to choose a bigger partition. /data should have more than enough space.

Links