yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] osm0sis:
I don't. but there must be some buried in the thread here.
[Samsung Galaxy Nexus] sk8oldschool74:
I will look if you happen to find it can you either pm me it or post it on this thread thanx bro...;):):beer::beer::beer:

---------- Post added at 03:06 PM ---------- Previous post was at 02:31 PM ----------

If it is I can't find it:(:(:(
[Samsung Galaxy Nexus] osm0sis:
I can tell you with certainty there's no color difference...
[Samsung Galaxy Nexus] omron2010:
Correct MD5

Hi,

I have run into different versions of recovery-clockwork-touch-6.0.1.4-maguro.img

http://goo.im/devs/slukk/Recovery/maguro

Size: 5.040KB

DDD98F0B05065B6B44F18F2AC1AEA586

and

The one from this thread

Size: 5.048KB

48D0EAD3A63177FFB1EB6C0D18B7C5AD

Any ideas why there is a difference and which is the right one (guess the one from this thread ;) )
[Samsung Galaxy Nexus] osm0sis:
Two possibilities:

One is built using the original fstab and one using the cm build presets. Check the builder site and you'll see what I mean.

The other thing is it could be built on any changeset between 6.0.1.4 and 6.0.1.5 and still have that version but be different. I only build them when the revision changes for this reason.
[Samsung Galaxy Nexus] sk8oldschool74:
So there is a 6.0.1.5?
[Samsung Galaxy Nexus] osm0sis:
Yup my sig don't lie. :p Pg 54.
[Samsung Galaxy Nexus] DJxSpeedy:
any news about android 4.2 and the sdcard0 problem ?

Gesendet von meinem Galaxy Nexus mit Tapatalk 2
[Samsung Galaxy Nexus] osm0sis:
You could ask koush over twitter or g+, but there's definitely nothing new yet in the github repo.

https://github.com/CyanogenMod/android_bootable_recovery/commits/jellybean
[Samsung Galaxy Nexus] DJxSpeedy:
i hope he get it fixed soon i can backup but it dosnt backup the data partition...and the clockworkmod folder is on the false partition :(

Gesendet von meinem Galaxy Nexus mit Tapatalk 2
[Samsung Galaxy Nexus] jakis39:
Is one backup supposed to be occupying over 4 GB on my SD? My clockworkmod folder is huge.

Also, does "factory reset" data wipe clear the SD card now too?
[Samsung Galaxy Nexus] osm0sis:
The one good thing I can think of that's coming from all of this is it will probably put a fire under koush's ass to finally update the build on ROM Manager from 6.0.1.0. :laugh::p

It didn't used to clear the sd.. but I haven't tried since we ran into the issues with the new multiuser symlinking. Hmm I have a thought though.. If we build a new 6.0.1.5+ with the new 4.2 maguro stock recovery.fstab it could include the info it needs to link up correctly for the new filesystem. I'll try it once I get home from work tonight. :good:
[Samsung Galaxy Nexus] FrancescoGato:
I have the same sdcard problem

http://xdaforums.com/showthread.php?p=34105373

Has this been solved? Thanks!
[Samsung Galaxy Nexus] DJxSpeedy:
no we wait atm for an new cwm with that fixed
[Samsung Galaxy Nexus] osm0sis:
I'm trying some **** out. The fstab doesn't look any different though, so I don't think my idea will work, but I've got Jenkins working on a few builds right now to test anyway.
[Samsung Galaxy Nexus] osm0sis:
Alright guys, give these a spin. Let me know which, if any of them helps. They should work fine, they just might not fix the sdcard issue.

[Attachments removed. Both failed.]
[Samsung Galaxy Nexus] DJxSpeedy:
does it see data ?
[Samsung Galaxy Nexus] osm0sis:
You tell me? I'm whipping up a few more tests.
[Samsung Galaxy Nexus] DJxSpeedy:
i dont wanna be an tester sorry.. i cant make cwm backups atm.. when i could i can be an tester... and there is no flashable zip..sorry man
[Samsung Galaxy Nexus] jeremysherriff:
Can I just drop it into a specific location, or do I need to push via ADB?
[Samsung Galaxy Nexus] osm0sis:
Sorry but that's ridiculous. Why would I make you a flashable zip when CWM can't find the sdcard to select it with?

---------- Post added at 11:37 PM ---------- Previous post was at 11:35 PM ----------

Just an update. Neither of the versions built using stock recovery worked, and the one specifically using the stock fstab super didn't work. Now I'm seeing if I can finesse the CWM fstab to do what I want it to.
[Samsung Galaxy Nexus] DJxSpeedy:
becorse with the recovery-cwm-touch-6.0.1.5-maguro.img file that is given with Galaxy_Nexus_ToolKit_v9.1.0 i can flash files from the sdcard ;) (ive installed supersu 0.98 that way after i dose an complete reflash of 4.2 android with toolkit)

