[Q] Dummy needs help! In TWRP recovery with all partitions formatted... - HTC Droid DNA

I'm sure I qualify for some sort of noob trophy. Having said that, here's my situation: My DNA is rooted w/S-Off, TWRP v2.6.1.0. I have run most of the sense 4 and 5 roms and briefly Newt's GPE v1.0.4. I wanted to flash the official cyanogenmod 10.2. I downloaded the rom and gapps zips and then booted into recovery. From the wipe menu, I did factory reset and advanced wipe of cache, dalvik, and system. Prior to flashing the new rom, I had to step away from the process to help with the kids. When I returned to my DNA, I remembered that I wanted to eliminate the duplicate storage between /data/media and /sdcard that was eating up all my internal storage. As you can likely now guess, my [email protected]$$ formatted the data partition to wipe the sdcard without having ever flashed the rom! I'm now left sitting in recovery with an empty phone. I have my TWRP backups saved on my Windows 7 cpu. What's the SIMPLIEST method to either get one of my backups or a rom.zip onto my sdcard? I thank you in advance for anyone willing to help me out!

raknarc said:
I'm sure I qualify for some sort of noob trophy. Having said that, here's my situation: My DNA is rooted w/S-Off, TWRP v2.6.1.0. I have run most of the sense 4 and 5 roms and briefly Newt's GPE v1.0.4. I wanted to flash the official cyanogenmod 10.2. I downloaded the rom and gapps zips and then booted into recovery. From the wipe menu, I did factory reset and advanced wipe of cache, dalvik, and system. Prior to flashing the new rom, I had to step away from the process to help with the kids. When I returned to my DNA, I remembered that I wanted to eliminate the duplicate storage between /data/media and /sdcard that was eating up all my internal storage. As you can likely now guess, my [email protected]$$ formatted the data partition to wipe the sdcard without having ever flashed the rom! I'm now left sitting in recovery with an empty phone. I have my TWRP backups saved on my Windows 7 cpu. What's the SIMPLIEST method to either get one of my backups or a rom.zip onto my sdcard? I thank you in advance for anyone willing to help me out!
Click to expand...
Click to collapse
Step 0: boot to recovery
Step 1: adb devices //if it isn't detected: Advanced > adb sideload > adb devices again > cancel sideload
Step 2.1 TWRP backup option: adb push <directory of TWRP backup, without "<>"> /sdcard/TWRP/BACKUPS/
Step 2.2: New ROM option: adb push <rom directory> /sdcard/ // you may also need do do this for gapps
Step 3: Restore backup or flash ROM

Thanks, Walther! I wasn't able to get the backup to push, but I had the Tranquil Rom zip on cpu as well and I did successfully push it over to my DNA. It's booted and setting up as I type this. I'll hook up to cpu, when done, and transfer the backup to sdcard. Then, maybe, I'll be able to restore back to where I was before I borked everything up.
Thanks again!

Hi!
Fine, for me am from Kampala but my home district is Busujju, Uganda.
Serwaniko Kenneth

Related

Unable to mount internal /sdcard

