yashsingh1/xdaforums huggingface dataset:
[G Tablet Q&A, Help & Troubleshooting] theshafe:
So, last night i tried to flash GtabComb to my 1.1 Gtab. After 3 unsuccessful installs (which I now believe are attributed to the system partition size of only 200 rather than 250 [help here would also be apprciated]) i downloaded the latest Rom Manager and updated ClockWork Mod. After the initial scare that my SD card had been totally formatted, i found that for some reason, this new CWM likes to use the second SD card... You know, the one with no backups or anything saved to it. For now, I am running a random ROM (Vegan Gingerbread) until i find out how to switch the SD card read by CMW. So any help guys? It's probably something really simple I'm over looking.. Help is appreciated greatly. Thanks

Edit: On a side note, I finally got GtabComb to load on my tablet! Seems I only needed a little bit of patience...:rolleyes:
[G Tablet Q&A, Help & Troubleshooting] nobe1976:
The best way to install CWM is through NVflash. Rom manager is really designed for phones not this tablet. NVflash is simple and easy to use as long as you have a desktop or laptop using either windows or Linux. Here is the link to guide you through those steps. Helped me out when I was in a jam.

http://viewsonic-gtablet-for-dummies...om/nvflash.htm
[G Tablet Q&A, Help & Troubleshooting] theshafe:
Thanks for the advice! NVFlashing is a tad of a problem for me, however. I've actually commented on that particualr NVFlashing tutorial earlier today explaining how my computer won't recognize my tablet while it's in APX mode. I seem to have the worst luck with this kid of thing..:rolleyes:

Would there another way to change which card is being read?
[G Tablet Q&A, Help & Troubleshooting] DaggerDave:
Do not use Rom Manager on the Gtablet it will mess things up. You can go to this link and download a .zip installable version of CWM for your bootloader. There are versions for installing from either the internal or external sdcard. If you are not installing from the external sdcard, it is best to remove it.

You could also check out this thread, and this one for more info.
[G Tablet Q&A, Help & Troubleshooting] theshafe:
It sure does mess things up! And that CWM.zip would be great had I not had another (worse) version already installed.. woe is me. I'll give those threads a read tomorrow and hope something turns up. Thanks for the links!
[G Tablet Q&A, Help & Troubleshooting] nobe1976:
That would be the way to go but if you can't access the current CWM you cannot get it to install anything. The only other alternative would be to figure out why the computer won't recognize the tablet in APX mode. What OS are you trying it with?
[G Tablet Q&A, Help & Troubleshooting] DaggerDave:
Try this:

Download this .zip file and extract it to your Gtablet's sdcard.

Using a root file manager (ES, Root Explorer, etc.) mount /system as read-write (rw) and move the downloaded files in each folder to their proper locations (copy the system/etc/recovery folder into /system/etc and the files in system/bin into /system/bin) and make sure all the permissions are correct. The recovery images should be -rw-r--r--, the scripts inside of /bin should be -rwxr-xr-x and flash_image should be -rw-r--r--.

Open a terminal emulator and type 'su' (without quotes) and allow SuperUser when it asks. Your shell prompt should go from a '$' to a '#'. Now type 'cwmrecovery.sh' (without quotes) and enter. That should install cwm-08 for you, just exit when it finishes and try to reboot into recovery. You can use the 'fixrecovery.sh' script to flash the stock 1.1 recovery if you ever need to.

See the last thread I linked to in my last post for more info on this. Good luck!
[G Tablet Q&A, Help & Troubleshooting] theshafe:
Just extracted to the external SD that was being read from and updated from there with the new CWM and bam! .08 is on and working like a charm. Many thanks!

I would love to know why it doesn't. I was previously using a froyo tap'n'tap, but now I am running 3.0.1. Would OS make a difference? I always assumed it was my tablet/PC's/luck
[G Tablet Q&A, Help & Troubleshooting] nobe1976:
I would love to know why it doesn't. I was previously using a froyo tap'n'tap, but now I am running 3.0.1. Would OS make a difference? I always assumed it was my tablet/PC's/luck[/QUOTE]

