step 1 and 3 under linux ? - XPERIA X10 Android Development

Because when you have no windows at home and all your computer run linux is not easy to flash under Virtualbox ...
I have translate runme.cmd of step2, 4, 5, 6 into runme.sh (this is easy) but someone can tell me how to flash under linux ? (step 1 and 3) ?
for user want INCOMPLETE linux runme :
http: //ww_w.multiupload. _com/3I9EINJTYD (spam protect)
Do NOT USE the script is for old V3

It's not that simple, its the jar file that needs changing. The device id works different under Linux.
Install virtualbox and run a Windows vm. That's what I did.
Sent from my rooted X10i using XDA App

well I'd like linux support for it too

A Linux method would make it a lot easier than using a VM. However for the time being, I don't see another option...
Sent from my X10i

Thank you,
i m forget the idea, i do flash steps under VM and SDK steps under linux.

I am having problems flashing my X10 using XP and Virtualbox. I get to the stage where I need to unplug my phone and shut it down for 5 secs but then when I plug in the usb and press the back button it will not flash? I assume its because in Virtualbox under Devices the X10 is not unticked as a USB device??
Anyone any ideas?

I have many ideas. But the only way to flash with linux is to ask massively jar dev to compile it for linux.
At the moment, I 've also done a script for linux, it's a quite fun but we can't flash without the jar because actual jar file use MS usb drviers we can't use under linux.
Virtual box is not a so good idea. Surely it works, but there not enough time between the moment when you plug the phone into usb and the time you need to put it into boot process.
The only way is to flash under MS.
I have personally mount virtual raw disk of MS installation, taht way you can use as real machine or as virtual.
After that u can try my script, it's not perfect but it is pretty useful.
http://code.google.com/p/android-inside-tool/
There some user data to fill in and it need to be root for some command. If you need help to use it (if you want to), fell free to ask.

Related

Mac OS X / Parallels / XP

Firstly UPS to dcd no2 and all the rest for such awesome work. I find myself making a new rom for my own use on a daily now.
I'm a Mac user but have to use Parallels w/ XP to put my rom's on my Mogul. Most times this fails mid update. It's not in the same place every time and sometimes completes ( rarely )
The mogul is seen by XP. Active Sync picks it up and connects. I'm able to browse the phone/mem card. AND the RUU completes sometimes, leaving me with a phone & rom that boots.
When I use my friends XP machine the same rom's install perfectly, every time. So I know at the very least the rom's I create are good.
Does anyone have experience with this issue?
bootcamp
BOOT CAMP.....Thats is the answer for you, I hope.....
The reason why I say "I hope"...is that you need an Intel Processor to use it....if your mac is Intel bases, make a minimal partition with a minimum install of XP...(thats what I did)...
I use this partition ONLY for flashing my ROM.
If you DON'T have an Intel mac.....
1. Get more RAM
2. make sure you close all other open programs.
3. Make sure that you are not using an disk intensive activities.....(IE: uploading/downloading, virus scans, backups etc...)
4. Make sure that you do not do ANYTHING while flashing the ROM.
5. Make sure that your computer's SLEEP is disabled.....
6. For good measure, temporarily set parallels for parallels performance and NOT background applications.
7. If you know how, disable any unneeded services running in your WINDOWS Parallel....
8. If possible, make yourself a Win98 parition for parallels and you might have better results.
Remember, ANYTHING you do outside of parallels could affect the flash.
I've experienced a different issue using Parallels on my mac. When I first flashed it, I got stuck in bootloader. Every time I'd hook it up to the computer it would tell me the device was already in use and that Parallels couldn't use the device. A reboot of the computer and/or the phone didn't help multiple times. I had to break out an old dell laptop with XP on it just to get it to exit the BL.
i use vmware fusion on my mac under leopard, i can flash and do anything just fine..., maybe you should try fusion. Works for me
Same here, Try VM FUSION... I had problems sending data to flash over usb with Parallels.
Another vote for VMware fusion and Leopard. I have done numerous flashes without issue. Boot camp is a pain but is the ultimate in compatibility. I find that vmware gets the job done for everything I need to do including flashing roms and unlocking the Mogul.
Got my VMware on!! First ROM worked just fine. Thanks so much for the replies everyone.

HTC Drivers

