[Resolved] Strange directory I can't remove from SD Card - Motorola Droid X2

Okay, I don't know how this happened, but I have a strange directory on my external SD card called "D/cuments".
Here is the strange thing. It doesn't show up in root explorer. However, if I adb shell in, I can see it. Also, in Windows explorer, I can see it. But I can't delete it.
If I set my USB connect to PC Mode, I can rename it and delete it from Windows explorer, but it reality, it doesn't happen. If I adb shell in, I'll still see the "D/cuments" folder when I do an ls. If I do an ls -l in adb shell, it not there.
If I set USB connection to USB Mass Storage mode, I can still see the "D/cuments" folder in Windows explorer, but I cannot delete it or rename it as I get the following error:
Cannot delete file: Cannot read from the source file or disk.
I have no idea how this file showed up on my SD card.
Any ideas? I really want to avoid having to reformat the card, but I guess my only recourse is to copy everything over, reformat the SD card, and then copy everything back.
Thanks!

Haha...sorry I was about to suggest u format the card before I read the last part of ur post
Had u installed any new apps recently? Or been messing around with ur sdcard?

ashclepdia said:
Haha...sorry I was about to suggest u format the card before I read the last part of ur post
Had u installed any new apps recently? Or been messing around with ur sdcard?
Click to expand...
Click to collapse
I had been restoring some nandroid backups, but that's about it.
I'm in the process of backing up the SD card and getting ready to reformat it. <sigh> Since it's 32gb and I have my music on it, it's going to take some time. Yuck!

I wonder if it has just been there for a long time but u just never noticed it b before lol
But I was gonna say if it ain't a big file and it isn't hurting anything u might as well just leave it there instead of screwing with it and possibly killing your card some how

ashclepdia said:
I wonder if it has just been there for a long time but u just never noticed it b before lol
But I was gonna say if it ain't a big file and it isn't hurting anything u might as well just leave it there instead of screwing with it and possibly killing your card some how
Click to expand...
Click to collapse
It's empty and takes up zero storage. It's just kind of annoying seeing it there.
What's really strange is, if I use the default ls command in ADB, it shows up. If I do an ls -l, it doesn't show up.
Code:
# ls
ls
...
Documents
com.espn.score_center
Cut the Rope
data
[B][COLOR="Red"]D/cuments[/COLOR][/B]
download
ezPDFReader
...
#
#
#
# ls D*
ls D*
D/cuments: No such file or directory
#
Then, if I use the ls command in BusyBox, it still doesn't show up. It's really strange.
I don't know if it could have been malware, but I don't run any suspicious applications. All my apps are purchased from the Market or Amazon Market, other than of course, various flash zip files from XDA, but even then, the only things I've flashed/installed that are not from the market are as follows:
Eclipse 1.3
2.3.4 build.prop Mashup
DX2 Battery Fix
BSR
All of these I downloaded from XDA and have used for months, so I've never seen this before.
I did have other directories show up that I was able to delete that looked like the wonderful Windows short-hand for long file names. You know, those stupid filenames with tildes (~) in them to fit the 8.3 filename format? Really strange.
The only thing I can think of that might have caused this, now that I think of it, was when I was connected via PC Mode and was copying files from my SD card to my hard drive. It hung and wouldn't stop and I had to go, so I tried cancelling the copy and it wouldn't cancel. I then tried to eject the phone via the windows "remove hardware" quick access icon and that didn't work, so I had to just pull the USB cable from the PC. Not sure if that could have caused this or not, but I wasn't copying anything TO the SD Card. I was copying FROM the SD card.
Oh well.

That could easily cause problems like you're seeing. If you haven't formatted the card yet, try running chkdsk on it from Windows. chkdsk (drive letter) /f

Might have info on it for plug and play and thats why you cant delete it. Flash drives have files on them for that even if they are formatted. That may be it. I do not know for sure.

Before doing anything drastic, try something easy: reconnect it to your windows install and try safely removing. Sometimes it'll lock a file if it is unmounted uncleanly.
If that doesn't work, I'd head back to the terminal and try a few more things. Android will have problems with a file containing a slash because slashes indicate separate directories. It's probably getting confused. I'd try doing ls -la followed by the filename (cap sensitive!) in quotation marks. That should tell the shell to interpret the name as a single entity instead of trying to split it into a directory called D containing a file called cuments, which it might be doing. If it shows the file that way, run rm the same way. If it sees the file at that point but can't operate on it, su to root first and then maybe try using rm -rf.
Edit: Actually, after further consideration, there's going to be no way to remove the file from within Android. Any utility that you use to try to remove it will interpret it as a file within a directory instead of a single directory. There's no way to create such a file from within the system, so it shouldn't exist, period. There's no way to get to it from within your phone since forward slashes are hardcoded into the kernel as indicators for directories, so the usual tricks, like escaping the slash with a backslash or using quotation marks won't work. You're going to have to deal with the file from within Windows by mounting your sd card. That's the only way you'll ever get rid of it short of a reformat.

