Help extracting files from a NAND back up - EVO 4G Q&A, Help & Troubleshooting

Hey, guys. I dropped my phone recently and got a new one from Asurion and I am trying to extract my game save files from Gun Bros because my back-up with Titanium restored me to level 12 and I was almost at level 40 before I got my new phone. I know.....I'm a f*cking nerd.
Anyway, here's where I'm at:
I downloaded unyaffs and the cygwin1.dll and was was able to successfully extract the data.img contents into the desired folder on my computer. Upon navigating through the data folder, I find two folders titled com.glu.android.gunbros_free and com.glu.android.skob2_free both of which contain a folder inside of it called "app_save" that has a number files.
I thought it would be as easy as finding the same folders on my phone and simply replacing the contents with the files I just pulled from my NAND. However, when I navigate to the data folder in my phone, I can't find these file names. I tried searching for them using control-F by typing the name of the file and searching the the entire SD card, but it turned up empty.
I'm sure I am missing a step here somewhere. Can any of you advanced users point me in the right direction? Sorry if my question is missing info, but honestly, I don't know wtf I'm doing. I'm trying to make something out of nothing here.
I REALLY don't want to start over in the game. lol Any help would be greatly appreciated.
Edit: I'm using these as guides:
http://www.htcblaze.com/how-to-extractingaccessing-nandroid-backup-img-files/
http://dus.org.pl/forum/t-219620/recovering-data-from-nandroid-backup
In the second link, the last step says:
- you can list content of this database using sqlite3 command line tool or presumably (haven't tried it myself and it may depend on what application data you are recovering) copy it back to your Android device running current ROM (rooted phone may be needed).
However, I can't get that command to work. I'm not sure if that helps any, but I thought I'd throw it out there to offer more info.

Oh, I thought of something I wanted to add in case it will be easier. The phone that created the NAND I am trying to pull the files from is still available to me with the game at the stage that I left it in. Maybe I should try replacing the game files on my phone with the ones from that phone?
In theory, it sounds easier than what I'm trying to do here, but does anyone know if that will work?

bumpity-bump.....
Anyone?

Related

Need Guidenance Please

Hey all,
I need alittle help, And yes I looked but nothing is giving me a clear answer in my searches and doesnt seem to be helping me find a way to do this to test things out.
I have been really annoyed with the 2.5 HTC Message Bug/Lag/Error/Whatever, and I have been searching thru the EU rom for hours/days, and I wanted to try some things out, but I've run across a problem. I am testing out possibly seeing is maybe the problem is maybe xml pages, so I want to play around with them and find the association as to why hitting the send key loads the msgs instantly while not doing so takes forever to load. I have a spare tp2 to do testing. But when I try to replace xml pages, it will deny me from doing so. for example, I was trying to replace the htcMsgbox.xml but everytime I try I get this error:
A system file name "htcmsgbox" already exists replacing old file with new file, I say yes, then I get this msg: "Cannot copy "htcmsgbox" access denied.
Obviously its a system file and cant be replace by normal means, so my question is how does one replace these files? I tried total commander to try and open the file to edit it, but that failed too. So can someone tell me how it can be done if at all? I even tried going into the bootloader to see if I could replace files, but that didnt work too, and searching here unless you hit the right keyword isnt giving me an answer.
I guess my question is how to replace any system file be it XML or exe, I know some can be done by disabling Manila, but how of the others?
Thanx for the response.
42 views and no answer? Okay then *Bump*
I don't think it's possible.
I believe that the only way to get at those ROM-locked files, is to open it up in a kitchen...and even then I'm not sure that everything is accessbile
Would the SDKCert cab allow me to replace the XML pages? I would think that when you reboot the phone and go to the home screen the Msging app isnt loaded so why would the xml pages be locked from being changed, when there is other xml pages for other apps in the system not loaded and you can alter them? I am not a programmer right off the bat, but I noticed little stupid things which knowing how Windows works would cause programs or aml pages that would normally seem okay because it runs, window would run it slower because it cant translate something that didnt even have anything to do with the mail xml page or the program, and I found a couple of xml pages that have these stupid errors and thought of replacing them to see if that could be the case, I can copy them off the phone fine, but I cant replace them to test my theories out.
Help!
AngelDeath said:
Hey all,
I need alittle help, And yes I looked but nothing is giving me a clear answer in my searches and doesnt seem to be helping me find a way to do this to test things out.
I have been really annoyed with the 2.5 HTC Message Bug/Lag/Error/Whatever, and I have been searching thru the EU rom for hours/days, and I wanted to try some things out, but I've run across a problem. I am testing out possibly seeing is maybe the problem is maybe xml pages, so I want to play around with them and find the association as to why hitting the send key loads the msgs instantly while not doing so takes forever to load. I have a spare tp2 to do testing. But when I try to replace xml pages, it will deny me from doing so. for example, I was trying to replace the htcMsgbox.xml but everytime I try I get this error:
A system file name "htcmsgbox" already exists replacing old file with new file, I say yes, then I get this msg: "Cannot copy "htcmsgbox" access denied.
Obviously its a system file and cant be replace by normal means, so my question is how does one replace these files? I tried total commander to try and open the file to edit it, but that failed too. So can someone tell me how it can be done if at all? I even tried going into the bootloader to see if I could replace files, but that didnt work too, and searching here unless you hit the right keyword isnt giving me an answer.
I guess my question is how to replace any system file be it XML or exe, I know some can be done by disabling Manila, but how of the others?
Thanx for the response.
Click to expand...
Click to collapse
You generally can overwrite ROM files with the same file name in the same directory. If you want to modify a file, copy it to your storage card, change the properties to not be "read only", then copy it back to the former location.
This won't work for any system files that are actually in use.
In your case, it appears that "htcmsgbox" is being used by the system. I think you might be able to get past this particular one by disabling the HTC notifications system. Do a search - it is a registry mod.
Okay the notification system you wouldnt be by chance talking about the events notification for sms mms email reminders would you? And I made the change on my desktop then copied it back to storage and then tried to overwrite the file, but I did change the attrib back to read only before trying to copy it back...
Most of the XML pages used by HTC is in use
sigh....

[Q] Download folder "empty"... Downloads unsuccessful

hey so I have two problems that im 100% sure are connected. One - anything I try to download (on stock browser, ICS Browser +, and Chrome) all fail even after numerous retries and clearing Download Manager / Downloads / Browsers data and rebooting.
Two - my sdcard/Download folder appears to be empty when using Astro and through a usb connection. Going to data/media/Download, I see all the contents of the folder, but sdcard/Download shows it as empty (false).
I'm on AOKP B28 and Franco M2
Any ideas? id love to be able to download things on my stupid phone again -______________________-
Edit: SOLUTION at post #14
I just got my galaxy nexus but from previous phones this is caused by not redoing permissions. Hope this helps. Rom Manager should help.
Sent from my Galaxy Nexus using XDA
Fixed permissions. Download folder still showing up as empty. Downloads still unsuccessful.
Did you flash the sense 4.0 port by any chance?
That happened to me after I flashed that, couldn't see my pictures in gallery either.
To fix it I transferred all my sdcard contents to my computer, locked my bootloader and then unlocked it again and all was good!
Transferred everything back again then after.
nope havent flashed anything crazy but my custom rom and kernel
Well give that trick a go, it might sort everything out.
that method is basically a data wipe and would require me to reinstall the rom, kernel, restore all 300 apps and data ... every lengthy process .. without even a guarantee that it will fix the problem. but ill keep it in mind as a very last resort
anyone have any other suggestions?
It won't wipe rom and kernel, they will be fine but yes, unlocking it will wipe your apps.
It really is a last resort but in the thread for the sense port that is what the dev recommends.
Try everything you can before doing that obviously but I looked and that's all I could find that would work.
I'll keep an eye on this thread so if you find any way post it because I'm interested in finding out.
so any1 have a fix? i tried searching google and xda, found no solution or anything even close ...
Download an app called "Download All". Open it just once and close it, then try downloading the file again. I've had this problem before, and this seemed to have solved the problem for me. Let me know how it works out for you.
[EDIT]The direct link HERE[/EDIT]
Jesus christ people.
Settings > Apps > Download Manager > Clear Data.
Stadsport said:
Jesus christ people.
Settings > Apps > Download Manager > Clear Data.
Click to expand...
Click to collapse
Read the OP.
DERRRRPPPP!!!!
---------- Post added at 05:40 AM ---------- Previous post was at 05:36 AM ----------
Dmw017 said:
hey so I have two problems that im 100% sure are connected. One - anything I try to download (on stock browser, ICS Browser +, and Chrome) all fail even after numerous retries and clearing Download Manager / Downloads / Browsers data and rebooting.
Click to expand...
Click to collapse
Reading. An amazing tool.
Try Dolphin browser HD
Okay so.. I wish I would've taken a screenshot of the file before I deleted it but whatever I guess I'll just describe the entire scenario for anyone else who's having this problem and getting no answers (to the guy who said Dolphin Browser.... Really?.......).
So first of all, data/media/Download functioned 100% fine, sdcard/Download, however, was basically a hollow tomb. You couldn't place any new files into it or even access any of the old files because the folder would appear as empty. So after getting not much help from xda and getting fed up with being unable to download anything at all (you'd be surprised how many things you need to download on a daily basis), I decided to look around using Astro and Root Explorer... Now this is where it gets weird/interesting...
So, using Astro, I found nothing out of the ordinary. But going into Root Explorer, I found a file(not folder) called "download" which was 4.36mb, had permissions rw-rw-r I believe, and showed no content when using a text editor or opening as a zip file. At first I tried setting this files permissions to that of any other folder I had in /sdcard, thinking all my download problems were because the permissions were set wrong, but even after changing the permissions, I couldn't download anything off the Internet. So I go back to the file, again with Root Explorer (this file wouldn't even show up in Astro.. anywhere), and decide to rename it, thinking it's just causing problems (deliberately or accidently) to downloadxxxx.zip (it had no extension before, just strictly "download") but even after this my problems still persist. Lastly, I just decide to delete this weird file altogether and... Voila, I was able to copy a file into my Download folder again, I can download files off the Internet, and i can view/access the contents of the folder. So everything is back to normal, hurray. I'm just curious what the hell that 4.36mb file could have been and why was it messing with downloads even after being renamed (I figured, okay, if it had the same name as the folder, that might cause problems, but after a rename... It made no sense). My only thought now is that the file was a trojan, but I'm not a coder or massive software techy so I can't say for sure. Anyways, problem solved. Just goes to show, sometimes you gotta take matters into your own hands. Hope this will help someone in the near future. Cheers.
Dmw017 said:
Okay so.. I wish I would've taken a screenshot of the file before I deleted it but whatever I guess I'll just describe the entire scenario for anyone else who's having this problem and getting no answers (to the guy who said Dolphin Browser.... Really?.......).
So first of all, data/media/Download functioned 100% fine, sdcard/Download, however, was basically a hollow tomb. You couldn't place any new files into it or even access any of the old files because the folder would appear as empty. So after getting not much help from xda and getting fed up with being unable to download anything at all (you'd be surprised how many things you need to download on a daily basis), I decided to look around using Astro and Root Explorer... Now this is where it gets weird/interesting...
So, using Astro, I found nothing out of the ordinary. But going into Root Explorer, I found a file(not folder) called "download" which was 4.36mb, had permissions rw-rw-r I believe, and showed no content when using a text editor or opening as a zip file. At first I tried setting this files permissions to that of any other folder I had in /sdcard, thinking all my download problems were because the permissions were set wrong, but even after changing the permissions, I couldn't download anything off the Internet. So I go back to the file, again with Root Explorer (this file wouldn't even show up in Astro.. anywhere), and decide to rename it, thinking it's just causing problems (deliberately or accidently) to downloadxxxx.zip (it had no extension before, just strictly "download") but even after this my problems still persist. Lastly, I just decide to delete this weird file altogether and... Woala, I was able to copy a file into my Download folder again, I can download files off the Internet, and i can view/access the contents of the folder. So everything is back to normal, hurray. I'm just curious what the hell that 4.36mb file could have been and why was it messing with downloads even after being renamed (I figured, okay, if it had the same name as the folder, that might cause problems, but after a rename... It made no sense). My only thought now is that the file was a trojan, but I'm not a coder or massive software techy so I can't say for sure. Anyways, problem solved. Just goes to show, sometimes you gotta take matters into your own hands. Hope this will help someone in the near future. Cheers.
Click to expand...
Click to collapse
Good job! This one is being saved as a mental note!
Also I don't want to be pedantic, OK I lie I do, but by woala I presume you meant voila as in the french word.
I dabbled in a bit of French in school.
only thing that worked for me was to lock and unlock the phone.(for some weird reason rom manager does not correct permission and gives an error). You will erase everything but at least you start fresh, eh?
Dmw017 said:
Okay so.. I wish I would've taken a screenshot of the file before I deleted it but whatever I guess I'll just describe the entire scenario for anyone else who's having this problem and getting no answers (to the guy who said Dolphin Browser.... Really?.......).
So first of all, data/media/Download functioned 100% fine, sdcard/Download, however, was basically a hollow tomb. You couldn't place any new files into it or even access any of the old files because the folder would appear as empty. So after getting not much help from xda and getting fed up with being unable to download anything at all (you'd be surprised how many things you need to download on a daily basis), I decided to look around using Astro and Root Explorer... Now this is where it gets weird/interesting...
So, using Astro, I found nothing out of the ordinary. But going into Root Explorer, I found a file(not folder) called "download" which was 4.36mb, had permissions rw-rw-r I believe, and showed no content when using a text editor or opening as a zip file. At first I tried setting this files permissions to that of any other folder I had in /sdcard, thinking all my download problems were because the permissions were set wrong, but even after changing the permissions, I couldn't download anything off the Internet. So I go back to the file, again with Root Explorer (this file wouldn't even show up in Astro.. anywhere), and decide to rename it, thinking it's just causing problems (deliberately or accidently) to downloadxxxx.zip (it had no extension before, just strictly "download") but even after this my problems still persist. Lastly, I just decide to delete this weird file altogether and... Voila, I was able to copy a file into my Download folder again, I can download files off the Internet, and i can view/access the contents of the folder. So everything is back to normal, hurray. I'm just curious what the hell that 4.36mb file could have been and why was it messing with downloads even after being renamed (I figured, okay, if it had the same name as the folder, that might cause problems, but after a rename... It made no sense). My only thought now is that the file was a trojan, but I'm not a coder or massive software techy so I can't say for sure. Anyways, problem solved. Just goes to show, sometimes you gotta take matters into your own hands. Hope this will help someone in the near future. Cheers.
Click to expand...
Click to collapse
I am having the exact problem that you are and would love to try your fix... The only problem with that is I need to know where you found this file? I did a search using Root Explorer but didn't see any files called download, just a bunch of folders and databases with the "string" download somewhere in their name. Any help would be great but I am getting very close to just locking my phone again and starting over in hopes that this will do the trick.
Thanks

