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

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

Related

HTC Magic on Windows 7

Hello,
I've been googling around for a workaround but I cannot seem to find one that actually works. The problem is, when I try to connect my phone to the PC and, for example, want to flash it with an official rom - it simply cannot find it. It can find the SD card when I mount it.
When I put it in, Windows attempts to install a few drivers but fails at the ADB. According to several sites, I can just use the one from HTC Sync or from the Android SDK. It installs fine but it still doesn't seem to be able to contact my phone. I cannot sync it either.
Anyone got an idea? I seem to be on my last nerve.
I dont have any problems here. What windows beta release do you use?
Final version. Released today. It's Windows 7 Professional.
First, set the phone to debugg mode...
Ok here we go (at least it works for me)...
1.- Remove the drivers actuaslly installed (it might get tricky, as I don't know exactly how to remove the registry keys)
2.- Once you have cleaned windows from the drivers, connect the phone to the computer and let it recognize everything (Probably it would not recognize the ADB drviers, so far we are good)
3.- After the drivers are installed, go and check in control panel/Devices Administration (or something like that... I have Windows in spanish so I don't know exactly how is called on english... By the way, sorry if my english sound a little bit weird =P..)
4.- Here you should see probably a device as "not recognized" or what ever is called... Here is the part where you need to select the driver manually.
5.- Check the phone driver folder (you should have it, if you don't get them)
6.- When you see the different options, select the one called HTC Dream Composite ADB Interface
7.- You are done =D...
I hope I made it clear enough for you...
If you have any doubt, add me to MSN xnofrostx - hotmail.com (I don't put the @ because I hate spam xD so you should add only the xnofrostx =P...
Hope you can get it to work...
I couldn't, for the life of me, get it to work so I put Windows XP on a vmware and flashed it through there. Works wonders.
Sorry for not being able to help.
I run Windows 7 Evaluation copy. I have had no problems. In fact there was nothing for me to set up, it just saw it on first attempt.
trillex said:
Hello,
I've been googling around for a workaround but I cannot seem to find one that actually works. The problem is, when I try to connect my phone to the PC and, for example, want to flash it with an official rom - it simply cannot find it. It can find the SD card when I mount it.
When I put it in, Windows attempts to install a few drivers but fails at the ADB. According to several sites, I can just use the one from HTC Sync or from the Android SDK. It installs fine but it still doesn't seem to be able to contact my phone. I cannot sync it either.
Anyone got an idea? I seem to be on my last nerve.
Click to expand...
Click to collapse
I'm on Windows 7 Ultimate. Driver from AndroidSDK and HTC Sync works perfectly for me. I can access everything except cannot sync with HTC Sync.
Rogers Magic
Rooted
CyanogenMod 4.1.9999
I cannot sync either, when installing the sync program it gives an error but continues installation, then my phone says it cannot detect htc sync on my computer, but im gonna try this link http://www.mydigitallife.info/2009/08/24/workaround-for-htc-hero-sync-problem-in-windows-7/
trillex said:
I couldn't, for the life of me, get it to work so I put Windows XP on a vmware and flashed it through there. Works wonders.
Click to expand...
Click to collapse
I'm glad you decided to upgrade back to XP!
IE_DSM said:
I'm glad you decided to upgrade back to XP!
Click to expand...
Click to collapse
LOL, Windows 7 is a damn nice release and a lot faster than both xp and vista compared to the hardware available at the moment off release.
i am also using windows 7 beta and final
no issues at all. and i also think, that win7 is really good piece of software. far superious to win xp

I have looked everywhere and tried everything - Windows 7 WILL NOT connect to my HD2

I have tried changing the fast sync option
I have removed everything from the computer and re-installed.
I have hard reset my HD2.
I have restored my computer to before i bought the HD2 and let windows figure out that it needs to install WMDC - then let it download itself and install it.
I have tried every USB port on my computer and also bought a powered USB hub and tried that.
After all installs it just simply wont let me make a partnership or anything.
I don't know what to do anymore. I WANT ME SOME NEW ROMS!!!! please help me out. Other than things to get Windows 7 to work - is there a way to flash hardSPL2 / roms without USB?
I appreciate any help given and i have searched the forums here and all over the net. If i missed that one special trick that my computer needs i do apologize.
slowestcivic said:
I have tried changing the fast sync option
I have removed everything from the computer and re-installed.
I have hard reset my HD2.
I have restored my computer to before i bought the HD2 and let windows figure out that it needs to install WMDC - then let it download itself and install it.
I have tried every USB port on my computer and also bought a powered USB hub and tried that.
After all installs it just simply wont let me make a partnership or anything.
I don't know what to do anymore. I WANT ME SOME NEW ROMS!!!! please help me out. Other than things to get Windows 7 to work - is there a way to flash hardSPL2 / roms without USB?
I appreciate any help given and i have searched the forums here and all over the net. If i missed that one special trick that my computer needs i do apologize.
Click to expand...
Click to collapse
i dont know if its related but i have read that sometimes its the anti virus at fault (notably KASPERSKY)
slowestcivic said:
I have tried changing the fast sync option
I have removed everything from the computer and re-installed.
I have hard reset my HD2.
I have restored my computer to before i bought the HD2 and let windows figure out that it needs to install WMDC - then let it download itself and install it.
I have tried every USB port on my computer and also bought a powered USB hub and tried that.
After all installs it just simply wont let me make a partnership or anything.
I don't know what to do anymore. I WANT ME SOME NEW ROMS!!!! please help me out. Other than things to get Windows 7 to work - is there a way to flash hardSPL2 / roms without USB?
I appreciate any help given and i have searched the forums here and all over the net. If i missed that one special trick that my computer needs i do apologize.
Click to expand...
Click to collapse
I had the same problem with Win 7, however when I unchecked the faster connection option on HD2 it connected, although in Win7 it had a red x in mobile connection, but on the HD2 a connection had been established.
is formatting your PC an option?
Firewall?
I have three Windows 7 machines (32 & 64) and all connect without any problem. Disconnect from your internet connection. Turn off your anti-virus and firewall and give it a shot. Do you get the window that asks how you want to connect when you plug in your cable? Do you have a functioning cable? Just because it charges does not mean it will connect for data. Will it connect to an XP machine?
slowestcivic said:
I have tried changing the fast sync option
I have removed everything from the computer and re-installed.
I have hard reset my HD2.
I have restored my computer to before i bought the HD2 and let windows figure out that it needs to install WMDC - then let it download itself and install it.
I have tried every USB port on my computer and also bought a powered USB hub and tried that.
After all installs it just simply wont let me make a partnership or anything.
I don't know what to do anymore. I WANT ME SOME NEW ROMS!!!! please help me out. Other than things to get Windows 7 to work - is there a way to flash hardSPL2 / roms without USB?
I appreciate any help given and i have searched the forums here and all over the net. If i missed that one special trick that my computer needs i do apologize.
Click to expand...
Click to collapse
Have you tried a different usb cable? That's the only other thing I can think of that might be the problem.
HD2 on Windows 7 Ultimate
Hi
Had the same problem, and it turned out that the USB-cable i used, was the problem.
I used the cable that followed the 12v Car Charger, and that did no good, so I went and got the cable that came in the package (chargercable) and then it was Christmas and halloween alltogether.
Works like a charm!
@djchubbs yes i have turned that off as well - along with windows firewall
@ozkaya - no formatting my pc is not an option
@johnboatcat - When i plug it in the phone instantly asks me what kind of connection i want (file transfer or active sync with the checkbox option for faster sync as well). It transfers files just fine in file transfer mode as well.
@zarathustrax i have not tried a different USB cable as i dont have access to one. I doubt something is wrong with mine however i will have to see if i can get one somewhere.
@kongsvada Only cable i have is the one that came in the box factory from HTC
Again thank you for all the replies! I really really am trying to get this to work. I have my home computer which i do everything on but i tried my friends laptop today - it has the same exact build of windows 7 on it as my home computer (if that matters) and it will not sync or let me make a partnership or anything. I plugged it in, it downloaded WMDC and installed etc, restarted the computer and plugged it in, went to active sync mode and WMDC or the sync center do not recognize it at all. Since i cant find it in sync center i cant create a partnership.
slowestcivic said:
I have tried changing the fast sync option
I have removed everything from the computer and re-installed.
I have hard reset my HD2.
I have restored my computer to before i bought the HD2 and let windows figure out that it needs to install WMDC - then let it download itself and install it.
I have tried every USB port on my computer and also bought a powered USB hub and tried that.
After all installs it just simply wont let me make a partnership or anything.
I don't know what to do anymore. I WANT ME SOME NEW ROMS!!!! please help me out. Other than things to get Windows 7 to work - is there a way to flash hardSPL2 / roms without USB?
I appreciate any help given and i have searched the forums here and all over the net. If i missed that one special trick that my computer needs i do apologize.
Click to expand...
Click to collapse
OK, let me help you on this if flashing a new ROM will be your immediate task.
1) Just download the ROM that you like and rename it to LEOIMG.nbh
2) Make sure you've HSPL your LEO first.
3) Copy the renamed file into the root of your memory card.
4) Press the VOL down button simultaneously while turning ON your LEO.
5) Just follow the onscreen instructions on your LEO.
6) That's it.
the only problem that I can sense for you now is to HSPL your device because it does require connection with your PC. To bypass this connection with PC thing, do this;
a) Turn OFF your LEO.
b) Turn ON while pressing the VOL Down button together and it will enter the bootloader mode (TRICOLOR Screen).
c) At the bottom of your LEO, it will says "serial"
d) Now, connect the cable to your LEO and and your PC, the words will change to "Usb"
e) Let your PC do its work by installing the necessary driver automatically.
f) When it is done, run the HSPL program your PC. You can download it from this wonderful forum (Please search for it in the ROM development section)
g) Let the program finish and you can see something on your LEO screen in the process. Just look at it and let it finish. DO NOT TURN OFF YOUR LEO (I don't want you to brick your device).
h) When everything is done, reset your LEO and this time press the VOL Down button. This is to go back to the bootloader mode and to check whether the HSPL has been install correctly.
i) then go back to the steps (1 to 6) above to flash your new ROM.
Enjoy,
please post your result and help others too.
regards,
morisa
I had the same problem with my new computer which happend to be running windows 7 (everything was fine on my old xp machine). After much searching and trouble shooting the problem eventually came down to a setting on the motherboard (something to do with the p55 chipset). After I'd turned the c-state option on in the bios I've had no further issues.
It's a long shot but perhaps it will help you too
ok this sounds promising - i will try it this weekend when i have the time - i greatly appreciate the help and i will post results to let everyone know!
thank you all and like i said - will be trying your way soon mmorisa!
I had to change a registry setting on Windows 7 to get it to connect to my HD2... Of course I cant remember the setting, it may be this one
forum.xda-developers.com/showpost.php?p=3942556&postcount=7
mmorisa said:
OK, let me help you on this if flashing a new ROM will be your immediate task.
1) Just download the ROM that you like and rename it to LEOIMG.nbh
2) Make sure you've HSPL your LEO first.
3) Copy the renamed file into the root of your memory card.
4) Press the VOL down button simultaneously while turning ON your LEO.
5) Just follow the onscreen instructions on your LEO.
6) That's it.
the only problem that I can sense for you now is to HSPL your device because it does require connection with your PC. To bypass this connection with PC thing, do this;
a) Turn OFF your LEO.
b) Turn ON while pressing the VOL Down button together and it will enter the bootloader mode (TRICOLOR Screen).
c) At the bottom of your LEO, it will says "serial"
d) Now, connect the cable to your LEO and and your PC, the words will change to "Usb"
e) Let your PC do its work by installing the necessary driver automatically.
f) When it is done, run the HSPL program your PC. You can download it from this wonderful forum (Please search for it in the ROM development section)
g) Let the program finish and you can see something on your LEO screen in the process. Just look at it and let it finish. DO NOT TURN OFF YOUR LEO (I don't want you to brick your device).
h) When everything is done, reset your LEO and this time press the VOL Down button. This is to go back to the bootloader mode and to check whether the HSPL has been install correctly.
i) then go back to the steps (1 to 6) above to flash your new ROM.
Enjoy,
please post your result and help others too.
regards,
morisa
Click to expand...
Click to collapse
This worked great! I knew about bootloader screen, i knew i could flash from the SD card but i didn't know how to put them together. Thank you very very much for the help, now off to flashing roms!
One simple - probably stupid question:
I have seen TMOUS compatible on a few roms, however i will then read for that same rom that it is 576 ONLY - And then in another rom thread i see the creator of the rom say TMOUS compatible and then "TMOUS=1024". So what one is it!? just trying to be safe
Again - thank you all so much for the help - i really appreciate everyone that tried to help!
Edit: Just flashed the Evo rom to the phone, plugged it in and BAMN im able to sync with WMDC immediately - so thank you all so so much - super happy now with my 1024 leo!
slowestcivic,
I feel happy that you managed to do it and flash your favorite ROM with the guides I wrote.
at least i can see another smile from another happy LEO user.
best regards and don't forget to help others too.
mmorisa
slowestcivic said:
@djchubbs yes i have turned that off as well - along with windows firewall
Again thank you for all the replies! I really really am trying to get this to work. I have my home computer which i do everything on but i tried my friends laptop today - it has the same exact build of windows 7 on it as my home computer (if that matters) and it will not sync or let me make a partnership or anything. I plugged it in, it downloaded WMDC and installed etc, restarted the computer and plugged it in, went to active sync mode and WMDC or the sync center do not recognize it at all. Since i cant find it in sync center i cant create a partnership.
Click to expand...
Click to collapse
Also running Office 2010 beta can cause active sync issues
yeah i have 2007 outlook so that wasnt thr problem. Still not sure what was wrong with it but after flashing a new rom all is well
I had the same trouble with win7. What i did after i tryed evrything i could think of was dowloading the latest active sync from Microsoft. Restarted and plugged the phone in and it worked

