HTC One X won't boot - HTC One X

I am relatively new to the android rooting scene and have installed a file from zip using clockwork recovery to remove the 3 dot menu from applications but afterward my phone now doesn't boot, its just stuck at the HTC ONE screen i have tried factory reset from clockwork and it didn't work. i am wiling to do anything even if everything is erased and if it could be mac friendly even better but anything is fine

benny_w95 said:
I am relatively new to the android rooting scene and have installed a file from zip using clockwork recovery to remove the 3 dot menu from applications but afterward my phone now doesn't boot, its just stuck at the HTC ONE screen i have tried factory reset from clockwork and it didn't work. i am wiling to do anything even if everything is erased and if it could be mac friendly even better but anything is fine
Click to expand...
Click to collapse
I guess you are on a stock rooted rom?
Seems the version provided in the thread was incompatible with the stock rom version your are currently on:
A few solutions:
1. Search a custom rom in the development threads and flash it, choose an ICS rom though if its a sense rom..flashing a jellybean rom is a bit more advanced and isnt suggested for beginners.
2. If you know which stock rom your are using (1.28, 1.29 or 2.17) you can search for a corresponding rom and push/flash just the android.policy.jar from it back to yoru device - thats the file taht got overwritten when you flashed the 3dot removal zip.
3. If you got a nandroid backup, just revert to your backup in recovery.
...there are a few other solutions, which requires relocking your bootloader etc.
IF your are already rooted I would suggest to flash a custom rom, this is the easiest way to get your oen x back to live and running a custom rom can bring a lot of advantages: better battery life, smoother UI and a lot of stuff that enhances the user experience on the One X.
Cheers, Jan

Restore a nandroid from before you flashed the mod. Or find your relevant ruu, relock your bootloader and run the ruu from your pc
sent from my One X using xda venom premium

j4n87 said:
I guess you are on a stock rooted rom?
Seems the version provided in the thread was incompatible with the stock rom version your are currently on:
A few solutions:
1. Search a custom rom in the development threads and flash it, choose an ICS rom though if its a sense rom..flashing a jellybean rom is a bit more advanced and isnt suggested for beginners.
2. If you know which stock rom your are using (1.28, 1.29 or 2.17) you can search for a corresponding rom and push/flash just the android.policy.jar from it back to yoru device - thats the file taht got overwritten when you flashed the 3dot removal zip.
3. If you got a nandroid backup, just revert to your backup in recovery.
...there are a few other solutions, which requires relocking your bootloader etc.
IF your are already rooted I would suggest to flash a custom rom, this is the easiest way to get your oen x back to live and running a custom rom can bring a lot of advantages: better battery life, smoother UI and a lot of stuff that enhances the user experience on the One X.
Cheers, Jan
Click to expand...
Click to collapse
thanks so much for the great response what would be the best custom rom to install for just a better htc sense UI rom and what would be the best way to do it
EDIT!!!EDIT!!!EDIT!!!EDIT!!!EDIT!!!EDIT!!!EDIT!!!
So i know that i have 1.29 so how would i go about flashing the android.policy.jar could i just download the 3dotremover fix

Flashing a new rom
So how would i go about flashing a CM9 ICS rom to my htc considering that i can't access the sd card as it wont boot

benny_w95 said:
So how would i go about flashing a CM9 ICS rom to my htc considering that i can't access the sd card as it wont boot
Click to expand...
Click to collapse
Accessing sd card even if device does not boot is still possible, using adb in recovery mode.
If You have cwm recovery flashed, just boot into recovery, if you dont flash revocery and boot into it.
If You are unable to flash recovery do direct boot into recovery as follows:
You need fastboot binaries and recovery image
1. reboot device into fastboot
2. open command window ( cmd, bash, whatever )
3. use this command "fastboot.exe boot recovery.img" where recovery.img is filename for recovery image
4. You device should be now in recovery mode.
Now, for the magic
You need adb binaries.
1. open command window
2. type "adb devices" this should show device id confirming adb's ability to communicate with device
3. using recovery on the phone mount sdcard
assuming You use clockworkmod recovery:
3.1. select "mounts and storage"
3.2. select "mount /sdcard", if successfull, this entry will change into "umount /scard", dont select it again, leave Your phone on the desk and proceed
4. to copy files to device sdcard, use command window You opened previously,
5. type "adb push FILE_NAME.ZIP /sdcard/FILE_NAME.ZIP" where filename is rom zip or any other file You want to copy.
6. depending on file size, this may take some time, and it will seem line nothing is happening, just let it run for couple of minutes.
7. go back to You device.
8. select "umount /sdcard"
9. select "+++Go Back+++"
10. flash you rom from copied file if You need.

