Jump to content

Google Nexus 7 2013 (asus-flo): Difference between revisions

From postmarketOS Wiki
Replace Category:Unsupported device with Category:Not booting and remove Category:Device (since the infobox template sets that anyway!)
mNo edit summary
 
(52 intermediate revisions by 18 users not shown)
Line 2: Line 2:
| manufacturer = Google (ASUS)
| manufacturer = Google (ASUS)
| name = Nexus 7 (2013) WIFI
| name = Nexus 7 (2013) WIFI
| codename = flo
| codename = asus-flo
| image = File:Asus_flo_hildon.jpg
| image = File:Asus_flo_hildon.jpg
| imagecaption = Flo running Hildon
| imagecaption = Flo running Hildon
| release year = 2013 July 26
| releaseyear = 2013
| original software = Android 6 on Linux 3.4
| releasemonth = July
| chipset = Qualcomm APQ8064-1AA Snapdragon S4 Pro (Snapdragon 600)
| originalsoftware = Android
| originalversion = 6 (Linux 3.4)
| chipset = Qualcomm Snapdragon S4 Pro (Snapdragon 600) (APQ8064-1AA)
| cpu = Quad-core 1.5 GHz Krait 300
| cpu = Quad-core 1.5 GHz Krait 300
| gpu = Adreno 320
| gpu = Adreno 320
Line 13: Line 15:
| display = 1200x1920 FHD IPS
| display = 1200x1920 FHD IPS
| memory = 2 GB
| memory = 2 GB
}}
| architecture = armv7
| type = tablet
| status_usbnet = Y
| status_flashing = Y
| status_touch = Y
| status_screen = Y
| status_wifi = Y
| status_xwayland = Y
| status_fde = P
| status_mainline = P
| status_battery =
| status_3d = Y
| status_accel =
| status_audio =
| status_bluetooth =
| status_camera =
| status_gps =
| status_mobiledata = -
| status_sms = -
| status_calls = -
| booting = yes
| packaged = yes
}}{{Based on SoC|Qualcomm_Snapdragon_600_(APQ8064)|Snapdragon 600}}
[[File:Asus_flo_plasma.jpg|thumb|right|Flo running Plasma Mobile]]
=== Contributors ===
=== Contributors ===


* montvid porting
* David Heidelberg (inactive)
* #postmarketos irc crew
* montvid porting (inactive)
* John Stultz Flo kernel patches maintainer
* John Stultz Flo kernel patches maintainer (inactive)
* Rob Clark Freedreno video driver maintainer
 
* Linaro, Qualcomm, Red Hat drivers, kernel upstreaming
=== Users owning this device ===
{{Device owners}}


=== Key combinations ===
=== Key combinations ===
Line 28: Line 54:
* Shutdown: Power
* Shutdown: Power


=== What works ===


* 3D Freedreno hardware acceleration
== Hardware revisions ==
* Flashing with pmbootstrap/fastboot
First figure out, which HW revision do you have. You can do that from booted TWRP or original AOSP kernel by running
* Upstream stable Kernel 4.11.12 + patches
<syntaxhighlight lang="shell">
* Screen
dmesg | grep "HW Revision"
* Touchscreen input
</syntaxhighlight>
* USB Internet
 
* WIFI Internet
Alternatively from bootloader (fastboot), run
* X11 Hildon, Mate, Xfce, Xwayland-Weston
<syntaxhighlight lang="shell">
* TWRP Recovery
fastboot getvar version-hardware
* PREEMPT_RT (not on by default)
</syntaxhighlight>
 
Known hardware revisions are:
* rev_e
* ??
 
Note: at present, the hardware revision does not seem to be of any consequence.
 
== Flashing ==
 
=== How to enter flash mode ===
* Connect a USB cable
* Power the device off
* Hold  {{Button|Power}} + {{Button|Volume Down}}
* <code>fastboot</code> should work when the green android appears on the screen
 