[CWM][ALL] Base CWM zip packages - just add APPS!

Ok forum, so I got this idea: because a lot of people ask for CWM packages of this and that, why not let them create CWM flashable stuff without having to beg devs or other users to make them?
I think it saves them (yes, I am talking about YOU!) and us the trouble. So I created these two base CWM flashable zips to get everyone started:
Data_Skeleton.zip - Used for apps that you can uninstall afterwards.
System_Skeleton.zip - Used for anything that should be installed as a system app
Now, a short guide on how to use them:
1. Download the appropriate ZIP for what you plan to package. If you want to make a regular app package use Data_Skeleton.zip, for system apps, use System_Skeleton.zip.
2. Open the zip file with anything else other than Windows Explorer! Use 7zip, winzip, winrar or anything else, just not Explorer!
3. Look inside the zip! DO NOT DELETE ANYTHING! All you need to do is ADD STUFF!
4. Browse into the "data" or "system" zip folders, then down into the "app" folder inside.
5. After you get to the "app" folder, copy and paste the APKs you want to flash in the folder.
REMEMBER: do not DELETE anything! ADD APK files ONLY in the "app" folder.
6. Wait for the APK files you copy to get added to the archive.
7. Close the archive.
8. Rename and copy the archive to your SD card.
9. Boot into CWM and flash the copied zip file you just created.
10. Enjoy!!
Sooooo, quick 10-step process into cooking you own CWM Zips. You can do much more with them than flashing apps, but for general purpose usage, this should be enough!
Thanks and complaints go underneath.
PS: this idea was given to me by lambstone in a separate thread! Thanks a lot mate!!!
Peace,
C.
Nice thread, waiting for other..............
There's market apps that does this I.e apps2zip
Sent from my LG-P999 using Tapatalk 2 Beta-2
Ayysr,
App2zip works well for this purpose, but only when it works. There are apps that can't be zipped correctly, mainly those that rely on libs, media and/or other files that can't be included automagically. Needless to say that some apps (mainly games and such) store data on the SD card.
All of this can be easily accomplished by copying the files in a zip file; also learning something about Android in the process, wouldn't you say?
Peace,
C.
cheatman said:
Ayysr,
App2zip works well for this purpose, but only when it works. There are apps that can't be zipped correctly, mainly those that rely on libs, media and/or other files that can't be included automagically. Needless to say that some apps (mainly games and such) store data on the SD card.
All of this can be easily accomplished by copying the files in a zip file; also learning something about Android in the process, wouldn't you say?
Peace,
C.
Click to expand...
Click to collapse
Your right, I was not trying to deny your effort in any way
Sent from my LG-P999 using Tapatalk 2 Beta-2
I actually wasn't expecting anyone to comment on this thread to begin with
The fact that you mentioned app2zip is perfect! I know the intent is not to deny my effort, in fact, I am happy new information surfaced because it's useful and appropriate.
Very few contribute to such posts with relevant info for others. I think this is the point: sharing insightful and relevant stuff with others. But judging by the number of thanks you have, you already know this very well already
So, thanks! And glad to have you in my thread
Peace,
C.
cheatman said:
I actually wasn't expecting anyone to comment on this thread to begin with
The fact that you mentioned app2zip is perfect! I know the intent is not to deny my effort, in fact, I am happy new information surfaced because it's useful and appropriate.
Very few contribute to such posts with relevant info for others. I think this is the point: sharing insightful and relevant stuff with others. But judging by the number of thanks you have, you already know this very well already
So, thanks! And glad to have you in my thread
Peace,
C.
Click to expand...
Click to collapse
have trying to put 5 apk files on data/app exactly doing what it's in your post, then rename it to apk.zip, but when i'm trying flashing from cwm it's geting error
E:Can't open /sdcard/apk.zip
(bad)
Installation aborted
do I miss something??
edit: i'm using data_skeleton.zip
Make sure you don't extract the ZIP. Open it and add files. If you extract it, you get that error message (usually). That is a problem related to the unzip process in CWM, it's not very "compatible"
I have also re-upped the DATA CWM zip, maybe it got borked in the process. So download again from first post. It works on my tab. You can test it by just getting the zip and flashing it empty, like that.
cheatman said:
Make sure you don't extract the ZIP. Open it and add files. If you extract it, you get that error message (usually). That is a problem related to the unzip process in CWM, it's not very "compatible"
Click to expand...
Click to collapse
No dude, I do not extract the zip file, I do exzctly what you said in 1st post, just open it with winrar, look for Data-app, then adding apk files on app section/folder inside the zip files, i just try once again to make sure, and i just add 1 different apk file, but still not work, btw i always use this same method before when I' want to replace boot animation for ICS CM9 ROM and adding some apk file to ROM file, and it's always work.
cheatman said:
I have also re-upped the DATA CWM zip, maybe it got borked in the process. So download again from first post. It works on my tab. You can test it by just getting the zip and flashing it empty, like that.
Click to expand...
Click to collapse
will try this one..,
EDIT: have try your 2nd Data_skeleton.zip, it's work when flashing from cwm with or without add apk files, but not with previous zip file, thought the problem it's coming from your zip file..,
Glad the second one works!
Thanks for letting me know the first zip was borked!
Its a good thread man, makes creating flash able zips simple, you should also look into zipsigner2 on the play market
Sent from my LG-P999 using Tapatalk 2 Beta-2
Thx for the great work!!
Does this one only works for apks?? say i would like to add some files to system/bin or system/lib what do i need to add??
Thx again
You need to create the appropriate folder structure on your PC/Laptop/Mac drive (system/bin or system/lib as per your example) and add it to the archive.
Do not create the folders directly inside the archive as they seem to get borked. Instead archive the folders after you create them locally. It also works if you extract the skeleton archive as an example, delete the "system" folder from inside it and add to the archive the system folder from your drive to replace the original one.
Sounds more complicated than it is. With these CWM Zips you can create any zip that changes either "/data/*" or "/system/*"
Anything, including full ROMs, libs, firmware etc (i.e. except kernel!) can go inside. Play with them. You can't mess your tab with them. Worst case, you need to flash again your ICS copy and factory reset...
Peace,
C.
yeah jejeje i just mess up i am trying to flash a sound driver for my phone (by the way it works in my live with walkman) but they are not working so.
but it is great because i was able to use your file to flash my phone it seems to be universal.
thx again for your work.
Is it possible for this to work for radio images?
Sent from my Nexus S 4G using Tapatalk 2 Beta-5
No, it can't be used for radio images.
First off, radio images need to be flashed (i.e. not copied to a folder as this script does) and secondly because as far as I know with the latest versions of CWM don't support this anymore.
The old zips used to flash radio don't seem to be supported anymore. I recently encountered this problem while flashing a friend's HTC Buzz/Wildfire. So, no, I have no idea how to flash radio using CWM anymore. You can flash using Odin, though...
Peace,
C.
cheatman said:
You need to create the appropriate folder structure on your PC/Laptop/Mac drive (system/bin or system/lib as per your example) and add it to the archive.
Do not create the folders directly inside the archive as they seem to get borked. Instead archive the folders after you create them locally. It also works if you extract the skeleton archive as an example, delete the "system" folder from inside it and add to the archive the system folder from your drive to replace the original one.
Click to expand...
Click to collapse
Ah, this explains how come my /system/app zips were coming out fine but my /system/framework were messed up, thanks for the explanation.
I wonder if it's possible for a small tutorial in how to add our own text to a zip when it's being flashed.
I guess I could reupload the zips without the intro section (stating my nickname and galaxy tab / version etc.) if I weren't so lazy...
The problem with changing the text is that although a tutorial can be made, it requires external tools and such, which would make this waaay to complicated and out of the scope of this thread.
For your purposes (I assume you are using some version of Windows), here's my advice: extract the Zip archive, look for the "updater-script" file, change it and make sure you run it through a "dos2unix" tool to convert CR/LFs. Then add it back to the archive.
To everyone else: if this doesn't work for you, just stick to adding apps to the zip. You should be safe, there's no need to edit any files anyway!
Peace,
C.
Great, apparently it was just that simple, worked great, <3
Dumb question - is this only for Galaxy tab? Or can I use it on my Captivate?