The OS on the tablet doesn't matter since the APX mode is the tablets download mode. The OS on you computer is what might be the issue, or could even be just a bad USB port or even drivers being used. If the computer keeps promptings that software needs to be installed. Guied the it to install them from the extracted NVflash file and install the ones that are in the pack.
[G Tablet Q&A, Help & Troubleshooting] DaggerDave:
As the post above said, the OS on your PC is probably your problem. Which OS are you using? WinXP, Win7? I can't for the life of me get Windows7 to recognize my ICS Gtablet but o'well!

If you are comfortable with using or trying Linux, you could try installing Knoppix on a USB drive and run that. I think Knoppix has everything set up for MTP & ADB already and is 'live' so no real configuration is needed to get it running (except for your wifi of course). Just use the Linux version included in most NvFlash packages. If you have a fairly powerful computer, you could also try running Linux in a VM, but Knoppix doesn't run in a VM very well.

My favorite is Arch Linux (not in a VM). Although you have to build and configure the system yourself from the ground up. Since I started using Linux I have really enjoyed it. It is much faster than Windows, more secure and gives me less problems than the Win PCs I deal with. Check out this site if you are interested in Linux.
[G Tablet Q&A, Help & Troubleshooting] nobe1976:
To top on this excellent information. If you decided to try a Linux disto I would recommend a version of Ubuntu, doesn't really matter which one they are all really user friendly and depending on you pc setup depends on which version of it you can use. I have 11.05 installed on a 2nd partition for doing my Droid stuff on a computer that is around 9 years old, runs smooth. Windows xp is the other alternative which I have used several times NVflashing stuff, but adb seems to run better through Linux in my opinion.
[G Tablet Q&A, Help & Troubleshooting] theshafe:
Ah, mind went blank there. Right now, all I have is a windows 7 laptop (my XP desktop and older Vista laptop are probably long gone) Ive attempted to flash before with the vista laptop to no avail. In both instances, I connect the tablet in APX and it was not even recognized as a connected device. I'm hesitant to run Linux, even from a flash drive. If I get the chance to soon, I may very well end up doing it, as it appears the ONLY option.. Thanks for your help guys. If you could think of anyway for Windows 7 to recognize my tablet, please let me know. You guys are a great help. Thanks again!
[G Tablet Q&A, Help & Troubleshooting] DaggerDave:
If you haven't already tried this maybe it will work for you.

- Put the tablet into APX mode, then plug in the USB. Windows7 will drag on then fail installing the drivers, as usual.

- Go to Control Panel->Hardware and Sound->Device Manager and find the '!' (unknown device)

- Right click and choose Properties, then Uninstall Driver (if it is an option)

- Next, click on Update Driver, then choose Browse My Computer ...

- Navigate to the NVFlash folder (the one you extracted from the nvflash .zip you downloaded)

- Open the folder inside called 'usbpcdriver' or similar, and select the .inf file (NvidiaUsb.inf) and choose to install it. Once it installs, it should recognize the tablet as a MTP device. If not turn off the tablet, unplug the USB, restart Windows and plug it back in when it is finished rebooting and start the tablet in APX mode again. If it still doesn't recognize it try the whole process over agian.

I can understand being hesitant toward running Linux but running from a flash drive or in a VM is pretty safe, as in if you mess up the OS you can always start over without damaging Windows. Done it many times! Try running Ubuntu in a virtual machine such as Virtual Box, it is almost as user friendly as windows and you can have the VM capture USB devices such as the Gtablet which Ubuntu should recognize. Probably won't run very fast on a laptop but if you have at least a dual core with 2 GB of ram it should be pretty smooth.

Not trying to push Linux on you or anything, just some suggestions. From what I hear most of the Gtab devs use Windows7 and it seems to work great for them!
[Android Q&A, Help & Troubleshooting] soupmagnet:
Can anyone help a noob figure out why?

linux@ubuntu:~$ apktool b '/home/linux/SystemUI'

I: Checkingwhether sources has changed...
I: Checkingwhether resources has changed...
I: Building resources...
invalid resource directory name: /home/linux/SystemUI/res/values-sw720dp
invalid resource directory name: /home/linux/SystemUI/res/layout-sw600dp
invalid resource directory name: /home/linux/SystemUI/res/values-sw720dp-port invalid resource directory name: /home/linux/SystemUI/res/drawable-sw600dp-mdpi
invalid resource directory name: /home/linux/SystemUI/res/values-sw600dp
invalid resource directory name: /home/linux/SystemUI/res/values-sw600dp-port Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL8165751601391013391.tmp, -I, /home/linux/apktool/framework/1.apk, -S'
/home/linux/SystemUI/res, -M, /home/linux/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL8165751601391013391.tmp, -I, /home/linux/apktool/framework/1.apk, -S, /home/linux/SystemUI/res, -M, /home/linux/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more

