Related
Hey guys.
It is a really often asked question. And especially for noobs who managed installing a custom rom (because those always ask )
So what I have done is to develop a GUI Flashing Tool (useful even for advanced users) which will make it easier and quicker to flash images via fastboot.
And to show you how to use it I wrote this tutorial, hopefully helping those who are uncomfortable with command lines and internal knowledge.
As an example I will use Stock EU 2.3.5 as it is suitable for most users.
--------------------------------------------------------
Step 1: Download everything we will need
1. Download PG76IMG.zip from here
2. Download the Flash-Tool here (download the flashy.zip)
Step 2: Extract the zips
1. Extract boot.img, system.img and recovery.img from PG76IMG.zip
2. Extract all files from flashy.zip
Step 3: Take your phone into fastboot mode
1. Run Flashy.exe (.NET Framework required)
2. Click Bootloader and Fastboot Button (USB Debugging must be enabled)
3. Wait till the device rebooted into the bootloader.
Step 4: Flash boot image
1. Select Flash Boot Option
2. Choose the boot.img file you extracted
3. Click Flash!
Step 5: Wait till a message pops up and tells you flashing is done.
Step 6: Flash system image
1. Select Flash System Option
2. Choose the system.img file you extracted
3. Click Flash!
4. Wait till a message pops up and tells you flashing is done.
Step 7: Do a factory reset ! (Wipe data partition and all caches)
OPTIONAL: Flash Stock Recovery
(There is actually no need to do this)
1. Select Flash Recovery Option
2. Choose the recovery.img file you extracted
3. Click Flash!
4. Wait till a message pops up and tells you flashing is done.
--------------------------------------------------------
Now reboot your phone and be happy that it was just a point-and-click-adventure
my savior
I did imposible things with my phone, tried everything goldcards, RUUs, everything you could possibly think of. Only this helped
p.s.: froze for a moment and my heart skiped a beat but now it's OK
theq86 said:
It is a really often asked question. And especially for noobs who managed installing a custom rom (because those always ask )
Click to expand...
Click to collapse
Yes, for noobs who install a custom ROM without first doing a backup of the stock ROM in CWM Recovery!
BACKUP, BACKUP, BACKUP!
Thanks for the great utility and guide.
hmmmp
how may hours should the 1st bootup should take??
which first bootup? you mean after pressing the "Bootloader and Fastboot Button" ?
If yes, I can tell you it will take FOREVER unless you activate USB Debugging in your phone settings
nope..i already did step 1 to step 7 after i factory reset it i reboot it then it takes hours still on htc sign..
how did you factory reset? if you have a custom recovery you have to wipe caches and data partition.
theres a factory reset option on the hboot menu....
whats custom recovery??
sorry im new here i dont know much about it..
jrcb2323 said:
theres a factory reset option on the hboot menu....
whats custom recovery??
sorry im new here i dont know much about it..
Click to expand...
Click to collapse
did you flash cwm (clockworkmod recovery)? is your bootloader unlocked?
yes i have cwm and unlock bootloader...im currently using cm7 but now after doing your steps im WFS is stuck on htc boot logo...
then go to cwm and wipe the data and cache partition and also the dalvik cache. then reboot again
ok i'll try that...
whats the purpose of flashing the recovery.img??
and is this for s-off only??because my WFS s-on
flashing the recovery.img will delete the cwm recovery and return it to the stock recovery. but this is mostly not needed.
still no luck..i already wipe all the partion dlvk and factory wipe then reboot it..but still stuck on htc boot...
try to flash system and boot image again. otherwise I have no idea.
already did that...
do you mean my WFS is bricked??? what the .!#[email protected]#
no it is not. you can still reflash cm7 or another rom via cwm. I don't know why a stock rom does not boot on your phone
woooohh...what i relief i thought i brick my phone..
my recovery becomes pink...why is that?
Can it be used to downgrade from 2.13.401.3 to 2.13.401.2 ?
No, it can not. It requires unlocked Bootloader and is just a fastboot GUI. To downgrade follow the tutorial to downgrade in the wfs general section and afterwards flash a ruu.
I have searched to find the answer to this but the going from 1.29 to 1.28 bit is confusing me.
I have an HTC One X that was on T-Mobile UK 1.26. I usedthe HTC Dev and clockwork and ended up with the LeeDroid Rom with 1.29 firmware.
I have the phone for sale and have someone local who wants it, but he says he wants the standard rom on it or a stock HTC one. Don't ask why, I don't know.
What exactly can I do to get it back...I have some backups I made via the option in Recovery all the way back to the T-Mobile rom...with options to restore boot.img
Or can't I go back because I am on 1.29 ?
monkeyphonix said:
I have searched to find the answer to this but the going from 1.29 to 1.28 bit is confusing me.
I have an HTC One X that was on T-Mobile UK 1.26. I usedthe HTC Dev and clockwork and ended up with the LeeDroid Rom with 1.29 firmware.
I have the phone for sale and have someone local who wants it, but he says he wants the standard rom on it or a stock HTC one. Don't ask why, I don't know.
What exactly can I do to get it back...I have some backups I made via the option in Recovery all the way back to the T-Mobile rom...with options to restore boot.img
Or can't I go back because I am on 1.29 ?
Click to expand...
Click to collapse
You can go back; it's only if you'd done an official update (OTA or RUU) that you'd be stuck, because they also update the bootloader and you can't downgrade that.
Since you've got backups I would just restore the backup of the T-Mobile ROM, flash the boot.img which is in the nandroid backup folder, then (if he's wanting it completely stock), flash the stock recovery and lock the bootloader again.
Alternatively, if you can find a T-Mobile RUU you can just lock the bootloader then run the RUU to write everything back to stock, but it seems a waste of time downloading a full RUU when you've got a backup of the software you want already sitting there.
Hey thanks, will give that a try..cheers
I flashed the original backup from April in recovery and it just hangs at a white screen on reboot.
monkeyphonix said:
I flashed the original backup from April in recovery and it just hangs at a white screen on reboot.
Click to expand...
Click to collapse
Did you flash the boot.img via fastboot as well?
Does that have to be done on my pc ? I just flashed the boot.img then the actual backup. Via the phone
Unless you're s-off you can't write to the boot partition from recovery, so you need to do it from your computer using fastboot. Exactly the same as when you're flashing a ROM.
I never used a pc for anything to get it to the Leedroid...I'll have to look for a guide to do what you said. Apart from when I did the HTC Dev unlock thing.
Thanks for your help.
monkeyphonix said:
I never used a pc for anything to get it to the Leedroid...I'll have to look for a guide to do what you said. Apart from when I did the HTC Dev unlock thing.
Thanks for your help.
Click to expand...
Click to collapse
Interesting; I'm impressed your ROM's been working, seeing as you've seemingly been using the stock 1.26 boot.img with the 1.29 ROM.
Anyway, it's a similar (red identical) process to the one you used to unlock the bootloader. Assuming you've still got the fastboot executable on your PC from when you unlocked, and a copy of the boot.img from the backup you're trying to restore:
1) copy boot.img into the same folder as the fastboot binary
2) turn your phone on in fastboot mode (turn it off, hold vol-down and power on and it should boot into bootloader; select 'fastboot' from the menu if it doesn't automatically load into fastboot mode)
3) connect the phone to the PC via USB (the text on the phone should now say "fastboot USB")
4) on your PC open a command prompt and navigte to the folder containing your boot.img and the fastboot binary
5) run the following command: fastboot flash boot boot.img
6) run the following command: fastboot erase cache
7) run the following command: fastboot reboot
I've just reverted back to stock recovery instead of the original boot for some reason, been at a wedding and am a bit very drunk still, so I really need to get the stock boot.img file from somewhere don't I.
Edit, I found it in clockwork folder by connecting to pc and it is 8mb from April.
I did what you said and it all worked, great thanks. I am now back on stock boot.img abd back to tmobile 1.26....but still with the clockwork recovery and still rooted.
I know how to revert back to the stock recovery as I just did it by mistake...should I be d-rooting it or whatever you call it...and will I have wiped out my sim unlock I paid for ?
Also it is offering me an update of 28 or so mb, is this safe to install ? I am on 1.26 right now. Or do I want to get rid of clockworkd and revert to stock recovery first ?
The 28mb update will be the 1.28 update; you would need to restore the stock recovery and lock the bootloader again to install that (it will just download and fail if you try to install it now).
If the person you're selling it to wants it completely back to stock, then flash your stock recovery, then go back into fastboot (same process as before) and use the command fastboot oem lock to lock the bootloader again. Then accept the update and it'll be back to stock and updated to 1.28.
No idea about SIM-unlocks, sorry. I imagine it would still hold (otherwise everyone who's flashing ROMs, updates or backups would need to keep re-doing it), but I'm honestly just guessing at this point so don't take any of that as anything conclusive.
Ok I did all that and relocked it just about to do the update. Thanks very much for your help.
Hey guys,
I flashed clockworkmod recovery via fastboot and made a complete system backup on my htc desire hd.
But now I've a problem. My brother unlocked the bootloader with the official htc tool, in fact my phone is still s-on with hboot 2.00xx.
Now I've flashed a custom rom but my phone keeps staying in the bootscreen with te green htc logo.
Any1 any idea how to fix this ?
Thanks in advance
IQ_QI said:
Hey guys,
I flashed clockworkmod recovery via fastboot and made a complete system backup on my htc desire hd.
But now I've a problem. My brother unlocked the bootloader with the official htc tool, in fact my phone is still s-on with hboot 2.00xx.
Now I've flashed a custom rom but my phone keeps staying in the bootscreen with te green htc logo.
Any1 any idea how to fix this ?
Thanks in advance
Click to expand...
Click to collapse
Your problem is that the HTC dev method unlockt the boot loader but you are eng s-on.
So you can flash a custom ROM but you can't flash a kernel. So you need to root and unlock t again.
What I should do is relock the bootloader and flash a ruu.
After that search for the (aahk) advance ace hack kit and root t again. The good way:laugh:
Hey thx for your reply,
where do I get these ruu roms , and sould I lock the bootloader after I flased the ruu rom and how do I lock the bootloader angain ?
Thx in advance
Btw if i lock my bootloader again and run this hackkit, do I still have my recovery mod and a possibility to flas my ruu back?
IQ_QI said:
Btw if i lock my bootloader again and run this hackkit, do I still have my recovery mod and a possibility to flas my ruu back?
Click to expand...
Click to collapse
Here can you find a ruu http://www.filefactory.com/f/efa28fefafc4af9c/
You can lock the boot loader whit adb " I don't know the command for that"
CWM make a backup to sdcard you never lose them.
Edit: the boot loader relock if you flash a ruu.
You can flash the ruu with the bootloader
Well i tried to flash my rom, I made with CRM and then ran the hack kit. I said i've to downgrade my android version.
After it downloaded the rom it said failed to update cuz my main version is older.
Any idea?
Does the phone boot into the rom?
If it does, is it now on a froyo rom?
Sent from my Desire HD using xda app-developers app
IQ_QI said:
Hey guys,
I flashed clockworkmod recovery via fastboot and made a complete system backup on my htc desire hd.
But now I've a problem. My brother unlocked the bootloader with the official htc tool, in fact my phone is still s-on with hboot 2.00xx.
Now I've flashed a custom rom but my phone keeps staying in the bootscreen with te green htc logo.
Any1 any idea how to fix this ?
Thanks in advance
Click to expand...
Click to collapse
Ok, it's like this. The way most people get root and recovery (and the recommended way) is through the AAHK. It gives you an option to flash a completely unlocked ENG S-OFF bootloader, which allows recovery to flash the boot image to the /boot partition too. This is what makes the phone start, otherwise it'll be stuck at the HTC Quietly Brilliant screen. Most people will tell you that you should run an RUU and get back to locked bootloader state and then run the AAHK. This IS the preferred method if you want to have a fully unlocked phone, but if you're finding it difficult to do, don't do it.
You've unlocked the bootloader using the htcdev unlock tool. What that does is partially unlock your bootloader. It allows you to flash zips to the system partition and data partition, but not the boot partition. So what happened to you was that you flashed CWM recovery, used it to flash a ROM, but it didn't boot - this is because though the ROM flashed fine, the corresponding boot image for the ROM was not flashed, so the ROM cannot start. The main headache with htcdev method of unlocking is that it leaves you with a S-ON bootloader preventing the flashing of boot image directly from recovery. You will need to flash it manually each time you flash a ROM.
The procedure to do that is -
1. Download the attached zip file, extract it to Desktop or wherever you want using 7-zip/WinZIP.
2. Open the ROM zip file you downloaded. Extract boot.img from this zip to the previously folder which you just extracted in the above step.
3. Turn your phone completely off (pull out battery). Then hold 'volume down' while pressing power and continue holding it till you see a white screen with 3 green skateboarding Androids. This is the bootloader.
4. FASTBOOT will be the first selected option in the list. Press 'Power' to select it. Make sure that now it shows FASTBOOT in red under the initial green text.
5. Connect your phone to computer. See that the red FASTBOOT changes to FASTBOOT USB.
4. Open the adb_fastboot folder, open 'Start here.bat'. It will open a command prompt window in that folder.
5. Type 'fastboot flash recovery recovery.img'. You only need to do this once. It will flash 4ext Touch Recovery, which is better than CWM (thanks to madmaxx82 for the awesome recovery).
6. Type 'fastboot flash boot boot.img'. You will need to do this everytime you flash a custom ROM, but before you do so be sure you've copied the boot.img from the ROM zip to the adb_fastboot folder.
7. You should see some stuff like 'Sending data... data sent successfully'. If there's any error at this step report it here.
8. Once it has done everything and displayed a successful confirmation, disconnect phone.
9. Hightlight BOOTLOADER and press 'power' to select it. Press 'volume down' to highlight RECOVERY and 'power' to select it.
10. Once you're rebooted into 4ext Touch Recovery, go to 'install zip from SD card', browse for the ROM zip file in your SD card. If you haven't copied the zip to SD card, go back a step, connect phone to computer, select 'toggle USB storage' and then copy it onto the SD card. Once you have the ROM zip on the sdcard, go to the main screen of the recovery, choose 'wipe/format'->format all partitions (except SD card). Now go back to main screen, choose 'install zip from sdcard' and browse to the ROM zip location, select it and confirm that you want to flash it.
11. When the flash process is done, go back to the main screen of recovery, and press reboot now. You will reboot into the custom ROM.
This is the process to flash a custom ROM and get it to boot properly IF you have unlocked the bootloader using www.htcdev.com. For AAHK unlocked S-OFF bootloaders, you can just flash the ROM zip from recovery. The boot image will be flashed too.
Before trying the above try this and you might get lucky.
Boot into clockworkmod wipe data/factory reset. Wipe cache. Wipe dalvik cache. Flash the custom rom again and wait 15 mins for it to boot before giving up.
Sent from my Desire HD using xda app-developers app
@sashank, probably the most informative reply I've read on here for a long time, very helpful to me as well :thumbup:
Sent from my Desire HD using Tapatalk 2
hans moleman said:
Before trying the above try this and you might get lucky.
Boot into clockworkmod wipe data/factory reset. Wipe cache. Wipe dalvik cache. Flash the custom rom again and wait 15 mins for it to boot before giving up.
Sent from my Desire HD using xda app-developers app
Click to expand...
Click to collapse
What you're saying is correct for fully unlocked S-OFF boot loaders. The ROM take sometime to boot the first time because it has to build the dalvik cache. The time it takes depends on the number of apps. Same thing happens when you wipe dalvik cache, it has to be rebuilt on boot.
But the problem here is, the OPs phone is unlocked using htcdev. With that method, the boot loader remains on S-ON. So the boot partition cannot be flashed to using recovery. The boot.img will have yo be manually flashed through fastboot, otherwise the ROM won't boot no matter how long he waits.
Sent from my Desire HD using xda premium
That htcdev unlock sounds like a nightmare. Glad I stayed away from that one... I used to flash different roms with s-on on my desire (not DHD) for a while with no problem. There was a rooting method called unrevoked that flashed clockworkmod with s-on. I guess DHD must have a different version of nand lock which restricts flashing part of the rom from zip?
hans moleman said:
That htcdev unlock sounds like a nightmare. Glad I stayed away from that one... I used to flash different roms with s-on on my desire (not DHD) for a while with no problem. There was a rooting method called unrevoked that flashed clockworkmod with s-on. I guess DHD must have a different version of nand lock which restricts flashing part of the rom from zip?
Click to expand...
Click to collapse
Yes. The boot image does not get flashed. This is what sucks about htcdev unlock, and the reason why HTC pissed off so many people. The community asked for bootloader unlock, HTC gave a half-assed bootloader unlock. Alternative methods to gain S-OFF are always preferred. Some devices unfortunately don't have S-OFF methods yet, so they have to use htcdev unlock. HTC One X for instance, don't know about the other One series phones.
HDPC said:
Try to remove battery and then add battery again, then go to cwm and do factory reset and delete those cache
Click to expand...
Click to collapse
Why are you answering a thread that is an year old??
to root your g510-200
Step 1: download and install Huawei drivers on your pc
Step 2: unlock your bootloader at this site http://www.huaweidevice.com/worldwide/servicePolicy.do?method=preUnlock you will have to wait a day or so for your code. follow instructions on that website to unlock your bootloader.
Step 3: download
installTWRPg510.zip
Click to expand...
Click to collapse
OR
installCWMg510.zip
Click to expand...
Click to collapse
and extract to desktop.
Step 4: go to settings on your phone, enable usb debugging and turn fast boot off. Now connect you phone to your pc in fastboot mode (start phone while holding volume down to enter fastboot mode. phone will stay on boot animation) go to the folder on your desktop and click the install-windows batch file. press any key to reboot. you now have cwm or twrp recovery installed.
Step 5: copy UPDATE-superSU.zip to your sd card and reboot phone into recovery by starting the phone while holding down the volume up button. choose install zip from sd card and flash
UPDATE-superSU.zip
Click to expand...
Click to collapse
your phone is now rooted. keep this file in your sd card because some custom roms don't have root and you will need to re-flash this file. if superSU doesnt show up in your apps just download it from marketplace its free.
Step 6: make a back up of your stock rooted rom before you start flashing any custom roms.
I have tested this myself!
I have a g510-0200 with b189 optus firmware and i rooted my phone this way. Then restored it to stock factory b173 rom then rooted it again. So it works very well on both firmwares. :good:
ROMS!!!!
There are plenty of roms to try here! http://www.modaco.com/topic/365268-all-custom-roms-for-huawei-ascend-y300g510/ you can flash y300 (u8833) roms on your g510 too. you can flash custom g510-0100 roms on your g510-0200 phone and visa versa as long as your flashing them in a custom recovery. However if you are downloading factory stock firmware from huawei and installing it via the dload method on your sd card you MUST have the correct firmware eg: g510-0200 on a g510-0200 phone. This is only what ive read and im not willing to brick my phone. correct me if im wrong?
Not able to get into TWRP or CWM
Hey there sonyachin!
I too have the same phone model as yours... Huawei Ascend G510-0200
I have rooted it using another method
But I can't seem to get it in CWM or TWRP...
Will I still able to use your method of getting TWRP or CWM without Unrooting and Re-Rooting again???
It will be really a great help if you can reply fast!!!
Im new to rooting so... Yeah...
Brick Huawei G510
i have an Huawei G510-0100 and unlock the bootloader, run CM11 on it, i came across swapper2 and do a swap on my phone and then after the second reboot i did, the whole screen turns into blue.can't get fastboot and recovery mode anymore. i've tried force updating and normal update with the firmware build number of my phone and so many others but none installed i keep getting failed. Please can anybody help me out on what to do to get my phone working again. i'll be verry grateful for dat, Thanks in advance.... i wish this G510 has a flashtool to recover it
when i try to flash it
it give me this massage,
sending, recovery <7168 kb>...OKAY
writing recovery... FAILED<remot: Commend not allowed>
pls solve this
presleyt9 said:
i have an Huawei G510-0100 and unlock the bootloader, run CM11 on it, i came across swapper2 and do a swap on my phone and then after the second reboot i did, the whole screen turns into blue.can't get fastboot and recovery mode anymore. i've tried force updating and normal update with the firmware build number of my phone and so many others but none installed i keep getting failed. Please can anybody help me out on what to do to get my phone working again. i'll be verry grateful for dat, Thanks in advance.... i wish this G510 has a flashtool to recover it
Click to expand...
Click to collapse
[Q] HTC One X. Can't got in to recovery, Got stuck on the attached screen
Cell specs screenshot is also attached.
Already tried CMW and TWRP from fast boot commands but it said FAILED !!
Already tried the PB99IMG method of 4EXT but there is no SD card , thinks so thats why it did not worked.
, plz help ,, how to access recovery and install custom roms,
I factory reset my set and it lost its IMEI no , and no SIM Card is working now :/
Mastermindsaifee said:
[Q] HTC One X. Can't got in to recovery, Got stuck on the attached screen
Cell specs screenshot is also attached.
Already tried CMW and TWRP from fast boot commands but it said FAILED !!
Already tried the PB99IMG method of 4EXT but there is no SD card , thinks so thats why it did not worked.
, plz help ,, how to access recovery and install custom roms,
I factory reset my set and it lost its IMEI no , and no SIM Card is working now :/
Click to expand...
Click to collapse
Is this a HTC One X or a HTC Desire?
Regardless which device is it, you need a unlocked bootloader to flash the recovery.
I recommend that you charge your phone till 100%
Than head over to htcdev.com and follow the instructions on unlocking the bootloader
Than flash the recovery image in fastboot using: fastboot flash recovery recovery.img (or just drag the specific recovery into cmd)
Than transfer the rom that you want to use and flash it after doing a full wipe
Head back into bootloader and flash the boot.img (kernel) with; fastboot flash boot boot.img
Than reboot and voila!
It's a hox....you see the endevouru in the bootloader screen !
Use a ruu to go back to a working phone. Easy because you have an S-OFF device !
Mr Hofs said:
It's a hox....you see the endevouru in the bootloader screen !
Use a ruu to go back to a working phone. Easy because you have an S-OFF device !
Click to expand...
Click to collapse
Didn't notice there, sorry
Mastermindsaifee said:
[Q] HTC One X. Can't got in to recovery, Got stuck on the attached screen
Cell specs screenshot is also attached.
Already tried CMW and TWRP from fast boot commands but it said FAILED !!
Already tried the PB99IMG method of 4EXT but there is no SD card , thinks so thats why it did not worked.
, plz help ,, how to access recovery and install custom roms,
I factory reset my set and it lost its IMEI no , and no SIM Card is working now :/
Click to expand...
Click to collapse
If you want to flash custom recovery first unlock your bootloader via htcdev.com!!!!
Mr Hofs said:
It's a hox....you see the endevouru in the bootloader screen !
Use a ruu to go back to a working phone. Easy because you have an S-OFF device !
Click to expand...
Click to collapse
I didnt understand , what you said,
"Its a hox"
What is hox ???
and what does endevouru means ??
Please guide and which ruu should i used to go back to a working phone ?
Bobbi lim said:
Is this a HTC One X or a HTC Desire?
Regardless which device is it, you need a unlocked bootloader to flash the recovery.
I recommend that you charge your phone till 100%
Than head over to htcdev.com and follow the instructions on unlocking the bootloader
Than flash the recovery image in fastboot using: fastboot flash recovery recovery.img (or just drag the specific recovery into cmd)
Than transfer the rom that you want to use and flash it after doing a full wipe
Head back into bootloader and flash the boot.img (kernel) with; fastboot flash boot boot.img
Than reboot and voila!
Click to expand...
Click to collapse
Its HTC One X
Yes that is a hox .... Htc One X ....HOX