staviq said:
Accessing sd card even if device does not boot is still possible, using adb in recovery mode.
If You have cwm recovery flashed, just boot into recovery, if you dont flash revocery and boot into it.
If You are unable to flash recovery do direct boot into recovery as follows:
You need fastboot binaries and recovery image
1. reboot device into fastboot
2. open command window ( cmd, bash, whatever )
3. use this command "fastboot.exe boot recovery.img" where recovery.img is filename for recovery image
4. You device should be now in recovery mode.
Now, for the magic
You need adb binaries.
1. open command window
2. type "adb devices" this should show device id confirming adb's ability to communicate with device
3. using recovery on the phone mount sdcard
assuming You use clockworkmod recovery:
3.1. select "mounts and storage"
3.2. select "mount /sdcard", if successfull, this entry will change into "umount /scard", dont select it again, leave Your phone on the desk and proceed
4. to copy files to device sdcard, use command window You opened previously,
5. type "adb push FILE_NAME.ZIP /sdcard/FILE_NAME.ZIP" where filename is rom zip or any other file You want to copy.
6. depending on file size, this may take some time, and it will seem line nothing is happening, just let it run for couple of minutes.
7. go back to You device.
8. select "umount /sdcard"
9. select "+++Go Back+++"
10. flash you rom from copied file if You need.
Click to expand...
Click to collapse
Thanks so much i have spent hours on end searching the web for a fix originally it said that i couldn't mount the sd card but i tried anyway and it worked but thanks a lot

help
staviq said:
Accessing sd card even if device does not boot is still possible, using adb in recovery mode.
If You have cwm recovery flashed, just boot into recovery, if you dont flash revocery and boot into it.
If You are unable to flash recovery do direct boot into recovery as follows:
You need fastboot binaries and recovery image
1. reboot device into fastboot
2. open command window ( cmd, bash, whatever )
3. use this command "fastboot.exe boot recovery.img" where recovery.img is filename for recovery image
4. You device should be now in recovery mode.
Now, for the magic
You need adb binaries.
1. open command window
2. type "adb devices" this should show device id confirming adb's ability to communicate with device
3. using recovery on the phone mount sdcard
assuming You use clockworkmod recovery:
3.1. select "mounts and storage"
3.2. select "mount /sdcard", if successfull, this entry will change into "umount /scard", dont select it again, leave Your phone on the desk and proceed
4. to copy files to device sdcard, use command window You opened previously,
5. type "adb push FILE_NAME.ZIP /sdcard/FILE_NAME.ZIP" where filename is rom zip or any other file You want to copy.
6. depending on file size, this may take some time, and it will seem line nothing is happening, just let it run for couple of minutes.
7. go back to You device.
8. select "umount /sdcard"
9. select "+++Go Back+++"
10. flash you rom from copied file if You need.
Click to expand...
Click to collapse
Hi there, I am trying to follow these instructions but when i type adb devices I dont get a device listed at all, please help as I flashed the boot.img right before I was about to install a new rom but the rom had errors and so the installation was aborted and now im stuck in an eternal boot loop.
please help!

ADB commands only work in recovery or when you're booted in Android (not possible in your case). What you need to do is put your phone in fastboot mode and get into recovery from there (plenty of info on how to do that available on these forums).
Once you're in recovery mode ADB devices list should show your device and then follow the rest of those instructions.
If you can't get into fastboot from your bootloop force phone off by holding power button for 5 second, then once off hold volume down only and phone should boot in fastboot
Paranoid Android Pro Nexus 7 on Tapatalk HD

Related

[GUIDE] Noob's Guide #6: I just HTC Unlocked, what now?