File Structure

When I updated to 4.2 my files structure was thrown out of wack, folder inside folder inside the same name folder with all of the same directories. I tried twice to move thing to one folder but it is very difficult.
I need to know what the actual structure should be, should everything be in the first 0 folder (for my user) apps, and all other folders currently it is a 0 inside a 0 insides another 0 each level has different app files and saved files. I think a lot of stuff is duplicated also as im reaching my internal memory limit of 32gbs.
I just need a pointer of where everything should actually be so I can spend the time setting it up correctly. I also came across this, wonder if it would delete all duplicates while it does it's thing or if it actually works.
https://play.google.com/store/apps/details?id=com.file.sorter
Thanks in advance for any help, I am a computer guy so I do understand what is going on here, I am just not sure the best remedy.
The reason Google did this is because 4.2 added multiple user support. If you had multiple users on your device, the data would be separated in all those different "0" folders. But anyway, after using 4.2 for a while, you will notice stuff you download, app data, etc. being added to /sdcard/ or /storage/sdcard0/ which is the same location. Thats where you want all your stuff.
Yea I understand the multiple user support, but currently I have /sdcard/0/0/0/apps with an apps folder and an images folder inside each of those 0's.
Ciggyy said:
Yea I understand the multiple user support, but currently I have /sdcard/0/0/0/apps with an apps folder and an images folder inside each of those 0's.
Click to expand...
Click to collapse
Well like I said, everything on my device simply goes in /sdcard/
You can move it all if you'd like
Yea that's the plan, just needed to know exactly where things should actually be. Going to be a pain but ill get it done.
Thanks.
Ciggyy said:
Yea that's the plan, just needed to know exactly where things should actually be. Going to be a pain but ill get it done.
Thanks.
Click to expand...
Click to collapse
Cut then paste. Talk about a pain.
you also should update your recovery.
its not like this same topic has been beat into the ground or anything.
I have updated my recovery, and I also did a forum search about this first. Maybe you could point me to a thread about it?
Ciggyy said:
I have updated my recovery, and I also did a forum search about this first. Maybe you could point me to a thread about it?
Click to expand...
Click to collapse
A cursory search for sdcard will get you many results pertaining to the updated directory structure. What follows is but a small sampling of the results.
http://forum.xda-developers.com/showthread.php?t=2184927&highlight=sdcard
http://forum.xda-developers.com/showthread.php?t=2162925&highlight=sdcard
http://forum.xda-developers.com/showthread.php?t=2159491&highlight=sdcard
http://forum.xda-developers.com/showthread.php?t=2151646&highlight=sdcard
http://forum.xda-developers.com/showthread.php?t=2134720&highlight=sdcard
http://forum.xda-developers.com/showthread.php?t=1996263&highlight=sdcard
http://forum.xda-developers.com/showthread.php?t=2029743&highlight=sdcard
It's a simple cut and paste to put everything in its proper home. Go to the last nested 0 folder in /data/media/0 and paste everything therein to /data/media/0. After that, delete /data/media/0/0 and you're done.
Sent from my Nexus 7 using Tapatalk HD
Thank you for an answer with out an attitude, najaboy.
I never would have thought to search sdcard considering it's internal memory but thank you for pointing me in the correct direction.

