Galaxy Nexus: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
2013-Sept-07
The phone code named Maguro.
See also [[Nexus 7]].
[[File:tuna.jpg|Maguro is a sushi dish made from tuna.]]


I am now trying Ubuntu Touch on the phone. Tried it back in June on the [[Nexus 7]]
* CM14 = 7.x Nougat - not even close to usable yet (Oct 2016)
* CM13 = 6.x Marshmallow ''You are here, Brian.''
* CM12 = 5.1.x Lollipop
* CM11 = 4.4.4 KitKat


== What I had on this phone ==
== Cyanogen for now ==


Android version 4.3
The [https://lineageos.org/ LineageOS] people are still at 13.0 for this phone so I still have CM 13 loaded on it.


Build number JWR66Y
== Back to the Galaxy ==


Adobe Flash
After trying an [[LG Viper]] phone from Sparrow, I reactivated the Galaxy using Ting. This is just a better phone,
Aldiko
and I can put CyanogenMod on it so that I get (relatively) recent Android versions to play with.
Kindle
Android Sensor Box
ArcGIS
ASTRO File Manager
Backcountry Navigator Pro
Bluetooth GPS Provider
C:Geo
Calendar
CBCPL
ConvertPad -Unit Converter
Data Monitor
Dropbox
Google Earth
FBReader
Garmin Mechanic
GeoCam Free
Groove IP Lite
Keep
KQED
LED Light
LinkedIn
My Trails
My Trails License
Trimble Navigator
NeonGeo
Nexus 7 Camera Starter
Open Document Reader
OpenStreetMap
OsmAnd
Overdrive Media Console
Pocket Query Creator
Python for ANdroid
RPN Calculator
Signal Finder
SipDemo
Speed Test
Telnet
Terminal Emulator
Traxx Outdoors
US Army Survival Guid
Ultrachron Lite
Wifi Analyzer
WiFi Tracker
Wikipedia
XID Broadleaf Weeds


== Why I am not fond of the Android set up ==
== Current project: Profiles via NFC cards ==


I have had it long enough to realize
Currently I am using Trigger because it works for me and it was easy.
 
When I pop my phone into its handlebar holder, an NFC tag triggers the phone to go into bicycle mode,
setting up the display, turning off WiFi, turning on bluetooth, and launching the Bluetooth GPS app so
that I can see when I have good position data. Then I can start DigitalHUD.
 
When I get off my bike I tap an NFC card on my keychain and the phone goes into "pocket" mode, switching to vibrate instead of ring,
changing display settings, and turning off WiFi and bluetooth.


# I want complete control over the phone. I don't feel like I own it.
When I get in my car, I put the phone in a dock. An NFC tag in the dock tells the phone to turn off WiFi, turn on Bluetooth and connect to the stereo as an audio and media device, turn off vibrate, and launch Overdrive (we listen to audiobooks in the car.)
# I would like to be able to use the GPS without Google tracking me.
# I would like to be able to develop applications that run on both my desktop and my phone (and my tablet)
# I have lots of Linux knowledge I would like to be able to use


== Switching to Ubuntu ==
When I get home, I put my phone in the drawer on a charger. It turns off the display, turns on WiFi, turns off Bluetooth.


I already tried putting Ubuntu on the Nexus 7 in February, when it was first announced. It did not work well enough to keep.
See the [[Tasker]] page too.


Ubuntu is trying to build interest in an Ubuntu tablet. One of the main reasons to install Ubuntu on a Nexus is to be able to preview what a Ubuntu Tablet will be like.
== GPS ==


[https://wiki.ubuntu.com/Touch/Install Ubuntu Tablet Install]
The GPS in this phone sucks (hardware defect? no idea but it always takes 20 minutes to first fix. Never stores the almanac?)
so I use it with bluetooth GPS.


sudo add-apt-repository ppa:phablet-team/tools
I use "Bluetooth GPS" app, and I turn OFF "location" in settings so that the internal GPS is powered down.
sudo apt-get update
sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot
sudo apt-get upgrade


'''Make a backup'''
Some apps cannot use "mock GPS" for location, whenever I find one I just remove it.


adb backup -apk -shared -all
I like Backcountry Navigator and DigitalHUD.


Download and save a copy of the stock image from Google.
== Hardware ==


https://developers.google.com/android/nexus/images#yakju
http://www.gsmarena.com/samsung_galaxy_nexus_i9250-4219.php


Follow the unlock procedure
* Codename: Maguro
* TI OMAP 4460 CPU 1.2 GHz dual core
* 1GB RAM
* 16GB flash
* 5MP camera
* Mini SIM card
* Bands: GSM 850 / 900 / 1800 / 1900
* GSM / HSPA+ -- works with T-Mobile and AT&T


'''fastboot oem unlock'''
== History ==


'''adb devices'''
* 2016-May-26 Installed CM12 from a nightly, works GREAT.
List of devices attached
* 2015-May-23 I am upgrading with the "5/17 nightly" today while sitting outside Whole Foods Market.
014E23850C018018 device
* 2014-Dec-23 CyanogenMod 11 (aka Kitkat) broke down and installed Google Apps package too
* 2013-Sept-07 Tried Ubuntu Touch on the phone. Tried it back in June on the [[Nexus 7]]
* Used to have Android 4.3 on it


'''phablet-flash cdimage-touch -b'''
== Why I am not fond of the stock Android set up ==
<pre>
INFO:phablet-flash:Device detected as maguro
INFO:phablet-flash:Download directory set to /home/bwilson/Desktop/phablet-flash/ubuntu-touch/20130905.1
INFO:phablet-flash:Download directory set to /home/bwilson/Desktop/phablet-flash/ubuntu-touch/20130905.1
INFO:urllib3.connectionpool:Starting new HTTP connection (1): cdimage.ubuntu.com
INFO:phablet-flash:Download not required
INFO:phablet-flash:Restarting device... wait
INFO:phablet-flash:Restarting device... wait complete
WARNING:phablet-flash:Device needs to be unlocked for the following to work
INFO:phablet-flash:Flashing system to /home/bwilson/Desktop/phablet-flash/ubuntu-touch/20130905.1/saucy-preinstalled-system-armel+maguro.img
< waiting for device >
erasing 'system'...
OKAY [  0.235s]
sending 'system' (60695 KB)...
OKAY [  6.882s]
writing 'system'...
OKAY [ 12.267s]
finished. total time: 19.384s
INFO:phablet-flash:Flashing boot to /home/bwilson/Desktop/phablet-flash/ubuntu-touch/20130905.1/saucy-preinstalled-boot-armhf+maguro.img
sending 'boot' (6656 KB)...
OKAY [  0.786s]
writing 'boot'...
OKAY [  0.561s]
finished. total time: 1.348s
INFO:phablet-flash:Flashing recovery to /home/bwilson/Desktop/phablet-flash/ubuntu-touch/20130905.1/saucy-preinstalled-recovery-armel+maguro.img
sending 'recovery' (6660 KB)...
OKAY [  0.780s]
writing 'recovery'...
OKAY [  0.719s]
finished. total time: 1.499s
INFO:phablet-flash:Booting /home/bwilson/Desktop/phablet-flash/ubuntu-touch/20130905.1/saucy-preinstalled-recovery-armel+maguro.img
downloading 'boot.img'...
OKAY [  0.776s]
booting...
OKAY [  0.405s]
finished. total time: 1.181s
INFO:phablet-flash:Clearing /data and /cache
INFO:phablet-flash:Pushing /home/bwilson/Desktop/phablet-flash/ubuntu-touch/20130905.1/saucy-preinstalled-touch-armhf.zip to /sdcard/autodeploy.zip
5763 KB/s (376615989 bytes in 63.815s)
INFO:phablet-flash:Deploying Ubuntu
INFO:phablet-flash:Restarting device... wait
INFO:phablet-flash:Restarting device... wait complete
INFO:phablet-flash:Once completed the device should reboot into Ubuntu
</pre>


=== Is Ubuntu Touch ready to use now?? ===
I have had it long enough to realize


07-Sep-13 It does appear to work. I don't have a SIM in the phone right now, so I can't try making calls yet.
# I want control over the phone. I don't feel like I own it.
# I would like to be able to use the GPS without Google tracking me.
# I have lots of Linux knowledge I would like to be able to use


I need applications. Specifically I want a good GPS app.
I wrote about trying Ubuntu Touch on both the [[Nexus 7]] and this phone. I deleted the notes on how to install it from this page because it was taking up space uselessly. :-)


What is included
What is included with Ubuntu Touch (in Sept 2013)


* Gallery
* Gallery
Line 159: Line 88:
* Weather app  
* Weather app  


Those are the apps. But seeing as it's running Linux I should be able to port programs to it, right?
Those are the apps. I am not currently interested in
What does that take???
becoming on an [[Ubuntu Touch]] developer.
 
== CyanogenMod ==
 
http://cyanogenmod.org/
 
=== 2016-Oct-13 BLE works in this build ===
 
[[file:screenshot_20161013.png|Screenshot from phone]]
 
=== 2016-Oct-16 ===
 
I am marching through the May instructions to install CM13.
 
=== 2016-May-27 ===
 
Used Mac to install. Run adb inside Parallels/Mint MPLab machine.
 
Remember to enable Developer Mode on the phone and then turn on debug via ADB.
 
Do a backup. You are copying 2GB, so '''this takes ''forever''! Be prepared to do something else. Read, watch a movie...'''
> adb backup -apk -shared -all -f galaxy_backup.ab
 
Download the image and the google junk from the 'net.
 
I am using the [http://opengapps.org OpenGAPPS] '''pico''' version. Even the '''nano''' version
overloads me with Google extras. All I want is the "play" store.
 
Either do the download on the phone before you shut it down or
use a desktop and then transfer the '''zip''' files to the phone. Don't unpack the zips.
'''NOTE You can use adb when in recovery mode.'''
 
adb push ''filename'' /sdcard/0/Download
 
Start with your battery charged.
 
Reboot the phone. Power off then Volume Up + Volume Down + Power
 
Use up down buttons to select '''Recovery Mode'''
 
Do a "Wipe data/factory reset" No really, you did a backup anyway right?
 
Go to mounts... and format /system
 
Go to advanced and wipe dalvik cache


They obviously need apps so it's time put on the [[Ubuntu Touch]] developer hat.
do Install zip and select the cm*zip file.


== CyanogenMod ==
Select 'install zip' and install the cm file; this takes maybe 2 minutes.


23-Dec-2014
Flash the GAPPS file the same way.


Still tired of having Google control my phone.
Reboot. Good luck. Be brave when you see the words ''THIS CANNOT BE UNDONE''.
Have your Google and Cyanogenmod passwords ready.


I should see if Ubuntu Touch is still even out there. Today it's going to be CyanogenMod because
More help at http://www.droidviews.com/guideunlock-bootloader-root-install-cwm-custom-roms-on-galaxy-nexus-i9250/
I have already got it on the Nexus 7 and it's fine.


Make a backup with ADB -- remember to install Android SDK and platform-tools and to allow debug from USB on the phone
===2014-Dec-23===


~/Library/android/platform-tools/adb backup -apk -shared -all -f galaxy_backup.ab
Still tired of having Google control my phone. I gave up and put Google Apps on about 3 hours after installing CyanogenMod


Then unpack the backup to confirm it's actually usable
Make a backup with ADB -- remember to install Android SDK and platform-tools and to allow debug from USB on the phone
Unpack the backup to confirm it's actually usable


  java -jar ./abe.jar unpack galaxy_backup.ab galaxy_backup.tar
  java -jar ./abe.jar unpack galaxy_backup.ab galaxy_backup.tar

Latest revision as of 23:23, 3 February 2024

The phone code named Maguro. See also Nexus 7. Maguro is a sushi dish made from tuna.

  • CM14 = 7.x Nougat - not even close to usable yet (Oct 2016)
  • CM13 = 6.x Marshmallow You are here, Brian.
  • CM12 = 5.1.x Lollipop
  • CM11 = 4.4.4 KitKat

Cyanogen for now

The LineageOS people are still at 13.0 for this phone so I still have CM 13 loaded on it.

Back to the Galaxy

After trying an LG Viper phone from Sparrow, I reactivated the Galaxy using Ting. This is just a better phone, and I can put CyanogenMod on it so that I get (relatively) recent Android versions to play with.

Current project: Profiles via NFC cards

Currently I am using Trigger because it works for me and it was easy.

When I pop my phone into its handlebar holder, an NFC tag triggers the phone to go into bicycle mode, setting up the display, turning off WiFi, turning on bluetooth, and launching the Bluetooth GPS app so that I can see when I have good position data. Then I can start DigitalHUD.

When I get off my bike I tap an NFC card on my keychain and the phone goes into "pocket" mode, switching to vibrate instead of ring, changing display settings, and turning off WiFi and bluetooth.

When I get in my car, I put the phone in a dock. An NFC tag in the dock tells the phone to turn off WiFi, turn on Bluetooth and connect to the stereo as an audio and media device, turn off vibrate, and launch Overdrive (we listen to audiobooks in the car.)

When I get home, I put my phone in the drawer on a charger. It turns off the display, turns on WiFi, turns off Bluetooth.

See the Tasker page too.

GPS

The GPS in this phone sucks (hardware defect? no idea but it always takes 20 minutes to first fix. Never stores the almanac?) so I use it with bluetooth GPS.

I use "Bluetooth GPS" app, and I turn OFF "location" in settings so that the internal GPS is powered down.

Some apps cannot use "mock GPS" for location, whenever I find one I just remove it.

I like Backcountry Navigator and DigitalHUD.

Hardware

http://www.gsmarena.com/samsung_galaxy_nexus_i9250-4219.php

  • Codename: Maguro
  • TI OMAP 4460 CPU 1.2 GHz dual core
  • 1GB RAM
  • 16GB flash
  • 5MP camera
  • Mini SIM card
  • Bands: GSM 850 / 900 / 1800 / 1900
  • GSM / HSPA+ -- works with T-Mobile and AT&T

History

  • 2016-May-26 Installed CM12 from a nightly, works GREAT.
  • 2015-May-23 I am upgrading with the "5/17 nightly" today while sitting outside Whole Foods Market.
  • 2014-Dec-23 CyanogenMod 11 (aka Kitkat) broke down and installed Google Apps package too
  • 2013-Sept-07 Tried Ubuntu Touch on the phone. Tried it back in June on the Nexus 7
  • Used to have Android 4.3 on it

Why I am not fond of the stock Android set up

I have had it long enough to realize

  1. I want control over the phone. I don't feel like I own it.
  2. I would like to be able to use the GPS without Google tracking me.
  3. I have lots of Linux knowledge I would like to be able to use

I wrote about trying Ubuntu Touch on both the Nexus 7 and this phone. I deleted the notes on how to install it from this page because it was taking up space uselessly. :-)

What is included with Ubuntu Touch (in Sept 2013)

  • Gallery
  • Phone (Dialer, SMS, Address Book)
  • Camera
  • Browser
  • Media Player
  • Notepad
  • Music app
  • Calculator
  • Weather app

Those are the apps. I am not currently interested in becoming on an Ubuntu Touch developer.

CyanogenMod

http://cyanogenmod.org/

2016-Oct-13 BLE works in this build

Screenshot from phone

2016-Oct-16

I am marching through the May instructions to install CM13.

2016-May-27

Used Mac to install. Run adb inside Parallels/Mint MPLab machine.

Remember to enable Developer Mode on the phone and then turn on debug via ADB.

Do a backup. You are copying 2GB, so this takes forever! Be prepared to do something else. Read, watch a movie...

> adb backup -apk -shared -all -f galaxy_backup.ab

Download the image and the google junk from the 'net.

I am using the OpenGAPPS pico version. Even the nano version overloads me with Google extras. All I want is the "play" store.

Either do the download on the phone before you shut it down or use a desktop and then transfer the zip files to the phone. Don't unpack the zips. NOTE You can use adb when in recovery mode.

adb push filename /sdcard/0/Download

Start with your battery charged.

Reboot the phone. Power off then Volume Up + Volume Down + Power

Use up down buttons to select Recovery Mode

Do a "Wipe data/factory reset" No really, you did a backup anyway right?

Go to mounts... and format /system

Go to advanced and wipe dalvik cache

do Install zip and select the cm*zip file.

Select 'install zip' and install the cm file; this takes maybe 2 minutes.

Flash the GAPPS file the same way.

Reboot. Good luck. Be brave when you see the words THIS CANNOT BE UNDONE. Have your Google and Cyanogenmod passwords ready.

More help at http://www.droidviews.com/guideunlock-bootloader-root-install-cwm-custom-roms-on-galaxy-nexus-i9250/

2014-Dec-23

Still tired of having Google control my phone. I gave up and put Google Apps on about 3 hours after installing CyanogenMod

Make a backup with ADB -- remember to install Android SDK and platform-tools and to allow debug from USB on the phone Unpack the backup to confirm it's actually usable

java -jar ./abe.jar unpack galaxy_backup.ab galaxy_backup.tar
tar tvf galaxy_backup.tar

Now that I am confident that I can repair the damage done, or at least I can look at the files that used to on the phone, I can go ahead with CyanogenMod installer.