My MicroSD card is starting to corrupt - Asus Transformer TF700

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.

Related

Today I made my first Mistake (fixed it) but would like some information.

I am old school DOS user, so I don't know linux commands very well.
It is my understanding that the command line is similar in function but with different commands i.e. C\: copy file blah.exe to C:\here\.
Can the Recovery command line be used as such to move around on the sdcard in recovery mode using the same method, and if so, is there a list of linux commands I can familiarize myself with?
I would like to add this to all current/future G1 Hackers.
I learned a valuable mistake today. After doing lots of reading to correct it (thanx to the help of people who know what they are doing). I would like to make this one suggestion:
Get a cheap USB Card reader. Essentially you can do everything you need in windows w/o using a command line.
http://cgi.ebay.com/Cheap-MicroSD-Micro-SD-USB-2.0-Card-Reader---SHIP-$2.50_W0QQitemZ380101445086QQcmdZViewItem
It is a life saver if you makea mistake.
Brutal-Force said:
I am old school DOS user, so I don't know linux commands very well.
It is my understanding that the command line is similar in function but with different commands i.e. C\: copy file blah.exe to C:\here\.
Can the Recovery command line be used as such to move around on the sdcard in recovery mode using the same method, and if so, is there a list of linux commands I can familiarize myself with?
Click to expand...
Click to collapse
yes it can .. however .. the way android is setup i found everything has to be mounted from scratch .. so you wouldn't have /sdcard .. it would be blank until the mmcblk0p1 was mounted .. likewise /system would be blank etc until the mtdblock3 was mounted
So basically...
Yes it can, but not with out a lot of typing. I.e. for every command I would have to do a mount?
The linux commands I found online were difficult, because while they are comparable to the dos ones, they cannot be used verbatim. Also other commands are used while connecting to the device, which do not show up when you do a google search they way I was. I was wondering why when I did a remount from the command line, I could get to the /sdcard but then I tried to use a ls or a l command to list the files and nothing shows. I will (for my own sake) ask more questions and try to push/pull rather than do it simply by windows.
This was the first thing I tried, but it helped very little.
http://www.pixelbeat.org/cmdline.html
Thank you for your input.
I think the usb micro card reader is the best solution. Heres what I do
*8 gig sdhc micro card (everyday card)
*kingston microsd reader with 1 gig micro sd card loaded with the latest JF update.zip
Now I can just pop the 1gb card into my phone and flash the JF if I brick. And since the reader is attached to my keys, I always have the recovery with me even if Im not near a computer.
You really should learn the commands before screwing with things. The linux terminal is infinitely more powerful than dos. The side effect of this is that it is equally more complex. I suggest that you install some linux distro on your desktop computer (or an old junker you have shoved into a corner in the basement), and learn it real well. With just a little experience, you'll surely want to wipe that microshaft turd off of everything you own.
I have had ubuntu installed on my computer before
I can say that ubuntu definitely has is benefits.
A long time ago I was really into computer stuff, constantly tweaking, installing, trying out new stuff. Today I can safely say I use my computer for primarily internet browsing, googleing, information and such. That being said, it really doesn't matter which OS I actually have installed. Ubuntu, my understanding is that it simply uses less resources and of course is open source. Applications are free and there is always someone willing to lend you a hand.
Other than that, I can't see where Ubuntu was really a necessary must for me up until today. Realistically I fall back into the category of "just need it to do one thing". No doubt that Linux has its place, and If I wasn't so out of date and lazy, I would take up the coding myself.
Thanx for the Suggestion Xavier
After I read your post I was like Duhhh. Considering I have the original 1 gig that came with the phone, I did what you suggested. I have pretty much a boot disk/back up for the phone in case everything goes to pot, and I can carry it in my wallet just in case I am doing something while away from a USB port. After all, I shouldnt be tied to a usb port anyways, thats why I bought my G1 .

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.

how to make a rom PART 1.5 (w/ and w/out virtualaztion)

