Flashing Mogul Rom using Ubuntu? - Mogul, XV6800 ROM Development

I been looking everywhere but can't find any info is its possible to flashing Mogul ROM using Ubuntu(Linux) operating system.I tried but it just don;t work, any advice aside from installing Windows?

Your search terms should be "sd card flashing"
Check here http://forum.xda-developers.com/showthread.php?t=378506&highlight=sd+card+flashing and the wiki

robjective said:
Your search terms should be "sd card flashing"
Check here http://forum.xda-developers.com/showthread.php?t=378506&highlight=sd+card+flashing and the wiki
Click to expand...
Click to collapse
thanks..........

anny suggestions on ROM's for a spritn to metro pcs mogul

i usually extract with WinRAR or otherwise place the TITAIMG files to a MicroSD card, then fire up the exe installer using Wine (my camera button is busted :/ ). that is enough to pop the phone into the boot-loader and it finds the image and installs, though the Wine-emulated exe installer will fail.
in Ubuntu, unless you make your own kernels, you may not have the appropriate drivers installed to detect the phone as a serial device. look into the Synce project (Google it) for the method to setup rndis drivers in Ubuntu and sync like ActiveSync
or use the free VMWare software and emulate Windows in your Ubuntu install
basically Linux has many, many ways to do it- but they aren't at all easy to configure! yay Linux!

your right but i'm trying the msd card option si far i ran nuespl now goin into unlocking i guess

Related

Rom & Radio Upgrading On Intel Mac

I am a fully signed up Mac owner but have no intension of going down the iPhone route as the Hermes does everything (and more) that I want and continues to be ever adaptable and user friendly - thanks to the great chefs, past and present who frequent this forum
Until now, I had access to a PC to flash the various offerings of the good cooks but all this has changed! I have tried to flash ROMs using an Intel Mac running XP but for whatever reason the .exe program will not run.
Does anyone know why this is and more importantly, what I can do to get the .exe ROM installer program to run on WinXP/Mac?
Thanks
HDD123
You may need to install the .net framework. Works fine on XP in bootcamp and through Parallels on my Mac-tel.
Yes, you will need the .NET framewotk version 2.0 or higher.
Thanks for your help with issue - there's always an answer available from the forum.
Thanx
hdd123
I just extract the .exe file using StuffIt Expander and flash the .IMG file using the SD card method (drag and drop download to device via Missing Sync). Works much faster than PC-based flashing.

flash rom from a linux box