robocuff said:
That could easily cause problems like you're seeing. If you haven't formatted the card yet, try running chkdsk on it from Windows. chkdsk (drive letter) /f
Click to expand...
Click to collapse
That fixed it! I ran the Error-checking tool from Local Disk Properties in Windows Explorer, had it automatically fix file system errors and scan for and attempt recovery of bad sectors. Once that happened, the "D/cuments" folder became "DOCUME~1" and I could see the files inside of it.
Thanks again for the simple, yet effective, tip!

Sooooo
What was in the folder? Lol.....

You know, "Documents"

RyanThaDude said:
You know, "Documents"
Click to expand...
Click to collapse
Must have been a NOClist lol

ashclepdia said:
Must have been a NOClist lol
Click to expand...
Click to collapse
Well, it was a Mission that was Impossible trying to delete it before I ran check disk on it.

Glad to hear that fixed it for ya. Anytime odd things like that start happening, chkdsk is always my first resort. It's not always the answer but it's one of the easiest things you can do and, well, I don't know about you but I've always been one to take the easy way out if I could.

Have you tried to solve this with specialized software?
When I receive this kind of messages, or messages like path too long, Could not find this item, Error Copying File or Folder, etc.

dan_lee_01 said:
When I receive this kind of messages, or messages like path too long, Could not find this item, Error Copying File or Folder, etc.
Click to expand...
Click to collapse
What is this I don't even

the run on sentences are driving me

ashclepdia said:
the run on sentences are driving me
Click to expand...
Click to collapse
What is wrong with run on sentences they seem to work find and the get the point across too and they aren't that hard to read and follow and they are easier to type atleast I thinks so don't you?
Sent from my Cyanocrack using Xparent Blue Tapatalk

motcher41 said:
What is wrong with run on sentences they seem to work find and the get the point across too and they aren't that hard to read and follow and they are easier to type atleast I thinks so don't you?
Sent from my Cyanocrack using Xparent Blue Tapatalk
Click to expand...
Click to collapse
Lol
sorry I meant the incomplete are driving me

Related

Problem that only an expert chef can answer :)

