PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Windows Mobile Software (http://forum.ppcgeeks.com/forumdisplay.php?f=23)
-   -   Hijack any PC with your Phone (http://forum.ppcgeeks.com/showthread.php?t=71862)

pleasestirme 06-16-2009 05:19 PM

Hijack any PC with your Phone
 
***Thanks goes to no2chem for the USBtoPC driver.***
www.nuerom.com


If you use the USBtoPC driver, you know that it allows systems to detect your phone, namely its SD card, as a removable disk (thumb drive).


The fun thing about that is the removable disk(your phone) can be made to be bootable.


In fact I am currently posting this using an appliance at work that has been booted up off my phone, and then connected to the web through my phone also (WMWifirouter).


How did I do it:
I did all the formatting and MBR writes with my SD card directly attached to a PC using a USB adapter. After it was all set up I plugged the card into my phone then set the USBtoPC driver for removable disk. I plugged in the phone to the PC and tried a USB boot. It worked!



Currently I have my phone dual booting to Puppy Linux and Hiren's Boot CD. The footprint for this on my SD card is around 250MB.

I use Puppy Linux with a RNDIS USB driver every day at work to "safely" browse the web through my phone. Also from time to time I use Hirens Boot CD to reset passwords, write zero's to drives, read data from systems, test hardware, just get to DOS, and a bunch of other stuff.


So with your phone and a mini USB cable you can hijack any PC, booting it to your own custom OS, accessing its filesystems and hardware, and geting it to the web.


***Thanks goes to no2chem for the USBtoPC driver.***

If you use the USBtoPC driver, you know that it allows systems to detect your phone, namely its SD card, as a removable disk (thumb drive).


The fun thing about that is the removable disk(your phone) can be made to be bootable.


In fact I am currently posting this using an appliance at work that has been booted up off my phone, and then connected to the web through my phone also (WMWifirouter).


How did I do it:
I did all the formatting and MBR writes with my SD card directly attached to a PC using a USB adapter. After it was all set up I plugged the card into my phone then set the USBtoPC driver for removable disk. I plugged in the phone to the PC and tried a USB boot. It worked!



Currently I have my phone dual booting to Puppy Linux and Hiren's Boot CD. The footprint for this on my SD card is around 250MB.

I use Puppy Linux with a RNDIS USB driver every day at work to "safely" browse the web through my phone. Also from time to time I use Hirens Boot CD to reset passwords, write zero's to drives, read data from systems, test hardware, just get to DOS, and a bunch of other stuff.


So with your phone and a mini USB cable you can hijack any PC, booting it to your own custom OS, accessing its filesystems and hardware, and geting it to the web.


Here is a guide on how to do it!

requirements:
-Windows PC
-ROM loaded with no2chem's USBtoPC driver
-MicroSD memory card (I've tested with 8GB SDHC and a 2GB card)
-MicroSD memory card reader (usb adapter so you can plug your memory card directly into a PC)


download first:
USB Format Tool
Grub4Dos
puppylinux
PowerISO
Hiren's Boot CD (version 9.9) (According to the forum rules. No link to this software will be posted) ...google it



Guide:

1. This process will destroy all data on the card. Back up your entire MicroSD card!
2. Unplug all removable drives from your PC.
3. Using the PC adapter plug your MicroSD card into a Windows PC. Allow your PC to dectect the card.
4. Run the USB format tool. Under Device make your your SDcard is selected. File system should be FAT32. Leave the rest unchecked and blank and click start. Allow the program to finish and close it.
5. Run Grub4DOS. Under Device select Disk and make sure your SDcard is selected. For "Part List" under the Device area click Refresh and choose Whole disk (MBR). Leave the rest blank and unchecked and click install. Allow the program to finish and close it.
5. Copy grldr and menu.lst (from grub4dos.zip) to the root of the usb drive.
6. Edit menu.lst with a text editor to look like:

timeout 60
default 0

title Boot from Hard Drive
rootnoverify (hd0,0)
chainloader (hd0,0)+1

title --------------------
root

title Start Hiren's BootCD
find --set-root /HBCD/boot.gz
kernel /HBCD/memdisk
initrd /HBCD/boot.gz

title Mini Windows Xp
find --set-root /HBCD/XPLOADER.BIN
chainloader /HBCD/XPLOADER.BIN

title Puppy Linux
kernel /Puppy/vmlinuz
initrd /Puppy/initrd.gz

6. Open Hirens .iso with PowerISO. Extract and copy the HBCD directory to the root of the MicroSD card.
7. Create a folder called Puppy on the MicroSD card.
8. Open Puppy Linux's .iso with PowerISO. Extract and copy the entire contents of the .iso to the Puppy directory created in step 7.
9. Insert the MicroSD card back into the phone. On your phone go to \Settings\Connections and select USBtoPC. In the USB to PC Settings select Mass Storage (USB Drive) and check "Appear as removable device". Click OK to save.
10. Plug your phone into a USB bootable PC with the USB cable. Reboot the PC and edit the BIOS or choose boot menu to enable the PC to boot from USB.

Now when you boot up the CD you should have a menu that allows you to select which OS you want.

************************************************** *******************************



(After you are up and running you can use your internet sharing method normally, such as WMwifirouter or ICS Control.)

Here is how to get Puppy Linux on the internet:

1. Puppy Linux will require a RNDIS driver to attach to your phones internet sharing session via USB. Here is the driver as a .pet file.
http://www.murga-linux.com/puppy/vie...ttach&id=13485

Credit for finding this driver goes to tempestuous at http://www.murga-linux.com/puppy/viewtopic.php?t=28190.


2. Boot into Puppy and install the .pet file by clicking it. Start internet sharing on your phone and plug it it via USB.
In the main Puppy Menu choose Setup>Network Wizard. In the Wizard, Click on the RNDIS object and choose AutoDHCP. Then click done.

3. Open the builtin SeaMonkey browser by clicking the Browse icon.


************************************************** ****************************************

This method can be used to boot into almost any OS. Reference the Grub4Dos documentation online for help booting into other OS's.


***Thank you to Tdot for originally providing the multi-boot info***
http://www.fuzzymunchkin.com/tdot/?page_id=632




Have fun!

PleaseStirMe

PleaseStirMe

hibby50 06-16-2009 05:29 PM

Re: Hijack any PC with your Phone
 
Yea i have this on my phone with ubuntu 8.10... the memory footprint is much bigger though

pleasestirme 06-16-2009 05:31 PM

Re: Hijack any PC with your Phone
 
Puppy Linux is around 90-100MB.

DSL (Damn Small Linux) is even smaller at 50MB.


I'm looking to find a nice BartPE XP to boot if anyone has...

hibby50 06-16-2009 05:35 PM

Re: Hijack any PC with your Phone
 
i saw a torrent on TPB a while ago with a VERY small copy of flashdrive xp

btonetbone 06-16-2009 09:16 PM

Re: Hijack any PC with your Phone
 
I would love to see a guide! I'd never even thought of that possibility.

ayato 06-16-2009 09:34 PM

Re: Hijack any PC with your Phone
 
This looks like fun!! I want in on it.

Hoggy46 06-16-2009 10:10 PM

Re: Hijack any PC with your Phone
 
sounds very cool

Spr0ckEt 06-17-2009 01:19 AM

Re: Hijack any PC with your Phone
 
I concur! I would love to see a more detailed tutorial!

codybear 06-17-2009 01:37 AM

Re: Hijack any PC with your Phone
 
Likewise.

Retired Marine 06-17-2009 07:51 AM

Re: Hijack any PC with your Phone
 
Count me in. Another tool in the PC repair tool kit can't be all bad! =D>


All times are GMT -4. The time now is 12:13 AM.

Powered by vBulletin® ©2000 - 2026, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0