Installing Linux on a PC Using Inspire - HTC Inspire 4G

Ok, so I know that this phone can be used as a USB drive. I'm trying to install Linux on my computer, but I don't have a CD or USB drive available other than my phone. Would it be possible to install Linux using my phone?
Thanks

You would need to figure out a way for the computer to read the phones SD card as an ISO which can be done on a standard SD card using Unetbootin or something similar. However if you put it into the phone the phone itself may not see it as a usable drive and want to format it.

+1 for Unetbootin, it makes the drive bootable. However older versions would format the drive first... I think the newer versions don't, but don't hold me to that. Also it installs to the root directory of the drive so it would suck to remove it later.

No CD drive? Are you using a "slim" laptop?
If you have a floppy drive, you could do the "oooold school" install with 40+ floppies, ha ha ha.
If you have access to a second PC, couldn't you network 'em via an ethernet cross-over cable (or hub) and install over the network?

I'm gonna recommend going and buying a $10 thumb drive.
Then, as long as you're running Linux anyway, I'm gonna shamelessly plug Fuduntu.

ST3ALTHPSYCH0 said:
Then, as long as you're running Linux anyway, I'm gonna shamelessly plug Fuduntu.
Click to expand...
Click to collapse
What ever happened to RedHat? Is it still around these days?

At risk of total thread derailment:
Red Hat still sponsors the community development of Fedora and actively deveopes and supports RHEL (RedHat Enterprise Linux).
Fuduntu is a Fedora spin, for which I'm a dev (very junior though I may be).

zuriken said:
What ever happened to RedHat? Is it still around these days?
Click to expand...
Click to collapse
Its still around- a popular distro of it is fedora- it just seems most people, especially working with android go debian based instead of anything else like rpm(redhat)
Edit- and I should have refreshed the page before I responded.

di11igaf said:
Its still around- a popular distro of it is fedora- it just seems most people, especially working with android go debian based instead of anything else like rpm(redhat)
Edit- and I should have refreshed the page before I responded.
Click to expand...
Click to collapse
Fedora 14 user here.

Returning to the original idea
Well, maybe you could format your card with one of the tools Linux provides to create bootable USB drives.
The problem starts when you turn on your computer to boot from the drive, as you would have to force your phone to USB drive mode and I'm not sure if the detection process will be fast enough so the PC catches the phone as a pen drive.
However, if you have no other choice at the moment (when I formatted a netbook I preffered to buy a 8GB pendrive and forget about any other trouble) you might give it a try. If it works please post back...

Related

[Idea] Android Dev system on USB Stick

As I installed rosie over the weekend I needed to put an ext2 partition on my card so used Gparted from a USB Stick. This got me thinking. I have seen people post in threads so often that they cant do ceratin mods at the moment as they are at work and dont have ADB. So I wondered if it were possible to have a usb booting version on Linux with the SDK installed and ADB setup that people could take anywhere with them and use on any available PC.
I have no idea how this would be implemented, just putting it out there for the more skilled amongst us.
I've been doing this using a "puppy linux live usb". I'm still fairly new to linux but shell and gparted work great. The whole linux is only ~100mb and doesn't modify the pc it's used on at all(tho you must be able to boot from usb). Good for those of us still learning linux. Don't know if this is what you were talking about exactly but hope it helps.
Puppy
Yup, Puppy is a cute and elegant solution - works out of the box!
Great thing. Works out of a usb no problem - just have to have a boot loader on the stick. Can recommend grub (easiest) or syslinux (can install on the usb out of xp)
Baldyman1966 said:
As I installed rosie over the weekend I needed to put an ext2 partition on my card so used Gparted from a USB Stick. This got me thinking. I have seen people post in threads so often that they cant do ceratin mods at the moment as they are at work and dont have ADB. So I wondered if it were possible to have a usb booting version on Linux with the SDK installed and ADB setup that people could take anywhere with them and use on any available PC.
I have no idea how this would be implemented, just putting it out there for the more skilled amongst us.
Click to expand...
Click to collapse
yeah i have a 4gig running linux mint, including recognition for the phone when connected through usb, and full development platform, with working sdk... very handy when at work etc,
i was considering selling them on ebay but didnt think people would be intrested in such a thing
soulassasin101 said:
yeah i have a 4gig running linux mint, including recognition for the phone when connected through usb, and full development platform, with working sdk... very handy when at work etc,
Click to expand...
Click to collapse
Would you be able to provide an image that others could use?
Baldyman1966 said:
Would you be able to provide an image that others could use?
Click to expand...
Click to collapse
dunno mate its got a 3gig casper file so i can save to it and have plenty of room for saving what i need. if its possible to make an image of the whole thing then im sure i can upload it to a torrent site or something
Baldyman1966 said:
As I installed rosie over the weekend I needed to put an ext2 partition on my card so used Gparted from a USB Stick. This got me thinking. I have seen people post in threads so often that they cant do ceratin mods at the moment as they are at work and dont have ADB. So I wondered if it were possible to have a usb booting version on Linux with the SDK installed and ADB setup that people could take anywhere with them and use on any available PC.
I have no idea how this would be implemented, just putting it out there for the more skilled amongst us.
Click to expand...
Click to collapse
This is actually a pretty good idea. Have eclipse, adb, everything and turn it into an .iso that would be sweet. Then Haykuro could work at school haha jk.
Hey why don't you guys use VirtualBox. It's free and it runs in windows. I use it all the time.
soulassasin101 said:
i was considering selling them on ebay but didnt think people would be intrested in such a thing
Click to expand...
Click to collapse
wouldnt that violate terms and conditions of the sdk and whatever distro you use? legally all you would be able to charge for would be the cost of the flash drive, or Google might hunt you down. lol
yeah it is illegal to sell the software... id be selling my time, it did take two hours to set up and it would only be for the udb stick and my time, as i said im happy to contribute and upload if possible for free
Usually linux distros are re-distributable, but check the license.
The Android SDK license, OTOH, specifically prohibits you to "distribute any software or device incorporating a part of the SDK" regardless of whether you charge for it or not. That is, just charging for your time/materials would still go against the SDK license if the SDK was packaged in some sort of distribution.
I'll try to do this either with or without the sdk and if that is the case then add a tutorial on how to add it yourself so we don't break the laws
My first question is what linux distro would you like? I normally would use Ubuntu.
courious about linux.
Rafase282 said:
I'll try to do this either with or without the sdk and if that is the case then add a tutorial on how to add it yourself so we don't break the laws
My first question is what linux distro would you like? I normally would use Ubuntu.
Click to expand...
Click to collapse
I would be interested to learn how considering my noob status........ I figure it would make modding my g1 a whole lot easir. Pm me or jus post to this thread. And I will use witch ever people think is the best because I have never used it.
I started with Ubuntu 9.04 since puppy can be installed on a usb from the live cd and should be faster and a matter of just installing the sdk and eclipse.
I have in mind to install gparted, eclipse, irc, and other programs. Any suggestion or help? let me know.
Okay first attepmt failed. Ubuntu didnt start the X, I may try to do it manually this time instead.
Okay I already have the Ubuntu 9.04 updated and with some softwared installed like banshee, lastfm, currently setting up and installing the sdk. But for this part is where I need help since I didnt use the emulator or anythign but the adb commnds.
you can do it with a 4-8GB USB2.0 and SLAX linux distro http://www.slax.org/
you can add modules, including gparted, then just copy your files to the USB
malaeus said:
you can do it with a 4-8GB USB2.0 and SLAX linux distro http://www.slax.org/
you can add modules, including gparted, then just copy your files to the USB
Click to expand...
Click to collapse
I tried with this one but I can never get on internet wireless, I just dont know how to. For me is easier using gnome but kde I never get used to and for me configuration is just harder on it but i'll try.
ah, i dont normally use the net when i use slax. its mainly for fixing my phone, and ill have all my files needed on the stick. including my past nandroid backups.
also, i gotta find that thread, but i read a rumour of one of the dev's working on a way to reflash your nandroid backups from the recovery screen on the g1, which would be nice. kinda off topic, nice nontheless.

