Is it possible to install Kubuntu /Plasma Active? - Defy Q&A, Help & Troubleshooting

Is there a way to install Kubuntu Active in a image and run it in chroot? Complete Linux Installer Ubuntu 12.04 works in my Defy+ but I had to edit script files, remove md5 etc...
Sent from my MB526 using xda app-developers app

like to install Kubuntu also
Hi
I just got a Zeki at Sears and would like to attempt a Kubuntu install also.
I do not mind if it gets bricked, this is an experiment so any advice would be appreciated.
From other threads it occured to me that since the device is already "rooted" that one could possibly...
big picture here...
zip or tar the OS, put it into memory, possibly the sd card, and unzip/untar and just attempt an install?
Too simple?
woodsmoke

Related

[Q] Droid X on Mac Gingerbread Help

Ok so I have a Droid X with the OTA gingerbread installed. I want to get back and root. Is there some sort of guide for MAC in order to do this? I'm pretty noobish. I rooted my eris and just got my droid X today so hoping I can do this tonight. I don't want to have to install windows or linux or anything on my mac.
As a Mac user, I strongly recommend VirtualBox (or the virtualization software of your choosing) and an Ubuntu install. Then use sbf_flash. Works like a charm. Faster than RSDLite in Windwos and more reliable IMHO. You might be able to get sbf_flash to work with a Linux VM, but it wasn't worth the effort for me since I already had an Ubuntu VM.
As a total noob lets say. Could you give me a step by step so I don't mess this up? Also could I use a bootable linux usb drive?
I used VirtualBox and Ubuntu. I suppose you can use a bootable Linux USB drive it you'd like, but I find it easier just to have VirtualBox installed. I've got a couple of different OS images that I use sporadically.
Step 1: Install VirtualBox
Step 2: Install Ubuntu in Virtualbox
Step 3: Follow instructions here for sbf_flash and Ubuntu: http://forum.xda-developers.com/showthread.php?t=1020203
I'm sure it seems overwhelming, but honestly, it's not that hard.
I can't even get virtualbox installed without an error. Is there an alternative software?
Gingerbread doesn't have a root currently. Only real option to root the OTA is SBF to 2.2, then root that using something such as z4root (which is simply a .apk you save and install on your phone then click the "root" button in the application). Then install the team black hat version of gingerbread
Sent from my DROIDX using XDA App
If you don't have a lot to lose as tthough you just got your phone, you can boot into recovery and wipe your phone to factory settings. That's the least complex way to do it. And none of this requires any specific computer operating system.
Sent from my DROIDX using XDA App
Let's just say that's what you get for using a mac :3
djsupersoak said:
If you don't have a lot to lose as tthough you just got your phone, you can boot into recovery and wipe your phone to factory settings. That's the least complex way to do it. And none of this requires any specific computer operating system.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
Really? This will work? I can just restore back to factory settings, re fill out my google account, then go from there?
Why don't people do this then, doesn't the SBF and rooting and all that stuff wipe your phone anyways?
djsupersoak said:
If you don't have a lot to lose as tthough you just got your phone, you can boot into recovery and wipe your phone to factory settings. That's the least complex way to do it. And none of this requires any specific computer operating system.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
And that will just get rid of his data an he still won't be able to root. Op you have to SBF in order to root
mdemps9190 said:
I can't even get virtualbox installed without an error. Is there an alternative software?
Click to expand...
Click to collapse
Odd, never had a problem here. What's the error? Alternatives are Parellels and VMware. You can always succumb to the pressure of Windows and use Boot Camp if you don't like the idea of using a VM. Personally, I don't like the idea of Boot Camp, but to each their own.
Jmoney47 said:
And that will just get rid of his data an he still won't be able to root. Op you have to SBF in order to root
Click to expand...
Click to collapse
Ok. I thought it would factory reset to 2.2 if that was the state he purchased the phone in.
In any case. After you get it to 2.2, root it using a one-click root such as z4root then install the TBH/p3 Gingerbread.
Sent from my DROIDX using XDA App
djsupersoak said:
Ok. I thought it would factory reset to 2.2 if that was the state he purchased the phone in.
In any case. After you get it to 2.2, root it using a one-click root such as z4root then install the TBH/p3 Gingerbread.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
Factory reset is the same as wiping data in cwm
All very amusing considering there's no reason to load a linux vm; sbf_flash will run on a mac.
If SOMEONE could give me step by step instructions on how to do this sbf flash on my mac then (OR UBUNTU) then that would be helpful. Everything is vague and I'm not going to try and figure this out on my own then brick my new droid x.
openbox9 said:
As a Mac user, I strongly recommend VirtualBox (or the virtualization software of your choosing) and an Ubuntu install. Then use sbf_flash. Works like a charm. Faster than RSDLite in Windwos and more reliable IMHO. You might be able to get sbf_flash to work with a Linux VM, but it wasn't worth the effort for me since I already had an Ubuntu VM.
Click to expand...
Click to collapse
As a Mac Genius ;-) I recommend just using the Mac without any emulator. sbf_flash works flawlessly running in native Mac, Just follow the instructions for Linux by making the script executable and then running with sudo command.
mdemps9190 said:
If SOMEONE could give me step by step instructions on how to do this sbf flash on my mac then (OR UBUNTU) then that would be helpful. Everything is vague and I'm not going to try and figure this out on my own then brick my new droid x.
Click to expand...
Click to collapse
Let's see ...
go find an sbf file; these aren't normally distributed to customers, you may have to search.
download sbf_flash
open a terminal and navigate to the directory where you've downloaded the above two files.
run "chmod +x sbf_flash" to set the program as executable
run "./sbf_flash filename.sbf" using the correct filename to start the reflash process.
connect the phone and perform whatever steps are required to boot the phone into the bootloader. (usually powering on while holding a key combo)
I'll leave it to someone else to spell out each one of those steps in agonizing detail. It's the exact same regardless of linux or mac.
Worst case is your battery dies in the middle of reflashing, and you're forced to buy an external charger to recharge the battery so you can restart the reflash.
How do I navigate to the folder in terminal?
cd is the change directory command in unix/terminal. I say put everything you need on the desktop that way its easy to navigate to it. If you google the DoRoot sequence you can follow those steps to navigate to your file, something like cd yourmacusername/desktop/filename if i remember correctly and then execute the file.
Sent from my DROIDX using XDA App
dplace said:
I recommend just using the Mac without any emulator. sbf_flash works flawlessly running in native Mac, Just follow the instructions for Linux by making the script executable and then running with sudo command.
Click to expand...
Click to collapse
Good to know. I already had an Ubuntu VM configured so I never bothered trying sbf_flash in OS X. Thanks for the tip.
FWIW, a virtual machine isn't an emulator

