How install Debian on a LG P500 - Optimus One, P500, V General

If you want to install Debian, just follow this step:
1. Download this : megaupload.com/?d=EV1SOKWJ
In the debian folder you should change the installer.sh and bootdeb files by this one
Download them:
installer.sh : mediafire.com/file/6j99zi0g1lu4oxq/ashu11x_installer.rar
Bootdeb : mediafire.com/file/osshm94mo1qhd65/ashu11x_bootdeb.rar
2. After that, copy the debian folder unzipped to the root of your sd-card
3. Than open Terminal and type:
Code:
su
cd /sdcard/debian
sh installer.sh
bootdeb
cd /scripts/onetime.sh
sh onetime.sh
That's it!
Credits:
ashu11x

An other way to install it
I'm back:
Ok galoula create a universal way to install Deban AND UBUNTU
So,
Download Linux Installer here:
uk.androlib.com/android.application.com-galoula-linuxinstall-tFjz.aspx
Install it
Press "Menu" button and choose "Setup".
The configuration apper, the defaults settings work without touch anithing : Debian Leny into a 500M loop file named "Linux.loop" in th sdcard. for lunch this Linux, the script name is "linuxboot".
Detailled functions :
- Install into LOOP file
Check to box if you want use an loop file, a loop file, is a virtual disk, same as image of hard drive. The loop file can be in any directory. I recomand to put this loop file into sdcard with an extension ".loop".
- Server
Name or IP of download server. If this option is empty, the default server is used. To install ubuntu, leave emtpy.
- Distribution type
Type of distibutions, actualy, Debian or Ubuntu.
- Distribution version
Version in type distribution. Warning ! Please check your version with a real type ! Debian can be Lenny or Squeeze, but no Dapper or Jaunty ! This two end, is Ubuntu version !
- Script to lunch Linux
The command to lunch Linux. you can choose own command to lunch. It permit to install Lenny into file Lenny.loop with script name bootLenny and install. after that install debian squeez or Ubuntu Jaunty into a partition of your SD card, and use an JauntyBoot to lunch jaunty. You have two Linux distributions on the same phone !
- Install into (loop)
Enter full path for the filename used as loop. I recommend to /sdcard/myfile.loop
- File size
The size of file allowed for loop. The size is alocated directly, no possible to change or have an dynamic size !
Click to expand...
Click to collapse
The full site with pictures
android.galoula.com/en/LinuxInstall/

where is the /scripts/onetime.sh

http://forum.xda-developers.com/showthread.php?t=1129803
http://forum.xda-developers.com/showthread.php?t=996746
http://forum.xda-developers.com/showthread.php?t=954807

ccownu said:
I'm back:
Ok galoula create a universal way to install Deban AND UBUNTU
So,
The full site with pictures
android.galoula.com/en/LinuxInstall/
Click to expand...
Click to collapse
on My P500 that one sucks, it worked on 2 gb not on 8 gb, but as told its an rc