it only dosnt backup to the right folder..and dosnt backup data partition
[Samsung Galaxy Nexus] osm0sis:
Yeah, because it's fubar.

That's what I'm trying to fix. This is the Android Development section, learn to use fastboot or don't complain.
[Samsung Galaxy Nexus] DJxSpeedy:
learn to use no offense word than "hate" users that dont wanna test a new build.

i only wanted to say that your argument is false with flashing zips on 4.2 what you sayed before and it works for me.. :eek:
[Samsung Galaxy Nexus] osm0sis:
All the cool kids swear. :p
[Samsung Galaxy Nexus] jeremysherriff:
ROFL

Anyway, I've just "learned to use fastboot" so you have a tester if you get another one built.
[Samsung Galaxy Nexus] DJxSpeedy:
kids ? iam 30 :cool: iam off now cya
[Samsung Galaxy Nexus] osm0sis:
Good man! We need more people willing to learn like you! :) Reliance on toolkits just dumbs down the userbase, slowing development overall.

Well, no such luck today my friend. I'm back to the drawing board. I tried using the CWM fstab by modifying the mount point for /sdcard and it doesn't work since that's just a placeholder for the symlink made internally, either in the code or somewhere I haven't found yet.

See, here's another example of the willingness to learn, before earlier today I had no idea how to get an fstab out of a stock recovery image. So I Googled a bit and then I scrabbled around online for the win32 binaries to make a little recovery/boot "kitchen" here. Everything I've learned to do it's usually because I want to see if I can fix something or test, and all it takes is a little bit of time and reading. That's the Android spirit.

Anyway, so far I've just been using my kitchen to unpack recoveries to get to the fstabs and poke around. Repacking is a whole other matter though and either way, I haven't found anything obvious to change in the system config files that might fix the sdcard issue.

So... the waiting game will continue.

P.S. Here are the places I grabbed stuff from to unpack images. Pretty great work porting those Linux binaries over:

http://github.com/huaixzk/android_win_tool/

http://sourceforge.net/projects/gnuwin32/

Plus this thread for the general procedure, though he uses perl scripts where I'm using the actual ported binaries:

http://xdaforums.com/showthread.php?t=1494036

:laugh: Whoops looks like I got moderated. :eek:

I guess asterisks are too lewd for people now? :p
[Samsung Galaxy Nexus] haxor:
Used option of backup in CWM touch 6.0.1.4 and there was an option which is create image zip ? so what is the use of it in backup option ? :confused:
[Samsung Galaxy Nexus] osm0sis:
Read the OP please.
[Samsung Galaxy Nexus] haxor:
Not find answer in OP could you help me !
[Samsung Galaxy Nexus] osm0sis:
What it doesn't mention is that it only backs up your system files; no user apps to avoid piracy issues.
[Samsung Galaxy Nexus] haxor:
@osm0sis from where you got CWM touch 6.0.1.5 ? i only can find 6.0.1.4 !
[Samsung Galaxy Nexus] osm0sis:
Pg. 54, bro. :)
[Samsung Galaxy Nexus] haxor:
Sorry I didn't get you :confused:
[Samsung Galaxy Nexus] Khizar:
6.0.1.5 has a bug with making backups, i would recommend you stay with 6.0.1.4
[Samsung Galaxy Nexus] osm0sis:
Yeah if you use .dup/blob backups don't use 6.0.1.5. But if you use .tar format then pg. 54 of this thread is where you'd go to find it. ;)