[Q] Flashing via Linux

Hi Guys,
i recently installed Ubuntu 11.10 as my primary OS. I had been flashing a lot when i had a system with Windows 7, but the system i have now will not run the OS efficiently and thus my second option is Ubuntu.
I was wondering if there is any way to flash ROMs from a linux system, preferably Ubuntu.
Thanks,
Sam
android_murphy said:
Hi Guys,
i recently installed Ubuntu 11.10 as my primary OS. I had been flashing a lot when i had a system with Windows 7, but the system i have now will not run the OS efficiently and thus my second option is Ubuntu.
I was wondering if there is any way to flash ROMs from a linux system, preferably Ubuntu.
Thanks,
Sam
Click to expand...
Click to collapse
Download "Wine" from the Ubuntu Software Center, it can run Windows Softwares....
Just run Odin using Wine and do the usual and flash....
[email protected] said:
Download "Wine" from the Ubuntu Software Center, it can run Windows Softwares....
Just run Odin using Wine and do the usual and flash....
Click to expand...
Click to collapse
Hmmm... but i have heard that Wine does not support USB. Anyway will check when i get home.
I once read somewhere there was something like Odin for Linux based system called Heimdall..
Maybe that's what you need?
Dympy.
Sent from my GT-I5800 using xda premium
dympy said:
I once read somewhere there was something like Odin for Linux based system called Heimdall..
Maybe that's what you need?
Dympy.
Sent from my GT-I5800 using xda premium
Click to expand...
Click to collapse
Won't work with our phones, needs a .pit file, aka partition table
Tried ODIN via Wine ... Doesn't detect the phone...
Really is there no other way?? How come i can't flash a Linux Kernel based OS from a Linux System (kinda ironical isn't it :'()??
I'm a linux user too and I tried almost everything I think.
Wine : It'll not work. No proper usb driver support.
Virtualbox : Odin detects the phone but fail when the flash process start. The reason is that Virtualbox acts as a wrapper between windows and Linux' usb so some data are modified.
In all cases, don't try anything with odin because it can result with a bricked phone if data transmmitted to the phone are incorrect during bootloader flashing.
So, I recommand to flash only with cwm via update.zip or adb push. It's possible to mount a rfs file on linux and then push all files via adb.
@android_murphy : Create an update.zip with your zImage. Use the zip used for CM7 kernel.
Arakmar said:
I'm a linux user too and I tried almost everything I think.
Wine : It'll not work. No proper usb driver support.
Virtualbox : Odin detects the phone but fail when the flash process start. The reason is that Virtualbox acts as a wrapper between windows and Linux' usb so some data are modified.
In all cases, don't try anything with odin because it can result with a bricked phone if data transmmitted to the phone are incorrect during bootloader flashing.
So, I recommand to flash only with cwm via update.zip or adb push. It's possible to mount a rfs file on linux and then push all files via adb.
@android_murphy : Create an update.zip with your zImage. Use the zip used for CM7 kernel.
Click to expand...
Click to collapse
I'm also Linux user. Virtualbox does not work. But with VMwarePlayer (XP or Win 7) ODIN works fine. That's unfortunately the only way...
I use ubuntu as my main os and windows for flashing It's always good to have a working windows somewhere for odin
Arakmar said:
I'm a linux user too and I tried almost everything I think.
Wine : It'll not work. No proper usb driver support.
Virtualbox : Odin detects the phone but fail when the flash process start. The reason is that Virtualbox acts as a wrapper between windows and Linux' usb so some data are modified.
In all cases, don't try anything with odin because it can result with a bricked phone if data transmmitted to the phone are incorrect during bootloader flashing.
So, I recommand to flash only with cwm via update.zip or adb push. It's possible to mount a rfs file on linux and then push all files via adb.
@android_murphy : Create an update.zip with your zImage. Use the zip used for CM7 kernel.
Click to expand...
Click to collapse
Yeah CWM update.zip is a good option but not everyone provides the entire rom via update.zip. I guess only the CM7 one is in that format.
mankokoma said:
I'm also Linux user. Virtualbox does not work. But with VMwarePlayer (XP or Win 7) ODIN works fine. That's unfortunately the only way...
Click to expand...
Click to collapse
Thanks for the info, it works well with VMWare

