[Q] Problem with flashing rom. - HTC One X+

Hey im new to all this but i wanted to have the pure Android on my one x+.
I have rooted the phone etc etc and i went to install this kernal and rom: http://forum.xda-developers.com/showthread.php?t=2057920
After the reboot it just gets stuck on a screen saying "INITIATING SWAGGER" as shown below. I have no idea what to do from here how to restore it or install a working rom?
Picture:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks in advance for the help

Still not working, help please??? :/

LynchyY said:
Still not working, help please??? :/
Click to expand...
Click to collapse
You need to flash Gapps (20121212) as well.
Or you can wrote down your step, then more easier to known your problem.

xdacalvien said:
You need to flash Gapps (20121212) as well.
Or you can wrote down your step, then more easier to known your problem.
Click to expand...
Click to collapse
I am on the screen at the moment saying "Android is upgrading..." "Starting apps."
It has been on this screen now for about half an hour.
I have flashed gapps already although i may have done the wrong one but how can i get the one you just linked me onto my phone when its not even booting properly?
Thanks.

LynchyY said:
I am on the screen at the moment saying "Android is upgrading..." "Starting apps."
It has been on this screen now for about half an hour.
I have flashed gapps already although i may have done the wrong one but how can i get the one you just linked me onto my phone when its not even booting properly?
Thanks.
Click to expand...
Click to collapse
You need to go back the Recovery mode and flash the gapps..
Turn off your phone, Hold down the Volume Key (-) and press Power button to boot into bootloader.
This is quick step for you:
Installation:
install kernel
full wipe
flash rom
flash gapps
reboot into rom
[HOW TO] Unlock bootloader, Root, Flash Custom ROM, Flash Kernel

xdacalvien said:
You need to go back the Recovery mode and flash the gapps..
Turn off your phone, Hold down the Volume Key (-) and press Power button to boot into bootloader.
This is quick step for you:
Installation:
install kernel
full wipe
flash rom
flash gapps
reboot into rom
[HOW TO] Unlock bootloader, Root, Flash Custom ROM, Flash Kernel
Click to expand...
Click to collapse
Hey, thanks for the reply, can you give me a link to where i can find/download the kernel i need to flash?
Thanks

LynchyY said:
Hey, thanks for the reply, can you give me a link to where i can find/download the kernel i need to flash?
Thanks
Click to expand...
Click to collapse
Your need to go back ur ROM.zip file, and extract the boot.img. That is your boot.img... Any ROM got own boot.img.
So you not flash yet your BOOT.IMG.

xdacalvien said:
Your need to go back ur ROM.zip file, and extract the boot.img. That is your boot.img... Any ROM got own boot.img.
So you not flash yet your BOOT.IMG.
Click to expand...
Click to collapse
Yes but how do I install the kernel? what kernel do i install?

LynchyY said:
Yes but how do I install the kernel? what kernel do i install?
Click to expand...
Click to collapse
The Kernel here is means boot.img.

LynchyY said:
Yes but how do I install the kernel? what kernel do i install?
Click to expand...
Click to collapse
You'll need to open the zip file of the ROM you've flashed and find the boot.img contained within. Then use Hasoon's AIO Toolkit for HOX+ to flash the kernel (the bottom left option).
For some more information, the boot.img contains the kernel and the ramdisk for the device and is flashed to the boot partition of the device. Because the HOX+ is still S-OFF, we cannot flash the ROM and kernel together. We must flash the kernel (boot.img) separately using a utility called fastboot; the toolkit automates this process.

xdacalvien said:
The Kernel here is means boot.img.
Click to expand...
Click to collapse
Ok but how do i install the kernel if my pc is not even recognizing my phone?
Sorry for being a noob but i really don't want to break up my phone more than it already is.
Thanks.

LynchyY said:
Ok but how do i install the kernel if my pc is not even recognizing my phone?
Sorry for being a noob but i really dont want to **** up my phone more than it already is.
Thanks.
Click to expand...
Click to collapse
check the post #10, go to use the Hasson's AIO Kit to flash is more easier.
you need to install HTCDriver.exe from Hasson's AIO Kit.

xdacalvien said:
check the post #10, go to use the Hasson's AIO Kit to flash is more easier.
you need to install HTCDriver.exe from Hasson's AIO Kit.
Click to expand...
Click to collapse
I already have the HTCDriver.exe installed but my pc is not recognizing my phone because my phone don't boot.

LynchyY said:
I already have the HTCDriver.exe installed but my pc is not recognizing my phone because my phone don't boot.
Click to expand...
Click to collapse
Try to re-plug in the USB and test.

LynchyY said:
I already have the HTCDriver.exe installed but my pc is not recognizing my phone because my phone don't boot.
Click to expand...
Click to collapse
If the toolkit is not working, you'll need to do it manually I suppose.
1. Find the folder in the toolkit that contains fastboot.exe and navigate to that folder in a command prompt.
2. Hold the power and volume down buttons until your phone reboots into a white screen.
3. Connect it by USB if it isn't already and type "fastboot devices" and ensure that your device is listed (will just be a string of letters and numbers).
4. Once that works, type "fastboot flash boot path/to/boot.img" (I would recommend putting the boot.img in the same folder as fastboot.exe to make things easier on yourself).
5. If that command is executed successfully, run "fastboot reboot" if your device hasn't already rebooted.

