Google Galaxy Nexus GSM (samsung-maguro)

From postmarketOS
Jump to: navigation, search
Google (Samsung) Galaxy Nexus I9250
Samsung Galaxy Nexus
Samsung Galaxy Nexus
Manufacturer Google (Samsung)
Name Galaxy Nexus I9250
Codename maguro
Released 2011
Original software Android 4.0 on Linux 3.0
Hardware
Chipset TI OMAP 4460
CPU Dual-core 1.2 GHz Cortex-A9
GPU PowerVR SGX540
Display 720x1280 AMOLED
Storage 16 GB
Memory 1 GB

Contributors

What works

  • ☑ Kernel compilation
  • ☑ Flash kernel (pmbootstrap flasher flash_kernel)
  • ☑ Flash system (pmbootstrap flasher flash_system) (System is only 654M and may be too small to flash postmarketOS on, in that case add --partition userdata)
  • ☑ Initramfs boot
  • ☑ USB network
  • ☑ Framebuffer graphics (Splash screens)
  • ☑ SSH connectivity (via USB and Wifi)
  • ☑ Weston on framebuffer
  • ☑ Touchscreen
  • ☑ Xwayland
  • ☑ Wifi
  • ☐ Audio playback (untested)
  • ☐ Bluetooth
  • ☐ GPS
  • ☐ Front camera
  • ☐ Rear camera
  • ☐ ...

Links

Additional info

Entering "Fastboot mode"

Hold the Volume Up and Volume Down buttons, and then press the Power button

Connect to WiFi

  • bring the interface up

sudo ifconfig wlan0 up

  • scan to find out what WiFi networks are detected

sudo iw dev wlan0 scan

  • connect to WPA/WPA2 WiFi network

wpa_passphrase <wifi_ssid> <wifi_key> | sudo tee /etc/wpa_supplicant/wpa_supplicant.conf

  • start wpa_supplicant to connect to the network

sudo wpa_supplicant -B -D nl80211 -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0

  • verify that you are indeed connected to the SSID

iw wlan0 link

  • start udhcpc to get an ip address

sudo udhcpc -b -i wlan0

Partition layout

 # fdisk /dev/block/mmcblk0
Found valid GPT with protective MBR; using GPT


Command (m for help): p
Disk /dev/block/mmcblk0: 30777344 sectors, 2740M
Logical sector size: 512
Disk identifier (GUID): 52444e41-494f-2044-4d4d-43204449534b
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 30777310

Number  Start (sector)    End (sector)  Size       Code  Name
   1             256             511        128K   0700  xloader
   2            1024            8191       3584K   0700  sbl
   3            8192           49151       20.0M   0700  efs
   4           49152           65535       8192K   0700  param
   5           65536           73727       4096K   0700  misc
   6           73728           81919       4096K   0700  dgs
   7           81920           98303       8192K   0700  boot
   8           98304          122751       11.9M   0700  recovery
   9          122880          155647       16.0M   0700  radio
  10          155648         1495039        654M   0700  system
  11         1495040         2379775        432M   0700  cache
  12         2379776        30777309       13.5G   0700  userdata
  13          122752          122879       65536   0700  metadata

(From this, you can see that if your postmarketOS install image is larger than 654 MB, you'll have to install it to the userdata partition instead. Or you could repartition.)

Photos

  • Galaxy Nexus feat. Weston and a working touch-screen

Lawl Galaxy Nexus Weston.jpg

  • Galaxy Nexus running Xfce4

Google Galaxy Nexus GSM running Xfce4.jpeg