Nexus 7 - how to on linux

Hello All,
I've read that linux does not open up the file system of nexus 7 when connected? Is that right? if yes, how can one transfer files to nexus 7?
Am waiting on my device which should arrive in few days. I really dont want to go some where else to copy my files or use apps to transfer files over the air. My phone is android and linux shows me the sd card folder right away after plugging in...
Also, can you guys please point me towards howto on rooting my device while on linux? I have seen wndows has one click method which is pretty awesome. I realize we might not have one click methods in linux, am willing to do it the hardway too..just need some direction.
Any help would really be appreciated. Thanks for taking your time.
Linux mint user here if that makes any difference. Thanks
Boomboy said:
Hello All,
I've read that linux does not open up the file system of nexus 7 when connected? Is that right? if yes, how can one transfer files to nexus 7?
Am waiting on my device which should arrive in few days. I really dont want to go some where else to copy my files or use apps to transfer files over the air. My phone is android and linux shows me the sd card folder right away after plugging in...
Also, can you guys please point me towards howto on rooting my device while on linux? I have seen wndows has one click method which is pretty awesome. I realize we might not have one click methods in linux, am willing to do it the hardway too..just need some direction.
Any help would really be appreciated. Thanks for taking your time.
Linux mint user here if that makes any difference. Thanks
Click to expand...
Click to collapse
I have no problems loading the file system on my Arch System. However, I personally rooted using Windows and the One-Click. Since all it does is use adb to push files onto the system, it is 100% possible to root and unlock using Linux. Just make sure you have the Android SDK installed. Follow this guide here: http://forum.xda-developers.com/showthread.php?t=1741395 for the acutal rooting
-Twitish
twitish said:
I have no problems loading the file system on my Arch System. However, I personally rooted using Windows and the One-Click. Since all it does is use adb to push files onto the system, it is 100% possible to root and unlock using Linux. Just make sure you have the Android SDK installed. Follow this guide here: http://forum.xda-developers.com/showthread.php?t=1741395 for the acutal rooting
-Twitish
Click to expand...
Click to collapse
Thanks for taking you time out. When you say you had no problem on arch, are you saying the file explorer just showed the nexus files? were you able to just copy and paste stuff into nexus?
Thanks for the link..will go through it
Boomboy said:
Thanks for taking you time out. When you say you had no problem on arch, are you saying the file explorer just showed the nexus files? were you able to just copy and paste stuff into nexus?
Thanks for the link..will go through it
Click to expand...
Click to collapse
By "showing Nexus files" do you mean the SD card? Linux supports PTP / MTP so this won't be a problem. You won't be able to directly view any other files without some other server installed on the Nexus, such as NFS or CIFS. As already stated, if you install the Android SDK, you will be able to root the device using adb / fastboot shell commands.
I think it depends on which distribution you are using. Ubuntu doesn't have mtp support by default.
Sent from my Nexus 7 using Tapatalk 2
gbroon said:
I think it depends on which distribution you are using. Ubuntu doesn't have mtp support by default.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Easy to get it though.
Yes, i am able to mount my internal storage in Arch if that's what you are asking. As stated before, you must have MTD support in your distro. Since Mint is based on Ubuntu, you may have to do some work. Sorry, not really sure how in Ubuntu.
Sent from my Nexus 7 using xda app-developers app
twitish said:
I have no problems loading the file system on my Arch System. However, I personally rooted using Windows and the One-Click. Since all it does is use adb to push files onto the system, it is 100% possible to root and unlock using Linux. Just make sure you have the Android SDK installed. Follow this guide here: http://forum.xda-developers.com/showthread.php?t=1741395 for the acutal rooting
-Twitish
Click to expand...
Click to collapse
wmoore said:
Easy to get it though.
Click to expand...
Click to collapse
Thanks a ton buddy! Guess I gotta follow that link as am a Mint user..