=== Installation process ===
Is currently identical to [[Google_Nexus_7_2012_(asus-grouper)#Installation_process]], just beware, that DATA partition numbers can differ!


=== What does not work yet ===
=== Mainline status ===


* Audio
* 4.11 kernel with many workarounds works
* Hardware Video decoding
* 4.12-rc1 broke Adreno, not fixed at least until kernel 5.6 https://github.com/freedreno-zz/freedreno/issues/12
* Bluetooth
* 4.14 kernel running, but when 3D or Xserver is used, it tends to stop working.
* Sensors
* 5.4 - working
* Camera
* 5.10 (LTS) - currently being worked on, sometimes laggy touchscreen
* 5.11 - 5.12 needs power button shortly pressed in initial booting process
* mainline and -next should be working with correct configuration


=== Issues ===
=== Issues (WIP) ===


* WIFI firmware sometimes does not load on boot. WIFI connection is very slow. You need to start [[WiFi#Start_WIFI_manually]] as the firmware loads late in the boot process.
* WIFI firmware sometimes does not load on boot. WIFI connection is very slow - probably to the wcn36xx driver still being a work in progress. You need to start [[WiFi#Start_WIFI_manually]] as the firmware loads late in the boot process.
<pre>sudo wpa_supplicant -u -Dnl80211 -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0
sudo nmcli device wifi connect "ssd" password "pass" ifname wlan0</pre>


=== Other information ===
=== Other information ===


* Flash the system to a userdata partition to have 10GB free space. If you don't see 10GB install TWRP recovery and format system/all partitions and start again:
* Flash the system to a userdata partition to have 10GB free space. If you don't see 10GB install TWRP recovery and format system/all partitions and start again:
<pre>./pmbootstrap.py flasher flash_system --partition userdata
<pre>./pmbootstrap.py flasher flash_rootfs --partition userdata
./pmbootstrap.py flasher flash_kernel</pre>
./pmbootstrap.py flasher flash_kernel</pre>
* When I tried flashing rootfs, it would fail almost immediately after erasing.  I installed TWRP, and tried a few things to "wipe" it, which worked, and then permitted the good flash (with hildon UI) below.  (Note that, although the instructions for TWRP 3.2.2-0 for asus-flo suggest that you might need to do "fastboot reboot" and then hold down the buttons, that only resulted in what appeared to be boot loops of TWRP -- what worked instead was to use the buttons to power off, and then use the buttons to boot recovery.)
<pre>(native) flash rootfs image
target didn't report max-download-size
erasing 'userdata'...
OKAY [  0.977s]
sending 'userdata' (395264 KB)...
OKAY [395.414s]
writing 'userdata'...
OKAY [ 19.449s]
finished. total time: 415.840s</pre>
* When I tried flashing with the Hildon UI (on 2018-07-27), it booted to the blue Hildon wallpaper, but the wallpaper only filled a square subset of the display.
* For unknown reasons, I'm seeing rootfs flash times that seem slow.  For example, a flash of plasma-mobile ui (808 MB) took 850.323s, with 808.169s of that in sending phase.  This is approx. 10 times the duration for flashing sony-amami from the same laptop.
* I would recommend installing and using [[MATE]] as it is very complete
* I would recommend installing and using [[MATE]] as it is very complete
* To run Internet via USB see [[USB Internet]]
* To run Internet via USB see [[USB Internet]]
* Correct battery charge info appears to be in: /sys/bus/i2c/drivers/bq27xxx-battery/0-0055/power_supply/bq27541-0/charge_now
* It's possible that Nexus 7 2013 units have flash hardware problems: [https://www.androidpolice.com/2015/04/19/reports-suggest-2013-nexus-7-units-are-failing-at-an-alarming-rate-not-likely-a-result-of-firmware-updates/ AndroidPolice.com 2015-04-19], [https://appleinsider.com/articles/13/06/18/googles-nexus-7-tablets-dying-early-possibly-due-to-cheap-memory appleinsider.com 2013-06-18]
=== Links ===
=== Links ===


 
* [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/testing/device-asus-flo Device package]
* [https://github.com/postmarketOS/pmbootstrap/tree/master/aports/device/device-asus-flo Device package]
* [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/testing/linux-asus-flo Kernel package]
* [https://github.com/postmarketOS/pmbootstrap/tree/master/aports/device/linux-asus-flo Kernel package]
* [https://twrp.me/asus/asusnexus72013wifi.html TWRP recovery]
* [https://twrp.me/asus/asusnexus72013wifi.html TWRP recovery]
* [https://git.linaro.org/landing-teams/working/qualcomm/wcnss-config.git/tree WIFI start with Wcnss-start]
* [https://git.linaro.org/landing-teams/working/qualcomm/wcnss-config.git/tree WIFI start with Wcnss-start]

Latest revision as of 08:57, 20 April 2025

Google (ASUS) Nexus 7 (2013) WIFI
Flo running Hildon
Flo running Hildon
Manufacturer Google (ASUS)
Name Nexus 7 (2013) WIFI
Codename asus-flo
Released 2013
Type tablet
Hardware
Chipset Qualcomm Snapdragon S4 Pro (Snapdragon 600) (APQ8064-1AA)
CPU Quad-core 1.5 GHz Krait 300
GPU Adreno 320
Display 1200x1920 FHD IPS
Storage 16/32 GB
Memory 2 GB
Architecture armv7
Software
Original software Android
Original version 6 (Linux 3.4)
postmarketOS
Category testing
Pre-built images no
Mainline partial
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
No data
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
No data
GPS
No data
NFC
No data
Miscellaneous
FDE
Partial
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data
Flo running Plasma Mobile

Contributors

  • David Heidelberg (inactive)
  • montvid porting (inactive)
  • John Stultz Flo kernel patches maintainer (inactive)

Users owning this device

  • 0xB0D
  • Audunmg
  • Blacklight
  • Cherryband (Notes: usb port broken)
  • Clamor (Notes: Running Unlegacy Android Project Oreo ROM)
  • Deviled (Notes: Broken digitizer)
  • Dragon788 (Notes: mine is the LTE model system, but the info is spread across both pages and it will be nice to find the right page from my profile)
  • Ecloud
  • Hexaheximal (Notes: Currently runs CyanogenMod 13, planning on installing postmarketOS on it at some point)
  • ImAdam
  • Lantizia
  • Manty (Notes: Android development)
  • Neilvandyke
  • Newbyte (Notes: Seems to have failing eMMC. Running Ubuntu Touch. Borrowed by girlfriend, so unavailable for testing things)
  • Okias (Notes: Damaged screen, but works)
  • Otto
  • Russanandres (Notes: Broken)
  • Stupidenbyace (Notes: Running LineageOS 19.1)
  • Yifei (Notes: not booting or charging)


Key combinations

  • Boot to bootloader: Power + Volume Down
  • Boot to recovery: Power + Volume Up
  • Shutdown: Power


Hardware revisions

First figure out, which HW revision do you have. You can do that from booted TWRP or original AOSP kernel by running

dmesg | grep "HW Revision"

Alternatively from bootloader (fastboot), run

fastboot getvar version-hardware

Known hardware revisions are:

* rev_e
* ??

Note: at present, the hardware revision does not seem to be of any consequence.

Flashing

How to enter flash mode

  • Connect a USB cable
  • Power the device off
  • Hold Power + Volume Down
  • fastboot should work when the green android appears on the screen

Installation process

Is currently identical to Google_Nexus_7_2012_(asus-grouper)#Installation_process, just beware, that DATA partition numbers can differ!

Mainline status

  • 4.11 kernel with many workarounds works
  • 4.12-rc1 broke Adreno, not fixed at least until kernel 5.6 https://github.com/freedreno-zz/freedreno/issues/12
  • 4.14 kernel running, but when 3D or Xserver is used, it tends to stop working.
  • 5.4 - working
  • 5.10 (LTS) - currently being worked on, sometimes laggy touchscreen
  • 5.11 - 5.12 needs power button shortly pressed in initial booting process
  • mainline and -next should be working with correct configuration

Issues (WIP)

  • WIFI firmware sometimes does not load on boot. WIFI connection is very slow - probably to the wcn36xx driver still being a work in progress. You need to start WiFi#Start_WIFI_manually as the firmware loads late in the boot process.
sudo wpa_supplicant -u -Dnl80211 -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0
sudo nmcli device wifi connect "ssd" password "pass" ifname wlan0

Other information

  • Flash the system to a userdata partition to have 10GB free space. If you don't see 10GB install TWRP recovery and format system/all partitions and start again:
./pmbootstrap.py flasher flash_rootfs --partition userdata
./pmbootstrap.py flasher flash_kernel
  • When I tried flashing rootfs, it would fail almost immediately after erasing. I installed TWRP, and tried a few things to "wipe" it, which worked, and then permitted the good flash (with hildon UI) below. (Note that, although the instructions for TWRP 3.2.2-0 for asus-flo suggest that you might need to do "fastboot reboot" and then hold down the buttons, that only resulted in what appeared to be boot loops of TWRP -- what worked instead was to use the buttons to power off, and then use the buttons to boot recovery.)
(native) flash rootfs image
target didn't report max-download-size
erasing 'userdata'...
OKAY [  0.977s]
sending 'userdata' (395264 KB)...
OKAY [395.414s]
writing 'userdata'...
OKAY [ 19.449s]
finished. total time: 415.840s
  • When I tried flashing with the Hildon UI (on 2018-07-27), it booted to the blue Hildon wallpaper, but the wallpaper only filled a square subset of the display.
  • For unknown reasons, I'm seeing rootfs flash times that seem slow. For example, a flash of plasma-mobile ui (808 MB) took 850.323s, with 808.169s of that in sending phase. This is approx. 10 times the duration for flashing sony-amami from the same laptop.
  • I would recommend installing and using MATE as it is very complete
  • To run Internet via USB see USB Internet
  • Correct battery charge info appears to be in: /sys/bus/i2c/drivers/bq27xxx-battery/0-0055/power_supply/bq27541-0/charge_now

Links