[Q] Disaster - need help... - Android Software Development

I got a copy of Android - I think its 1.6 - running on my laptop - and it seemed to work ok and be stable so I wanted to put it onto the machine permanantly.
Trouble is its decided that nothing else on the machine exists and I can't get back into vista whatever I try
It boots into something called grub loader and the only two options are the normal boot and a sort of safe mode - that lists drivers much like the old one for Windows 95/98 where you could y/n each one...
I really need help to get vista back again since there is stuff I really need like internet banking that I don't think I can do any other way (to be fair I have yet to try)
Thanks in advance
Jemma

Please tell me you partitioned off your hard drive before doing this?
If not then its a reinstall I guess, which isn't to bad as it allows you to install a decent copy of windows such as XP

That quite simply isn't an option - I was told that there is a way of solving it by using a windows CD or boot disk to reload the MBR - I was also told that the file running GRUB can be edited to find windows.
The problem is I don't have another machine and I am on state benefits - I need this computer up and running and I need access to my documents.
I can't seem to mount anything in android - and as the only option is 'format sd card' I don't really want to take it..
Does anyone else have any suggestions?

Jemmauk said:
That quite simply isn't an option - I was told that there is a way of solving it by using a windows CD or boot disk to reload the MBR - I was also told that the file running GRUB can be edited to find windows.
The problem is I don't have another machine and I am on state benefits - I need this computer up and running and I need access to my documents.
I can't seem to mount anything in android - and as the only option is 'format sd card' I don't really want to take it..
Does anyone else have any suggestions?
Click to expand...
Click to collapse
Well thanks for the sob story but what does being on benefits have to do with anything?
Anyway simply set your pc bios to boot from cd first, insert disk and boot up. From there you will be asked do you want to install or repair. Choose repair.
I'm unsure of the next step because I don't use Vista *spits* but if you can get to recovery console then you can run fixmbr from the prompt and also there is a boot manager that can fix your boot sector.
Alternatively you could from a dos prompt delete the 1.6 folders and rewrite the msconfig to open windows only.
There is also the root of trying the f8 safe mode boot into admin account and rewrite the msconfig from with windows if accessible from f8 safe.
But hell I ain't anyone else but I guess my 24 years in the business of building custom machine and my extensive knowledge of windows xp and below means nowt? Maybe try being a little less dismissive next time hey?
Add me on gmail - [email protected] if you want me to help you sort it out faster than we can here

Did you create partitions before installing android? if not then windows doesnt exist anymore, which is why grub didnt automatically add it to the list of things to boot (mine always listed everything, but sometimes it doesnt do that automatically)

this happend to me to. I had to use I linux live cd to delete the linux partition. and fix the mbr.
Sent from my Liberty using XDA App

Related

[Tutorial] Boot Linux on the Typhoon

