Optional instructions: Adding repositories to your i927 as a Debian “Chatter” Phone

I have adapted some work that I did a while back on the Samsung Captivate Glide (i927), the official post, etc, can be found here: http://forum.xda-developers.com/captivate-glide/general/samsung-captivate-glide-debian-chatter-t3233807

I also made a post about this earlier, which you can read here:

So, if you read the post the other day, and downloaded and turned your i927 into a Debian Linux computer, you probably want to know how you can add the Debian repositories to your sdcard, since it is difficult to connect to the internet. These instructions are optional, but highly recommended….

If you want to, head over to the Debian Jessie download page and download the arm version of the DVD’s 1 and/or 2. In this post I describe how you can rip these cd’s to set up a personal repository, one that you can strictly control all of the packages, which may be useful at this time.

Here are the links for the DVD’s:

[url]http://cdimage.debian.org/debian-cd/8.2.0/armhf/iso-dvd/debian-8.2.0-armhf-DVD-1.iso[/url]
[url]http://cdimage.debian.org/debian-cd/8.2.0/armhf/iso-dvd/debian-update-8.2.0-armhf-DVD-1.iso[/url]

Then, on your computer:

[CODE]~$ cd {to your download directory}
~$ mkdir disk1
~$ mkdir disk2
~$ sudo mount ./debian-8.2.0-armhf-DVD-1.iso ./disk1
~$ sudo mount ./debian-update-8.2.0-armhf-DVD-1.iso ./disk2
~$ mkdir repo1
~$ mkdir repo2
~$ cd disk1
~$ find . -name *deb -exec mv ‘{}’ ../repo1/ \;
~$ cd ..
~$ cd disk2
~$ find . -name *deb -exec mv ‘{}’ ../repo2/ \;
~$ cd ..
~$ sudo umount ./disk1
~$ sudo umount ./disk2
~$ rmdir ./disk1
~$ rmdir ./disk2
~$ cd repo1
~$ sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
~$ cd ..
~$ cd repo2
~$ sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
~$ cd ..[/CODE]

Now you can copy these files to your external sdcard, mount it on your Debian Linux i927, and add these custom repositories to your /etc/apt/sources.list.

Now that we have all the information of what we did to the i927, we can turn our focus on how to do this for other Android devices.

Linux – keep it simple.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s