Ubuntu MATE 22.10 Kinetic Kudu Nexus 7 2012 grouper rev. E1565 kernel-5.19.0_rc8

LuxiTD
10/9/2022 15:13Phản hồi: 0
Ubuntu MATE 22.10 Kinetic Kudu Nexus 7 2012 grouper rev. E1565 kernel-5.19.0_rc8

Cách kiểm tra Nexus 7 2012 là mã cũ PM269 hay E1565. Tham khảo:
https://wiki.postmarketos.org/wiki/Google_Nexus_7_2012_(asus-grouper)
Google Nexus 7 2012 (asus-grouper) - postmarketOS
wiki.postmarketos.org


Variants

  • grouper rev. PM269 - without GSM (oldest)
  • grouper rev. E1565 - without GSM (modern revision)
  • tilapia rev. E1565 - with GSM

Do I have grouper or tilapia?


TWRP (adb shell) $ grep androidboot.baseband=unknown /proc/cmdline && echo grouper || echo tilapia

Which hardware revision of grouper do I have?



TWRP (adb shell) $ find /sys/devices/ | grep -c max776 && echo You have E1565

TWRP (adb shell) $ find /sys/devices/ | grep -c tps6591 && echo You have PM269

Install Alpine Linux on Virtualbox:

Quảng cáo


Đặt máy về bootloader, để flash boot.img qua fastboot hoặc dùng method của postmarketOS. Kết nối Nexus 7 vào máy tính qua cáp usb chuẩn 1.1 → 2.0

$ sudo adb start-server

$ sudo adb reboot bootloader

$ sudo fastboot flash boot <boot_filename>.img

Vào TWRP for grouper 3.3.1-0 hoặc phiên bản mới hơn https://dl.twrp.me/grouper/

Download TWRP for grouper

Download TWRP Open Recovery for grouper
dl.twrp.me

Dùng adb shell trên PC/laptop hoặc Advance/Terminal trong twrp để umount mmcblk0p9 (làm 2 lần cho chắc ăn vì android mount /data và /sdcard trên cùng mmcblk0p9) [với tilapia (bản 3G) là mmcblk0p10]

1. TWRP(Advance → Terminal): $ df

Quảng cáo


2. TWRP(Advance → Terminal): $ umount /dev/block/mmcblk0p__ <- fill partition number
3. TWRP(Advance → Terminal): $ umount /dev/block/mmcblk0p__ <- fill partition number

On PC/Laptop terminal:

$ adb push <rootfs_filename>.img /dev/block/mmcblk0p__ <- fill partition number

  • grouper has likely data on /dev/block/mmcblk0p9 but make sure!
  • tilapia has likely data on /dev/block/mmcblk0p10 but make sure!

Khuyên dùng iwd thay thế cho wpa_supplicant mặc định trên ubuntu để tiết kiệm pin. Tạo kết nối wifi bằng iwd daemon

# sudo apt install iwd

# sudo systemctl stop wpa_supplicant

# sudo systemctl disable wpa_supplicant

# sudo systemctl start iwd

# sudo systemctl enable iwd

# sudo nano /etc/iwd/main.conf để đặt EnableNetworkConfiguration=true

# sudo iwctl

[iwctl]# device list

[iwctl]# station wlan0 scan

[iwctl]# station wlan0 get-networks

[iwctl]# station wlan0 connect [your_ssid]

Passwd: [your_router_passwd]

[iwctl]# exit

# sudo ping -c 3 google.com

Firefox-esr v.102

# sudo add-apt-repository ppa:mozillateam/ppa
# sudo apt-get update
# sudo apt-get install firefox-esr

Hiện tại, chưa có driver hỗ trợ cho Ubuntu Kinetic Kudu 22.10(đang test) trên launchpad của grate-driver, chỉ đang chạy opentegra 2d accelerate trên Xorg.

Nâng cấp cho cpufreq.start:
Service trong /etc/systemd/system/cpufreq_start.service
File bash shell trong /usr/bin/cpufreq.start

Nâng cấp cho clear_ram:
Service trong /etc/systemd/system/clear_ram.service
File bash shell trong /usr/bin/clear_ram

Nâng cấp cho temp_throttle:
Service trong /etc/systemd/system/temp_throttle.service
File bash shell trong /usr/bin/temp_throttle

Hotplug cả 4 cores của CPU bằng script trong cpufreq.start và temp_throttle

Chỉnh lại /etc/sysctl.conf cho phù hợp dùng zram-config (đã edit /usr/bin/init-zram-swapping theo Nvidia proprietary source-code) trên upstream. Không dùng swapfile trên eMMC, vì chạy rất chậm, xda-developers AndDisa's AOSP 7.1.2 NZH54D ROM cho Nexus7 2012 ở downstream, hỗ trợ zram rất tốt

Firmware bluetooth và wifi hoạt động tốt với kernel 5.19, chép vào /lib/firmware/postmarketos/brcm

https://gitlab.com/baonks81/nexus-7-2012-grouper-ubuntu-mate-lxqt-22.04/-/raw/main/ubuntu mate 22.04/brcm.zip?inline=false

Để xoay màn hình dùng kde-auto-rotate trong /opt folder hoặc tải trên github của chính tác giả DonBowman

Link: https://forum.xda-developers.com/t/linux-on-the-nexus-7-2012-wifi-rev-e1565-grouper-2022-edition.4323099/
Chia sẻ

Xu hướng

Xu hướng

Bài mới









  • Chịu trách nhiệm nội dung: Trần Mạnh Hiệp
  • © 2024 Công ty Cổ phần MXH Tinh Tế
  • Địa chỉ: Số 70 Bà Huyện Thanh Quan, P. Võ Thị Sáu, Quận 3, TPHCM
  • Số điện thoại: 02822460095
  • MST: 0313255119
  • Giấy phép thiết lập MXH số 11/GP-BTTTT, Ký ngày: 08/01/2019