So I flashed the latest nightly 9-2-02 and I kept on getting the error in my camera app external device storage needed. I figured the problem was not with my sdcard, but with my internal sdcard folder. When I go to flash via recovery, it says e:/unable to mount internal sd card. Is there anyway to remount this card?
I have Hboot 1.15, s-on. I know some other people have been having this problem, anybody have any ideas?
midfieldmaestro said:
So I flashed the latest nightly 9-2-02 and I kept on getting the error in my camera app external device storage needed. I figured the problem was not with my sdcard, but with my internal sdcard folder. When I go to flash via recovery, it says e:/unable to mount internal sd card. Is there anyway to remount this card?
I have Hboot 1.15, s-on. I know some other people have been having this problem, anybody have any ideas?
Click to expand...
Click to collapse
it may some how have gotten corrupted. update twrp to the latest if you dont have it (2.2.2) and then boot into recovery and do a back up, go to advanced and install htc dumlock and reboot, i dont personally like dumlock but it is the most flexible solution barring a few extra steps, go into apps and launch dumlock, here it will write recovery to boot and then reboot directly into twrp because you technically no longer have a boot, it has been replaced by twrp, then go to advanced again and restore boot and go back to menu, go to wipe select internal, this will reformat it, then do the usual factory reset, wipe cache, dalvik, system and then flash cm10, gapps, and reboot, if all goes well you can go ahead and flash any extras you might have had prior
note: with dumlock there is no need to fastboot the kernel, with dumlock in boot it can write directly, the reason this method isnt the most ideal is that you are writing to boot multiple times but like i said i think it is the most flexible for newer users
om4 said:
it may some how have gotten corrupted. update twrp to the latest if you dont have it (2.2.2) and then boot into recovery and do a back up, go to advanced and install htc dumlock and reboot, i dont personally like dumlock but it is the most flexible solution barring a few extra steps, go into apps and launch dumlock, here it will write recovery to boot and then reboot directly into twrp because you technically no longer have a boot, it has been replaced by twrp, then go to advanced again and restore boot and go back to menu, go to wipe select internal, this will reformat it, then do the usual factory reset, wipe cache, dalvik, system and then flash cm10, gapps, and reboot, if all goes well you can go ahead and flash any extras you might have had prior
Click to expand...
Click to collapse
Thank you for this explanation, but I believe (thanks to a user from the CM10 thread) that it is indeed corrupted like you said. But instead of going through that, I went and mounted my internal drive via TWRP to my computer. So I have a macosx (ugh) and I reformatted it, but it had trouble doing it and it didn't work properly. Normally in windows it would do a much better job as you are able to set it FAT32 etc etc. So when my phone started up, the phone recognized it was a corrupted drive and repaired it itself, and voila, everything is working, I am able to side load apps and actually download things.
well i wrote those directions to give you the best chance at getting it to work, I always prefer a fresh start when possible. my instruction is also non reliant on a computer which to me is also a plus as windows/mac/and linux can interfere with usb. Glad to hear you got it working
Formatting work
I would like to thank everyone who posted, I rebooted my EVO to TWRP recovery, mounted the USB drive and connected to my windows PC. The USB drive popped up and windows asked if I wanted to fix it, I said yes and formatted as fat32 adn after unmounting and rebooting, the sdcard mounted perfectly!
Thanks you!
g_brownell said:
I would like to thank everyone who posted, I rebooted my EVO to TWRP recovery, mounted the USB drive and connected to my windows PC. The USB drive popped up and windows asked if I wanted to fix it, I said yes and formatted as fat32 adn after unmounting and rebooting, the sdcard mounted perfectly!
Thanks you!
Click to expand...
Click to collapse
So you got the internal to work.
Have you had any issues with mounting the external?

[Q] Nils' Business ICS Sense installation problem

