Jump to content


Photo

Your VEGA is not Bricked nor Broken - This will fix it!


  • Please log in to reply
37 replies to this topic

#1
Zebrahead

Zebrahead

    Diehard

  • Members
  • PipPipPipPip
  • 317 posts
Hey all,

After having seen and responded to enough "my VEGA is bricked", "my VEGA is broken", "my VEGA is bootlooping" threads, I decided to do something about it.

I have made the following utility which will allow you to make a restorer that will allow you to restore you VEGA to it's current point - No matter what!!


It currently only works for Windows and Linux as I have no experience with Mac. It's still in beta, I'm confident that it works - please report anything that goes wrong.


All you have to do is make a backup with ClockworkMod (or maybe Vega Tools, it may be capable of making the required backup). From this point, *NO MATTER WHAT YOU DO TO YOUR VEGA* (excluding natural disasters :)), this tool will allow you to restore your VEGA to that point.


Once you have a backup with Clockwork, plug your microSD card into your computer, simply fire up the tool, find your backup and away you go!

As with all tools and utilities, you use this software at your own risk and I am not liable for anything that may go wrong.

All feedback is welcomed.

Instructions are included within the tool.

Mirror : http://dl.dropbox.co...6/VegaFixer.zip


--- Requirements ---

~ Java - http://www.java.com/...nload/index.jsp
~ Using the restorer - http://www.myadventv...nstructions.pdf


Good luck, have fun!

Zeb

-------------------------------------------------------------------------------------------------
| Would appreciate any testing reports on Windows as I don't have a Windows box right now! |
-------------------------------------------------------------------------------------------------
~ Will test as soon as I can ^^

Changelog :

23/04/2011
- Fixed batch files

19/04/2011
- Removed 7zip dependency :)
- Changed from exe to bat for simplicity (under windows)

Initial release :
- Now should wait for script, done means done :)
- Should work for both 32+64 bit windows now (Untested due to lack of Windows machine, but not a complicated fix - should be fine ^^)

Attached Files


Edited by Zebrahead, 26 April 2011 - 07:54 PM.

  • 0

My new website - check it out for various VEGA dev stuffs and tools


I'm running out of space to host things! More space for both of us if you don't already have Dropbox! : Free Dropbox Space!!
@ZebraDroid


#2
Zebrahead

Zebrahead

    Diehard

  • Members
  • PipPipPipPip
  • 317 posts
Reserved

  • 0

My new website - check it out for various VEGA dev stuffs and tools


I'm running out of space to host things! More space for both of us if you don't already have Dropbox! : Free Dropbox Space!!
@ZebraDroid


#3
Minimonkey

Minimonkey

    Diehard

  • Members
  • PipPipPipPip
  • 409 posts
  • Gender:Male
  • Location:Cleckheaton
  • Devices:IPhone, Asus Memo
  • Twitter:@huddsdroid
So this could replace the Full Software update Image from myadventvega.co.uk? (softwareImage_v1.09_Vega_Final.exe) any screenshots?

  • 0

#4
Lennyuk

Lennyuk

    Addict

  • MoDaCo Silver
  • PipPipPipPipPip
  • 690 posts
  • Gender:Male
  • Location:Essex, UK
  • Devices:HTC One, Nexus 4, Nexus 7
  • Twitter:@Lennyuk

So this could replace the Full Software update Image from myadventvega.co.uk? (softwareImage_v1.09_Vega_Final.exe) any screenshots?


Basically (I am guessing) this extracts a nandroid you point it to, and turns it into an image that can be flashed via NVFLASH (Stock Recovery) mode. This saves you having to go stock rom, reflash CWM then restore your nandroid.

  • 0

#5
Vansphone

Vansphone

    Enthusiast

  • Members
  • PipPipPip
  • 196 posts
  • Devices:San Francisco
Thanks for the post. Can you explain this part for me?

"Once you have a backup with Clockwork, plug your microSD card into your computer, simply fire up the tool, find your backup and away you go!"


What do you mean by away you go? Do you attach the Vega to the PC via a usb or do you replace the micosd card in to the Vega? If you attach the Vega to the PC does it at least have to get to recovery mode?


Thanks

  • 0

#6
Zebrahead

Zebrahead

    Diehard

  • Members
  • PipPipPipPip
  • 317 posts