I decompiled SystemUI.apk with no problem but when I went to rebuild, I got this error. I want to make sure I know how to rebuild an unchanged directory before I start making any kind of changes and go crazy trying to figure out what the problem is.
[Android Q&A, Help & Troubleshooting] lithid-cm:
What android version?
[Android Q&A, Help & Troubleshooting] soupmagnet:
Sorry...

4.0.3

CM9

Ubuntu 10.4
[Android Q&A, Help & Troubleshooting] soupmagnet:
OK, same problem, new error...

Changed <app_path>

linux@ubuntu:~$ apktool b SystemUI

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:55)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:38)
at brut.androlib.res.util.ExtFile.getDirectory(ExtFile.java:55)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.zip.ZipFile.<init>(ZipFile.java:144)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:53)
... 7 more

I'm at a loss
[Android Q&A, Help & Troubleshooting] pwelyn:
Try this, hope I can help you

apktool d -s SystemUI.apk

-s, --no-src

Do not decode sources.

apktool b SystemUI
[Android Q&A, Help & Troubleshooting] DJ_Synergy:
hey guys, just found this thread on a google search for this error ..

i have the same problem with CM9 Beta8 for Galaxy Ace ... pulled the framework-res.apk and SystemUI.apk via adb and installed framework-res.apk via apktool if framework-res.apk ...

i modded a lot of things in Adrenaline ROM before and everything was ok ... now, on android 4.0.4 (CM9) i get this error when ever i try to compile the apk ... tried it with a fresh project and without modding anything and it gives the same error ...

anyone have an idea ??? maybe apktool can't handle ICS-apks ???
[Android Q&A, Help & Troubleshooting] pwelyn:
This should help you

http://xdaforums.com/showpost.php?p=24893563&postcount=1
[Android Q&A, Help & Troubleshooting] gsminhas:
hello

guys i dont know but i am trying to recompile apks from 10 day tried ever fix every fix thread. i usaly get the first op problem can anyone confirm it that this method work
[Android Q&A, Help & Troubleshooting] zelendel:
For ICS you need to use 2 different apktool jar files. One to decompile and another to recompile. Also you need to install system UI framework files like you do normale framework files. With apktool if systemui.apk command. And some files still can't be edited unless you edit the source file from scratch
[Android Q&A, Help & Troubleshooting] gsminhas:
Man I think I was looking for this in past 2 weeks I looked into all the apktool related threads and this is the simplest answer I have seen and straight forward

I will try it today thanks man
[Android Q&A, Help & Troubleshooting] Rainbowbright081:
I'm getting the same errors. Tried everything. Got to be doing something wrong.
[Android Q&A, Help & Troubleshooting] zelendel:
Yeah you didn't read my post 2 posts above this. You have to use a different apktool version to compile an ICS systemui apk
[Android Q&A, Help & Troubleshooting] Rainbowbright081:
Sir, I did. Tried decompile with 1.4.2 compile with 1.4.3. Tried a lot of things, will try ferns way this evening. And yours again.

Edit: I hadnt installed systemui into framework, will try that and -s tag as well. Why does theming have to change in the way we deal with each rom. Lol.
[Android Q&A, Help & Troubleshooting] zelendel:
Because each rom has different framework changes. Lol and each OS update you need to reinstall the framework files as well
[Android Q&A, Help & Troubleshooting] thetrisatria:
wrong version of apktool and/or aapt.
[Android Q&A, Help & Troubleshooting] bombadier:
So which is the right version then? as I have tried with apktool 1.4.1 - 1.4.3 and am on the latest aapt version and still cannot get it to work
[Android Q&A, Help & Troubleshooting] gsminhas:
As in am having the same problem .I tried using almost all apktools and every version of apktool but problem exist

Can this be the windows problem?

But Even on Linux I get same errors.

I also tried decompiling by one apktool and recompiling by other . Nothing worked

Even used the method ( decompiling with -s ) suggested in one of the reply in this post