xdacalvien said:
Try to re-plug in the USB and test.
Click to expand...
Click to collapse
Done that and nothing, my pc never recognizes the phone unless it is booted into android.At this point i can only get into the bootloader and recovery mode.

NasaGeek said:
If the toolkit is not working, you'll need to do it manually I suppose.
1. Find the folder in the toolkit that contains fastboot.exe and navigate to that folder in a command prompt.
2. Hold the power and volume down buttons until your phone reboots into a white screen.
3. Connect it by USB if it isn't already and type "fastboot devices" and ensure that your device is listed (will just be a string of letters and numbers).
4. Once that works, type "fastboot flash boot path/to/boot.img" (I would recommend putting the boot.img in the same folder as fastboot.exe to make things easier on yourself).
5. If that command is executed successfully, run "fastboot reboot" if your device hasn't already rebooted.
Click to expand...
Click to collapse
Thank you for this however i didnt work but maybe i did something wrong? Here is a SS of cmd after the process:

LynchyY said:
Thank you for this however i didnt work but maybe i did something wrong? Here is a SS of cmd after the process:
Click to expand...
Click to collapse
try" fastboot erase cache "
then " fastboot flash boot boot.img " again.
Remember, the boot.img is extract from the ROM.zip and put to the path same as fasboot.exe

LynchyY said:
Thank you for this however i didnt work but maybe i did something wrong? Here is a SS of cmd after the process:
Click to expand...
Click to collapse
ahh after this i tried again and the error was Low Battery so I will retry after charging my phone for a while.
Thanks again. I will let you know how it goes.

LynchyY said:
ahh after this i tried again and the error was Low Battery so I will retry after charging my phone for a while.
Thanks again. I will let you know how it goes.
Click to expand...
Click to collapse
After you haved success, you will become Member at this forum. FTW ~~~
How is now with your phone ?

Related

[Q] Lost root access