First thing you need to know is that no matter what happens, even if your phone is abducted by rabid kittens, I am not responsible for your actions. Second is that you just voided your warranty, no doubt about it. HTC has your serial number with record that you unlocked your bootloader. Thanks to JAS_21 for the idea for making this guide. So, the next things you are going to want to do are to flash clockworkmod recovery, and then su. Then you can flash a ROM. Let's start with clockworkmod.
You want to get the android-sdk working, which you can find a guide to here.. Then you want to go to this thread. Download the file attached to the post. Use winzip if you have windows or just click on it on mac to unzip the file. Plug your phone into your computer and select "charge only" mode. Copy the cwm img file to the tools folder of the android SDK. Now, it's time to open up ADB. Open up a command prompt on windows or a terminal window on Mac/Linux. Follow these commands.
Code:
cd [insert location of android-sdk here]/platform-tools
adb reboot bootloader
You should now see Fastboot USB on your phone. Open a new command or terminal window. Type the following:
Code:
cd [insert location of android-sdk here]/tools
fastboot flash recovery cwm-recovery-vivow.img
fastboot reboot
Congrats, you have now flashed clockworkmod recovery. Now, onto installing root access. Next, grab the su zip attached to the OP of this thread. Plug your phone into your computer and select "disk drive" mode. Copy the su zip file to the root of your sd card. Unmount your sd card and select "charge only" mode on your computer. Reboot into recovery. The easiest way is probably to open up a command window and type:
Code:
cd [insert location of android-sdk here]/platform-tools
adb reboot recovery
When your phone is in recovery, click "install zip from sd card," then "choose zip from sd card," then the su zip file. Hit the back button once. Then select reboot system now. When your phone reboots, download superuser from the market. Now you are ready to use root apps! If you want to flash a ROM, continue on.
Download the ROM of your choice. If you want to, use my guide for choosing a ROM found here. Download the ROM zip file. Plug your phone into your computer and select "disk drive" mode. Copy the rom zip file to the root of your sd card. Don't unmount your sd card yet.Next, make a copy and put it on your desktop. Use winzip on windows or just click on mac/linux to unzip the rom file. In the root of the ROM, you should see a boot.img file. Copy that to your tools folder of your android-sdk folder. Now, unmount your sd card and select "charge only" mode on your computer. Next, follow the following steps.
Before installing the ROM...
1. Download Titanium Backup from the market, allow superuser permissions, then click menu>batch>backup all user apps.
2. Make sure fastboot is off in settings>power.
3. Put the ROM zip on the root of your SD Card
4. Download SMS Backup and Restore, and backup your SMS.
5. Back up your contacts by checking "back up my data" or something like that under settings/privacy.
How to install the ROM...
1. Turn off phone, and hold power and volume down until you get a white screen that says Hboot.
2.Volume down/up is for scrolling; power is for selecting.
3. Scroll down and select RECOVERY.
4. Scroll down and selected BACKUP AND RESTORE.
5. Select BACKUP and wait for it to finish.
6. Hit the back button to go back to the main menu.
7. Scroll down and select WIPE DATA/FACTORY RESET.
8. Scroll down and select WIPE CACHE PARTITION.
9.Hit the back button to go back to the main menu.
10. Scroll down and select ADVANCED, then WIPE DALVIK CACHE.
11. Hit the back button to go back to the main menu.
12. Scroll down and select INSTALL ZIP FROM SD CARD, then CHOOSE ZIP FROM SD CARD, then whatever the ROM zip is.
13. Let it do its thing. This may take 5-10 minutes. DON'T PULL THE BATTERY.
Next, it is time to flash your boot image. Follow these commands.
Code:
cd [insert location of android-sdk here]/platform-tools
adb reboot bootloader
You should now see Fastboot USB on your phone. Open a new command or terminal window. Type the following:
Code:
cd [insert location of android-sdk here]/tools
fastboot flash boot boot.img
fastboot reboot
You are done with flashing the ROM now, congrats. To get your data back, follow the steps!
1. Run the initial setup. When you're setting up your google account, make sure the "keep data backed up" or whatever box is checked. This will make sure to restore your/keep your contacts backed up.
2. Redownload Titanium Backup. Hit menu/batch/restore missing apps with data.
3. Redownload SMS B+R. Restore your SMS.
4. Enjoy your new ROM!
I hope this guide clears things up for some people. If you have ideas or suggestions for this guide or others, feel free to comment. If I helped you, please hit the thanks button. I would really appreciate it!
Excellent guide!!!
i keep getting an error when trying to flash the recovery. when i type in fastboot flash recovery cwm-recovery-vivow.img it comes up saying cannot load cwm-recovery-vivow.img
also im s-on with hboot .98. could that be the problem?
reaper540 said:
i keep getting an error when trying to flash the recovery. when i type in fastboot flash recovery cwm-recovery-vivow.img it comes up saying cannot load cwm-recovery-vivow.img
also im s-on with hboot .98. could that be the problem?
Click to expand...
Click to collapse
Had the same issue but solved after looking over the instructions for doing this if you were downgrading. Instead of placing the image file on the root of your sd card, place it in the folder that contains fastboot in your android sdk. Do that and you will be able to flash it and continue with the instructions.
Oh wow. You guys are right. That's a typo. I'll fix that.
Sent from my ADR6350 using xda premium
Excellent post! Easy to follow, worked...what more could you ask for?
Yeh I thought that might have been the problem. But I ended up relocking the bootloader, downgraded using attn1s tool and after that it was all smooth sailing. Running mikrunny v1.01. But this is an excellent guide
Sent from my ADR6350 using XDA App
Excellent guide! Thanks!
Sent from my ADR6350 using XDA App
no boot.img?
When I try to flash the boot.img at the last step, it says error: Cannot load 'boot.img'. I tried to start the phone and it sticks as the htc splash screen ... any ideas?
Did you put it in the sdk tools folder?
just wondering...am i going to have to flash the su zip everytime i flash a new rom? Just flashed miui and when I superuser was not on the list of apps. I downloaded it, but have this feeling its not going to work until a flash su.zip
Nope, cuz most roms are already rooted.
I was having trouble getting my ADB to function correctly, so I went with the manual "update.zip" method to flash Clockwork. However, when HBOOT recognizes the PG32IMG.zip file, it just says its "Checking.." forever, and I don't know whether it's working or frozen up. How long is that part supposed to take? I'm so close!
Thanks for this post. Helpful and easy to follow!
frick frack and frick. Now my phone isn't recognized by my computer. Had zero issues with this before. I'm running the latest version of miui and cant get the phone recognized.
Noob question. Is it still possible to flash kernels on HTC sec unlock? Will the boot.img flash need to be done each time from now on? Great guide by the way.
Sent from my ADR6350 using XDA App
Every time you want to flash a Rom or kernel you need to flash the boot.img.
Sent from my ADR6350 using xda premium
Everytime I reboot the phone it gets stuck on the HTC logo. I have to rerun "flashboot boot boot.img" to get it to boot.
Please help.
ph1nn said:
Everytime I reboot the phone it gets stuck on the HTC logo. I have to rerun "flashboot boot boot.img" to get it to boot.
Please help.
Click to expand...
Click to collapse
That's an issue with the unlock I'm assuming.
Sent from my Mikrunny'd Superphone using Magic (TapaTalk)
It's unlocked via HTC's unlock tool.
Should i relock the phone, forget this guide, and use attn1's guide?
I already installed ClockworkMod 5.5 and CM7.2 nightlies, everything works unless i have to reboot then it loses the boot image. Any thoughts?
-----
edit: It was because of S-ON. I relocked my phone and used attn1's guide to bring the phone back to hboot 0.97 and then s-off. This guide is not useful it seems if you want to go AOSP.

