need help installing Ubuntu 13.04 on nexus 7. - Nexus 7 Q&A, Help & Troubleshooting

for the past couple of days i have been trying to install Ubuntu 13.04 on my nexus 7 but unfortunately, i keep running into problems. i have a laptop with Ubuntu 13.04 installed on it, but when i run the desktop installer it gives mean error for checksum validation. then i found a way that you could do it on a windows PC however when i go to download the cd images it bring me to a 404 (page not found) website. i would give the link but i am not allowed due to my account restrictions. if anyone could call me via Skype or team-viewer and could help me or perhaps provide an alternate way of installing Ubuntu or even tell me what i am doing wrong it would be much appreciated.
thanks in advanced, Kevin.

http://cdimage.ubuntu.com/releases/...3.04-preinstalled-desktop-armhf+nexus7.img.gz

dont i also need the boot img?

kevinperyea said:
dont i also need the boot img?
Click to expand...
Click to collapse
If you are installing it as the lone system, than yes, you will need the boot image. If you are using multirom to multiboot, than no, you wont need the boot image.
Sent from my Nexus 7 using xda premium

Its not very hard actually..First decide that do you want to remove android and replace it with android or yoou want to keep android untouched while multibooting ubuntu on your device as a secondary OPERATING system...
If you want me to I can write a full guide describing both procedures....I RECOMMEND MULTIBOOTING....