[Q] Disaster - need help...

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

[Q] Problems with Ubuntu on G2

I have recently gotten ubuntu working on my G2. I have ran into 3 problems though...
1) after rebooting my phone and going into terminal (to start ubuntu up) i type
"cd /sdcard/ubuntu"
then
"bootubuntu"
Which goes off without a hitch, but when i start up the VNC so i can use the GUI, i get a problem. all the commands go through but it makes a new localhost.. which gives me problems because A) i dont wanna setup a new VNC everytime i wanna use ubuntu and B) When the new localhost:2 or localhost:3 (depending on how many times i run "bootubuntu") i dont know the port its calling for or whatever information its needs for to connect to it with VNC. (to see what i mean by this look at the screenshot i took!
AND SECONDLY...
2) WHEN i can get into ubuntu (the only way ive gotten it to work is when i use it the first time) (ie. whenever i wanna use it i delete the ubuntu SD card contents and recopy them over and re-run "sh install.sh" this doesnt take long to run but it does take long to copy over 2 GB of stuff to the SD card) Which definately isnt the way its supposed to be used everytime i wanna use ubuntu. BUT BUT BUT, when i do this and it works, the keyboard inputs in ubuntu or completely screwed up! Ive yet to find the answer online so if anyone can help me this would be much appreciated, but not useful if i cant fix my first problem...
THIRDLY...
3) When i try to use USB storage after running ubuntu in VNC it simply wont connect, I have tryed and tryed again. The only way to fix this is to reboot my phone, which is when i found my problem with restarting and not being able successfully restart ubuntu without recopying the files over..
ANY HELP IS APPRECIATED!!!
This is hardly the place for this post. You would get a much better response if this was in the G2 and Desire Z Android Development Forum.
Either way, I'd say you should try creating a virtual partition on your SD card and see how that works out.
will do, mods, please delete this post!
Posting your thread in General, Q&A AND Dev will not get your results. It will get you banned.