[Q] Only boot into CWM recovery mode

My nexus is LTE version, and had stock 4.0.2. I unlocked the boot loader, and rooted successfully, using "Galaxy Nexus Root Toolkit v1.3". I can see that the boot loader is unlocked in FASTBOOT screen.
My computer recognizes both ADB mode and FASTBOOT mode.
Then I did "Temporary Flashing" of ClockworkMod 5.5.0.4 to "Boot" partition, and installed 4.0.4 successfully. And applied the new "su.zip" as well.
After doing this, I could see that the phone boots okay, and everything was perfect, including the root permission.
The problem starts from here.
Since it was temporary flashing of CWM, I wanted CWM to be permanent. So I first erased "/system/recovery-from-boot.p". And then used the toolkit again, but this time I selected "Permanent Flashing" of Clockwork Mod 5.5.0.4 to "Boot" partition.
Now, when I turn on the phone, it boots into CWM recovery(!). Furthermore, if I select "reboot system now", it reboots, but it boots into CWM recovery again(!). I can't get into Android anymore.
I don't know if it is a good thing or not, but when I'm in CWM recovery mode (when booted), my computer recognizes the phone as "ADB mode - recovery".
Oh, and when turning on the phone with VOLUP+VOLDOWN+POWER, it still shows FASTBOOT screen (and yes, the computer still recognizes it as FASTBOOT mode), but when I select "recovery", there's an Android with a red warning sign on it, and system halts. I should do a battery pull.
What should I do??? Help
PS1. I downloaded "mysid-icl53f-factory-blahblah.tgz" from google's depository and extracted "recovery.img". And used the toolkit to "Temp Flashing" to "Boot" partition, but it ends up in the android with the red warning.
If you're using Galaxy Nexus Toolkit v5.4 from mskip, you don't need to extract anything, just copy .tgz file into the appropriate folder and the toolkit will do the rest for you.
Try reflashing the stock image from google again (make sure you choose the one for CDMA version).
After that, use toolkit to flash CWM, and the touch version is fun.
highmoon said:
My nexus is LTE version, and had stock 4.0.2. I unlocked the boot loader, and rooted successfully, using "Galaxy Nexus Root Toolkit v1.3". I can see that the boot loader is unlocked in FASTBOOT screen.
My computer recognizes both ADB mode and FASTBOOT mode.
Then I did "Temporary Flashing" of ClockworkMod 5.5.0.4 to "Boot" partition, and installed 4.0.4 successfully. And applied the new "su.zip" as well.
After doing this, I could see that the phone boots okay, and everything was perfect, including the root permission.
The problem starts from here.
Since it was temporary flashing of CWM, I wanted CWM to be permanent. So I first erased "/system/recovery-from-boot.p". And then used the toolkit again, but this time I selected "Permanent Flashing" of Clockwork Mod 5.5.0.4 to "Boot" partition.
Now, when I turn on the phone, it boots into CWM recovery(!). Furthermore, if I select "reboot system now", it reboots, but it boots into CWM recovery again(!). I can't get into Android anymore.
I don't know if it is a good thing or not, but when I'm in CWM recovery mode (when booted), my computer recognizes the phone as "ADB mode - recovery".
Oh, and when turning on the phone with VOLUP+VOLDOWN+POWER, it still shows FASTBOOT screen (and yes, the computer still recognizes it as FASTBOOT mode), but when I select "recovery", there's an Android with a red warning sign on it, and system halts. I should do a battery pull.
What should I do??? Help
PS1. I downloaded "mysid-icl53f-factory-blahblah.tgz" from google's depository and extracted "recovery.img". And used the toolkit to "Temp Flashing" to "Boot" partition, but it ends up in the android with the red warning.
Click to expand...
Click to collapse
If you're using Windows. You can be saved at this point. The good thing is that your device is being recognized by ADB in recovery.
The toolkit installed the SDK onto your computer
Here is what you do to go save yourself
Download a Galaxy Nexus LTE ROM as well as the Gapps package for it. (AOKP as an example)
go to C:\Android-sdk-windows\platform-tools and put the ROM and Gapps in there
Now, with your phone plugged into computer and in recovery, open up a command prompt
In recovery, navigate to "Mounts and Storage" and be sure to select MOUNT DATA
type
cd c:\android-sdk-windows\platform-tools
adb push EXACTNAMEOFROM.ZIP /data/media
(depending on the file size, it will take about a minute or two)
adb push EXACTNAMEOFGAPPS.ZIP /data/media
adb reboot recovery
------
Okay, now that you have rebooted recovery , go to "install zip from sd card" and MAKE SURE you see the ROM and Gapps package, but DON'T flash them yet.
Go back,
Wipe data
Wipe Cache
Go to advanced and select Wipe Dalvik Cache (ignore the SD-EXT error that's normal)
Go to Mounts and Storage - and select Format System
Go back
Go to install zip from sd card, flash ROM, then slect install zip from sd card again and flash Gapps
REBOOT
Enjoy
Again...
Samsuck said:
Download a Galaxy Nexus LTE ROM as well as the Gapps package for it. (AOKP as an example)
Click to expand...
Click to collapse
I'm wondering, as heo_con184 said above, if I can flash the stock ROM? (instead of other ROMs)
Must it be other ROM to make it work?
Thanks in advance.
Up to you, you can also just flash stock images and start over.
My method should work too, and leave you with root
Your choice
highmoon said:
I'm wondering, as heo_con184 said above, if I can flash the stock ROM? (instead of other ROMs)
Must it be other ROM to make it work?
Thanks in advance.
Click to expand...
Click to collapse
You could do it either way.
Okay, I found a solution without wiping everything.
(Flashing a stock ROM image, or other ROMs would wipe your everything...)
But thanks people!
For those of you, who would encounter something like this (including me again), I'm leaving a note.
0) This problem happens because your Boot partition, overwritten by ClockworkMod recovery image, is no longer compatible with the rest 4.0.4 image. So you need not only "recovery.img", but also "boot.img". Unfortunately, boot.img is not there in the 4.0.4 ROM. But luckily, someone else extracted it.
1) Get the 4.0.4 stock image from here
(android.clients.google.com/packages/ota/verizon_prime/659e0a8f24b4.signed-mysid-IMM30B-from-ICL53F.659e0a8f.zip)
2) Extract "recovery.img" from the file above.
3) Get "boot.img" in here (aospdev.com/rhcp/dev/404boot_root.img)
4) Get into FASTBOOT mode
5) fastboot flash boot boot.img (if not renamed, "404boot_root.img" above)
6) fastboot flash recovery recovery.img
6) Enjoy