Or just do this: ← How to Build CHROOT ARM Ubuntu Images for Android! (UBUNTU ONLY) SHALL WORK ON DEBIAN I THINK!
How to Install Busybox on your Android! →
How to Install Ubuntu on Android!
Posted on February 1, 2011 by admin
For those of you who want to install Ubuntu on your Android smartphone or tablet device, here’s our universal guide on how to do it. (This guide is based off my original guide at NexusOneHacks.net)
*Note – This guide should work on most “rooted” Android smartphones/tablets with no further modification.
We will be running Ubuntu “chrooted” under Android OS, which just means that we will be running a “virtual” Ubuntu OS that runs on top of the Android OS. Your Android OS will work fully (e.g. your phone will keep working normally) while the Ubuntu runs on top of it.
First of all, you should have your Android device “rooted” because you need root access to run Ubuntu off your Android.
Second, your Android OS must support loop devices. Most newer Android smartphones/tablets come with this support so we can mount our Ubuntu image as a loop device. If not, you will either have to build your own kernel with support for loop devices or you can try an aftermarket ROM for your phone as most aftermarket ROMs come with support for it.
For example, G2 Phone and Nexus One both come with loop device support so there’s no need for us to compile a new kernel for it but for others, you may have to.
How do you know this? Just try installing Ubuntu and if it doesn’t boot, your Android device needs a kernel with loop device support. Otherwise you are fine.
How to Install Ubuntu on Android! (Windows)
First, download the following Ubuntu.zip file (from a preferred mirror), unzip and copy over the whole ubuntu directory to the SD card of your Android smartphone/tablet device:
Download ubuntu.zip http://downloadandroidroms.com/files/get/Nhi9EJWSw7/ubuntu.zip
(Turn USB storage ON then copy over the Ubuntu folder to the root directory of your SD card.)
(What it looks like after copied over to the SD Card)
1) Again, make sure you have your Android smartphone/tablet “rooted”!
2) You must have Android SDK installed or have access to adb.exe.
3) Make sure your Android phone/tablet is in debugging mode. Go to Settings->Applications->Development and make sure USB Debugging is checked ON.
4) Connect your Android device to your computer via USB cable and set the USB mode to “Just Charge”.
5) Your Android device should be recognized as “ADB Device” under Device Manager. If not, install appropriate drivers.
For all HTC Android smartphones/tablets (such as G2 Phone, Nexus One), you can download Windows drivers here:
HTC Windows 64-bit driver download – Click Here to Download Driver
HTC Windows 32-bit driver download – Click Here to Download Driver
6) Open up a command prompt by typing “cmd” under Start->Search programs and files.
7) Browse to your SDK directory where you installed the Android SDK:
8) Then go into platform-tools directory:
9) Type “adb devices” to double-check your Android device is recognized.
In this example, I used an HTC G2 Phone, which shows up at “HT09SR204261″. This is fine. However, if you get an empty device, that means you didn’t install the drivers for your phone/tablet correctly. (Go back to #5)
10) Type “adb shell” to enter the Android shell.
Then type “su” to enter super user mode, then type “cd /sdcard” and “cd ubuntu” to enter the ubuntu directory in your SD card of your Android device.
11) Next, type “sh ubuntu.sh” to run the script which will basically get your Ubuntu image ready to run on your Android smartphone/tablet.
If you get error messages, don’t worry and keep going.
12) Type “bootubuntu” to enter Ubuntu. (Next time you enter Ubuntu, you just need to type “bootubuntu” from your /sdcard/ubuntu directory, no need to run ubuntu.sh again.
If you got “[email protected]” at this point, congratulations! This means your Android OS comes with loop device support and Ubuntu is now running “chrooted” on top of your Android OS!!!
However, if you failed at this point, your Android OS probably doesn’t support loop devices, try installing another ROM or compiling your own kernel with loop device support.
How to Install Programs on your Ubuntu!
Once you’ve got Ubuntu running on your Android device, it’s time to install some Ubuntu packages(or programs).
Type “apt-get update” to update, this is the first thing you will need to do before installing any new programs.
How to Install OpenSSH-server on your Android Ubuntu!
Type “apt-get install openssh-server” to install OpenSSH-server. What is OpenSSH-server? If you want to connect to your Android Ubuntu via an IP address (and SSH into it), you will want to do this.
How to Install TightVNCServer on your Android Ubuntu!
If you want to access the GUI of your Android Ubuntu, you can install TightVNCServer, which allows you to access the Android Ubuntu via Android VNC app on your Android smartphone/tablet or even access it remotely from your desktop computer.
Type “apt-get install tightvncserver” to install.
How to Fix Language Issues
Above is after I connected to my Android Ubuntu via SSH2. Well, for some reason my default language switched to German. To fix that, just type “export LANG=en_US.UTF-8″:
How to Install LXDE!(optional)
Next, we will install LXDE (Lightweight X11 Desktop Environment). Although we can use Ubuntu’s default GNOME (and trust me I love that), LXDE takes up less memory so our GUI access will be faster.
If you like GNOME, you can skip this step though.
Type “apt-get install lxde”
Next, let’s setup xstartup file so that when TightVNCServer is started, the LXDE runs instead of GNOME:
Type “cat > /root/.vnc/xstartup”
Then type:
cat > /root/.vnc/xstartup
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
icewm &
lxsession
Then hit Ctrl+D twice and enter to save the file.
How to Start TightVNCServer!
Next, let’s start the TightVNCServer and connect to it from our Android phone and my Windows 7 desktop:
Type “export USER=root” and “vncserver -geometry 1024×800″.
Here, you can change the resolution settings 1024×800 to the resolution of your liking.
Now your TightVNCServer is ready to accept any incoming connections from your phone or computer. Just point to the correct IP address and use port number 5901 to connect.
On your Android smartphone, just download the free app “Android-VNC-Viewer” and set the IP address to “127.0.0.1″ and port number 5901 to connect.
And you should be able to get into your Ubuntu like this:
You can also use desktop software like TightVNC Viewer and connect to your phone.
Do “ifconfig” to find out what your IP address is in your Android Ubuntu.
In this example, mine was connected to “192.168.1.131″.
Then connect to “192.168.1.131:5901″ on your TightVNC Viewer:
Here’s LXDE running on my desktop off my G2 Phone’s Ubuntu:
Troubleshooting
Ubuntu not running?
Try typing “cp” under Android shell and if you get an error message, it means you need to install Busybox. Install Busybox and try again.
Final Thoughts
As said in the video, there will be a lot of improvements in the speed of Android devices in the near future. This year, there will be a slew of dual-core 1Ghz processor-equipped Android devices being introduced. Which just means our Android Ubuntu will run faster and faster.

Related

[HOWTO] fastboot for Ubuntu 64 bits

Hi, I am using Ubuntu Lucid Lynx (10.04) and having got my Nexus one yesterday from a grey market (I live in Thailand so that's the only easy way). It was supposed to be factory new but I found it was loaded with the amon_RA-1.5.9 stack, and a cyanogen 2.1 android version. I felt like I had to upgrade all this.
Thanks to this forum, here is the way to update to froyo and update to amon_RA 1.7.0 on Ubuntu amd64 (versions lower than 10.04 should be similar):
Download Froyo
I used this /showthread.php?t=686631 XDA Post (sorry, I am new and can't post links.... or dunno how to do for inside xda links)
Update Froyo
I followed the tutorial:
- rename the file 'update-nexusone-FRF50-signed.zip' to 'update.zip' (make sure no quote and no '.zip.zip' issue occurs, but if you are on Linux 64 bits I trust you know what you're doing so far)
- copy to the sdcard root folder (use the nexus one USB cable then slide the top panel on the screen where it shows the USB symbol, then select the option to mount the SD card as storage, or use a sdcard reader/writer )
- disconnect USB if connected, have the sd card in the phone, reboot on bootloader: hold the trackball while power on.
- Select recovery
- flash from sdcard and follow instructions.
Note: search this forum for more details on this part
Build 'fastboot'
- I actually created an Ubuntu 10.04 amd64 in VirtualBox in order to have an uncorrupted environment. I just ran the standard updates after installation
- Download from 'source DOT android DOT com/source/download.html' source. Follow EXACTLY what they say on the Linux for 64 bits EXCEPT that now you can use Java 6 (if you spend time adding the JAUNTY multiverse repository and install sun-1.5.0-jre the SDK build will fail immediately telling you to use Java 1.6.0...)
- after you run the 'make' command, wait for a while.... depending on your RAM/CPU, then open another terminal and check if the 'fastboot' binary is already built (<repo>/out/host/linux-x86/bin/fastboot). If so, you can CTRL+C the build (except if you really want it)
- copy fastboot to a location in your PATH
- create a file (as root or 'sudo' it) /etc/udev/rules.d/51-android.rules:
Code:
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="xxxx", MODE="0666", OWNER="username"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="yyyy", MODE="0666", OWNER="username"
where:
xxxx: is the value returned by the command 'lsusb | grep 18d1', after the '18d1:xxxx' when the phone is turned on in normal mode
yyyy: is the value returned by the command 'lsusb | grep 0bb4', after the '0bb4:yyyy' when the phone is turned on in fastboot/bootloader mode
username: is your login name
- save the file
- run 'sudo service udev restart'
- restart the phone in fastboot (hold the trackball while turning on the phone)
- run 'fastboot devices' and it should show something like:
HTxCxxxxxxxxx fastboot
Click to expand...
Click to collapse
Update amon_RA
- Now you just follow showthread.php?t=611829 from amon_RA himself
I attach my 'fastboot' version if you prefer the shortcut. Do it at your own risk, I provide no guaranty. It worked on my machine, that's all.
im running the same thing as u. i just downloaded the sdk and it came with fastboot.
samir5421 said:
im running the same thing as u. i just downloaded the sdk and it came with fastboot.
Click to expand...
Click to collapse
From the developer.android.com/sdk/index.html page, 'fastboot' isn't in the 'android-sdk_r06-linux_86.tgz'
What package did you download and from where?
Thanks a lot man, now I can fasboot with my ubuntu 64!!!!
Thanks for the file, fastboot was removed from last Android SDK (r08).

[Q] Electrify, ADB, and Windows 8

I'm trying to get adb to detect my Electrify on Windows 8, it would seem rooting and/or installing ROMs is impossible without adb, I have my phone plugged in and all the drivers installed except one "Motorola ADB Interface" of course. The manual driver installer errors out on "Cannot detect Operating System" is there anyway around this, either forcing the driver in, or not using ADB to root?
Use a linux live cd and install the android sdk, or use something like vmware, or try to extract the driver and force it to install in device manager, or dual boot an os that isnt in beta...
Sent from my MB855
The linux live cd should actually work I didnt think about that
I found this
http://forum.xda-developers.com/showthread.php?t=741824
It says its for use with HTC phones but could it possibly work with mine?
Its a year and a half old
Will the driver for my phone be installed/available?
I would post this there but its kind of a dead thread
If you have a spare thumb drive of 4gb or larger laying around you can do a persistent install of ubuntu (or just about any other distro) using LinuxLive USB Creator, which can be found here: http://www.linuxliveusb.com/
If you're not very familiar with linux, persistence is like having your linux operating system on a thumb drive with the advantage over a live cd being that any changes you make (such as installations or saved files) are not lost upon shutdown. So you could install the android sdk (which is all you should need) and then whenever you needed it you could just boot from your thumb drive. If you need help setting up (such as installing the sdk and setting the path and what not) let me know.
-devx

[Q] Can anyone help???

Hi - new to all this so please bear with me. I have an Archos 101 g9 250gb model. I updated all the stock firmware and as you may guess found so many problems with the tablet after upgrading to the latest that the tablet became almost unusable. So i did a bit of research and decided to try and root it. I downloaded the SDE files and installed them no problem. I then downloaded the rooted archos firmware - 3 files to be extracted and copied over to the archos, but here was the problem, when i tried to copy the extracted files a dialogue box pops up telling me that i only have 299mb available and the files to transfer are bigger - where has all my gb's of space gone??? I went to the recovery menu and formatted my archos but it still only shows up as being 299mb even when linked to my laptop in 'my computer' !!!
Please help someone as i am going round in circles and not finding a solution.
Thanks in advance.
Hello, and welcome to XDA
You are trying to install it wrong. I know it sounds logical to try and do it as upgrade, but SDE loads the image from your flash memory.
Restart your tablet back to stock. If you did not remove android kernel, normal restart is only thing required.
We need to use ADB to move the file, so download android sdk, or adb only zip if you find that somewhere. Then enable usb debugging on settings->developer. then install these drivers http://www.archos.com/support/support_tech/updates_adb.html?lang=en. You might have to open device manager and force the drivers to install. http://www.ehow.com/how_6299394_force-windows-use-different-drivers.html
Now move archos.ext4.update to the same folder with adb.exe (it is in platform-tools in android SDK), open commandline and cd to directory with adb.exe
as an example, android SDK is in C:\android, you do
Code:
cd \
cd android
cd platform-tools
And then you move the archos.ext4.update to /data/local with following command:
adb push archos.ext4.update /data/local/android.ext4
notice how i dropped the update? It works better for me without the update in the end, but that is just personal experience. Then restart your device to recovery, go to sdk and choose: Remove Android Kernel. After that, Flash Kernel & Initramfs. It opens a new driver. copy there zImage & initramfs.cpio.lzo. Then press ok and device and wait for a moment. After that you can just reboot. Now you should have root.

[Q] Android x86 on ASUS TX300CA

Hello,
I'm trying to have a fully functional version of android (dual boot) on my asus TX300CA.
This is what i have do :
Windows 8.1 is still on first HD (SSD as GBT).
I have convert the 2nd HD from GBT to MBR, and installed an android x86 with grub.
To boot on android, i just have to change boot priority in BIOS, it launch GRUB, and android start.
I know this is not the most proper way, but it is the easiest for me. (i'm not familiar with linux)
my problem :
If i install "android_x86-4.3-BWiFi-20131024.iso", everything work fine, but i don't have the gapps installed. I can connect via adb through Wifi from another computer, and doing the following command "adb -s 192.168.1.82:5555 push gapps ./system"
But the result is something like "failed to copy gapps/META-INF/com/google/android/updater-script ... folder or file don't exist blablabla.. "
This error make me think i cannot write on the system folder of the ASUS TX300CA ... because it found /META-INF/com/google/android/updater-script and try to copy it, the error come after.
So, first question is, Is there another way for adding the gapps to my x86 android 4.3 ?
And, to be sure, where should i have to put my gapps folder on the remote PC that run adb ?
and, another of my try was to install "android_x86-4.2.2-engBWiFi-20130620.iso", in this case, everything work fine, with gapps, except the Wifi ... very poor signal and it don't want to connect correctly ... seem to be a know issue with kernel 3.8.
So ... is there a way to fix that ?
For sure, the ideal way will be to find an iso with gapps already installed, and a working Wifi ... but it look like something not possible !
Thanks very much for any idea, or hepl
this is the error :
C:\Android\sdk\platform-tools>adb connect 192.168.1.82
connected to 192.168.1.82:5555
C:\Android\sdk\platform-tools>adb devices
List of devices attached
192.168.1.82:5555 device
C:\Android\sdk\platform-tools>adb push gapps ./system
push: gapps/META-INF/com/google/android/updater-script -> ./system/META-INF/com/
google/android/updater-script
failed to copy 'gapps/META-INF/com/google/android/updater-script' to './system/M
ETA-INF/com/google/android/updater-script': No such file or directory
Nobody can help ?
Thanks

[Q] Lockscreen Reset Trio (generic crap) tablet. NO debugging.

Almighty! lets get started,
I have a 64 bit computer running Windows 7 professional.
First let me mention I tried to fix this on my own. darn I tried.
Just plugging the tablet into computer shows a windows explorer page named Autoplay that let me view pictures on device on a folder named
Computer\Trio HD Elite 7.85 Tablet
Installed android-studio-bundle-141.1903250-windows in
Error- SDK required.
Downloaded jdk-7u79-windows-x64 (java development kit)-install reboot PC
Open C:\Andriod in windows explorer, open SDK Manager
A command prompt window flashes briefly, then closes.
click start, search for run key in sysdm.cpl go to advanced, environment variables create new path named JAVA_HOME that does directly to the java .exe file
(this was checked by reinstalling the java development kit, then opening Java typing where java it tells me C:\Windows\System 32 even though the path is
C:\Program Files\Java\jdk1.7.0_79
opening ADB works!
Download Extras- Android USB Driver
open CMD key in
cd C:\Andriod\platform-tools
this brings me to the directory where Android ADB is.
abd devices
no devices detected.
Installed Samsung Kiles.
TRIED to install PDAnet.. failure.
tried to open Device manager, where a entry marked Trio HD Elite 7.85 Tablet sits, and update the driver to the C:\Andriod\extras\google\usb_driver
it complains about driver being unsigned. Using This guide I used step Two downloaded Driver Signature Enforcement Overrider (DSEO) and ran it.
went into the C:\Andriod\extras\google\usb_driver folder and manually keyed in every title in the folder.
each time program stated had signed successfully. The computer is now saying test mode in the bottom right hand corner. however trying to update driver gives same error.
I'm amusing the device needs to be in developer mode, which it cant be put into because it's locked.
The Trio Support is useless there steps do not open any settings. Also tried a list of alternate ways to open tablet recovery. and since ADB isn't reconizing the device I can't run adb reboot recovery
So. end result, im here with coffee and no milk,
A generic tablet cobbled together from who knows where,
and a locked screen.
Think you can help?
ANY assistance is appreciated.
So i have a cheap generic tablet that says Trio Stealth G4X 7.85

Categories

Resources