I am using windows 7 64 bit and Linux 11.04 64 bit
[Android Q&A, Help & Troubleshooting] thetrisatria:
1.4.3 with latest ics aapt.

tested to de/compile miui v4.

oh, btw I'm using windows7 32bit.

try to get the apktool from here:

http://xdaforums.com/showthread.php?p=25063042
[Android Q&A, Help & Troubleshooting] gsminhas:
I have tried new aapt its not working for me idk why
[Android Q&A, Help & Troubleshooting] thetrisatria:
lol, its works for me. the key is to find the proper apktool. try my link above.
[Android Q&A, Help & Troubleshooting] :
Well I will try it

But right know I am not very optimistic because I have tried ever apktool I could find but never able to recompile lol
[Android Q&A, Help & Troubleshooting] F.West98:
I have the same problem. My ICS apktool (no cmd script, but really a small windows execution) DID work, but now it only gives errors while compiling.
[Android Q&A, Help & Troubleshooting] Rainbowbright081:
Check your images, that was my problem. I had 3 .9 pngs that decompile incorrectly. Fixed them and done, compiled just fine.
[Android Q&A, Help & Troubleshooting] mickfo:
Under linux for unpack/repack apk without errors, use last version of apktools, and replace the aapt binary (in the apktools dir) with the last aapt of android-sdk (in platforms-tools)

and modify your PATH ( export PATH=$PATH:the_path_of_your_apktools)
[Android Q&A, Help & Troubleshooting] OpenMinded:
if the original issue was because of the comma's in the command, try another aapt version.

On mac os x is had an issue with it being outdated.

I pulled the latest from the SDK and it worked
[Android Q&A, Help & Troubleshooting] enryea123:
this is the solution for linux users

http://xdaforums.com/showthread.php?t=2119543
[Android Q&A, Help & Troubleshooting] supersonic835:
i have this same problem. i have been working at this all day.

i'm willing to pay someone if the price is reasonable to change the splash.png on a custom xbmc build.

please let me know if you are interested either by PM or here in this thread, ty
[Android Q&A, Help & Troubleshooting] mike the inkman:
I know this is an old thread, and this looks like aapt wasn't in PATH, but anyone who may be reading this naow with a similar problem, I have a good kit for linux that supports lollipop. All you need is a good java install. Check it out.

http://xdaforums.com/android/development/toolkit-apk-munky-rench-t3026757/post58747626#post58747626
[T-Mobile myTouch 4G Slide] Some_dude36:
It's amazing this thing still works..... These htc phones are built like tanks. I mean it flies apart cover goes flying the batterry goes flying I must drop this thing from a height of no less than 3 feet bout 3-4 times a month and usually its in my lap and i stand up and it gets launched with a bit of velocity too. sheeesh
[T-Mobile myTouch 4G Slide] gtmaster303:
lol, I will refrain from making any sexual innuendos...
[T-Mobile myTouch 4G Slide] AgentCherryColla:
Let this be a big Finger to every review for this phone. Drop a sensation once, it's broken. Drop this 1000 times, and it'll still be good as new.
[T-Mobile myTouch 4G Slide] Emmanuel U:
drop an iphone and the screen will crack before touching the ground :P
[T-Mobile myTouch 4G Slide] Some_dude36:
Yea , every time i see this thing bounce across the floor im like " awww man time for a new phone " now matter how hard it hits or how many times. noooooo problem
[T-Mobile myTouch 4G Slide] Limewirelord:
Says you guys. I used my phone with my face and got the backlighting dislodged from the LCD which was in turn dislodged from the digitizer. I haven't dropped my phone once, I just used it like a phone. ;_;
[T-Mobile myTouch 4G Slide] Some_dude36:
Well everyone makes a lemon once in a while ... I mean ive dropped this thing 30 times atleast since ive owned it . ATLEAST as i said from no less than 3 ft and it works perfect.

Maybe it's the rom? I am running bulletproof xD
[T-Mobile myTouch 4G Slide] Blue6IX:
I've had mine since August 6th of last year - in all that time and being in the legitimate top % of time actively being used, i've dropped it exactly 1 time, and that was because a bucket fell off of a scaffold onto me.

It was in the trident case when it happened, and it's okay - that ate the force of the fall.

You sound like you need to put it on a lighter leash man, or something like that :p

