Related
I switch roms constantly on my phone and the most annoying part of that is having to every time enter my gmail, facebook, twitter and other information that never changes... Is there anyway to make a FLASHABLE update.zip that I can just install after a rom flash? Out would even be better if I can put certain applications in there too. Like my Angry Birds, Rom Manager, and Titanium Backup. You know just the apps that no matter what rom I use I always have to reinstall. This would save me and whoever find themselves in this situation alot of time when it comes to experimenting with different Roms. Please help!
Sent from my PC36100 using XDA App
I don't know about login information but you can make an update.zip with miscellaneous apps that you don't want to re-download. It's kind of a pain (personal opinion) to make an update.zip but here are some directions:
1. Create a folder, we'll call it "update".
2. Inside "update" make two new folders called "META-INF" (without the quotes and capitalized) and "data" (also without quotes).
3. Inside "META-INF" create a folder called "com".
4. Inside "com" create a folder called "google".
5. Inside "google" create a folder called "android".
6. Close the folders you have open and re-open "update".
7. Open "data" and create a folder called "app".
8. Add the .apk files you want to flash to "data/app".
9. I've attached a few files to the post, unzip "secFiles.zip" and put "CERT.RSA", "CERT.SF", and "MANIFEST.MF" into your "update/META-INF" folder.
10. Also attached is "script.zip". Unzip this and add the "updater-script" and "update-binary" to "update/META-INF/com/google/android".
11. Now that you have the folder structuring complete you can zip it all up. When you zip it, make sure you zip "data" and "META-INF" NOT "update". You will have errors if you zip "update"!
12. If you have ClockworkMod Recovery you do not need to sign it. If not then I recommend making a nandroid backup and copying it to your computer so that your WiMax (4G) keys are backed up, then switching to ClockworkMod Recovery.
13. Make a nandroid backup anyways! Don't come calling me if you're phone messes up. I do not believe there to be anything wrong in my directions but I can't afford to fix you're phone.
14. Flash away! Hopefully it worked. I'll try to elaborate if you're confused.
Thank you so Much! but thats just half the equation... Titanium Backup has a way to backup and restore the Accounts and Sync data which is what the goal is here... im thinking about finding a way to extract that and put it into a flashable zip. Im learning alot about the android structure and it might now be long until i unintentionally solve this myself
You could add Titanium Backup to your flashable zip and have it preinstalled as well as your backup wherever it belongs. (Sorry, don't use Titanium Backup)
Or another idea to try out, if you have Clockwork Recovery you can restore just the data partition. I'd be careful of doing it but if you're in the mood to experiment I think it might do what you're looking for. Note that you'll have to have a data.img nandroid backup of everything you want. If you manage to figure it out please share because I hate typing my ridiculously long passwords every time I flash a new rom.
you can make a flashable zip for titanium. from the app, press menu > more > create update.zip
this option gives you an option to create a signed zip file (you need a free app from the market called zip signer) that will install titanium as either a user or system file
It would be great to know how to create a update.zip of the titanium backups and that way, it would include +data
Anyone know how to do that?
Keri
I just flashed 4.2, and it moved everything into the /0/ folder on my SD card, just like everyone said it would. Is it safe to use root explorer to move everything back out of the /0/ folder onto the root of my SD card, or will it screw something up?
im having the same problem, my nandroid is in the 0 folder, (actually its in 0/0/clockwork/ when i moved up to the root folder, made a clockwork, cwm could not find it.. ANYONE have any info on how I can get my back up?? ps i have saved it to my computer...and used the g/n toolkit to push it but doesnt show up upon recoverymode.
You should not move it to the root folder. It will cause your root partition to run out of space and screw up the phone. Move it to the sdcard partition, which is located at either:
/sdcard
/storage/sdcard0
eksasol said:
You should not move it to the root folder. It will cause your root partition to run out of space and screw up the phone. Move it to the sdcard partition, which is located at either:
/sdcard
/storage/sdcard0
Click to expand...
Click to collapse
Ok, thats what I meant to ask, I just didnt put it in the form of "/sdcard"
what is the "zero" folder for now? why is it there? why cant i get cwm to find my dman nandroid to go back to? can someone tell me wtf is going on? when i click on restore, NOTHING cwm says there is no file, but when i browse, its now in the 0/clockwork/backup folder, but /sd there is nothing, how do i move it?? when i push with the toolkit, it doenst work.. can someone PLEASE help me out?
i have tried, re lcoking the phone to erease everything.. what do i need to do? i just want my old nandroid back please.
j
why do ull want to move it out of the 0 folder if its not causing any problems ? i don get it.. if its not causing any problems why move it ? just let it go !
They changed the filesystem layout for multi-user. So no, moving it out of 0 will do harm. /storage/sdcard0 now points to /storage/emulater/legacy. You could symlink some stuff around, though. Don't blame me if you screw up.
Or just wait for your recovery to be updated for 4.2's fs layout, then all should be fine. (what else breaks because of this?)
Edit :
I found a more elegant method :
Create a shortcut (a symbolic link) in /data/media named "clockworkmod" that points to /data/media/0/clockworkmod.
Steps are here : http://forum.xda-developers.com/showthread.php?t=1991657 - this is for the nexus 7, but I can't think of any reason why it shouldn't work on the galaxy nexus.
Original post :
I noticed that if I make a backup in 4.2 using cwm, it backs up to /data/media/clockworkmod. All my old backups (the ones I made before 4.2) are now in /data/media/0/clockworkmod. Is it safe to copy the contents of /data/media/0/clockworkmod over to /data/media/clockworkmod, so that I can restore my old backups if I want to ?
Soo, I know there's a lot of these threads around, but I can't find the answer I'm looking for. I'm wondering: After I flashed 4.2 I got this extra "0" folder on my internal sdcarrd. Can I just cut/paste the content of the "0" folder back to the original sdcard root? or will this have a negative effect on the storage?
Regards.
olfyboy said:
Soo, I know there's a lot of these threads around, but I can't find the answer I'm looking for. I'm wondering: After I flashed 4.2 I got this extra "0" folder on my internal sdcarrd. Can I just cut/paste the content of the "0" folder back to the original sdcard root? or will this have a negative effect on the storage?
Regards.
Click to expand...
Click to collapse
I had this issue earlier so i moved everything back to the root folder and deleted "0". If you are planning on flashing a few 4.2 roms i suggest you use the latest TWRP recovery or wait for the updated clockwork recovery because everytime you flash 4.2 roms they automatically create a 0 partition so you will end up with 0/0/0 etc depending on how many you flash
K, thanks!
I think I'll just copy the content of the "\0" folder back to the root, and stick with the ROM I'm on now. Then I'll update CWM when an update is released.
Aaargh.. I'm getting kinda pissed now..
When I try to copy the sd-content back to the root, it says that the device has stopped responding, or isn't connected. Can you tell me what is the standard root folder for the sd-content?
After installing a previous backup the was still a 0 folder so I copied all of the files to the root folder however it made the pictures unable to view
Sent from my Galaxy Nexus using xda app-developers app
I've tried several methods to move my clockworkmod folder out of the "0" folder to the sdcard "root" to no avail.
I'm currently backing up everything from "0" to my desktop. Once that's done, how can I push the clockworkmod folder to the sdcard "root"?
daewond3r said:
I've tried several methods to move my clockworkmod folder out of the "0" folder to the sdcard "root" to no avail.
I'm currently backing up everything from "0" to my desktop. Once that's done, how can I push the clockworkmod folder to the sdcard "root"?
Click to expand...
Click to collapse
Seems like there are some problems copying big folders over to the root. Try to first copy the CWM folder from your PC into some folder on the sd-root. Then, from your phone, open up a file explorer and copy the CWM folder to the root. Pretty weird, but it looks like it's working for me..
Edit: Yupp! worked for me. Hope you'll sort it out aswell.
olfyboy said:
Seems like there are some problems copying big folders over to the root. Try to first copy the CWM folder from your PC into some folder on the sd-root. Then, from your phone, open up a file explorer and copy the CWM folder to the root. Pretty weird, but it looks like it's working for me..
Edit: Yupp! worked for me. Hope you'll sort it out aswell.
Click to expand...
Click to collapse
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
move it to /data/media
---------- Post added at 12:26 AM ---------- Previous post was at 12:11 AM ----------
here's how it works
before the virtual link to /sdcard was /data/media
cwm was writing under /data/media so cwm folder would show up under /sdcard as well
now the virtual link to /sdcard is /data/media/0
that's because of multiuser (even if multiuser is not working on phones)
cwm is still wriyinb to /data/media so cwm golder eoll mot show up under /sdcard
solutions
1. to copy cwm foldrr on pc: move cwm folder from /data/media to /data/media/0 that is to /sdcard then attach phone to pc and copy folder from sdcard
2. to restore from a backup on your vomputer: attach phone to pc, create cwm folder on sdcard andcopy h erebackup folis, copy cwm foldef from /data/media/0 into /dara/media
it is normal to have a /data/media/0 which means /sdcsrd
it is not normal to have /data/media/0/0 which means /sdcard/0
the latter happens on your second installation etc.
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
I used solid explorer beta2. You'll find it on google play
Sent from my Galaxy Nexus using Tapatalk 2
I haven't updated to 4.2 yet because of this sdcard/0 issue I'm reading about
I don't care much about what's on my SD card besides my Nandroid backups so the only thing for me is: can I restore a backup from CWM if I move the "clockworkmod" folder from sdcard/0 back to the root of the SD card?
I assume there's no other adverse effects of all our files and stuff being on sdcard/0 instead of just sdcard root?
Enhanced said:
I haven't updated to 4.2 yet because of this sdcard/0 issue I'm reading about
I don't care much about what's on my SD card besides my Nandroid backups so the only thing for me is: can I restore a backup from CWM if I move the "clockworkmod" folder from sdcard/0 back to the root of the SD card?
I assume there's no other adverse effects of all our files and stuff being on sdcard/0 instead of just sdcard root?
Click to expand...
Click to collapse
read my commeny above: yes, although cumbersone, yes
I'm thinking this is the appropriate thread to post this so here I go. I flashed the newly released 4.2 rooted stock image and there were a few problems :
1. I forgot to delete the cache/dalvik cache, which created a bootloop and completely messed up my device, and I had to wipe/factory data reset from the recovery to fix it (in which case I had to lose almost all of my data)
2. I accidently overwrote an existing nandroid backup of the previous (CM 10 stable) ROM I had made to restore just in case anything happens, so I was out of options to restore my nexus to a working state. I finally had to use the crashed ROM's nandroid backup using an advanced recovery so I had my photos, videos etc intact. I got it finally working but anyways,
3. I restored my apps+data using titanium backup. I wanted to go back to my CM10 backup which I had made using ROM manager and it was still present with the rest of my data. But when I selected the backup which made, the device restarted and gave me an error stating "SD CARD MARKER NOT FOUND" :crying:
Now I'm unable to restore or even make a new backup with ROM manager. And to add, I have like three folders for storage using up too much space on my sdcard :
1. root/sdcard - I have no idea where this came from but it sure has an awful lot of my files copied there
2. root/storage/sdcard0
3. root/storage/emulated - has two subfolders : 0, legacy
All of the above locations contain the same exact files and I just want my nexus back the way it was. I know I can flash CM10 right away but I just wanna get some help on how to delete and make changes to these added folders by properly moving the files without crashing the os.
Any help would be greatly appreciated!
I am having this issue as well and am very very annoyed. Please help. Thanks. I cannot get into recovery manually or otherwise. Keep getting Andy with the red exclamation mark in his chest and must remove battery to reboot.
Fu#k rom manager and CWM use TWRP an rom toolbox pro an you will be fine on 4.2 JB.
Sent from my Galaxy Nexus using xda premium
Update: got it working.. had to flash back cm10 stable, move files around and get back the old ROM manager backup and restore it. Its fine now. Not to mention the 4.2 ROM was pretty unstable on my nexus, causing several reboots and sometimes it froze (especially when I connected it to my desktop) and I had to remove the battery and put it back in to get it working. Moreover the 4.2 rom screwed up the file system, making my nexus' SD card unreadable on any desktop. It just wouldn't install the drivers whatsoever. I'd wait for cm10.1 than try any other custom 4.2 from now on.
Sent from my Galaxy Nexus using xda app-developers app
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
You can download Root Browser Lite from play store, which gives you complete access to the root of your phone and internal files such as system/.
So I flashed a new rom with all the wipes and I ended up with a couple issues and the typical 4.2 file structure under the "0".
I tried another ROM again today (with the wipes) and now I have two "0" folders, one embedded under another and a lot of my backups are in different locations.
So it's SDCard/0/0.
Is there a good way to fix this?
cwepruk said:
So I flashed a new rom with all the wipes and I ended up with a couple issues and the typical 4.2 file structure under the "0".
I tried another ROM again today (with the wipes) and now I have two "0" folders, one embedded under another and a lot of my backups are in different locations.
So it's SDCard/0/0.
Is there a good way to fix this?
Click to expand...
Click to collapse
I know the CAUSE is from using an out-of-date recovery. TWRP hasn't had that issue for a while, but i think CWM only fixed it just recently. It didn't start until i believe 4.2.1 ROMS were flashed. I'm still not sure if it's a good thing or not to delete those "0" folders or not. I'm sure someone will chime in on that.
the 0 folders have your sd card files in them (pictures, music, etc). if you move all your stuff back to the root of your internal sd card you can delete the 0 folders.
sent from my i747 with xda-premium
I tried moving the folders on my windows PC (old pos) and it didn't work. Android file transfer doesn't work with my GS3 and my Mac.
Frustrating.
Anyways to reflash something in CWM or is moving the files the only way?
Edit: Astro works alright...so where should Ibe putting most of these files? Under SDCard or under SDCard/0?
Now i moved some folders up, the gallery shows everything as a picture (icons) and titanium can't find any apps.
Nw sure what to do.
After I went back to stock, re-rooted, and reflashed 4.2, I tried moving everything from /sdcard/0 to /sdcard. It seemed to work, but then all of a sudden, on the next boot, it was all gone. My internal storage was wiped.
Luckily most of the important stuff is on my external SD card, but that was still really frustrating.
Just a word of warning if you try to move these files. Make a backup.
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
No file moving should be done, it will most likely cause data loss when the issue is finally gone... If CWM has fixed it switch to the newest one or use TWRP and Fully Wipe the phone including format /system...
Here is a link to a script you can flash to move files from 0 folders back to sdcard, you can thank the OP of the script there:
http://forum.xda-developers.com/showpost.php?p=35653109&postcount=8124
Manual solution via Windows
I had the same problem. Solved via the following steps: Using Windows, navigate to deepest level "0" folder. Select all, copy. Navigate to the next higher level "0" folder (or the root "Phone" folder if you're only one step down). Paste. Windows will perform a merge, versus replace.
Next, delete the "0" folder from the directory you're currently in, the one you just copied all the files from. I should note, I actually moved the folder to my desktop just in case I needed to bring it back later. So far I haven't, but better safe than sorry.
Once that's done, select all in the same folder, copy. Navigate to the next higher "0" level folder or the root (or the root "Phone" folder if you're only one step down). Paste. Repeat same process, move up a level, repeat, move up a level. You'll need to do this for every "0" folder you have (I had two, I've seen reports of more & less).
Eventually, you'll have all the same files and directory structure merged up to the root Phone folder. My device, a Samsung S3 running 4.3, recognized and responded to the changes with no problems.
So as of recently TWRP will not read the current files in my storage on my OG. I download new files and reboot recovery to flash, IE kernel, and TWRP still shows old files and not new ones. I've gone through and deleted old files and left only the new ones in the sdcard directory but TWRP still reads only old files. I'm using root explorer to delete/ move files, i have flashed the recovery about five times through GooManager, and have even flashed an older TWRP in fastboot. I'm stuck... any input??
What ROM are you on?
Sent from my LG-LS970 using xda app-developers app
I had this same issue after flashing CM. Had to erase internal storage.
Sent from my LG-LS970 using xda premium
janob09 said:
So as of recently TWRP will not read the current files in my storage on my OG. I download new files and reboot recovery to flash, IE kernel, and TWRP still shows old files and not new ones. I've gone through and deleted old files and left only the new ones in the sdcard directory but TWRP still reads only old files. I'm using root explorer to delete/ move files, i have flashed the recovery about five times through GooManager, and have even flashed an older TWRP in fastboot. I'm stuck... any input??
Click to expand...
Click to collapse
It will recognize the 0 folder as your SD card. You can either move all the files out of 0 copy to sdcard and delete 0, or just move stuff that you want to flash into the 0 folder. I did the latter because every time I flash aosp the 0 folder returns.
I looked for the 0 folder, but found nothing. But it did seem to happen shortly after flashed cm. Must be it I guess I'll have to format storage.
I have this problem and I can't restore or flash a rom since I can't find the files. When you say delete internal storage what does that actually do? I don't want to lose everything including my backups (which I did save on my laptop) and not be able to restore my phone. I am currently just rooted stock but did flash CM10 to play a little bit.
Put my zip files in the 0 folder and my TWRP theme in the TWRP folder inside the 0 file and it see them and works. This zero file thing is weird. I'm hoping I can get rid of it eventually.
bruiserman said:
I have this problem and I can't restore or flash a rom since I can't find the files. When you say delete internal storage what does that actually do? I don't want to lose everything including my backups (which I did save on my laptop) and not be able to restore my phone. I am currently just rooted stock but did flash CM10 to play a little bit.
Put my zip files in the 0 folder and my TWRP theme in the TWRP folder inside the 0 file and it see them and works. This zero file thing is weird. I'm hoping I can get rid of it eventually.
Click to expand...
Click to collapse
You could try and sideload a rom with ADB to the directory that TWRP is reading from.
If you use Root Explorer and go to root(mount R/W), you can access your 'new' backups under data/media/TWRP. This is where I found all of my back ups after flashing a new ROM. This seems to be default storage for back ups, at least for me, so I copied my original stock back up form my 'sdcard' partition and brought it to the new location. That way I have an original configuration in both places; cover all the bases that way. Hopes this helps others......:good:
BTW - I am running EOS right now; not sure if this will be the case for every ROM flashed.......