[TouchPad General] mpgrimm2:
My /data/media build Recovery Notes

(4-06-14)​

DISCLAIMER: I'm not a dev, nor do I play one on t.v. Use the information and links at your own risk. READ and UNDERSTAND what your doing before flashing is the best bet. I take no responsibility or credit for the information.

This is just an FYI, a work in progress, it should not be considered wholly accurate and is just a reference until all these data media recoveries get sorted.

---------------------------------------------------------​

For those that want to rename their Twrp/Cwm backup files so that the md5 still passes and you are still able to use/restore that backup, I strongly recommend you try ... Nandroid Manager (PlayStore)

If you type in a filename that is the wrong format (ie special characters, spaces, etc.) it will prevent the filename from being changed.

---------------------------------------------------------​

FYI:

There are currently different partition setups (regular vs data/media), multiple different Recovery's for each build and each partition as well as different Gapps packages depending on the ROM and its base. Data/media builds also setup the sdcard differently as some have found out and as mentioned in RolandDeschain79's OP.

Surprise: Currently you can not mount the old WebOS sdcard (external_sd/ ) or the new "internal" Sdcard (data/media/0/ ) as you were used to previously to transfer files via Windows PC to the recovery. Here's a good Reference and another reference to use ADB_Sideload via recovery if needed (or Google it).

Make sure you are using the correct recovery for both your ROM and partition setup and have any files on the correct sdcard in advance!

