[ROM - 1.2] BETA ICS 4.0.X - Team DRH (Update 07/02/12)

Search This thread

rajeevvp

Senior Member
Aug 20, 2010
1,315
406
Bangalore
I looked into this. Even during the CWM /cache wipe, cache is not unmounted during the format.
I know of filesystems that you can resize while it is mounted. I know of filesystems that can be defragmented while it is mounted. There also those that can be filesystem checked while it is mounted. But, there is no general-purpose filesystem in common use--that I know of--which can be formatted while it is mounted. What would be the purpose of such a useless filesystem feature?

The test is this simple:
Code:
[I]Mount /sdcard in CWM[/I]

$ [B]adb push fmt-cache.zip /sdcard/[/B]      [I]Copy test zip to SD card[/I]
329 KB/s (133218 bytes in 0.395s)

$ [B]adb shell ls -l /cache[/B]               [I]Check /cache before format[/I]
drw-rw-rw-    1 root     root          2048 Apr 18 17:03 lost+found
drwxrwxrwx    1 root     root          2048 Apr 18 17:02 recovery

[I]"Install" the fmt-cache.zip using CWM here[/I]

$ [B]adb shell ls -l /cache[/B]               [I]Check /cache after format[/I]
drw-rw-rw-    1 root     root          2048 Apr 18 17:03 lost+found
drwxrwxrwx    1 root     root          2048 Apr 18 17:03 recovery
[I]
Still looks OK, doesn't it? But that's only because of the in-memory
meta-data which is what's still being used by [/I]ls(1)[I].[/I] [I]Force a filesystem flush.[/I]

[I]Go back to the main menu and choose[/I] mounts and storage[I].[/I]

[I]Select[/I] unmount /cache

[I]Select[/I] mount /cache

$ [B]adb shell ls -l /cache[/B]               [I]Now check the filesystem again[/I]
drw-rw-rw-    1 root     root          2048 Apr 18 17:04 lost+found
drwsrwsrwt    1 app_4294 app_4294      2048 Dec 31  1969 ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
[I]
As expected, the filesystem's now corrupted[/I]

[I]How do you fix this? The filesystem /cache is on is YAFFS2, and [/I]that[I]
doesn't have a [/I]fsck[I]-type program. So, can't fix it, have to nuke it:[/I]
[I]Have to select[/I] format /cache
I do not believe that the unmount is necessary.
Actually, as you can see from the above, it is; but, that's beside the point. Nowhere in my post did I say that /cache should be "unmounted". I just said that the script should not format /cache while it was mounted. My point is that the install script should not do things behind CWM's back. And, if you unmount things--esp. /cache which CWM regularly uses--in the script, then you will be doing things that CWM is not aware of.

