CWM and JB4.2 - Samsung Galaxy Nexus

I understand that CWM will have to be updated for 4.2 rite?
I still have v5.5 but I guess I'll eventually have to update to any new version coming out... cos there's one coming out rite?

you just answered all your own questions, was this worth starting a new thread?
Sent from my Galaxy Nexus using xda app-developers app

CWM is on 6.x now so isn't this thread redundant?

EddyOS said:
CWM is on 6.x now so isn't this thread redundant?
Click to expand...
Click to collapse
well I do not know wher cwm is... I've always kept 5.5 because it was working fine, while now the 4.2 chanmging sdcard location will force me to update cwm... so was just asking for a confirmation...
can amy1 point me to teh offocial thread of cwm for gnex?

6.0.1.0 is on the ClockworkMod website, and 6.0.1.4 is in the Dev section of this very forum

TWRP now works with 4.2:
There's a file called .layout_version in /data partition, when you factory resetted your device using the recovery, the .layout_version file was also wiped during factory reset process as the recovery is supposed to wipe /data (ofcourse excluding the /data/media/ partition as it is the sdcard) partition in this process. So when Android sees that there's no .layout_version file in /data partition it moves the existing data from /data/media/0/ to /data/media/0/0/ and thus forming an infinite loophole of data being moved to other locations at every reset.
Click to expand...
Click to collapse
Thread

Smokeey said:
TWRP now works with 4.2:
Thread
Click to expand...
Click to collapse
I did not factory reset my phone using the recovery: i simply applied the OTA from 4.1.2 to 4.2
My problem actually is that the /data/media/clockworkmod folder is not seen from /sdcard when accessing either from pc or from rootexplorer, the reason being at this point that cwm is writing files into /data/media/clockworkmod instead of /data/media/0/clockworkmod
CWM keeps on working fine actually, it's simply more difficult to copy the backup from /sdcard to pc: I have to copy /data/media/clockworkmod into /data/media/0/clockworkmod with root explorer and then I can move /sdcard/clockworkmod to the pc (and I wrote move, because by doing so you end up having two clockworkmod folders).
I could move to TWRP but then my 4.1.2 cwm backup I made before upgrading will be useless in case I wanna go back from 4.2 to 4.1.2

thegios said:
I did not factory reset my phone using the recovery: i simply applied the OTA from 4.1.2 to 4.2
My problem actually is that the /data/media/clockworkmod folder is not seen from /sdcard when accessing either from pc or from rootexplorer, the reason being at this point that cwm is writing files into /data/media/clockworkmod instead of /data/media/0/clockworkmod
CWM keeps on working fine actually, it's simply more difficult to copy the backup from /sdcard to pc: I have to copy /data/media/clockworkmod into /data/media/0/clockworkmod with root explorer and then I can move /sdcard/clockworkmod to the pc (and I wrote move, because by doing so you end up having two clockworkmod folders).
I could move to TWRP but then my 4.1.2 cwm backup I made before upgrading will be useless in case I wanna go back from 4.2 to 4.1.2
Click to expand...
Click to collapse
just wait for cwm to be updated
---------- Post added at 03:42 PM ---------- Previous post was at 03:40 PM ----------
b1337 said:
you just answered all your own questions, was this worth starting a new thread?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
and this....

latest news from cwm regarding the fix
https://plus.google.com/u/0/103583939320326217147/posts/CzstapsDpYf

k786 said:
latest news from cwm regarding the fix
https://plus.google.com/u/0/103583939320326217147/posts/CzstapsDpYf
Click to expand...
Click to collapse
yep, already cn that: "Android 4.2 devices will get new recovery builds shortly", which means it's not ready yet
what would be the benefit of mving to TWRP?

Related

How can I restore my nandroid backup after flashing android 4.2 via cwm?