(ie Jc's Regular CWM v6.0.1.9 20121215, vs. data media compatible Cwm v6.0.3.6, vs. a SeLinux data media CWM, etc)

So what's up with all these different CWM & TWRP /data/media recovery versions and where are they coming from?

(If you know of any new ones, and/or have experience with them please post a link to the related thread vs a download link as well as any details about it you know and I will try to add the information here)

- Jc's Cwm v6.0.1.9 20121215 (Original partition layout, Non-data/media. For Reference only)

Used with Cm7 / 9 / 10.0 / 10.1 or any ROM with the original /sdcard & partition layout.

Note: Click the link for some good general background info on Recoveries.

CAN mount USB Storage to Win7 PC (original external_sd only)

CAN consistently flash "data_plus" zips from The_Ape or Gradular.

A “Wipe Data/Factory Reset” will wipe the ENTIRE /data partition and /data/media/0 if it exists

CURRENT LIST OF DATA MEDIA RECOVERIES

: Take a close look and soak it in!​

- JcSullin's Philz cwm6.0.4.7 DM touch 20140317 (SeLinux data/media) <<- - HIGHLY RECOMMENDED (3-18-14 edit)

Originally Posted Here (Discussion follows for a few posts)

CAN mount USB Storage to Win7 PC (original WebOS Sdcard1 only)

CAN consistently flash "data_plus" zips from The_Ape or Gradular.

CAN see both Sdcards (original WebOS "Sdcard1", and /data/media/0 "Sdcard")

Can be flashed with AcmeInstaller5

Has option to “Clean for Rom install”. (i.e. Wipes System, data, and cache but not data/media/0 sdcard)

Flashed JcSullins’ CM10.1 01/25/14 (3.x Kernel Test) and Gapps = SUCCESSFUL

Flashed Milaq’s CM10.2 DM 2.6 Kernel and Gapps = SUCCESSFUL

Flashed Milaq’s CM11 DM 3.0 Kernel and Gapps = SUCCESSFUL

Flashed Invisiblek’s CM11 Data Media (3.4 kernel) and Gapps = SUCCESSFUL

Flashed Flintman’s Evervolv 4.4.2 Data Media (3.4 Kernel) and Gapps = SUCCESSFUL

Caution: While this particular recovery 'Reportedly' can restore user /data from original partition layouts to a /data/media rom, it can not restore user /data from a /data/media rom to an original partition layout (likely due to extra SeLinux Context data and larger size).

Even So, This is NOT Recommended. Use Ti Backup to Restore your Apps Instead of mixing data b/w partition layouts!

Also see: Phil3759's General Philz Touch Reference thread here (Very Good Info)

- JcSullins' CWM v6.0.4.7 DM 20140317 (SeLinux data/media) <<--- Highly Recommended. Same flashing support as touch version above.

CAN mount USB Storage to Win7 PC (original WebOS Sdcard1 only)

CAN consistently flash "data_plus" zips from The_Ape or Gradular.

CAN see both Sdcards (original WebOS "Sdcard1", and /data/media/0 "Sdcard")

Can be flashed with AcmeInstaller5

Flashed JcSullins’ CM10.1 01/25/14 (3.x Kernel Test) and Gapps = SUCCESSFUL

Flashed Milaq’s CM10.2 DM 2.6 Kernel and Gapps = SUCCESSFUL

Flashed Milaq’s CM11 DM 3.0 Kernel and Gapps = SUCCESSFUL

Flashed Invisiblek’s CM11 Data Media (3.4 kernel) and Gapps = SUCCESSFUL

Flashed Flintman’s Evervolv 4.4.2 Data Media (3.4 Kernel) and Gapps = SUCCESSFUL

Caution: While this particular recovery 'Reportedly' can restore user /data from original partition layouts to a /data/media rom, it can not restore user /data from a /data/media rom to an original partition layout (likely due to extra SeLinux Context data and larger size).

Even So, This is NOT Recommended. Use Ti Backup to Restore your Apps Instead of mixing data b/w partition layouts!

- Philz CWM v6.0.4.7 Advanced (SeLinux data/media and supports TWRP/CWM formats.) <<- 2nd Recommendation

From Invisiblek's CM11 / KK 4.4.2 Data Media with 3.4 Kernel Nightly thread.

Couldn’t mount USB storage to Win7 PC.

Can only see /data/media/0 “sdcard”

Has option to “Clean for Rom install”. (i.e. Wipes System, data, and cache but not data/media/0 sdcard)

Flashed JcSullins’ CM10.1 01/25/14 (3.x Kernel Test) and Gapps = SUCCESSFUL

Flashed Milaq’s CM10.2 DM 2.6 Kernel and Gapps = SUCCESSFUL

Flashed Milaq’s CM11 DM 3.0 Kernel and Gapps = SUCCESSFUL

Flashed Invisiblek’s CM11 Data Media (3.4 kernel) and Gapps = SUCCESSFUL

Flashed Flintman’s Evervolv 4.4.2 Data Media (3.4 Kernel) and Gapps = SUCCESSFUL

Couldn’t Flash “data_plus” zips from The_Ape or Gradular.

- Flintman's TWRP v2.6.3.0 SeLinux Alpha Touch (SeLinux data/media) <<- 2nd Recommendation

From Flintman's Evervolv 4.0.0p1 AOSP / KK 4.4.2 Data Media with 3.4 Kernel Nightly thread

No Option to mount USB storage to Win7 PC.

CAN see both Sdcards (original external_sd, and /data/media/0 )

Couldn’t Flash JcSullins’ CM10.1 01/25/14 (3.x Kernel Test) and Gapps = UNSUCCESSFUL

Couldn’t Flash Milaq’s CM10.2 DM 2.6 Kernel and Gapps = UNSUCCESSFUL

Flashed Milaq’s CM11 DM 3.0 Kernel and Gapps = SUCCESSFUL

Flashed Invisiblek’s CM11 Data Media (3.4 kernel) and Gapps = SUCCESSFUL

Flashed Flintman’s Evervolv 4.4.2 Data Media (3.4 Kernel) and Gapps = SUCCESSFUL

Couldn’t Flash Milaq’s CWM v6.0.3.6 (no_metadata, data/media)

Couldn’t Flash Jc’s CWM v6.0.1.9 12/15/2012 (Original partition layout)

Couldn’t Flash “data_plus” zips from The_Ape or Gradular. Didn’t work on clean AcmeInstaller5T run of Moboot 3.8 and Flintman’s TWRP v2.6.3.0.

- Milaq's Cwm v6.0.4.7 (SeLinux data/media)

From Milaq's CM11 / KK 4.4 Data Media with 3.0 Kernel Nightly thread.

(This new version is said to be needed for Nightly's after 2/7/14 due to Custom-Updater feature)

Couldn’t mount USB storage to Win7 PC.

Can only see /data/media/0 “sdcard”

Flashed JcSullins’ CM10.1 01/25/14 (3.x Kernel Test) and Gapps = SUCCESSFUL

Flashed Milaq’s CM10.2 DM 2.6 Kernel and Gapps = SUCCESSFUL

Flashed Milaq’s CM11 DM 3.0 Kernel and Gapps = SUCCESSFUL

Flashed Invisiblek’s CM11 Data Media (3.4 kernel) and Gapps = SUCCESSFUL

Flashed Flintman’s Evervolv 4.4.2 Data Media (3.4 Kernel) and Gapps = SUCCESSFUL

Couldn’t Flash “data_plus” zips from The_Ape or Gradular.

- Milaq's CWM v6.0.4.5 (not v6.0.5.4) (SeLinux data/media from Invisiblek’s CM11 3.4 kernel thread)

From Invisiblek's CM11 / KK 4.4.2 Data Media with 3.4 Kernel Nightly thread

Couldn’t mount USB storage to Win7 PC.

Can only see /data/media/0 “sdcard”

Couldn’t Flash JcSullins’ CM10.1 01/25/14 (3.x Kernel Test) and Gapps = UNSUCCESSFUL

Couldn’t Flash Milaq’s CM10.2 DM 2.6 Kernel and Gapps = UNSUCCESSFUL

Flashed Milaq’s CM11 DM 3.0 Kernel and Gapps = SUCCESSFUL

Flashed Invisiblek’s CM11 Data Media (3.4 kernel) and Gapps = SUCCESSFUL

Flashed Flintman’s Evervolv 4.4.2 Data Media (3.4 Kernel) and Gapps = SUCCESSFUL

Couldn’t Flash Milaq’s CWM v6.0.3.6 (no_metadata, data/media)

Couldn’t Flash Jc’s CWM v6.0.1.9 12/15/2012 (Original partition layout)

Couldn’t Flash “data_plus” zips from The_Ape or Gradular.

- Milaq's CWM v6.0.3.6 (no_metadata, for data/media)

From Milaq's CM10.2 / JB 4.3 Data Media Nightly thread

No Option to mount USB storage to Win7 PC.

CAN see both Sdcards (original external_sd, and /data/media/0 )

Flashed JcSullins’ CM10.1 01/25/14 (3.x Kernel Test) and Gapps = SUCCESSFUL

Flashed Milaq’s CM10.2 DM 2.6 Kernel and Gapps = SUCCESSFUL

Couldn’t Flash Milaq’s CM11 DM 3.0 Kernel and Gapps = UNSUCCESSFUL

Couldn’t Flash Invisiblek’s CM11 Data Media (3.4 kernel) and Gapps = UNSUCCESSFUL

Flashed Flintman’s Evervolv 4.4.2 Data Media (3.4 Kernel) and Gapps = SUCCESSFUL

(Couldn’t flash Gapps 4.4 KK from Milaq’s site. P.A.’s 0-day Gapps flashed ok)

Flashing of “data_plus” zips from The_Ape or Gradular can be hit or miss. Works on clean AcmeInstaller5 run of Moboot 3.8 and CWM v6.0.3.6 but didn’t on Acme5M install of CM10.2 DM with all 4 files (Moboot, CWM, CM10.2 DM, and Gapps).

Now someone tell me why some of the recoveries can't flash some of the zips?

( Is it "edify" vs "amend" etc. syntax , maybe different "

update-binary

" file or something else between the recoveries? )

The only confirmed recovery's for flashing the data_plus zips are JcSullins' CWM v6.0.1.9 for the original partition layout (very reliable), JcSullins' CWM v6.0.4.7 DM & Jc's Philz Touch versions from 20140317 (Very Reliable/recommended), and Milaq's CWM v6.0.3.6 DM(Seems to work intermittently on a clean Acme5 install with only Moboot/CWM if android/CM hasn't been loaded to the partitions yet).

--------------------------------------------------------------------------------------------------------------------------

A QUICK NOTE ABOUT CLEAN VS DIRTY INSTALLS VIA RECOVERY:

The safest way to do a FULL "Clean" install from a currently installed recovery without carrying over any stuff from prior installations is to do the following from the custom recovery:​

1 ) Perform a factory/data reset.

This will format the /data partition (user apps and settings) and /cache partition (temporary app & system files).

** On data/media recoveries like TWRP, this should safely delete all files except the emulated /data/media/sdcard. Good. **

Note: If you 'manually' format /data on a data/media recovery vs. a factory reset, it will likely wipe the emulated sdcard as well!

2 ) Under mounts and storage, format the /system partition

(this is where the ROM actually is)

** Most CM Rom's install scripts have a command to perform the format for you when flashing but not all ROMs do it.**

3 ) Flash ROM and gapps as needed.

4 ) Reboot.

For a 'Dirty' Install to keep you user apps & settings within the same ROM series:

(If you experience issues you may have to do a clean install)

1 ) wipe/format cache partition.

2 ) wipe/format system partition

** (Again, some ROMs may do this for you when installed)

3 ) Flash ROM and gapps as needed.

4 ) Reboot

^^ Back to the OP ^^