First, I'm a noob.
Second, I have over 25 years of electrical engineering experience including a lot of programming (microcontrollers too).
The point: I have failed to install Nils' Business ICS 4.0.3 Sense 3.6.
The phone is an HTC Rezound with no SIM card and no service. No phone number, etc. It was a Verizon phone at some point.
What I did:
I followed: http://forum.xda-developers.com/showthread.php?t=1508118
1) I installed the RUU -> Download the 4.03.605.2 Global RUU: >> MD5 = bcdd450501e390ce323a46b396cd0a49
It worked fine and it seems to run fine.
2) I unlocked the bootloader.
It worked fine.
3) I installed Amon RA from: www(dot)mediafire(dot)com/?nie2w1ei0phhhup
It worked fine and it seems to run fine.
4) I installed -> Version 6.3 >> MD5= 74602137511fac84b78200028c67bb69
The install stated that it completed properly. Very few applications were selected.
I tried both S-on and then S-off. I re-locked the bootloader before installing the RUU each time.
Do I need to do a full wipe following installing an RUU?
If so, what EXACTLY do I need to wipe?
There are MANY choices for wiping in Amon RA.
I did try wiping dalvik once.
When can the USB be connected during this process and when must it not be connected?
Does it matter where the Business sence ROM zip file is located on the external SD card?
I tried it once in the root folder of the external SD. Otherwise, I located it using Amon RA.
Everything seems to work fine until the final reboot into Business ICS Sense, where the phone never gets past the Business ICS Sense bootup screen. I have waited at least 10 minutes. Longer sometimes.
What am I doing wrong?
This can't be all that difficult. Are there some obvious steps that I have skipped?
Thanks.
i always do a full wipe whether im coming from a ruu or a rom, after i flash a rom i always go back into recovery and one:remove the. zip and wipe cache and dalvik cache before i boot a rom up. u need to make sure your rom. zip is on the removable disk drive. never had any issues with doing it this way.
REZOUND-S-OFF-VIPERREZ - SNUZZO 2.3 KERNEL...
After installing the ROM (choose S-ON), reboot into the bootloader. You need to flash PH98IMG.zip in the bootloader. It's pretty straightforward. Just follow the on screen prompts.
mike7728 said:
i always do a full wipe whether im coming from a ruu or a rom, after i flash a rom i always go back into recovery and one:remove the. zip and wipe cache and dalvik cache before i boot a rom up. u need to make sure your rom. zip is on the removable disk drive. never had any issues with doing it this way.
REZOUND-S-OFF-VIPERREZ - SNUZZO 2.3 KERNEL...
Click to expand...
Click to collapse
The ROM was on the external SD card (removable drive).
After I install the RUU, I move it into a folder, so it is no longer in the root folder.
I found two Amon RA files. Both supposedly version 3.15.
One is 7087KB (MD5: 9d127cde10b68de5e424aaea2d4a4357)
the other is 7074KB (MD5: 915d5e3cb662076f36f3d6e54759e951) for the img file.
Which one is the right one?
In Amon RA are the following wipe choices:
Main level: Wipe ->
Wipe ALL data/factory reset
Wipe /data
Wipe /cache
Wipe Dalvok-cache
Wipe /sdcard/.android_secure ???
Wipe /boot (most likely not this one)
Wipe /sd-ext (obviously not this one)
Wipe /system ???
Wipe battery stats (probably not important)
Wipe rotate settings ???
Wipe Sdcard (obviously not this one)
Wipe Internal_sd (obviously not this one)
Toggle Ext Full Wipe
Which one(s) should be selected?
Thanks.
delacerda said:
After installing the ROM (choose S-ON), reboot into the bootloader. You need to flash PH98IMG.zip in the bootloader. It's pretty straightforward. Just follow the on screen prompts.
Click to expand...
Click to collapse
I did that.
It didn't work.
That is why I tried S-off too.
Unanswered questions
wtw2 said:
The ROM was on the external SD card (removable drive).
After I install the RUU, I move it into a folder, so it is no longer in the root folder.
I found two Amon RA files. Both supposedly version 3.15.
One is 7087KB (MD5: 9d127cde10b68de5e424aaea2d4a4357)
the other is 7074KB (MD5: 915d5e3cb662076f36f3d6e54759e951) for the img file.
Which one is the right one?
In Amon RA are the following wipe choices:
Main level: Wipe ->
Wipe ALL data/factory reset
Wipe /data
Wipe /cache
Wipe Dalvok-cache
Wipe /sdcard/.android_secure ???
Wipe /boot (most likely not this one)
Wipe /sd-ext (obviously not this one)
Wipe /system ???
Wipe battery stats (probably not important)
Wipe rotate settings ???
Wipe Sdcard (obviously not this one)
Wipe Internal_sd (obviously not this one)
Toggle Ext Full Wipe
Which one(s) should be selected?
Thanks.
Click to expand...
Click to collapse
Can someone comment as to which selections above should be chosen for a full wipe for ROM replacement?
Also, should it be done before installing the ROM, before booting the ROM, or after?
The directions seem to indicate before installing a ROM -> http://forum.xda-developers.com/showthread.php?t=1508118
Thanks.
Wipe data cache dalvik boot and system for a clean install. If you're s-on don't forget to flash the kernel or it won't boot
cslingerland said:
Wipe data cache dalvik boot and system for a clean install. If you're s-on don't forget to flash the kernel or it won't boot
Click to expand...
Click to collapse
Yup, after rom install make sure it reboots to boot loader then hit power to install kernel
Confirmation requested
NilsP said:
Yup, after rom install make sure it reboots to boot loader then hit power to install kernel
Click to expand...
Click to collapse
What an honor to have NilsP reply. I was hoping for this. Thanks for the pointers. Now if I can only understand what I was told to do.
I should install the Business ICS Sense S-on, NOT S-off (no reason given). Neither has worked for me yet.
In Amon RA do the following:
Wipe Dalvik-cache
Wipe /boot (please verify)
Wipe /system (please verify)
Should this be done before installing RUU?
And also before installing Business ICS Sense?
After installing Business ICS Sense, make sure that the PH98IMG.zip file, which was created at root level during the Amon RA install of Business ICS Sense, is run automatically by the bootloader (the same way the RUU gets run)?
If NilsP or another expert would confirm these steps, it would be greately appreciated. I have tried to be specific, and the answers seem vague to me. When you don't really know exactly what your doing (like me), detail matters.
I have tried to get this done about 6 times now with no success.
Thanks.
Success! Thanks.
wtw2 said:
What an honor to have NilsP reply. I was hoping for this. Thanks for the pointers. Now if I can only understand what I was told to do.
I should install the Business ICS Sense S-on, NOT S-off (no reason given). Neither has worked for me yet.
In Amon RA do the following:
Wipe Dalvik-cache
Wipe /boot (please verify)
Wipe /system (please verify)
Should this be done before installing RUU?
And also before installing Business ICS Sense?
After installing Business ICS Sense, make sure that the PH98IMG.zip file, which was created at root level during the Amon RA install of Business ICS Sense, is run automatically by the bootloader (the same way the RUU gets run)?
If NilsP or another expert would confirm these steps, it would be greately appreciated. I have tried to be specific, and the answers seem vague to me. When you don't really know exactly what your doing (like me), detail matters.
I have tried to get this done about 6 times now with no success.
Thanks.
Click to expand...
Click to collapse
This is what I did:
1) Re-lock bootloader > fastboot oem lock
2) In Amon RA >
-wipe data/factory reset (ext SD card removed)
-wipe cache
-wipe dalvik cache
-wipe boot
-wipe system
3) load RUU in bootloader > PH98IMG.zip in ext SD root directory
4) Initialize the OS settings (first boot)
5) Unlock the bootloader > fastboot flash unlocktoken Unlock_code.bin
6) Install Amon RA again > fastboot flash recovery recovery-ra-vigor-3.15-gnm.img
7) In Amon RA again >
-wipe data/factory reset (ext SD card removed)
-wipe cache
-wipe dalvik cache
-wipe boot
-wipe system
8) Move RUU out of root directory, move ROM into root directory
9) Re-install ext SD
10) Back in Amon RA > Business_ICS4.0.3_Sense3.6-v6.3.zip in ext SD root directory
Flash ZIP menu > Choose zip from sd card > choose Business ICS Sense ZIP file
Options:
S-On
Standard Launch Bar
All HTC skins
Apps: Flashlight; MyVerizon; Voice Recorder
saved log file
11) Rebooting & holding breath
Success!
It appears that the wipes were required. Googled wipes to see what they did for safety before doing them.
Thanks all.
wtw2 said:
This is what I did:
1) Re-lock bootloader > fastboot oem lock
2) In Amon RA >
-wipe data/factory reset (ext SD card removed)
-wipe cache
-wipe dalvik cache
-wipe boot
-wipe system
3) load RUU in bootloader > PH98IMG.zip in ext SD root directory
4) Initialize the OS settings (first boot)
5) Unlock the bootloader > fastboot flash unlocktoken Unlock_code.bin
6) Install Amon RA again > fastboot flash recovery recovery-ra-vigor-3.15-gnm.img
7) In Amon RA again >
-wipe data/factory reset (ext SD card removed)
-wipe cache
-wipe dalvik cache
-wipe boot
-wipe system
8) Move RUU out of root directory, move ROM into root directory
9) Re-install ext SD
10) Back in Amon RA > Business_ICS4.0.3_Sense3.6-v6.3.zip in ext SD root directory
Flash ZIP menu > Choose zip from sd card > choose Business ICS Sense ZIP file
Options:
S-On
Standard Launch Bar
All HTC skins
Apps: Flashlight; MyVerizon; Voice Recorder
saved log file
11) Rebooting & holding breath
Success!
It appears that the wipes were required. Googled wipes to see what they did for safety before doing them.
Thanks all.
Click to expand...
Click to collapse
Great
The most important wipe is system since my install does the others.