How can I restore my nandroid backup after flashing android 4.2 via cwm? Because now my nandroid backup is located in sdcare/0/0/0/0/0/clockworkmod, so cwm can,t find it and can't restore.
any fix thx a lot
arhung said:
How can I restore my nandroid backup after flashing android 4.2 via cwm? Because now my nandroid backup is located in sdcare/0/0/0/0/0/clockworkmod, so cwm can,t find it and can't restore.
any fix thx a lot
Click to expand...
Click to collapse
im having the same issue, what im doing is downloading a 4.1.2 ROM and flashing that then seeing if the SDcard is back to normal. will report back when finished
Push your clockworkmod folder to /data/media.
All you need is working ADB and to make things even more simple QtADB.
Alternatively a root explorer *should* work...
use a file explorer or pc to transfer files to sdcard0
I can't locat the file...
Sent from my Galaxy Nexus using xda app-developers app
Don't restore when switching major versions, just reinstall - would be my advice. Especially on this one, at least until custom recoveries take care of that (if it hasn't happened already).
same thing here.
tried out the new 4.2, and then the recovery doesn't find the data anymore
i'm trying to flash other rom, and if it won't work, i'll try to go back to the stock rom...but i don't think it would help.
Connecting the device via usb doesn't show all the folders :S
hello, sorry for bumping a semi-old thread, but came across it while searching. I was wondering if you found a solution to your issue. I'm having the same problem after updating my S3 and CWM doesnt read my backups. Thanks for any help.
pudge12 said:
hello, sorry for bumping a semi-old thread, but came across it while searching. I was wondering if you found a solution to your issue. I'm having the same problem after updating my S3 and CWM doesnt read my backups. Thanks for any help.
Click to expand...
Click to collapse
Wrong forum dude! But if it's anything like the Nexus the CWM backups on the SD card need to be moved to /media/data to be read by CWM
EddyOS said:
Wrong forum dude! But if it's anything like the Nexus the CWM backups on the SD card need to be moved to /media/data to be read by CWM
Click to expand...
Click to collapse
I know its a nexus thread, thats why I mentioned that I had an S3. Thank you for the suggestion, I'll give it a try.
its all about the sdcard/0/ *.*
to move the file back sdcard/ *.* would help but how ?

Galaxy Nexus Local Storage x 4

Hi guys,
So ice just updated to JB 4.2 and when I use a file manager on my phone, it's seeing 4 local storage devices for some reason.. has anyone else seen this?
Yea I'm pissed can't find my backups for cwm
Sent from my Galaxy Nexus using xda premium
nucleor1989 said:
Yea I'm pissed can't find my backups for cwm
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Okay well at least it's not just me then..I copied my CWM backups to my PC before doing anything though because I had to restore to a takju version of JB before I could install the update so I knew everything would be wiped..just thought I had messed something up because of the 4 storage devices
Any solutions? Should wait for GOOGLE to add kind setting that allows to use multiple storages...if we are the only users of our devices, well there's no need to have more than 1 storage...
I have the same problem... now i also had to make a new backup, because CWM didn't find my other backup's..
are there any solutions yet?
Update to CWM recovery 6.0.1.9 and try the same. It could be because of the directory/file structure new in JB 4.2. The latest CWM .9 handles this
If you want to restore a backup, you have to copy it to your PC first, flash Android 4.1.2 and then restore the backup.
d_wings said:
If you want to restore a backup, you have to copy it to your PC first, flash Android 4.1.2 and then restore the backup.
Click to expand...
Click to collapse
no to restore he has to take his backup out of the 4 folders put it in data/media and then restore using cwm
Mathieu.L said:
I have the same problem... now i also had to make a new backup, because CWM didn't find my other backup's..
are there any solutions yet?
Click to expand...
Click to collapse
update to the latest cwm/twrp and use this guide if you want to keep sdcard format same as before
http://forum.xda-developers.com/showthread.php?t=1999214

4.2.1 "0" folders!!!!