Hey, I was wondering if anyone had a link to download the HTC Bootloader drivers. It fails when I try and load "something" in Windows.
Thanks.
p.s: This will lead to good things...
The only drivers that I am aware of are the ones that are in the Android SDK Toolbox and in the HTC Sync program. Correct me if I am wrong, but as far as I know, they aren't specific drivers ie "bootloader" drivers. They are just drivers to get your comp to recognize the phone when its attached.
I'm assuming this is something you're expirementing with to get root via the adb in recovery, if so, good luck.
-------------------------------------
Sent via the XDA Tapatalk App
Hi crax0r,
The folks at Android (aka Google) provide these instructions for installing the drivers. It involves installing their SDK first, and installing Java for that, and an IDE called eclipse.... UGH.
The HTC "Sync" Application that hoovnick is referring to can be found here.
It has been so long ago that I installed drivers (on a WinXp x32 laptop) that I can't remember what order I did things in, whether or not the driver used by HTC sync is sufficient for fastboot but not adb (or vice versa), whether I did the SDK install first, etc etc etc. As a matter of fact, it's been so long ago that the computer that I did it on is now dead, and here I am using a Linux machine.
For all I know, the order you do things in affects the outcome - it sure seems like a lot of folks with Windows 7 complained about driver troubles.
One thing is for sure, though - setting up the entire Android SDK (+ Java + Eclipse + ...) in order to install a device driver has to be the worlds most roundabout way of doing a driver install.
If you are considering using the "fastboot" method to install Amon_RA's recovery boot, you might try just installing HTC Sync first, and see if that is sufficient for getting fastboot talking to the phone. That install is way, way easier than setting up the SDK to get a driver installed.
The other thing which is an option, if you are a little bit Linux-savvy, is to boot one of those "Live CDs" (Ubuntu, SuSe, etc) on your PC - there are no drivers to install in the case of Linux, you just need to be running as "root" on the Live (linux) CD to get fastboot to talk to the phone. The downloads (fastboot for Linux and the Amon_RA recovery image) are small, and they will both easily fit in the /tmp folder of the Linux (Live CD) boot on the PC.
Once you have Amon_RA on the phone, you won't need the SDK any longer, unless you want to start doing dev-like things; that's why a one-time boot into Linux would also work.
bftb0
I <3 Ubuntu. It's amazing!
bftb0, I am trying to install only the driver from the SDK tools, but when I follow the instructions for a fresh install, and point windows to the folder with the driver in it, windows says it can't find a driver there. What am I doing wrong here?
crax0r said:
It's OK. I'm running Ubuntu now.
Click to expand...
Click to collapse
Excellent. Just remember to always run fastboot as root, and if using adb, then the first time after you boot (the PC), run adb as root.
The reason is that by default, Ubuntu won't let an unprivileged user access the USB.
Since I have adb and fastboot in my Ubuntu (regular user) PATH, I usually just do a
$ sudo `which adb` blah-blah-blah
or
$ sudo `which fastboot` blah-blah-blah
bftb0
hoovnick said:
bftb0, I am trying to install only the driver from the SDK tools, but when I follow the instructions for a fresh install, and point windows to the folder with the driver in it, windows says it can't find a driver there. What am I doing wrong here?
Click to expand...
Click to collapse
I don't know - I've already forgotten everything I did with the driver install in Windows, and I don't currently have a working Windows machine. Sorry I can't be of more help. As I said, the troubles people have been having seem to depend on which version of Windows (Xp/Vista/7), whether its x32 or x64, phase of the moon, etc. Seems like people run into snags on Win7 or x64 versions of Windows more than Xp-32, but I don't know why that is.
Keep plugging away at it. If you are looking for resources to help resolve the problem, I would go look at docs relating to Windows driver install troubleshooting - the driver install problem seems to be a Windows issue, not really anything to do with the SDK.
bftb0
hoovnick said:
bftb0, I am trying to install only the driver from the SDK tools, but when I follow the instructions for a fresh install, and point windows to the folder with the driver in it, windows says it can't find a driver there. What am I doing wrong here?
Click to expand...
Click to collapse
Sounds like what happened to me. i had to hit the icon at the top of my phone that showed the usb cable.. i had to switch charge only to disk drive "mount as disk drive"... folder popped right up on my windows machine asking how i wanted to open the file
I have the SDK running and my phone being recognized on my computer with Vista but I have another one running XP 32 bit and windows will NOT recognize the .inf? Any ideas? I deleted all previous HTC drivers and tried that approach but nothing seems to be working.