Of course this is all moot while 4.2 sdcard changes break every version. :p
[Samsung Galaxy Nexus] Khizar:
lol yeah twrp fixed that.. i think cwm will fix it soon as well, its just a file that gets deleted when doing a factory reset that cause the increase in 0/0/ folders
[Samsung Galaxy Nexus] osm0sis:
Yikes. Not sure if CWM has that 0/0/0/ bug, but CWM just fails to know how to use the new multiuser sdcard system altogether; tries to write to /data/media/ which is now basically a no-man's-land.
[Samsung Galaxy Nexus] Khizar:
that 0/0/0 bug is on all 4.2 roms doesnt matter if you flashed with cwm or twrp, every time you flash a rom a 0/0 folder will be added... the reason is what i said in my previous post a multi user file gets deleted and the system creates another user thus the infinite 0/0/0 folders
[Samsung Galaxy Nexus] akash3656:
The latest twrp doesn't wipe that file anymore :)
[Samsung Galaxy Nexus] thegios:
Hi,

just wondering if a new version of cwm is being prepared for JB 4.2

thanks

EDIT: neer mind... been reading ;)
[Samsung Galaxy Nexus] Khizar:
i know that was the first thing i said when he mentioned the 4.2 sdcard format ;)
[Samsung Galaxy Nexus] Dolphin Trainer:
A fix is coming:

https://plus.google.com/u/0/103583939320326217147/posts/CzstapsDpYf
[Samsung Galaxy Nexus] omron2010:
struct stat st;
if (0 == lstat("/data/media/0", &st)) {
char* layout_version = "2";
FILE* f = fopen("/data/.layout_version", "wb");
if (NULL != f) {
fwrite(layout_version, 1, 2, f);
fclose(f);
}
else {
LOGI("error opening /data/.layout_version for write.\n");
}
}
else {
LOGI("/data/media/0 not found. migration may occur.\n");
}

Source from Koush

Just for some background info on the fix. This is the code. Normally CWM formats (rm -rf) the /data directory (except for the /data/media directory, because otherwise all your private data will be lost) during a factory reset.

In Android 4.2 multi user accounts is introduced The first time you update to 4.2 data of the first account is moved from /data/media to data/media/0. Let's call this process migration. A file is written in this process as well: /data/.layout_version This file is important. It holds information that the migration has been completed and should not take place during other factory resets in the future). But during a factory reset this file is removed. Effectively stating that the migration has not occured, hence the reoccuring migration (data/media/0, data/media/0/0, data/media/0/0/0 etc) after consecutive factory resets.

The fix is rather easy to implement. You could go two ways: during a factory reset/format save the /data/layout_version file or after a factory reset check if the /data/media/0 directory is present. If so, create a new /data/layout_version file. Apparently Koush chose option 2.
[Samsung Galaxy Nexus] FrancescoGato:
Sorry for my ignorance, when this will be implemented in CWM it would be possible to restore a backup done before upgrading to 4.2?

Is it worth to try this manually?:confused:

Thanks!
[Samsung Galaxy Nexus] osm0sis:
His fix is already live on github so technically we could make test builds, but a new official build is incoming so I'll wait. ;)
[Samsung Galaxy Nexus] polaris441:
I have a problem on this multiuser. Whenever I copied/restore my sdcard content (using adb push /data/media/0) in recovery mode, it will create 2nd internal storage in MTP. (Note: I found that restoring my sdcard is faster using this method).

I can no longer edit/delete those files in root explorer (in /sdcard folder). It is like I lost ownership of the files. However, I can delete the files in /data/media/0 folder.

Can chown command correct this issue? Can cwm have another feature like correct file permission, i.e. correct file ownership?
[Samsung Galaxy Nexus] osm0sis:
fix_permissions doesn't apply to the sdcard unfortunately but you're right, it might be an ownership issue.