I'm on 4.2.1 and everytime I flash a new rom, It creates this new "0" Folder. I already know why it creates these folders.
Problem is, these folders are not populated with anything inside. They're just copies of the same folder but empty.
My questions is, for someone like me who has a full /sdcard, what is the best and quickest way to move all my folder back to /sdcard and get rid of the "0" folders. I have about 7 of them now...
Moving them one by one seems incredibly slow since the nexus internal memory isn't fast at all...
Tried that myself, removing everything from 0 folder effectively deleted everything as far as android was concerned .... the data in sdcard was no longer readable
Sent from my GT-P7510 using xda premium
I was wondering what would happen if I deleted the 0 folders as well. I think I might back everything up to my PC and do some tinkering with the folders.
Sent from my Galaxy Nexus using xda app-developers app
there is a thread about this...I finally got mine fixed sd card was a mess...
Sent from my Galaxy Nexus using xda premium
lemonspeakers said:
I'm on 4.2.1 and everytime I flash a new rom, It creates this new "0" Folder. I already know why it creates these folders.
Problem is, these folders are not populated with anything inside. They're just copies of the same folder but empty.
My questions is, for someone like me who has a full /sdcard, what is the best and quickest way to move all my folder back to /sdcard and get rid of the "0" folders. I have about 7 of them now...
Moving them one by one seems incredibly slow since the nexus internal memory isn't fast at all...
Click to expand...
Click to collapse
These "0" Folders should no longer appear if you are using the latest TWRP recovery. I even read that the latest CWM recovery has also fixed this.
When it happened to me, I installed the new ROM (of course, rooted) then used ES File Explorer to CUT the data from the deepest "0" Folder then paste it to the main /sdcard/ place. Afterwards, all my files were on /sdcard/ and the "0" folder as well but it is empty now because I took the data out of it, so I deleted the "0" Folder. I lost nothing of my data this way.
If you are going to try this, then first use ADB to pull the data from /sdcard/ to your PC then try so you can push your data again if anything goes wrong
Hope this helps
You don't need ADB, just connect your phone to your PC and open up the storage.
Find the current 0 folder or w/e that your system is currently using. (You can check date it was modified)
Paste it in the /Sdcard and delete everything else.
You said you knew why it was doing it but you kept doing it? Your harsh on yourself, update your recovery.
O and the answer is in 1 of these threads too, probably to same thread you downloaded your ROM from.
so the new CWM, 6.0.1.5 fixes this? I dont have this problem yet because i havent flashed a new rom after 4.2 but I just want to make sure before I do. Thanks.
TheOozyMan said:
so the new CWM, 6.0.1.5 fixes this? I dont have this problem yet because i havent flashed a new rom after 4.2 but I just want to make sure before I do. Thanks.
Click to expand...
Click to collapse
no 6.0.1.9
is 6.0.1.9 availible for nexus (gsm)? only find 6.0.1.5 at rom manager site
darkarvan said:
is 6.0.1.9 availible for nexus (gsm)? only find 6.0.1.5 at rom manager site
Click to expand...
Click to collapse
yes its here : http://forum.xda-developers.com/showthread.php?t=1757146
I think that is because the new OS allows the multiusers.
After all, the clockwork file are is in /data/media/ , with the 0 folder
Please read forum rules before posting
Questions go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
CWM 6.0.1.5 does fix the nested 0 folder issue, 6.0.1.9 is a kang
Download TWRP recovery or update your clockwork recovery. I recommend TWRP, very nice recovery and feel that it's better than clockwork
Sent from my Nexus 4 using xda premium
zephiK said:
Download TWRP recovery or update your clockwork recovery. I recommend TWRP, very nice recovery and feel that it's better than clockwork
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Agreed
Sent from my Galaxy Nexus using xda app-developers app
DJxSpeedy said:
no 6.0.1.9
Click to expand...
Click to collapse
well I have the newest twrp and I get 0 folders all time when jumping from rom to rom and legacy folders. I just take everything out of them and merge it back into the main folders.... it works perfect (nothing gets lost) my worry is im maybe adding files that are ment to be deleted.. never anything good in the 0 folders just boring app crap but then again I only test other 4.2.1 roms I don't use them. So maybe given time the 0 folders would get big? if so iI woulde love a fix I searched a lot but i keep finding these threads so I thought poswt.
Your not crazy new recovery isn't a fix at all
For me, if i use latet CWM, if i flash from 4.1 to 4.2, the files will stay the same. But if i flash from 4.2 to 4.1, then it start creating 0 folder. But if i flashed 4.2 roms to 4.2 roms, no 0 folder was created.
However, i tried latest TWRP last night, flashing PA 4.2 rom from CNA 4.1, it still create the 0 folder.
Its weird..and annoying
Sent from my Galaxy Nexus using Tapatalk 2
maliceomalice said:
For me, if i use latet CWM, if i flash from 4.1 to 4.2, the files will stay the same. But if i flash from 4.2 to 4.1, then it start creating 0 folder. But if i flashed 4.2 roms to 4.2 roms, no 0 folder was created.
However, i tried latest TWRP last night, flashing PA 4.2 rom from CNA 4.1, it still create the 0 folder.
Its weird..and annoying
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Get cwm. I have no more 0 folder issues with it
Sent from my Nexus 7 using xda app-developers app
VonEsch said:
Get cwm. I have no more 0 folder issues with it
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Ok if I already got 0 folder how do I fix this?
So going from 4.2 to 4.1 on CWM you don't end up with a left over 0folder and legacy driver? I only get them going from 4.2 to 4.1
Not the other way around
iChrist I love twrp
Link the CWM you use please? Is it touch is it offical I mean give me details pleaseee