You need at minimum a trident case, and you should probably get some kind of padded pouch to keep it in. (well, that's what I do, and most don't - but it might be worth you looking into)

I lol'd at the bulletproof comment. Glad it's serving you well ( the phone, and the ROM)
[T-Mobile myTouch 4G Slide] cj chitwood:
I drop mine more than [your provider's name] drops calls in rural Ethiopia. I mean the thing is like it's slippery as Hell, but every time, it hits the ground, the back comes off flying, the battery slips out, the keyboard slings open. I was just as bad with my old G1 and it worked for 3 years. Then one more drop to the asphalt and the radio lost about half its signal in all bands. Couldn't keep calls or data for more than a few seconds at a time. Anyway, I have been impressed by HTC for the two phones I've had.

On an aside, my father in law has a G1 still. Bronze. Got it the same day I got mine. Mine looks like R. Lee Ermey (or maybe Gary Bussey on a good day); his still looks like a very young George Clooney.

I don't know what it is, but I think it's the fact I'm always trying not to smudge the screen so I pick it up by the edges like a CD. Come to think of it, I drop CDs a lot too.
[T-Mobile myTouch 4G Slide] gtmaster303:
OMG, I dropped my phone today :(

Sitting in lecture, slipped right out of my pocket and hit the rough plaster floor behind the chair. Battery cover came off and battery was out.

The first time I have dropped a phone in nearly two years :(

God is crying today

Bottom corner of steel rim has a small scuff now about the size of a pencil eraser :'(
[T-Mobile myTouch 4G Slide] strapped365:
Man, if you all seen my phone, you would swear I bought it at the scratch and dent special.

At least twice a week I leave it on my lap and hop out the car and there goes my phone, the outer green edge on my camera lens is chipped to hell and back, all 4 corners are destroyed now to the 3 falls it took just today and this thing still runs like it came from the box yesterday.
[Off-topic] willisjm193:
When flashing Beats Audio on a phone that doesn't come

with it, you need to be careful. How does the developer

know if you are allergic to beets? Maybe they haven't came

up with a fix for that yet! When in doubt, just do a nandroid

backup to eliminate any worries.
[Off-topic] rockstarar:
lol this is golden.

--sent from my glacier.
[Off-topic] Chelseablue:
Ha thats great
[Off-topic] NanoNoodle:
That's just genius! I'm sure those beets taste great and are like few hundred dollars a can!
[Off-topic] lamborg:
lol good one.
[XPERIA X8 General] Ugrum:
I was going to test some new roms as I usually do. Rebooted phone, pressed back key and performed a backup.

When I tried to restore the backup I made it was not in the xrecover/backup folder, after some searching on the sd card I found the backup but it was in the folder clockworkmod/backup.

The strange thing is that I am sure that I wasnt on the clockworkmod when I made the backup because the text wasnt orange, it was blue. Now xrecovery cant restore my backup and even if I boot on clockworkmod (by tapping screen on boot) I cant restore my backup.

What am I missing? Is there another recovery I could have booted without noticing?
[XPERIA X8 General] bxmx666:
Maybe you were using a custom kernel or gingerdx on stock those have cwm with blue text
[XPERIA X8 General] B.Jay:
Not entirely correct. Up to GingerDX v022 the ROM shipped with CWM 3.2.0.0r2, which had the orange text.

Starting with GingerDX v024 we switched to CWM 5.0.2.8 (and pulled even with the Alfs-included CWM version) which has the cyan-ish text color.

Anyway, if the backup would have been created with xRecovery (blue text color) then the backup would sit in /sdcard/xrecovery/backup.

@OP: If you can't restore the backup, maybe it got damaged?
[XPERIA X8 General] Ugrum:
Yes, it was a cyan text. The problem is that aparently I have 3 recovery systems installed.

If I press the back button on boot I got to the xrecovery

If I tap the screen on boot I got to clockworkmod with orange text (version 3.2)

But I dont know how I got in the clockworkmod with the cyan-ish text (version 5.02)

Btw, I am using GingerDX v024 and loving it =).

EDIT: I solved my problem, it was just a silly thing. GingerDX V024 uses clockworkmod 5.0.2 and the rom I tested used v3.2, just flashed GingerDX v024 and I was fine... only bad news is that I found out that my backup was corrupted (MD5 dont match) and I screwed my phone contacts because of the goddamed google contact sync.