[G Tablet Android Development] rajeevvp:
So, you did a factory reset before you installed G-Harmony JB 2.3.2. Which means that you have a clean ROM installation--as required.

I think what you guys want is to go back to the old internal SD card partition scheme with 2 partitions: a large /mnt/sdcard and a smaller 4GB or 2 GB /data, instead of the 3 partitions: ~258 or ~416 MB /mnt/sdcard (depends on internal SDcard chip type), 15 GB /data, and 300 MB /cache, currently created by CWM-6.0.2.8.

The simplest procedure to go back to the old partition scheme is to boot into CWM, then run PartedMagic (on a PC as explained in the link in my previous post) and use the gparted GUI to:

a) Get rid of the unused cache partition (the last one, #3) on the internal SD.

b) Drag and resize the remaining 2 partitions to the sizes you want.

The gparted program will do the rest (size validation, filesystem checking, copying data, resizing, etc.) automatically, so that when you boot into the ROM, all your data and apps will still be there.

If you don't mind losing your data and apps, then you can go back to the old partitioning scheme with these steps. (Note that the ROM proper is not touched by any of these procedures, so you don't need to re-install the ROM.)

Step 1: Copy the CWM-5.5.0.4Beta15 image (or whichever version of CWM you prefer) onto the tablet, then run this command on the ROM to install it:

$ [B]su[/B]
# [B]flash_image recovery [I]/SOME/PATH/[/I]CWMR_Touch_5504_B15_normalfont_DRH.img[/B]

Step 2: Boot into CWM-5.5.0.4Beta15 and a) repartition the internal SD card, then b) format /cache.

That's it. Now you should have what looks like a new install of your current ROM, along with the old internal SDcard partition scheme.

Note however, that the /cache on the NAND is still only 16MB as a result of using the 2013 DRH nvflash package, but, since this ROM uses a directory inside the /data partition for the dalvik-cache, that shouldn't be a problem (as far as dalvik-cache space is concerned--I don't know what else Android JB stashes in /cache. Android GB uses /cache/download for Market downloads; and CWM uses /cache/recovery for its persistent log files).

See above. If you repartition the internal SDcard you will lose your data and apps. If you resize it using PartedMagic, then you can keep both.

---------- Post added at 10:05 PM ---------- Previous post was at 09:42 PM ----------

I meant the DRH ROM. It uses Aroma installer and it can install those apps.

So, if a user installed your ROM right after installing the DRH JB 4.2 ROM--without a "wipe data/factory reset" step in between--then DRH's Google apps would still be left in /data after your ROM was installed, and Android would try to install those apps when your ROM was first booted into.

Care to explain why you think this?

I'm pretty sure that your ROM will clean out /system pretty thoroughly as part of the install: You can directly verify that this is a very reliable operation using a custom updater-script and some minor scripting: Mount /system. Create random files. Unmount /system. Format /system. Mount again and check that /lost+found is the only entry present. Repeat N times.

An indirect confirmation can be found in the logs in post #202. Since there is a size difference between the DRH JB 4.2 ROM (which is ~238 MB w/o Gapps and ~317 MB with full Gapps) and G-Harmony JB 2.3.3, then you wouldn't see something like this for /system in a df(1) output:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/mtdblock3 410880 [B]272576[/B] 138304 66% /system

~270 MB looks like the correct size for your ROM. And, any filesystem corruption would likely show up in a ls -lR listing of /system.