[Q] Bizarre hidden files / partitions - T-Mobile HTC One (M7)

I am having issues with TWRP and partition on the device. I downloaded a new rom, which is in /SDCARD/Download directory. I can see it just fine using Root Explorer.
When I boot recovery, my /SDCARD/Download shows files that didn't exist before. Not only is the newly downloaded rom file (with .zip extension) not there, an OLD rom file is, one that existed before I wiped it and started over from a TWRP backup.
Its almost like there are 2 entire partition living on the device. Oh and one other thing: I just started from scratch again (not a recovery) and already have 8GB of space taken. Its under the "OTHER" tab in Phone Storage.
Is there anyway I can just delete everything and start from scratch? Will installing a stock T Mobile RUU do this? If I go that route, do I need to unlock the bootloader again / root again?

Have you flashed to and from 4.2 roms? You can find the other files in twrp by going up to the root folder and then data/media. You could ruu to get rid of it but it'll pop up again if you flash from 4.1.2 to 4.2.2 and back.
Sent from my HTC One using Tapatalk 4

Had this happen to me when I tried a 4.3 Rom and went back to stock T-mo Rom. Used a file explorer to find file O(I think) and transferred all my files back to original sdcard folder.
Sent from my HTC One using XDA Premium 4 mobile app

Well I think I found the problem. I was browsing my sd card using root browser looking for a Rom file (trickdroid.zip). I saw it before in the sdcard/download folder when using the file browser in twrp. But now it's not there.
So I start to pry through other folders and I notice a new folder: "0" zero. A folder called 0 with and entire sdcard folder structure within it. I look in the new download folder and there is.my missing file.
I'm curious how this new zero folder came to be. I have a theory, I did reinstall a Rom without wiping and I think that did it. I usually always wipe but specifically didn't this time because I have a twrp backup that I need to save.
I.take it the OS is now using the regular sdcard path? How can I tell twrp to look in that path for the backup (if I move it there)? When you hit restore in twrp I don't think it lets you browse for the backup. It assumes it's in the "default" spot...
Sent from my HTC One using xda app-developers app

Related

[Q] Problem flashing ROMs in CWM

I'm having an issue flashing a ROM via the sdcard zip file option.
I have (afaik) successfully installed CWM. Had an issue at first with it rebooting every 30 secs but reflashed the kernel and now it seems to work ok. However, when I try to flash a rom and go to the sdcard zip file option, it'll list several folders but not the ROM I want to flash. I have put the ROM on the sdcard in no folders (root folder) and am really at a loss.
I apologize in advance for any n00bish ways. I went through 2 cycles on iOS devices and decide to forgo the jailbreak cat and mouse chase and go android. I haven't regretted it yet. But I could really you some advice on this problem. Really looking forward to getting my phone rooted.
Much Love in Advance
Flu
All I know to say is if you put a .zip file on the sdcard you should be able to see it from cwm recovery. When you boot the phone normally can you see the file in file manager?
Which ROM are you trying?
And are you putting the file on the phones internal sdcard or an external sdcard?
Sent from my SAMSUNG-SGH-I777 using XDA App
I was trying the unnamed ROM -- I just have it on the sdcard in the phone. I see it fine when I plug it in and look at it through windows. What file manager are you referring to?
I have to go to work but later on tonight I'll probably try reflashing CWM and see if that helps.
fludiddy said:
I was trying the unnamed ROM -- I just have it on the sdcard in the phone. I see it fine when I plug it in and look at it through windows. What file manager are you referring to?
I have to go to work but later on tonight I'll probably try reflashing CWM and see if that helps.
Click to expand...
Click to collapse
Any file manager will do, there its one app named "My Files" that came with the phone. If you can see the file from that file manager you should be able to see it in cwm recovery.
Sent from my SAMSUNG-SGH-I777 using XDA App
I found it. Apparently, what appears to be the main folder in windows is actually the /externalsd folder. Found it in the stock file manager and was able to copy over the file and get it rooted. Thanks for your help!
Flu

[Q] Unable to find backups in directory?

