Jump to content

Google Galaxy Nexus GSM (samsung-maguro)

From postmarketOS Wiki
Google (Samsung) Galaxy Nexus I9250
Samsung Galaxy Nexus
Samsung Galaxy Nexus
Manufacturer Google (Samsung)
Name Galaxy Nexus I9250
Codename samsung-maguro
Released 2011
Type handset
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
Architecture armv7
Software
Original software
The software and version the device was shipped with.
Android 4.0 on Linux 3.0
Extended version
The most recent supported version from the manufacturer.
Android
postmarketOS
Category downstream
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Device package device-samsung-maguro
Kernel package linux-samsung-maguro
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Charging and battery level reporting works
Works
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Works
Bluetooth
Untested
GPS
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Works
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested

Users owning this device


Contributors

Links

Mainline Kernel Status

Component Model Mainline kernel driver Status
RGB LED Panasonic AN30259A Yes Working
MicroUSB - Yes Working
eMMC Samsung VYL00M Yes Working
Battery/Charging/Fuelgauge MAX17040 Yes Working
Volume/Power keys GPIO Yes Working
Accelerometer Bosch BMA250 Yes Working
Gyroscope InvenSense MPU3050 Yes Working
Display Samsung S6E8AA0 AMOLED Yes Missing support for OMAP-DSS
Currently working with simple-framebuffer
Barometer Bosch BMP180 Yes Working
Audio TWL6040 Yes earphone working
loudspeaker not working
mic not working
Touch Screen MELFAS MMS144 Yes
USB Switch FSA9480 Yes Missing dts bindings
Magnetometer Yamaha YAS530 No
Proximity sensor Sharp GP2A Yes Missing dts bindings
GPU PowerVR SGX540 No
Wi-Fi BCM4330 Yes ???
Bluetooth BCM4330 Yes? ???
GPS SiRFStarIV GSD4t ??? ???
HDMI/MHL sii9234 Yes Untested
NFC pn544 Yes Untested
Modem Intel XMM6260 No ???

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.)

Installation

Unlock bootloader - to unlock the bootloader go into fastboot mode, as described above. After this connect your Phone via USB-Cable. Check if the device is recognized by typing fastboot devices. If you see your device is listed, you can proceed with typing fastboot oem unlock. You should see a notification on your phone now. Aggree it, by Volume UP and ON/OFF. Now you can follow the Installation - Guide. If you run into Problems with "Buffer Size Exceeded" like me (GeraltvonNVIDIA), than you can fix this by following the Workaround from Oliver Smith @ollieparanoid as mentioned here: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/1984 , or you can also flash 4.0.4 (IMM76I) ofw.

Photos