Can't flash Clockworkmod Recovery

Just rooted my phone for the first time, and it went pretty smoothly until I tried to flash ClockworkMod. Nothing happens whenever I try to flash it from ROM Manager. I get a progress bar at the top for a second, then it disappears, and nothing. I've uninstalled and reinstalled the app, and can't think of anything else to do.
how did you root? if you used the wiki method you should already have cwm-recovery...
push power & volume - to enter bootloader and then choose the recovery option
if this doesn´t work, post your hboot number... you have s-off? (reason: if you flashed the eng hboot while rooting you can flash the cwm-recovery through fastboot)
command: "fastboot flash recovery recovery.img"
Go into Terminal Emulator and type "su." If it asks you if you want it to have root permissions, you have root.
Posted from Spaceball One
I rooted following the wiki.
I'm trying to install roms through rom manager and when I hit download roms it says, "You must have ClockworkMod Recovery installed before continuing! Install the recovery through ROM Manager First"
Sorry, all of this still confuses me, this is my first time doing this. I don't know what Terminal Emulator is.
ok, i will try to help...
1. download a rom of your choice to pc
2. put it on your sdcard
3. enter recovery (turn the phone off, then press power & volume down - the bootloader will appear, choose the option recovery (volume up and down for moving and tp-wake to choose)
4. in recovery first wipe data & cache & dalvik cache
5. again in recovery choose install from sdcard and select your downloaded rom
6. reboot and have fun...
pls hit the thanks button
darkness280 said:
I rooted following the wiki.
I'm trying to install roms through rom manager and when I hit download roms it says, "You must have ClockworkMod Recovery installed before continuing! Install the recovery through ROM Manager First"
Sorry, all of this still confuses me, this is my first time doing this. I don't know what Terminal Emulator is.
Click to expand...
Click to collapse
The ROM manager and ClockwordMod you have after rooting following the wiki is a VERY old version. It will say you do not have Clockword even if you do have it.
Things to try:
1. Install ROM manager from the market.
2. Reboot into recovery (turn off the phone, then hold down volume and power until you see the HBOOT, choose recovery). If you're in ClockwordMod (which you should) then you're fine.
3. Flash a new recovery through ADB (which what you should definitely learn how to do)
3a. download the newest version of ClockwordMod, copy the img file to the same folder as adb
http://www.clockworkmod.com/rommanager
3b. go to settings, make sure that you're in USB Debugging Mode
3c. now, just to make sure you won't brick your phone, turn off the phone, hold down volume and power. If you see the FASTBOOT USB, you're good to go.
3d. open cmd in your computer
3e. type in "fastboot flash recovery recovery.img"
in which recovery.img is the recovery image you just downloaded. If you download it from the website I pointed, the command will be
fastboot flash recovery recovery-clockwork-5.0.2.7-vision.img
Now you have the latest recovery. Go to recovery in the HBOOT menu to see the result, enjoy!
Terminal emulator: It will be one of the apps in your apps drawer, named "Terminal Emulator". May or may not be there depends on what ROM you're running.
Check for root using cmd: using command "adb shell", you should see
adb server us out of date, killing...
*daemon started successfully*
[email protected]:/#
Installing ROM: please try not to use ROM Manager, learn how to do it in Recovery at least. Because if you cannot boot to your ROM, runs ROM manager then you're stuck when something wrong happens (which is quite usual if you're flashing). Best way is to copy the ROM to your SD card, reboot to recovery, choose "Install from zip" then pick the zip file of the ROM. (remember to wipe data/cache and dalvik cache in the advanced menu)
Hope that helps!
Edited: http://www.clockworkmod.com/rommanager is down for the moment. I attached the newest G2 recovery img for you. Use either of them. Touch is more advance (and more confusing).
Disregard. Kyra was faster.
Sent from my DZ.

