Jump to content

Google Galaxy Nexus GSM (samsung-maguro): Difference between revisions

From postmarketOS Wiki
CmdrWgls (talk | contribs)
Added infobox.
User0 (talk | contribs)
m remove duplicate owners list
 
(42 intermediate revisions by 17 users not shown)
Line 1: Line 1:
[[Category:Supported Devices]]
[[Category:Devices]]
{{Infobox device
{{Infobox device
| manufacturer = Google (Samsung)
| manufacturer = Google (Samsung)
| name = Galaxy Nexus I9250
| name = Galaxy Nexus I9250
| codename = maguro
| codename = samsung-maguro
| image =  
| image = File:Lawl Galaxy Nexus Weston.jpg
| imagecaption = Google Galaxy Nexus
| imagecaption = Samsung Galaxy Nexus
| releaseyear = 2011
| releaseyear = 2011
| originalsoftware = Android 4.0 on Linux 3.0
| originalsoftware = Android
| cpu = TI OMAP 4460
| originalversion = 4.0 on Linux 3.0
| chipset = TI OMAP 4460
| cpu = Dual-core 1.2 GHz Cortex-A9
| gpu = PowerVR SGX540
| gpu = PowerVR SGX540
| storage = 16GB
| storage = 16 GB
| display = 720x1280 AMOLED
| display = 720x1280 AMOLED
| memory = 1GB
| memory = 1 GB
| architecture = armv7
| type = Handset
| status_usbnet = Y
| status_flashing = Y
| status_touch = Y
| status_screen = Y
| status_wifi = Y
| status_xwayland = Y
| status_fde = Y
| status_mainline = P
| status_battery = Y
| status_3d =
| status_accel =
| status_audio =
| status_bluetooth =
| status_camera =
| status_gps =
| status_mobiledata =
| status_sms =
| status_calls =
| booting = yes
}}
}}
= Contributors =
 
== Users owning this device ==
{{Device owners}}
 
== Contributors ==


* lawl
* lawl
* Pneumaticat
* Pneumaticat
* ''[[user:drebrez|drebrez]]''
* ScardracS


= What works =
== Links ==


* [x] Kernel compilation
* [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/testing/device-samsung-maguro Device package]
* [x] Flash kernel (<code>pmbootstrap flasher flash_kernel</code>)
* [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/testing/linux-samsung-maguro Kernel package]
* [x] Flash system (<code>pmbootstrap flasher flash_system</code>) (System partition may be too small to flash postmarketOS on, in which case you should change the partition to <code>userdata</code> in <code>pmb/config/__init__.py</code>.)
* [https://github.com/drebrez/linux/commits/samsung-maguro drebrez's mainline kernel fork]
* [x] Initramfs boot
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyNexusGTI9250 Replicant Wiki page]
* [x] USB network
* [x] Framebuffer graphics (Splash screens)
* [x] SSH connectivity (via USB and Wifi)
* [x] Weston on framebuffer
* [x] Touchscreen
* [x] Xwayland
* [x] Wifi
* [ ] Audio playback (untested)
* [ ] Bluetooth
* [ ] GPS
* [ ] Front camera
* [ ] Rear camera
* [ ] ...


= Links =
== Mainline Kernel Status ==
{| class="wikitable"
|-
! 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<br/> Currently working with simple-framebuffer
|-
| Barometer || Bosch BMP180 || Yes || Working
|-
| Audio || TWL6040 || Yes || earphone working<br/>loudspeaker not working<br/>mic not working
|-
| Touch Screen || MELFAS MMS144 || [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/input/touchscreen/mms114.c?h=v5.2-rc3 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 || [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c#n966 Yes] || ???
|-
| Bluetooth || BCM4330 || [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/bluetooth/hci_bcm.c#n1413 Yes?] || ???
|-
| GPS || SiRFStarIV GSD4t || ??? || ???
|-
| HDMI/MHL || sii9234 || Yes || Untested
|-
| NFC || pn544 || Yes || Untested
|-
| Modem || Intel XMM6260 || [https://blog.forkwhiletrue.me/pages/midas-mainline/ No] || ???
|-
|}


* [https://github.com/postmarketOS/pmbootstrap/tree/master/aports/device/device-samsung-maguro Device package]
== Additional info ==
* [https://github.com/postmarketOS/pmbootstrap/tree/master/aports/device/linux-samsung-tuna Kernel package]
* [https://github.com/lawl/pmbootstrap lawl's development branch] (now merged into master)


= Additional info =
=== Entering &quot;Fastboot mode&quot; ===


== Entering &quot;Fastboot mode&quot; ==
Hold the '''Volume Up''' and '''Volume Down''' buttons, and then press the '''Power''' button


Hold the '''Volume Up''' and '''Volume Down''' buttons, and then press the '''Power''' button
=== Connect to WiFi ===
 
* bring the interface up
 
<code>sudo ifconfig wlan0 up</code>
 
* scan to find out what WiFi networks are detected
 
<code>sudo iw dev wlan0 scan</code>
 
* connect to WPA/WPA2 WiFi network
 
<code>wpa_passphrase <wifi_ssid> <wifi_key> | sudo tee /etc/wpa_supplicant/wpa_supplicant.conf</code>
 
* start wpa_supplicant to connect to the network
 
<code>sudo wpa_supplicant -B -D nl80211 -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0 </code>
 
* verify that you are indeed connected to the SSID
 
<code>iw wlan0 link</code>
 
* start udhcpc to get an ip address
 
<code>sudo udhcpc -b -i wlan0</code>


== Partition layout ==
=== Partition layout ===


<pre> # fdisk /dev/block/mmcblk0
<pre> # fdisk /dev/block/mmcblk0
Line 82: Line 164:
(From this, you can see that if your postmarketOS install image is larger than 654 MB, you'll have to install it to the <code>userdata</code> partition instead. Or you could repartition.)
(From this, you can see that if your postmarketOS install image is larger than 654 MB, you'll have to install it to the <code>userdata</code> partition instead. Or you could repartition.)


= Photos =
== 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 <code>fastboot devices</code>. If you see your device is listed, you can proceed with typing <code>fastboot oem unlock</code>. You should see a notification on your phone now. Aggree it, by <code>Volume UP</code> and <code>ON/OFF</code>. 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.


* Galaxy Nexus feat. Weston and a working touch-screen<br />
== Photos ==
[[File:Lawl Galaxy Nexus Weston.jpg|500 px]]
<gallery>
File:Lawl Galaxy Nexus Weston.jpg|thumb|left|Weston and a working touch-screen
File:Google_Galaxy_Nexus_GSM_running_Xfce4.jpeg|thumb|left|Xfce4
File:Galaxy-nexus-plasma.jpg|thumb|left|Plasma-Mobile
</gallery>

Latest revision as of 06:10, 7 February 2025

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 Android
Original version 4.0 on Linux 3.0
postmarketOS
Category testing
Pre-built images no
Mainline partial
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
Works
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


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