anyway to work on/crack the iso

this popped up earlier for me
http://www.youtube.com/watch?v=9M6MwNto3MQ
seems pretty neat but their are a few major things thatd i love to see fixed or somehowfixed.
first mouse support and internet working which would then allow apps hopefully.
and then since its a live cd whenever youd reboot the pc or restart all the info wouldnt be saved. any way for this aswell?
just would like this livedroid stuff to evolve like the andriod device has
seems kind of cool but........... this is what the emulator is for in the android SDK.
well i hope that this will eventually lead or get 1 step closer to dualbooting android, say windows/android id really like, especially with access to droid apps
have you seen what ubuntu is working on? a modified kernel to run android apps along side of regular linux. imagine a 10 inch netbook running ubuntu mobile that also runs the same apps as your phone. pretty slick. I think i remember finding it via hackaday.com but i'm sure some googleing will turn it up
I'd love android as a main distro, they need to make it easier to compile C/C++ apps though, currently wrapping them in java slows development in my opinion.
The wrapper for ubuntu looks good but i wouldn't really try it, that's just me though
well im just really trying to figure out some way to get android onto my laptop, either with flashdrive or dual booting. Id love to have windows as one and then android as the other if I had access to the internet and app store, because if im traveling some of the android apps would be very useful and they are alot easier to access and find then searching google with windows.
so any chance of this?
Here you go
http://en.sourceforge.jp/projects/livedroid/downloads/40887/livedroid_alpha.iso/
Created by Japanese developers, a bootable iso image (Live CD) of android for your computer.
Here's a translation of their webpage:
http://translate.google.com/translate?prev=hp&hl=en&js=n&u=http%3A%2F%2Fsourceforge.jp%2Fforum%2Fforum.php%3Fforum_id%3D19230&sl=ja&tl=en&history_state0=
You should be able to open the iso with any iso program such as PowerISO, or Magic ISO, etc, then repack the iso with the same program (I was able to do it in Power ISO) Shouldn't be as difficult as opening a *.img
thanks for the links but thats the same thing I posted in topic. is their anyway to put this onto a USB and have the USB bootable?
I would deff use this IF
-it had internet working
-could save the data (maybe stored onto a flash drive or turned into an actual dual boot along windows etc...)
-and with the internet working I could download apps from market place, If I could dl apps id actually use this sometimes because some of the apps would be very very useful in public with Inet access such as where, or the information apps and itd just be plain fun
so any chance of these coming?
anyone thinking of messing with this?
samrozzi said:
thanks for the links but thats the same thing I posted in topic. is their anyway to put this onto a USB and have the USB bootable?
Click to expand...
Click to collapse
Have you tried googling it? Something along the lines of "how to create a bootable usb drive linux"
Here's one I found that seems to be the most user friendly, I can't verify if it works or not with this android build (although it should.)
http://tombuntu.com/index.php/2008/08/27/create-a-bootable-usb-drive-or-memory-card/
Why not just use a virtual machine, mounting the ISO?
It is not easy to modify android to support many wifi- or lan-devices..
v6tc said:
Why not just use a virtual machine, mounting the ISO?
Click to expand...
Click to collapse
Because this is like when you're installing a fresh version of windows, or restoring.
You need the CD in the cd drive, then restart (as in shut down and start up)
But before it even starts loading windows, it loads the cd instead.
I think some computers can load from a USB drive, check your computer's BIOS
igloo77055 said:
Because this is like when you're installing a fresh version of windows, or restoring.
You need the CD in the cd drive, then restart (as in shut down and start up)
But before it even starts loading windows, it loads the cd instead.
I think some computers can load from a USB drive, check your computer's BIOS
Click to expand...
Click to collapse
That doesn't really answer his question, does it?
I think you could easily mount the iso in e.g. VirtualBox/VMWare and start it virtualized. They seem to have included a standard linux kernel with enough modules
rb2k said:
That doesn't really answer his question, does it?
I think you could easily mount the iso in e.g. VirtualBox/VMWare and start it virtualized. They seem to have included a standard linux kernel with enough modules
Click to expand...
Click to collapse
Sorry, I guess I really didn't know what he was talking about =X
But yeah you are right... hmm that should work, although I've never worked with
a VirtualBox
And in virtualbox.. You could use the "freezing"-function to freeze the state ;-) Only thing to fix is wlan/lan.
Wlan should be easier - the driver is named wlan.ko.
You need to compile a driver.
After playing around with it a bit, it's really only a novelty..
I'm running it on Virtual box.. and it seems rather pointless other then for "demonstrating android." The applications that come on it are, for the most part, inopperable and force close left and right. It doesn't seem like it has any practical use, because the available system memory is stuck at 14mb.
However, if this was developed into an installer, not just a live cd, then I could see it having a lot of potential. once you could utilize system resources it would be worth looking into developing drivers for.
For now it would be impractical and maybe impossible to establish a network connection.