Nandroid backup error! Please help :(

Hi guys.
I flashed over the new cm 10.1 and made a nandroid backup of my old cm10.0
but then when restoring i get the error that /system could not be restored.
I have searched over many threads on xda and androidcentral for people who experienced similiar problems but to no avail
Changing cwm recovery version doesn't seem to help at all.
Any one have any suggestions please help me out.. I'm pretty lost now spending the last 3 hours trying to recover it..
Thanks in advance!
thunderskain said:
Hi guys.
I flashed over the new cm 10.1 and made a nandroid backup of my old cm10.0
but then when restoring i get the error that /system could not be restored.
I have searched over many threads on xda and androidcentral for people who experienced similiar problems but to no avail
Changing cwm recovery version doesn't seem to help at all.
Any one have any suggestions please help me out.. I'm pretty lost now spending the last 3 hours trying to recover it..
Thanks in advance!
Click to expand...
Click to collapse
Use version 5 working
When you upgrade to 4.2 all of the sdcard content is moved from /data/media to /data/media/0
So, the location of your clockworkmod backup is now /data/media/0/clockworkmod
If, you are using an older version of clockworkmod recovery, it will not automatically find the new backup location.
There are two solutions:
1. Flash the latest clockworkmod recovery
2. Manually copy content from /data/media/0 to /data/media using adb
Click to expand...
Click to collapse
thunderskain said:
Hi guys.
I flashed over the new cm 10.1 and made a nandroid backup of my old cm10.0
but then when restoring i get the error that /system could not be restored.
I have searched over many threads on xda and androidcentral for people who experienced similiar problems but to no avail
Changing cwm recovery version doesn't seem to help at all.
Any one have any suggestions please help me out.. I'm pretty lost now spending the last 3 hours trying to recover it..
Thanks in advance!
Click to expand...
Click to collapse
Hi thanks for the help guys but here's my situation:
mikrotik said:
Use version 5 working
Click to expand...
Click to collapse
Which version 5 you mean? CWM version 5? I tried that and it said that system.img is not found. The backup folder doesnt have the system.img file at all so i guess it woudnt work...
DZYR said:
When you upgrade to 4.2 all of the sdcard content is moved from /data/media to /data/media/0
So, the location of your clockworkmod backup is now /data/media/0/clockworkmod
If, you are using an older version of clockworkmod recovery, it will not automatically find the new backup location.
Click to expand...
Click to collapse
I searched the previous threads and did move it to the /data/media and it could find the backup. However halfway during the restoring, the error came out saying "error while restoring /system"
Any hope?... or is my backup ruined?... Thanks...
thunderskain said:
Hi thanks for the help guys but here's my situation:
Which version 5 you mean? CWM version 5? I tried that and it said that system.img is not found. The backup folder doesnt have the system.img file at all so i guess it woudnt work...
I searched the previous threads and did move it to the /data/media and it could find the backup. However halfway during the restoring, the error came out saying "error while restoring /system"
Any hope?... or is my backup ruined?... Thanks...
Click to expand...
Click to collapse
Yeah use cwm version 5
Sent from my GT-I8150 using xda premium
mikrotik said:
Yeah use cwm version 5
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
Which version 5? I tried 5.8 but then it said the system.img is not found?
Which version should i use?
Thanks!
Hi, use this clockworkmod ... http://download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.2.3-maguro.img
Sent from my Galaxy Nexus using xda app-developers app
DZYR said:
Hi, use this clockworkmod ... http://download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.2.3-maguro.img
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Hi, tried this but the /system error is still there any possibilities?
Sent from my Galaxy Nexus using xda app-developers app
I'm having the same problem. I made a nandroid with CM10.0 and then did a clean wipe, updated the rom to CM10.1, and I've been annoyed by certain things ever since, such as the new file structure.
So I've tried to restore my nandroid of CM10.0 only to find that CWM Recovery can't find it, so I managed to find the backup myself and move it to where CWM stores new nandroid backups, and then I get the same message: "Error while restoring /system!". I updated CWM to 6.0.2.3, the current version, and I still get the same error.
Does anyone know the best way to restore my phone to CM10.0 with my data in the nandroid backup?
MY situation is similar but not quite the same. i did the nandroid backup in clockworkmod. i flashed 10.1. i noticed it moved it to the "zero" folder. so i moved it back. i go back to restore, and here is where things are different. it says its not there. says it can't find a backup.
so i do a backup on 10.1. it creates the backup properly. i check in ES Explorer, both files are there. i go into recovery, it only finds the new one i just created. not the old one.
*sigh*
Since the move to 4.2.x all user data has been moved to /0/data instead of just being in /data
Now, backups shouldn't be any different UNLESS you had the one you want on your SD card before updating. CWM is looking on the original position of the backup but it's probably in the /0/ folder. Move it back to /sdcard/clockworkmod/backup/<date of backup> and it should find it when you go back to CWM
EddyOS said:
*sigh*
Since the move to 4.2.x all user data has been moved to /0/data instead of just being in /data
Now, backups shouldn't be any different UNLESS you had the one you want on your SD card before updating. CWM is looking on the original position of the backup but it's probably in the /0/ folder. Move it back to /sdcard/clockworkmod/backup/<date of backup> and it should find it when you go back to CWM
Click to expand...
Click to collapse
I tried placing it in the /sdcard/clockworkmod but then cwm wouldn't find the backup, it would just say backup not found. Only after moving it to /data/media then the backup can be seen, but it still gives the error that I'm currently having.
Thanks
Sent from my Galaxy Nexus using xda app-developers app
thunderskain said:
I tried placing it in the /sdcard/clockworkmod but then cwm wouldn't find the backup, it would just say backup not found. Only after moving it to /data/media then the backup can be seen, but it still gives the error that I'm currently having.
Thanks
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I have the same problem.
CWM 6.0.2.3
saves new backups to data/media/clockworkmod but you cant see it when connected to a computer.
move the backup in the above directory to data/media/0/clockworkmod, this is the new sd card directory.
"Im guessing" that if you want to restore an old nandroid, you will have to adb push it to data/media/clockworkmod/backup.
"also guessing" you have to push the blobs folder as well or it wont restore.
you will see other 0 folders and emulated folders in the root directory,I tried to delete these but it deletes folders in the data/media/0 folder.
these other 0 and emulated folders do not seem to contain actual data files, but are more of a link to the actual data files, the new system type i beleive.

Flashed CM10, went to restore to a previous backup. No files found

Clockwork version 6.0.1.4, I'm on Jelly Bean
Flashed CM and didnt like it, went to restore to the backup I did minutes before flashing and now I'm getting no files found.
CollegeProfesor said:
Clockwork version 6.0.1.4, I'm on Jelly Bean
Flashed CM and didnt like it, went to restore to the backup I did minutes before flashing and now I'm getting no files found.
Click to expand...
Click to collapse
have u checked the blobs folder internal and external sd card?
Which version of CM did you flash. If you flashed one of the nightly builds dated 12/17 and forward you may have flashed 10.1 which is JB 4.2.1. JB 4.2.1 modifies the directory layout to make way for multi-user support and puts the contents of your /sdcard/ folder to /sdcard/0/ which may cause your backups to not be recognized by CWM.
Before we can help we need to know which version you flashed. Thanks!
This is what happened to me.I just back to stock Via Odin, thanks though
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
This is just happened to me, i was on CM10, and just did and upgrade now im on the CM10.1. it moved everything to the sdcard/0/
my question is how do I get all that stuff I backed up back to the proper folder??
[email protected] said:
This is just happened to me, i was on CM10, and just did and upgrade now im on the CM10.1. it moved everything to the sdcard/0/
my question is how do I get all that stuff I backed up back to the proper folder??
Click to expand...
Click to collapse
If you have USB MTP functionality you can just connect it to your computer and manually move your CWM folder from /sdcard/0 to /sdcard/
Then simply boot to recovery and CWM should see your list of backups.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
RPelham said:
If you have USB MTP functionality you can just connect it to your computer and manually move your CWM folder from /sdcard/0 to /sdcard/
Then simply boot to recovery and CWM should see your list of backups.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
I'm on the same boat as the OP. I tried doing what you recommended but the darn files won't copy and it takes ages. I'm helpless. Hating CM10 for ruining my life lol.
Aww don't hate on cm, the new update is causing some pretty big problems, but keep in mind it is only 3 days old. give it some time. =)
There are a couple of possible solutions:
1.) Flash back to stock using ODIN and then reinstall a custom recovery/ROM.
2.) ADB push the backups to the correct folder.
Either option should work just fine. In the future I'd also recommend TWRP as your recovery manager. It has a built in file manager that saved me on this issue by allowing me to copy the data to the correct folders within the recovery module itself.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
All of the above problems happened to me so I know what u guys are going through. ......I will only flash cm stables FROM NOW ON.
Sent from my SAMSUNG-SGH-I747 using xda premium
RPelham said:
2.) ADB push the backups to the correct folder.
Click to expand...
Click to collapse
This is what I figured. However, the backup fails with message "Error while restoring /system".
Tried using CWM 6.0.0.0 (which version is equipped with cm10 stable?) and installing cm10 stable prior to restoring my cm10 backup. It still fails and now I don't know what to do next. Any advice is welcome!
EDIT1: BTW: I need to restore my CM10 to remove my 4*4 pattern... when installing CM10.1, 3*3 pattern must be entered, which I don't know, so I cannot unlock my own phone... :/
EDIT2: Hold on... I did not know about incremental backups and hence I did not copy the blobs folder (within clockworkmod folder)... I will do that now and expect the restore to succeed then.
EDIT3: this works fine, remember to not only copy the folder "backups" but also all the other stuff of the clockworkmod-folder. or make a symlink in /data/media to the old location. works fine.
Changed CWM location
whisky_ said:
I'm on the same boat as the OP. I tried doing what you recommended but the darn files won't copy and it takes ages. I'm helpless. Hating CM10 for ruining my life lol.
Click to expand...
Click to collapse
1. Open terminal, become root by using command 'su'.
2. Enter the following command:
cp -Rv /data/media/0/clockworkmod/backup/[backup dir] /data/media/clockworkmod/backup
eg.:
cp -Rv /data/media/0/clockworkmod/backup/2012-12-12.12.00.44 /data/media/clockworkmod/backup
Reboot to recovery and select the 'backup and restore'. Now there will be another entry with your older backup. Restore it. Enjoy!
clockworkmod backup folder location?
delete

Categories

Resources