XDAndroid - is it better to run from main??? - Touch Diamond, MDA Compact IV General

Hello.
I just put the last build of XDAndroid 2.1. It works just fine, with only the known issues ( battery, slow wake up, memory leak). Though, the faster, the better , and I found this:
These packages contain all the files needed, to run Android on one of the following HTC mobile Diamond, Raphael, Blackstone, Rhodium or Topaz
The system files are extracted from the XDandroid build and the root filesystem are extracted from this root filesystem and modified to run on a ext2 partition
Howto run:
* Extract the latest Android filesystem to a ext2 partition on the internal Storage
*
Extract the latest kernel and modules to the root of the windows partition
*
Copy Haret.exe and a default.txt for your mobile to the windows partition (fat) and rename the text file to default.txt
*
Run haret.exe from WinMo, and you are on the way, to a better system!
Did anyone try this? Is the system better than with Android located on Internal Storage?
If performance is better, how to create ext2 partition with XP only( or Win7)
thanx in advance

i have not tried this. but..
i have not tried this. but if you want to do it you can.
sadly satin soft (Microsoft) can not make ext2.
but you can make a liveusb or live cd with Ubuntu(a Linux operating system) and select the try Ubuntu option. it will boot like a normal operateing system without installing. under system > administration there will be a program called gparted. there you can make a ext2 filesystem!!. to read this filesystem in windows (note read and write/ not format to) you can use ext2fsd.
links
http://www.ubuntu.com/
http://www.ext2fsd.com/
How to make liveusb (run ubuntu from a 1gb+ usb)
https://help.ubuntu.com/community/Installation/FromUSBStick
How to make a livecd
https://help.ubuntu.com/community/BurningIsoHowto
install from iso and boot into an installed ubuntu
or you can mount the iso in windows useing an iso mounter. and use the windows installer to make an half-assed install of ubuntu. then restart and choose the Ubuntu boot option. then run this in terminal to get gparted
Code:
sudo apt-get install gparted

tried it
i tried it. seemed like it was working. but it crashes during setup. (when you sign in to Google)

Related

Booting a Windows 7/Vista/(XP?) Installation from a USB Key (Tutorial)