I need some help too
So i saw this video of a guy having ubuntu 12.04(pc version) on his phone,he was running the linux server on his phone and at the same time accessing it, using androidVNC . BTW i have a samsung galaxy S 4 (sprint Version ,without knox) Running cyanogenmod 11.0 , android version 4.4.2, the kernel version is [email protected] #1 Thu Jan 9 21:12:16 PST 2014 .
I checked if my phone is loop compatible using, the following in terminal emulator : zcat /proc/config.gz | grep CONFIG_BLK_DEV_LOOP , i found it on a webpage , and i got y, that means it is a loop device, but when i ran CompleteLinuxInstaller i got into the following problem
Checking loop device ... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed : Invalid Argument
ERROR: Unable to mount the loop device
but when i did modprobe loop
it didn't find anything
so if you can help, me i am not a genius, just tell me the simplest way to fix this.
Thank's in advance,
GGgamer16
* one more thing ,i saw someting about multibooting, does it work like in windows(when you boot up it's asking you which os to run) or how does it work, and tell me hwo do i do it.

Ubuntu 13.04 on Nexus 7 2012
Posting in wrong spot... couldn't delete :/

Related

[Q] DUAL BOOT UBUNTU And JELLY BEAN AND GUIDE

hey guys, for those that havnt seen it today Ubuntu has been released for the Nexus 7 and for both 8GB and 16GB Models! wondering if anyone in the community has figured out how to dual boot it or if it is even possible? thanks all!
Heres the link of how to install if your wondering
What you will need:
Nexus 7 Tablet (8GB or 16GB)
Standard MicroUSB Cable (should come with the device)
Ubuntu Nexus 7 Desktop Installer installed on your development system
Ubuntu 12.04 LTS or Later
Optional
Micro USB Host Cable (OTG Cable) - used for attaching keyboard, mouse, etc. Directions on how to get and use one of these are towards the bottom of this page.
Ubuntu Nexus 7 Desktop Installer
A simple one-click installer has been provided, and is available in a PPA.
sudo add-apt-repository ppa:ubuntu-nexus7/ubuntu-nexus7-installer
sudo apt-get update
sudo apt-get install ubuntu-nexus7-installer
Usage instructions for the installer are provided below.
Unlocking the Nexus 7
The Nexus 7 ships with a locked bootloader. You must unlock it in order to flash different images to the device. Fortunately, this is a trivial process, and you only need to do it once.
Warning: Unlocking the bootloader erases all data and resets the device to factory defaults.
Reboot the Android device into the Android boot loader. To do this, hold the volume down button and press the power button. Continue holding the volume down and power buttons until you see the boot loader UI. The device now displays the boot loader GUI, which looks like this:
Verify fastboot lists the device:
$ sudo fastboot devices
1234567891234567 fastboot
Start the bootloader unlock process:
sudo fastboot oem unlock
You are prompted on screen to unlock the bootloader on the Android device screen. Follow the on-screen directions to continue. Your screen should now look like this:
Complete the process by rebooting:
sudo fastboot reboot-bootloader
Or simply press the power button.
Installing Ubuntu on Nexus 7
Once all setup has been completed, the installation can start. To install, ensure the Nexus 7 is in fastboot mode, plug it into your computer (and make sure NO OTHER DEVICES are plugged in).
Find the installer in the dash (search for 'nexus'):
This will provide a Graphical Interface for installing Ubuntu. This tool will download the latest image automatically, and flash it accordingly. The flashing step should take about 2 minutes. Once the flashing is complete, the device will reboot and finish the installation. This step can take 10-15 minutes.
Returning your Nexus 7 to Stock Android
Warning: Disconnect ALL other mobile devices connected from your computer or they might get erased too. This will erase ALL DATA on your Nexus 7.
In case anything happens while developing, the system image for Nexus 7 can be found here: https://dl.google.com/dl/android/aosp/nakasi-jro03d-factory-e102ba72.tgz
After downloading the above tarball, uncompress it with the following:
tar zxvf nakasi-jro03d-factory-e102ba72.tgz
Then, place your machine into fastboot mode and run the resulting script:
cd nakasi-jro03d/
sudo ./flash-all.sh
You may get the following warnings, which you can ignore, the restoration will continue anyway.
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
Troubleshooting the Install
If you have problems installing the image, please use the following troubleshooting steps:
Detach the USB cable, restart the tablet back into fastboot mode, and re-attach the USB cable.
If problems persist, reboot your host PC.
If you still have issues, try a different USB cable.
If you have a 16G tablet, try using the 8G image.
If you still have issues after doing all this, return the image to stock using the directions above and re-try.
If none of that works, ask a question on Ask Ubuntu using the mobile tag, or ask for help in the #ubuntu-arm channel on freenode. If you believe it's a bug, file a bug against ubuntu-nexus7 in Launchpad.
Ehm, do i miss something or is this ubuntu only installation?
Edit: i mean, not dual boot, but only ubuntu
Do I need a mouse and a keyboard to use Ubuntu? Or I can also without them?
Rusl1TA said:
Do I need a mouse and a keyboard to use Ubuntu? Or I can also without them?
Click to expand...
Click to collapse
it has a built in touch keyboard/mouse, so you can do either way
you can use a touch screen for it, mouse and keyboard is compatible
what do you mean ubuntu only install?
sorry if you mis understood, but i posted the guide there but i am also curious if theres a dual boot avaliable.
is bluetooth not usable in the in ubuntu while installed?
And I saw this install method over at androidcentral.com and I dont recall it being dualboot. It did a complete install of ubuntu only and erased android from the device
As of right now, dual-booting is not an option, however, this build did just come out today, and in the coming weeks, we'll likely have many updates and options, so i'd hang tight. Needless to say, it's a great experience
yess dual boot will be awesome.
Download and follow the instructions in the complete Linux installation guide. (Its an app in the play store) It works pretty well and you can use Ubuntu, Debian and a few others without wiping your system. I prefer the Ubuntu lite version. Something else to try out
Sent from my Nexus 7 using xda app-developers app
technolust109 said:
what do you mean ubuntu only install?
sorry if you mis understood, but i posted the guide there but i am also curious if theres a dual boot avaliable.
Click to expand...
Click to collapse
Why did you title the thread as "Dual Boot Ubuntu" then?? Confused as well.
Change your thread title,its misleading.
yes my question was about dual booting, sorry if theres any confusion caused.
Folks, it's not that hard of a question when you actually read what the poster states. CURRENTLY, THERE IS AN INSTALLER THAT INSTALL UBUNTU TO THE NEXUS 7, BUT DOING THIS WILL CAUSE THE DEVICE TO BE FULLY WIPED FIRST REMOVING ANDROID. HE IS WONDERING IF THERE COULD BE [OR IS] AN INSTALLER THAT INSTALLS UBUNTU ALONGSIDE ANDROID TO BE ABLE TO BOOT THE DEVICE TO EITHER OS AS THE USER WISHES [ ALSO ASKING IF DUAL BOOTING BETWEEN THE 2 IS EVEN POSSIBLE.SO HE KNOWS IF IT IS WORTH HIS TIME TO INVEST IN MAYBE FIGURING IT OUT ON HIS OWN]. I am going to assume some form of dual booting would be possible as Linux bootloaders are generally very capable of booting OSes that use environments totally different from itself.
I am wondering the same thing as I am a very good technical user who can deal with a lot of issues, but have never gotten deep in to the programming side of things. I am shocked that for such an alpha build [really flaky Bluetooth, [Wi-Fi is solid] Unity crashes quite often and nVidia has had sucky Linux driver support for years now [wish they would take Linux more seriously but hey at least they have drivers]]. All leads to a painful experience for most [especially if you are not a nerd or techie and not used to dealing with very new alpha Linux type issues, if you don't mind it it does work].
Why wouldn't they have set it up as a dual boot to begin with? That way if you know something you need to get done can be done in Android and not in Ubuntu then you could just restart and choose the different OS. Not to mention if this is for modders and enthusiasts to test bed things on the tablet then they are going to most likely be some Android developers to start who would love to say use Eclipse to develop Android code for whatever and then oh no restart in to Android to I dunno test their work.
All that to say PLEASE SOMEONE WITH THE KNOW HOW let's figure out a way to fully dual boot a NATIVE Linux [not that install a loop file system and have it use VNC server to view the session junk you see on the Play Market, it's quaint and all, but not nearly as nice as a full Linux with full access to the hardware [I use it too, much love to backtrack] but am dying to dual boot an Android/More full [ I REALLY want Backtrack 5+ but Ubuntu would be worth keeping around until Backtrack gets around to working out their builds to be dual boot on some Android based systems] Linux as needed.
The approach that the Boot Manager app uses would probably work. They modify the /boot partition to point to a different device for /data than normal. Then you can switch between ROMs by flashing a different /boot partition. They automatically bundle the /boot partition into an update.zip and store them next to the image file on you SD card.
thanks for clearing it out RealPariah! by the way your username link to the band pariah orr? Cheers.
I would like to try this but what's the best/easiest way to back up my system? (I.e. app and game save data as well as for directory bind and folder structures). I tried clockworks backup process before, but I either did it wrong or it doesn't cover everything.
Can I just copy paste everything from my root folder?
Nikguy said:
I would like to try this but what's the best/easiest way to back up my system? (I.e. app and game save data as well as for directory bind and folder structures). I tried clockworks backup process before, but I either did it wrong or it doesn't cover everything.
Can I just copy paste everything from my root folder?
Click to expand...
Click to collapse
you might want to try and use titanuium backup and copy out the entire "titanium backup" folder onto your computer, so when you revert back to android you should be able to copy it back in and restore from titanium backup. hope it works.
technolust109 said:
you might want to try and use titanuium backup and copy out the entire "titanium backup" folder onto your computer, so when you revert back to android you should be able to copy it back in and restore from titanium backup. hope it works.
Click to expand...
Click to collapse
Huh great idea! Thanks, I'll give it a shot
all good mate! good luck!

Samsung Galaxy S4 Backtrack problem !!!

hello forum users,
I bought the Samsung Galaxy S4 2 month ago and I want to run Backtrack 5 ARM version on it, but everytime is want to start BT there are mount errors or other issues so that backtrack wont start, and my question is what do i wrong ?? i rooted my phone already and tried to start linux with the complete linux installer from the playstore. I installed busybox and vnc viewer and terminal emulator already. Even tried to start BT with the boobt sh command but it failed to on mount issues etc. my phone
Samsung galaxy s4 GT-I9505 with 16 GB and 32 GB Sdcard
jelly bean 4.2.2 and rooted device
Can anyone help me ?
Backtrack on S4
itworksfine said:
hello forum users,
I bought the Samsung Galaxy S4 2 month ago and I want to run Backtrack 5 ARM version on it, but everytime is want to start BT there are mount errors or other issues so that backtrack wont start, and my question is what do i wrong ?? i rooted my phone already and tried to start linux with the complete linux installer from the playstore. I installed busybox and vnc viewer and terminal emulator already. Even tried to start BT with the boobt sh command but it failed to on mount issues etc. my phone
Samsung galaxy s4 GT-I9505 with 16 GB and 32 GB Sdcard
jelly bean 4.2.2 and rooted device
Can anyone help me ?
Click to expand...
Click to collapse
I'm having issues as well, however I can at least get it to boot. Have you tried setting it up by following these instructions? http://forum.xda-developers.com/showthread.php?t=1079898
My problem is starting the gui with vnc. All I get is a grey box. Also, I'm not sure why but I'm missing tools like airmon, aireplay etc. which should be in /sbin. Also when ever I attempt to run any of the programs from terminal emulator I get a message:
ifconfig is available in /sbin
The command could not be located because /sbin is not included in the PATH environment variable. This is most likely caused by the lack of admin priviledges associated with your user account.
i am sorry i tried to delete the poste (wrong adress ) but i can't
if any one tells me how to delete it
Ps : or how to make the script work on galaxy s4 it would be great, thanks

Installing Linux on Android

Solutions to installing Linux on CM11 on my OnePlus One
So, I wanted to install Kali on my phone and encountered many issues. I have found solutions to my issue and thought I would share the solutions for those who also encounter my issues.
1. Unable to change root password.
This issue was solved by installing com.mrbimc.selinux from play store (Sorry, I hate the rules and wish I can skip them and post a URL) and changing to permissive mode.
You may need to run this in Linux after you configure it
Code:
apt-get install selinux-policy-default
2. After running upgrade, I saw that PostgreSQL could not start causing the upgrade to fail "could not create IPv4 socket: Permission denied" and found the solution to be using the following command
Code:
usermod -a -G android_inet postgres
Now I got everything working properly.
So you're installing pure Linux kernel to android? Sorry I don't follow you
norpan111 said:
So you're installing pure Linux kernel to android? Sorry I don't follow you
Click to expand...
Click to collapse
I think he is doing a CHroot install where the linux distro shares the same kernel as android but runs all of its processes within one process executed on the host kernel
I also struggled with installing Kali linux at first but Robherc's LinuxOnAndroid/Complete Linux Installer FAQ helped me.
http://www.robherc.com/hosted/linuxonandroid/FAQ.html
What it doesn't say there is Kali linux' init VNC pass is kalilinux
I don't see a significant performance impact from running kali linux on the One.

Headless linux install for Nexus 7 2012

Hello guys,
I have a old 2012 N7 with totally broken screen and I don't think I will repair it for now.
I was wondering if there is a way to install a headless version of linux on it using serial monitor. On internet I found many distro for N7 and many tutorials but anything related to a screenless communications
Thank you
EDIT:
so, I'm trying by myself to get MultiROM working with command line.
ADB + TWRP script seems to work fine

How to install Nexus 4 driver on Linux Ubuntu 16.04?

Hello, I have a Nexus 4 and I followed the instructions for installing CyanogenMod found on its web site.
All went well...I copied the CM.zip file on to the Nexus 4 and booted the device into CyanogenMod Recovery Mode. I then accidentally wiped the devices partitions - and the CM install .zip at the same time.
I have been trying to transfer the CM.zip using ADB but the Nexus 4 does not show up when I look for it in a terminal on my PC, i.e.,:
sudo adb devices
List of devices attached
[nothing is listed]
I use Linux Ubuntu 16.04 LTS on my laptop and don't easily have access to any other PC.
The problem seems to be that I need to install the correct drivers for the Nexus 4 so that the PC's OS can talk to the device. I would be very grateful if someone can explain where to get the drivers and how to install them?
Any help with this would be very much appreciated?
Thanks, Mike

Categories

Resources