Root DX2 using a Mac?

I have a MacBook Pro with a non-working windows partition. (I installed Ubuntu and the grub-loader took over and killed it.) I did it because I wanted to make my macbook strictly Mac (I know, crazy, right?). BUT I still want to root my DX2 (2.3.4). Do they have a one-click-root method for mac users?
yondercomesthetrain said:
I have a MacBook Pro with a non-working windows partition. (I installed Ubuntu and the grub-loader took over and killed it.) I did it because I wanted to make my macbook strictly Mac (I know, crazy, right?). BUT I still want to root my DX2 (2.3.4). Do they have a one-click-root method for mac users?
Click to expand...
Click to collapse
Try a virtual machine of some sort. VirtualBox has an OS X version. Download here. VirtualBox is what I use to mod everything on my X2, because I don't want the Motorola bloat on my main OS.
I dont think a virtual machine will work with the USB interface, I think the native OS will intercept it on the phone reboot leaving in the middle of the rooting process.
heres a link for OSX goto the 3rd post - h t t p: / / rootzwiki.com/ showthread.php? 3714-ROOT-UNROOT- Droid-3-root-instructions-%28 One-Click- added- for- Windows-Linux-OSX%29
delete spaces (not enough posts for links yet)
you should be able to run it in terminal by "sh run_to_root_your_droid3.sh" or "./run_to_root_your_droid3.sh"
hamburgerman said:
I dont think a virtual machine will work with the USB interface, I think the native OS will intercept it on the phone reboot leaving in the middle of the rooting process.
heres a link for OSX goto the 3rd post - h t t p: / / rootzwiki.com/ showthread.php? 3714-ROOT-UNROOT- Droid-3-root-instructions-%28 One-Click- added- for- Windows-Linux-OSX%29
delete spaces (not enough posts for links yet)
Click to expand...
Click to collapse
The USB interface does work. After you install an OS into a virtual machine you have to shut that VM down and go to settings and tell the VM what USB devices you want it to take over when the VM boots up. This works, I use it every time I have to do something on my X2.
EDIT: Keep in mind the X2 has different USB interfaces depending on what mode of USB you tell it to use, and you must assign them all to that virtual machine for it to recognize the phone right away. (Also don't forget to turn on USB debugging on your X2 before trying to root)
My linux boxes VM usally intercepts before VMware has anytime to push it to windows even when I assign it, must be different in OSX. Try the link above and just run the content in terminal on your mac. You should be able to run it in terminal by "./run_to_root_your_droid3.sh" and just follow the command prompt
http://www.youtube.com/watch?v=aPqtk3GEXVk&feature=youtube_gdata_player
Just copy what he does exactly. Worked for me.
Tapatalkin' from my eclipsed DROIDX2

[How To] Running Linux on a Windows Machine

A lot of the development that has (is) taken place for our Nook's is performed by the developers in Linux. As such there are a few posts in the development thread that offer "Linux Only" solutions.
We already have the Original ClockWorkMod (CWM) installation instructions, AdamOutlers Ubuntu Recovery and others.
People have also been recommended to re-format their bootable SD Cards using a program in Linux called Gparted. I can verify that this program works great but I'm sure I'm in the minority with having access to a Linux Machine. This thread is here to offer some suggestions.
To my knowledge you have these options:
1. Run Linux in a Virtual Machine (VM)
2. Create and boot from a Live CD/DVD
3. Create and boot from a USB Stick
4. Install Linux on a separate machine
5. Dual Boot
I personally run a MAC and run Linux in a VM. I use a program called Parallels. This is NOT a free solution but if any of you run a MAC I can recommend this program highly. However this thread is dedicated to those Windoze Users so let's press on.
Virtual Machines
VM's are great tools that allow you to try almost all available OS's on your machine with no damage being done to the actual file system of the "Host" operating system which in this case is your windows machine. The "Guest" operating system is typically contained in one single file or a single folder so the entire machine can be backed up easily. This method may be a little more advanced then the method's I will outline below but in my opinion it is well worth it. VM's are fun and once you get the hang of them you will be installing a bunch of new operating systems just to "fiddle".I have a version of Dos 6 running in a VM just because I can. LOL
Virtual Box is a free VM for Windows and I believe they even offer pre-built Linux Distro's that you simply download and open once the main VM software is installed.
VMware Player is also free.
Live CD's/DVD's
Live CD's are great for a quick format job's such as those found here in the Forum's. The downside is that they are a little slower and changes you make while the system is running are lost.
Knoppix
Ubuntu is the distribution recommend most. This link brings you to a download page where you can select either a Full Install Version, a Live CD Version or a Flash Drive version.
The LiveCD List Too many to mention. Check it out.
USB Stick
Advantages to a USB stick is that you can make the file system mountable and changes you make to the system can be made persistent meaning the next time you boot your changes will be saved. It is also a tad bit faster then the live CD but a little more difficult to make. Not much though
Ubuntu same link as above.
Linux Live USB Creator is a cool application that you install and it talks you through the steps. Once Installed I believe it will even provide you with a list of available distributions and download it for you. It will then use the download to create a bootable USB stick.
PenDriveLinux is the same premise as Linux Live. It will talk you through the steps.
Full Installation
This method is obviously for more advanced users and requires a computer that you will dedicate to running linux. If you fit these qualifications it is a rather fun experience and a great learning tool.
Ubuntu I'm linking this again because it is the same area you would obtain the Full Version of the software to download.
Linux Distro Watch contains a complete list of the most recent Linux Distro's. Pick a flavor and read up on how to install.
Dual Boot
AdamOutler has suggested that this Section be added. Dual booting is an option that replaces your boot loader with an "option" screen allowing you to select which OS you wish to boot. I honestly can't recommend this to beginners and even though I consider myself more of an advanced user, I have experienced issues with this in the past. Simply put if that boot-loader somehow gets corrupted you can render the entire machine inaccessible. Mind you it has been a LONG time since I used a dual-boot solution and I'm sure the methods have improved significantly over the years. Adam has mentioned that the Live-CD and USB-Stick versions offer you the option to install the boot-loader now. Like I said, once I went to VM's I haven't looked back but this IS a viable option if you are so inclined. The advantage would be that your Linux Distro would run at full speed and would be just like having your own Linux workstation without the need to purchase or obtain additional hardware. Simply select the OS you wish to run (Windows, Linux, ETC.) and boot into that OS. Adam's post can be viewed HERE. Thanks Adam!
User Suggestions
Wubi was recommended by Veronica (Lavero.Burgos). It looks like it may be a pretty easy (and Cool) option. Give it a shot! Thanks Veronica!
Know-Fear has offer some additional Instructions in This Post. Good Information there. Give him a thanks!
Birdsbeaks recommends NOT taking the easy road if you are truly interested in "learning" Linux. He suggests that you start with a distro that has a "steeper learning curve". One of his recommendations was Slackware. He also prefers MINT over Ubuntu as he feels it is less "proprietary". You can read his full comment HERE.
By no means is this list even close to complete. I simply wanted to give you a starting point and the rest is up to you. I have tried a few of these solutions in the past but since moving to a VM solution that is where I stand. Since it has been awhile, your mileage may vary (YMMV) but this should get you started.
If you have questions feel free to post them and I will do my best to help you along but the best way to learn is to experiment on your own.
If anybody has tried other versions or solutions feel free to post them and I will update the Original Post (OP).
Have fun and good luck!
****Reserved*******
I choose to dual boot windows 7 and Ubuntu.
All the options you mentioned work. Probably a live CD or USB would be the best bet for most people, since most probably wont spend alot of time on it.
@LandMaster you forgot Wubi, also have anyone tested Ubuntu 12.04 LTS alpha? So far im researching about Cinnamon Linux Mint 12 which looks promising .
~ Veronica
lavero.burgos said:
@LandMaster you forgot Wubi, also have anyone tested the new 12.04 LTS alpha of Ubuntu? So far im researching about Cinnamon Linux Mint 12 which looks promising .
~ Veronica
Click to expand...
Click to collapse
Added. Thanks!! Looks cool. I had never heard of it
What is this Windows you speak of.
don't forget to add in the full installation that most Live CDs and USB sticks will give you the option to run "side-by-side" or "Dual-boot". Personally, I'd just wipe Windows from the computer, if you need it back for some reason just use your quick restore disks.
I run a dual boot on my netbook because I have some hardware that requires Windows. Other than that, I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux. With guest additions, you can make them full-screen or share your desktop with the virtual machine so "Windows" windows appear in the same space as the Linux windows.
AdamOutler said:
don't forget to add in the full installation that most Live CDs and USB sticks will give you the option to run "side-by-side" or "Dual-boot". Personally, I'd just wipe Windows from the computer, if you need it back for some reason just use your quick restore disks.
I run a dual boot on my netbook because I have some hardware that requires Windows. Other than that, I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux. With guest additions, you can make them full-screen or share your desktop with the virtual machine so "Windows" windows appear in the same space as the Linux windows.
Click to expand...
Click to collapse
I added a dual-boot section to the OP. I'm out of thanks for the day. I'll hook you up later.
Totally agree about Windoze. I have a really good laptop that runs Win 7 and it would take me about an hour just to clean the dust off of it.
As this guide is for "beginners" I didn't really want to tell them to forego windows and wipe their boxes. Hopefully they will come around once they have a chance to experiment with Linux.
AdamOutler said:
don't forget to add in the full installation that most Live CDs and USB sticks will give you the option to run "side-by-side" or "Dual-boot". Personally, I'd just wipe Windows from the computer, if you need it back for some reason just use your quick restore disks.
I run a dual boot on my netbook because I have some hardware that requires Windows. Other than that, I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux. With guest additions, you can make them full-screen or share your desktop with the virtual machine so "Windows" windows appear in the same space as the Linux windows.
Click to expand...
Click to collapse
Nice!. Adam i have a question for you, i have a netbook as well HP110CA(that gave to bf) 1GB of ram and im having issues with linux on it. It came with windows XP off course and i had to format it twice because it got viruses while in Canada, so i just wiped out and put ubuntu 10.10 in that time. At first was running ok but eventually it started to freeze, later on upgraded to 11.04 and it messed things up so i decided to try other "light" distro and i put Jolicloud(based on ubuntu) again started running fine but keeps freezing and more often, now i don't know what else to put in i was thinking on Puppy linux lol but im not sure why it freezes that much. When i had it with windows it never froze though but i don't want to go back to windows only if its my last resource. What would you recommend? im starting to think its a hardware failure and that linux is too much for that poor machine .
~ Veronica
Hell yeah but I think I messed up bc i. Put the disk in and restarted and it to me to a black screen with cursor so i even up have to goto bios or cmos one of those and change first boot to dvd so hopefully after I'm done with this I. Can get back to windows hopefully my drive order is correct
___________________________________________
Sent from my PG86100-EVO3D-using Tapatalk Born Jan 5th 84 and still getting it in eeee
Anon9mouz said:
Hell yeah but I think I messed up bc i. Put the disk in and restarted and it to me to a black screen with cursor so i even up have to goto bios or cmos one of those and change first boot to dvd so hopefully after I'm done with this I. Can get back to windows hopefully my drive order is correct
___________________________________________
Sent from my PG86100-EVO3D-using Tapatalk Born Jan 5th 84 and still getting it in eeee
Click to expand...
Click to collapse
Yup... When booting from a USB drive or CD the boot order must be set in the bios. I recommend just leaving it as:
1. DVD/CD Rom
2. USB
3. C drive
This way here if 1 & 2 are not attached it will boot from the "C Drive"
I would unplug the hard drive if I were the noobs just in case. That way the noobs wont accidentally wipe their Hard drive
My recommendation for "beginners" would be to try Ubuntu in a Virtual machine ( i use Vmware and love it, has never let me down) and you can still work in your Windows interface, it is also easy to share files between windows and your virtual machine.
It is enough for all the sdcard mods and even adb if you want to set it up there too. I prefer this way rather than Wubi because i can work faster that way, i don't need to reboot to boot into windows, i have all i need in the same place .
~ Veronica
I prefer running either zen-mini or pclos gnome in virtualbox myself
Anon9mouz said:
Hell yeah but I think I messed up bc i. Put the disk in and restarted and it to me to a black screen with cursor so i even up have to goto bios or cmos one of those and change first boot to dvd so hopefully after I'm done with this I. Can get back to windows hopefully my drive order is correct
___________________________________________
Sent from my PG86100-EVO3D-using Tapatalk Born Jan 5th 84 and still getting it in eeee
Click to expand...
Click to collapse
This happens when you use a 64 bit Linux on a 32 bit system. Also when you have a bad copy. Burn at a lower speed. Try redownloading.
AdamOutler said:
...
I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux.
...
Click to expand...
Click to collapse
It's been a couple years since I tried running OSX on non-apple hardware / in a vm. Can you point me to a good resource for this?
I don't always use virtual machines, but when I do, I use VirtualBox. Mostly because it's free.
I have ubuntu 11.10 on my netbook and, while I like the interface, it seems like things get a little slugish at times. Anybody out there know of a good distro for netbooks?
RadicalAns said:
I don't always use virtual machines, but when I do, I use VirtualBox. Mostly because it's free.
I have ubuntu 11.10 on my netbook and, while I like the interface, it seems like things get a little slugish at times. Anybody out there know of a good distro for netbooks?
Click to expand...
Click to collapse
I don't always drink beer, but when I do... Oh wait .... getting sidetracked..
I just did a quick search and believe it or not Ubuntu leads the ranking's on This Page
I remember putting the "Netbook Remix" on an older netbook and it ran OK but not great from what I recall. From quickly glancing at this article it sounds like that version has been merged with the main distribution. You may be able to locate a copy of it though and try it out.
Yeah I really like 11.10 for my netbook. I think I may end up just upgrading the ram on the little bugger. It's nice having a Linux machine that I can muck around on while watching TV w/ the wife.
lavero.burgos said:
Nice!. Adam i have a question for you, i have a netbook as well HP110CA(that gave to bf) 1GB of ram and im having issues with linux on it. It came with windows XP off course and i had to format it twice because it got viruses while in Canada, so i just wiped out and put ubuntu 10.10 in that time. At first was running ok but eventually it started to freeze, later on upgraded to 11.04 and it messed things up so i decided to try other "light" distro and i put Jolicloud(based on ubuntu) again started running fine but keeps freezing and more often, now i don't know what else to put in i was thinking on Puppy linux lol but im not sure why it freezes that much. When i had it with windows it never froze though but i don't want to go back to windows only if its my last resource. What would you recommend? im starting to think its a hardware failure and that linux is too much for that poor machine .
~ Veronica
Click to expand...
Click to collapse
Can someone help me with this one plz i don't know what else to install it lol oh well maybe i end up going back to windows XP.. sigh
~ V

Linux Help Thread

So since beaups has announced that s-off for 2.06 will be for Linux only, a lot of people are preparing by either trying to set up a Linux partition or Live DVD/USB. I just thought I'd make a thread for general info and help getting it working properly. I'm not going to go super in-depth with this because there's a plethora of information online this is more just for some tips to get you started.
Disclaimer: Make sure your computer is backed up before doing this. You shouldn't run into any problems that will screw it up, but you never know what could happen. Better safe then sorry, right? If your computer explodes, it's not my fault.
Some general info about LInux
Essentially, Linux is just a kernel. Android is based off the Linux kernel, and your cable box, router, and most web servers probably are as well... And a lot of other things you might not think of.
Desktop Linux has what are called distrinutions. These are basically the equivalent of Android ROMs, just operating systems based on Linux. If you are just starting out, you probably want to use Ubuntu or Linux Mint as they are the most user-friendly.
Making the Live DVD/USB
-First you obviously need the iso. Here is a link to the Ubuntu download: http://www.ubuntu.com/download/desktop
-Unless you have a computer that doesn't support 64-bit, just get the 64-bit download. If you have a UEFI-based computer, you definitely want the 64-bit iso because it's UEFI native, which will make things easier, and you will also want to read this: https://help.ubuntu.com/community/UEFI
-If you're trying to boot the Live DVD on a Mac, you also want the 64-bit iso, and you need rEFIt: http://refit.sourceforge.net/
-If you just want to boot from the DVD, you can burn it with pretty much any DVD burning software. If you want to make a live USB, use unetbootin: http://unetbootin.sourceforge.net/ or Pendrive Linux: http://www.pendrivelinux.com/category/usb-creator/
Installation
-If you only plan on using Linux once to s-off your phone, you don't really need to do this, just use the Live DVD.
-If you haven't already, you probably want to hook up an ethernet cable to your computer in case the wireless drivers aren't available.
-If you actually want to install it on a PC, it's pretty straightforward, just use the "Install Ubuntu alongside Windows" option, unless you want to partition it manually with the "Something else" option (I won't go into that here).
-If you want to install it on a Mac, you will need rEFIt, which I already mentioned. You also need to add a fat32 partition to your drive that you will reformat to ext4 with the Ubuntu installer. Install rEFIt, reboot twice and then you should see the rEFIt boot menu where you can choose your live disc. One very important thing about this: If you are installing Linux to the same drive as an OS X installation, DO NOT choose the "install alongside" option. It will break your install. Use the "Something else" option. By default, Linux wants to install grub to the MBR, but you need to reformat your fat32 partition to ext4 instead and install it to that partition. Then you can just boot into it with rEFIt. The rest is pretty much the same as installing it on a PC.
Post-install
-At this point, it's going to want to install some updates and maybe some proprietary drivers it may need and that's it. Really all you need to do after this is install the android drivers. The easiest way is to use apt-get which is basically a package installer for everything in Ubuntu's software repos. Open up Terminal, and type in: sudo apt-get install android-tools-adb android-tools-fastboot. Hit enter, type in your password, then it will ask you to confirm and blah blah blah and then it will download and install it. That's really it. I don't know what else may be necessary at this point since the s-off tool hasn't been released yet.
Some other links that may be helpful:
-Dual-boot on PC: http://www.linuxbsdos.com/2012/05/17/how-to-dual-boot-ubuntu-12-04-and-windows-7/
-Dual-boot on Mac: http://lifehacker.com/5934942/how-t...-and-take-back-your-powerhouse-apple-hardware
-Triple-boot on Hackintosh: http://lifehacker.com/5698205/how-to-triple-boot-your-hackintosh-with-windows-and-linux
-If you want to build a ROM from the source (Ubuntu 12.04): http://forums.androidcentral.com/ve...99-guide-ubuntu-compiling-android-source.html
-Linux forums, the folks here are very helpful: http://www.linuxforums.org/forum/
-Terminal basics: https://help.ubuntu.com/community/UsingTheTerminal
I hope this is helpful. If anyone has any suggestions to add to this post feel free.
EDIT: One more thing! If you are asking for help, please post what computer you are using, the specs, and whether it is BIOS-based or UEFI-based.
Nice write up thanks for sharing this will help a lot of folks
Sent from my Liquid Smooth Nexus 7
Nice write up but can you link me where beaups said that? If that's true that sucks.
Sent from my HTC6435LVW using Tapatalk 4 Beta
deathrow1992 said:
Nice write up but can you link me where beaups said that? If that's true that sucks.
Sent from my HTC6435LVW using Tapatalk 4 Beta
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=42118877&postcount=601
Be grateful that you are getting s-off for free.
kern3l said:
http://forum.xda-developers.com/showpost.php?p=42118877&postcount=601
Be grateful that you are getting s-off for free.
Click to expand...
Click to collapse
LOL? Because I am unfamiliar with linux I'm ungrateful? I never said if moonshine is linux only im going to destroy beaup's face or anything like that, jeez. Now I see why people from androidforums would amputate a leg before they come over here. So hostile.
Thanks for the link though.
deathrow1992 said:
LOL? Because I am unfamiliar with linux I'm ungrateful? I never said if moonshine is linux only im going to destroy beaup's face or anything like that, jeez. Now I see why people from androidforums would amputate a leg before they come over here. So hostile.
Thanks for the link though.
Click to expand...
Click to collapse
I think he took it as "if its Linux only then the method sucks" while I can see that your just trying to say you wish it was on windows as well but whatever, it can be taken as as much more negative thing... Remember attacking back only causes more hostility let's all please get along.
Sent from my Galaxy Nexus using Tapatalk 4 Beta
He never really said it's Linux only... Simply hinted it. For all we know he may be delaying to get a windows version working.
Sent from my HTC6435LVW using xda app-developers app
Ok so I am trying to dual boot windows 8 and linux mint 15. I have an ASUS X55C laptop that cane preloaded with Windows 8. I made a liveusb that works great but now is like to dual boot. After i install linux mint I restart and choose to run mint as the os. Then I get this message. Also here is the guide I followed to install mint
http://www.howtogeek.com/99060/how-to-dual-boot-windows-8-and-linux-mint-on-the-same-pc/
Windows has failed to start. A recent hardware or software change might be the cause. To fix the Problem
1. Insert Windows installation disc and restart your computer. 2 Choose your language settings and click next. 3, Click repair your computer.
If you do not have this disc, contact your system administrator or computer manufacturer for assistance
File: \linuxmint\winboot\wubildr.mbr
Status 0xc000007b
Info: The application or operating system couldn't load because a required file is missing or contains errors
EvolutionXJ
Level 1
*
Posts: 3
Joined: Wed Jun 05, 2013 3:58 pm
Sent from my HTC6435LVW using xda app-developers app
Does windows still start? Did you use the 32 bit or 64 bit version of mint?
Also does your computer have uefi?
Sent from my DNA using Tapatalk 2
jamiethemorris said:
Does windows still start? Did you use the 32 bit or 64 bit version of mint?
Also does your computer have uefi?
Sent from my DNA using Tapatalk 2
Click to expand...
Click to collapse
Yes windows will still start up and linux will still start up from my usb. Im actually on linux through my liveusb now. I downloaded the 64bit linux since my laptop came pre downloaded with a 64 bit windows 8. ALso it is a UEFI. I have secure boot disabled as well. I just am confused as to why it runs fine from my usb. But wont run when its installed to my computer.
Using Android Tools on Ubuntu 12.04
Native Ubuntu 12.04 installed on a bootable memory stick needs also to reference the repository that the tools are located.
Once you have booted into Linux, then execute the following commands from a terminal window
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
deathrow1992 said:
LOL? Because I am unfamiliar with linux I'm ungrateful? I never said if moonshine is linux only im going to destroy beaup's face or anything like that, jeez. Now I see why people from androidforums would amputate a leg before they come over here. So hostile.
Thanks for the link though.
Click to expand...
Click to collapse
lol i forgot about androidforums, that was the first place i used to post
i eventually came over to xda cuz all the developers at the time only supported their work here
EvolutionXJ said:
Yes windows will still start up and linux will still start up from my usb. Im actually on linux through my liveusb now. I downloaded the 64bit linux since my laptop came pre downloaded with a 64 bit windows 8. ALso it is a UEFI. I have secure boot disabled as well. I just am confused as to why it runs fine from my usb. But wont run when its installed to my computer.
Click to expand...
Click to collapse
That's really strange. Do you have an option for legacy bios in your bios or anything like that you can change?
Sent from my DNA using Tapatalk 2
jamiethemorris said:
That's really strange. Do you have an option for legacy bios in your bios or anything like that you can change?
Sent from my DNA using Tapatalk 2
Click to expand...
Click to collapse
Just checked for legacy boot. Don't have it. SO secure boot is still off in the UEFI. This is going to drive me crazy...
EvolutionXJ said:
Just checked for legacy boot. Don't have it. SO secure boot is still off in the UEFI. This is going to drive me crazy...
Click to expand...
Click to collapse
Hopefully someone else will have some more insight, for now I have to go to class. I'll look into it more when I get home.
Sent from my DNA using Tapatalk 2
I didn't see anything about Linux only in the new moonshine thread. Is this still necessary?
If the other guy is like me rooting a phone is the absolute limit of our technical abilities. Now I have to learn to change things on my desktop? I'm grateful, but I'd rather pay for a windows version than go messing around with my desktop. I guess I'll try to learn what livecd is now.
@EvolutionXJ something just occurred to me. Since your PC more than likely has GPT instead of MBR, you may need to use gptsync to sync the partition tables. To so this, boot into your live disc, open the terminal, and type sudo apt-get install gptsync. After it installs, do sudo gptsync /dev/sda. I had an issue similar to yours trying to triple boot my netbook and that was the solution. Let me know if you get stuck again.
Also are you using windows boot manager to boot Linux or are you using GRUB (it might be lilo in the case of uefi)
Sent from my DNA using Tapatalk 2
Forget the gptsync thing, I don't think that's the issue. Don't think you would need to do that with a uefi pc
Sent from my DNA using Tapatalk 2
I have Ubuntu booting on my mac through a virtual box and I've never been able to get it to recognize any of my devices. It's usually why I just wait for a Mac method, but I'm super excited to get this bad boy dialed.
Any ideas? I've tried reinstalling Ubuntu and adb multiple times through different methods, but no dice. And yes, I have usb debugging checked. I've also tried 3 different cables and all of my usb ports. Thanks for any help!
Sent from my DNA all in ya mouf

Categories

Resources