The following is meant to save you a lot of time, health and annoyance,
I've done this with both Windows 7 (x86 and x64) and Windows Vista.. didn't check XP.
Instead of burning 9000 bootable DVDs for every new OS/SP that's out... you can just boot your installation from a USB key. thus far, a 4GB one suffices for every operating system i can think of.
let's go.
1. run CMD
2. type "diskpart"
3. connect your USB Key
4. type "list disk" (you will see a list of all available storages)
5. type "select disk #" # being your USB Key drive number.
6. type "clean"
7. type "create partition primary"
8. type "select partition 1"
9. type "active"
10. type "format fs=fat32"
11. after the format is complete, type "assign"
12. exit all cmd windows and copy all files from your windows ISO to the key.
13. load your bios and set the USB key to be the first choice in the booting sequence. the installation should load...
14. cheers.
15. later.
P.S. I have a friend who's trying to write a Toshiba Flash BIOS version which can boot from SD.. this actually means that you'll have an SD card on standby with a windows installation and you'll be able to format your comp easily.
thankfully, if you have a 4GB one, you'll also be able to create a small data image of your comp with a few applications.. and maybe some outlook data/bookmarks.
I don't trust he'll be successful with this.. and not because i distrust his abilities but because this is EXTREMELY hard to do. Hope is always welcome tho.
Thanks!
Thjis is very usefull info
I´ll try to install windows 7
Cheers,
Whoever tries Windows 7, go for build 7100. DO NOT INSTALL 7105,7110 or 7068!
Also, the installation using the USB Key turns out to be about 1.5-1.7 times faster than from a DVD.
A similar method (SD card) I used to install Win XP on my netbook. I can tell you one thing though, it's not the easiest thing to do on a computer
Cheers
Please write how you did that. thanks
nir36 said:
Please write how you did that. thanks
Click to expand...
Click to collapse
I'll do but for the moment I'm at work.
Ok, I'm back from work and apparently something is wrong with xda server (page loades very slow) and I can't upload the procedure, so it's going to be a long page.
This procedure worked for my Asus 1000H (I have tried two other methods and failed) and what is more important, I found it on internet, so it's not my procedure.
"Here's a good guide to installing Windows XP on your EEEPC.
Hardware you'll need
1.) A USB memory key. 1GB is recommended, but if your going to use a custom nLite installation of Windows XP, then you can get away with a 512MB one.
2a.) A SD Memory Card. Any size will do, even if you have a 16MB one laying around, that's heaps.
OR
2b.) A Second USB memory key. Any size. (It should be noted I've only tried this with the SD card option)
3.) A Windows XP SP 2 Installation CD.
Software you'll need
1.) Download physdiskwrite. A small utility to use for creating a boot disk for our XP installation.
http://m0n0.ch/wall/physdiskwrite.php
2.) A boot disk image.
http://freepctech.com/pc/002/files010.shtml
Grab the one called 'MS Windows XP System Setup Disk'.
Step 1: Creating a SD boot disk
Create a temporary directory on your PC and unzip physdiskwrite.exe into this folder.
Using your file compression program (WinRAR, WinZip, 7Zip etc) extract the file "WXPBOOT.IMA" to the same folder as physdiskwrite.exe.
NOTE: The wxpboot.exe is not an archive, programs such as WinRAR may throw an error, but still extract at least 'WXPBOOT.IMA'.
Insert your SD or your 2nd USB memory key into your PC.
Next go to into disk management of your PC by going into:
Control Panel --> Administration Tools --> Computer Management --> Disk Management
Make a special note of the drive number (not the letter) of your SD card or USB memory key.
Next open a command line and navigate to your temp directory where physdiskwrite.exe is located.
Type: physdiskwrite -u wxpboot.ima
WARNING: It will list all of your drives and ask you which one you want to write to. BE VERY CAREFUL HERE.
You need to make sure you aren't writing to any of your actual hard disks.
It should only take a few seconds. This device becomes your 'boot disk'.
Step 2: Copying XP to your USB memory key
Take your windows XP installation CD and stick it in your DVD/CD drive.
Copy the folder 'i386' to your USB key (the first one, not the one you put your boot disk onto).
If you are using a standard XP SP2 CD without using nLite, it will be around 550MB to put on.
I'd highly encourage anyone doing this to grab nlite at http://www.nliteos.com to cut down the size of your Windows XP size.
Remove unwanted or unneeded utilites and applications to save room. (I was able to cut the CD size down to 325MB without to much sacrifice).
This USB key becomes our 'Windows Disk'.
Step 3: Preparing EEEPC
Insert your SD boot disk into the SD card slot, or USB port if it's a memory key.
Boot your EEEPC and go into it's bios by hitting F2 when it first switches on.
Change 'OS Insallation' to 'Start'. Hit F10 to save and exit.
As soon as the EEPC restarts hit escape to load the boot loader.
At the memu choose either your SD card if you used that, or the USB mem key.
It shouldn't take long and at some point will ask you to hit any key to continue.
When you finaly reach a command prompt you should see:
'A:\'
Type: fdisk
When asked if you want to enable large HDD support just hit Y or enter.
It should show several non-DOS partitions, and a DOS partition named BIOS. We want to wipe all these.
Once you've wiped all three partitions create a new partition DOS partition. Save and exit.
Restart your EEEPC (ALT+CTRL+DEL will do the trick here) and boot back into your boot disk again.
This time at the command prompt:
Type: format c: /s
Once it's formated ensure that the boot linux boot loader is gone by typing:
Type: fdisk /mbr
Your SSD should now be bootable to DOS without a boot disk.
Step 4: Installing XP Pro
Insert your Windows USB memory key into the left hand side USB port . The reason for this is that the boot disk assigns this port as 'D:\'.
Reboot your EEEPC back into the boot disk. Once there:
Type: d:
Type: cd i386
Type: winnt
The Windows XP installation should start. The first part will be windows copying temp files to your SSD drive.
Windows may ask you where the i386 folder is. Just make it's pointed to the 'D:\i386' directory.
When it's finished copying these files and is about to reboot, remove your USB memory key/s, and or SD memory card from the EEEPC as you won't require these anymore.
Reboot your EEEPC. You should see a windows boot loader appear that shows:
Windows
Windows XP Install/Upgrade (Or something to that nature).
Just let it boot on it's own, it will automatically start the next phase.
Now you should see the normal Windows XP installation start. When it asks you would you like to convert your HDD to NTFS, you should say yes.
From that point on, it should be a normal XP installation.
Once it's complete and booted into windows the first time, restart the EEEPC, go into the bios by hitting F2 and change 'OS Installation' to 'Finished'.
It's recommended to install the ACPI driver, and then the chipset driver before other drivers.
Hopefully by this stage your in your fully functioning Windows XP EEEPC!
Just remember if you want to return at anytime back to the original image, you can create a new bootable restoration disk from the included EEEPC DVD.
One last thing. To remove the boot loader at the start of loading windows (where it asks you where you'd like to boot) go to:
Right Click My Computer->Properties->Advanced->Startup and Recovery
Make sure "Windows XP" is your default OS, and untick the "Time to display list of Operating Systems."
The EEEPC will then boot straight into Windows."
Cheers
thank you very much

[HOW-TO] Run Debian Armel on your N1

Hi all!
I want to share the way i have to run Debian on Nexus One
I'm editing my own install of deb-armel and ill upload to everyone but first i need to finish it
By now, we will use a qemu image ready and edit it to your needs
You'll need a SD parted with Amon_RA recovery, few files i'll upload later and some skills with Debian, of course hehe
Partition could be user-alike but i recommend:
Im using a microsdhc 8gb class-2 from my magic
- EXT3: 2gb (nice for install a lot of stuff)
- SWAP: 150MB
- The rest as fat32
You need also a rom with app2sd or mount ETX3 partition under /system/sd, im using Modaco's 1.3
First of all, im working on archlinux but this can be done on windows too using the qemu version for windows
Install qemu on your machine.
NOTE: Also you can start a new installation from 0 using images (iso) and info found on google
Now we will use the following QEMU images:
http://people.debian.org/~aurel32/qemu/armel/
We will download the followings Of course you can choose the small or normal version with X preinstalled (the X version preinstalled is not tested by me and i dont know if works)
debian_lenny_armel_small.qcow2 150M
initrd.img-2.6.26-1-versatile 2.1M
vmlinuz-2.6.26-1-versatile 1.2M
Put they in your home folder or where u want.
Now, lets run it.
Use the following command (run it from the folder you have the downloaded files) :
qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.26-1-versatile -initrd initrd.img-2.6.26-1-versatile -hda debian_lenny_armel_small.qcow2 -append "root=/dev/sda1"
Wait a moment... Debian-armel running under qemu
Here are the configuration by default:
- Keyboard: British English
- Language: English
- Mirror: ftp.uk.debian.org
- Hostname: debian-armel
- Root password: root
- User account: user
- User password: user
Edit the system to fit your needs, im not going to explain how to do this, im asumming you know how to. If u don't, use the debian reference guide:
http://www.debian.org/doc/manuals/debian-reference/
Of course, you'll need to edit basic things as locales, network, ssh preferences, etc...
Edit your system, update, configure packages, etc...
Once edited and configured, quit you virtual machine.
Now, we are going to convert the qemu image to a raw image, mount the fs and copy to your SD
Assuming you still in the same folder as the qcow2 image of debian (for windows, google a little, im sure there are something to do the same):
qemu-img convert -O raw debian_lenny_armel_small.qcow2 debian.raw
With this will obtain the qcow2 converted to a raw file (without touching the original qcow2 file)
Now mount it where u want or follow this steps:
sudo mkdir /media/debian
Before mount, lets see where start the partition on the raw file:
sfdisk -l -uS debian.raw
U will see a list of partions under the raw file, use the first, like this one:
debian.raw1 * 63 20225834 20225772 83 Linux
Now, we know the / starts at 63, mount this partition
sudo mount -o loop,offset=$((63*512)) debian.raw /media/debian
Ok, we have our partition mounted now, lets make a copy in our EXT3 partition on SD.
Use the USB Storage function from android, sd card reader... and mount the EXT3 partition
Once mounted, copy everything from /media/debian to /media/yourSDext3mounted
cd /media/debian
sudo cp -a * /media/yourSDext3mounted/
If everithing works as expected, umount the systems /media/debian/ and /media/yourSDext3mounted or use the Android notif to disconnect the USB storage function
Check if everything is now in the SD EXT3. Open a terminal and adb shell
adb shell
cd /system/sd
ls
U'll see the Debian / extructure and the app & app-private
Of course dont worry about this, u can still using apps2sd and debian at the same time
Now, it's time to boot debian
We need some modded files from the G1 version to boot it:
Download from Megaupload: http://www.megaupload.com/?d=Q67SNOBC
Download from MediaFire: http://www.mediafire.com/?mxgcyk3whdt
Also, files attached to post (rename the extension to tar.gz)
Put the files into your FAT32 SD partition, no in a folder just in "/"
Now, it's time to give it a try
U have two ways:
Open a terminal window in your PC
adb shell
cd /sdcard/
sh installer.sh
sh bootdeb
Or:
Open up a terminal in your N1, like Terminal Emulator on Market
cd /sdcard/
sh installer.sh
sh bootdeb
PROFIT!!!
Enjoy your debian-armel on your N1
For the next chapter, how to run X with VNC Viewer
Bye and thanks for reading!
Looks like Klingon to me.
I have Debian running too now
Nice! Cant wait to try it out!
nice, i've been looking for a n1 debian how-to
Installing debian is pretty much the same as running it on your g1. I had it working the day after I got mine using the g1 instructions.
So, what's the reason or running debian on your phone?
Jst wondering
u
The reason by now is just fun hehe
But, if we can run it natively via fastboot, would be awesome hehe
Sorry for the delay guys, ill do it now, the last night was too late for me 4am here hehe
EDIT: Just give some time more, i going to try it with the Cm 5.0 beta 1
jairuncaloth said:
Installing debian is pretty much the same as running it on your g1. I had it working the day after I got mine using the g1 instructions.
Click to expand...
Click to collapse
I couldnt get chmod or installer.sh from the g1 instructions to work. I tried it both with bacon and modaco 1.3. I skipped the jesusfreak part though so maybe thats why. Anyway seeing confirming instructions would be nice.
Because the g1 files need to be modded first
I have it running it under modaco 1.3 and now im going to try it with the new b1 from cyanogen
Guide ready
Enjoy it!
Hi,
i have one question about debian. Is the network traffic routed trough android, or does debian has direct access to the wlan adapter for monitor mode and aircrack ?
meld0
it's using the same ip and mac, so is shared for both
If there are the apropiate drivers maybe, don't really know
Calling Linux Experts!!! hehe
Is there any way to create a boot.img bootable via fastboot to run the ext3 partition of sdcard with debian?
Driskol said:
Calling Linux Experts!!! hehe
Is there any way to create a boot.img bootable via fastboot to run the ext3 partition of sdcard with debian?
Click to expand...
Click to collapse
sorry for being noob in this matter but, why do i need debian on my phone? what does it give me?
amir
The answer is a choice, Android or a Full Desktop OS with Firefox, Thunderbird, OpenOffice, etc...
When its booting I'm getting an error:
/system/bin/bootdeb: line 61: chroot: command not found
Doing "find / -name chroot" only returns binaries within the debian image.
Any ideas?
Driskol said:
The answer is a choice, Android or a Full Desktop OS with Firefox, Thunderbird, OpenOffice, etc...
Click to expand...
Click to collapse
How well does Firefox run?
Can anyone take some pics or video?
Any instructions for creating and mounting linux as an img file instead of using separate partitions?
tetlee said:
When its booting I'm getting an error:
/system/bin/bootdeb: line 61: chroot: command not found
Doing "find / -name chroot" only returns binaries within the debian image.
Any ideas?
Click to expand...
Click to collapse
Maybe your rom doesn't have Busybox
EDIT: Im going to make a img version tutorial
Of course, this version was without the highmem kernel, now with more ram, more flawlessly

[Chroot] Chroot scripts for lg optimus. Run ubuntu ,debian or meego from Android

These are the scripts I have running on my phone to chroot to any image. Simply extract to / sdcard/bt5, copy the image you want to run and rename bt5.img
Then from the terminal run:
su
cd sdcard/bt5
sh bootbt
http://www.multiupload.com/19WPTHNA90
I encourage anyone who wants to upload your own images optimized for the display of the Optimus.
Need rooted phone and busybox installed, running in original firmware with quarsar v3 kernel, no problems.
we can run meego thru this? this is for developing purpose, or does it allow us users to boot OB into another operating system?
what can we do thru using this?dual boot?
of the moment only chroot, of course dual boot is possible
i'm sorry if this sounds noob, but wat does chroot do? I have only heard of multiboot. If i download that file of urs, what can i actually gain from it? thx in advance
nickrule1896 said:
i'm sorry if this sounds noob, but wat does chroot do? I have only heard of multiboot. If i download that file of urs, what can i actually gain from it? thx in advance
Click to expand...
Click to collapse
Chroot 'jails' another linux distro inside your android using the same kernel.
For example I use chroot with my Multimedia HD (Blusens T50, a Emtec Q800's brother) in order to have a debian distro plenty of space (the chroot is a external space to mount into the system) also updatable. Then, I can install in my case an ftp server, a torrent client, etc...
Regards.
From where can we download the images?
In xda exists multiple posts with images for chroot if not in google appear links with how to make your rootfs system in ext2
enviado
wuebas said:
These are the scripts I have running on my phone to chroot to any image. Simply extract to / sdcard/bt5, copy the image you want to run and rename bt5.img
Then from the terminal run:
su
cd sdcard/bt5
sh bootbt
http://www.multiupload.com/19WPTHNA90
I encourage anyone who wants to upload your own images optimized for the display of the Optimus.
Click to expand...
Click to collapse
any instruction to chroot the Megoo on ob ?
u should watch this http://wiki.meego.com/ARM/MSMQSD
of the moment exist on internet one image that load it in terminal mode (no gui) with bash shell, it is similar to ubuntu terminal. Maemo gui is possible install in ubuntu, it is hildon desktop. Since my experience the most usable desktop is lxde running vertical mode 760x1024 with real vnc using virtual keyboard of android and emulated mouse. Backtrack 5 is usable but the image has errors and gnome run slow. other alternative is matchbox desktop for small screens in embeded devices.
To run meego or maemo is necesary config gui and install vncserver.
For other part, meego uses moblin desktop, it is posible install in ubuntu too.
Here i share one rootfs with lxde and backtrack repositories, it is in spanish language; http://www.htcmania.com/showthread.php?t=260402

[Q] Running Windows on RAZR i

I was wondering if it's possible to run a Windows OS natively on the RAZR i because it has an x86 processor.
It's possible, I think, but drivers might be a problem. Windows has a lot of drivers built in, but I doubt it has the proper drivers for a phone. After all, it was never designed to run on something like this.
freak4dell said:
It's possible, I think, but drivers might be a problem. Windows has a lot of drivers built in, but I doubt it has the proper drivers for a phone. After all, it was never designed to run on something like this.
Click to expand...
Click to collapse
Windows 8 RT maybe?
Marcb said:
Windows 8 RT maybe?
Click to expand...
Click to collapse
There is no such thing.. only Windows 8 and Windows RT.
rommudoh said:
There is no such thing.. only Windows 8 and Windows RT.
Click to expand...
Click to collapse
Ok... so consider Windows 8 then...
I am by no means an expert in this field but wouldn't it be easier to try and get something like Ubuntu running on it and then you could at least run windows applications through wine. If this goes well we could look into putting windows (either 7 or 8) onto the phone.
A user posted the following in this thread:
pablocrossa said:
So I tried this out and there is a chroot-compatible busybox after rooting ("busybox chroot" needs to be called as opposed to "chroot" as there is no properly made link), so anyone with this phone can try (using a PC) install Ubuntu without the grub bootloader using manual partitioning on a single ext3 (I am not sure if ICS supports ext4) partition on a microsd, put into your phone, use a root terminal, mount it, mount the adequate dev, dev/pts, proc and sys partitions and chroot right in. You then might want to install a VNC server in Ubuntu to be able to create a VNC X session in a framebuffer and a VNC client on the android side to VNC into localhost (127.0.0.1), but that should work, I didn't have time to try it this weekend If someone gets stuck post and let us see what happens I cannot wait to see if wine can run desktop Spotify with sound, excited a little hehe.
EDIT: So to make this more understandable you must:
Install Ubuntu (using your computer) to a MicroSD, specifying partitions manually and choosing only a single ext3. Right before clicking install there is a button with something along the lines of "Advanced options", disable the install the bootloader (grub) option.
Insert the MicroSD into the phone and open a root terminal
I don't use Android, maybe it automounts in /media/sdcard or /sdcard, if not you will have to find the device and partition name (probably /dev/mmcblk0p1 or /dev/sdb1) and issue "mount /dev/DEVICEPARTITION /media/sdcard"
mount -t proc proc /media/sdcard/proc
mount -o bind /dev/ /media/sdcard/dev/
mount -t devpts devpts /media/sdcard/dev/pts
busybox chroot /media/sdcard /bin/bash
Now a shell from Ubuntu should open. apt-get update && apt-get install vncserver (maybe the DNS settings must be set in /etc/resolv.conf, not yet sure)
vncserver (or start vncserver, something along those lines)
Now from Android install a VNC viewer and vnc into 127.0.0.1 (or localhost)
That should do it, again if you get stuck post here
Click to expand...
Click to collapse
If you can make the boot loader to read GRUB or MBR partition tables than the phone will load a Win XP/Vista/7/8 because of the native x86 instructions in the processor. Trying to find matching drivers then is the next step.
Sent from DefyX RED.
if this possible....

[CHROOT] Running Arch Linux on the RARZ i

Right before the Introduction, I am not responsible for anything you do to you Phone, you are free to do or not to do what I am explaining to you so its on your own risk...
Introduction:
Ok guys so here we are, trying to install a Linux Distro on our awesome x86 Phone...
Damn this doesnt work because our Android is compiled in a different way than ARM Android so we have to wait for better Docs or someone who can get the bootloader to laod a different OS...
But you dont want to wait right?
So here we go, the only alternative:
Chroot into Linux
Description:
Chrooting lets you run annother Linux on top of the currently running Linux (what Android actually is...more or less).
So you mount an existing Linux and simply run it.
What I want to do:
I want to guide you through chrooting and setting up an Arch Linux on your RAZR i.
Requirements:
You need:
A micro SD card (I used a 8GB sized one but 4GB/more than 8 should also work, you just have to adjust some Steps)
An Arch Linux Image (I will give you a link)
(Not required but I will focus on this Platform because I use it myself and it works best, I guess)
A Linux PC running Virtual Box
Tutorial:
First you need an Arch Linux Image. Any other Linux Distro should work fine, but others also take up a lot more Space and Ubuntu for Example has many Problems running in Chroot (because Canonical did some S***).
I used this one:
Arch Linux 2012.10.06
Again, any Version should work fine, just took the latest one
So lets set up our System...
Start Virtual Box and create a new System.
Create a new Hard Drive and size it so it fits onto your micro SD.
I used 5 GB-7.5GB on a 8GB micro SD.
Insert the downloaded ISO FIle into the Virtual Box CD Drive and start your Virtual Machine.
Select the i686 mode (because or CPU is 32bit not 64bit)
If you have the wrong Keyboard Layout Follow this Keyboard Setup Keyboard Config
Next you need to partition the HDD: Partitioning the HDD
Now Install the Base System: Install the Base System
After this follow the next Steps on the Arch WIki (Generate an fstab, Chroot and configure the base system, Set the root password and add a regular user)
DO not reboot because you didnt create a Bootloader (not required for chrooting), instead go to the "Extra" Section and follow all Steps till troubleshooting (DO NOT REBOOT AND DO NOT STARTX this didnt work for, might for you, might not and then you have to cold reboot the VM)
Now you can reboot Again enter the Live System, load your keymap and chroot into the system
You might already install some Packages like a VNC server (pacman -S tightvnc) which will be required for a Graphical User Interface later...
To create the Image you need later, the easiest way for me to pull the Image out of the VM (which has no space for this Image) because the Virtual Box Plugin didnt work for me is sshfs.
I highly recommend to install an ssh server ond the sshfs system into you arch.
If you have done so, mount your PC from inside the VM so you can put the Image on your PC's HDD.
now to create an Image of your Arch theres one command and two ways:
You create an Image of the whole HDD (what I did)
You create an Image of the one Partition
I chose the first because i didnt want to put anything else on my micro SD, I cant confirm that the second way works but it is suppoes to so lets create the Image:
We make use of the Linux command dd, really, REALLY mke sure that you are executing from inside the VM since you can harm your HDD and dont forget the file extension....
First method:
Code:
dd if=/dev/sda of=/location/to/your/PC/HDD/imagefilename.img
The Second method (not confirmed):
Code:
dd if=/dev/sda1 of=/location/to/your/PC/HDD/imagefilename.img
where sda1 should be the partition you want to image...
This might take a loooooooong time
Now you have this Image, put your micro SD into an Adapter and put it into your PC.
Now find out the name of the SD, I used gparted and I found out that the name is sdc (could be sd + letter of alphabet)
Here the Ways split again:
The first Method completly overwrites anything that is on your microSD so make a backup, the second Way is just putting the created .img file onto the micro SD:
Method One:
Code:
dd if=/path/of/the/img/file of=/dev/sdc
Replace sdc with your micro SD letter, if you put in a wrong letter, you might overwrite your HDD so be careful, I am not responsible for what you do...
For me my Phone said, the micro SD is empty or has a wrong FIlesystem (its ext4) but you shouldnt care, we can mount it anyway...
Now copy the FIle mountscript.sh to the internal SD (the FIle is in this Posts Attachements)
Next open up a Terminal and type in:
Code:
cat /proc/partitions
You should get a list of all your Partitions, if you followed my Way, the last one should be your micro SD (look at the size) and called like mmcblk1p1
If you followed the Second Way, you dont need this Step...
Now type in the Terminal:
Code:
busybox sh /mnt/sdcard/mountscript.sh
the busybox in the beginning seemed required for me because our busybox is kinda strange...
You will be guide through a little setup, I hope it is selfexplaining...
When the script ran through successfully your terminal should look like [[email protected] /]#
In the next Post I will guide you through the Setup of the VNC Server
Any questions or something doesnt work? Just tell me
//Robert
Post reserved for VNC Tutorial
You can start by grabbing yourself this App...
Guess I forgot something
Added the mountscript as Attachemenet
did anybody try?
//Robert
this should fix network issues:
https://blog.tuinslak.org/socket-permission-denied
Hai Robbilie, After install with Ubuntu PC & turn off pc & All seem ok & at phone till [[email protected] /]# & open installed VNCwith name DLKS & 192.168.0.9 & port 5900 but cant handshake & also try many similar VNC still the same. Unlike our PC where on>boot>desktop shown & can play ? Pls advice. Thks.
i advice tiger vnc, but the console tells you the vnc server started?
btw its only 5900 when its on display 0 when its on display 1 its 5901 and so on...
the used display is shown in the console...
are you running the vnc from root?
How to run vnc from root? i only start separately,pls advice.Thks
if you have a vnc server installed in the chroot environment you need to run
vncserver -geometry 888x540
this is just to fit the phones resolution
I'm following your instructions for this. They are well written but I can't figure out the part about ssh and sshfs. What do you do for that step?
Is there seriously not an easier way such as opening the vdi image with some program and copying and pasting the files to my Windows desktop and then using something like IMGBurn to create an iso file and then convert it to an img file?
Ubuntu ?
Hello
I just see this old news when i would like to install Linux Mobile , any news about or link ?
http://www.firstpost.com/topic/prod...otorola-razr-i-video-9n_E6aapPSo-51417-1.html
Thanks
EDIT : http://sourceforge.net/projects/mpsdk/

Categories

Resources