[SOLVED] [Q] Failed to wipe encryptet SIII with TWRP

Hi,
im quite new to rooting and custom roms.
I have rooted (ALLINONE) my device with the S3 ToolKit (http://forum.xda-developers.com/showthread.php?t=1703488)
My device had stock rom and was encrypted. I performed a factory reset from the stock rom (after a nandroid backup from the toolkit.
But the phone failed and booted into TWRP. When i try to wipe Dalvik Cache it sais failed..
I get "cannot mount internal storage" in the logs.
What sould i do?
I want to install the Paranoid Android ROM. But for now, whatever goes. Is there always an possibility to fix the phone as long as i get into the TWRP menu, or can it be permanently bricked now?
Download mode yes no ???
jje
Yes im am able to open download mode. thanks for your quick reply
Could i try to install a ROM from a external card without wiping dalvik? I was able to wipe "cache", but not factory reset or dalvik. havent tried anything else yet.
To my knowledge, you can only access encrypted data with the instance of the ROM you encrypted it with.
I would expect you'd have to decrypt fully before wiping and flashing.
I may be wrong but there is a chance there's nothing you can do to get the data back :/
Everything possibly needs to be formatted.
I just took "format data" - it worked just to confirm i was on the right track, i tried dalvik again - it worked! OH YES. going forward
Whatever doesnt kill your phone makes you stronger, or something But what should i do now..?
sponsen said:
what should i do now..?
Click to expand...
Click to collapse
It depends where you want to be...
rootSU said:
It depends where you want to be...
Click to expand...
Click to collapse
I want to flash the Paranoid Android ROM.
I have downloaded the ROM + gapps from as stated in this link: (remote the [DOT] and replace it with a real dot) tothemobile[DOT]com/install-paranoidandroid-4-2-2-jelly-bean-custom-rom-on-galaxy-s3
but im not sure what steps i should do now. The toolkit dosnt have a feature covering my situation as far as i can see (a formatted phone), since the toolkit want me to boot it as normal to start the flash procedure - if i havent misunderstood this totally
sponsen said:
I want to flash the Paranoid Android ROM.
I have downloaded the ROM + gapps from as stated in this link: (remote the [DOT] and replace it with a real dot) tothemobile[DOT]com/install-paranoidandroid-4-2-2-jelly-bean-custom-rom-on-galaxy-s3
but im not sure what steps i should do now. The toolkit dosnt have a feature covering my situation as far as i can see (a formatted phone), since the toolkit want me to boot it as normal to start the flash procedure - if i havent misunderstood this totally
Click to expand...
Click to collapse
You don't really need the toolkit. Plus, it's really good to learn how to do things manually, in case you get in situations like this.
Sol exactly what state is the phone in?
What recovery has the phone got?
Does the phone now boot?
Is it wiped and internal storage works?
Thanks for your help - really appreciate it
Im not sure how i can describe the phones state more than i have now used "format data" in the TWRP recovery screen, the device is listing in the toolkit and im able to go into download mode. I dont have an external card for the phone now, but if its critical for the ongoing progress, ill get a hold of one.
EDIT:
When i hit "Install" in TWRP i am able to browse the internal memory. I can see:
cache
data
dev
efs
etc
external_sd
extSdCard
preload
proc
res
root
sbin
sdcard
sys
system
tmp
sponsen said:
Thanks for your help - really appreciate it
Im not sure how i can describe the phones state more than i have now used "format data" in the TWRP recovery screen, the device is listing in the toolkit and im able to go into download mode. I dont have an external card for the phone now, but if its critical for the ongoing progress, ill get a hold of one.
EDIT:
When i hit "Install" in TWRP i am able to browse the internal memory. I can see:
cache
data
dev
efs
etc
external_sd
extSdCard
preload
proc
res
root
sbin
sdcard
sys
system
tmp
Click to expand...
Click to collapse
Have a read of the "sticky roll-up thread" in general where there are guides for flashing etc
im not familiar with twrp. usually android sees /extSdCard as your removable sd. But recoveries usually use external_sd for the same location.
Essentially you put the zip on your sd and install via recovery. Have a look through those guides. I cant really help withy your recovery though as i dont know it.
I believe that the case is resloved!
To users experiencing that wipes/factory reset fails on a device that have/had encrypted data, you must "format data" and then mount a SD card with the desired ROM and gapps. If you dont have the option of a external SD - i dont know what you have to do - but im sure the internet do

[Q] No ADB from Recovery, hesitant to wipe /data

I currently have CM10.2 on my DNA. I had soft-bricked my phone previously and recovered it using RUU; from there I did the CM10.2 install.
I'd like to wipe my /data partition then push what's necessary to install CM11M8 because of the way it divides up the profiles, but I can't ADB from recovery even after trying the numerous driver fixes that have been mentioned in the forum (naked drivers, etc).
If I wipe /data, there's no OS to boot into and I can no longer ADB to push the files. What are my options?
Wiping data should not wipe out the OS.
You should just be able to put the file on internal storage, wipe and flash cm11.
Not sure I understand the dilemma.
santod040 said:
Wiping data should not wipe out the OS.
You should just be able to put the file on internal storage, wipe and flash cm11.
Not sure I understand the dilemma.
Click to expand...
Click to collapse
When I do "Format /Data" it wiped the OS. Am I missing something? Or am I only supposed to do "Wipe Data/Factory Reset?"

Question about deleting partitions and boot

Hi!
- I have LG G2 mini D620r with stock 5.0.2 Android. Phone has unlocked bootloader, is rooted and TWRP 3.0.2 recovery is flashed.
Few days ago I installed CM13 just to try it and then returned to stock OS. Before flashing custom ROM i used to wipe dalvik, system, data and cache partitions. Now my question is what would happen if I add interal memory partition to list of 4 aforementioned partitions? I know that it would delete all the data in internal memory (and that's what I want to do, because I want my phone to be like it was before it was used for the first time), but would it be able to boot up to OS? I don't won't to flash a kdz file or something like that.
- Also, I can't seem to enter recovery through button combination. I tried all combinations I could find on the internet. When holding volume down + power button for a few seconds i gat an option to hard reset the phone. Only way to get into TWRP is to use QuickBoot app. Anyone having any ideas what could I do?
Triggering a hard reset with a custom recovery installed boots into that recovery.
Wiping internal memory will wipe everything under /sdcard. Not the external one. The built-in one.
To do a complete factory reset, in recovery choose /data and format it as ext4. Don't simply wipe it, or it will leave everything under /sdcard there, while a format will delete them.
Sent from my LG-D620 using XDA Labs
Vagelis1608 said:
Triggering a hard reset with a custom recovery installed boots into that recovery.
Wiping internal memory will wipe everything under /sdcard. Not the external one. The built-in one.
To do a complete factory reset, in recovery choose /data and format it as ext4. Don't simply wipe it, or it will leave everything under /sdcard there, while a format will delete them.
Sent from my LG-D620 using XDA Labs
Click to expand...
Click to collapse
Well you just keep on helping!
Thanks.
Just to be clear these are the steps:
TWRP> Wipe> Advanced Wipe> select partitions: Dalvik, Data, Internal Storage, Cache, System
After that I go to:
TWRP> Wipe> Format Data> type yes
Is that correct procedure?
After all this has been done will my phone boot up to stock Android 5.0.2 or would I have to flash some kdz or custom ROM?
Where can I find option to format /data partition as ext4?
1. Yes your steps are correct.
2. Your phone will not boot up to Android because you don't have ANYTHING on your phone. You just wiped the rom that was running on it. There are a few threads that have flashable stock Android that you can use. Worst case scenario you can always flash kdz. HERE under Custom Rom>lollipop you will see links to [stock] zips.
3. Pretty sure formatting data will format it by default to ext4.
mobiusm said:
1. Yes your steps are correct.
2. Your phone will not boot up to Android because you don't have ANYTHING on your phone. You just wiped the rom that was running on it. There are a few threads that have flashable stock Android that you can use. Worst case scenario you can always flash kdz. HERE under Custom Rom>lollipop you will see links to [stock] zips.
3. Pretty sure formatting data will format it by default to ext4.
Click to expand...
Click to collapse
Thank you. I'm gonna try that and see how it works.

Categories

Resources