How to Flash the Stock Firmware

because of sim slot 2 issue i want to give my phone under warranty
I want to Flash the original stock firmware of Zenfone 2
i have downloaded the stock Firmware file.
how should i flash it. should i flash it using Fastboot method or TWRP directly ?
current recovery : TWRP
If you have TWRP then you must have unlocked the bootloader, which means your warranty is void.
Ya i know... But it is hardware prob. So i don't think so they will check my phone bootloader.. So want to give a try
Do you have the white splash screen? If you do I'd flash the black one back in TWRP, then at least it isn't immediately obvious the the boot loader is unlocked. Next, I'd fastboot flash back to the stock recovery for the firmware you are going to restore (you don't want to leave TWRP on there). Then wipe data and cache, put the firmware on your SD card renamed as MOFD_SDUPDATE, and boot into recovery to flash it.
Thxxx. I had already flashed black splash screen...
Ok finally i need flash stock recovery and then flash the original firmware...
Sagarvaghela said:
Thxxx. I had already flashed black splash screen...
Ok finally i need flash stock recovery and then flash the original firmware...
Click to expand...
Click to collapse
Don't forget to unroot, uninstall xposed, l speed mod, etc. that writes to /system.
Ntrasme said:
Don't forget to unroot, uninstall xposed, l speed mod, etc. that writes to /system.
Click to expand...
Click to collapse
He doesn't need to do that - flashing the full firmware file via recovery will overwrite the whole of /system. Only need to unroot etc if flashing an ota.
Hi folks
Can anyone make a guide step-by-step to how back (from cm12.1 to stock)??
Clean install like factory stock!
I think it´s a good action to noobs, like me!
I found this steps, but i donót know if is so simply like description:
http://www.asus.com/zentalk/forum.php?mod=viewthread&tid=12528
"Open adb folder and Shift + right click > Open Command pomport Here (click on it)
On the adb cmd type adb reboot-bootloader
After you enter the fastboot/droid boot, on the adb cmd type fastboot flash recovery <Recovery Image File Name.img>
Example: fastboot flash recovery recovery.img
After the recovery flash complete go to "recovery menu" and select on it, after you enter recovery navigate and select "update from adb"
And type on adb cmd adb sideload <Firmware File.zip>
Wait the for the process to complete the phone (~25min), if you have an auto reboot, you need to enter in the "boot loader" and select again "Recovery Mode"
you can now select "wipe data/factory reset" (~5min)
when is finish select "wipe cache partition" (~1min)
and for the end select "reboot system now"
The Boot process Will be Little Longer After This Process PLease Be Patient (~5min)
Finish!
*Note This Tutorial Can Be Applied To This Cases : [U Want To Upgrade Your Zenfone 2 Or Downgrade It, Your Phone Has Soft Bricked (Boot Loop) And You Want To Fix It By Yourself]"
Work to rollback from CM???
Reflashing Stock Rom
Simple Way
If you come from CM 12.1 @crpalmer and TWRP from @TheSSJ and want to flashing stock rom.
1. you must download full stock rom from asus server
2. put your downloaded stock rom into adb folder
3. go to recovery mode (TWRP) and select Advanced > ADB Sideload > select Wipe Dalvik Cache and Wipe Cache and swipe to start sideload
4. access your adb and From the command line, type adb sideload yourstockrom.zip
5. wait until finished and select reboot
Done.!!
device not found
pocax said:
Simple Way
If you come from CM 12.1 @crpalmer and TWRP from @TheSSJ and want to flashing stock rom.
1. you must download full stock rom from asus server
2. put your downloaded stock rom into adb folder
3. go to recovery mode (TWRP) and select Advanced > ADB Sideload > select Wipe Dalvik Cache and Wipe Cache and swipe to start sideload
4. access your adb and From the command line, type adb sideload yourstockrom.zip
5. wait until finished and select reboot
Done.!!
Click to expand...
Click to collapse
I am trying this to flash stock rom ,during the stage at (twrp recovery > advanced > adb sideload> sipe cache/dalvik),but in adb ,after giving the command says "device not found" what to do. I am a noob. I rooted/ unlocked the bootloader/installed a custom recovery (twrp) /installed cm12.1 nightly. now I want to back to stock root . help me. how to work in adb and sideload when the device is not found
dr.arifeen7009 said:
I am trying this to flash stock rom ,during the stage at (twrp recovery > advanced > adb sideload> sipe cache/dalvik),but in adb ,after giving the command says "device not found" what to do. I am a noob. I rooted/ unlocked the bootloader/installed a custom recovery (twrp) /installed cm12.1 nightly. now I want to back to stock root . help me. how to work in adb and sideload when the device is not found
Click to expand...
Click to collapse
I was only able to adb sideload from stock recovery. Reflash stock recovery and do it from there.
stock rom/recovery
rlaw said:
I was only able to adb sideload from stock recovery. Reflash stock recovery and do it from there.
Click to expand...
Click to collapse
how to flash the stock recovery? what will happen with the twrp (custom recovery ) then?
after flashing stock recovery , will i will be able to get ota update from asus?
i mean, i completely wana go back to the initial stage like when i bought the phone, (pure stock/un rooted/locked bootloader) what's the process?
i was wondering if going back to stock will not give me ota update from asus again.
if there's a guide line showing complete process of rolling back to stock from cm12.1 nightly and having stock rom with ota enabled ( yah! i dun wana hang up on bootloader animation. it happens)
please suggest me.
thanks for responce and help
peace!! (Y):good:
dr.arifeen7009 said:
how to flash the stock recovery? what will happen with the twrp (custom recovery ) then?
after flashing stock recovery , will i will be able to get ota update from asus?
i mean, i completely wana go back to the initial stage like when i bought the phone, (pure stock/un rooted/locked bootloader) what's the process?
i was wondering if going back to stock will not give me ota update from asus again.
if there's a guide line showing complete process of rolling back to stock from cm12.1 nightly and having stock rom with ota enabled ( yah! i dun wana hang up on bootloader animation. it happens)
please suggest me.
thanks for responce and help
peace!! (Y):good:
Click to expand...
Click to collapse
Backup anything you want to keep and export it to PC to re-add it onto your phone later.
Download stock firmware here: http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE551ML/UL-Z00A-WW-2.20.40.59-user.zip
Rename it to update.zip to make it easier for you. Put it in the same folder where your adb is located on PC.
http://www.mediafire.com/?afulultx06r70a4
Download latest stock recovery here.
Reboot your phone into bootloader. Open a command window where these files are located (shift+right click in Windows should open a context menu with open command window here option).
Flash the recovery: "fastboot flash recovery recovery.img"
Type that without quotes and press enter.
After it's finished, press volume down on phone til recovery option comes up then press power button.
Let the phone reboot. Eventually an error screen will pop up. When it does, hold down power button and press volume up. Release both buttons at the same time. If you did it correctly, recovery menu will now show up.
Choose apply update from adb sideload then from PC command window type "adb sideload update.zip" without quotes.
Then wait 10-20mins for it to finish. You'll be completely stock. Your data and internal storage will be formatted. That's why I said make backups first.
rlaw said:
Backup anything you want to keep and export it to PC to re-add it onto your phone later.
Download stock firmware here: http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE551ML/UL-Z00A-WW-2.20.40.59-user.zip
Rename it to update.zip to make it easier for you. Put it in the same folder where your adb is located on PC.
http://www.mediafire.com/?afulultx06r70a4
Download latest stock recovery here.
Reboot your phone into bootloader. Open a command window where these files are located (shift+right click in Windows should open a context menu with open command window here option).
Flash the recovery: "fastboot flash recovery recovery.img"
Type that without quotes and press enter.
After it's finished, press volume down on phone til recovery option comes up then press power button.
Let the phone reboot. Eventually an error screen will pop up. When it does, hold down power button and press volume up. Release both buttons at the same time. If you did it correctly, recovery menu will now show up.
Choose apply update from adb sideload then from PC command window type "adb sideload update.zip" without quotes.
Then wait 10-20mins for it to finish. You'll be completely stock. Your data and internal storage will be formatted. That's why I said make backups first.
Click to expand...
Click to collapse
Anybody tried this?
rblaker said:
Anybody tried this?
Click to expand...
Click to collapse
If you looked around the forum and did research, you'd see this is common and MANY people have done it. It's one of 3 ways to flash firmware.
rlaw said:
If you looked around the forum and did research, you'd see this is common and MANY people have done it. It's one of 3 ways to flash firmware.
Click to expand...
Click to collapse
if i get back to stock, will i be able to receive ota?
Help Me DUDE !!
Hey There, I need to give my phone for replacement but I had unlocked the bootloader. how do I Re lock it ???
I bought a Z00A online just a few days ago, rooted it, unlocked the bootloader, installed TWRP, and then CM12. All was perfect until I realized some hardware problems with the speaker. Also lately it doesn't boot up easily on pressing the power button. In fact every time I have to go to the bootloader and 'Normal Boot' from there. And even that doesn't happen all the time. I have installed the stock recovery, flashed back the black splashscreen, and also the stock-firmware through adb sideload successfully.
Now can someone tell me does flashing the stock firmware through adb sideload re-locks the bootloader or not ??
If no, what are my chances of getting a replacement ???
I'm attempting to go back to stock also. So when I'm in bootloader fastboot and adb do not see the phone. Adb sees it when in recovery and in normal. But I need fastboot in order to flash stock recovery. Right now I have official TWRP and superzen installed. I've tried in both Windows and LinuxMint. With the same results in both. Any ideas would be appreciated.