Basically (I am guessing) this extracts a nandroid you point it to, and turns it into an image that can be flashed via NVFLASH (Stock Recovery) mode. This saves you having to go stock rom, reflash CWM then restore your nandroid.


Indeed, as most people use windows, it's nice to just have an executable which can be used to bring you back to where you were no matter what. This saves the trouble of having to figure how to patch the stock installer with your own recovery.


Thanks for the post. Can you explain this part for me?

"Once you have a backup with Clockwork, plug your microSD card into your computer, simply fire up the tool, find your backup and away you go!"


What do you mean by away you go? Do you attach the Vega to the PC via a usb or do you replace the micosd card in to the Vega? If you attach the Vega to the PC does it at least have to get to recovery mode?
Thanks


By away you go, I mean use the tool. Once you run the tool, you'll have a big text box telling you where to go from there ^^.

Zeb

  • 0

My new website - check it out for various VEGA dev stuffs and tools


I'm running out of space to host things! More space for both of us if you don't already have Dropbox! : Free Dropbox Space!!
@ZebraDroid


#7
dexta211

dexta211

    Newbie

  • Members
  • Pip
  • 27 posts
  • Gender:Male
  • Location:My House
  • Devices:HTC Desire HD
Where do i find the exe file after running this tool?

Thanks!

  • 0

#8
Zebrahead

Zebrahead

    Diehard

  • Members
  • PipPipPipPip
  • 317 posts

Where do i find the exe file after running this tool?

Thanks!



Should be in the same directory as the tool, something like

VegaFixer.jar
tools/
SuperVegaRestore.sh
SuperVegaRestore.exe

  • 0

My new website - check it out for various VEGA dev stuffs and tools


I'm running out of space to host things! More space for both of us if you don't already have Dropbox! : Free Dropbox Space!!
@ZebraDroid


#9
dexta211

dexta211

    Newbie

  • Members
  • Pip
  • 27 posts
  • Gender:Male
  • Location:My House
  • Devices:HTC Desire HD
Its not putting any new files in the directory!

I've installed 7zip, have java installed.... am i missing something?

Thanks

  • 0

#10
Zebrahead

Zebrahead

    Diehard

  • Members
  • PipPipPipPip
  • 317 posts

Its not putting any new files in the directory!

I've installed 7zip, have java installed.... am i missing something?

Thanks



Couple of questions.

a ) Does it get to the stage where it says all done?

b ) What OS are you running

c ) 32 or 64 bit?

d ) Is your backup especially big (did you have a lot, i mean a lot) at the time of backup?

As the program uses an external script to create the restorer, I can't monitor when the restorer has finished (at least I hadn't seen how to within the short while I made this). It is because of this, the script could still be running whilst the program says finished (I just put an average wait for how long the script takes on a large backup).

It shouldn't take more than 5 mins after reporting completion... But I suppose it could (in theory) take up to then.

Zeb

  • 0

My new website - check it out for various VEGA dev stuffs and tools


I'm running out of space to host things! More space for both of us if you don't already have Dropbox! : Free Dropbox Space!!
@ZebraDroid


#11
Zebrahead

Zebrahead

    Diehard

  • Members
  • PipPipPipPip
  • 317 posts

Its not putting any new files in the directory!

I've installed 7zip, have java installed.... am i missing something?

Thanks



I've updated. Should solve the last point.

Zeb

  • 0

My new website - check it out for various VEGA dev stuffs and tools


I'm running out of space to host things! More space for both of us if you don't already have Dropbox! : Free Dropbox Space!!
@ZebraDroid


#12
Zebrahead

Zebrahead

    Diehard

  • Members
  • PipPipPipPip
  • 317 posts
Still needs one more change....

*fixes*

  • 0

My new website - check it out for various VEGA dev stuffs and tools


I'm running out of space to host things! More space for both of us if you don't already have Dropbox! : Free Dropbox Space!!
@ZebraDroid


#13
Zebrahead

Zebrahead

    Diehard

  • Members
  • PipPipPipPip
  • 317 posts

Its not putting any new files in the directory!

I've installed 7zip, have java installed.... am i missing something?

Thanks




Unfortunately, I can't really continue tonight. If you need the backup urgently I have a slightly untidy solution.