Need help rooting on ubuntu

Hi, I've been having all sorts of problems trying to root/unlock with my windows7 PC. Another xda user even remoted into my computer and was unable to install the correct drivers.
I was able to unlock using a 13 year old xp PC, but when trying to unlock, the computer would freeze up every time.
Anyway, I've set up a dual boot system on my PC with win7 and unbuntu. I was hoping someone would be able to point me in the right direction to show me how to install the correct drivers in unbuntu (I'm a complete noob at it). Thanks in advance.
Sent from my Nexus 4 using xda app-developers app
Austin Ag06 said:
Hi, I've been having all sorts of problems trying to root/unlock with my windows7 PC. Another xda user even remoted into my computer and was unable to install the correct drivers.
I was able to unlock using a 13 year old xp PC, but when trying to unlock, the computer would freeze up every time.
Anyway, I've set up a dual boot system on my PC with win7 and unbuntu. I was hoping someone would be able to point me in the right direction to show me how to install the correct drivers in unbuntu (I'm a complete noob at it). Thanks in advance.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Do you have the android sdk installed? If you have no idea what that is then it is a no. If you don't then you will need to install it first.
Root
I upladed a package for you that that will automate the install process. You will have to put in the password you use to login and at one point.
To run the package, unzip the attachment to you desktop and open a terminal.
run:
Code:
cd ~/Desktop/root/
chmod a+x install_sdk.sh
chmod a+x root_nexus4.sh
./install_sdk.sh
You will have to choose which packages to install for the android sdk. A screen will popup in the middle of the install and give you options to select the packages. Check to "Tools" folder and continue. This link might help.
When this is finished run
Code:
./root_nexus4.sh
Thanks for the replies. I don't have the SDK installed. Do I need it to install the required drivers?
Sent from my Nexus 4 using xda app-developers app
Austin Ag06 said:
Thanks for the replies. I don't have the SDK installed. Do I need it to install the required drivers?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
There are no drivers to install like windows.
Post #62 in the thread below is a walk through for getting everything setup on Ubuntu 12.10
http://forum.xda-developers.com/showthread.php?p=19446284
Note: The java files have changed to version 7 so the commands in the walkthrough need to be changed to reflect this. ADB does not work without java installed. You also have to manually enter the Nexus 4 into the list of devices which is covered under the editing udev section of the post.
If your not familiar with Linux this isn't easy to get setup, Linux isn't windows that's for sure. You might be better served trying to use one of the toolkits to root your phone. I've used mskips toolkit without any problems.
http://forum.xda-developers.com/showthread.php?t=1995688
---------- Post added at 10:25 AM ---------- Previous post was at 09:59 AM ----------
Austin Ag06 said:
Hi, I've been having all sorts of problems trying to root/unlock with my windows7 PC. Another xda user even remoted into my computer and was unable to install the correct drivers.
I was able to unlock using a 13 year old xp PC, but when trying to unlock, the computer would freeze up every time.
Anyway, I've set up a dual boot system on my PC with win7 and unbuntu. I was hoping someone would be able to point me in the right direction to show me how to install the correct drivers in unbuntu (I'm a complete noob at it). Thanks in advance.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Do you have java installed properly in windows 7 and did you use the sdk manager to download and install the proper packages including the drivers?
http://developer.android.com/sdk/win-usb.html
Austin Ag06 said:
Thanks for the replies. I don't have the SDK installed. Do I need it to install the required drivers?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
In Ubuntu you do not need drivers. I attached a file that will automate the sdk install process. However, I did not include a java jdk installation. You will need that installed on ubuntu in order for the sdk to work. In the SDK there is a tool called "adb", and another called "fastboot". These two tools are what you will use to root your phone using ubuntu. If you absolutely need help installing the java jdk then let me know. Otherwise a google search "install java jdk ubuntu 12.04" should lead you to some good guides. NOTE: I am assuming you are using Ubuntu 12.04. Check which version you actually have.
Thanks for the links. I'll do some reading and try to get this set up tonight.
Austin Ag06 said:
Thanks for the links. I'll do some reading and try to get this set up tonight.
Click to expand...
Click to collapse
I just built an Ubuntu 12.10 box a couple weeks ago and followed the instructions in the link and it worked with no problems. Hardest part is setting up java as I had the instructions up on my windows pc and couldn't cut and paste the commands, the syntax has to be 100% correct or the command won't run and it was hard to judge where I needed to use spaces or not. This is the one thing I hate about Linux and that's having no executables to easily install things like java like there are in windows.

