Accidently Deleted OS (PAC-ROM) on Rooted HTC One M8

DankKush

Member
Jan 2, 2016
13
0
0
My phone was getting quite slow, so I thought wiping the cache would help. In doing so, I had accidentally wiped "system" as well, which had deleted the OS I was running, PAC-ROM. I can still boot up to the bootloader, but I am not quite sure in what to do next. Since PAC was too glitchy for me, I'm installing Cyanogenmod 12. I need help in how to do that from the bootloader (or recovery). Thanks!
 
Last edited:
My phone was getting quite slow, so I thought wiping the cache would help. In doing so, I had accidentally wiped "system" as well, which had deleted the OS I was running, PAC-ROM. I can still boot up to the bootloader, but I am not quite sure in what to do next. Since PAC was too glitchy for me, I'm installing Cyanogenmod 12. I need help in how to do that from the bootloader (or recovery). Thanks!
Welcome to the forums! All you need to do is flash a ROM via Recovery and you should be good to go. I'd suggest reflashing PAC man ROM since that's probably what you already have loaded on the storage. Once booted download another ROM of your choice and see how that works.
 
Welcome to the forums! All you need to do is flash a ROM via Recovery and you should be good to go. I'd suggest reflashing PAC man ROM since that's probably what you already have loaded on the storage. Once booted download another ROM of your choice and see how that works.
The problem is, a friend of mine rooted my phone and flashed PAC for me, so I don't have much of a idea in how to do that. Additionally, when I had accidentally wiped "system" from recovery, it had wiped out the OS, so PAC-ROM isn't available under "restore". What I do have, is a AOKP file under "restore", which is there because my friend had flashed it prior to flashing PAC, but since I preferred PAC, we switched over to that. I did try to restore AOKP from "restore" so that I would have some sort of OS on the phone, but unfortunately it does not progress past the boot animation, thus sitting in a bootloop. Basically, I either need help in flashing Cyanogenmod from recovery, or restoring the AOKP file. Thanks.
 
You could try downloading CM on computer and moving the zip to micro SD card. Then flash CM and gapps from recovery.
 
Install and you'll need to select external storage.

But would it be that simple? Simply copying and pasting the zip to the micro SD? Or would I also need to follow these steps:

Step-1: Connect HTC One M8 to the computer using USB cable. Without extracting move the downloaded zip files to the SD card of the phone. Ensure that the files are in the SD card root, not in any folder

Step-2: Unplug the USB cable from the phone and switch it off

Step-3: Enter into Bootloader/Fastboot Mode. Turn on the phone while pressing and holding Volume Down and Power buttons together.

In fastboot mode, navigate to android-sdk-windowsplatform-tools directory and open a command prompt. For this hold Shift and Right click

Step-4: Type in the following command and press Enter

fastboot flash boot boot.img
Step-5: Now type the following command and press Enter

fastboot reboot

Step-6: Follow the navigation instructions on the screen. Select Bootloader and then go to Recovery

Step-7: In recovery mode, perform data wipe by selecting wipe data/ factory reset. Use the Power button to select while in Recovery Mode

Step-8: Perform cache wipe by selecting wipe cache partition

Step-9: Also do a wipe of dalvik cache to avoid boot loops and other errors. From CWM recovery, go to advanced then select wipe dalvik cache

Step-10: Select install zip from sdcard >> choose zip from sdcard. Using the Volume keys scroll down to folder where the CyanogenMod 12 nightly is copied. Select it using the Power button and confirm installation on the next screen

Step-8: Repeat the same procedure to flash Gapps file on the phone

Step-9: Once the installation is completed, reboot phone by selecting reboot system now from the recovery menu. The device will take about five minutes to reboot for the first time. Don't press any button during this time to interrupt the process

Your HTC One M8 should be updated with CyanigenMod 12 nightly build. Head over to Settings>> About phone to verify the new Android software version of the device.




Are there any different or additional steps since there is no OS installed on my phone? And is there any way to prevent the phone from bricking?
 

Forum statistics

Threads
958,399
Messages
6,976,547
Members
3,164,046
Latest member
Qmoitramer