So I've made a couple Nandroid Backups and I am unable to find them in any of my directories. The reason I ask is because I'd like to rename a couple of them before I forget what I was running. I usually use ROM Manager (i know.. this is the only thing i use it for) to rename my backup files. It's just easy that way. RM isn't seeing my recent backups.. I dl'd CWM Manager app and it sees the backups if I go into "restore".. but there is no way to rename them. Also.. when i go into my phones files and into clockworkmod folder.. i still only see a couple old backups.. none of my new ones are anywhere to be found.
So i guess I'm wondering wtf the backups went to, and how do i find them in my directory? Thanks, appreciate any info I get
also if someone has a good alternative to ROM Manager for renaming backup files.. I would appreciate that as well, thanks guys!
I get the option of backing up to either sd or ex_sd. I don't suppose that gotcha?
As far as renaming, I use the ancient method of keeping a separate .txt file with the nandroid name appended with ROM and kernel. I have to edit the text file when I change ROMs or kernels, but all un-appended backups subsequent to the last appended ROM/kernel are still from that preceding combination.
Capiche?
geomax45 said:
I get the option of backing up to either sd or ex_sd. I don't suppose that gotcha?
As far as renaming, I use the ancient method of keeping a separate .txt file with the nandroid name appended with ROM and kernel. I have to edit the text file when I change ROMs or kernels, but all un-appended backups subsequent to the last appended ROM/kernel are still from that preceding combination.
Capiche?
Click to expand...
Click to collapse
I've haven't gotten the option to where my backups are kept. Regardless I'm still unable to find the backups anywhere I'm my directory.
sent from my Galaxy SII
Backups are in clockworkMod folder. in /sdcard or sdcard/external_sd/ depending on your kernal. the newer kernals have external sdcard as an option.
Strange that you cant find them. Delete the CWM folder and take another backup?
Maybe sdcard is full and backups arent getting saved?
MotoMudder77 said:
Backups are in clockworkMod folder. in /sdcard or sdcard/external_sd/ depending on your kernal. the newer kernals have external sdcard as an option.
Strange that you cant find them. Delete the CWM folder and take another backup?
Maybe sdcard is full and backups arent getting saved?
Click to expand...
Click to collapse
It is strange. Both my SD cards have plenty of space. The part that bugs me is that the app CWM Manager see's the backups if I choose restore, but yet I cannot find those files ANYWHERE in my phone. Believe me I've opened my clockworkmod folder countless times hoping to see them. When I boot into recovery and choose restore.. I only see the two new ones... then to get the old backups in recovery I have to choose restore from external SD. So My backups are there on the phone. They are just hiding somewhere and I have no idea where else to look. I'm really just trying to rename them. I know where to find em in recovery if I need to.. but it's bugging me I don't know where to find em in my phone directory.
Have you tried another file manager?
Sent from my GT-I9100 using xda premium
geomax45 said:
Have you tried another file manager?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I've tried using RootExploer as well as the stock file manager app. Even when I plug the phone into my PC via USB and search that way I cannot find the backups. Its driving me mad LOL
Not sure it should make too much of a difference but 1 of the two "missing" backups was taken with stock illusion kernel, the other backup I'm missing was taken with the new Siyah kernel 2.6.11.
sent via Galaxy SII
Backups SHOULD be in:
/sdcard/clockworkmod/backup
or
/emmcs/clockworkmod/backup (which is /sdcard/external_sd/clockworkmod/backup on Samsung firmwares - when in CWM itself it's /emmc, same for CM7)
So.. after days of confusion I found the files.. thanks to everyone for replying. There was another "clockworkmod" folder in my external SD card. I didn't realize that as I kept opening up the first clockworkmod folder I saw... at the very bottom. Below my music, with a couple other zips, was the other clockworkmod folder... same as the one on my SD card- clockworkmod> backup> ..zips!
FINALLY!
thank for all the replies!

[Q]How do we backup our efs ?

This is important I think we should figure out a way asap
Sent from my GT-I9305 using xda app-developers app
install android terminal to your device
and try the command below
Code:
su
dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/efs.img
Great I did it now I have efs.img which is 20mb is this my backup ? Jus curios how come with k-tool and i9300 it saves 2 files and much smaller. What's the difference
Sent from my GT-I9305 using xda app-developers app
compression level... if u wan a smaller file , u can download kzn or my rom and u can just backup efs with it without flashing rom..
nah 20 mb is fine thanks dude, I am just wondering why there was 2 files with the K-tool but one with this way
I am out of thanks I have been thanking the I9305 Devs all day, Dont worry another load coming your ways tomo lool
nv_data.bin not in efs folder
Hi guys,
I used Total Commander to copy my /efs directory to a backup folder within the internal sd card, so it is likely that all file permissions are retained in the efs backup. However, I did notice that my /efs directory did not contain nv_data.bin, even though my IMEI is intact. Can anyone also check whether you have nv_data.bin inside your /efs please?
No i dont have that file in that directory......Prodigiez way is excellent a nice neat Img file has been created with all the efs valuable info/data..... My Rom Is now De-Bloated, Zip_aigned/Deodexed, Rooted, Unbranded and Nandroided thanks to all these devs and my motivation
My god what rock have you lot been living under for the last year or so?
Download the POPULAR and VERY WELL KNOWN EFS Pro application from my sig.
Sent from my GT-I9305 using Tapatalk 2
there you have it, I have used your windows tool and it created the exact same EFS.img as does this command line
Code:
su
dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/efs.img
But your software way is much easier and even has a way to restore it. thank you very much yeh i must of been living under a rock cause all i ever knew about was K-tool with my previous phone i9300, but K-tool does not work with the I9305
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to Q&A
Maybe its just me but I prefer the old style copy and paste method. Using root explorer or similar I simply copy the efs and factory folders and save in multiple places (external sd, PC etc).
Sent from my GT-I9300 using xda premium
sxi200 said:
Maybe its just me but I prefer the old style copy and paste method. Using root explorer or similar I simply copy the efs and factory folders and save in multiple places (external sd, PC etc).
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Not a good idea as you're also losing the permission bits (I take it your external SD is a variety of the FAT file system and your PC NTFS). For example, nv_data.bin has a mode of 0700 and is owned by radio:radio. Say your /efs folder gets wiped and you then copy back your efs folder from your backup. The file (since the umask seems to be 077) will now have the mode as 0600 and be owned by root (because you'd be using Root Explorer/Terminal Emulator to copy back the files which runs as root and not radio). Whatever process (presumably running under the user radio) that looks at that file now may not be able to do so now it's owned by root.
With a tar backup, you're still preserving the permissions which are just as important as the files themselves (though you could look at another GS3 to figure out the correct permissions, granted). With a backup to an image using dd, well, it's the raw partition so I imagine everything on /efs gets backed up.
qwerty12 said:
Not a good idea as you're also losing the permission bits (I take it your external SD is a variety of the FAT file system and your PC NTFS). For example, nv_data.bin has a mode of 0700 and is owned by radio:radio. Say your /efs folder gets wiped and you then copy back your efs folder from your backup. The file (since the umask seems to be 077) will now have the mode as 0600 and be owned by root (because you'd be using Root Explorer/Terminal Emulator to copy back the files which runs as root and not radio). Whatever process (presumably running under the user radio) that looks at that file now may not be able to do so now it's owned by root.
With a tar backup, you're still preserving the permissions which are just as important as the files themselves. With a backup to an image using dd, well, it's the raw partition so I imagine everything on /efs gets backed up.
Click to expand...
Click to collapse
Thanks for that useful post, answered a couple of queries I had :thumbup:
qwerty12 said:
Not a good idea as you're also losing the permission bits (I take it your external SD is a variety of the FAT file system and your PC NTFS). For example, nv_data.bin has a mode of 0700 and is owned by radio:radio. Say your /efs folder gets wiped and you then copy back your efs folder from your backup. The file (since the umask seems to be 077) will now have the mode as 0600 and be owned by root (because you'd be using Root Explorer/Terminal Emulator to copy back the files which runs as root and not radio). Whatever process (presumably running under the user radio) that looks at that file now may not be able to do so now it's owned by root.
With a tar backup, you're still preserving the permissions which are just as important as the files themselves (though you could look at another GS3 to figure out the correct permissions, granted). With a backup to an image using dd, well, it's the raw partition so I imagine everything on /efs gets backed up.
Click to expand...
Click to collapse
I've used the copy / paste method on S1, S2 and S3 and copying the folders / files back manually with root explorer works all the time. Haven't had any issues with permissions.
I test by purposely corrupting my imei (yes I'm crazy) and copying the backup back and all is good. Mind you I also have the auto generated tar backup as well but still prefer the copy / paste method.
Sent from my GT-I9300 using xda premium
Fair enough, I'd just rather restore from a tar backup since I believe there's a reason why nv_data.bin for example is owned by radio, but good to know it works.
Sent from my GT-I9300 using Tapatalk 2
qwerty12 said:
Fair enough, I'd just rather restore from a tar backup since I believe there's a reason why nv_data.bin for example is owned by radio, but good to know it works.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Well I just checked 2 phones:
S1: I have previously restored the efs folder via copy / paste and the current owner is 'system'.
S3: It's my second S3. Unlike my first unit I haven't repasted the efs folder. Owner is 'radio'.
Conclusion is that you are correct about permissions not copying over correctly with the copy / paste method. It's an easy fix via root explorer to change if required, but not ideal especially for noobs.
Fortunately the change in owner didn't cause any issues but still probably best to use the tar method as you suggest just in case.
Thanks for the info.
Sent from my GT-I9300 using xda premium
Read this....very useful
http://forum.xda-developers.com/showthread.php?p=30682712
btemtd said:
This is important I think we should figure out a way asap
Sent from my GT-I9305 using xda app-developers app
Click to expand...
Click to collapse
Well, obviously, you copy the contents of the efs partition
Code:
/efs
and zip it into a tar ball.
Then you put it safely onto your dropbox and voilà.
Hope I could help!
LG familyguy59/Beatsleigher
does nandroid backup saves EFS as well?
in my backup folder I have these two files:
efsbackup.tar.gz
efsdev-mmcblk0p3.img.gz
but I dont remember backing them up

Question: how to return to stock?

I'm recently soff using the moonshine method. I've been playing around with different ROMs and recently flashed a 4.2.2 ROM Jellybeer (I think it was.) I had a gnex before the DNA and remember that 4.2.2 changes the file structure somehow and adds a folder "0" in you sdcard partition. I played with Jellybeer and decided to go back to Viper Rom and after booting into recovery my backups where gone. Remembering from my gnex flashing that the file structure changes I booted back into jellybeer and used root explorer and saw that I now had a folder "0" on the sdcard partition with my files in it. After searching in just the sdcard partition I found my backups in the TWRP folder. (I'm using the touchwork mod recovery). I had to move them to the "0" folder, then TWRP folder in order to see them in recovery. Also, I use titanium for some backup of apps which I had to direct titanium to see them in the new "0" folder. Now, when I reboot into recovery to flash something or backup/restore something it has to be in the "0" folder. Is there a way to revert this? or an RUU to flash the device back to stock? I know in 4.2.2, this is the way the file structure is going to be to allow the use of user accounts so each user has there own folder. I remember on the gnex that the CWM recovery was modified to take this into account so backups wouldn't get lost.
Also, let this be a warning for those flashing 4.2.2 roms, the file structure gets changed and if you don't know how to get them back you might get stuck.
Anyway, anyone have a solution for this? Thanks
hobby31 said:
I'm recently soff using the moonshine method. I've been playing around with different ROMs and recently flashed a 4.2.2 ROM Jellybeer (I think it was.) I had a gnex before the DNA and remember that 4.2.2 changes the file structure somehow and adds a folder "0" in you sdcard partition. I played with Jellybeer and decided to go back to Viper Rom and after booting into recovery my backups where gone. Remembering from my gnex flashing that the file structure changes I booted back into jellybeer and used root explorer and saw that I now had a folder "0" on the sdcard partition with my files in it. After searching in just the sdcard partition I found my backups in the TWRP folder. (I'm using the touchwork mod recovery). I had to move them to the "0" folder, then TWRP folder in order to see them in recovery. Also, I use titanium for some backup of apps which I had to direct titanium to see them in the new "0" folder. Now, when I reboot into recovery to flash something or backup/restore something it has to be in the "0" folder. Is there a way to revert this? or an RUU to flash the device back to stock? I know in 4.2.2, this is the way the file structure is going to be to allow the use of user accounts so each user has there own folder. I remember on the gnex that the CWM recovery was modified to take this into account so backups wouldn't get lost.
Also, let this be a warning for those flashing 4.2.2 roms, the file structure gets changed and if you don't know how to get them back you might get stuck.
Anyway, anyone have a solution for this? Thanks
Click to expand...
Click to collapse
You don't think that maybe your "question" should go in..........the Q&A Section?
Moved to Q&A
hobby31 said:
Anyway, anyone have a solution for this? Thanks
Click to expand...
Click to collapse
Check out the TWRP thread in original development (last couple pages). Beaups provided a couple different solutions to return the file structure back to 4.1.x
http://forum.xda-developers.com/showthread.php?p=40600897
Sent from my HTC6435LVW using Tapatalk 4 Beta

ROM zip doesn't show up in recovery

I recently decided to explore custom ROMs. I installed ARHD for my one but recently decided to try out the GPe ROM. However after I downloaded the ROM and moved it to my phone, it wouldn't appear in CWM recovery. Is there any reason for it? I've copied it multiple times to multiple directories but it won't show up
Sent from my HTC One using xda premium
Try directory '0'
Sent from my HTC One using xda premium
I have the exact same issue? Rooted, twrp installed, the directories show up when I usb to my laptop but created Rom folder is non existent in recovery. Tried downloading Cleanrom straight from the device as well into the "downloads" directory. Downloads shows up in twrp but the Rom isn't there. But browsing "my files" on the device shows that it's there?
Reflash a 4.1.2 rom, copy all your stuff off the device to computer, delete all but rom zip on internal storage flash rom then copy back content
Keep it in the root of you memory. Should show up :thumbup:
Tried putting the .zip file in the root of the internal storage. To no avail. It is invisible. Nothing there at all. What gives?
I also have no such thing as a directory "0"?
Use a different SD?
TeeJay!! said:
Use a different SD?
Click to expand...
Click to collapse
a different SD? The one has internal storage only...am I missing something?
cadorette said:
a different SD? The one has internal storage only...am I missing something?
Click to expand...
Click to collapse
Opps sorry... my bad reflash your phone clean out everything and then try
TeeJay!! said:
Opps sorry... my bad reflash your phone clean out everything and then try
Click to expand...
Click to collapse
another post said that..im gonna re-flash my current rom (at&t stock rooted) and try again...kinda strange ive been flashing since the HTC HD2 through the Galaxy S4 and everything in between and have never seen this...I'll try a re-flash and check in tomorrow
TeeJay!! said:
Opps sorry... my bad reflash your phone clean out everything and then try
Click to expand...
Click to collapse
Sorry..been away from HTC for a while..as in reflash my current ROM?
Did that...went in, wiped EVERYTHING...re-flashed current ROM (just a stock rooted ATT deodex) and its the same thing...the current ROM I'm running shows in TWRP..
But any ROM I've transferred via PC into internal memory, or downloaded straight from the device, is completely non existent...
the "ROMs" folder I created on my PC to the external memory (where I store the ROMs for easy access) is not there either.
Should I search GooManager for an updated TWRP or something?
Update: Wiped again and reinstalled TWRP fresh. Still have exact same issue. everything shows on the phones memory when i connect to PC, but loading up TWRP recovery they are not there. In any directory i select. I'm lost. I want to ROM this thing like crazy but I can't lol!!
OK...fixed it!!!
After a lot of digging it seems when I connect to the PC and look at the storage I DO have a "0" directory (only through the PC though, not in recovery). I opened the "0" folder, moved my ROM to a directory in that via PC, and voila! Now the ROMs show up in wherever I saved them as long as I open the "0" area first through the PC..
Now I just navigate to wherever I saved them (anywhere after double clicking "0" when connected to PC) and the zips are there and present and I can flash. Not exactly sure why this is but it worked for me!
so...in a nutshell...
1. Connect your One to PC.
2. choose "open to view files" (or if youre on a mac like me, android file transfer)
3. find the "0" folder/directory and open it
4. copy the .zip file of your desired ROM there
5. reboot into recovery and it should be there.
6. flash and enjoy!
Keep in mind this is for TWRP based recovery. I am not sure about anyone using CWM that has this problem.
cadorette said:
Sorry..been away from HTC for a while..as in reflash my current ROM?
Did that...went in, wiped EVERYTHING...re-flashed current ROM (just a stock rooted ATT deodex) and its the same thing...the current ROM I'm running shows in TWRP..
But any ROM I've transferred via PC into internal memory, or downloaded straight from the device, is completely non existent...
the "ROMs" folder I created on my PC to the external memory (where I store the ROMs for easy access) is not there either.
Should I search GooManager for an updated TWRP or something?
Update: Wiped again and reinstalled TWRP fresh. Still have exact same issue. everything shows on the phones memory when i connect to PC, but loading up TWRP recovery they are not there. In any directory i select. I'm lost. I want to ROM this thing like crazy but I can't lol!!
Click to expand...
Click to collapse
I'm having the same issue. If you find a fix please PM me.

Categories

Resources