Any way to copy file when not rooted?

Hello all
Forgive me for any ignorance for any part of this, kinda still learning the Android stuff.
Basically I got a Tab Pro 8.4 for Xmas, an like a lot of it, but really don't care for the huge Weather widget, or how it's designed. But I do want to stay with a Accuweather version.
My first learning of Android came from a Stratosphere II phone I have, an I kinda like that weather widget. Plus I think it would be a little smaller.
To mention, I rooted that device as it was pretty easy, (an way out of warranty), but I have yet to root the 8.4 as seems to be more complicated and I kinda almost don't want to unless I really have too as I really don't want to trip the Knox.
Anyway, so my goal here was to try the Strat's weather widget in the 8.4, so I went into the system folder of the Strat, got all the files that had to do with anything of the weather widget, copied them to my PC, put them in the doc's folder of the 8.4, and then tried to copy them to same system folder, which I was able to view with Root Explorer, but when I went to paste them in, it told me I couldn't as the device was not rooted.
So is there any way I can get these files into there?
Thanks for any help.
To write or modify with '/' or '/system' files you will need root, really anything outside of the /mnt/sdcard directory(s) are mostly read only or 'locked' with permissions to a certain user (each "app" is a separate user).
Anyways I don't see why you would need to put the file there anyways as you should be able to just install it as a normal "User" application regardless where it was installed on the other device, all you need is the .apk file from the other device then install it on the 8.4, you will first need to enable "unknown Sources" in Settings.
(First on device that has the app you want - look in "/system/app/" ," /system/priv-app/" - there should be some files with a ".apk" extension find the one for the weather app /widget you want to use, and copy it to your pc, then copy the file to the tab 8.4, click on it in a file manager such as root explorer or the one that came with the tablet, it should prompt you to enable Unknown Sources under settings , enable the option, then proceed to install it - you shouldn't need any other files besides the apk )
If it doesn't work then the apk could be coded to a certain device (as some Samsung apps are) or just too old to run on kitkat.
See my screenshots for some basic example (the apk file will probably be called something else on the other device)
Thanks so much otyg, you are always such a great help.
So just to reply a few things . . . yes, the files were in the system/apps folder from the original device. Second, when I first got the 8.4, I went through all the settings menus, an found that thing on "Unknown Sources" an clicked it, kinda remember that from something I learned with the smartphone, so knew right off to check that. Guess the only reason am mentioning, is to mention that I have been using a few Explorer apps, but none have promoted me for what you mentioned, an am guessing as it was already checked(?).
So at the moment I have the files sitting in a documents folder of the 8.4, but now to ask on those . . . when I went into the app folder of the org device, there were several files that had the accuweather in them.
First on this point, there were three that had the apk ext, an those were, AccuweatherDaemon.apk, AccuweatherWidget_Main.apk and, AccuweatherWidget.apk.
Then to mention too, each one had a corresponding worded file with a .odex ext.
So not knowing much, I copied all six.
So don't know if you could answer this, but do you have any idea of which I should install, or should I install all of them? An again just to remind, what I am looking for here is the Widget from my org device, but I do want it to work. Then one more question on this point, is there anyway to uninstall these if any cause some kind of issue?
Lastly an just to mention, as I posted, I don't know much about the Android system, so just didn't know that a .apk file is basically a install file. KInda thought they were application execution files, which I think they are(?) . . . but they can be app install files a well? Sorry to ask such a knob question as well as so many others, but is how I will learn.
Again, thanks so much for the help.
WBFAir said:
Thanks so much otyg, you are always such a great help.
So just to reply a few things . . . yes, the files were in the system/apps folder from the original device. Second, when I first got the 8.4, I went through all the settings menus, an found that thing on "Unknown Sources" an clicked it, kinda remember that from something I learned with the smartphone, so knew right off to check that. Guess the only reason am mentioning, is to mention that I have been using a few Explorer apps, but none have promoted me for what you mentioned, an am guessing as it was already checked(?).
So at the moment I have the files sitting in a documents folder of the 8.4, but now to ask on those . . . when I went into the app folder of the org device, there were several files that had the accuweather in them.
First on this point, there were three that had the apk ext, an those were, AccuweatherDaemon.apk, AccuweatherWidget_Main.apk and, AccuweatherWidget.apk.
Then to mention too, each one had a corresponding worded file with a .odex ext.
So not knowing much, I copied all six.
So don't know if you could answer this, but do you have any idea of which I should install, or should I install all of them? An again just to remind, what I am looking for here is the Widget from my org device, but I do want it to work. Then one more question on this point, is there anyway to uninstall these if any cause some kind of issue?
Lastly an just to mention, as I posted, I don't know much about the Android system, so just didn't know that a .apk file is basically a install file. KInda thought they were application execution files, which I think they are(?) . . . but they can be app install files a well? Sorry to ask such a knob question as well as so many others, but is how I will learn.
Again, thanks so much for the help.
Click to expand...
Click to collapse
Apk files used for installing apps like an exe file on windows or a dmg on mac, when you install something from the play store it is delivered as an APK file but it just happens "behind the scenes" so to speak, you are just bypassing the play store and directly installing the app but it's the same process...
When you install a app this is what happens in most cases.
1. The APK(s) gets stored in /data/app/<applicationname.apk> (this will get removed on uninstall.)
2. it creates a unique directory under /data/data/<applicationname> (this will get removed on uninstall)
3. it can create a directory under /mnt/sdcard/Android/data/<applicationname> (these files usually get left behind on uninstall but since it's on the user storage the user can remove them, it usually contains settings or cache files)
You don't need the .odex files, these are encrypted and probably wont work on other devices, it's basically the apk optimized for the device so it starts faster.
Just install the 3 apk's, the widget probably needs the main program for support and the daemon service probably runs in the background for updates ..etc, since you are installing them as a normal user it won't do much harm and you can always remove them if they do cause an issue, Applications are self contained and when you remove them the corresponding data folders are removed too (on the device) so it is unlikely to do any lasting damage.
To remove them go to Settings -> General -> Application Manager -> Downloaded and remove the apps from there . (if you don't see them swipe right until you see All )
Thanks so much for the reply an the education otyg
Did just as you suggested, deleted the odex files an tapped on the apk's to install, an don't know for why, but while it seemed to go as normal, in the end, I got a message saying they did not install, for all three.
Replaced the odex's back an that didn't seem to make a dif.
Perhaps it didn't work as could not install as device is not rooted?
Just to mention, I did have something with my Strat II device back a few months ago, where I placed another version of a accuweather widget in the systems/app folder, an it did show up.
At any rate, was a good try an thanks again for all the info.
Perhaps if I can get this device rooted, I can try again by just putting the apps in the folder.

Categories

Resources