Any linux (ubuntu) users with success?

Hi again guys!
Ever since the ATT update usb connecting to the phone in ubuntu is sporadic and unreliable. I can usually get my photos off of it. Sometime I can even get into a non-root basic filesystem as well
However this isn't my main problem. I want to root the phone and install custom ROM's etc... Tried the VMware and a version of windows and installed the samsung drivers to XP but have trouble (again) with the usb and VMware.
Any help would be appreciated.
Additionally I'm pretty pissed off about the update thing. I don't care about tethering per se but that underhanded **** is why I dumped microsoft in the first place. I'll dump ATT too and spend my money elsewhere.
maskvp said:
Hi again guys!
Ever since the ATT update usb connecting to the phone in ubuntu is sporadic and unreliable. I can usually get my photos off of it. Sometime I can even get into a non-root basic filesystem as well
However this isn't my main problem. I want to root the phone and install custom ROM's etc... Tried the VMware and a version of windows and installed the samsung drivers to XP but have trouble (again) with the usb and VMware.
Any help would be appreciated.
Additionally I'm pretty pissed off about the update thing. I don't care about tethering per se but that underhanded **** is why I dumped microsoft in the first place. I'll dump ATT too and spend my money elsewhere.
Click to expand...
Click to collapse
Linux user here. I haven't had the problems you describe. I have lately been using ES File Explorer to copy to and from a shared folder on my desktop. avoiding the USB for file transfers all together. when I do connect via USB I usually use ' adb push' and 'adb pull' to move files around.
To Root your phone there is an 'update.zip' method that I used (no computer needed)
There is also a tool called ClockworkMod Recovery that you can use to install custom rom's and create nandroid backups. (no computer needed)
And finally if you manage to screw up and can not boot, you can use Heimdall on linux like you would use Odin on Windows.
enjoy your phone...
-p
Thank-you so much!!!
I was thinking about exactly what you wrote. Why not do it the linux way? Admittedly my skills are weak.
Had a little trouble with the update.zip but went to the wiki (again) and the info on how to do it from the phone was there. BTW the wiki has improved since last week.
Rooted phone and installed Titanium Backup and Clockwork Recovery. In my excitement I deleted all the ATT bloatware before backing them up and the ROM. Oh well... Too bad.
Now I just feel great about my phone. Needs some customization but no hurry. Only thing was that TB prompted me to go to settings/applications/ and tick "unknown sources". Doesn't exist.
Thanks again! If you have anymore nuggets of info...?
linux newb here but i try
edit:
the phone can mount to a vm in dowload mode for use with odin or in kies mtp mode as long as debugging is off, otherwise it likes to mount to the host pc as a drive, i dont know a work around but you can make the phone a shared folder with the vm client so you can see the files in the vm, it'll be seen as a network location in that case.
it can mount as a drive in linux but you need to select to mount from the phone. i was having problems with it in eclair in windows and didnt try it in linux but froyo is working great. in eclair it may help to try with debugging on then you can mount from the notification bar.
maskvp said:
Rooted phone and installed Titanium Backup and Clockwork Recovery. In my excitement I deleted all the ATT bloatware before backing them up and the ROM. Oh well... Too bad.
Click to expand...
Click to collapse
I did that also...
maskvp said:
Now I just feel great about my phone. Needs some customization but no hurry. Only thing was that TB prompted me to go to settings/applications/ and tick "unknown sources". Doesn't exist.
Click to expand...
Click to collapse
To enable side loading(unknown sources). I used method 5 from this post.
http://forum.xda-developers.com/showthread.php?t=738376
and here is a link to my comments on the method later in the thread regarding some punctuation corrections.
This method uses adb from the SDK to pull the settings.db file off and edit it using sqlite3 before pushing it back on.
I believe you can edit the file directly on your phone once you have root and install a terminal app from the marketplace.
The above forum post is also in the wiki you referenced previously. basically you want to look for methods to "enable side loading"
-p
I'm using Ubuntu and have had no problems. Rooted and removed market restrictions without a hitch.
In progress upgrading to 10.10 64bit. Will see, but right now my machine sees my phone but it won't mount. Though I haven't tried to force it.
maskvp said:
In progress upgrading to 10.10 64bit. Will see, but right now my machine sees my phone but it won't mount. Though I haven't tried to force it.
Click to expand...
Click to collapse
On the phone I leave my usb settings set to ask on connection. And then chose 'mass storage' when it asks. It then mounts /sdcard as an external drive. (make sure you haven't left usb debuging on)
pietro_spina said:
On the phone I leave my usb settings set to ask on connection. And then chose 'mass storage' when it asks. It then mounts /sdcard as an external drive. (make sure you haven't left usb debuging on)
Click to expand...
Click to collapse
Oh I've tried it all-wichaways! That hasn't worked either. The card(s) are seen but no longer mount like they used to. When I choose media player I get this message on the phone: PC connection only available in idle screen. Close all running applications. I think something may be corrupted on the phone.
Before I start flashing anything I'm going to give 10.10 a go. Ubuntu specifies that 10.10 plays nice with Android. Unfortunately, I'm having trouble with my startup disks and have wasted three of them on three different downloads. Won't fully boot. Unfortunately, I've had this experience before with other releases, and it almost always was something being wrong with the .iso that was downloaded. Even tried a usb startup and same experience.
Woes. PITA!
maskvp said:
I've had this experience before with other releases, and it almost always was something being wrong with the .iso that was downloaded. Even tried a usb startup and same experience.
Woes. PITA!
Click to expand...
Click to collapse
Make sure you burn your disks at a slow speed. Like 4x. Also try downloading over a stable wired connection. Use the md5 tool to check your download and your burn. If you can figure out when it is getting corrupt you have a fighting chance.
Reporting back. Finally got 10.10 to boot from a usb flashdrive by disabling the BootParameters. I guess 10.10 is so cutting edge my 2.5 yo toshiba can't boot it easily.
Reinstalled 10.04 without a hitch and since I didn't format my /home still kept everything. But I tried connecting by usb before any updates. No worky. And not after the 256M of updates either.
It's the phone I'm sure. Not really keen on flashing the ROM yet just to fix this. Recollection is that Samsung didn't put a good effort into this part of the phone. But I think again..
Why not eschew the usb for file transfers? I've got Bluetooth and wifi right here. Who needs clunky old usb? Adhoc network?
Ideas? Wifi would be easiest since my laptop doesn't have Bluetooth.
maskvp said:
Ideas? Wifi would be easiest since my laptop doesn't have Bluetooth.
Click to expand...
Click to collapse
I think I mentioned in an earlier post that I use an app called ES File Explorer (free in the market) to navagate to a shared folder on my desktop.
My (samba) shared folder has no restrictions and works well. Only issue is I have to fix ownership and permissions on things copied over to the computer from the phone. If you choose to password protect yours let me know how that works out for you.
pietro_spina said:
I think I mentioned in an earlier post that I use an app called ES File Explorer (free in the market) to navagate to a shared folder on my desktop.
My (samba) shared folder has no restrictions and works well. Only issue is I have to fix ownership and permissions on things copied over to the computer from the phone. If you choose to password protect yours let me know how that works out for you.
Click to expand...
Click to collapse
OK thanks. I'm going to investigate this. I take it ESFE works over the 3g connection as long as the host (my laptop) is connected to the internet?
maskvp said:
OK thanks. I'm going to investigate this. I take it ESFE works over the 3g connection as long as the host (my laptop) is connected to the internet?
Click to expand...
Click to collapse
It supports FTP for sure. I'm no security expert but I doubt its a good idea to share a samba share over the internet.
If you want remote access to you desktop there are secure methods for that. The method I would choose would depend on my desire/need for a remote connection.
If I just want to access my shared folder I would probably set up a VPN connection and then use ES FileExplorer.
To fully control the computer, use VNC or other "remote desktop" application.
Been reading up on Samba. It is the linux way lol. Also, I went and got a Bluetooth micro-adapter. Installed drivers from the repository.
Transferred some pics and music back and forth. All GUI based. Worked first time. I'm still this side of the learning curve but my base needs are met.
The Bluetooth works great but I'd like to learn a bit more about the wifi. Seems to me one should be able to move files with a VPN via the wireless adapters and no router. I just lack the knowledge and skill to do it.
But thanks for reminding me about the ES FileExplorer! As far as the permissions in Ubuntu for the shared folder I just checked the box under right-click- sharing options allow others to create and delete files from this folder. I think that works.

HTC One S/IMac

Looking for some advice on using this IMac
http://www.everymac.com/systems/app...20-inch-aluminum-early-2008-penryn-specs.html
with the One S/S4
I know nothing about Apple stuff, but my laptop is about shot and my son may give me his old IMac above. May be temporary or permanent, not sure. I have hboot below .13, so don't need to do much other than copy my sdcard files back and forth. Haven't used adb/fastboot for awhile. Know I need to get drivers reinstalled and believe I can use adb/fastboot with it. I assume same SDK I have (R15 I believe), which I could copy from an Acronis BackUp to IMac--maybe? Just need to use different linux commands. He is Apple thru and thru--and a Software Engineer, so learning to use adb/fastboot with IMac may not be a big deal.
I have seen Apple users here and on my old N1 forums post for help on command lines, so assume this may be only issue--??
Just curious on any tips/pros/cons on doing this, as he is in opposite end of state and no need to bring it all that way when they come down for Christmas, if the IMacs are more difficult to work with on this phone.
Thanks for any advice--
Ken
it doesnt really matter whether you're using mac or windows, if you're trying to run adb.
i used mac and adb, and its great. =)
What about dual-booting Windows on it?
Sent from my HTC One S using Tapatalk 2
You can write/build android apps on the mac, but building kernels and especially android itself, I would use ubuntu in a virtual box.
If it is not maxed out on RAM (8G probably?) I would do that. It's not expensive and will help a lot when running a VM.
(I live in a macbook pro.)
usaff22 said:
What about dual-booting Windows on it?
Click to expand...
Click to collapse
The only reason to run windows would be to run a RUU.
You can download adb and fastboot for mac, and you will never have 'wrong drivers'.
Appreciate all responses--been reading and found the imac adb/fastboot files and sdk if i want it.
Did see commands for basic stuff not really different.
Thought about dual booting, not sure if i have a windows copy of my current OS--Vista. Could restore my whole acronis backup to it on that partition i make. Got the latest Acronis that says it can restore to any hard drive--maybe will test that--
I am interested to try the imac as my phone is not connecting well thru usb and would like to see if it is the laptop--
rugmankc said:
Could restore my whole acronis backup to it on that partition i make. Got the latest Acronis that says it can restore to any hard drive--maybe will test that
Click to expand...
Click to collapse
Don't think that would be a good idea best off doing a fresh install.
probably right--would like to try it with just the imac anyway
rugmankc said:
probably right--would like to try it with just the imac anyway
Click to expand...
Click to collapse
Good luck. Windows 7 not being too bad with change I think it have a better chance of working if the PC its from was Intel too. I have gone from Core Duo setup to a i5 setup without a format.
Like everyone been saying, you be fine. I have a macbook pro.. and use vmware fusion to do all my windows base apps.. but I've used virtualbox as well.. both do the job.. it is a little different but I think you will be fine.. Just make sure you have lots of ram on the iMac if your going to do a lot of windows apps.. since I use vmware fusion I use unity mode.. makes it look like i'm running windows apps on native osx.. its just windows os is "minimized" .. Have fun..
OK guys thanks--I will have my son bring it down for Christmas and give it a go. IMac for free=no brainer anyway--
[Cruzer] it has 2gb ram, what I have now--
I am not totally computer illiterate and son is pretty good--so i think this will work out fine for now. My space is limited so really need a laptop, but will see how this goes for now. Just had a 3800.00 transmission rebuild bill. So funds limited for a new laptop. Especially for one that I really want.
Appreciate all the inputs--will post how it goes--
Ken
i strongly suggest not to make it a dualboot.
mac runs on darwin which kinda a unix like based operating system.
if your goal is only using adb, you can just download the android-sdk.
they include an adb.
then use terminal to run adb.
terminal application is in your utilities applications.
its going to be a purely in command-line.
for example:
i downloaded android-sdk to my workspace in Documents folder.
adb is in platform-tools folder in the android-sdk.
run the adb command, it will shows the helps you need.
### copy paste from my terminal ###
ditto:~ ahartowo$ Documents/workspace/android-sdk/platform-tools/adb
Android Debug Bridge version 1.0.29
-d - directs command to the only connected USB device
returns an error if more than one USB device is present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is running.
-s <serial number> - directs command to the USB device or emulator with
the given serial number. Overrides ANDROID_SERIAL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
appreciate the input, probably won't dual boot--would like to try just the Imac OS, and go from there--
rugmankc said:
OK guys thanks--I will have my son bring it down for Christmas and give it a go. IMac for free=no brainer anyway--
[Cruzer] it has 2gb ram, what I have now--
I am not totally computer illiterate and son is pretty good--so i think this will work out fine for now. My space is limited so really need a laptop, but will see how this goes for now. Just had a 3800.00 transmission rebuild bill. So funds limited for a new laptop. Especially for one that I really want.
Appreciate all the inputs--will post how it goes--
Ken
Click to expand...
Click to collapse
Well the max stated by the page you linked states 4GB.. ram is cheap these days.
you can actually put 8GB in it. my imac is running 8GB. some says wants to upgrade to 16GB.
ahartowo said:
you can actually put 8GB in it. my imac is running 8GB. some says wants to upgrade to 16GB.
Click to expand...
Click to collapse
hit my thanks limit but--thanks
with my 3800.00 transmission bill will hold off on any extra spending, kinda why my son is giving me the imac for now--with laptop near end
if i keep it long term, i will increase ram
ok so i got sdk setup and put virtuous rom back on phone for htc options
downloaded htc sync, which i thought would have drivers
imac connects but says it can't access storage
usb debug is checked, fastboot unchecked
did some googling for just the drivers, no luck
did i miss something simple
windows just comes up and starts to look for drivers when phone plugged in--
i don't care to actually sync anything just access sdcard
rugmankc said:
ok so i got sdk setup and put virtuous rom back on phone for htc options
downloaded htc sync, which i thought would have drivers
imac connects but says it can't access storage
usb debug is checked, fastboot unchecked
did some googling for just the drivers, no luck
did i miss something simple
windows just comes up and starts to look for drivers when phone plugged in--
i don't care to actually sync anything just access sdcard
Click to expand...
Click to collapse
Can't think of the name of it but the SD is done a different way in that rom so it not mass storage any more so maybe that way don't work on mac.
had no luck on aosp
yeah it has some networking choices, not the original htc sync choice
seems like i just don't have drivers that i thought sync manager would install
not sure
guess i will wait till tomorrow and let my son look at it--he knows the macs, i don't
but like i said the sync mgr does connect to phone just no storage access
rugmankc said:
had no luck on aosp
yeah it has some networking choices, not the original htc sync choice
seems like i just don't have drivers that i thought sync manager would install
not sure
guess i will wait till tomorrow and let my son look at it--he knows the macs, i don't
but like i said the sync mgr does connect to phone just no storage access
Click to expand...
Click to collapse
Hmm that sounds odd but ya can't really help on the mac side of things.
ok guys, i am up and running on the imac--problem mainly imac inexperience--son got me set up with some training--
he was out late with buddies last nite, so on my own till he got up today
phone mounts fine
transfering stuff from phone and laptop to imac while sons and daughter-in-law went to see Hobbit
thanks for all the inputs and where appropriate--happy holidays
I actually have 4gb ram

My MicroSD card is starting to corrupt

My /Removable/MicroSD is starting to corrupt. I've been editing scripts on my MicroSD with ES note editor. It started today with files not overwriting other files with the same name, then progressed into edited files saved with corrupt or no data at all, then a few files disappeared, then a directory became corrupt and I could not see a file that ES told me I was overwriting with another file with the same name, and now I am loosing full directories. Is this a partition issue or is the whole card going/gone bad? The card is as factory shipped. I have never formatted or partitioned it.
I have unmounted and remounted the card. That allowed me to edit and save for a few hours. Then another corrupted file happened. I just took the card out and reinserted it as this fixed a similar problem I had a while ago but it only happened once and went away until now, so we'll see if it just wasn't seated properly. One of the 2 directories that disappeared came back after reinserting the card but the second is still missing. I had already backed up my scripts, and now I will back up the entire card to disk.
Does this sound like its going or gone South, or will pulling all the data off, formatting the card, and putting it all back on work to fix it? Is it safe to trust this card anymore or should I RMA it as it should still be under warranty? Its a Sandisk 64 SDXC and not "officially" compatible and was wondering about that as well. I've had it for about 6 mos. I had hoped by spending the little extra $ and picking a name brand it would be more reliable but I guess I got a bad one despite the on-average Sandisk quality. Any advice would be appreciated.
So far, I've only once suspected my microSD (as in yoru case a 64 GB Sandisk UHS-1 Class card) to have gone bad. (Re)formatted it with Gparted (was running data2sd at the time, kicked that out, too) and it has been going strong since without a single hitch.
I'd try and format it, doesn't hurt, only takes time, and it satisfies your tinkering needs at the same time.
MartyHulskemper said:
So far, I've only once suspected my microSD (as in yoru case a 64 GB Sandisk UHS-1 Class card) to have gone bad. (Re)formatted it with Gparted (was running data2sd at the time, kicked that out, too) and it has been going strong since without a single hitch.
I'd try and format it, doesn't hurt, only takes time, and it satisfies your tinkering needs at the same time.
Click to expand...
Click to collapse
Thanks for the reply. What is interesting and seems far-fetched to be coincidental is the corrupted directories are the directories that I am constantly editing and saving files to - My scripts dir and its sub-directories. Guess they mean it when they say flash was not designed to be constantly written to. I can't *believe* I have cycled it to its limit just editing scripts over a 6 mos span. I couldn't have saved files more than a couple thousand times if that.
Waterproof**, x-ray proof**, temperature proof**, shockproof**, but NOT write-proof**
Double directories? This is getting out of hand!
Well I am backing up my MicroSD now, and I just ran across two directories with the same name in the same folder? Two "Scripts". How is this possible? One had files, the other was blank? How can the OS allow this to happen? When it copied to Windows, a (1) was appended to the directory name of the second duplicate.
Just for S&G, I tried to copy a file from one into the other and Windows errored saying something like "device is busy or has been disconnected."
If I had files in both directories and I cd to that directory, which one would I get (trick question)? I believe the dups are only on Windows. I don't think the device actually sees both directories. At least it doesn't show them to me in ES. Bizarre corruption. That surely might explain why files in this directory were getting corrupted. Or maybe the corruption of the files was responsible for the double directories. Time for a format (and a beer) for sure.
Let this be a word to the wise:
So yes I am going to format this, but I wanted to play with this problem a bit and see what I could figure out. As I predicted, and made about my 5th backup just in case, here's what just happened.
1. When there were Script dir duplicates, I could copy from the one with files.
2. I deleted the one without files (predicting it may delete both, but it only deleted the blank one as intended but...)
3. The remaining Script dir could not be copied from, nor a new sub-directory created inside. File names could not be changed. Actually it did allow me to make a copy, but the target directory was blank.
4. Deleted the second Script directory. Now the B2R script is lost forever (no just kidding, I have 5 backups at least)
5. Copied one of my backup copies of Scripts back to the card
6. Now its fine (until I can format it), I can copy from it and create sub-dirs inside it, etc. But I will be working off another copy in Internal storage until I format this card.
7. So the lesson here is ALWAYS make a backup before something glitches out on you because it eventually will and you will need it, or choose to be SOL; life is full of choices. And if it has already glitched out on you, make a second backup of your critical files just in case something like this happens to you and you've made incremental changes. Without my backups I would be loosing about 3 months work in just this one folder alone. It contains every script I have ever written and a bunch of example scripts to learn from.
@_that to comment, but this is what I think happened: This must be some kind of corrupt FAT problem. Very similar to the recovery blob not being found by the bootloader issue from a recent post, but instead of a partition problem its a file allocation table problem, as they reside on the same partition in my case, quote _that below:
"I have a new theory about why this happens: partition tables mismatch. In other words: The location where the recovery writes the blob is not the same as where the bootloader expects it. Thus the bootloader ignores your blob."
It seems the empty directory was the directory the system thought the files were in. Once that directory was removed, the actual one (as the human perceives; as seen in ES) containing files no longer contained them, as far as the OS was concerned. So by deleting the one you effectively deleted the other because its impossible that can can coexist and both be functional. I thought something like this would happen and it did. Like I said earlier, its Miller time.
elfaure said:
7. So the lesson here is ALWAYS make a backup before something glitches out on you because it eventually will and you will need it, or choose to be SOL; life is full of choices. And if it has already glitched out on you, make a second backup of your critical files just in case something like this happens to you and you've made incremental changes.
Click to expand...
Click to collapse
Good advice. Always make one backup more than you think you need.
elfaure said:
This must be some kind of corrupt FAT problem.
Click to expand...
Click to collapse
Probably. ExFAT is a proprietary and patented Microsoft filesystem, and support for it in our TF700 is through a proprietary closed-source third-party kernel module that contains this licensed "technology".
You could try running chkdsk in Windows on the card to detect and fix filesystem errors.
_that said:
Good advice. Always make one backup more than you think you need.
Probably. ExFAT is a proprietary and patented Microsoft filesystem, and support for it in our TF700 is through a proprietary closed-source third-party kernel module that contains this licensed "technology".
You could try running chkdsk in Windows on the card to detect and fix filesystem errors.
Click to expand...
Click to collapse
Funny how they don't even support exFAT in XP without an extension. Maybe it was developed after XP was released. I would assume it is supported by default in W7 and above?
Question: Do you know what is the su password for the terminal app in GParted Live? Or is this limited to GNU staff use??
Do I "sudo gparted" or "sudo passwd root" and set a new password??
elfaure said:
Funny how they don't even support exFAT in XP without an extension. Maybe it was developed after XP was released. I would assume it is supported by default in W7 and above?
Click to expand...
Click to collapse
Good guess. See http://en.wikipedia.org/wiki/ExFAT
elfaure said:
Question: Do you know what is the su password for the terminal app in GParted Live? Or is this limited to GNU staff use??
Do I "sudo gparted" or "sudo passwd root" and set a new password??
Click to expand...
Click to collapse
http://lmgtfy.com/?q=gparted+live+root+password
GParted live is based on Debian live, and the default account is "user", with password "live". There is no root password, so if you need root privileges, login as "user", then run "sudo" to get root privileges.
Click to expand...
Click to collapse
You can run "sudo -i" to just get a root shell if you want.
_that said:
Good guess. See http://en.wikipedia.org/wiki/ExFAT
http://lmgtfy.com/?q=gparted+live+root+password
You can run "sudo -i" to just get a root shell if you want.
Click to expand...
Click to collapse
Looks like my windows\system32 dir has a 2004 date on it. So just before it came out. Nice they have a patch now.
lmgtfy.com is very cool! I've never seen _that before. Really a good way to say "why can't YOU just Google it YOURSELF". Yes, I already followed the same link to get the commands I asked about.
I couldn't figure out a way to get a Logitech bluetooth mouse working in Gparted Live. Probably need linux drivers?
elfaure said:
I couldn't figure out a way to get a Logitech bluetooth mouse working in Gparted Live. Probably need linux drivers?
Click to expand...
Click to collapse
That's a live distro for partitioning stuff, not for supporting all kinds of exotic hardware. Most likely it doesn't even have any bluetooth stack. Use a full desktop distribution like Mint if you want support for bluetooth input devices.
_that said:
That's a live distro for partitioning stuff, not for supporting all kinds of exotic hardware. Most likely it doesn't even have any bluetooth stack. Use a full desktop distribution like Mint if you want support for bluetooth input devices.
Click to expand...
Click to collapse
Yeah, I figured as much but I thought you possibly have a trick.
Cinnamon or Mate desktop? Live iso version available somewhere (couldn't find one)? Never mind, I think I got it. I don't need you to send me another lmgtfy link. But still, Cinnamon or Mate desktop?
Ok, here's my problem. I need to make a bootable CD (not DVD). The iso for Mint 15 Cinnamon is 923MB. It won't fit on a 700MB CD, and my PC can't boot off DVD or USB. Any suggestions besides having to partition a HDD to install a dual-boot configuration which I don't want to have to do just to run Linux once in a while. I would like a Live CD instead. Reduced size minimal distro somewhere to be found?
Ok, found one here for Linux Mint 13 Maya. Hope its not someone's hack. But I think its a better option than Plop. I don't want to start hacking my Windows PC all up just to get Linux. If its any more hassle than burning a CD I'll just use GParted with a corded mouse.
Only 7 available seeds for this torrent, and only 1 is up now. Popular item! (ha). Had it going with 4 but I was hogging too much bandwidth and had to pause fpr a bit then restart. When it restarted, looks like 3 of my seeds blew away in the wind. Looks like tomorrow then...I was hoping to burn the iso and play with it tonight. Oh wait, just got another 1 back. Now were up to 100kB/s. Whoopee
**********************************************************************************************************
http://forums.linuxmint.com/viewtopic.php?f=46&t=110933 (last link goes to next link)
http://forums.linuxmint.com/viewtopic.php?f=61&t=103449&p=604069
elfaure said:
Ok, here's my problem. I need to make a bootable CD (not DVD). The iso for Mint 15 Cinnamon is 923MB. It won't fit on a 700MB CD, and my PC can't boot off DVD or USB.
Click to expand...
Click to collapse
You have a strange PC. Or no DVD drive?
All PCs that I know (that have been produced in this millennium) can boot from DVD or USB with correct BIOS setting and a correctly formatted bootable medium.
_that said:
You have a strange PC. Or no DVD drive?
All PCs that I know (that have been produced in this millennium) can boot from DVD or USB with correct BIOS setting and a correctly formatted bootable medium.
Click to expand...
Click to collapse
Yes I know. I'm cheap and old school with PCs, what can I say. The rest of my devices are current offering. I haven't bought a new PC for over 10 years. Its an older "failed" CAD station that was slated for the dumpster about 3 years ago, then being about 3-4 years old, because our admin was too lazy to test for a simple problem - a failed RAM SIMM. I resurrected it, replaced the failed 512 SIMM and added two more, added a scavenged drive (now 3), and now its my home $100 desktop (replacing the free Pentium I had but was too slow to use). It already had the Quadro FX 3800 video card with a dual core Xeon CPU @ 3.33 GHz. But no DVD drive, only CD drive. BIOS does not support boot from USB either.
Its faster than my old work Dell Precision 690 before I got my new 6-core Xeon T3500. So those were my limitations to work with. And I think I found the best possible solution with Mint 13 Maya iso CD. Looks like Mint 15 just was released. Beautiful OS by the way, I checked out some uTube on it last night. Can't wait to test drive it. Might even make an MS defector out of me. Linux seems to run well on older hardware with slower CPUs vs Windows on the same hardware, so I'm hoping it can breath new life into this semi-archaic box I call my desktop. Now you see why I'm on the tablet so much.
Hey @_that
You were right again. It is a DVD drive. In XP Pro SP2 it was just a CD but after installing SP3 it shows up now as a DVD/CD. Getting Mint 15 32 bit now instead. The DVD drive bay load door is scratched and faded, so I couldn't tell just by looking at it, and was going off what Windows device manager was showing in its tree. I did initially pop a DVD in and it couldn't read it which further substantiated that it was a CD and I never questioned it. Turns out the DVD I tested it with was a DL, and this is only a SL DVD drive. Now I have a 1.7GB limitation, not 700MB which opens up most iso options. But I still have no boot from USB option in my BIOS. I'll look to see if there's an updated BIOS available to open up that option. It would be very nice to have a few thumb drives with different Linux distros to test drive, and a puppy Linux on my key chain.
Sent from my ADR6350 using xda app-developers app
Live Mint 15 Mate
Hey @_that-
Coming to you live from Linux Mint 15 Mate. I guess when running this off a live CD, there is no way to copy a file to /etc is there? I opened it as administrator, and it still wouldn't let me copy the file because this directory is on the CD, not the HDD, correct? I was trying to get my Synergy connected between my MS PC and my other PC running live Linux so I can share my mouse and keyboard seamlessly without my KVM switch. I'm impressed with how easy this is to setup. Also with your ability to see me as a Windows transitional user, and point me to Mint and not Ubuntu. I like it.
elfaure said:
Coming to you live from Linux Mint 15 Mate. I guess when running this off a live CD, there is no way to copy a file to /etc is there?
Click to expand...
Click to collapse
I don't know about the live environment - it's normally only used to install the OS to a real hard drive. I find it still strange that your PC doesn't support booting from USB. Maybe that's a sign that you really should install Linux on a HDD.
elfaure said:
I was trying to get my Synergy connected between my MS PC and my other PC running live Linux so I can share my mouse and keyboard seamlessly without my KVM switch. I'm impressed with how easy this is to setup. Also with your ability to see me as a Windows transitional user, and point me to Mint and not Ubuntu. I like it.
Click to expand...
Click to collapse
2 monitors, 1 keyboard, 1 mouse? Yes, Synergy is nice.
And why Mint: I simply don't agree with Mark Shuttleworth's direction where he is taking Ubuntu - fortunately there are alternatives in the OSS world. I consider Mint as the "sane", i.e. actually usable, version of Ubuntu.
_that said:
I don't know about the live environment - it's normally only used to install the OS to a real hard drive. I find it still strange that your PC doesn't support booting from USB. Maybe that's a sign that you really should install Linux on a HDD.
2 monitors, 1 keyboard, 1 mouse? Yes, Synergy is nice.
And why Mint: I simply don't agree with Mark Shuttleworth's direction where he is taking Ubuntu - fortunately there are alternatives in the OSS world. I consider Mint as the "sane", i.e. actually usable, version of Ubuntu.
Click to expand...
Click to collapse
Yes, this is my work environment now. I have two Dell Precisions, one a 690 and the other a T3500. You got it, two monitors, 1 kb, 1 mouse. Downloading and installing Wine now. I am interested to see if I can run Solidworks on Linux thru Wine. Wow, Linux had come a long way. "sudo apt-get install synergy". All the terminal commands I learned for Android are very useful now, thanks!
ps-"sudo -i" works like a charm.
[Edit] Doesn't look like SW wants to run on Linux loaded thru Wine. I figured as much, but it was worth a try.
Video is not bad at all, despite all I've read. They really must have clean it up for 15. Picture is good, sound is good, seeking is a bit slow, and my biggest complaint is there is no stretch or zoom to fill the entire screen. You have to select from predefined aspect ratios and get as close as you can. Android has better tools in this area than Mint, or maybe it more closely matches a standard aspect ratio like 16:9 for 1920 x 1200 is close (1.77 vs 1.6). Ok, _that's it for the day. Got to get some real work done here now.
Regarding the live environment, its used all the time to test drive different Linux distros before deciding which one to finally install. That's the beauty of a free open OS and a 50 cent DVD and its advantage over a flash card in this case, if you wanted to test 3-5 different ones (back and forth, not sequentially) before deciding on *the one* to finally install to HDD.
elfaure said:
Video is not bad at all, despite all I've read. They really must have clean it up for 15. Picture is good, sound is good, seeking is a bit slow, and my biggest complaint is there is no stretch or zoom to fill the entire screen. You have to select from predefined aspect ratios and get as close as you can. Android has better tools in this area than Mint, or maybe it more closely matches a standard aspect ratio like 16:9 for 1920 x 1200 is close (1.77 vs 1.6).
Click to expand...
Click to collapse
I have no idea what you are talking about. There are lots of media players to choose from, and all that I know have a fullscreen mode.
_that said:
I have no idea what you are talking about. There are lots of media players to choose from, and all that I know have a fullscreen mode.
Click to expand...
Click to collapse
What I mean is by toggling full screen in Mint, its less than full screen because the movie aspect ratio of its recorded resolution is preserved in the scaling function. So there are still black bands either high/low or left/right if you don't play with the player aspect ratio (4:3 vs 16:9) to best match that of your movie in the distros fullscreen mode with the stock player. Which ever limits to extents first in the scaling horiz or vertical DPI defines the "fullscreen" size you get which is less than a full screen. A zoom function does not but a stretch function does override the recorded aspect ratio to fill the full screen (I'm talking about TV's and Dice/BS/MX Player features now, not what's in the Linux default distro player) so with stretch you can get a distorted picture (disproportionate scaling) but not with zoom. These are not included in the stock distro player.
elfaure said:
What I mean is by toggling full screen in Mint...
Click to expand...
Click to collapse
I am using mplayer for video playback - I don't know if that is still included in end-user-focused distros like Mint, but it's one of the most powerful video players that exist. Mplayer has no GUI at all (everything is controlled via the keyboard) - and the "f" key toggles between fullscreen and window.

Categories

Resources