Related
I've searched everywhere and I can't find conclusive information on how to "fastboot a recovery image"
I'm sure i could do it if there was a how to, but I can't seem to find any?
please help!
P.s I know how to get into fastboot on my streak but I dont know what all the numbers mean on the screen or where I go from there to install the recovery from the sd card.
i was!!
hehe...we all were at first....worried bout bricking our lovely toys and trying to filter all the posts n posts n post..
have you seen this post http://forum.xda-developers.com/showthread.php?t=1000455
seems to be a fully automated process
So if I am correct, this will let me flash a recovery so that I can install Streakdroid yes?
to install a streakdroid rom you will have to ignore my previous comment as the are for stock recovery. you will need to flash over clockwork or, the more streak compatible streakmod.
1. http://forum.xda-developers.com/showthread.php?t=840326
^^^ the post on flashing streakmod to enable flashing zip packages
2. To stop the stock recovery overwritting the recovery you should do:
Rename --- "etc/install-recovery.sh" . (just add ".bak" to stop the system using install-recovery.sh"
Im still slightly retarded but hope this clarifies things
oh....btw... i struggled with the fastboot command.. but found out the full proper command is "fastboot -i 0x413c flash recovery recovery.img
"
i.e. 0.x413c must be added so the fastboot command knows what device its talking to..
(Hope this has been useful....had so much fun learning in these forums at XDA would be nice if i could help people in return - IM A RETARD TOO!)
Ok, The thing is, I read through all of that but something is missing.
At what stage do I type things? whats the process for that?
and where exactly do I rename this file?
I know the steps before and after - I'm missing the bit in between here.
k...let me see if i can clarify..
reread the instructions....to make is easier and automated for u, i would suggest the following..(although i did it the manual way this should be painless!!)
1. ensure you have the latest dell drivers installed and that in the device manger you have your Android Composite ADB device up n running.
2. from this post http://forum.xda-developers.com/showthread.php?t=1000455 download the MultiRecoveryFlasher v.0.3 and the bat file too.
extract to say C:\
(copy the extracted bat file into the same directory.
3. with power off, turn on streak hold the camera button and then the power button together until you get to the white screen, then select fastboot...
4. now double click that bat file in your directory and option 7, and wait 10 secs
5. now connect your streak usb cable to the pc
it should install the latest streakmod automatically for you....
6. when successful run,using the bat file select option 9 to reboot the phone (takes a few seconds for it to happen)
7. exit the bat file.....finished with pc
8. when streak has booted to normal...using root explorer navigate to the folder "system/etc/" and locate file "install-recovery.sh" long press on that file and rename.....rename to install-recovery.sh.bak (by just adding .bak)
9. power off phone and once again boot into fastboot as per 3. to ensure you still have streakmod.....if all is well you can then go ahead and flash your zip from sd card roms.
10. if you get the stock recovery option already overwritten the streakmod just repeat steps above 3-7..
as i said i did it the manual way...but im sure that following these steps using the uksheep's programme you will find it painless........
let me know if it worked or if im still a superdelux, mark1, grade A duffer (was hoping to be grade B by now lololo)
edit...you are rooted??? download root explorer pro...its on the net....tap the R/W button to enable renaming of system files first...be careful!!...also you boot into recovery by holding both volume buttons AND th epower button until you get the four options menu. You have to select option 2 whic will take you to the streakmod (you will see dell symbols..press power button again when you do to access streakmod functions..
megacamz....have you read the pdf here....
http://forum.xda-developers.com/showthread.php?t=776883
?? its a very good read and shows how to use fastboot and where to get the fastboot directory from..radders brilliant guide
I just want to pose a question:
My volume down button has been broken (peculiar build quality of these things ), but to the best of my current knowledge i'm safe. In CWM recovery i can always loop in the scroll to make the right decisions and to reach "fast boot" i don't need to use the "volume down". My question is then this: Is there any situation that I could happen to stumble upon in which I would need the down button to carry out an "unbricking process"/wipe/reseting? I have never had to use "fast boot" since all my issues jumping between firmwares have been resolved through CWM, and I don't want to just try "fast boot" now just to find I need the "volume down" to be able to restart the device
I don't think that button is needed for a major task, I think you're safe for now!
With the stock recovery you'll need it to use the update, but with cmw as you said it you don't need it, for fastboot/adb you don't need it, for now there's no major task that I can think of that that button is needed.
Enviado através do Tapatalk
Thanks for the swift answer! So if i for example flash FolioMod then I need to flash CWM in order to change to another firmware. How do one flash CWM without using stock recovery? ADB? Guide somewhere?
Heres a post i've found on another forum that explains how to set up fastboot:
Step 1 - Install fastboot driver for the Folio :
- Download PdaNet and install it on your PC, it will go till a point where it says it can't be installed and cancel itself but the magic is that the driver is installed.
Download PdaNet from www[dot]junefabrics[dot]com/android/download.php (i had to put the link that way cause the forum wont allow me to post outside links yet)
Step 2 - Download the tools needed to prepare the Folio
- Download and extract the following archive on your PC, these are the tools needed to erase the Folio and to flash the Honeycomb rom. You will only need what's inside the folder ToolsD...
Download from www[dot]box[dot]net/shared/4ugbev5jnx5fbp3v3u2e
Step 3 - Start fastboot mode on the Folio
- Start the tablet and at the TOSHIBA logo press 3 times Power and 1 time Vol+, then connect it to the PC. It should be detected by the driver we installed at step 1.
Step 4 - Erase the tablet and flash the new recovery (ClockWorkMod)
- Open a cmd window on your PC, go to the folder ToolsD we extracted at step 2 and type in the following commands :
Code:
fastboot erase userdata
fastboot erase system
fastboot erase cache
fastboot erase linux
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot reboot
Step 5 - Install the new rom from ClockWorkMod
- Once the reboot starts, at the TOSHIBA logo, press Power and Vol+ at the same time, then Vol+, then Vol-, then Vol+. You should be in ClockWorkMod recovery...
- Prepare a SD card with your favorite rom (for me it's Folio3x(HoneyComb 3.0.1) for Folio100 - VegaComb based), don't forget to unzip it, you should end with a update.zip file.
- Insert the SD card in the tablet and select - apply sdcard:update.zip, it should start the installation. If not chose - install zip from sdcard and choose the file. If you can't see it, either the sdcard is not formated correctly or it simply does not see the card, try to reboot the recovery with the sdcard inserted.
After these steps and once it's installed, it should reboot and start VEGACOMB. Please be patient, it takes a while to start... and do not forget to reboot after the initial setup to activate the wifi (yes it's a bug)!
If it still does not start, reflash it again (step 5) sometimes it just does not work on first try. What you can also try is to format the different partitions from ClockWorkMod recovery, there's a Mounts and Storage menu and after you mount all the possible partitions (some won't), format them all, reboot the recovery and start step 5 again.
Regards,
Luis
Click to expand...
Click to collapse
If you want to change your recovery, just replace the recovery.img on the ToolsD folder with the one you want, then on step 4 just do the following:
Code:
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot reboot
You dont need step 5.
I also think that if you remove the recovery.img from the update.zip before you flash the rom it will keep the recovery you have now, but i cant confirm that, anyway, if you need to change the recovery just do those steps.
Step-by-step guide for unbricking a Photon from an ota update brick and recovering from a "failed to boot 2" or "failed to boot 3" error when booting.
Also, big note, this is NOT for 2.3.4 users!
EXTREME thanks to peetr_ for ALL of this info and getting myself and probably countless others fixed. All the links are files he uploaded personally and all these instructions come directly from him. Be sure to thank the crap out of him if you get your device fixed through this method.
1) Make sure you have all the motorola drivers (I assume you do otherwise you wouldn't have been able to brick your device).
2) Make sure you have a FULL ass charge. Not 90%, but FULL! I know it doesn't charge when it's in the failed to boot mode. I bought an external battery wall charger from Overstock for under $10 shipped, I suggest you do the same.
3) Enter Fastboot mode by holding the volume up key while powering on your device.
4) Connect your phone via USB to your computer.
5) Open command line on your computer (Windows key + "R", then type in "cmd") or (Windows 7: Open the start menu and type "cmd").
6) Download and extract this file: (uploaded by peetr_) http://d-h.st/xl8 (if no hyperlink, copy and paste the previous text in your browser). There should be a "boot.img" file and a "recovery.img" file.
7) It is VERY helpful to have all your files in one directory, all your fastboot files, ADB and all that jazz should be in the same directory as well as all the files you've downloaded to flash.
8) In command line type in "moto-fastboot flash boot boot.img" (assuming you followed step 7). It will say "sending" and then "writing" and should only take a few seconds. Your device will say some things too. After this, restart your device and your phone should boot in for the first time since you bricked it. (That was the greatest thing to watch after being bricked for 3 weeks!)
9) You're not quite out of the woods yet, 4G and WiFi will not work yet. Hold the power button up while powering on once again to enter fastboot mode.
10) Once again in command line (assuming your phone is still hooked up) type in "moto-fastboot flash recovery recovery.img" and it will send and write.
11) If your phone wasn't previously rooted or if somehow you lost root go ahead and root it now (just google the oneclick method).
12) Download these modules http://d-h.st/aAi and store them on your device, SD card or internal memory.
13) Download the RootExplorer app and navigate to the zip on your device, set it to Read/Write on the top of the app and hold the zip down until you get a menu, hit permissions and set them.
14) Hold volume up while powering device on and you should get into Bootstrap recovery.
15) Hit "install zip from SD card" and navigate to the file and install it.
16) Boot the device normally and congratulations! You now have working WiFi and 4G on an electrify flashed Photon! OTA updates will NOT work and you will NOT be able to unlock the bootloader via pudding for Custom ROM installs. If you hate blur like I do, download "GO Launcher" or my personal favorite "SPB Shell".
I appreciate your effort. Just highlighting some inaccuracies.
This is only for failed to boot (2 or 3) after ota 2.3.5 update. Not after flashing Electrify sbf. You never flashed that.
And you cannot flash modules with android recovery option in bootloader menu, you had to install bootstrap recovery or copy with root explorer and set permissions one by one.
And give there a big warning, that this is not for 2.3.4 users.
Other than this, it's good.
Edited! Hopefully it's good enough to help some people now.
bdotr said:
Edited! Hopefully it's good enough to help some people now.
Click to expand...
Click to collapse
I dont have any error like failed boot 2 or 3..
But i am stuck to dual core screen.... so what to do....???
Help!
I am trying to follow your directions. I sure F'd my photon up tonight... I have about decided to go and file a warranty claim and accept that it is done for...
When trying to flash your files using fast-boot it just says waiting for device. any ideas? Thanks alot !
Need help!
I bricked my photon when I was trying to install a custom rom..
I get the error failed to boot 2.
When I try to follow the steps u have mentioned ...
In the first step itself when I want my phone to be back to stock I am not able to do it...When im trying to transfer the sbf file I get "Failed flashing process. Unable to retrieve interface handle. (0x7027)"
Please guide me what to do.
got failed to boot 2
hello dear all member i need help really i try to install jb in my motorol Sprint Photon 4g but when it reboot i get failed to boot 2 i dont understand what to do i dont have backup and i dont have any file when i type in command that moto-fastboot flash boot boot.img it dont work and i have only 2 files that downloaded from ur link boot.img and other 1 but they dont work
i dont have any ADB file or other directory to copy them there so help me plzzzzzzzzz
This is long, but it's nice for noobs because it's detailed. It's honestly kind of fun, I promise. I'm assuming you have WINDOWS. This is based off of the guide by torxx!. It's modified because some of the info is outdated (you don't have to flash the boot.mg separately, for example). If you are NOT a noob you can just look at the "overview" for each step. This will work with all versions of the HTC One, assuming the kernel works. I have only tested the kernel with the T-mobile variant because that's what I have.
UNLOCKING YOUR DEVICE WILL WIPE YOUR DEVICE. THIS IS A SECURITY FEATURE. BACKUP FIRST.
Part 1- gaining unlock token
Overview: go to htcdev.com and unlock bootloader
Be sure you've turned off fast boot option in power menu; usb debugging should be on (settings -> developer options).
Go to http://www.htc.com/www/software/htc-sync-manager/[1] and install HTC SYNC. Alternatively, if you know what you're doing, you can install these drivers:
x86 http://www.mediafire.com/?qabo1tue2v1ky75 x64 http://www.mediafire.com/?8dl8s3l9mr6ggr9
Go on http://www.htcdev.com[4] and create yourself an account on HTCDEV.
Download these adb/fastboot files: http://d-h.st/RvD
Make a new folder anywhere. We'll use C:/fastboot as an example.
Extract the zip downloaded to the new folder
Go Here http://www.htcdev.com/bootloader/[6] and select "All Other Supported Models" and "then begin unlock bootloader" (check the boxes, click proceed, all that good stuff). YOU CAN IGNORE THE DIRECTIONS THAT THEY TELL YOU (and follow this guide instead).
Power off your phone. Power your phone on by holding power and volume down.
Highlight 'Fastboot' the volume buttons then press power to "select".
Plug your phone into your PC and open a Command Prompt. (windows XP - Click Start > Run > type CMD in box then press OK; Windows 7 - Click Start > type CMD in search box then press Enter) Change directory to your folder where we put fastboot files by typing cd c:\fastboot for example.*
*Alternatively, you can just hold down shift and right click in the folder and select "open command window here". Neat huh?
Type this into your command prompt window: fastboot oem get_identifier_token
Select & copy the text as per step 9 on the HTCDev website
Paste your identifier token into the box at the bottom and submit
You Will Very Shortly Receive an email from HTCDev with a link to the second part of the instructions and your "Unlock_code.bin" attached
Download the "Unlock_code.bin" from the email and save it to the same folder that we extracted fastboot files
Type this into your command prompt window: fastboot flash unlocktoken Unlock_code.bin
The Display Will change on your phone, press Vol+ to accept and power to confirm.
Part 2
Overview: flash your recovery. Boot into recovery. Turn phone off if it boots into OS. Boot into back into recovery. You're done!
Download a recovery:
TWRP (the one I use): http://forum.xda-developers.com/showthread.php?t=2173870
CWM 2: http://forum.xda-developers.com/showthread.php?t=2172979
CWM: http://forum.xda-developers.com/showthread.php?t=2173863
Place the Recovery file to the folder where the fastboot.exe is.
Same thing as above- boot (volume down + power) into the bootloader and highlight 'Fastboot' the volume buttons then press power to "select".
Do the same thing as with the command prompt above. This time, however, you'll be typing:
fastboot flash recovery "name_of_the_recovery.img"
For example:
fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img
then type:
fastboot erase cache
From the menu, boot into recovery (use volume to move up and down, power to select). The phone might boot to the OS instead of recovery, don't worry!
Turn off phone then turn on (while holding volume down) to boot back into the bootloader.
TAMPERED shows up, boot into recovery and now your recovery should be working!
Part 3- obtaining root
Overview: flash a super tool
Download a super user tool for root:
SuperSU (I use this one): http://forum.xda-developers.com/showthread.php?t=1538053
SuperUser: http://download.clockworkmod.com/superuser/superuser.zip
Alternatively, download this: http://forum.xda-developers.com/showthread.php?t=2266025. This is a stock rooted rom for T-Mobile. If you download and flash this instead of the super user tool, you're done. (This rom includes super user)
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip super user tool to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
If you are a t-mobile user you're not out of the woods yet! The stock kernel is system write protected, so you still can't modify it (changes won't "stick"). You'll have to flash a custom rom or a kernel if you want stock instead.
I recommend these kernels: http://forum.xda-developers.com/showthread.php?t=2255900 or http://forum.xda-developers.com/showthread.php?t=2233665&highlight=menu
Download it.
Installing custom rom/kernel ("flashing a rom")
Overview: Download Rom, boot into recovery and wipe and then flash.
According to Shenye, even though your device is s-on, you can still flash boot now. So just do this:
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip kernel/cutom rom to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
ixrs said:
This is long, but it's nice for noobs because it's detailed. It's honestly kind of fun, I promise. I'm assuming you have WINDOWS. This is based off of the guide by torxx!. It's modified because some of the info is outdated (you don't have to flash the boot.mg separately, for example). If you are NOT a noob you can just look at the "overview" for each step. This will work with all versions of the HTC One, assuming the kernel works. I have only tested the kernel with the T-mobile variant because that's what I have.
UNLOCKING YOUR DEVICE WILL WIPE YOUR DEVICE. THIS IS A SECURITY FEATURE. BACKUP FIRST.
Part 1- gaining unlock token
Overview: go to htcdev.com and unlock bootloader
Be sure you've turned off fast boot option in power menu; usb debugging should be on (settings -> developer options).
Go to http://www.htc.com/www/software/htc-sync-manager/[1] and install HTC SYNC. Alternatively, if you know what you're doing, you can install these drivers: x86 http://www.mediafire.com/?qabo1tue2v1ky75 x64 http://www.mediafire.com/?8dl8s3l9mr6ggr9
Go on http://www.htcdev.com[4] and create yourself an account on HTCDEV.
Download these adb/fastboot files: http://d-h.st/RvD
Make a new folder anywhere. We'll use C:/fastboot as an example.
Extract the zip downloaded to the new folder
Go Here http://www.htcdev.com/bootloader/[6] and select "All Other Supported Models" and "then begin unlock bootloader" (check the boxes, click proceed, all that good stuff). YOU CAN IGNORE THE DIRECTIONS THAT THEY TELL YOU (and follow this guide instead).
Power off your phone. Power your phone on by holding power and volume down.
Highlight 'Fastboot' the volume buttons then press power to "select".
Plug your phone into your PC and open a Command Prompt. (windows XP - Click Start > Run > type CMD in box then press OK; Windows 7 - Click Start > type CMD in search box then press Enter) Change directory to your folder where we put fastboot files cd c:\fastboot*
*Alternatively, you can just hold down shift and right click in the folder and select "open command window here". Neat huh?
Type this into your command prompt window: fastboot oem get_identifier_token
Select & copy the text as per step 9 on the HTCDev website
Paste your identifier token into the box at the bottom and submit
You Will Very Shortly Receive an email from HTCDev with a link to the second part of the instructions and your "Unlock_code.bin" attached
Download the "Unlock_code.bin" from the email and save it to the same folder that we extracted fastboot files
Type this into your command prompt window: fastboot flash unlocktoken Unlock_code.bin
The Display Will change on your phone, press Vol+ to accept and power to confirm.
Part 2
Overview: flash your recovery. Boot into recovery. Turn phone off if it boots into OS. Boot into back into recovery. You're done!
Download a recovery:
TWRP (the one I use): http://forum.xda-developers.com/showthread.php?t=2173870
CWM 2: http://forum.xda-developers.com/showthread.php?t=2172979
CWM: http://forum.xda-developers.com/showthread.php?t=2173863
Place the Recovery file to the folder where the fastboot.exe is.
Same thing as above- boot (volume down + power) into the bootloader and highlight 'Fastboot' the volume buttons then press power to "select".
Do the same thing as with the command prompt above. This time, however, you'll be typing:
fastboot flash recovery name_of_the_recovery.img
For example:
fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img
then type:
fastboot erase cache
From the menu, boot into recovery (use volume to move up and down, power to select). The phone might boot to the OS instead of recovery, don't worry!
Turn off phone then turn on (while holding volume down) to boot back into the bootloader.
TAMPERED shows up, boot into recovery and now your recovery should be working!
Part 3- obtaining root
Overview: flash a super tool
Download a super user tool for root:
SuperSU (I use this one): http://forum.xda-developers.com/showthread.php?t=1538053
SuperUser: http://download.clockworkmod.com/superuser/superuser.zip
Alternatively, download this: http://forum.xda-developers.com/showthread.php?t=2266025. This is a stock rooted rom. If you download and flash this instead of the super user tool, you're done. (This rom includes super user)
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip super user tool to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
If you are a t-mobile user you're not out of the woods yet! The stock kernel is system write protected, so you still can't modify it (changes won't "stick"). You'll have to flash a custom rom or a kernel if you want stock instead.
I recommend these kernels: http://forum.xda-developers.com/showthread.php?t=2255900 or http://forum.xda-developers.com/showthread.php?t=2233665&highlight=menu
Download it.
Installing custom rom/kernel ("flashing a rom")
Overview: Download Rom, boot into recovery and wipe and then flash.
According to Shenye, even though your device is s-on, you can still flash boot now. So just do this:
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip kernel/cutom rom to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
Click to expand...
Click to collapse
Thanks for this awesome tutorial man. It definitely should help give noobs a much better understanding!
Sent from my HTC One using xda premium
thanks! this worked great. perfect for all the noobs
Thanks!! I was on the fence about rooting (since the one is so great out of the box) but had an immediate need for tethering. You got me up and running in ~20 Minutes!!
Glad to hear! I think you may have rooted your phone faster than me, lol.
Thank you for this. I am on the fence about which new device i will be purchasing and good to know someone went to the trouble with rooting instructions
rolling56 said:
Thank you for this. I am on the fence about which new device i will be purchasing and good to know someone went to the trouble with rooting instructions
Click to expand...
Click to collapse
Thanks for your kind words! I tried hard to make these instructions as easy as possible, it looks like others found it easy but if you have any questions let me know.
im having trouble unlocking. after i get the unlock code and put it in my folder, i do the cmd 'fastboot unlocktoken Unlock_code.din'. but i get an error "cannot load Unlock_code.bin". am i missing something?
OK
I'll test it out on mines here and let you know
msterner123 said:
im having trouble unlocking. after i get the unlock code and put it in my folder, i do the cmd 'fastboot unlocktoken Unlock_code.din'. but i get an error "cannot load Unlock_code.bin". am i missing something?
Click to expand...
Click to collapse
Did you change directory to that folder?
Can you take a screenshot?
ixrs said:
Did you change directory to that folder?
Can you take a screenshot?
Click to expand...
Click to collapse
Worked like a champ! Thanks! I can't believe I missed that.
Does anyone know where I can find the stock ROM for T-Mobile to flash back to stock?
kgor93 said:
Does anyone know where I can find the stock ROM for T-Mobile to flash back to stock?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2276446
Seems to be where the stock stuff is at.
ixrs said:
http://forum.xda-developers.com/showthread.php?t=2276446
Click to expand...
Click to collapse
Thank you! I've been looking all over for that. Guess it was finally posted today.
kgor93 said:
Thank you! I've been looking all over for that. Guess it was finally posted today.
Click to expand...
Click to collapse
The only problem is that it has not been zipped, so we cannot use it to flash back to stock yet. Once it does, I'm going to be all over it! I wish I had been a bit more patient and just stuck out stock a few days more. I would've been able to realize how much disabling of installed apps just through the HTC settings menu. Not everything can be "disabled", but quite a bit can...
One of the few times where I think stock software is pretty good! Props to HTC!
I've heard this kinda thing voids the warranty, is that the case for the t-mobile 0ne?
Great tutorial but as usual I have been having saveer problems getting the HTC device to install properly so it can be detected in fastboot and recovery. Have been trying on both my laptop and desktop all day...
whitephenix said:
Great tutorial but as usual I have been having saveer problems getting the HTC device to install properly so it can be detected in fastboot and recovery. Have been trying on both my laptop and desktop all day...
Click to expand...
Click to collapse
Where are you stuck? I heard there was a problem with Win 8 x64 on usb 3.0.
Their was a problem for me with Windows 7 pro on my desktop but i finaly got it to work on my laptop.. I am led to think due to previous issues ultimate works better than pro or perhaps my hardware configuration on my homebrew leads windows to have certain comparability issues... The issue is spacifically with hardware detection and driver install errors. But like I said I got it to work on my laptop.
Sent from my HTC One using xda app-developers app
How easy is it to revert back to stock if you decide you don't want to use a custom rom anymore? Are factory images available to flash? Is it as easy as Samsung phones?
There are a number of generic installation guides for custom roms eg https://www.xda-developers.com/how-to-install-custom-rom-android/
However this one is specifically for the LG G6 and tested using the US997 model. It worked for me, but I welcome comments on how to improve it.
Create a folder on the PC for all the downloads and files
Download phone driver from LG website
https://www.lg.com/us/support/help-library/lg-mobile-drivers-and-software-CT10000027-20150179827560
Download ADB/Fastboot https://developer.android.com/studio/releases/platform-tools (You need to unzip once downloaded)
(I had an error "adb server version (31) doesn't match this client (41) killing". I searched my PC and found an older version which I had used for another phone and deleted the folders and reinstalled from the download)
Ensure the phone is backing up. (Google backup is working, you have all your photos music etc downloaded) the next steps will wipe the phone
Remove the PIN/Password/Fingerprints from the phone so it will boot without any security.
Unlock the bootloader
https://developer.lge.com/resource/mobile/RetrieveBootloader.dev
The phone will then reboot and do a complete wipe so you need to wait a while for Android to setup.
Telegraph has the latest news on LG G6 ROMs and Recovery. From here I got the links for SHRP recovery which seems more up to date for LG G6 than TWRP. (https://web.telegram.org/#/[email protected])
https://sourceforge.net/projects/pa-g6/files/Releases/SHRP/20.07.2020/US997/
I named the downloaded file "recovery" (You need the .img file not the ZIP)
There are lots of active ROMS for LG G6 I have Lineage installed on another phone which works really well, but Havoc seems the most popular on the G6.
Download the ROM and Gapps https://opengapps.org/ (I used Nano, remember G6 is 64bit)
You will also need to update the bootloader. This was the latest I found for the US997
https://androidfilehost.com/?fid=1899786940962575226
(I missed the bootloader the first time and Gapps will not flash, I was helped by the LG G6 community on Telegram https://web.telegram.org/#/[email protected])
Now you have downloaded all you need
Then connect the phone to the PC and ensured you have ADB debug on in developer options and boot the phone into fastboot
On the PC open a command prompt in the folder you have all the files:
adb reboot bootloader
To load the recovery to the phone :
Fastboot flash recovery recovery.img
YOU MUST NOW BOOT DIRECTLY TO RECOVERY. Do not reboot to Android as this will automatically reset recovery to the stock version.
Unplug the USB cable and reboot to recovery (hold volume down + power button).. continue holding until phone reboots...
As soon as you see the LG logo on the screen.. let go of the power button then quickly press it again (never letting go of volume down).
Keep holding until you see the Factory Reset screen. Click thru the factory reset screens using the volume buttons to move up/down and power button to select. Choose "Yes" twice (saying you want to reset the phone it should boot into your new recovery. Despite what the screen says it won't actually factory reset/wipe your data... as long as you've installed a custom recovery and have not booted into Android since then.
Most likely you will be asked the password to decrypt the data folder. I tried my phone PIN and other default passwords suggested on the internet. I eventually found that this is a known issue and you need for cancel out of this screen and go and "FORMAT DATA"
Reboot directly to recovery (select reboot recovery in Skyhawk), this time you should not be asked for the decryption password.
I recommend you backup your current setup before making changes. If you hit issues you can use the recovery to restore. My SD card slot is broken (Poor LG design) so I plugged a USB thumb drive into the USB C slot and did a full backup. (No data since I just formatted it).
Wipe the partitions before you flash
Full wipe ("The only option you ever need")
Select Advanced and wipe system partition.
FLASH (You need to put the ZIP files either on the USB drive as I did, or copy to your SD card, or you can use ADB sideloader from the PC to push the files to the phone). The USB drive seems the easiest since you can plug it into your PC to load the files then plug it into the phone to read them.
Flash in the following order
Bootloader
ROM
Gapps
After Installing wipe cache and Davik
Reboot
It will do lots of processing while setting up. Ensure it stays cool (remove case and leave it plugged in with the screen off)
Donate to the developer of your new ROM at the end when it works.
I have been running my LG G6 on Android 10 for a few weeks and thought I would share my observations, I am using Havoc 3.7 installed with Skyhawk, I did not root the phone.
Likes : Very smooth experience, phone feel like it is running much faster. Very stable, I had one surprise reboot in the time I have used it. No issues (so far) with installing or using any apps including banking. Much lower use of storage, I have 6GB free.
Same : Battery life is about the same as before.
Gaps : Cannot encrypt, VOLTE doesn't work (which may become a big issue for T-Mobile and AT&T soon), when being used the phone gets much warmer than it did before and the wifi setting randomly turns off.
Next Steps: I am going to try Lineage which has released some fixes for the WIFI issue and report back.
I'm trying to follow the instructions as per this guide for the tmo version of G6 (H87220g) and I'm running into a roadblock on the recovery flash:
[[email protected] tmp]$ mkdir skyhawk
[[email protected] tmp]$ cd skyhawk && 7z x ../SHRP_v2.3.2_us997-233920072020.zip
[[email protected] skyhawk]$ fastboot flash recovery recovery.img
Sending 'recovery' (36936 KB) OKAY [ 1.252s]
Writing 'recovery' FAILED (remote: 'unknown command')
fastboot: error: Command failed
Click to expand...
Click to collapse
I downloaded the Skyhawk zip from the PA download link, unzipped it and used the recovery.img file found inside the zip as part of the fastboot command. Is this incorrect ?
Yes, you need the recovery.img file to flash via fastboot. Have you successfully unlocked the boot loader? You cannot replace recovery without unlocking.
You also need to ensure you have the appropriate files for your phone I have a US997 but as you have H872 you would need skyhawk for the H872 in the notes above you are still using US997.
bootloader is unlocked as per:
https://forum.xda-developers.com/tmobile-g6/how-to/unlock-bootloader-tmo-t3578099
fastboot flash is failing and I'm not the only one it seems like based on comments here and reddit...
I gonna try out @runningnak3d guide and see if that works...
This guide is for the US997. The H872 has a much more complicated process to install recovery : https://forum.xda-developers.com/tmobile-g6/how-to/root-h872-to-including-11g-t3775518