yashsingh1/xdaforums huggingface dataset:
[HTC Droid DNA] CharliesTheMan:
I did this and then deleted the sdcard/0 directory and did a full reboot then rebooted to recovery and chose install and I finally got back the default location of /sdcard

Haven't made a backup or restored but so far it's the most progress i've made. It seems petty but I'm in recovery probably 6 times a day.
[HTC Droid DNA] beaups:
sdcard/0 is caused by playing with cm10.1 roms. Since it has user management, it does these things (thanks dr_drache).

Something along the lines of

mv /sdcard/0/* /sdcard/

should do the trick to clean that mess up when flashing back to a non-cm10.1 rom.
[HTC Droid DNA] zounduser:
Well, mine popped up with that /0 folder, and ive never, ever had a cm10.1 rom on this, or any other of my devices. I cant stand vanilla android, or "aosp". :eek:
[HTC Droid DNA] yearn2burn:
Same here. There's some other app that creates it too. I've just been on Viper 1.1.3 the whole time..
[HTC Droid DNA] jamiethemorris:
So is the 0 folder for user 0? As in the root user? I know root is sometimes referred to as user 0.
[HTC Droid DNA] ML417:
Some coding languages start at 0, so could just be user 1 is 0, user 2 is 1, etc.
[HTC Droid DNA] CharliesTheMan:
Have you guys ever used clockwork mod or just TWRP and never had CWM installed?
[HTC Droid DNA] yearn2burn:
I've used both. Don't know if it was coincidental but I first noticed the 0 folder after trying the last CWM version.
[HTC Droid DNA] jamiethemorris:
Coincidental I think, I've been using twrp the whole time I had the phone. When I first got it I used cwm for like a day but that's it.
[HTC Droid DNA] .torrented:
The reason behind the new sdcard/0 is because in android 4.2 Google introduced the multiuser per device so it is a way to split up the sdcard (really only used for tablets)

If you had 3 people on a shared device it would be like this:

User 1 has sdcard/0/

User 2 has sdcard/1/

User 3 has sdcard/2/

They changed something in twrp that now goes by this system so when you wipe or whatever it changes the internal storage structure to be like the android 4.2 file structure. It really shouldn't cause any issues
[HTC Droid DNA] mopartonyg:
Bumpup 2 times
[HTC Droid DNA] ryanwv24:
Ok IDK where to begin

I am S-OFF and Unlocked

Flashed this now the phone only boots to it.

If it does not boot to it it boots to phone with red triangle with !

Got back into recovery and went to advanced and reflashed recovery

still same thing cannot boot the phone up now.

any ideas?
[HTC Droid DNA] CharliesTheMan:
OK, if you put a zip file on your phone and did not wipe data (the sdcard is on data partition which is why you only wipe with a factory reset in recovery), go to the install zip menu, choose zip file from sdcard. If the folder doesn't show your sdcard, use the button to go up to the parent directory until you're at the directory "/ " choose data, then choose media which will have you at /data/media file location which is the true location of the sdcard and that's where the rom zip file you were trying to flash would be located.

You need to push a rom to your phone if you don't have a rom zip file on your phone.

Either that or you can run an RUU which will replace everything on your phone, and then you'll need to flash recovery again and start over.

You can't flash recovery from inside recovery which is what it sounds like you might have tried.

You need to flash a rom zip file. If you want me to help you straighten it out send me a PM and i'll get on google talk with you and get you fixed up remotely through team viewer if you need it.

You would want to adb push a rom, like say you download the NOS sense 5 rom. Rename the zip file rom.zip and drop it in your Android SDK/Platform Tools folder, or wherever adb.exe and fastboot.exe is on your computer.

Type the command "adb devices" and get your serial number spit back out at you. If it doesn't return a serial number ADB isn't working due to driver problems or antivirus or something like that.

Once "adb devices" returns a serial number, you can type "adb push rom.zip /sdcard/downloads" or whatever folder you're pushing it too.
[HTC Droid DNA] ryanwv24:
yeah no rom on phone

so i flashed a sense 5 rom didnt like it deleted my backup of viper

this is where it all started

so i had to ruu back to stock

i did s-off

flashed recovery "fastboot flash boot TWRP.img"

that worked phone booted

i adb reboot bootloader and did s off which worked

forgot root

went back to recovery flashed su

phone would only boot to twrp

so thats when i went to advanced and reflashed recovery from the button in recovery

and now every time phone reboot it goes right to recovery which is now stock with the red triangle and !

I cant gtalk at work its blocked

i am pretty good with this so any any quick advice you can give me here?
[HTC Droid DNA] CharliesTheMan:
OK RyanWV24 and I talked, I've got him headed in the right direction. He accidentally pushed recovery to the boot partition.

PS Ryan if it makes you feel any better, I was contacted by a developer that's typically a genius that made the same mistake a few weeks ago when he had his phone replaced.
[HTC Droid DNA] ryanwv24:
I was doing to many things at 1 time. Im at work and do security work so im trying to do this to the phone and remove root kits at the same time. but could i of just flashed a boot img in its place?

i did ruu back and flashed recovery to proper partition flashed rom and life is good lol
[HTC Droid DNA] xlxcrossing:
Having some trouble here guys....CWM worked fine but I didn't like the UI but after installing TWRP there is only 2 folders listed on my internal storage - A CWM folder I deleted previously and "TWRP" which are both empty. EMMC shows nothing as well. I have verified that internal storage is selected and and data and cache are mounted. Tried to mount system as well - nothing. Booting into phone and using root explorer shows all my files are present.:(
[HTC Droid DNA] rfarrah:
FWIW, I don't understand: have you performed a TWRP backup yet?
[HTC Droid DNA] -DroidIsDNA-:
I have these problems occasionally too. Also, it deletes some folders of my SD like downloads. Very frustrating. Cwm is very slow for backups, so I kinda deal with those little weird issues and hide whatever I need.
[HTC Droid DNA] atcjeff:
I have a HTC Droid DNA with S-off using the new moonshine method. I have installed TWRP recovery on it. I have a question regarding the file structure on the internal storage. Is it normal for TWRP to create a new folder on the SD-Card with a whole new file structure in it? What I mean is, that when I install a custom rom, it creates a new folder, usually labeled "O", and it treats that folder like a totally new and different sd card. None of my backups (TI Backup, music, system restore) are visible with the new rom. I would like to go back to my stock rom but the backup is not visible because TWRP only sees the new folder as the full SD Card. Any suggestions?

EDIT: I found the backups, they are in root/data/media. How do I stop this from happening? I am a veteran flasher with Moto's but his is my first HTC device and first device with no removable storage
[HTC Droid DNA] kern3l:
http://teamw.in/androidmultiuser

I think the only way to rectify this is to wipe the sdcard in twrp. Be sure to backup your data.
[HTC Droid DNA] atcjeff:
Thanks for the reply and the link to the explanation. It is sinking in now. I thought I was on a 4.2 rom but now I realize that my DNA is 4.1. I guess it kind of equats to the rom slots that are in safe strap that the moto devices use. I was able to transfer the backup file through TWRP and am now back to stock. Now I just got to do some house cleaning to get space back
[HTC Droid DNA] live2die:
seems like we gonna get 2.6.0.0:rolleyes:
[HTC Droid DNA] Flyhalf205:
Already out!

http://goo.im/devs/OpenRecovery/dlx
[HTC Droid DNA] GokaiSilver:
silly question, but for future reference what's the correct way to update a recovery? I know back in my safestrap ways I was educated on the dangers of having more than one version on the phone so I'd like to be as safe as possible by asking..
[HTC Droid DNA] -DroidIsDNA-:
Download flash GUI! Its simple to do it on the phone.

I love the new features, especially wipe sdcard
[HTC Droid DNA] Flyhalf205:
Easy way it to flash it with GooManager
[HTC Droid DNA] rfarrah:
That's what I did. Seems to have worked flawlessly. Of course, YMMV. :D
[HTC Droid DNA] live2die:
sorry for the stupid question,where can i find my files? after i flashed this recovery i cant see my files in the sdcard folder and emmc folder, also i cant mount stroage to the pc
[HTC Droid DNA] firespitta:
Try data/media
[HTC Droid DNA] live2die:
thank you they are there! how can i mount phone storage to the pc when in recovery? there is a sound playing when i plug in but nothing shows up:confused:
[HTC Droid DNA] Evilmonstertruck:
I cant see my files from my Sense folders, only the "0"

Was wondering if there was something im doing wrong?

Thank you
[HTC Droid DNA] Snake55:
this has been updated to 2.6
[HTC Droid DNA] finanandroid:
Done

Deleted
[HTC Droid DNA] jrwingate6:
I would like to make a back up using TWRP however when I click on the Back Up Tab, it takes me to another screen with a bunch of check boxes, some of which are already checked. Should I check all of the boxes or should I just run the back up with those that are already checked. I want to make sure I back up my phones IMEI and I don't know if I should check any other boxes to include that.
[HTC Droid DNA] ML417:
I'm assuming you're in the correct screen, the check boxes should say this:

Boot: where that kernel is stored

System: system files (ROM)

data: where your personal data is stored (apps, pictures, etc.)

Recovery: where the a recovery is stored.
[HTC Droid DNA] alejobog:
2.6.1 upgrade

Changelog?
[HTC Droid DNA] Flyhalf205:
What's new in 2.6.1.0:

Initial SELinux support (only a few devices, need testers so come by IRC if your device doesn't have it and needs it)

Initial support for f2fs file system formatting (Moto X)

Update SuperSU install for 4.3 ROMs

Fixed a permissions bug on files created during backup

Fixed a bug that caused TWRP to not wait for compressed backups to finish causing 0 byte files and md5sums to not match

Fixed decryption of encrypted data so that both TouchWiz and AOSP decryption are possible

Ignore lost+found folder during backup and size calculations

Various other minor bug fixes and tweaks
[HTC Droid DNA] zawata:
Hey flyhalf

I would like to report what may be a bug or a failsafe, either way I want info on it

The other day I modified my build.prop file and sent my phone into an endless boot

When I went into twrp to see if I could change the file, every file and folder is missing from /system except /system/bin

Is this a feature to prevent the user from breaking their system partition or is it a bug?

EDIT:

I just saw from the cyanogenmod 10.1 thread that you're leaving the Dev scene

Its sad to see you go, you are probably one the most influential person on the DNA right next to Newt and Beaups

Good luck with your next pursuance.

Does that mean this is the last build for twrp as well? Or does the possible bug report still matter?
[HTC Droid DNA] ibsk8:
You must mount /system first.
[HTC Droid DNA] zawata:
Oh haha that's makes so much sense now

Thanks
[HTC Droid DNA] Flyhalf205:
[MENTION=5285997]zawata[/MENTION] I don't build TWRP. Dees_troy does. Even if the thread doesn't get updated, when a new TWRP comes out. You'll still be able to get it through GooManager or the download link
[HTC Droid DNA] zawata:
...oh

Why am I so bad at reading xda threads

This is the second time I've mistaken the Dev in a thread...

Anyway thanks
[HTC Droid DNA] orangechoochoo:
Im loving 2.6.3, when you make a backup it figures out the name of the rom and names the backup appropriately with the date and time. No more manually typing the name.

http://techerrata.com/browse/twrp2/dlx
[HTC Droid DNA] GokaiSilver:
help appreciated

currently running 2.6.0.0

>had a nandroid of stock saved from months ago on laptop

>manually moved it into TWRP's backup folder (and then again inside of another folder therein whose name I cant recall)

>nandroid shows up in TWRP's restore

>tried to apply restore, failed

>???

>profit

I realized that sounded like I'm patting myself on the back but the failed restore had really gone unsolved. should I switch back to an older version?
[HTC Droid DNA] Epic 4g:
Flashing Issues

I posted this on the PAC thread & I am reposting here because this is the TWRP thread:

OK my DNA under storage said TWRP was using 4.6GB. So I installed CWM from ROM Manager, then booted to recovery & saw it there. Then I went to storage & deleted my 4.6GB of TWRP so I can free up that space. Now I have about 8.1GB of space total.

Then I went into GooManager & reinstalled TWRP. I booted into recover & there was TWRP again. Now when I try to update my PAC ROM to the latest version it keeps on failing. It says in TWRP error flashing zip... Failed in RED.

What is going on here? Can anyone help out here. Has this ever happened to you guys at all? Any help would be greatly appreciated.

I am going to try flashing in CWM to see if that makes a difference & report back. For the life of me I never had issues with TWRP. I hope I didn't mess something up. :confused:

---------- Post added at 05:44 AM ---------- Previous post was at 05:41 AM ----------

Ohh I was able to make a Nandroid and backup my current PAC build. I forgot to mention that. Sorry... Just trying to give as much information as possible. Thanks again for any future help.
[HTC Droid DNA] danjull:
Have you tried to download the ROM again to rule out a bad download? Or try flashing something else?
[HTC Droid DNA] zawata:
Replied to you on PAC forum
[HTC Droid DNA] atcjeff:
I am trying to update my TWRP recovery and having some problems. When I try to update through GOO manager, it says no recoveries were found for my device. I am running Team Venom's new Sense 5 rom on my HTC Droid DNA. any suggestions?
[HTC Droid DNA] danjull:
Download it from twrp's website. Boot into bootloader and flash it through fastboot.
[HTC Droid DNA] atcjeff:
I initially tried that this morning and it did not work either. When I got home form work, I was able to play with it. Long story short, my SDK was out of date. After updating it, it worked for me.
[HTC Droid DNA] IcyAgitator:
Since we have a working cm11 build (unofficially) on the DNA, what are the chances of getting an updated recovery that supports android 4.4? The current released of twrp is not compatible.

Thanks

FYI, not asking for an eta, not trying to harass the devs, just asking a simple polite question.

http://xdaforums.com/showthread.php?t=2529899
[HTC Droid DNA] PrimeMinister91:
Flyhalf205 has a version of CWM that works great with 4.4

CWM touch 6.0.4.4
[HTC Droid DNA] IcyAgitator:
currently using cwm. Takes 30min+ to make backups and almost 45 to restore. Twrp is no where near those times, lol.
[HTC Droid DNA] tdizzle404:
Any news on twrp working with KK ROMs ?
[HTC Droid DNA] jasoraso:
There is a beta twrp build that should work to flash 4.4 roms. The link is in this post:

http://xdaforums.com/showthread.php?p=47629442

It has worked for me to reflash the first build of cm11, as well as the more recent build.

But I did my initial cm11 flash from cwr, so that may not be the best test.

I've also seen a secondhand report that twrp causes data errors, but it was unclear which twrp was being referenced (and I haven't seen any first hand reports of that). The first unofficial build of cm11 had data issues for many even when flashed in cwr.
[HTC Droid DNA] thunderbolt33:
So I'm trying to install the lastest twrp i want to see if it runs fine for me, but could someone please give me some directions on how to flash it, im trying to do it but for some reason it will not work. I keep getting error: cannot open whatever the file name i put it as.
[HTC Droid DNA] IcyAgitator:
Some of this is offtopic but i will take a strab at it.....sorry everyone.

Yes, the first releases of cm 11 all have issues and users flashing it need to take that I to account when using it. While it does contain bugs most of the issues have been contributed to user error. Example: flashing unsupported kernels, themes, mods from previous versions of cm, flashing wrong gapps packs, moving apps to /system with wrong permissions.....that kind of stuff. A user let me remote access his device because he was having problems. I will say those errors were not rom related, only user caused.

I doubt the updated cwm was Culprit. Otherwise the dev would not have recommended it.

The dna official Twrp is hit/miss with 4.4/cm11. Best bet is to avoid it unless you want to use a 4.2.2/4.3 build or other.

The unofficial twrp DOES work. Every feature works except the "fix permissions". I have tried feature twice on 3 different devices and lost root every time and was not able to get it back by any means. Others have and had not had that problem so if you are feeling lucky.....try it.

If the unofficial twrp is having problems myself and many others have not experienced it. Again, I think it is user related. But the recovery is unofficial so until they release am official use cwm if you feel safer, enjoy the 30-60min backups and restore times.

Also......you should always back your internal sdcard when flashing ROMs espcially early alphas and betas. That way you you can't blame the dev for you losing your stuff. It is not their fault you failed to safeguard your own data. You are using their software at your own risk remember?

As far as flashing the twrp unofficial recovery........download and install "flash image GUI" and flash the recovery from within android is and not fast boot. Rename the unofficial twrp to "openrecovery-twrp-2.6.3.0-dlx.img* but without the quotes. Then flash it.
[HTC Droid DNA] jamiethemorris:
Is anyone else still having problems with the latest twrp beta? I remember people having problems with it erasing pictures and stuff like that, was that just a fluke thing that only happened for a few people? I'm starting to get really tired of cwm's slow backups.
[HTC Droid DNA] gillim74:
I have never had a problem with it and i have flashed every kk rom out
[HTC Droid DNA] zawata:
Same here, never had a problem

Cwm just doesn't live up to the twrp standard
[HTC Droid DNA] Gungrave223:
does anyone else have issues with adb not listed in recovery?
[HTC Droid DNA] slacker126:
[MENTION=912474]Dees_Troy[/MENTION], are we ever going to get updated to the new 2.7 tarp? Hope the dlx hasn't fallen off the grid yet
[HTC Droid DNA] zawata:
theres a 2.7??!? and we dont have it yet!!!!???!!
[HTC Droid DNA] jamiethemorris:
Yeah I've been wondering if we're going to get anymore updates as well. Do "older" devices typically not get any more updates from twrp after awhile? I wanted to build it from the source but I couldn't figure out how. I looked at the official guide but I still didn't understand it. Seems like it's a little bit different than building a ROM.
[HTC Droid DNA] zawata:
From what I understand it not different at all

You sync the twrp repo to bootable/recovery in your ROM source and build the ROM

The recovery image is at out/target/product/dlx/recovery.img

I would love to do it but my schedule just kicked itself into cocaine mode, I leave my house at 730am and don't get home till 9pm

And on saturdays I leave at 730 and get back at 1pm

I'll attempt this weekend(anything to get me away from omni...) But if you wanna try in the meantime feel free

Will probably require light to moderate device tree modification with all the new selinux stuff and probably new device flags for an updated version

I also learned that omni almost requires recovery compilation during the build process(especially of twrp) so this may just help me
[HTC Droid DNA] jamiethemorris:
Yeah I think i figured it out for the most part. I was working on it today but I was lazy and tried to use the probam repo instead of the cm one and ran into errors. Cm repo is syncing right now. Comcast is going to love me
[HTC Droid DNA] zawata:
Haha my cox internet goes out about 12-15 times during a sync

I synced twrps repo in case you can't figure it out,

Youre gone need a new device tree for building too

It should be the DNA repo under dees_troy's github, or twrp's github, Idk which
[HTC Droid DNA] jamiethemorris:
That's the one I'm currently using, it doesn't work with the cm11 branch or something though. I'm not at my computer so I don't remember what the error was... Something not defined in the boardconfig.mk and then it tried to download the official cm device tree. But it looks like rather than using that source directly, I should follow the official guide for building twrp and use the twrp device tree as a reference to modify the cm11 device tree. The official twrp one is pretty old and definitely pre-selinux so it's going to need to be modified either way I think... I just kind of assumed the current twrp beta we have is not using that device tree as-is.
[HTC Droid DNA] jamiethemorris:
I got it built and booting, as soon as I have time I'm gonna see if it flashes/backs up/restores okay
[HTC Droid DNA] zawata:
All those seem to be 2.7 specific

Not device specific but if it doesn't your gonna have to play with the

Twrp specific configs in boardconfig.mk
[HTC Droid DNA] jamiethemorris:
Everything seems to be working okay as far as flashing/restoring/etc goes. The console (or whatever you call it) font is a little small though.
[HTC Droid DNA] jamiethemorris:
Okay, here it is. This is built with the current cm11 kernel. I fixed the small font problem everything flashes, backs up, and restores fine.

TWRP 2.7 Beta
[HTC Droid DNA] mike_augie:
wow .. wow .. wow ... awesome ty very much for this ... nice job .. flashing now :victory:
[HTC Droid DNA] -DroidIsDNA-:
Just to clarify, this can do 4.4 and isn't buggy and won't cause a loss of root for fixing permissions?
[HTC Droid DNA] jamiethemorris:
It works with 4.4. I would expect a few bugs since 2.7 is still in beta although I haven't noticed anything yet. I don't know about fix permissions, it doesn't really serve any purpose anymore in most cases, so I don't use it. But I'm guessing you will still lose root if you use fix permissions. TBH I wouldn't be surprised if fix permissions is removed soon.
[HTC Droid DNA] -DroidIsDNA-:
Thanks man. You've really stepped up. We've lost good devs, but you're a good addition. You've always been a helpful user too.
[HTC Droid DNA] Steve One:
Hello.... So Is anyone using the 2.7 Beta version. And if so how is it working? I'm currently using cwm but would like to come home to twrp.
[HTC Droid DNA] live2die:
i'm on 2.7 beta, it installs just fine, back up, restore and wipe are good too.
[HTC Droid DNA] mopartonyg:
OK dumb question, will this work on sense roms also? (sorry)
[HTC Droid DNA] jamiethemorris:
I'm not sure because I haven't tested it but I would assume so.
[HTC Droid DNA] Steve One:
Sorry to ask but I'm trying to install the twrp 2.7 Beta. But when I go to install flash image gui it says that the device is not supported even though the DNA is. Guess it thinks it's a one max will It work anyway?
[HTC Droid DNA] jamiethemorris:
Maybe try renaming it to recovery.IMG? You have the newest version of flashimagegui right?
[HTC Droid DNA] mike_augie:
yea I was going to say what he did because I used flash gui and it worked just fine with no problems at all
[HTC Droid DNA] live2die:
yes it will. recovery is not rom specific like a kernel.
[HTC Droid DNA] mopartonyg:
I am like Steve I can not get flash gui to recognize my phone. I tried new and old versions
[HTC Droid DNA] jamiethemorris:
The only thing I can think of is maybe the ROM you're using or something. Does your build.prop say it's a different phone? There's other apps that do the same thing as flashimagegui that might work.