Accidentally removed OS in OP3.

Hi all,
While trying to install custom mod i accidentally deleted my original rom as well as the custom rom from my phone. I can access twrp fast boot but while trying to install zip file its missing from phone. Any way to install any custom rom at this point?
Update : Restarted my phone ( well powered off coz of low battery) . When i charged and switched it on , twrp is not there . Instead when i go to recovery mode , the original one plus recovery mode is appearing.
gamer361 said:
Hi all,
While trying to install custom mod i accidentally deleted my original rom as well as the custom rom from my phone. I can access twrp fast boot but while trying to install zip file its missing from phone. Any way to install any custom rom at this point?
Click to expand...
Click to collapse
Sideloading is the easiest option.
Boot into TWRP, find ADB Sideload mode (I think it's under "Advanced", not sure), connect phone to PC via USB cable and flash ROM directly from PC with "adb sideload rom-name" command.
This is a very short version, if you need me to explain anything in depth just say it
Sent from my OnePlus 3 using Tapatalk
Explorer23 said:
Sideloading is the easiest option.
Boot into TWRP, find ADB Sideload mode (I think it's under "Advanced", not sure), connect phone to PC via USB cable and flash ROM directly from PC with "adb sideload rom-name" command.
This is a very short version, if you need me to explain anything in depth just say it
Sent from my OnePlus 3 using Tapatalk
Click to expand...
Click to collapse
if possible please tell me step by step.
gamer361 said:
if possible please tell me step by step.
Click to expand...
Click to collapse
Sorry for late reply.
So, first things first, make sure you have working adb/fastboot on your PC (you can get it >>HERE<< if you need it; select Y for all options).
- download latest TWRP recovery >>HERE<<
- download a ROM of your choice
- in case you go for a custom ROM you'll probably also need latest firmware (CLICK), Gapps (CLICK) and possibly Magisk (CLICK)
- open command prompt in folder where you've put all downloaded files - hold Shift and right click in that folder > open command window here.
- boot phone into fastboot mode and connect it to PC
- type fastboot devices in cmd to see if the phone is properly recognized (should say something like "device #serial-number" IIRC)
- flash TWRP by typing fastboot flash recovery recovery-name.img
- reboot device into recovery mode. Fastboot generally doesn't support rebooting into recovery, but our phone makes it easy with that 5 second timeout on boot. Type fastboot reboot and as soon as it displays that warning screen press a volume button and then scroll to recovery with volumpe up/down.
You should be booted into TWRP now. Let's continue to flashing a ROM.
Assuming you're going for a custom ROM, start with firmware:
- select "Advanced" in TWRP
- select "ADB Sideload"
- swipe to start sideload
- type adb devices in cmd - it should recognize that the device is in sideload mode
- type adb sideload firmware.zip and wait for it to finish
- go back to main TWRP screen and repeat the steps to get into sideload mode
- type adb sideload rom-filename.zip
- repeat to flash Gapps and Magisk
If you chose to flash stock ROM rather than custom then you can skip firmware and Gapps and flash just the ROM (and possibly magisk, that's up to you).
Done! Now you can boot into system.

Categories

Resources