THANK YOU JOHAN DE KONING
This will explain how to make your computer fast enough to run ubuntu (a form of Linux). And how to download the android package. This will take up 7 to 8 gb of space.
THIS IS FOR PEOPLE WHO WANT UBUNTU (NOT VIRTUAL AND NOT DUAL IF DON'T WANT TO BE)*This could delete windows if you didn't partion your hard drive right
NOT FOR NOOBS BE WARNED
Go to the ubunutu download page given below and download the 700 mb iso image file. Iso is a cd formatted file u can open it with a zip appclation(but don't). When it is finished I recommand getting a dvd but maybe it could fit on a cd.(*Note that you don't have to burn on to cd u could extract to decktop and run the setup manually.) Burn the ubuntu on to the cd/dvd and than restart your computer with the cd/dvd still in the computer's cd/dvd rom. When the computer goes to a blink screen and asks you if want to boot from cd/dvd press enter. And than from here on follow the instractions.
STEP 1 (CLEAN COMPUTER)
*Note: for performance do this in safe mode.
First we need to make your computer fast as possible. Create a backup just in case you want to back up something. So go to download.com and download Advanced SystemCare Free(7 -10 mb). After you have installed click on the CARE! button to get started. This could depend on your computer usage space the bigger the longer it will take. It will wipe all internet data. If you don't want that to happen just go to maintain windows and click on the Privacy Sweep box to uncheck. Than scan. Than go to utilities and run all the following Disk Check, Disk Cleaner and install Smart defrag. After installing Smart Defrag click start on all the options in this order defrag only, deep optimize, and fast optimize.
STEP 2: RESTART COMPUTER
After restarting go back to System FreeCare and run game booster(install). Click game mode and a pop up will show. Click the button on the left side of the box. Check all boxes but not explore. than go to game mode.
STEP 3: Download virtualbox(68 mb download)
You could have a dual if you want. The download page is http://www.virtualbox.org/wiki/Downloads. Download the correct version. (windows= *VirtualBox 3.0.4 for Windows hosts x86/amd64). than install it.
Install Virtualbox(takes from 5-30 minutes depending on your computer)
Next>accept>next>next>next>yes>install>continue anyway(i got this like 6 times so...)>finish(i think)>cancel>new>Next>name=ubuntu>next>Next>Next>Next>Next>Next>
when u get to the virtual size thing move the bar to 7.5 gb (min). this should be a little extra space. Next>Finish>Next>
STEP 4: Download UBUNTU(700 mb)
DOWNLOAD PAGE http://www.ubuntu.com/getubuntu/download and choose the ftp. than begin downloading. After download save the file to desktop and DON'T DO ANYTHING. go to the VirtualBox and click CD/DVD-ROM. Check the box and also ISO IMAGE FILE after that and mount to that image on the desktop. THAN OK. press CTRL+ALT+DELETE. go to processes and end explore(for speed). Click Start.
PART 2
OK. START by running VirtualBox with the mount on the ISO ubuntu and than click start on the top right hand side. press enter to leave language than enter again to install ubuntu. on the top of the bar it may pause alot so go to machine and resume it. if it total doesn't work just exit and power down and reboot with explore.exe gone and also no windows up and running. and than just follow the instructions to installing it about 1 hour to 2 hours depending. Make sure that it is completely partation to the virtual drive. After like forever when u reach the main desktop go to app... terminal and make sure u knoe your password. Than type
The rest is here http://www.johandekoning.nl/index.php/2009/06/07/building-android-15-build-environment/. How to bulid the enviroment and getting the libs and other tools together. After all that run.
Sudo apt-get autoremove
Sudo apt-get autoclean
Than on Saturday and Sunday I will teach u how to make a rom.
There is a kernel problem with johan's idea I think I know what it is
Was going to wipe one of my computers anyway. This gives me a reason to stop procrastinating! Will give this a try. Waiting for part 2!
I know I will never get into rom making but it is very interesting to read about.
P.S. Make the paypal link a bit bigger, I can't read it
I already turned my back on windows so I run ubuntu so this is useless to me but I am waiting for part 2 so I can learn more about this, prob won't ever use it but it is good to knowhow to
Already running Mint in VB .. runs just great. I am interested in reading the ROM part though
WTF? Why do you need to do all of this crap on your computer to run Ubuntu? If I was going to dual boot with windows I would not use the stuff you listed. Why not just explain how to use it create a ROM and let people figure out how to get Ubuntu on their computer.
this seems more like spam, an advertisement for those products he listed. Any sensible person would not use virtual box to build android from source (problems you run into with the jvm running out of memory).
Besides, Johan already has a well posted blog about this:
http://www.johandekoning.nl/index.php/2009/06/07/building-android-15-build-environment/
but I would really recomend installing ubuntu through the windows installer (wubi) if you're a linux virgin, that way you don't risk anything in your windows partition, it's faster than virtualization, and eventually you'll drop windows once you learn how to use ubuntu at least.
Really, I think this is spam though.
jubeh said:
Really, I think this is spam though.
Click to expand...
Click to collapse
I think you are right. I don't know if "part 2" is ever going to come, or if it will just be a copy/paste from the link you posted.
Wasn't it simpler to just install ubuntu as second os? If someone wants to dedicate himself to developement it would be better to have ubuntu not virtualized
jubeh said:
this seems more like spam, an advertisement for those products he listed. Any sensible person would not use virtual box to build android from source (problems you run into with the jvm running out of memory).
Besides, Johan already has a well posted blog about this:
http://www.johandekoning.nl/index.php/2009/06/07/building-android-15-build-environment/
but I would really recomend installing ubuntu through the windows installer (wubi) if you're a linux virgin, that way you don't risk anything in your windows partition, it's faster than virtualization, and eventually you'll drop windows once you learn how to use ubuntu at least.
Really, I think this is spam though.
Click to expand...
Click to collapse
I am not sure if you have ever tried virtual box but it is quite responsive and seems too run better than wubi. I am sure it depends somewhat on the system a person is running, but with a quad and 4 gb of ram VB runs very well. While I have a dual boot with Ubuntu , I have still found it easier to do my android stuff in it's own virtual space. With a dedicated 75gb I can use it seamlessly with my Windows 7 install. You should try it it really works very well and I have had no memory problems at all and have manged to build from source without any difficulty whatsoever. My Ubuntu install stays clean and I can mess with my virtual Mint install as much as I like without ever affecting my Ubuntu partition.
Personally I have Ubuntu on a Prtition of My portable drive,which means I can boot it up anywhere (so long as the computer can USB Boot). I shall certainly be following the original info. The same guy has posted many good Android Articles.
As for the OP here, he only really needed to post a link, not copy the whole thing.
pixel-painter said:
I am not sure if you have ever tried virtual box but it is quite responsive and seems too run better than wubi. I am sure it depends somewhat on the system a person is running, but with a quad and 4 gb of ram VB runs very well. While I have a dual boot with Ubuntu , I have still found it easier to do my android stuff in it's own virtual space. With a dedicated 75gb I can use it seamlessly with my Windows 7 install. You should try it it really works very well and I have had no memory problems at all and have manged to build from source without any difficulty whatsoever. My Ubuntu install stays clean and I can mess with my virtual Mint install as much as I like without ever affecting my Ubuntu partition.
Click to expand...
Click to collapse
Almost everything runs well with quad processors and 4GB of RAM. Oracle 10g runs well with that hardware. So that isn't saying much.
miketaylor00 said:
Oracle 10g runs well with that hardware. So that isn't saying much.
Click to expand...
Click to collapse
ha! this bit gave me a chuckle.
I freaking hate Oracle. I run a bunch of dbms' & 95% of my headaches come from them.
I prefer dual-booting, personally. I just started messing around with ubuntu (about 6 months maybe) and i love it, after using ubuntu i fully hate Windows Vista and all its sparkly, money-making horse-****. So now i have ubuntu and Windows both running smoothly on a compaq presario f700 laptop, and the only thing i really use my windows partition (i know thats not the correct technical terminology, just pay attention to the story) for is, well, basically just theming, and media storage. I use photoshop, and havent bothered to try using GIMP very much yet, and so i do all my theming (which isnt much really) in windows, which is where i also already have the autosign tools and draw9patch and other such things setup...and then all my music, pictures, whatever are all on my fat32 partition, and can all be accessed from either OS. aside from that, my computer boots into ubuntu by default. so if im using my computer, im doin it the ubuntu way, unless i NEED to use windows, for something like photoshop, and thats about it.
So long story short...(like its not already to late for that) im eagerly awaiting part 2 cuz ive been hitting some roadblocks...hope it helps!
-BMFC
mohsinkhan47 said:
Please donate and help me get a good ubuntu desktop from the case to the motherboard. Please donat.
Click to expand...
Click to collapse
I'll get right on that. Is $500 enough?
miketaylor00 said:
Almost everything runs well with quad processors and 4GB of RAM. Oracle 10g runs well with that hardware. So that isn't saying much.
Click to expand...
Click to collapse
Ok Granted u are right about that and so it should.
But assuming I am not the only person with a quad and 4 gb of RAM, this may work just as well for others too. As as a relative newb with Linux, I can honestly say I have killed a few installations of Linux on my Hard Drive by breaking packages and other things that prevent it from working properly. Sometimes it is easier for me to reinstall the whole thing because I lack the knowledge to fix it.... in comes Virtual Box. I can totally screw it up as much as I want and my Linux partition on my hd remains intact with no errors.
pixel-painter said:
I am not sure if you have ever tried virtual box but it is quite responsive and seems too run better than wubi. I am sure it depends somewhat on the system a person is running, but with a quad and 4 gb of ram VB runs very well. While I have a dual boot with Ubuntu , I have still found it easier to do my android stuff in it's own virtual space. With a dedicated 75gb I can use it seamlessly with my Windows 7 install. You should try it it really works very well and I have had no memory problems at all and have manged to build from source without any difficulty whatsoever. My Ubuntu install stays clean and I can mess with my virtual Mint install as much as I like without ever affecting my Ubuntu partition.
Click to expand...
Click to collapse
I do have virtualbox running on my linux box, my laptop's ubuntu side, and my laptop's win7 side. I also have a third computer that I have loaded with windows vista for the computer illiterate people in my house and a tiny dell mini 9 that I bought god-knows-why.
My main computer (since I can take it anywhere and my linux box i use mainly as a file server) is a gateway fx p-7805u. I won't have you google the specs, it's a 2.27 Ghz core 2 duo, 4 gb of ram, 320 gb main hard drive (plus I tossed a slow 5400 rpm 500 gb hd for files), so yeah, I can run virtualbox, but I mainly use it for running micro-xp on it for whatever else I need it.
I've used vb before like i said even configuring the vm with dual core support but there's no way it's as fast as a native system.
Anyway, wubi is not virtualization. It's an actual, loop-mounted image file/partition that fully utilizes the hardware it runs on. It's exactly the same as running a dual-booted system through partitioning, the only difference is that the ubuntu filesystem exists inside your ntfs partition rather than it's own partition, this has the effect of having a very slight hit on disk performance (much less than virtualization though), but everything else is running natively, even drivers. It's entirely safe for your host file-system and can be removed leaving no residual files anywhere on your system. It's also easy to share files with your host computer (with vb you have to set up a network share and then edit your /etc/init.d/rc.local to have it automount on startup, with wubi, it automatically creates a link to the host filesystem located at /host).
I've had to leave my computer building on vb overnight and then I come back to find that the process is stuck at some dex or java compilation, with an actual running system, this doesn't happen.
Give it a try, it costs nothing.
mohsinkhan47 said:
U guys are evil
Click to expand...
Click to collapse
Wow thanks! I really appreciate your work and considering donating to you. Since you make your paypal link so large, it really inspires me to donate.
Thanks again!
edit: (hope this post isn't considered to be spam like the original post is)
Better if you do
sudo apt-get autoremove --purge
jubeh said:
I do have virtualbox running on my linux box, my laptop's ubuntu side, and my laptop's win7 side. I also have a third computer that I have loaded with windows vista for the computer illiterate people in my house and a tiny dell mini 9 that I bought god-knows-why.
My main computer (since I can take it anywhere and my linux box i use mainly as a file server) is a gateway fx p-7805u. I won't have you google the specs, it's a 2.27 Ghz core 2 duo, 4 gb of ram, 320 gb main hard drive (plus I tossed a slow 5400 rpm 500 gb hd for files), so yeah, I can run virtualbox, but I mainly use it for running micro-xp on it for whatever else I need it.
I've used vb before like i said even configuring the vm with dual core support but there's no way it's as fast as a native system.
Anyway, wubi is not virtualization. It's an actual, loop-mounted image file/partition that fully utilizes the hardware it runs on. It's exactly the same as running a dual-booted system through partitioning, the only difference is that the ubuntu filesystem exists inside your ntfs partition rather than it's own partition, this has the effect of having a very slight hit on disk performance (much less than virtualization though), but everything else is running natively, even drivers. It's entirely safe for your host file-system and can be removed leaving no residual files anywhere on your system. It's also easy to share files with your host computer (with vb you have to set up a network share and then edit your /etc/init.d/rc.local to have it automount on startup, with wubi, it automatically creates a link to the host filesystem located at /host).
I've had to leave my computer building on vb overnight and then I come back to find that the process is stuck at some dex or java compilation, with an actual running system, this doesn't happen.
Give it a try, it costs nothing.
Click to expand...
Click to collapse
Thanks for the info... now I know you have a lot of computers in your household But seriously, I am not trying to put anyone's opinion down here... so there is no need to be quite so elitist I am just pointing out my own experiences with Virtual Box which have been very good. If it doesn't work for you... fine.. but you are suggesting to everyone else that it doesn't work properly or well and I can quite definitively say that yes it does.. and very well too.
I would imagine that your system from what you say may not be powerful enough to handle it as well... so maybe a quad is needed to make it run the way it does for me, I don't profess to know the answer... only that it works great on my system.. it is not slow.... does not have errors and compiles Android source quite easily using Mint Linux (another Debian based Linux Distro for those that are unfamiliar with it)
I don't think I ever mentioned it was as fast as a native system... all I am saying is that it runs well and for a noob it can be run without messing anything else up as it runs in it's own little environment.

android app to mount iso files?

hi is there an android app to mount iso files?
I doubt it and i can't even begin to imagine why you'd want one! Care to elaborate?
I have iso training video files from work and want to watch them on my phone during travels.
Best thing to do would be to use Power ISO to get the vids then transfer them to your phone
I would suggest transcoding to another format as .iso will not play on your phone. Try Handbrake which is a great, free program.
Yea ISO isn't supported as a video format, you'll need another application to convert it to something decodable.
Sent from my Nexus One using XDA Premium App
DirkGently1 said:
I doubt it and i can't even begin to imagine why you'd want one! Care to elaborate?
Click to expand...
Click to collapse
It would be nice to put a downloaded file/film directly on your phone
Or download it from your phone.
.......without having to spend a cupple og hours converting it to an other format.
My computer play iso's directly, why not also my phone?
Around 1/3 of what i download is ISO's........
Dude.
No, your computer does not "play iso" files. It is likely that it mounts them and plays their content, though.
What Android is missing, in your case, is a way to mount these images. It already comes with many players that will be able to play their content.
Well, yes, my computer mounts the iso, then plays the content.........(=my computer plays iso's)
rshemeld point is (and mine) that we would like our phones to do the same........we can always discuss what to call it, in what order stuff is going on, but that's beside the point.
Your computer plays the videofiles contained in these cd/dvd Images, so why don't you just copy those from your pc to your phone? Chances are, you don't even have to transcode them... or, since isos are some kind of zipped files, try any unpacker you can find to open them.
Sent from my Milestone using XDA App
One problem with that method is that the video file is chopped up into smaller pieces, I have tried to download several video players that can play them in the right order automatically..........but they couldn't
DirkGently1 said:
I doubt it and i can't even begin to imagine why you'd want one! Care to elaborate?
Click to expand...
Click to collapse
Geez... let's name a few others other than the one the originall poster stated...
Using a bootable ISO...
You would be able to boot your computer for oh so many reasons.
1.) Unlocking a locked OS
2.) Running Defrag the way it was meant to be run (w/o the original OS locking files down).
3.) Recovering deleted files/partitions w/o having to pull the drive and use another PC.
Number 4 and prob one of the best reasons...
4.) Try to see an iPhone do that! Just another reason why a Droid no matter what flavor... is still just BETTER!
I would like to use my DroidX with an [email protected] BootDisk ISO (http //www livecd com) so that I don't have to lug around another CD/USB. Plus on some networks USB devices are unauthorized unless they have biometrics. I'd still rather just boot from my phone.
rshemeld said:
hi is there an android app to mount iso files?
Click to expand...
Click to collapse
Though your reason is different than mine... I would also like to see this happen.
Esp if the PCs can see a bootable ISO as a bootable CD... and i'm sure I'm not the only one as some google searches will show.
rshemeld said:
hi is there an android app to mount iso files?
Click to expand...
Click to collapse
Sure. It is even bundled with Android system.
Code:
mount -o loop -t iso9660 /path/to/file.iso /mnt/somewhere
Does not work? Well, here is the "small" glitch. Unless
Code:
cat /proc/filesystems
returns iso9660 among others, you would better start with recompiling your kernel.
Thx for the info!
Helps narrow down the options.
Time to see of anyone has recompiled
Sent from my DROIDX using the XDA mobile application powered by Tapatalk
I was wondering if there are any updates to this topic?
I would love to be able to somehow view the contents of several cdroms I have on my tablet running 3.2. These cds/dvds are interlinked files for example to do sample exams, the program can then check the answers. Another example is a dvd with multiple htmls interlinked with each other. I have tried converting all the files to a linkable pdf but about a third of the links still dont work and some files cannot be found or one has to scroll through the whole document. Any suggestions how I could get something like this into a format that would work on the transformer tablet?
Are there by now any apps which could read an iso file made of the cd/dvds?
any of you guys have an update on these thread? i love also to see my training videos running on my android phone.
Why don't you convert the videos into *.avi-files for example before transfering them onto your phone?
Sent from my Transformer TF101 using XDA Premium App
I've got tons of DVD-ISO's on my home network (QNAP NAS) and it would be really cool to be able to stream those on my SGS2 but I guess that's a no go. Even my old 166Mhz PC could do it since decoding mpeg2-video doesn't need a lot of CPU power.
I have used DVD Copy Pro to turn DVDs or ISO files into video files. Also have the option to compress them, so not taking up 4gb of space. Can compress significantly and have played just fine on my android phone. I'm sure there are many other programs that will do the same thing.

Installing Linux on a PC Using Inspire

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...

Categories

Resources