anyone know if this can be done? I haven't experimented with syncing my phone to ubuntu since I couldn't find my usb cable will be trying it tonight though. I thought id read people had issues doing it with vista so I was wondering if its possible with ubuntu.
I would like to know how to do this to because I use Macbooks and duel boot OS X and Ubuntu. Or if anybody knows how to flash from OS X that would be awsome to.
prohna said:
anyone know if this can be done? I haven't experimented with syncing my phone to ubuntu since I couldn't find my usb cable will be trying it tonight though. I thought id read people had issues doing it with vista so I was wondering if its possible with ubuntu.
Click to expand...
Click to collapse
Never had an issue whatsoever with Vista. To be honest with you use the SD card method. Sooo much faster. As far as working in Ubuntu I would doubt it without some sort of Windows emulation.
virtual software // whine ...
you can probably use a virtual software to emulate windows XP and then do whatever you want to do to ur phone
here http://code.google.com/p/htc-flasher/
the sd card method won't work right for me since I don't have a card reader.
Use the SD card method. NueSPL will allow you to reflash the boot loader from the SD and it's very easy to reflash the ROMs after that. There's a couple of ways to get the files onto the SD card without a card reader, the most obvious is to download them using the 6800 itself, saving them to the card. Or you can use the Sync connection to copy the files. Or install WMStorage and have the computer treat the 6800 as a card reader. Or set up your email on the 6800 and email the rom files to yourself as attachments.
jim
prohna said:
the sd card method won't work right for me since I don't have a card reader.
Click to expand...
Click to collapse
$10.... well worth it.... 2gb with usb reader
prohna said:
the sd card method won't work right for me since I don't have a card reader.
Click to expand...
Click to collapse
I run a wireless network at home. My computers and my titan can all communicate via the wireless network. A couple of my computers run webservers.
When I want to transfer something from a linux box to the phone without using the card reader, I just copy the file/program/whatever to the appropriate folder on a computer so that it's accessible via http. Then I turn on the wifi on my phone, connect with Pocket Internet Explorer to the IP address of the computer running a webserver, and download the file to the memory card.
Alternatively, I've seen ftp server programs for Windows Mobile. You could install one of those then ftp over wireless from computer to your phone.
Or, lets assume you don't even have a wireless network. You obviously have at least a wired internet connection, since you're posting something here. You could still install a webserver/ftp server on a machine, forward ports to it from the router (NAT), find out your public IP address, and then connect to your internal webserver from your phone using the public IP address on the forwarded port (I'm doing this with Finchsync so I can re-sync my calendars away from home).
Part of being a linux user means figuring out alternate ways of accomplishing tasks, as I'm sure you've already noticed. There's usually an answer out there, if you can step back and think about it. Sometimes it's elegant; often it's quick & dirty.
Edit:
For the record, I've never had any luck trying to flash my phone from a Windows VM inside of linux. ActiveSync could never recognize the phone right. I was using 64-bit VirtualBox, but you might have better luck with VMWare or 32-bit VirtualBox if you decide to go the VM route.
active sync is not compatable with wine. i never tried virtual box or vmware under linux. dcds kitchen wont work under wine because you cant run bat file. but the best bet is the sd card or sharing a folder on your box ( if u have wifi ) and useing an app on your phone that allows network browsing like resco. like mentioned above.
I tried just downloading the roms with the phone onto an sd card. but when I flashed the radio the phone wouldn't boot past the splash screen. how else would I get back to file explorer? after I flashed the radio wouldn't I need to rename the os rom to titanimg or whatever it is? then flash again? or is just one flash. that's the part I can't seem to understand in any guide I've found.

Problems With Qpst

I am unable to use qpst. install says unable to register several files with computer. program runs but can't find a server. any ideas?
reinstall QPST and make sure you have administrative privileges on the account that you are installing on.
I have reinstalled several times. every time it gives me the same error. I am the admin, as I am the sole user. I tried reinstalling all files in the wiki several times. The program does run, it just doesn't find a server. it is able to recognize my phone, I can't do anything with it though. i am using vista FYI
Is your internet connection on with your PC when your opening QPST?
yes. I use dsl
Being the only account on a vista machine does not mean you are the admin, and further more the admin account is hidden. If you install anything and I mean anything at all, get used to right clicking on an installer and choosing the command "run as administrator". Or unhide the admin account and do all installs from there and use the other account for day to day use. This is the method I use. I had problems running so many programs when I first got vista. There are also options to run programs in XP compatibility mode, like when I use webjal.
Read this if you want to unlock admin in vista Or just make sure you right click and run as administrator. This also fixed many issues I had with BuildOS too.
very interesting...thanks for the tip...Im reading up on it now....those sneaky SOB's
I unlocked the admin and logged into it. I reinstalled all the files and still ran into the same problem. I almost wonder if its because i'm running a lap top
the following files fail to self-register during install
PhoneLib.dll
PhonePropLib3.dll
PhonePropLib4.dll
SerialPortLib.dll
QPSTProxyComponents.dll
all of these are in C:\Program Files\QPST\bin
I am on a Dell laptop running vista, and I only installed qpst after I learned the admin account trick, so I can offer no other help. Sorry man!
Edit, what build are you using and where was it acquired?
im using 215 from the wiki
I am using that version from that source also. What is your machine's specs? 64 bit? 32 bit? home or pro? etc... Lets try to get all this information down so we can see whats different.
im running the 32 bit version of vista on a duo core pentium. its an acer laptop. i'm surprised i can't find anything on this on the internet. I think that windows updates may have gotten me. maby its time for the cure all format the hard drive.

HTC Drivers

Hey, I was wondering if anyone had a link to download the HTC Bootloader drivers. It fails when I try and load "something" in Windows.
Thanks.
p.s: This will lead to good things...
The only drivers that I am aware of are the ones that are in the Android SDK Toolbox and in the HTC Sync program. Correct me if I am wrong, but as far as I know, they aren't specific drivers ie "bootloader" drivers. They are just drivers to get your comp to recognize the phone when its attached.
I'm assuming this is something you're expirementing with to get root via the adb in recovery, if so, good luck.
-------------------------------------
Sent via the XDA Tapatalk App
Hi crax0r,
The folks at Android (aka Google) provide these instructions for installing the drivers. It involves installing their SDK first, and installing Java for that, and an IDE called eclipse.... UGH.
The HTC "Sync" Application that hoovnick is referring to can be found here.
It has been so long ago that I installed drivers (on a WinXp x32 laptop) that I can't remember what order I did things in, whether or not the driver used by HTC sync is sufficient for fastboot but not adb (or vice versa), whether I did the SDK install first, etc etc etc. As a matter of fact, it's been so long ago that the computer that I did it on is now dead, and here I am using a Linux machine.
For all I know, the order you do things in affects the outcome - it sure seems like a lot of folks with Windows 7 complained about driver troubles.
One thing is for sure, though - setting up the entire Android SDK (+ Java + Eclipse + ...) in order to install a device driver has to be the worlds most roundabout way of doing a driver install.
If you are considering using the "fastboot" method to install Amon_RA's recovery boot, you might try just installing HTC Sync first, and see if that is sufficient for getting fastboot talking to the phone. That install is way, way easier than setting up the SDK to get a driver installed.
The other thing which is an option, if you are a little bit Linux-savvy, is to boot one of those "Live CDs" (Ubuntu, SuSe, etc) on your PC - there are no drivers to install in the case of Linux, you just need to be running as "root" on the Live (linux) CD to get fastboot to talk to the phone. The downloads (fastboot for Linux and the Amon_RA recovery image) are small, and they will both easily fit in the /tmp folder of the Linux (Live CD) boot on the PC.
Once you have Amon_RA on the phone, you won't need the SDK any longer, unless you want to start doing dev-like things; that's why a one-time boot into Linux would also work.
bftb0
I <3 Ubuntu. It's amazing!
bftb0, I am trying to install only the driver from the SDK tools, but when I follow the instructions for a fresh install, and point windows to the folder with the driver in it, windows says it can't find a driver there. What am I doing wrong here?
crax0r said:
It's OK. I'm running Ubuntu now.
Click to expand...
Click to collapse
Excellent. Just remember to always run fastboot as root, and if using adb, then the first time after you boot (the PC), run adb as root.
The reason is that by default, Ubuntu won't let an unprivileged user access the USB.
Since I have adb and fastboot in my Ubuntu (regular user) PATH, I usually just do a
$ sudo `which adb` blah-blah-blah
or
$ sudo `which fastboot` blah-blah-blah
bftb0
hoovnick said:
bftb0, I am trying to install only the driver from the SDK tools, but when I follow the instructions for a fresh install, and point windows to the folder with the driver in it, windows says it can't find a driver there. What am I doing wrong here?
Click to expand...
Click to collapse
I don't know - I've already forgotten everything I did with the driver install in Windows, and I don't currently have a working Windows machine. Sorry I can't be of more help. As I said, the troubles people have been having seem to depend on which version of Windows (Xp/Vista/7), whether its x32 or x64, phase of the moon, etc. Seems like people run into snags on Win7 or x64 versions of Windows more than Xp-32, but I don't know why that is.
Keep plugging away at it. If you are looking for resources to help resolve the problem, I would go look at docs relating to Windows driver install troubleshooting - the driver install problem seems to be a Windows issue, not really anything to do with the SDK.
bftb0
hoovnick said:
bftb0, I am trying to install only the driver from the SDK tools, but when I follow the instructions for a fresh install, and point windows to the folder with the driver in it, windows says it can't find a driver there. What am I doing wrong here?
Click to expand...
Click to collapse
Sounds like what happened to me. i had to hit the icon at the top of my phone that showed the usb cable.. i had to switch charge only to disk drive "mount as disk drive"... folder popped right up on my windows machine asking how i wanted to open the file
I have the SDK running and my phone being recognized on my computer with Vista but I have another one running XP 32 bit and windows will NOT recognize the .inf? Any ideas? I deleted all previous HTC drivers and tried that approach but nothing seems to be working.

[Q] Woah! CWM problems

So, last night i tried to flash GtabComb to my 1.1 Gtab. After 3 unsuccessful installs (which I now believe are attributed to the system partition size of only 200 rather than 250 [help here would also be apprciated]) i downloaded the latest Rom Manager and updated ClockWork Mod. After the initial scare that my SD card had been totally formatted, i found that for some reason, this new CWM likes to use the second SD card... You know, the one with no backups or anything saved to it. For now, I am running a random ROM (Vegan Gingerbread) until i find out how to switch the SD card read by CMW. So any help guys? It's probably something really simple I'm over looking.. Help is appreciated greatly. Thanks
Edit: On a side note, I finally got GtabComb to load on my tablet! Seems I only needed a little bit of patience...
theshafe said:
So, last night i tried to flash GtabComb to my 1.1 Gtab. After 3 unsuccessful installs (which I now believe are attributed to the system partition size of only 200 rather than 250 [help here would also be apprciated]) i downloaded the latest Rom Manager and updated ClockWork Mod. After the initial scare that my SD card had been totally formatted, i found that for some reason, this new CWM likes to use the second SD card... You know, the one with no backups or anything saved to it. For now, I am running a random ROM (Vegan Gingerbread) until i find out how to switch the SD card read by CMW. So any help guys? It's probably something really simple I'm over looking.. Help is appreciated greatly. Thanks
Click to expand...
Click to collapse
The best way to install CWM is through NVflash. Rom manager is really designed for phones not this tablet. NVflash is simple and easy to use as long as you have a desktop or laptop using either windows or Linux. Here is the link to guide you through those steps. Helped me out when I was in a jam.
http://viewsonic-gtablet-for-dummies...om/nvflash.htm
Thanks for the advice! NVFlashing is a tad of a problem for me, however. I've actually commented on that particualr NVFlashing tutorial earlier today explaining how my computer won't recognize my tablet while it's in APX mode. I seem to have the worst luck with this kid of thing..
Would there another way to change which card is being read?
Do not use Rom Manager on the Gtablet it will mess things up. You can go to this link and download a .zip installable version of CWM for your bootloader. There are versions for installing from either the internal or external sdcard. If you are not installing from the external sdcard, it is best to remove it.
You could also check out this thread, and this one for more info.
It sure does mess things up! And that CWM.zip would be great had I not had another (worse) version already installed.. woe is me. I'll give those threads a read tomorrow and hope something turns up. Thanks for the links!
DaggerDave said:
Do not use Rom Manager on the Gtablet it will mess things up. You can go to this link and download a .zip installable version of CWM for your bootloader. There are versions for installing from either the internal or external sdcard. If you are not installing from the external sdcard, it is best to remove it.
You could also check out this thread, and this one for more info.
Click to expand...
Click to collapse
That would be the way to go but if you can't access the current CWM you cannot get it to install anything. The only other alternative would be to figure out why the computer won't recognize the tablet in APX mode. What OS are you trying it with?
Try this:
Download this .zip file and extract it to your Gtablet's sdcard.
Using a root file manager (ES, Root Explorer, etc.) mount /system as read-write (rw) and move the downloaded files in each folder to their proper locations (copy the system/etc/recovery folder into /system/etc and the files in system/bin into /system/bin) and make sure all the permissions are correct. The recovery images should be -rw-r--r--, the scripts inside of /bin should be -rwxr-xr-x and flash_image should be -rw-r--r--.
Open a terminal emulator and type 'su' (without quotes) and allow SuperUser when it asks. Your shell prompt should go from a '$' to a '#'. Now type 'cwmrecovery.sh' (without quotes) and enter. That should install cwm-08 for you, just exit when it finishes and try to reboot into recovery. You can use the 'fixrecovery.sh' script to flash the stock 1.1 recovery if you ever need to.
See the last thread I linked to in my last post for more info on this. Good luck!
DaggerDave said:
Try this:
Download this .zip file and extract it to your Gtablet's sdcard.
See the last thread I linked to in my last post for more info on this. Good luck!
Click to expand...
Click to collapse
Just extracted to the external SD that was being read from and updated from there with the new CWM and bam! .08 is on and working like a charm. Many thanks!
nobe1976 said:
Another alternative would be to figure out why the computer won't recognize the tablet in APX mode. What OS are you trying it with?
Click to expand...
Click to collapse
I would love to know why it doesn't. I was previously using a froyo tap'n'tap, but now I am running 3.0.1. Would OS make a difference? I always assumed it was my tablet/PC's/luck
I would love to know why it doesn't. I was previously using a froyo tap'n'tap, but now I am running 3.0.1. Would OS make a difference? I always assumed it was my tablet/PC's/luck[/QUOTE]
The OS on the tablet doesn't matter since the APX mode is the tablets download mode. The OS on you computer is what might be the issue, or could even be just a bad USB port or even drivers being used. If the computer keeps promptings that software needs to be installed. Guied the it to install them from the extracted NVflash file and install the ones that are in the pack.
I would love to know why it doesn't. I was previously using a froyo tap'n'tap, but now I am running 3.0.1. Would OS make a difference? I always assumed it was my tablet/PC's/luck
Click to expand...
Click to collapse
As the post above said, the OS on your PC is probably your problem. Which OS are you using? WinXP, Win7? I can't for the life of me get Windows7 to recognize my ICS Gtablet but o'well!
If you are comfortable with using or trying Linux, you could try installing Knoppix on a USB drive and run that. I think Knoppix has everything set up for MTP & ADB already and is 'live' so no real configuration is needed to get it running (except for your wifi of course). Just use the Linux version included in most NvFlash packages. If you have a fairly powerful computer, you could also try running Linux in a VM, but Knoppix doesn't run in a VM very well.
My favorite is Arch Linux (not in a VM). Although you have to build and configure the system yourself from the ground up. Since I started using Linux I have really enjoyed it. It is much faster than Windows, more secure and gives me less problems than the Win PCs I deal with. Check out this site if you are interested in Linux.
DaggerDave said:
As the post above said, the OS on your PC is probably your problem. Which OS are you using? WinXP, Win7? I can't for the life of me get Windows7 to recognize my ICS Gtablet but o'well!
If you are comfortable with using or trying Linux, you could try installing Knoppix on a USB drive and run that. I think Knoppix has everything set up for MTP & ADB already and is 'live' so no real configuration is needed to get it running (except for your wifi of course). Just use the Linux version included in most NvFlash packages. If you have a fairly powerful computer, you could also try running Linux in a VM, but Knoppix doesn't run in a VM very well.
My favorite is Arch Linux (not in a VM). Although you have to build and configure the system yourself from the ground up. Since I started using Linux I have really enjoyed it. It is much faster than Windows, more secure and gives me less problems than the Win PCs I deal with. Check out this site if you are interested in Linux.
Click to expand...
Click to collapse
To top on this excellent information. If you decided to try a Linux disto I would recommend a version of Ubuntu, doesn't really matter which one they are all really user friendly and depending on you pc setup depends on which version of it you can use. I have 11.05 installed on a 2nd partition for doing my Droid stuff on a computer that is around 9 years old, runs smooth. Windows xp is the other alternative which I have used several times NVflashing stuff, but adb seems to run better through Linux in my opinion.
Ah, mind went blank there. Right now, all I have is a windows 7 laptop (my XP desktop and older Vista laptop are probably long gone) Ive attempted to flash before with the vista laptop to no avail. In both instances, I connect the tablet in APX and it was not even recognized as a connected device. I'm hesitant to run Linux, even from a flash drive. If I get the chance to soon, I may very well end up doing it, as it appears the ONLY option.. Thanks for your help guys. If you could think of anyway for Windows 7 to recognize my tablet, please let me know. You guys are a great help. Thanks again!
If you haven't already tried this maybe it will work for you.
- Put the tablet into APX mode, then plug in the USB. Windows7 will drag on then fail installing the drivers, as usual.
- Go to Control Panel->Hardware and Sound->Device Manager and find the '!' (unknown device)
- Right click and choose Properties, then Uninstall Driver (if it is an option)
- Next, click on Update Driver, then choose Browse My Computer ...
- Navigate to the NVFlash folder (the one you extracted from the nvflash .zip you downloaded)
- Open the folder inside called 'usbpcdriver' or similar, and select the .inf file (NvidiaUsb.inf) and choose to install it. Once it installs, it should recognize the tablet as a MTP device. If not turn off the tablet, unplug the USB, restart Windows and plug it back in when it is finished rebooting and start the tablet in APX mode again. If it still doesn't recognize it try the whole process over agian.
I can understand being hesitant toward running Linux but running from a flash drive or in a VM is pretty safe, as in if you mess up the OS you can always start over without damaging Windows. Done it many times! Try running Ubuntu in a virtual machine such as Virtual Box, it is almost as user friendly as windows and you can have the VM capture USB devices such as the Gtablet which Ubuntu should recognize. Probably won't run very fast on a laptop but if you have at least a dual core with 2 GB of ram it should be pretty smooth.
Not trying to push Linux on you or anything, just some suggestions. From what I hear most of the Gtab devs use Windows7 and it seems to work great for them!

Categories

Resources