Hi!
I'n kinda new to XDA but anyway.. Im running CM7 and have a HTC Legend. Last week I was stupid enough and tried to update Superuser from Rom Manager and the result? Superuser wont open anymore.. It always force closes and I have lost my root access. I cant even get in to CWM
What am I going to do?
Please help me!
Easiest thing to do would do a restore from a nandroid backup. If you don't have one, then download a pre-rooted stock rom, or another rom. Hope this helps.
RQ7 said:
Hi!
I'n kinda new to XDA but anyway.. Im running CM7 and have a HTC Legend. Last week I was stupid enough and tried to update Superuser from Rom Manager and the result? Superuser wont open anymore.. It always force closes and I have lost my root access. I cant even get in to CWM
What am I going to do?
Please help me!
Click to expand...
Click to collapse
Simiply reboot into recovery, and reflash superuser. You can get it here: http://goo.im/superuser/Superuser-3.0.7-efghi-signed.zip.
Theonew said:
Simiply reboot into recovery, and reflash superuser. You can get it here: http://goo.im/superuser/Superuser-3.0.7-efghi-signed.zip.
Click to expand...
Click to collapse
How do I reboot into recovery ? Should I rename it update.zip or what?
Thnx for replies.
Press Power and selecPress down on the Trackball, hold Volume Down & the Power button until the device boots to the bootloader. Once in the bootloader, use Volume Down to select "recovery" and press the Power button and select reboot -recovery.
Or turn your phone off and:
Press down on the Trackball, hold Volume Down & the Power button until the device boots to the bootloader. Once in the bootloader, use Volume Down to select "recovery" and press the Power button to select.
Then you select install zip from sd and select the superuser zip.
i'm_ever_dreaming said:
Press Power and selecPress down on the Trackball, hold Volume Down & the Power button until the device boots to the bootloader. Once in the bootloader, use Volume Down to select "recovery" and press the Power button and select reboot -recovery.
Or turn your phone off and:
Press down on the Trackball, hold Volume Down & the Power button until the device boots to the bootloader. Once in the bootloader, use Volume Down to select "recovery" and press the Power button to select.
Then you select install zip from sd and select the superuser zip.
Click to expand...
Click to collapse
Thnx for helping but when im in this recovery, it only says " Apply SD Card: Update.zip " i cant choose Superuser
Can you take a photo?
i'm_ever_dreaming said:
Can you take a photo?
Click to expand...
Click to collapse
Here is a picture. This is as far as I can reach.. I cant choose Superuser, only update.zip..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I know a solution for LG phones but not for HTC, sorry.
You can flash(install) CWM in the bootloader, but i don't know how...
Edit: I'm not sure: Don't do it before someone says that this is correct.
I have no experience with fastboot, just with recovery etc.
You must go into the bootloader, connect your phone to the computer and open terminal, write
fastboot flash recovery (here you must write the name of the image, that must be on the computer in the same folder as fastboot[where you installed android sdk)
RQ7 said:
Here is a picture. This is as far as I can reach.. I cant choose Superuser, only update.zip..
Click to expand...
Click to collapse
Ok, that is the stock recovery. An easy way is to use this tool: http://forum.xda-developers.com/showthread.php?t=794638, flash CWM recovery, then boot into CWM recovery and flash superuser (you do not have to rename it).
Theonew said:
Ok, that is the stock recovery. An easy way is to use this tool: http://forum.xda-developers.com/showthread.php?t=794638, flash CWM recovery, then boot into CWM recovery and flash superuser (you do not have to rename it).
Click to expand...
Click to collapse
Does it work with HTC Legend?
Yes, i know, that this is stock...
Try it, install the tool and flash this image(attachment) if you could select your device.
Sorry, that was the wrong file - removed - now it's the right file
Theonew said:
Ok, that is the stock recovery. An easy way is to use this tool: http://forum.xda-developers.com/showthread.php?t=794638, flash CWM recovery, then boot into CWM recovery and flash superuser (you do not have to rename it).
Click to expand...
Click to collapse
I downloaded the tool but it wont open.. I tried on my Mac and XP but it wont open.. Always gives an error
Do you know how to work with adb?
Edit: Have you tried to root your phone again?
i'm_ever_dreaming said:
Do you know how to work with adb?
Edit: Have you tried to root your phone again?
Click to expand...
Click to collapse
I know how adb works but it's been a while so I think I dont remember it... I havent tried to root again cuz im to lazy for that
RQ7 said:
I downloaded the tool but it wont open.. I tried on my Mac and XP but it wont open.. Always gives an error
Click to expand...
Click to collapse
RQ7 said:
I know how adb works but it's been a while so I think I dont remember it... I havent tried to root again cuz im to lazy for that
Click to expand...
Click to collapse
Ok. Boot your device into fastboot. Then do:
Code:
fastboot flash recovery recovery.img
If you are using this exact command, make sure you rename the recovery to "recovery.img".
i'm_ever_dreaming said:
You must go into fastboot, connect your phone to the computer and open terminal, write
fastboot flash recovery (here you must write the name of the image(recovery-clockwork-5.0.2.0-legend.img, that must be on the computer in the same folder as fastboot[where you installed android sdk)
Click to expand...
Click to collapse
This is the same...
i'm_ever_dreaming said:
This is the same...
Click to expand...
Click to collapse
You said "bootloader" but he needs to boot into "fastboot".
i'm_ever_dreaming said:
This is the same...
Click to expand...
Click to collapse
Theonew said:
You said "bootloader" but he needs to boot into "fastboot".
Click to expand...
Click to collapse
Hi again and thnak you for helping me out. I have one little problem left then its all solved... when im in terminal, it says " error: cannot load "recovery.img" .. what am i supposed to do
fastboot flash recovery recovery-clockwork-5.0.2.0-legend.img
Click to expand...
Click to collapse
You must write "the name of the image.img" instead of recovery.img
Or you have to rename it.

[HELP] Flashed a rom, now its stuck in "initiating swagger"

My phone is rooted with the help of hasoons2000 toolkit, and it was done succesfully, but this morning, when i tried to flash a rom (cm 10.1) its now stuck on "initiating swagger" and i simply cant get past that
Need some help, ive rooted the right version of cwm recovery, cleared my download cache before the flash, and backed up my previously rom (stock)
What do i do!!?
Eddie5850 said:
My phone is rooted with the help of hasoons2000 toolkit, and it was done succesfully, but this morning, when i tried to flash a rom (cm 10.1) its now stuck on "initiating swagger" and i simply cant get past that
Need some help, ive rooted the right version of cwm recovery, cleared my download cache before the flash, and backed up my previously rom (stock)
What do i do!!?
Click to expand...
Click to collapse
Did you flash the boot.img?
gattzzz said:
Did you flash the boot.img?
Click to expand...
Click to collapse
No, i flashed the zip
I have acces to the bootloader menu now by the way
I'm pretty sure i need a RUU for my device now, but I don't know how to do that at the moment.
You have to go back to Fastboot, get the boot img, place it in your fastbood folder and navigate to ist.
then do the following
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
Then Reboot the device and it should be Start.
Cold Ice said:
You have to go back to Fastboot, get the boot img, place it in your fastbood folder and navigate to ist.
then do the following
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
Then Reboot the device and it should be Start.
Click to expand...
Click to collapse
How do i access the boot.img, when the file is in a zip? when i press it, it starts the rom, and gets stuck on "initiating swagger"
1. Download the ROM on to your PC.
2. Transfer a copy of the ROM Zip file to the phone.
3. On the PC, extract the ROM Zip file.
4. Open the extracted folder.
5. You will find the boot.IMG in the extracted folder. Using a toolkit or a command line, write the boot image to the phone while it is in bootloader mode.
6. Flash the ROM.
7. Flash any additional packages.
8. Reboot.
Edit: For adb sideload:
Follow steps 1, 3, 4, and 5, then sideload, then reboot
Sent from my One X+ using xda premium
Eddie5850 said:
How do i access the boot.img, when the file is in a zip? when i press it, it starts the rom, and gets stuck on "initiating swagger"
Click to expand...
Click to collapse
Open the .zip with 7zip or winrar and extract the boot.img or look in the rom thread if there is a downloadable boot.img, there's also a boot.img flasher around here in a toolkit. Don't know which one it is, didn't rooted/Unlocked yet.
Which ROM did you download?
The boot.img is either pointed out in the first post of the Custom ROM or it is in the download .zip
You need to copy the boot.img you find in the ADB/fastboot folder, then boot the X+ into the bootloader, select the fastboot option with the vol+/- and then connect the X+ with your computer.
I am not familiar with the all-in-one-toolkit but if I remember correctly you can flash it within the program.
The Insert Coin ROM and others have a kernel flasher. But I never used one of those either.
Look around a bit. Once the appropriate boot.img of the ROM you want has been flashed the ROMM will boot up.
sarcasticphoenix said:
1. Download the ROM on to your PC.
2. Transfer a copy of the ROM Zip file to the phone.
3. On the PC, extract the ROM Zip file.
4. Open the extracted folder.
5. You will find the boot.IMG in the extracted folder. Using a toolkit or a command line, write the boot image to the phone while it is in bootloader mode.
6. Flash the ROM.
7. Flash any additional packages.
8. Reboot.
Edit: For adb sideload:
Follow steps 1, 3, 4, and 5, then sideload, then reboot
Sent from my One X+ using xda premium
Click to expand...
Click to collapse
All right, since I have no access to the usb debugging, i tried to sideload the rom (Cm 10.1 4.2.2), but when i use the toolkit with the script cmd
It says this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Tried it again, and it says this:
Sorry if i am a complete noob here
Eddie5850 said:
All right, since I have no access to the usb debugging, i tried to sideload the rom (Cm 10.1 4.2.2), but when i use the toolkit with the script cmd
It says this:
Tried it again, and it says this:
Sorry if i am a complete noob here
Click to expand...
Click to collapse
adb kill server
fastboot flash boot boot.img
done. Quite honestly you should read up before flashing rom's ALL the info is in this forum.
Sorry if I'm thread jacking, but is there a way to flash a kernel from in the phone itself? my PC took a dump, it'll be a few weeks till i can afford to replace it.
Great news everyone!
I saved my phone, and its now working like stock normal
The problem was that i flashed an entire zip file instead of a boot.img file, causing my phone to bootloop, after countless tries to fix this, I decided to unroot the phone with fastboot, recovery and a RUU file.
My phone is now working, thanks for helping!
Until we get S-OFF, we can't flash kernels from the phone itself.
Sent from my One X+ using xda premium
So, sorry if i'm thread bumping, but if I want to give it a try again at flashing a rom, and try avoiding what happen last time
Are these the following step correct?
Do a backup of current rom in cwm recovery
Wipe data/factory reset 3 times in cwm recovery
Wipe cache partition in cwm recovery
Wipe dalvik cache cwm recovery
Flash the zip containing the cm10.1 zip
And can I do all this without the need of installing rom manager?
Don't forget that you need to flash the kernel separately. Because we don't have S-OFF on our device, we have to flash the kernel from a PC.
1. Extract boot.img (this is the kernel) from the ROM zip file
2. Open a cmd prompt and cd to the directory containing the extracted boot.img
3. Connect your device and reboot it to the bootloader with the command:
adb reboot bootloader
4. Flash the kernel with the commands:
fastboot flash boot boot.img
fastboot erase cache
5. Reboot your device with:
fastboot reboot
You can do these steps before or after flashing the ROM but remember that you should have the android SDK platform-tools folder in your PATH before it'll work (assuming you use windows).
Sent from my cellular telephone using xda premium
o_O said:
Don't forget that you need to flash the kernel separately. Because we don't have S-OFF on our device, we have to flash the kernel from a PC.
1. Extract boot.img (this is the kernel) from the ROM zip file
2. Open a cmd prompt and cd to the directory containing the extracted boot.img
3. Connect your device and reboot it to the bootloader with the command:
adb reboot bootloader
4. Flash the kernel with the commands:
fastboot flash boot boot.img
fastboot erase cache
5. Reboot your device with:
fastboot reboot
You can do these steps before or after flashing the ROM but remember that you should have the android SDK platform-tools folder in your PATH before it'll work (assuming you use windows).
Sent from my cellular telephone using xda premium
Click to expand...
Click to collapse
Can't I just use the toolkit for my hox+? Hasoon2000 says you can just flash a kernel? I could be wrong though.
I believe you can, and that the way I described above is actually the way Hassoon's toolkit does the job. Just make sure the boot image is named correctly for the toolkit to pick it up, and make sure you put it in the correct folder (from memory, it's the "kernels" folder).
I use Linux, so Windows users feel free to correct me if I made any mistakes.
Sent from my cellular telephone using xda premium

[Q] I've screwed myself. (Evo 4G LTE)

First off, I don't know if this is the perfect place for this thread so I apologize in advance.
I have a HTC Evo 4G LTE and I accidentally wiped everything with TWRP. It can boot to the bootloader/fastboot menus and TWRP no problem, but I can't install anything. Maybe i'm just doing everything in the wrong order. Both the SD card and the Internal SD cards have been formatted to what they're supposed to be (caused me a bit of trouble at first). My phone is set to S-On, which is a pain in the ass, because from what I understand I can't turn it off to flash a new ROM without an OS, which I don't have. Every time I attempt to install the stock ROM for my device the phone restarts when attempting to install the kernel, included in the ROM. I borrowed my friend's identical phone, rooted it and installed TWRP, created a backup, moved the backup to my phone's ext SD card and attempted to recover off of that but my TWRP can't find any of the files, but they show up just fine with the file explorer.
I've properly srewed myself. Any advice?
windowpuncher said:
First off, I don't know if this is the perfect place for this thread so I apologize in advance.
I have a HTC Evo 4G LTE and I accidentally wiped everything with TWRP. It can boot to the bootloader/fastboot menus and TWRP no problem, but I can't install anything. Maybe i'm just doing everything in the wrong order. Both the SD card and the Internal SD cards have been formatted to what they're supposed to be (caused me a bit of trouble at first). My phone is set to S-On, which is a pain in the ass, because from what I understand I can't turn it off to flash a new ROM without an OS, which I don't have. Every time I attempt to install the stock ROM for my device the phone restarts when attempting to install the kernel, included in the ROM. I borrowed my friend's identical phone, rooted it and installed TWRP, created a backup, moved the backup to my phone's ext SD card and attempted to recover off of that but my TWRP can't find any of the files, but they show up just fine with the file explorer.
I've properly srewed myself. Any advice?
Click to expand...
Click to collapse
Since you are s-on you need to flash the rom twice.
BD619 said:
Since you are s-on you need to flash the rom twice.
Click to expand...
Click to collapse
I am new to ROM flashing, I just kind of got thrown into it, lol. Please elaborate? I'm assuming flashing is installing the rom with TWRP. I flash the rom, wipe cache/dalvik, then flash again? I'll try it then post results in a minute.
Result: Doesn't work, when it says "installing Kernel, please wait...", it stays on that message for a minute or so then the phone attempts to reboot into a nonexistant OS, effectively stopping itself so I have to restart into TWRP again with no progress made.
I think you want to let it reboot in between the two flashes. I have no idea why it makes a difference, but it does.
Sent from my EVO LTE using XDA Premium 4 mobile app
Read this:
http://forum.xda-developers.com/showthread.php?t=2443108
Some Sense ROM's include a kernel installer to help facilitate flashing while S-on. You'll need to check the ROM OP and see. Otherwise the kernel can be flashed via fastboot. For more info hit the top link in my sig.
Sent from my HTC device
fizbanrapper said:
I think you want to let it reboot in between the two flashes. I have no idea why it makes a difference, but it does.
Sent from my EVO LTE using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It can't. It reboots while attempting to install the kernel then freezes because there's no OS to boot to.
Try flashing the kernel first. Extract the boot.img file from the ROM zip archive using your computer. Then, with the phone connected to the PC via USB, boot into the bootloader and go to fastboot. It should change to "fastboot USB". Then use the fastboot tool from a command prompt to verify connectivity and flash the kernel.
To verify connectivity, type fastboot devices. You should see your device's serial number of its connected properly.
To flash the kernel, type fastboot flash boot boot.img. If the boot.img file and fastboot executable are in different directories, you'll need to include the path to the file. Or just put them in the same directory.
Once you've flashed the kernel, try flashing the ROM through recovery again.
Sent from my EVO using Tapatalk
CornDogg said:
Try flashing the kernel first. Extract the boot.img file from the ROM zip archive using your computer. Then, with the phone connected to the PC via USB, boot into the bootloader and go to fastboot. It should change to "fastboot USB". Then use the fastboot tool from a command prompt to verify connectivity and flash the kernel.
To verify connectivity, type fastboot devices. You should see your device's serial number of its connected properly.
To flash the kernel, type fastboot flash boot boot.img. If the boot.img file and fastboot executable are in different directories, you'll need to include the path to the file. Or just put them in the same directory.
Once you've flashed the kernel, try flashing the ROM through recovery again.
Sent from my EVO using Tapatalk
Click to expand...
Click to collapse
Doesn't work. I can plug my phone in all I want but it will never change to fastboot usb. It stays in fastboot just fine and I can still boot TWRP, but there's no fastboot usb. I've reinstalled drivers and tried 32 bit LiveCD ubuntu. I may need to install firmware on this stupid phone.
From the main bootloader screen, you're pressing the power button on fastboot to go into fastboot, right? And from there you can never get it to go to fastboot USB?
Sent from my EVO using Tapatalk
If you're on the old partition layout have you followed my guide that I posted previously and tried to install MeanBean ROM?
Sent from my HTC device
CornDogg said:
From the main bootloader screen, you're pressing the power button on fastboot to go into fastboot, right? And from there you can never get it to go to fastboot USB?
Sent from my EVO using Tapatalk
Click to expand...
Click to collapse
Yes, that was the case.
HOWEVER, I screwed up again. I reinstalled Ubunto on my laptop and now fastboot usb works just fine.
Sometimes it hurts to live. Now I just need to find out how to flash with fastboot on ubuntu.
windowpuncher said:
Yes, that was the case.
HOWEVER, I screwed up again. I reinstalled Ubunto on my laptop and now fastboot usb works just fine.
Sometimes it hurts to live. Now I just need to find out how to flash with fastboot on ubuntu.
Click to expand...
Click to collapse
Progress.
To get the fastboot binaries on Ubuntu, you can either download and install the Android SDK and install the platform tools or go download DirtyRacun from unlimited.io. The binaries are included in the .tar archive. You may need to use the chmod command on the fastboot and adb binaries to add permissions to execute the binaries.
Once you have the binaries executable, the commands are the same, except you'll have to elevate with sudo. So, assuming you're working in the directory where you have the fastboot executable and the boot.img file, the commands would be:
sudo ./fastboot devices
sudo ./fastboot flash boot boot.img
CornDogg said:
Progress.
To get the fastboot binaries on Ubuntu, you can either download and install the Android SDK and install the platform tools or go download DirtyRacun from unlimited.io. The binaries are included in the .tar archive. You may need to use the chmod command on the fastboot and adb binaries to add permissions to execute the binaries.
Once you have the binaries executable, the commands are the same, except you'll have to elevate with sudo. So, assuming you're working in the directory where you have the fastboot executable and the boot.img file, the commands would be:
sudo ./fastboot devices
sudo ./fastboot flash boot boot.img
Click to expand...
Click to collapse
fter I
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is what happens. My phone just sits there, the screen doesn't change, but it does say Fastboot USB. I restarted my phone but it got stuck at the dev boot screen with legal warnings in red text.
Addition: Booted to recovery to flash the ROM zip, not just the boot image, still restarts when attempting to install the Kernel.
The screen on your phone won't change when flashing the kernel with fastboot. After flashing it, press the power button on Fastboot to go back to the main bootloader screen and go to recovery to get into TWRP. From there, flash the .zip of the ROM that you pulled boot.img from like you normally would from TWRP (Install, select .zip, wipe cache/data, etc).
CornDogg said:
The screen on your phone won't change when flashing the kernel with fastboot. After flashing it, press the power button on Fastboot to go back to the main bootloader screen and go to recovery to get into TWRP. From there, flash the .zip of the ROM that you pulled boot.img from like you normally would from TWRP (Install, select .zip, wipe cache/data, etc).
Click to expand...
Click to collapse
I just did this, and the phone gets stuck at the dev boot screen that says HTC with the red legal text.
Have you tried a different ROM? Maybe try CM or Viper 4G. If you go the Viper 4G route, try this one: http://forum.xda-developers.com/showthread.php?t=2124391
I think the newest Viper 4G changes the partition layout or something, so I think that would just further complicate things at the moment.
CornDogg said:
Have you tried a different ROM? Maybe try CM or Viper 4G. If you go the Viper 4G route, try this one: http://forum.xda-developers.com/showthread.php?t=2124391
I think the newest Viper 4G changes the partition layout or something, so I think that would just further complicate things at the moment.
Click to expand...
Click to collapse
Yeah, I think I'll try cyanogenmod or stock android. Thank you for the suggestion, now i'll go see if it works.
No problem. If you decide to go the CM route, deck's CM11 is pretty great.
http://forum.xda-developers.com/showthread.php?t=2518211
Good luck!
CornDogg said:
No problem. If you decide to go the CM route, deck's CM11 is pretty great.
http://forum.xda-developers.com/showthread.php?t=2518211
Good luck!
Click to expand...
Click to collapse
I went on with installing DirtyRacun (http://unlimited.io/jewel.htm) and made it to step 12. As my phone ws rebooting it once again got stuck at that HTC red text dev warning screen. So now i'm stuck again.
windowpuncher said:
I went on with installing DirtyRacun (http://unlimited.io/jewel.htm) and made it to step 12. As my phone ws rebooting it once again got stuck at that HTC red text dev warning screen. So now i'm stuck again.
Click to expand...
Click to collapse
I didn't use DirtyRacun to S-OFF (I used RumRunner), so I can't speak on this with much authority. Just to confirm I understand correctly, though, you flashed the RUU (step 9), rebooted into the bootloader (step 10), and re-did the HTC Dev Unlock (step 11). Then, as it's booting up into the ROM installed via the RUU, it gets stuck?
Were you able to get anywhere with flashing Cyanogenmod? Or did you just decide to go through the S-OFF process instead?

[TUTORIAL] How to flash a factory image | Return to stock | Unroot/SAVE your Nexus 6P

How to flash a factory image | Return to stock | Unroot your Nexus 6P​
Hello Nexus 6P Users!
This tutorial will show you how to reset/unroot/save your Nexus 6P by flashing the Google Factory Images. ​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WARNING!!!
This process will wipe your phone completely. Backup your storage before you continue.
I am also not responsible if anything goes wrong.
FOLLOW EVERY SINGLE STEP
or you will end up in a bootloop, or with a bricked phone, and we don't want that
Let's get started!!
Setting up​
For this process, you will need to:
★Install adb and fastboot drivers. To do this, use this simple program:
http://forum.xda-developers.com/showthread.php?t=2588979
For MAC and Linux users: simply follow these instructions:
http://forum.xda-developers.com/showthread.php?t=2638673
Off-topic: installing ADB and Fastboot so easily, what a time to be alive!
★Download the latest factory images from here:
https://developers.google.com/android/nexus/images#angler
★Extract the archive you downloaded (Use WinRAR). It should look like this:
★Unlock your bootloader (In case you haven't already). Only follow step 1 from this thread:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Flashing the factory images​
There is more than one way to flash these images. Each give the same results, but the first is for lazy (or smart) users
Method 1. Easy method.
★Power off your phone.
★Boot it in fastboot by pressing and holding Power Button + Volume Down at the same time.
★Connect your phone to your PC through your USB cable.
★Execute the flash-all.bat script (for Windows) or flash-all.sh(for MAC and LINUX) in the folder where you extracted the factory images.
**!!** For MAC: You'll have to edit the flash-all.sh, and add "./" before every fastboot command.
★Wait for everything to flash.
★After everything finished, select "Recovery" using the volume buttons.
★When a small dead Android appears, press Power Button + Volume UP.
★Select "Wipe data/factory data reset"
★Reboot. Your phone should be stock. :good:
Method 2. Long method (Same thing actually, but I'll mention it, just in case first one does not work)
★Extract the image-angler-xxxxxx.zip from the previously extracted folder somewhere easy to access (On C:\images for example. Make it easy to type). You will have the following files:
★In the new folder, from the original archive/folder, extract "bootloader-angler-angler-XX.XX.img" (rename it to bootloader.img) and "radio-angler-angler-XX.XX" (rename it to radio.img)
★Power off your phone.
★Boot it in fastboot by pressing and holding Power Button + Volume Down at the same time.
★Connect your phone to your PC through your USB cable.
★Open a CMD window.
★Type the following commands, in this order (If you have a different folder, change the path)
Code:
fastboot flash bootloader C:/images/bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:/images/radio.img
fastboot reboot-bootloader
fastboot flash system C:/images/system.img
fastboot flash vendor C:/images/vendor.img
fastboot flash userdata C:/images/userdata.img
(Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:/images/boot.img
fastboot flash recovery C:/images/recovery.img
fastboot erase cache
fastboot flash cache C:/images/cache.img
★After everything finished, select "Recovery" using the volume buttons.
★When a small Android appears, press Power Button + Volume UP.
★Select "Wipe data/factory data reset"
★Reboot. Your phone should be stock. :good:
And now you have a brand new Nexus 6P (software wise, at least). Congratulations!​​
Credits and Thanks:
@Mr hOaX
Got some fastboot command "updates" from you
@Heisenberg
Really cool root tutorial
​
err.... Heisenberg's already have a tutorial on how to return to stock... not sure why we need a duplicate posting..
#9 How To Flash The Factory Images (And Return To Stock)
abaaaabbbb63 said:
Credits and Thanks:
Mr hOaX
Got some fastboot command "updates" from you
Heisenberg
Really cool root tutorial
Click to expand...
Click to collapse
Nice to see you here bro
Good job
This guy's tutorial will really save your nexus for sure
gd6noob said:
err.... Heisenberg's already have a tutorial on how to return to stock... not sure why we need a duplicate posting..
#9 How To Flash The Factory Images (And Return To Stock)
Click to expand...
Click to collapse
I thought that a separate thread would raise its visibility and would be easier to spot for users that do not know their way around XDA that well.
abaaaabbbb63 said:
I thought that a separate thread would raise its visibility and would be easier to spot for users that do not know their way around XDA that well.
Click to expand...
Click to collapse
Followed the instructions and im getting an error cant find the files
joeyac02 said:
Followed the instructions and im getting an error cant find the files
Click to expand...
Click to collapse
Can you describe what exactly did you do?
At which point did you encounter the error?
When I download the images it doesn't contains Angler-bootloader and Radio.img. It only contains one file with the boot.img, etc... I tried downloading all the 6.0.0 link and it's all the same . I don't understand.
Thank you for the post. Hope I don't need to use it tho. :good:
I cannot make phone calls through the phone app?
I followed directions step by step but every time I get to the dead android guy and hold vol up + pow. I do not get the "stock" recovery where I could choose to data/factory reset, I just get the little dead android guy again.
Any help?
Nice guide
Sent from my Nexus 6P using Tapatalk
From Heisenberg post says that
Note: You should never flash the userdata image. It doesn't take into consideration the storage capacity of the device and always allocates 32gb of storage. This is ok for the 32gb model, but for the 64gb and 128gb models you'll end up with much less storage capacity than you should have.
Click to expand...
Click to collapse
And I have 64gb of storage. should I wipe or flash?
cediedc said:
From Heisenberg post says that
And I have 64gb of storage. should I wipe or flash?
Click to expand...
Click to collapse
You can do both. Just in case, your storage spaces shows reductions after flashing (Like my 64GB variant shows 32 GB), you can fix it by wiping data from stock recovery.
If you're not willing to remove the data on your internal storage, you can skip flashing userdata.img.
tried to go back to stock but stuck on google logo..what to do?
jordy787 said:
tried to go back to stock but stuck on google logo..what to do?
Click to expand...
Click to collapse
Did you flash the the correct vendor.img, corresponding to your factory image?
DJBhardwaj said:
Did you flash the the correct vendor.img, corresponding to your factory image?
Click to expand...
Click to collapse
nope just the factory image from google..can you send me the link to the vendor img for latest stock build? and do i fastboot flash it? thanks
jordy787 said:
nope just the factory image from google..can you send me the link to the vendor img for latest stock build? and do i fastboot flash it? thanks
Click to expand...
Click to collapse
Vendor.img is already included in the factory image. If you used flash-all.bat script, it must have been flashed. What commands did you precisely use to flash the factory image?
cediedc said:
From Heisenberg post says that
And I have 64gb of storage. should I wipe or flash?
Click to expand...
Click to collapse
Don't ever flash it. It has no benefit and only causes problems. If you need to wipe your storage use this command:
Code:
fastboot format userdata
jordy787 said:
tried to go back to stock but stuck on google logo..what to do?
Click to expand...
Click to collapse
Did you wipe data with TWRP first? That's probably what's causing your problems. Vendor most likely has nothing to do with it.
Heisenberg said:
Did you wipe data with TWRP first? That's probably what's causing your problems. Vendor most likely has nothing to do with it.
Click to expand...
Click to collapse
I used the wug tool kit and it worked

Question TWRP Installation gets overwritten

Hello,
I'm trying to get a (permanent) TWRP installation on my OnePlus Nord 2. But after flashing the (latest official) TWRP image via fastboot to recovery I can enter it once if I press Power+VolDown directly during the reboot to recovery. But after the next reboot Power+VolDown starts the fastboot mode, Power+VolUp just boots the normal system and trying "adb reboot recovery" brings me to the standard recovery mode. For me it looks like the twrp image gets overwritten with the next reboot (something I found happens if you don't press Vol+PowerDown on your first restart after the installation but I did that [multiple tries]).
And when I try to directly boot the twrp image (without flashing it) it manages to send the file but fails on booting with "FAILED (Status read failed (No such device)). Same if I try with sudo.
Does anyone know what I am doing wrong or if it's a known bug I simply didn't find anything about?
Sincerely,
Sanaway
Hi, IIRC, right after flashing you have to boot into recovery using fastboot reboot recovery
Don't use the button combination, do it from the command line for the first boot (this should solve it if my memory serves me right)
Op_Flashpoint said:
Hi, IIRC, right after flashing you have to boot into recovery using fastboot reboot recovery
Don't use the button combination, do it from the command line for the first boot (this should solve it if my memory serves me right)
Click to expand...
Click to collapse
It works for the first boot (and if I reboot to recovery from TWRP again, even mutiply times) but as soon as I power off once and reboot normally it is gone again.
Sanaway said:
It works for the first boot (and if I reboot to recovery from TWRP again, even mutiply times) but as soon as I power off once and reboot normally it is gone again.
Click to expand...
Click to collapse
What exactly are you doing?
What you need to do is
1. Boot to fastboot
2. flash recovery fastboot flash recovery <recovery.img>
3. Once flashed, reboot to recovery, not system fastboot reboot recovery or fastboot boot <recovery.img>
I had this issue and if I boot to recovery it did not get overwritten
Op_Flashpoint said:
What exactly are you doing?
What you need to do is
1. Boot to fastboot
2. flash recovery fastboot flash recovery <recovery.img>
3. Once flashed, reboot to recovery, not system fastboot reboot recovery
I had this issue and if I boot to recovery it did not get overwritten
Click to expand...
Click to collapse
I did exactly that.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And it works so far that I can access TWRP once. But as soon as I power down from TWRP it's gone.
Sanaway said:
I did exactly that.
View attachment 5640407
And it works so far that I can access TWRP once. But as soon as I power down from TWRP it's gone.
Click to expand...
Click to collapse
Strange, maybe after flashing try fastboot boot twrp.img ?
Op_Flashpoint said:
Strange, maybe after flashing try fastboot boot twrp.img ?
Click to expand...
Click to collapse
Sanaway said:
I did exactly that.
View attachment 5640407
And it works so far that I can access TWRP once. But as soon as I power down from TWRP it's gone.
Click to expand...
Click to collapse
Found this in another thread, maybe try this as well
For that when we reboot after typing
fastboot reboot recovery
Immediately press volume down+ power button till you saw the recovery name at the bottom om the phone screen and leave the phone it will boots to twrp that's it.
Already tried both. In the end if it doesn't work I'll just reflash it every time I need it. Annoying but nothing impossible.
Sanaway said:
Already tried both. In the end if it doesn't work I'll just reflash it every time I need it. Annoying but nothing impossible.
Click to expand...
Click to collapse
HI. I think you need to flash Magisk or what ever root you want to use at first boot to TWRP.
It makes TWRP to stick
jis251 said:
HI. I think you need to flash Magisk or what ever root you want to use at first boot to TWRP.
It makes TWRP to stick
Click to expand...
Click to collapse
After I rooted the phone TWRP sticks but I can't start it by key combination. But that shouldn't be too much of a problem.
Sanaway said:
After I rooted the phone TWRP sticks but I can't start it by key combination. But that shouldn't be too much of a problem.
Click to expand...
Click to collapse
OK. I hope you know that Nord 2 doesn't like to be rooted. It will be soft bricked max 2 weeks or so ( usually) so make good backup (TWRP backup is hard to restore if at all). So be prepared and learn how to recover.
As long as you root a CLEAN ROM (I've explained multiple times in various threats what that is - stock rom (re)installed by OP, than rebooted to stock recovery, whipe, re-flash stock by OP servicepoint) and rooting will be damn fine. Mine runs for 3 months stable as hell. But. If you do not do as above, the question is not IF you are getting troubles but WHEN.

Categories

Resources