Started to mess about with this earlier today, finally got the damn thing to work Turns out it is quite easy..
First, to get one thing straight, this will only boot the kernel, it will dump you at a shell which you have to remotely log on to via telnet over usb. There will be some (not so) fancy text appearing on your phone's screen but that is about it. Also, it only works on unlocked phones.
This is what you get:
On your computer you'll get this:
Cool, huh? Btw, this is running from a memory card, your OS will be untouched so as soon as you reboot the phone it will boot right back into WM2003/5/6.
1. What you need
* A HTC Typhoon running any rom of your choice (I did it on WM6).
* A miniSD memory card
* A Linux distro - I downloaded the Ubuntu Live CD and ran it through VMWare, no need to install anything or reboot your computer.
* miniSD image of Xanadux - this is the linux port for HTC devices. Grab the latest version here: http://rapidshare.com/files/92218185/Linux.zip.html
(these files are extracted from the miniSD image file found here: http://vivien.chappelier.free.fr/typhoon/download.html)
2. How to run linux on the Typhoon
1. Instead of installing linux properly on your phone which requires partitioning of the internal memory etc (a lot can go wrong) we'll put it on the memory card then a Windows Mobile program called HaRET will boot linux for us from WinCE. Completely non invasive in other words.
This bit is dead easy, just extract the Linux.zip file you just downloaded and copy the files to the root of your memory card (must be memory card, can't do this from the internal memory afaik). Next, go to the File Explorer on your phone and find the file HaRET.exe. Run it then press the run button (this button has focus when you execute HaRET.exe so just press the joystick when the windows appears) and you will see a message saying "Booting linux", then after a few seconds your screen will go black and some text will appear.
Voila! That's linux running on your phone!
2. Connect to the phone via telnet
If read the last line of text that appeared on screen you'll see that it says "Press enter to activate this console" but no matter what buttons you press on the phone nothing happens, some gibberish appears but that's it.
Solution: telnet to the phone from your computer.
Get Ubuntu to boot on your computer, then go to Applications->Accessories and run the Terminal. Next type in the following commands:
Code:
modprobe cdc_ether
modprobe usbnet
ifconfig usb0 up 192.168.9.1
and finally
Code:
telnet 192.168.9.10
Login with username root and you'll find yourself at a shell like the screenshot above. Everything you see from now on is coming linux from your phone!
I've noticed that Xanadux doesnt always initialise the USB port unless it is connected via USB when booting up so make sure you always have your phone connected via USB when you run HaRET.
Now I'm going to try to figure out how to get the GSM module to work...
LINUX based ROM??
Hi shandar,
I have read your post and I am interested to know if you are cooking a LINUX based ROM that will run in a WIndows Mobile device? That would be too good to be true.
Also another question is do you need to have Linux running on your desktop to make this tutorial work?
ryanchanmd said:
Hi shandar,
I have read your post and I am interested to know if you are cooking a LINUX based ROM that will run in a WIndows Mobile device? That would be too good to be true.
Also another question is do you need to have Linux running on your desktop to make this tutorial work?
Click to expand...
Click to collapse
Hey, well, I don't know enough to make a linux rom for smartphones. I'd love a working linux distro for Typhoons & Windows Mobile phones in general but it is way out of my league unfortunately.
Btw, I probably should clarify that I only wrote the tutorial, the actual linux port is made by someone else.

Reinstall Vista on Shift

Hi there,
I just bought my HTC Shift. I really like it. However, I would like to reinstall Windows Vista because an important application that I need will not install. I heard that there are problems with wifi/bt and drivers in general when using XP or Windows 7.
Since I am happy with how it runs on Vista I would simply like to reinstall. The problem is that I bought the device from a 3rd party without any CDs or manuals. Is there a hidden partition that contains the Vista kit with drivers? Or how exactly does this work?
Thank you.
Vista recovery
stargatesg1 said:
Hi there,
I just bought my HTC Shift. I really like it. However, I would like to reinstall Windows Vista because an important application that I need will not install. I heard that there are problems with wifi/bt and drivers in general when using XP or Windows 7.
Since I am happy with how it runs on Vista I would simply like to reinstall. The problem is that I bought the device from a 3rd party without any CDs or manuals. Is there a hidden partition that contains the Vista kit with drivers? Or how exactly does this work?
Thank you.
Click to expand...
Click to collapse
Hi stargatesg1,
If the partition is not damaged you can do a Vista system recovery as follows:
Hard Disk Recovery
In case of system failure, Windows Vista® can be recovered to the hard disk by running the hard disk recovery utility. Before starting this utility, make sure to back up important data and files.
To run the hard disk recovery utility
1. Shut down the Mobile Computer and then power it on again.
2. At the start of the boot-up process, immediately press F3 to run the hard disk recovery utility.
3. You will then see the following screen:
Recovery process is starting .....The process will delete all data on the hard drive.Do you want to terminate the process? (Y/N)
104 Securing and Managing the Mobile Computer
Press N to continue with the hard disk recovery process. If you press Y, the hard disk recovery utility is terminated.
4. The next message prompts you whether or not to rebuild the MBR (Master Boot Record) data:
Recovery process is starting .....The process will delete all data on the hard drive.Do you want to terminate the process? (Y/N) NDo you want to rebuild the MBR (Master Boot Record) data? (Y/N)
If, aside from drive C, you have created other partitions in the hard disk and you want to keep them, press N. If you press Y, your partitions will be deleted.
5. A confirmation message then prompts you whether or not to continue. Press Y to start the hard disk recovery process. If you press N, the hard disk recovery utility is terminated.
6. After the recovery process is complete, slide and hold the POWER/HOLD switch for about four seconds to shut down the Mobile Computer.
Before overwrighting the current OS (if different from Vista), I would save an image of it using a dedicated freeware e.g. Macrium Reflect Free in order to put it back when needed because Shift with Vista is running very very slow. As far as I know there are very little problems with XP or Windows 7, I would rather install one of them than Vista.
Good luck!
Since I am going to loose all data it wouldn't hurt to try a different OS as well. If I install XP/7 will I still be able to recover Vista in the same way with hard disk recover utility?
Mersi
Yes, for sure, if not touching the Vista recovery partition (which it doesn't get written during the normal installation process).

[Q] Ubuntu on my home pc... flashing android from it

Hello,
Ive been on this site for some time now and have flashed countless roms from windows roms, sd android and now, of course, nand roms. I have always had windows on my home pc, but after the experience of going from windows to android, I started looking for something better for my home pc. I ended up wiping windows from my computer and installed Ubuntu, which is smooth, fast and I love it. However, one thing has me stumped. I cant figure out how to get the tools, ex. SYNC, installed on my computer. I am trying to use WINE to accomplish this... anyway, im not an expert, but if someone could just give me a little help, I would appreciate it!!!
I hope i opened this in the right place...
I dont think I need the SYNC program, but when I try to use the DFT flash program, ubuntu says it cant be opened... I dont want to use microsoft windows anymore... help me obi wan...
VirtualBox and install a Windows image. That should probably work.
Not sure about sync, but for flashing, http://forum.xda-developers.com/showthread.php?t=611433
quote
- Take any "RUU_signed.nbh" from a ship ROM and copy it to SD card.
- Rename it to "leoimg.nbh"
- Reset the device while pressing the volume down button.
Although you probably know about this already

[Need Help] "Missing operating System"

Hi all,
I don't know if my problem as already been solved but I didn't found anything.
At first, I have to say I installed windows 8 as principal operating system (I know, it's stupid...).
I used windows 8 without big problem since the deployment but today, after a bug, I reboot the PC and now I have just black screen with the message "operating system missing"... The system does not boot, just black screen with the message
Does anybody have an idea how I can solve this problem ?
(Sorry for my english)
you can put dev preview DVD or USB whatever you used to install.
and run the installation and then repair Windows 8 (if it detects a Windows installed). with system restore or maybe it will repair. if not you will have to refresh your win8.
also it can be (if you have more hard drives) that you aren't starting the one with Windows 8. so you can try and see in bios if thats the case. thats when i have seen this message.
Thanks for your answer.
When I run the pc, it doesn't launch anything, just the black screen. It's probably the bios but I can't do anything, just the message but I'm not allowed to do anything :-(
Sent from my HTC Sensation 4G using XDA App
Finally, the problem is quite solved.
When I have this message, by pushing ctrl+alt+suprr, if I'm enough fast, I can push F12 and choose wich part I want to run. Then I placed my W7 backup on CD and runned it.
It was not easy but W7 is successfull restored.
Of course, all my personal data were deleted...
But whe I reboot the PC, I've always the message "missing operating system", then I have to ctrl+alt+suprr and after F12, and then choose the hard drive, and the PC W7 boot.
It's not yet perfect but for the moment the PC works...
Thats exactly i told you. of course it changes between bios and motherboard. your problem is not your windows. its the priority of your harddrive.
I dont know what motherboard you have.
so i will find pictures to explain what you have to look for. because you didnt have to repair your Windows if thats the case. the problem its (like i mentioned) your harddrive priority.
so you go to your bios and look for the Boot section.
http://www.motherboards-reviews.com...ges/ASUS_M2N68-AM_PLUS_BIOS_boot_settings.jpg
if you go to Boot Device Priority, you can check if your harddrive is second (the one with your OS) and if you want your cd or usb to boot first if not you can leave it first.
http://motherboards-reviews.com/ASU...s/ASUS_M4N78-AM_BIOS_Boot_Device_Priority.jpg
something like this.
and if that part is right you have to go to Hard disk drives
http://www.laptops-battery.co.uk/images/maintain/bios-boot-hard-disk-drives-445x261.jpg
so there you have to check if your harddrive is first or the correct one. and ready... its probably this Hard disk devices thing. and then you don't have to use that method of changing manually which boots
Thanks for your help
I'm not at home for the moment. I'll try your method tomorrow or wednesday, I'll let you know, but thank you for the time you spent on my problem.
Sent from my HTC Sensation 4G using XDA App

help ! how to remove dual boot

hello guys i had windows 7 installed and i installed windows 8 on my other partition and after some days i did a format on win7 partition but the dual boot menu is still there any solution to remove that ?
Go to msconfig boot tab.delete windows 8. If that doesnt work,try to go to disk management and delete the partition for windows 7 or change the drive letter.
Hit thanks if i helped you
Deleting the partition won't do anything useful. If you are unable to remove the second boot item using the graphical tools, you will need to use bcdedit. This program is command-line and requires Admin, but isn't really that hard to use. It has a lot of built-in help info, plus you can find lots of info and examples online.
By the way, this isn't really a Win8 problem. BCDEdit has been around since Vista. Don't worry if you find instructions for Vista or Win7; they'll probably still apply on Win8.

Categories

Resources