In the tools directory, there should be a file called restorevega.zip, or something similar. Simply rename this whatever you like .exe and this is your restorer file.

I'll do some reading tomorrow and make it a bit tidier.

(I've not done any windows scripting before - but i'll fix it ^^)

Zeb

  • 0

My new website - check it out for various VEGA dev stuffs and tools


I'm running out of space to host things! More space for both of us if you don't already have Dropbox! : Free Dropbox Space!!
@ZebraDroid


#14
Solidare

Solidare

    Regular

  • Members
  • PipPip
  • 56 posts
  • Devices:Advent Vega, SE X10 mini pro
This is looking nice zeb, great job!

Since the linux version was released I was hoping us windows user would get something similar.

Cheers

  • 0
Solidare

#15
peter a

peter a

    Enthusiast

  • Members
  • PipPipPip
  • 159 posts
  • Gender:Male
  • Devices:htc wildfire and advent vega

This is looking nice zeb, great job!

Since the linux version was released I was hoping us windows user would get something similar.

Cheers


I think it`s createzip.bat where it`s going wrong .
7zip is hard wired for 64 bit systems eg "%ProgramFiles(x86)%\7-Zip\7z.exe"
so I think on 32 bit systm you need to knock off the x86 bit.

  • 0

#16
dexta211

dexta211

    Newbie

  • Members
  • Pip
  • 27 posts
  • Gender:Male
  • Location:My House
  • Devices:HTC Desire HD
It is a 32 bit win 7 install, and it is saying that its all done.

Its not urgent, i was just eager to get a reliable backup made.

Thanks.

  • 0

#17
Zebrahead

Zebrahead

    Diehard

  • Members
  • PipPipPipPip
  • 317 posts

I think it`s createzip.bat where it`s going wrong .
7zip is hard wired for 64 bit systems eg "%ProgramFiles(x86)%\7-Zip\7z.exe"
so I think on 32 bit systm you need to knock off the x86 bit.



Sounds likely. I only had my brothers 64bit windows laptop to try it on.

I read that %ProgramFiles(x86)% was the 32bit program files under a 64 bit system and was hoping it would expand to the only program files in a 32 bit system. It seems it doesn't!

Do you know of a variable that displays the above behaviour?

Zeb

  • 0

My new website - check it out for various VEGA dev stuffs and tools


I'm running out of space to host things! More space for both of us if you don't already have Dropbox! : Free Dropbox Space!!
@ZebraDroid


#18
Zebrahead

Zebrahead

    Diehard

  • Members
  • PipPipPipPip
  • 317 posts

It is a 32 bit win 7 install, and it is saying that its all done.

Its not urgent, i was just eager to get a reliable backup made.

Thanks.



Update - should now bee ok ^^.

Zeb

  • 0

My new website - check it out for various VEGA dev stuffs and tools


I'm running out of space to host things! More space for both of us if you don't already have Dropbox! : Free Dropbox Space!!
@ZebraDroid


#19
dexta211

dexta211

    Newbie

  • Members
  • Pip
  • 27 posts
  • Gender:Male
  • Location:My House
  • Devices:HTC Desire HD
This tool still isn't working for me!

Would it be better to run this in a Linux Live CD?

Thanks

  • 0

#20
Zebrahead

Zebrahead

    Diehard

  • Members
  • PipPipPipPip
  • 317 posts

This tool still isn't working for me!

Would it be better to run this in a Linux Live CD?

Thanks



Well, it would certainly work under a live CD - but it would in turn just provide an executable for linux, which ofc, wouldn't work on Windows :)


Unfortunately, I don't have a windows machine so it's rather hard for me to test it under windows right now.

Can you describe what happens when you run it? I can try and diagnose what goes wrong.

i) Do you get an executable in the same directory as tools/ and the .jar?
ii) If not, do you get a SuperVegaRestore.exe in the tools directory?
iii) If not, (and you should have this, I'm sure I did when I tested on my brothers laptop for first release), do you have a vegarestore.zip (I think that's what I called it), in the tools directory?


Thanks,
Zeb

  • 0

My new website - check it out for various VEGA dev stuffs and tools


I'm running out of space to host things! More space for both of us if you don't already have Dropbox! : Free Dropbox Space!!
@ZebraDroid





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users