chown -R media_rw:media_rw /data/media/0/*

That might help. You should also chmod -R 775 /data/media/0/* just to make sure everything has the permissions they need.

If it's not that then it's just MediaStore DB being an asshole. More on that here: http://xdaforums.com/showpost.php?p=33934647&postcount=32193
[Samsung Galaxy Nexus] polaris441:
Is "media_rw" actual username or is it just an example because my "whoami" in terminal gave me "app_73"
[Samsung Galaxy Nexus] osm0sis:
You need to do those commands from adb shell when CWM is connected to your PC. Things are different once the device is booted.

---------- Post added at 03:12 PM ---------- Previous post was at 03:04 PM ----------

FYI everyone. Official 6.0.1.5 is up for GN on ROM Manager.

This is different from the 6.0.1.5 "nightly" I built before, since there have been a few changes since then. You'd think koush would have bumped the revision but I guess not. This official build fixes the /0/0/0 issue but doesn't do anything about the placement of the /clockworkmod folder - I think koush is planning to handle that on the ROM Manager side through root privileges.. Testing tar and dup backups to see if they work. Backing up data definitely seems to.

Edit: dup format backup and restore works again as well. :good: :)
[Samsung Galaxy Nexus] osm0sis:
CWM Official 6.0.1.5 Changelog:

https://github.com/CyanogenMod/android_bootable_recovery/commits/jellybean

Nov 16, 2012 - 6.0.1.5 is the most recent on ROM Manager, fixes bugs related to multi-user sd in JB 4.2, and dup format MD5 issue.

(For an unofficial list of other changes between 6.0.1.0 and 6.0.1.5 see my previous changelog.)

Release Info:

https://plus.google.com/u/0/103583939320326217147/posts/CzstapsDpYf & https://plus.google.com/u/0/103583939320326217147/posts/b6cSma5GiSQ

Known Bugs:

- Backup format (tar/dup) option menu displays options below it from the Backup/Restore, cosmetic only.

- Sideload does not have a confirmation, so if triggered by mistake a battery pull is required if no USB connection is available to make it exit.

Fastboot Images Download: http://clockworkmod.com/rommanager

[Attachments removed since new version posted.]
[Samsung Galaxy Nexus] edrickmph:
I thought this solved the restore issue, but still i cant. No files found!
[Samsung Galaxy Nexus] ramm8313:
Sorry for this i am a noob.... this mean that i cant now format my sdcard partition from my nexus and flash again and my storage wont have thso 0/0/0 sh*** that i have right know??
[Samsung Galaxy Nexus] DJxSpeedy:
ok ok backup of data works now ;)

can anyone mod it please that the clockworkmod folder is again on sdcard ? or is that not makable ?
[Samsung Galaxy Nexus] D3VI0US:
The new CWM 6.0.1.5 recovery still store the backups in mnt/shell/emulated/clockworkmod/backup

so if you moved it to sdcard/clockworkmod/backup it will not be accessible in the recovery

So i guess we need to wait for another fix because this issue will piss a lot of ppl off when they try to move backups to pc or something
[Samsung Galaxy Nexus] DJxSpeedy:
thats what i wanna say ;) ive copied the clockworkmod folder (as backup) to the sdcard.. had to reboot to get it visable at the sd in PC copied it to pc ;)
[Samsung Galaxy Nexus] osm0sis:
It works fine here. You probably are trying to get at your old backups which are still in /data/media/0/clockworkmod - you just need to move the whole folder to /data/media/clockworkmod
[Samsung Galaxy Nexus] pa.pn2:
but how to copy that in to this folder?

if i connect it to my pc i just see my normal folder...
[Samsung Galaxy Nexus] osm0sis:
You need to boot into CWM and connect to your PC. Then adb shell in, like I said before.
[Samsung Galaxy Nexus] johno168:
hi there, can you please tell me the exact commands to use to do this?
[Samsung Galaxy Nexus] edrickmph:
the old backup is now detected but the restore does not continue. its says" boot img does not exist" even though its still there in the cwm folder.

any work around on this problem?
[Samsung Galaxy Nexus] pa.pn2:
what to do if i do a factory reset now in recovery and install a 4.1.2 rom now?

what about the structure then? will al file sbe in the 0 folder now?
[Samsung Galaxy Nexus] osm0sis:
Sure. Be very careful though. Terminal is dangerous if you don't know what you're doing.

From command prompt on your PC you'd type adb shell with CWM booted. Then mount /data in CWM. Then:

mv /data/media/0/clockworkmod /data/media/

Should work.
[Samsung Galaxy Nexus] FrancescoGato:
You can do this with the root browser in "ROM toolbox" too.

I moved the folder and now seems it's working fine! Did a backup and restored my good ol' CM10 :D
[Samsung Galaxy Nexus] gparmar76:
I updated to 6.0.15 and it gets rid of the 0 folder going from one 4.2 ROM to another and even going from 4.1.2 to 4.2 but it comes back when reverting from 4.2 to 4.1.2...I don't understand why that would happen...any ideas?
[Samsung Galaxy Nexus] osm0sis:
Might not work the same. Things are different in the filesystem once the OS is booted.
[Samsung Galaxy Nexus] Enhanced:
So with this update to 6.0.1.5, all is good in the ROM flashing world?

I haven't updated to 4.2 yet because of the sdcard/0 issue, but if we update to 6.0.1.5 (which I have), can I flash, backup, and restore to my hearts content like before?

Thanks!
[Samsung Galaxy Nexus] osm0sis:
Supposedly so! I've done all of that except ROM flashing so please give that a shot and let us know. :)
[Samsung Galaxy Nexus] edrickmph:
here's the exact error after flashing and do a restore:

.android_secure.img not found. skipping restore of /sdcard/.android_secure.

anyone who can help me with this?
[Samsung Galaxy Nexus] FrancescoGato:
Oops didn't know that, however it seems working well even if I still have the /0 folder in /data/media, but I can backup and restore without problems.
[Samsung Galaxy Nexus] osm0sis:
That's normal. just means there are no external sd apps backed up.
[Samsung Galaxy Nexus] edrickmph:
but it does not restore the backup. it just goes back to the initial boot of the flashed 4.2 rom. how can this be normal?
[Samsung Galaxy Nexus] osm0sis:
Yeah okay that's not normal. But the message you quoted is normal. Here's an idea. Try making a new backup. Then use adb shell to make sure the ownership and permissions match between the new one (which should work) and your old one which doesn't.
[Samsung Galaxy Nexus] edrickmph:
I want to restore a backup from 4.1.2 and not from the flashed 4.2. I think making a new backup from the 4.2 will make me to start from the beginning again. I made that backup from the initial release of cwm 6.0.1.5 and not with the new one. I think I may just go back from my previous 4.1.2 and wait for an update. the developer said an update is coming already!
[Samsung Galaxy Nexus] osm0sis:
No update as far as I know. Official 6.0.1.5 was the update. Read the second release info g+ link I posted.
[Samsung Galaxy Nexus] sk8oldschool74:
I have the same problems. Backups are not there I get another 0 every time I flash a ROM and my photos are gone... how can I get things back to normal ore are we 0/0/0 screwed...:confused::confused::confused:
[Samsung Galaxy Nexus] edrickmph:
I mean an update from my favorite rom developer and not from an update of cwm dev. its a futile exercise and i'm tired already of this. il just go back to my favorite previous rom. thanks anyway...
[Samsung Galaxy Nexus] sk8oldschool74:
I am back on my previous ROM and my phone is just buggy now...
[Samsung Galaxy Nexus] osm0sis:
You just need to install the official 6.0.1.5 since that fixed the 0/0/0 bug. Then move your stuff back to just the first 0.
[Samsung Galaxy Nexus] sk8oldschool74:
Can you explain further I'm up to four 0's now... I still haven't learned how to install the touch version... and I'm not sure how to move stuff or the 0's back...:confused::confused::confused: Thanx...:)
[Samsung Galaxy Nexus] osm0sis:
Read the 2nd G+ link comments, koush explains it to a few guys. To start you'll want to get into adb shell like I explained above though.
[Samsung Galaxy Nexus] sk8oldschool74:
Which one is touch?
[Samsung Galaxy Nexus] haxor:
Alright Guys I am thinking to flash 4.2 which is http://xdaforums.com/showthread.php?t=1989930 this currently i am on CM 10 (4.1.2) and just flash official CWM 6.0.1.5 Recovery ! so now let me know what precaution should i have to take to avoid messed up ! thanks in Advance !
[Samsung Galaxy Nexus] osm0sis:
The one labeled touch.
[Samsung Galaxy Nexus] sk8oldschool74:
Look on page 71 they both say the same thing?
[Samsung Galaxy Nexus] osm0sis:
No they don't. Please look again more closely.

You'll be fine.
[Samsung Galaxy Nexus] haxor:
what about data/media/0 error :confused: i just flash touch CWM recovery which you uploaded !
[Samsung Galaxy Nexus] Khizar:
flash how you normally would...

---------- Post added at 10:33 AM ---------- Previous post was at 10:33 AM ----------

the latest fixed that issue
[Samsung Galaxy Nexus] haxor:
Thanks Bhai Jaan :D so like i am going to take nandroid backup then flash this image http://xdaforums.com/showthread.php?t=1989930 thats it :) and what about bug with making backups with 6.0.1.5 ? it is also fixed ?
[Samsung Galaxy Nexus] Khizar:
yes just flash that.. i dont use cwm so not sure if the backup bug is fixed or not
[Samsung Galaxy Nexus] osm0sis:
It is fixed, as I stated on pg. 71. amit, please read.
[Samsung Galaxy Nexus] edrickmph:
I had gone back to my custom rom, but restore still does not go through. I cant restore up to now. the sdcard0 is still there even I go back o 4.1.2. Can I reformat the phone sdcard, to have a clean start?
[Samsung Galaxy Nexus] haxor:
don't know what's going on i was just thinking but not flashed 4.2 but i flash CM 10 latest nightly through CWM 6.0.1.5 touch recovery now i can see there is another folder /storage/sdcard0 ? :confused: now what should i do ?
[Samsung Galaxy Nexus] AbhishekS:
Can I install it via the free version of ROM manager too?
[Samsung Galaxy Nexus] haxor:
you will not get touch CWM recovery from ROM manager ! get both recovery normal + touch from here http://xdaforums.com/showpost.php?p=34231316&postcount=708
[Samsung Galaxy Nexus] AbhishekS:
Is there any flashable zip? I'm not too good with fastboot.
[Samsung Galaxy Nexus] simacai:
Find attachment in page 71 of this thread.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] albsat:
So let me clarify myself please.

I am on 6.0.1.5 and i have a 4.2 rom. If I want to get back to a 4.1 rom, what happens to the SD card structure?

Will it get back as it was and just have an additional empty sdcard/0 folder?

And if i make a backup from the new recovery will that be in sdcard/0/clockworldmod folder?
[Samsung Galaxy Nexus] AbhishekS:
Thanks! Out of the two, which one shall I download?
[Samsung Galaxy Nexus] Khizar:
your choice one is touch and the other non-touch

---------- Post added at 02:08 PM ---------- Previous post was at 02:06 PM ----------

your sdcard format will change but everything will be in the sdcard0/0 so you will have to move everything back to sdcard0
[Samsung Galaxy Nexus] haxor:
I notice a folder which is storage/sdcard 0 and one more folder which is on root just sdcard so it is normal ?
[Samsung Galaxy Nexus] Stylez Ray.:
Damn my phone is borked..

Wanted to flash FNV 4.2 ROM but forgot to update recovery to 6015 first so I got a botloop.

Then I flashed latest recovery but still didn't manage to boot up..so when I rollback to 6014 and want to restore I can't do so as I get a message about there is nc backup (of course as the structure is different now).

So for now I am stuck in recovery mode, please help guys!
[Samsung Galaxy Nexus] sk8oldschool74:
OK do you have any other ROMs you can flash on your sd card? If so go into SD card install hit the 0 file if it is not in the first section a whole new list will appear depending on how many 0 files you have I have four 0 files when I go into recovery I have to hit 0 four times before I get to my original file system.... hope this makes sence...
[Samsung Galaxy Nexus] Stylez Ray.:
Managed to flash another rom and restore a backup...saw that sdcard structure was messed up..thanks for the help
[Samsung Galaxy Nexus] sk8oldschool74:
Thanx got it installed I miss v5.8.0.2 my favorite version like the lay out better wish koush would update the lay outs of the all the touch versions... ;):)

God Bless...

---------- Post added at 10:49 AM ---------- Previous post was at 10:47 AM ----------

The first one...:;):)

God Bless...