Need advice on setting up linux install

In that I got an idea, took the first step, and am now completely out of my depth.
Let me start at the beginning.
I've always wanted to get into android development, but with the departure of CosmicDan, my recent format of my home computer, and a lucky shot at taking a general development class have all culminated to suggest now's the time.
Here's my objective: Dualcore desktop computer, dualbooting Windows 8 and a flavor of linux focused entirely on being an android toolkit. Here's my problem: I used linux for a week in my highschool networking class most of a decade ago. Red Hat 7 or 8, maybe? Anyway, I know virtually nothing except what I've osmosed from using an ADB shell.
I need to know which flavor of linux is best for android dev, how to set up a dual boot, and after that point, probably step-by-step instructions on establishing a build environment and using github. I'm not completely useless at this, I know how to use google, but a lot of information is outdated and this is a somewhat situational goal.
ANY HELP IS GREATLY APPRECIATED!
Ubuntu!
And google Ubuntu google installer
Sent from my R800i using xda app-developers app
Ubuntu is more user friendly but if you want development I would suggest 1: backtrack 2: arch Linux (for advanced users) 3: fedora
Sent from my R800x using Tapatalk 2
Apparently Backtrack is called Kali Linux now...
"It includes support for the Metasploit Project's Metasploit Framework, a tool for developing and executing exploit code against a remote target machine.[2] It also includes the security tools Wireshark, John the Ripper, Nmap and Aircrack-ng.[2]"
Hahaha hell yes I'll take some of that.
I still think I'll need to install Ubuntu - I don't know how I'd put this particular build on a flash drive. Installing it from inside ubuntu would probably be easiest.
EDIT: Actually they have excellent instructions on the website for setting up a flashdrive.
im using ubuntu just fine
im on ubuntu 10.04 i compile builds fine
Use the Ubuntu wubi installer for dual boot
Sent from my R800i using xda app-developers app
Okay, Kali Linux is installed and operational, programs are updated, and I even figured out how to install Flash via the mysterious powers of 'apt-get'. Using Grub for dual boot, and I found my way around configuring it and populating a new cfg file via the terminal. Whew.
Perhaps 4/20 was a bad choice for learning a new and notoriously complex OS, or maybe it was the best choice.
I guess I'm ready to set up a kitchen, but now I need input again. Do I just 'apt-get' some magical box of android goodies, or is this process more involved?
Edit: The answer is 'more involved', but not by much. I got the kitchen from http://forum.xda-developers.com/showthread.php?t=633246 and I was even able to independantly apt-get my way out of an error without googling it! So, it's running... I guess it's time to start cutting up a ROM. I'm inclined to believe CyanogenMod would be the best starting point for that, and I'm doublefortunate that my roommate has a Nexus he's willing to let me experiment on, as I don't want to navigate the unique structure of Xperias yet.

Categories

Resources