As to CWM not unmounting /cache when you select "format /cache" or "wipe cache", try this simple command in a separate CMD window (and don't exit it), then try to do one of those operations again:
Code:
$ [B]adb shell[/B]
~ # [B]cat > /cache/xxx[/B]
This is what CWM will spit out:
Code:
E:format_volume failed to unmount "/cache"
where the f**k did you learn this bs from???
Lemme guess... Did some fairly basic test on this, then decided: "I'm gonna make myself look like a total prat on XDA today". Right?

@rajeevvp why did you post that custom build prop file in your last post
It's a modified default.prop--not a build.prop. And, I thought I had given the reason:
For TnT you'll have to flash the zip file in the attachment immediately after doing the nvflash to enable ADB (and root) to grab all the logs
though, I should probably have added: "right from the get go".
 

Attachments

  • fmt-cache.zip
    130.1 KB · Views: 9
Last edited:

the3dman

Senior Member
Sep 5, 2007
657
99
Chicago :(
www.the3dman.com
Please lets keep the bickering back in forth off of this thread, if anyone does not like the way we are doing things with the ROM, they can feel free to PM me and I will respond that way. Lets keep this thread limited to helping people who may need help with the ROM. Thank you.
 

fosser2

Senior Member
Apr 14, 2011
833
463
Wisconsin
Please lets keep the bickering back in forth off of this thread, if anyone does not like the way we are doing things with the ROM, they can feel free to PM me and I will respond that way. Lets keep this thread limited to helping people who may need help with the ROM. Thank you.

Very agreed, come on guys...
 

rajeevvp

Senior Member
Aug 20, 2010
1,315
406
Bangalore
Others here could flash this and change the partitions on their tablets or worse
Do you understand what the script does at all? Or, did you merely paste some words together just to make a post?

But, please, don't tell anybody about the other 2 evil functions I have put into that script:
Code:
change_the_partitions()      [I]   # Bad.[/I]
worse()                  [I]       # Worse--Duh![/I]
[B]empty_bank_account()[/B]            [I]# Evil.[/I]
[B]raid_fridge()[/B]            [I]       # Truly eeevil.[/I]
 
Last edited by a moderator:
  • Like
Reactions: fosser2

gierso

Senior Member
Aug 13, 2010
399
55
Monterrey
Nexus 7
Nexus 7 (2013)
Hey fosser and company
Now that you almost dominate the gtablet kernel game,
Would be too dificult to compile a kernelwith Hardware accel for gingerbread??

Or it not that easy

Enviado desde mi XT862
 

yourbrotherrex

Senior Member
Mar 4, 2012
251
176
Hey guys:
Listen, I'm not really sure about all the ins and outs of this nerdwar that's going on, but I AM sure about how amazing this Rom is: My G-tab was literally in a storage box, pretty much forgotten, when I decided to take a look in the dev forum here, which I haven't visited in months.
Imagine my surprise.
Anyway, I installed using simplyphp's post, and followed it to the letter.
It couldn't have gone any smoother.
Thanks to Team DRH for making my G-tab relevant again.
 

ashwinmudigonda

Senior Member
Oct 8, 2010
410
43
Nashville, TN
www.flickr.com
Hey guys,

So I have been on this ROM for more than a month now. I see everyone talking about buttery smoothness and I am wondering if I screwed up something.

I followed the instructions exactly as they are in the OP and while the ROM is smooth at times, it is terribly unresponsive most of the times. I regularly get FC requests from all apps and the launcher. The Gmail and G+ widgets are almost always blank with Loading symbols on them. I like using Google Currents and it barely updates or syncs right. It has come to the point where I need to be really patient after launching an app (about 10..20s) for the app to begin spinning up.

So, I just want to know if it's me or if it's just work in progress and if there is something I can do (or show you guys) to fix it.

Thanks.
 

craigwillie

Senior Member
Jan 29, 2008
84
3
HDMI?

Whats the probability that HDMI will get enabled in this build?

Thats a deal-breaker for me, I use Netflix & RMC to watch programming via HDMI all the time.
 

toonwar

Senior Member
Mar 31, 2010
70
6
I love this ROM. I now have ICS on my tablet and phone. Thanks guys for putting all this time and work into it!

I have one random question though. Is there a way to make games from Game loft work? Like N.O.V.A. 2 or Modern Combat 3? I have nova and tried to play it but it told me it wasn't compatible. It definitely worked about a year ago when I was running a honeycomb ROM. I bought modern combat and I got the same error so I refunded it. Any ideas? Or is this just how it has to be?

Thanks guys!

Sent from my TeamDRH ICS for GTablet using Tapatalk 2
 

aNiMeMaN14

Senior Member
Jun 18, 2005
76
1
Queens, NYC
www.xanga.com
Just curious.

I know the mic doesn't currently work. Is this something that's going to get fixed down the road? Or is this actually contingent on getting the camera working? The reason I ask is I enjoy using Tikl and Groove on the tablet, and I don't necessarily need the camera to enjoy the benefits of a microphone... and I'm a little surprised it still hasn't gotten remedied yet.

Thanks...
 

toonwar

Senior Member
Mar 31, 2010
70
6
Last edited:

pqrs

Senior Member
Dec 5, 2010
595
75
Eagle Id.
so how is this rom coming along? i had to abandon it a while ago because it was slow and the audio sounded terrible.. i was running it before it came to this site.
is it better yet? id really like to try it again, but i dont want to waste 4 hours installing it, then installing something else to get to where my tablet is enjoyable again..
i was having problems with that pop up telling me an app was unresponsive, would i like to close it. like every 5 min.. i went back to stock, did everything the way i was supposed to. even tried multiple times over a month.. i use my tablet in my car for music, so the sound is fairly important too.. sounded terrible.. not even sure how thats possible? no other roms did that.

so whats the dilly yo?:p
is it worth trying again?
 

Kameo

Senior Member
Jul 17, 2010
932
692
Moto G
Redmi Note 2
Man, you should really give it a try.
I love my tablet once again since i've flashed TeamDRH ICS, it's really a pleasure : smooth, fast, efficient.
I love it.

Sent from my Sensation using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 46

    CLICK PIC FOR TEAM HOMEPAGE​

    Now for the moment you all have been waiting for...

    Team DRH (Dirty Reset Hole) is proud to announce the public beta for Ice Cream Sandwich. The name "DRH" came from the hole that all of the developers had to drill into the back of their tablet to access the on-board reset button. As you all probably know, development for this project started back in August and has finally developed into a mostly stable release. Ice Cream Sandwich is a huge jump for the G-Tablet community because along with the building of ICS specifically for SMBA1002 (G-Tablet), the Linux kernel backbone had to be reworked from the ground up.

    DISCLAIMER
    Attention commuters of the intertubes! The group of individuals known as Team DRH take absolutely NO RESPONSIBILITY for any DAMAGE that YOU cause to YOUR device! This "labor of love" we call and Android ROM comes AS IS and is not an official release by any means. If you have not already SOILED your device by flashing a custom ROM then to do so will VOID any WARRANTY you may have left. Team DRH and its affiliates are not responsible if your G-Tablet does any of the following: Explodes, Flies off to space to battle the Flying Spaghetti Monster, Is generally awesome, solves world hunger or explodes... again. (OK We take responsibility for you Tablet becoming Awesomesauce.) So in essence... Flash this totally rad ROM at your own RISK and prepare to Spontaneously Combust with AWESOMENESS!

    WHAT WORKS
    • WIFI
    • Hardware Acceleration
    • Sleep!
    • WiFi
    • Bluetooth
    • Sensors
    • Sound
    • USB/MTP (If you plug in USB while your tablet is asleep you will have a SOD)
    • Capacitive Buttons
    • Hardware Buttons
    • USB Flash Drives
    • Proper SD Card Mounts
    • HD Videos
    • More to come...

    WHAT'S NOT WORKING
    • Camera
    • Microphone (Works but drops after 6-8secs)
    • Possible ROM Slowdowns
    • HDMI Audio
    • More to come...

    List of Common ICS Problems
    http://xdaforums.com/showthread.php?p=23146434

    HOW TO INSTALL
    • Boot into current version of CWM and "Wipe data/factory reset"
    • Partition Internal SD Card (2048M/0)
    • Turn tablet off
    • Download the following file <--- Seriously don't skip this step unless you are 100% positive that you have a 250M system partition
    • NVFLASH the file following the instructions that are included for Windows/Linux users
    • Upon reboot of tablet let T&T fully boot and then shut it down
    • Reboot into recovery
    • Flash the Rom/Gapps
    • Enjoy

    HOW TO INSTALL VIA DRH NEWS APP
    1. Open DRH News App (You Will be notified that you have an update)
    2. Download Update
    3: Reboot into CWM
    4: Wipe Data and Cache
    5: Flash Update.zip
    6: Flash Your Gapps
    7: Reboot
    8: Enjoy

    FINAL THOUGHTS
    This build has been tested but not to the extreme. It is called a "beta" test for a reason. Sleep is properly working and I have not had to use my reset button in weeks. I'm not trying to scare anyone but the possibility of a kernel panic is still there. This build is very stable and deserves the beta tag but if you find yourself in a snag you might have to press the internal reset button. Here is a picture of where to find the button if you are really in a bind. PICTURE If you have the balls to open your tablet, just drill the reset hole while you're in there. You already voided your warranty ;)

    DOWNLOAD LINK
    ROM/GAPPZ Package: TeamDRH ROM
    ROM (Includes GPS Mod): TeamDRH GPS ROM <-- Only use if you physically installed the internal GPS mod as documented here. This rom is not updated to 1.3 yet.
    Remember this is a beta build. It will run nicely for the most part but I'm sure that there will be glitches a quarks that we have not seen. I will keep the what works/doesn't work section updated so we don't have tons of posts cluttering the thread. Also these links will be updated pretty regularly when we have new builds to release.

    CHANGE-LOG

    The ROM's system folder was very close to the max size our system partition could handle on the G-Tablet and with any bad blocks, it was more than the G-Tablet could handle and installing GApps made it even worse. So on initial boot everything was fine, because all the apps that make temporary files don't make them until after initial boot, but in the process of making those temp files it corrupts system files that are already loaded and running, so on a reboot the system fails because the files are now corrupted. This also effected the overall speed of the ROM. This should be fixed with the increased system partition from 200M to 250M.

    TeamDRH-ICS-Beta-1.3.zip 07/02/12
    • Kernel changes to help stability
    • Wifi Updates (latest bcmdhd android code)
    • Changes to sound (should reduce audio lag)
    • Mic Partially Working (Will record for roughly 6 - 8 seconds)
    • Dock Support with HDMI and Ethernet (No Sound over HDMI yet) This includes a dock clock mode :)
    • "Blinkies" Have been fixed
    • Updates to CM9 code. Now includes lots of the CM9 features
    • Overall stability improvement
    • New Boot Animation
    • Added Sound to Boot Animation (Optional)
    • New Default Wallpaper (created by annel)
    • Installer Updated
    • Gappz Changes
    • Updated Google Plus
    • Updated Google Books
    • Updated Google Chrome Browser
    • YouTube Updated
    • Google Drive Updated
    • Google Play Updated
    • Google Currents Updated
    • Added Google Magazines (From JellyBean)
    • Added Google Ears (From JellyBean)
    • Probably more changes too this is just all I could remember ;)

    HOW TO INSTALL MTP DRIVERS
    Open Device Manager and find the offending TeamDRH MTP device.
    Right-Click and choose Update Driver Software
    Then choose Browse My Computer for Driver Software
    Then click Let Me Pick From a List of Device Drivers on My Computer
    Then choose All Devices
    When that list populates choose Standard MTP Device followed by MTP USB Device
    Click Yes to the warning and VIOLA!

    Hope you all enjoy the TeamDRH gTablet ICS preview!!

    POSSIBLE MARKET ERROR
    Upon start up Android Market may give you an error when you try to download an app. The fix for this is to go into settings/applications and force close market. Upon doing that clear app data and you should be good to go.

    IF ALL ELSE FAILS (Only do this If I tell you too)
    Try doing what is posted here


    If you like this project and appreciate the extreme amount of time that the devs put into this please donate:

    Donate to TeamDRH: LINK

    If you would like to donate to single people:
    Ch3vr0n5: LINK
    Treznorx: LINK
    Fosser2: LINK
    The3dman: LINK
    Plastikman: LINK
    Mayday_jay: LINK
    Dwagner:
    Tlb1961: LINK
    Busa_blade:
    Jaybob413:
    Clemsyn: LINK

    (This is not a complete list yet changes are still being made)

    Information on G-Tablet Camera!!!
    http://www.slatedroid.com/topic/290...update-040112/page__view__findpost__p__346429

    Video (courtesy of pagantek):

    Pictures:
    7
    TeamDRH Change-log:

    TeamDRH-AOSP-Preview-1e-LDPI.zip 02/08/12
    • USB/MTP
    • Vold.fstab
    • USB Flash Drives work if plugged in when tablet is off, then booted
    • SystemUI notification toggle bug
    • TeamDRH Welcome in Trebuchet
    • 3g Icon
    • Few other little adjustments...
    YAGP_GummyBear_Jay_GAppZ_v2.zip 02/08/12
    • Few extra added apps
    • Google Maps
    • Google Chrome Beta

    TeamDRH-AOSP-Preview-1F-LDPI.zip 02/16/12
    • USB/MTP Now works even if plugged in on boot. If your tablet is asleep and you plug in USB your tablet will get SOD!!!
    • USB Flash Drives work should work if plugged whenever
    • New Touchscreen driver (should be more responsive)
    • New Battery Driver (should perform better. Has a charging icon issue.)
    • Capacitive keys should now fully work
    • Bluetooth now works
    • Few other little adjustments...
    3DGtaB_GAppZ_v6b.zip 02/16/12
    • Few apps added/deleted
    • Tweaked Permissions
    • Should perform faster

    TeamDRH-ICS-Preview-2A.zip 02/29/12
    • Added ROM control in settings.
    • Adjusted Dalvik Cache sizes for better performance (thanks community)
    • Much faster Read/write speeds (probably better than Froyo)
    • Many i2c/clock changes to the kernel to improve stability
    • Amount of system ram increased from 295M to 359M!
    • Other various tweaks and speedups built into the ROM
    • Games should play better in this release
    3DGtaB_GAppZ_v6c.zip 02/29/12
    • Few apps added/deleted
    • Tweaked Permissions
    • Should perform faster

    TeamDRH-ICS-Preview-2B.zip 03/01/12
    • Moved some apps to the /data folder to reduce the size of the /system folder
    • New Boot Img - Fixes cache size
    • Added FakeIMEI to the framework so some apps that request one don't crash (ex. XDA App)
    3DGtaB_GAppZ_v7A.zip 03/01/12
    • Moved some apps to the /data folder to reduce the size of the /system folder
    3DGtaB_GAppZ_v7A_LiteEdition.zip 03/01/12
    • Added a new version of GAPPS
    • Very minimal app install (includes: Calender, Music, Youtube, Gmail, Gallery, Market)

    3DGtaB_GAppZ_v7B.zip 03/17/12
    • Added new market/music Google play apps
    3DGtaB_GAppZ_v7B_LiteEdition.zip 03/17/12
    • Updated Google applications

    TeamDRH-ICS-Beta-1.0.zip 03/17/12
    • Changed ROM naming convention for future use
    • Overclocking (max 1.2GHz for now)
    • ROM is reworked and running on CM9 as a base
    • Noticeable speed improvements
    • 250M system partition is a MUST now
    • Stability is improved
    • In-ROM battery stats should now be fixed for almost everyone
    3DGtaB_GAppZ_v7B.zip 03/17/12
    • Added new market/music Google play apps
    3DGtaB_GAppZ_v7B_LiteEdition.zip 03/17/12
    • Updated Google applications
    3DGtaB-GAppZ-LiteEdition-8.0.zip 03/18/12
    • New DRH-News App
    • Added Play Store (Google Market)
    3DGtaB_GAppZ_8.1.zip 04/01/12
    • Added Play Store (Google Market)
    • All Google applications are now updated and latest

    TeamDRH-ICS-Beta-1.1.zip 04/01/12
    • Performance enhancements (based on some SuperCharger settings)
    • Kernel updated with new governors
    • Kernel updated with new i/o schedulers
    • Android updated to 4.0.4
    • Rom control has additional performance settings
    3DGtaB-GAppZ-8.2.zip 04/07/12
    • Updated Gmail to 4.0.4
    • Update to Google Books
    • Fixed calender sync issues some people were having
    • Added the new installer that TeamDRH will now be using! (it's awesome!!!)
    • GAppZ full and lite will now be an all inclusive package. Just flash and follow the instructions.

    TeamDRH-ICS-Beta-1.2.zip 04/21/12
    • ROM has been updated to include various performance tweaks
    • Kernel has added touchscreen fix (hopefully fixes most games)
    • Most i/o schedulers removed for now due to incorrect throttling
    • Rom control has additional performance settings and is reorganized
    • WIFI modules updated
    • Incorporated TeamDRH Aroma installer (now includes ROM and GAppz)
    • ROM does have issue where at times, will not go to sleep (screen will turn off then flash back on) aka "blinkies"
    6
    regarding what you say below...
    That's unrelated to whatever slowdowns you're experiencing. But, to clean up /cache, just boot into CWM and "format /cache".

    it seems very slow now running 1.3, prior to this I was running CM7 and the tablet was much faster.
    Yeah. The performance is pretty bad and I'm not sure exactly where the problem lies. Most people point to the paucity of memory being the culprit, and while it may contribute quite a bit, I don't think that's all there is to it: For one thing, there are phones with just 512 MB of RAM comfortably running ICS on them. For another, I see a lot of ANRs and processes being sent SIGQUITs (SIG 3 in the logs) to generate those ANRs. For yet another, the CPU load looks very high when there's lag.

    I also see that the ro.build.type is set to "userdebug" in /system/build.prop instead of the commonly seen build.type of "user". Changing the build.type to "user" stops most of the ANRs. I don't know how Android is built, but, in the Linux world, we usually have 2 kinds of builds for a product: release (what gets shipped) and internal (AKA engineering). The difference is mainly in what compiler flags are used when building the product. For engineering builds, compiler optimizations are turned off and the debugging flags are turned on. These builds are pretty slow and use a lot more memory and CPU than the release builds. Going by what I said about the build.type and ANRs above, this is one thing for the devs to check.

    Try these things to reduce lag:

    In Settings > ROM Control (set on boot if you're happy with)
    1. Reduce dalvik VM heap size for apps to 64M.
    2. Reduce the free memory setting to 50MB.

    In Settings > Developer options (need to set on each boot)
    3. Reduce the no. of Background Processes to 1 or 2.
    4. Check the Destroy Activities ... option.

    Those last 2 really make a noticeable difference, but, you can, if you wish, skip 1) and 4) and still not impact performance all that much.

    the other issue I have on my Gtab... not sure if this is related to the ROM or not.. is that my battery indicator ALWAYS shows 100%. I tried wiping battery stats multiple times in Clockwork but not luck. I also let the tablet's battery drain down to power off. Then plugged it in, booted into clockwork and did another battery stats wipe. Still not luck.
    It's the battery. Don't know what triggers it, though, or how to fix it. I'm trying to look into it.

    One final thing before I hit the sack:
    Most things that people do to detect bad blocks on the NAND (only looking at the dmesg output, for instance) is not very effective. Here's a simple way to be absolutely certain that the ROM has been installed correctly and fully onto the gTab. The idea is an old one, going back to Dan Farmer and his COPS package (early 1990s). Basically, it is to:

    1. have the ROM packager calculate on his dev box the SHA1 checksum of every file that will be installed.
    2. Install this SHA1 checksum file along with the ROM--as, let's say, /system/etc/ROM-files.sha1. (Remove entries for files not installed during installation--not very hard)
    3. User can check using a shell script (or the command below) that the ROM is OK any time he/she wants. If the checksums compute OK, then you too, like me, can sleep blissfully, untroubled by thoughts of any bad blocks doing naughty things to your nice ROM.

    Sample creation of ROM-files.sha1 on packager's dev box. Assuming that all files that go into the ROM are in the system/ and data/ directories in their correct locations:
    Code:
    $ [B]sha1sum `find system data -type f` | tee ROM-files.sha1[/B]
    To check ROM state (on gTab):
    Code:
    gTablet$ [B]su[/B]
    gTablet# [B]cd /[/B]
    gTablet# [B]sha1sum -c system/etc/ROM-files.sha1 2>&1 | fgrep -v OK[/B]
    gTablet#                            [I]No news is good news[/I]
    5
    I think the main reason to format 4g first then 2g is to make sure the sd card part is cleared out byond the 2g region.
    Nope. No such "clearing out" happens with that kind of double/triple/... partitioning. It's simply a waste of time and a distraction from real troubleshooting. An explanation of what happens when you repartition an SD card might help:

    A repartition step on an SD card using CWM on the gTablet involves 2 operations.

    1. The actual partitioning.
    Here, only the MBR--the first sector--on the SD card is written because all SD cards (and also things like USB sticks) are NAND- or NOR-based flash (MTD) devices, but they all look like regular HDDs which means that they all have interface-matching, sector-translation and wear-levelling circuitry (and, on the expensive ones, firmware) built into them. This is also why you can put the standard HDD filesystems like extn, FAT32, etc on them. Raw (untranslated) MTD devices need specialized filesystems like yaffs2 and jffs2 which are coded specifically for them (and, incidentally, you can't put these filesystems on SD card partitions).

    2. The filesystem creation.
    During a filesystem creation operation, only a few scattered bits of data are actually written to the device. If we run through the creation of an ext3 filesystem on an SD card (relevant bits in bold):
    Code:
    ~ # [B]fdisk -l /dev/block/mmcblk2[/B]
    
    Disk /dev/block/mmcblk2: 15.9 GB, 15931539456 bytes
    255 heads, 63 sectors/track, 1936 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
                  Device Boot      Start         End      Blocks  Id System
    /dev/block/mmcblk2p1               1        1581    12699351   c Win95 FAT32 (LBA)
    /dev/block/mmcblk2p2            1582        1825     1959930  83 Linux
    /dev/block/mmcblk2p3            1826        1862      297202+ 83 Linux
    /dev/block/mmcblk2p4            1863        1936      [B]594405[/B]  83 Linux
    ~ # [B]/root/mke2fs -j -m0 /dev/block/mmcblk2p4[/B]
    mke2fs 1.42.4 (12-June-2012)
    Filesystem label=
    OS type: Linux
    Block size=[B]4096[/B] (log=2)
    Fragment size=4096 (log=2)
    Stride=0 blocks, Stripe width=0 blocks
    37200 inodes, [B]148601[/B] blocks
    0 blocks (0.00%) reserved for the super user
    First data block=0
    Maximum filesystem blocks=155189248
    5 block groups
    32768 blocks per group, 32768 fragments per group
    7440 inodes per group
    Superblock backups stored on blocks: 
            32768, 98304
    
    Allocating group tables: done                            
    Writing inode tables: done                            
    Creating journal (4096 blocks): done
    Writing superblocks and filesystem accounting information: done
    
    ~ # [B]mount /dev/block/mmcblk2p4 /root/[/B]
    ~ # [B]df[/B]
    Filesystem           1K-blocks      Used Available Use% Mounted on
    tmpfs                   224188        32    224156   0% /dev
    /dev/block/mtdblock4    222208      1296    220912   1% /cache
    /dev/block/mmcblk2p4    [B]585040[/B]     16860    568180   3% /root
    ~ #
    you'll see that the size of the partition is 594405 1K blocks, but, only 9365 1K blocks (594405 - 585040), ~ 9.4 MB, scattered all over the place, are written to initialize the filesystem--which involves, mainly, writing a new bootblock, new superblocks and group descriptor blocks, and bitmap and inode-related blocks; plus odds and ends like the bits needed to create the /lost+found directory and the journal (16MB in our example run above, and even here the journal is not "written" fully--only the space needed for it is marked as "allocated").

    The creation of a VFAT filesystem is roughly similar. So, in both cases, not a lot of actual data is written, and in each case the writes are generally scattered all over the device.

    Thus far, this discussion has been at the level of logical filesystem blocks. When it comes to which physical blocks on the SD card are actually written during filesystem creation, things look even worse for people who think some sort of clearing out happens because of the intervening wear-leveling circuitry: Only the HW knows which MTD blocks correspond to which logical filesystem blocks, and the physical MTD blocks standing in for the logical filesystem blocks keep getting rotated as needed by the SD card itself.

    What I think people imagine happens during a repartition is something like this:
    Code:
    ~ # [B]time dd if=/dev/zero of=/dev/block/mmcblk3[/B]
    That command writes zeros to every sector of the internal SD card. Run the command while in CWM (repartition afterwards, please) and see how long it takes to complete. If a repartition step really cleaned out the internal SD card as people imagine, then you would have to wait 45 mins or so for that operation to complete instead of the minute or so that you have to now.

    This is to ensure no data is left over from the previous ROM.
    See the description above. I can guarantee you that unless there are ghastly bugs in CWM, the parted/e2fsprogs code or in the HW, a single repartition operation will get rid of all (user-visible) data on the SD cards.

    ---------- Post added at 02:06 PM ---------- Previous post was at 01:56 PM ----------

    Sadly I tried everything I could think of, still no luck. Hopefully now that someone has sent their "stuck at the birds" device in for analysis there will be a fix. I have the CWM install log if that would be helpful. [Update: log attached]
    Looking at the logs, I see that the ROM installation script is still cheerfully corrupting the /cache filesystem for no good reason. It also seems to be trying to remove the dalvik-cache from non-existent devices. Somebody should really scrutinize that install script.

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

    I was just wondering if you were sure you had the 250mb partition would it be necessary to nvflash.
    Nope.

    If you could just do a wipe/factory reset, wipe cache, wipe davilk cache and the flash the 1.3 rom.
    Only a "wipe data/factory reset" is needed. You'll see that it does the other 2 (wiping cache and dalvik-cache) if you look at the messages the operation prints.
    5
    CWM 5504 B15+Touch and ICS

    Process I followed to actually get the latest ClockWorkMod w/touch working AND be able to install ICS (I had a TON of issues with boot-into-recovery-only, not booting at all and only showing the birds, booting into stock rom but not being able to get into recovery anymore... this is how I got it working.)

    Following this exact process I get success everytime now.

    1) Turn your tablet OFF and REMOVE THE microSD CARD!! I repeat, remove the microSD card!!

    2) Download THIS "nvflash_gtablet_2010110500.zip" from HERE (delete the other zip if you downloaded elsewhere):
    http://dl.dropbox.com/u/66090731/nvflash_gtablet_2010110500.zip

    3) Download THIS "nvflash1.2_5504b15.zip" from HERE:
    http://dl.dropbox.com/u/66090731/nvflash1.2_5504b15.zip

    4) Unzip "nvflash_gtablet_2010110500.zip" to "nvflash_gtablet_2010110500"
    5) Unzip "nvflash1.2_5504b15.zip" to "nvflash1.2_5504b15"

    6) Press and hold Volume - (VOL. DOWN) and the power button at the same time, release the power button once the screen turns on, keep holding VOL - until screen turns off; you're now in whats called APX mode.
    7) Plug your USB cord into your computer, and into your G-Tablet

    If you have NEVER installed the USB drivers before, do step 8, otherwise skip to step 9:
    8) Go to Start/Control Panel/Device Manager and hit the Update Driver button for APX. In the popup, choose to specify manually and browse to the "nvflash_gtablet_2010110500" directory and choose the "USB" directory. Let the drivers install and proceed to step 9.

    9) Go inside the "nvflash_gtablet_2010110500" directory
    10) Double click nvflash_gtablet.bat , a CMD prompt window will open and start doing stuff - let it run until it says press any key to exit - that means its done.
    11) Let your G-Tablet do a full boot up into the TnT ROM, then shutdown (Power Off)

    12) Put your G-Tablet back into APX Mode. (Press and hold VOL. DOWN and the power button at the same time, release the power button once the screen turns on, keep holding VOL - until screen turns off).

    13) Go inside the "nvflash1.2_5504b15" directory
    14) Double click nvflash_gtablet.bat , a CMD prompt window will open and start doing stuff - again let it run until it says press any key to exit - that means its done.
    15) Let your G-Tablet do a full boot up into the TnT ROM, then shutdown (Power Off)

    16) Put your G-Tablet into Recovery Mode. To do this, press and hold VOLUME + (VOL UP) and the power button at the same time, release the power button once the screen turns on, keep holding VOL + for a few seconds; now you should be in the ClockWorkMod recovery with touch capability. At the top it should say 5.5.0.4 Beta 15.

    Now its time to follow the "How to install" steps from the first post. DO ALL OF THESE!
    1)
    a. Wipe Data/Factory Reset
    b. Wipe Cache
    c. Wipe Dalvik Cache
    2)
    a. Format boot
    b. Mount then Format data
    c. Mount then format system
    d. Format cache
    3) Re-partition internal sd with 2048/0
    4) Mount USB and copy your ICS ROM and Gapps zip files over
    5) Flash the ICS ROM (this may take a while to complete, do not mess with it until it's DONE)
    6) Flash Gapps (this may take a while to complete, do not mess with it until it's DONE)
    7) SHUT DOWN / POWER OFF
    8) Insert your microSD card back into your G-Tablet
    9) Start up normal and let it boot into the ICS ROM.
    10) Complete first setup and then let sit and sync for half an hour to an hour.


    Special Thanks to:
    butchconner http://xdaforums.com/showthread.php?t=989320
    fosser2 http://xdaforums.com/showthread.php?t=1525424
    roebeet http://www.slatedroid.com/topic/171...-using-either-11-or-12-based-images-g-tablet/
    ViewSonic G-Tablet for Dummies http://viewsonic-gtablet-for-dummies.webs.com/