or anyone who knows the answer... lol
Ok so here is my problem....
everytime my phone starts it copies over the following files to the root of my storage card "pim.vol, eT9Cdb.Cdb, eT9Rudb.Rdb" so when i do a hard reset i put into the initflashfiles.dat
Directory("\"):-File("pim.vol","\storage card\pim.vol")
Directory("\Windows"):-File("eT9Rudb.Rdb","\storage card\eT9Rudb.Rdb")
Directory("\Windows"):-File("eT9Cdb.Cdb","\storage card\eT9Cdb.Cdb")
I also tried, as a test to copy them to my documents and that also did not work. Now the rom still loads and it does not freeze during first boot, if you were thinking that i did not delete the first two bytes. it just does not copy them from the storage card to the device i had it setup like this on my x7500 and it worked perfectly so im not sure what the problem is. Any thoughts ?
thanks for looking
irus said:
or anyone who knows the answer... lol
Ok so here is my problem....
everytime my phone starts it copies over the following files to the root of my storage card "pim.vol, eT9Cdb.Cdb, eT9Rudb.Rdb" so when i do a hard reset i put into the initflashfiles.dat
Directory("\"):-File("pim.vol","\storage card\pim.vol")
Directory("\Windows"):-File("eT9Rudb.Rdb","\storage card\eT9Rudb.Rdb")
Directory("\Windows"):-File("eT9Cdb.Cdb","\storage card\eT9Cdb.Cdb")
I also tried, as a test to copy them to my documents and that also did not work. Now the rom still loads and it does not freeze during first boot, if you were thinking that i did not delete the first two bytes. it just does not copy them from the storage card to the device i had it setup like this on my x7500 and it worked perfectly so im not sure what the problem is. Any thoughts ?
thanks for looking
Click to expand...
Click to collapse
You could try using a provxml file operation instead? Not sure if initflashfiles generally is happy about copying from a removable storage device such as the sd slot (just a guess), since in your Athena it is a fixed disk it may behave differently??
Another thing you could try is to do the copy operation as a stage of the customization process, use an xml file in there?? Perhaps the SD bus driver is not loaded until after initflashfiles has completed since really it has to run that before alot of other operations on first boot?
irus said:
or anyone who knows the answer... lol
Ok so here is my problem....
everytime my phone starts it copies over the following files to the root of my storage card "pim.vol, eT9Cdb.Cdb, eT9Rudb.Rdb" so when i do a hard reset i put into the initflashfiles.dat
Directory("\"):-File("pim.vol","\storage card\pim.vol")
Directory("\Windows"):-File("eT9Rudb.Rdb","\storage card\eT9Rudb.Rdb")
Directory("\Windows"):-File("eT9Cdb.Cdb","\storage card\eT9Cdb.Cdb")
I also tried, as a test to copy them to my documents and that also did not work. Now the rom still loads and it does not freeze during first boot, if you were thinking that i did not delete the first two bytes. it just does not copy them from the storage card to the device i had it setup like this on my x7500 and it worked perfectly so im not sure what the problem is. Any thoughts ?
thanks for looking
Click to expand...
Click to collapse
I'd use CPY1/CPY2 in a UC script
Code:
CPY1:\storage card\pim.vol
CPY2:\pim.vol
CPY1:\storage card\eT9Rudb.Rdb
CPY2:\Windows\eT9Rudb.Rdb
CPY1:\storage card\eT9Cdb.Cdb
CPY2:\Windows\eT9Cdb.Cdb
mrvanx said:
You could try using a provxml file operation instead? Not sure if initflashfiles generally is happy about copying from a removable storage device such as the sd slot (just a guess), since in your Athena it is a fixed disk it may behave differently??
Another thing you could try is to do the copy operation as a stage of the customization process, use an xml file in there?? Perhaps the SD bus driver is not loaded until after initflashfiles has completed since really it has to run that before alot of other operations on first boot?
Click to expand...
Click to collapse
i will try this if all else fails but i would like it to be from the initflashfiles.dat but what you say makes sense.... thanks
andret said:
I'd use CPY1/CPY2 in a UC script
Code:
CPY1:\storage card\pim.vol
CPY2:\pim.vol
CPY1:\storage card\eT9Rudb.Rdb
CPY2:\Windows\eT9Rudb.Rdb
CPY1:\storage card\eT9Cdb.Cdb
CPY2:\Windows\eT9Cdb.Cdb
Click to expand...
Click to collapse
i thought about doing this but i read somewhere that sdautorun does not like spaces in the files path.... thanks for the info
ok so i tried using the cpy1/cpy2 and it actully worked however it did not copy over the pim.vol so i tried to copy it over manually and it let me but after i did that i could no longer press on contacts, calender, or get to the phone pad any thoughts?
I think you'll probably need to close down any process actively using the pim database before copying it over, it's probably open when you're overwriting it and getting corrupted..
Da_G said:
I think you'll probably need to close down any process actively using the pim database before copying it over, it's probably open when you're overwriting it and getting corrupted..
Click to expand...
Click to collapse
i changed the reg values to my documents then changed them back, i am kindof thinking that htc may have set this up a little differently on the TP which is why i am having so much trouble but thats is only my guess
ok so im thinking part of the problem is that the pim.vol file is working with some other file for contacts, here is why: i copied the pim.vol file from my rom renamed it pim.vol_ put it into my rom and flashed it, of course i put Directory("\Windows"):-File("pim.vol","\Windows\pim.vol_") into the initflashfiles.dat file and still not contacts. so i have no idea why this does not work any thoughts. thanks

Dell Streak Icon Autorun for USB

inspired by the other thread with the icon... I made a new one and attached the autorun... just unzip to your root of your sd card and make them hidden.. unattach and attach and viola!
Any idea why the Streak would be erasing the "autorun.inf" file each time I connect it? The "DellStreak.ico" is still on the root but the inf file gets wiped each time I connect it and it's driving me crazy.
I use these icons on all my devices to identify them visually and this is the only one that's giving me this problem
cdzo72 said:
Any idea why the Streak would be erasing the "autorun.inf" file each time I connect it? The "DellStreak.ico" is still on the root but the inf file gets wiped each time I connect it and it's driving me crazy.
I use these icons on all my devices to identify them visually and this is the only one that's giving me this problem
Click to expand...
Click to collapse
no clue why this is happening to yours... did you try making the autorun.inf read-only?
I read somewhere here in the forum, although not here in the Streak threads that Froyo by default deletes and autorun.inf files it finds on either the internal or external sd cards.... any truth to that or a workaround for it?
Krad said:
inspired by the other thread with the icon... I made a new one and attached the autorun... just unzip to your root of your sd card and make them hidden.. unattach and attach and viola!
Click to expand...
Click to collapse
How do u make them hidden?
Sent from the Almighty Streak!
borijess said:
How do u make them hidden?
Sent from the Almighty Streak!
Click to expand...
Click to collapse
Well that's the easy part. You simply right click the file, go to properties and click on Read Only and also Hidden
cdzo72 said:
Well that's the easy part. You simply right click the file, go to properties and click on Read Only and also Hidden
Click to expand...
Click to collapse
What program on u r phone are you using to do that?
Sent from the Almighty Streak!
borijess said:
What program on u r phone are you using to do that?
Sent from the Almighty Streak!
Click to expand...
Click to collapse
I don't use the phone I use the computer when I connect the Streak to it
cdzo72 said:
I don't use the phone I use the computer when I connect the Streak to it
Click to expand...
Click to collapse
That's what I am doing and can't see the .inf file.
Sent from the Almighty Streak!
borijess said:
That's what I am doing and can't see the .inf file.
Sent from the Almighty Streak!
Click to expand...
Click to collapse
Well that's the very point of my question.... the autorun.inf file I put on the root of the SD card gets erased. My question earlier was how do I keep this from happening.
I create an autorun.inf file that says:
[autorun]
icon=.\DellStreak.ico (this is what's in the file if I put a hidden icon on the root of the SD card)
or
[autorun]
icon=autorun\DellStreak (this is what's in the file if I put the hidden icon within a folder that's called "autorun" on the root of the file)
Either way, the icon is still there in the root of the SD card, so is the "Autorun" folder with another DellStreak.ico icon inside of it, and no matter which approach I take, when I disconnect the Streak and reconnect it, the autorun.inf file has been erased. Thus that leaves Windows without a directory command to look for the icon when it gets connected to the computer.
I hope I haven't lost you in what I'm doing. What I am doing is correct, well at least it's correct for any other device I connect to any other PC I have ever used.
I have flash drives, sd chips, external hard drives, and I have these files in all of them so that when I am looking at all the drives on the My Computer page, I see the icon associated with that drive, not just a generic icon and a letter.
Aight I think I got it to work now....
Disconnect the Streak from the computer and uncheck USB debugging.
Reconnect to the computer and places the files on the SD of the Streak like you want them, read-only and hidden. Mount and unmount from the computer a couple times to make sure you .inf file is correct and you are seeing the icon by the drive letter.
After a couple of successful attempts I got brave and went back and rechecked USB debugging and the file was still on the SD after a couple of disconnects.
I don't know enough about what's going on for this process to have worked, I just got lucky
Edit: no longer working this morning, the autorun is once again gone from the SD card (this is driving me crazy, I see no good reason for this sort of programming)

[Q] APK Creation

Well as many of you know we're over most of the hurdles we needed to jump with the CM7 build for Nook tablet.
Updates for the internal version are simple via CWM, the SD version is not so simple of course.
I'm assuming that it should be possible to built an APK that gains superuser permissions then copies the new files to the system. Can anybody confirm this is possible please?
We need to know that we can tell our SD user that they can update their version just as easy as the internal user
Thanks in advance for your help again everyone!
Well presumably this is how ROM Manager and Metamorph both do their thing, just in a slightly more round about way (as they don't come with the files they need to copy). I'm almost 100% sure this is possible, but I've never tried it personally.
EDIT: Looks like this is how you'd do it: http://developer.android.com/reference/java/io/File.html. Specifically the renameTo() method.
CelticWebSolutions said:
Well as many of you know we're over most of the hurdles we needed to jump with the CM7 build for Nook tablet.
Updates for the internal version are simple via CWM, the SD version is not so simple of course.
I'm assuming that it should be possible to built an APK that gains superuser permissions then copies the new files to the system. Can anybody confirm this is possible please?
We need to know that we can tell our SD user that they can update their version just as easy as the internal user
Thanks in advance for your help again everyone!
Click to expand...
Click to collapse
Well there are about a dozen ways to do this. First of one of the hardest things is comming up with the commands/script. I can defiantly do this. If you want an apk, there are a few guys whom could port my script to an apk. I'm going to make a script here that will format, and create partitions and extract directly from the nook, no need to go through the fancy formatting and such, just go into terminal and run the script. Ill post a prototype for you to have the testers test!
Do you think something like BacksideUpdater inside custom ROM for LG Optimus V?
made by JerryScript
JerryScript i very nice guy, I bet if you ask him, he will let you play with his code
if is it what you looking for
Yes, this is possible. I wrote an app that flashes the recovery partition for my older Froyo phone in the very rudimentary Basic4Android. Copying files under root privileges was part of this process. Fairly easy if you find the right coding examples in whatever your development platform of choice.
xdajunkman said:
Yes, this is possible. I wrote an app that flashes the recovery partition for my older Froyo phone in the very rudimentary Basic4Android. Copying files under root privileges was part of this process. Fairly easy if you find the right coding examples in whatever your development platform of choice.
Click to expand...
Click to collapse
So one of the problems is its not really copying. Its more of an extraction from one place to another. We are required to use dd, and fdisk(for formatting).
GREAT! I was worried updates would be to complicated for people
Sent from my Nook Tablet using xda premium
... and I was worried that I might have to wipe my NT clean again to get the updates. After a week with this wonderful upgrade, I've got a LOT of customization I don't want to lose...
Whoops, wrong button with the thanks. Anyway, it occurs to me you could just have people run a script from a terminal emulator. That would probably be the simplest way to do it. Make an Update folder on the SD card, add it to the PATH by default, and users could just copy over the update files and run the script. Just a thought.
Sycobob said:
Whoops, wrong button with the thanks. Anyway, it occurs to me you could just have people run a script from a terminal emulator. That would probably be the simplest way to do it. Make an Update folder on the SD card, add it to the PATH by default, and users could just copy over the update files and run the script. Just a thought.
Click to expand...
Click to collapse
Has to be simple, something like copy an update.zip onto the SD card then run the apk which will automatically run the update in the zip But my knowledge of such things is limited so I need help there
Same process. With the above method, the user would only have to copy over the file, open a terminal, and type 'update'. With the apk idea you just have to add a little more time for someone to actually write the app (not that it would take too long).
Sycobob said:
Same process. With the above method, the user would only have to copy over the file, open a terminal, and type 'update'. With the apk idea you just have to add a little more time for someone to actually write the app (not that it would take too long).
Click to expand...
Click to collapse
Hmm.... that sounds good.
Anybody know how to actually implement it ?
Dammit, idk why I keep hitting the thanks button thinking it's reply >.>
Anyway, it's just a matter of setting the PATH variable to include /sdcard/Update/ or something similar. To make an actual update, make a folder called Update, fill it with all the files that need to be copied over (probably in a directory structure), and write a script that actually copies everything over. You'll need to make sure sh is in /system/bin (I think it is by default).
You could zip the the files as well, using gunzip (busybox?) to extract them before copying them, then deleting them when you're done, just to keep it cleaner for the user.
The only downside to all this is that I don't know how you would flash a kernel.
Sycobob said:
Dammit, idk why I keep hitting the thanks button thinking it's reply >.>
Click to expand...
Click to collapse
That makes two of us!
Sycobob said:
Anyway, it's just a matter of setting the PATH variable to include /sdcard/Update/ or something similar. To make an actual update, make a folder called Update, fill it with all the files that need to be copied over (probably in a directory structure), and write a script that actually copies everything over. You'll need to make sure sh is in /system/bin (I think it is by default).
You could zip the the files as well, using gunzip (busybox?) to extract them before copying them, then deleting them when you're done, just to keep it cleaner for the user.The only downside to all this is that I don't know how you would flash a kernel.
Click to expand...
Click to collapse
I'm guessing you'd just flash it as usual, surely that one is the easiest? Copying stuff to boot partition would hopefully be just as simple, I was mainly worried about updating system files. I could do with building one for the current update to test the theory!

[HOW-TO] Update Sense 5 Port Using OASVN

I've seen numerous people asking numerous times in the same thread on how to use OASVN to update to the latest release. So I figured I would go ahead and make my first contribution to help everyone out.
1. Download OASVN 'AND' 7Zipper from the Play Store
2. Open OASVN
3. Click "Add Repository"
4. Under "Name" feel free to type whatever you want your repository to be called
5. Under "Repository URL" enter: http://evo-4g-lte-sense5-port.googlecode.com/svn/trunk/
6. Under "Local Folder" you will see something like "/storage/sdcard0/OASVNlite/"​Leaving that input will make your internal storage the primary download location for the trunk/checkout/ROM files (whatever you would like to consider those files to be called). Keep in mind: The files can get pretty heavy (big in size...) and take up a lot of space. Feel free to change that location if you want.
7. Click "Save"
8. Click your repository
9. Click "Checkout" and let the app do what it does (downloads the files you need)​NOTE: IT IS BEST TO BE ON WiFi OR A STABLE 4G CONNECTION!
You will see "Operation in progress, please wait..." and "Performing Checkout!!!"
This can take a very long time depending on your connection speed.
10. Notice that your "Revision" changed from "0" to what should be the latest release/revision from googlecode and is ready to zipped up.
11. Get to the menu on the top right and click "Export Local Copy"
12. Decide where you would like to export the copy that you'd like to zip up and flash.​Do NOT use your "Local Folder" unless you would like a migraine. You can use that folder ONLY if you export the copy to a different folder in that location. For example: "/storage/sdcard0/OASCNlite/r98" or whatever folder name you desire.
I use my external Class 10, 32gb SD Card by using "/sdcard2/*desired-name*" and have it saved there.
Also, since my OCD gets the best of me at times, I create a new folder for each export and save it as the revision number. I'm pretty sure you can use the same export folder over and over but I've never done so. I like to be super neat and really messy (don't ask please... thanks).
NOTE: Using your internal SD Card may save you a bit of time.
13. A "success" message should prompt briefly after the export has completed and your files will be where you directed them.
14. Open up 7Zipper and tap the screen.
15. Click "System Folder" and head to the location of your exported copy. For example: "/storage/sdcard0/OASVNlite/r98/"
16. Press the green check-mark button near the top of 7Zipper​AND select ONLY THESE FILES/FOLDERS!
1. data
2. kernel
3. META-INF
4. system
5. boot.img​THEN click the button underneath the red "X" to the right of where the green check-mark was (it looks like an image of a pull-down menu which is what it actually does... pulls down a menu).
17. Click "Create Zip"
18. Enter whatever name you'd like to call your .zip file that you will be flashing/installing.
19. Select your "Compress Level" that says "Default" by default (imagine that...)​NOTE: IT IS BEST TO USE THE HIGHEST POSSIBLE COMPRESSION LEVEL! WHY!? I HAVE NO IDEA! THAT'S JUST WHAT I WAS TOLD SO THAT IS WHAT I DO! Lol. Using your Internal SD Card may save you a bit of time but if you didn't export your local copy to your internal SD Card then your S.O.L. since it'll save the .zip in the same folder that you selected your exported copy files/folders.
LET 7ZIPPER DO WHAT IT DOES! I haven't had any problems letting it run in the background while doing other things but of course you will notice a slight decrease in performance.
20. Reboot into your Recovery and flash the .zip that you just created.​
SUCCESS! Hopefully.
I've seen a script you can use that was made by one of the members of the Alliance Dev Team working on the s5port. I'm not 100% who everyone was that incorporated that so if you want credit please send me a PM and I'll edit this post with proper credentials. I believe it was il duce though.
MAKE SURE YOU'RE ON A GOOD CONNECTION! WiFi preferred.
3G will work but it will take forever. Forever isn't an exaggeration either.
LTE will work but you risk losing connection.
Open up Terminal app
Type su
Type s5port
let Terminal do its thing
NOTE: This process will take some time no matter what you do. Just let it do its thing. It downloads the files it needs and then zips them up for you to flash. This is a hassle-free method, if you will. I believe that's about it.
Good looking out
BTW first
Lol. You forgot the thank button! Grats on the 1st post?
... Sent from my 'Oops! Should've bought the S3!' via XDA-Developers App.
Delakit said:
Lol. You forgot the thank button! Grats on the 1st post?
... Sent from my 'Oops! Should've bought the S3!' via XDA-Developers App.
Click to expand...
Click to collapse
I was out of thanks yesterday
Sent from my PoS MoPho
bigdaddy619 said:
I was out of thanks yesterday
Sent from my PoS MoPho
Click to expand...
Click to collapse
Lol. You're too kind! Looks like this how-to was successful unless ppl are just thanking me for trying. Lol. Feel free to report success.
... Sent from my 'Oops! Should've bought the S3!' via XDA-Developers App.
Delakit said:
Lol. You're too kind! Looks like this how-to was successful unless ppl are just thanking me for trying. Lol. Feel free to report success.
... Sent from my 'Oops! Should've bought the S3!' via XDA-Developers App.
Click to expand...
Click to collapse
I'm sure they appreciate your efforts
It does work and perfectly thanks man
wont work if you are S-on will it? Im in a boot loop.
Never mind flashed the 2nd time and it seems Im up and running. Thank.:good:
Just tried this over my home wifi, says I have rev109. When I went in to my system folder through 7Zipper I didn't see a data folder or the boot.img - is that normal?
EDIT: I went ahead and zipped up what I had just to see what would happen, and I definitely must have done something wrong because the finished zip is only 105mb.
rodohmes said:
Just tried this over my home wifi, says I have rev109. When I went in to my system folder through 7Zipper I didn't see a data folder or the boot.img - is that normal?
EDIT: I went ahead and zipped up what I had just to see what would happen, and I definitely must have done something wrong because the finished zip is only 105mb.
Click to expand...
Click to collapse
Hey, this happened to me too. It is probably because your download failed or you ran out of space on your internal SD card. I went into Settings and then Storage and clicked on "Misc" under Internal storage and deleted the OASVN files, redownloaded, and it worked. Give that a shot!
I also followed all instructions and it was also missing the boot.img. I just downloaded the file directly and zipped it all up and all was fine.
Enduer said:
Hey, this happened to me too. It is probably because your download failed or you ran out of space on your internal SD card. I went into Settings and then Storage and clicked on "Misc" under Internal storage and deleted the OASVN files, redownloaded, and it worked. Give that a shot!
Click to expand...
Click to collapse
TheLightDivided said:
I also followed all instructions and it was also missing the boot.img. I just downloaded the file directly and zipped it all up and all was fine.
Click to expand...
Click to collapse
Thanks for your help. I tried again from scratch and basically got the same thing - no data and no boot.img. I have enough room on internal storage and have lots on my SD card, so I know space isn't the issue.
Maybe this is my phone's way of telling me I should just wait till it's released as a flashable zip, haha.
i'm getting the same thing, only a 108ish mb zip.. tried a couple times..
If you're not getting all of the files that means your download wasn't 100% successful. Happens a lot. Just need to Update or do another checkout.
... Sent from my 'Oops! Should've bought the S3!' via XDA-Developers App.
Run the cleanup option on OASVN and try it all over again. Just be sure to have it plugged in and connected with a good connection... It takes a while. I got it to work for me.
Sent from my EVO using xda premium
no clue what i'm doing wrong, still missing files after doing the export copy
ekz13 said:
no clue what i'm doing wrong, still missing files after doing the export copy
Click to expand...
Click to collapse
Download needs to complete. Make sure you're in a stable WiFi or LTE area. Do what the post above you says or you can do update, or you can delete working copy and checkout again.
... Sent from my 'Oops! Should've bought the S3!' via XDA-Developers App.
i'm tracking.. i plug it in and leave it,. I get full folders on the inital sync (following all the instructions/advice here) and then export the local copy and wait til it stops on its own (it's plugged in and wifi'd) and i only get 3 folders.. weird, tried probably 6ish times so far.. i'll mess with it again this weekend. otherwise my phone may just not like it for some reason, i'll report back
ekz13 said:
i'm tracking.. i plug it in and leave it,. I get full folders on the inital sync (following all the instructions/advice here) and then export the local copy and wait til it stops on its own (it's plugged in and wifi'd) and i only get 3 folders.. weird, tried probably 6ish times so far.. i'll mess with it again this weekend. otherwise my phone may just not like it for some reason, i'll report back
Click to expand...
Click to collapse
Best to save a lot of time by making sure all of the files have downloaded before performing the export of the local copy. I haven't used OASVN in quite some time since I just got my replacement and haven't done any S-OFF yet so I can't test to see if there's just an issue with the program or anything... Worked fine every time I used it last month though.
... Sent from my 'Oops! Should've bought the S3!' via XDA-Developers App.
EDIT: I just did my method for the OASVN update and everything worked perfect so I'm not sure what the problem is.
Worst case scenario: http://www.androidfilehost.com/?fid=22901594685177970

[Q] Flashing a 4.2.2 rom

This might be a dumb question, but I am a noob and need someone to please help me out. I just unlocked my bootloader and rooted my phone, so my question is if I perform a back up and then Flash a 4.2.2 rom in TWRP recovery can I restore back to the stock rooted 4.1.2? I searched on the forum to see if this question had been asked before, but I couldn't find anything. If someone could please answer my question asap I would greatly appreciate it.
Also if this question was posted in the wrong section feel free to move it or let me know any I will delete it and post it in the right place.
Thanks again
Yes
Sent from my HTC One using Tapatalk 4
Thanks for the response I read somewhere, that when you update to a 4.2.2 rom the 4.1.2 rom back gets deleted.
jro003 said:
Thanks for the response I read somewhere, that when you update to a 4.2.2 rom the 4.1.2 rom back gets deleted.
Click to expand...
Click to collapse
No. Going to 4.2.2 moves the sdcard contents to /data/media/0 (if I remember correctly). I've seen some recommend backing up your sdcard to your computer, formatting the sdcard on the device, then restoring the contents after you flash to 4.2.2.
At any rate, everything will still be there: just somewhere else.
Thanks for the reply Simba, do know how to back up your sdcard to your computer and then format the sdcard on the device
jro003 said:
Thanks for the reply Simba, do know how to back up your sdcard to your computer and then format the sdcard on the device
Click to expand...
Click to collapse
I'm going to get really basic, so don't be offended if it seems like I'm assuming you don't know how to do something. I always outline everything exactly for future people who find this thread. I've found countless old threads that have been a huge help because someone took the time to type everything out .
*Connect your device and access your sdcard files by opening My Computer - you should see your device*
Literally just copy all of the contents to your computer. Create a folder on your desktop (or wherever), select everything on your sdcard (ctrl + A), copy (ctrl + C), and paste it in the folder.
Then just delete everything on the sdcard after you've confirmed a successful copy. Same thing - ctrl + A, delete.
After you flash 4.2.2, connect the device again and copy/paste (or drag/drop) the contents of the folder (not the folder itself, but everything inside of it) you created to your device. You'll have all your files without dealing with them being in a different location.
There was some discussion of a way to execute a shell command that would fix the issue. I'm an experienced user; the contents of the sdcard ended up being wiped lol. Save yourself the headache.
By the way, I'm assuming you're on PC by giving those ctrl commands lol. If you're not (on Mac, I suppose), do whatever the equivalent is.
Not offended at all, I really appreciate you simpling it down for me. I have a few small quick questions for you, if I am using a Mac (I have both but Mac is my daily computer) do I just connect my phone and use something like Android file transfer or Htc sync manager to copy all the folders inside the sdcard to my computer? After flashing the 4.2.2 where on the phone do I copy the files I backed up on my computer on to? And if I erase everything off the SD card after copying it to the computer won't that effect the operating system? Especially if I chose to flash back to the 4.1.2 stock rom? Sorry to ask you so many questions but I am really new to this, and I appreciate all the help you can give me the last thing I want to do is brick my phone.
jro003 said:
Not offended at all, I really appreciate you simpling it down for me. I have a few small quick questions for you, if I am using a Mac (I have both but Mac is my daily computer) do I just connect my phone and use something like Android file transfer or Htc sync manager to copy all the folders inside the sdcard to my computer? After flashing the 4.2.2 where on the phone do I copy the files I backed up on my computer on to? And if I erase everything off the SD card after copying it to the computer won't that effect the operating system? Especially if I chose to flash back to the 4.1.2 stock rom? Sorry to ask you so many questions but I am really new to this, and I appreciate all the help you can give me the last thing I want to do is brick my phone.
Click to expand...
Click to collapse
I'm sure that would work, though I have no experience with either. And typically, the directory you see on the computer is the default sdcard location. So there isn't a specific place you need to put it.
And it won't affect the operating system. At boot, Android automatically creates certain folders and files anyway. There are data files that apps use, but if they aren't there, they'll just recreate them. At the worst, a skin (or the like) won't be available if the file isn't on the sdcard. I've seen this with a calendar widget I use. Everything becomes fully functional once the files are back.
I don't really like using that verbiage - "functional," because it is perfectly safe to delete the sdcard's contents. Like I said, Android creates folders/files at boot, so they're not really necessary. Anything that affects the operating system is tucked away in a directory that requires root access :good:.
Big thanks for all the help Simba, you helped out a lot.
jro003 said:
Not offended at all, I really appreciate you simpling it down for me. I have a few small quick questions for you, if I am using a Mac (I have both but Mac is my daily computer) do I just connect my phone and use something like Android file transfer or Htc sync manager to copy all the folders inside the sdcard to my computer? After flashing the 4.2.2 where on the phone do I copy the files I backed up on my computer on to? And if I erase everything off the SD card after copying it to the computer won't that effect the operating system? Especially if I chose to flash back to the 4.1.2 stock rom? Sorry to ask you so many questions but I am really new to this, and I appreciate all the help you can give me the last thing I want to do is brick my phone.
Click to expand...
Click to collapse
You wouldn't want to use HTC Sync as this only transfers files like music, pictures and such. You would actually want to open up your sdcard and copy all as was told. I use Linux now so I don't have to worry about Sync, but I personally think it is a useless piece of software. It is easier to just drag and click, and you don't need a program to do that.
Congrats on entering the world of rooting and customization BTW! :good: It's addictive, be warned! :cyclops:
Okay thanks for the reply, that's actually what it did (drag and dropped to my computer) :highfive:

Categories

Resources