[Q] help!!!!!! flashed a windows phone 7 rom and now I can't get back to stock

I flashed this phone to WP7 and it works fine but can't access market even after activation code. I have tried to flashe back using the sd card method but device not recognising sd cards also phone does not allow me to use windows activesync anymore so cannot do it that way either im basically stuck with a phone that does not work 100% any help will be greatly appreciated
you must change sdcard and find one which work (you must reflash or hard reset when insert new card).... HD2 dont have enough memory for WP7 and must use SDcard for this... but major problem is find good and compatible sdcard
for activation you must ask Microsoft support for live activation code for HTC HD7....
for this and others read install tutorial from my signature
I have done all that but still nothing. Every tutorial I see they are saying when usb plugged in then activesync should work but im getting nothing and I can't think of what else to do. So far my phone is done now I get no mobile data either just wifi I can't access facebook unless using browser. I was looking forward to using this phone but now its pretty useless
Which Windows you have on PC??? if you have XP then you must have ActiveSync... for Windows 7 and 8 you must have WMDC (windows mobile device center)
dxdy said:
Which Windows you have on PC??? if you have XP then you must have ActiveSync... for Windows 7 and 8 you must have WMDC (windows mobile device center)
Click to expand...
Click to collapse
As I says in my first post I am using activesync so I have windows xp but its not being recognised on activesync I dont know what else to do nothing is working and I want to put an android rom in the device so was going to start fresh. I have never had this problem with android when I used roms on them
david.wilson.1987 said:
As I says in my first post I am using activesync so I have windows xp but its not being recognised on activesync I dont know what else to do nothing is working and I want to put an android rom in the device so was going to start fresh. I have never had this problem with android when I used roms on them
Click to expand...
Click to collapse
i never have any problems with sync on my (old) HD2... maybe some problem on your device or drivers
Check in Device Manager if anything shows up or needs drivers.
Does the device show "Serial" in bootloader when connected?
Turn on the phone into magldr and then use the usb mass storage option. It should allow full access to your microSD card and let you backup any files from there. Then format the card (FAT32, 4096 allocation size) and you should be able to reflash stock now.

Categories

Resources