Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,173 Members 40,674 Now Online
XDA Developers Android and Mobile Development Forum

Mount Transformer to Linux Mint - automated.

Tip us?
 
rootblock
Old
(Last edited by rootblock; 30th June 2011 at 06:26 AM.)
#1  
rootblock's Avatar
Member - OP
Thanks Meter 13
Posts: 50
Join Date: Jun 2010
Default Mount Transformer to Linux Mint - automated.

Hey TF owners,

For anyone looking for a way to mount their Transformer to Linux Mint, I wrote a script to automate the process of configuring your machine to allow you to browse/modify files on the tablet's SSD. This will probably also work on Ubuntu, but I have only so far tested it on Linux Mint.

Download the attached file, and run it.

Edit: Connect your Transformer to your PC before running.
Edit 2: You only need to run this script once - not every time you connect the tablet to your PC.

Hit the thanks button/comment if this worked for you. If not, also comment and I/someone will probably help you out. Also, if anyone tests it on Ubuntu successfully, be sure to comment and let people know.

Note: All configuration files are backed up in the script before changes are made. You can always revert safely.

I'll throw in the ever so popular "use at your own risk" for safe measure.

Cheers.

June 29: Updated script uploaded.
-Cleaner
-Removes an unnecessary comment pushed into fstab in the previous script
-Already executable. Just run it. [Thanks MagnusRagnarok for the idea]
-Packed in 7z from Linux Mint this time as opposed to in zip format from the TF, for [hopefully] universal accessibility.
-md5sum 615f2bfa820ee9ac8ea2c967149a2f03 TransformerMount2.7z
Attached Files
File Type: 7z TransformerMount2.7z - [Click for QR Code] (1.0 KB, 3530 views)
LG Optimus 2x | 2.2
Asus Transformer | 4.03 | 16GB
Nexus 7 | 4.1.1 | 16GB
Skate Dice for Android | free | https://market.android.com/details?i...ock.skatedice2
The Following 8 Users Say Thank You to rootblock For This Useful Post: [ Click to Expand ]
 
0lddirtypaki
Old
#2  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Apr 2010
ok so maybe a stupid question, but does my tf need to be rooted to try this? also if you can create an automated script to install a linux distro you think it would be possible for you to create a script to root?? btw any idea on what actually works? can the tegra 2 run with compiz??
 
Budadank
Old
#3  
Senior Member
Thanks Meter 11
Posts: 171
Join Date: Jul 2006
Quote:
Originally Posted by 0lddirtypaki View Post
ok so maybe a stupid question, but does my tf need to be rooted to try this? also if you can create an automated script to install a linux distro you think it would be possible for you to create a script to root?? btw any idea on what actually works? can the tegra 2 run with compiz??
I thin you've misunderstood the intention of the OP.

It was to be able to mount your Transformer under Linux and be able to read/write the files stored on the Transformer's internal storage. Not to actually install a full blown Linux Distro on your Transformer.
The Following User Says Thank You to Budadank For This Useful Post: [ Click to Expand ]
 
Cronoadvan
Old
#4  
Junior Member
Thanks Meter 0
Posts: 17
Join Date: Feb 2010
Wow, talk about reading before posting.

Sent from my Transformer TF101 using XDA Premium App
 
ayerman3
Old
#5  
Member
Thanks Meter 4
Posts: 52
Join Date: Mar 2011
Location: New York
Default only on linux mint--

does it work on ubuntu?
 
bodger_uk
Old
#6  
Junior Member
Thanks Meter 0
Posts: 10
Join Date: Jul 2010
Yes, this works perfectly on ubuntu
 
3DSammy
Old
#7  
Senior Member
Thanks Meter 301
Posts: 675
Join Date: May 2011
Location: Toronto
I have a problem extracting the zip file with Ubuntu 10.10
Do I need an alternate unzip program? If so please specify. I do not run MS products.

Error:
7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30
p7zip Version 9.04 (locale=en_CA.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)

Processing archive: /tmp/TransformerMount.zip

Extracting TransformerMount.bash Unsupported Method

Sub items Errors: 1
 
rootblock
Old
#8  
rootblock's Avatar
Member - OP
Thanks Meter 13
Posts: 50
Join Date: Jun 2010
I can extract it with 7zip on Windows on the work computer, and with both Explorer and AndroZip on the TF without issue.

Sent from my Milestone using XDA App
LG Optimus 2x | 2.2
Asus Transformer | 4.03 | 16GB
Nexus 7 | 4.1.1 | 16GB
Skate Dice for Android | free | https://market.android.com/details?i...ock.skatedice2
 
ku4tp
Old
(Last edited by ku4tp; 28th June 2011 at 11:27 PM.) Reason: new info
#9  
Junior Member
Thanks Meter 2
Posts: 10
Join Date: Nov 2009
Default Acer Mod of the script

I'm trying to edit the file for use with an Acer Iconia. So far everything works but the modifying of the android.rules file. You see, it doesn't exist on my laptop (mint 11) in the directory the script looks at nor is there an android.rules file in lib/udev/rules.d. While I could probably write a rules file and make it work, I'd like to know where it comes from and maybe discover why it does not exist on my system. Anyone have any ideas? Also - rootblock - if I can get this to work would you object to my posting it in the Iconia forum? Thanks!

UPDATE:
Creating the file worked fine. Any reason to edit the script to check if the file exists and create it if it doe not or am I the exception to the rule? i.e. Would most users have it there in the first place?
 
Tortel1210
Old
#10  
Retired Recognized Developer
Thanks Meter 295
Posts: 173
Join Date: Dec 2010
Quote:
Originally Posted by 3DSammy View Post
I have a problem extracting the zip file with Ubuntu 10.10
Do I need an alternate unzip program? If so please specify. I do not run MS products.

Error:
7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30
p7zip Version 9.04 (locale=en_CA.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)

Processing archive: /tmp/TransformerMount.zip

Extracting TransformerMount.bash Unsupported Method

Sub items Errors: 1
Probably a bad download. And you could also try file-roller to open it (I think its installed by default, it is on Debian/Gentoo)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes