yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] mansa_noob:
What issues can the Cleanup Batch solve?

I have noticed a couple of folks on this thread say the ROM runs much faster. Can someone do an ideal test (before and after) and report the hiccups removed as a result of this procedure?

Ideally everyone trying this script should report :D. The environment (before and after) needs to be the same to notice the difference!
[T-Mobile LG G2x] exorcist70:
Has this issue been worked out yet?
[T-Mobile LG G2x] rtotheichie:
I've been through this whole forum so far, and I can't seem to find a definitive answer to this: does this clean out emmc, as well? I've noticed even after building and flashing, I still have residuals there that I think may be causing some problems
[T-Mobile LG G2x] Klathmon:
Emmc is your internal sd card, so yes it does format that
[T-Mobile LG G2x] mansa_noob:
It does. In fact after running this tool emmc can't be used until you flash a gb rom.

There is an outstanding issue of not being able to mount emmc with ics builds that can be worked by flashing gb before ics.
[T-Mobile LG G2x] mansa_noob:
Thanks. So emmc is supposed to be 8 or 9 in ICS? It seems to be 9 in GB so I would imagine 9 is the magic number. However when I look at HFS 1.6 I still see 8.
[T-Mobile LG G2x] k4p741nkrunch:
I ran this script last week when it installed 5.0.2.0. Everything went successfully according to the script and the ROM was running faster. I had flashed AOKP build 31 afterwards and couldn't see the Internal SD on either the computer or the phone. I figured it was just the ROM and went and manually NVflashed the new 5.8.1.3 touch recovery. I'm now trying to backup to the internal SD, where I prefer to keep my nandroids. Everytime I try to "backup to Internal SD" through recovery I'm getting "Can't mount backup path." Is my Internal SD damaged somehow? I thought the mounting issues were only in the ROM. Will flashing a GB ROM fix this issue as well? Can anyone shed some light on this??
[T-Mobile LG G2x] mansa_noob:
Still trying to figure out but it seems to be an issue when using ics. Loading gb before flashing ics seems to solve it.
[T-Mobile LG G2x] MWBehr:
It's 8, there is no partition 9 in ICS.
[T-Mobile LG G2x] Klathmon:
you might want to add this to the OP, "flash a gingerbread rom directly after, then flash whatever you want"
[T-Mobile LG G2x] rtotheichie:
Copy that. Would there be anything wrong with immediately nullifying after flashing the GB, or does it need to actually be ran first? Not real sure how the partiotining, etc...works
[T-Mobile LG G2x] Klathmon:
not sure what you mean by nullifying, but if your talking about the nullifier, there is really no reason to run that after this (in my opinion) you can if you want, but its not going to change anything.

if you mean wiping data and cache from inside CWM, then yes, you should definitely do that before flashing an ICS rom.

but EVERY time you run this batch cleanup tool, you need to flash a GB rom after it or you will not be able to access your internal sd card (aka: emmc)
[T-Mobile LG G2x] rtotheichie:
I'm super paranoid :o so i like to use the Nullifier before a new flash. It's like a digital placebo for me
[T-Mobile LG G2x] ayysir:
To OP:

Ever tried to run virtual machine for Linux

None of the Linux versions are functional. Been looking at the script trying to figure the program
[T-Mobile LG G2x] Klathmon:
The 5.0.x.x Linux versions are running fine for me. But the touch breaks for some damn reason and i can't for the life of me figure it out.

Koush hasn't released the source for the touch version yet so there's not really anything i can figure out to do...
[T-Mobile LG G2x] ayysir:
I'll poke around a bit more
[T-Mobile LG G2x] mansa_noob:
Actually no :(. I am installing linux vm now.

Anyone has the link to drivers handy?
[T-Mobile LG G2x] qpinto:
i loaded this up and used it. made the phone quick. ran the cleanup batch tool, rebooted into recovery and emmc couldnt be mounted/formated etc. flashed cm7 onto it quickly without gapps, and went into storage. all the way at the bottom it says erase sd card, and it confirms 2 times. once erased, emmc mounts once again. just a little fyi.

so you have to boot into the GB rom and erase the emmc from inside the booted rom instead of in cwm. fyi.
[T-Mobile LG G2x] ayysir:
I have it in my DB, pm me I'll link you
[T-Mobile LG G2x] kairi_zeroblade:
as been said countless of times..even on the O2X main branch this CWM is a bugger..had many issues on O2X and there is even no more reason why this will function FULLY on G2X(bugfree)..

if you can rip this from source then devs will be able to fix whats "BROKEN" or "BUGGY"..
[T-Mobile LG G2x] mansa_noob:
Not sure what you are referring to. Touch has been working fine for me.
[T-Mobile LG G2x] ayysir:
Idk why your so vehement about not using the beta touch cwm that rusty ported but for most users I've seen have no problem at all with it
[T-Mobile LG G2x] mosij:
Is this phone un-brickable?!

Hey Mansa (and all),

My phone won't come at. I've tried to reflash cmw, and also do this touch cleanup batch, to no avail. All I get is this message below. Any other suggestions?

Mosi

ps- I've tried 3 different usb cables (one brand new). I'd try another laptop, but only have one computer in the house. Thanks.

C:\Users\Master Mosi\Desktop\rom\G2XCleanUpBatchInternalSDFormatCWMTouch\G2XClea

nUpBatchInternalSDFormatCWMTouch>.\nvflash.exe --bct E1108_Hynix_512MB_H8TBR00U0

MLR-0DM_300MHz_final_emmc_x8.bct --setbct --odmdata 0xC8000 --configfile android

_fastboot_emmc_full.cfg --create --bl fastboot.bin --go

Nvflash started

rcm version 0X20001

System Information:

chip name: unknown

chip id: 0x20 major: 1 minor: 3

chip sku: 0xf

chip uid: 0x033c20c142df3517

macrovision: disabled

hdcp: enabled

sbk burned: false

dk burned: false

boot device: emmc

operating mode: 3

device config strap: 0

device config fuse: 17

sdram config strap: 0

sending file: E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct

- 4080/4080 bytes sent

E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct sent successfully

odm data: 0xc8000

downloading bootloader -- load address: 0x108000 entry point: 0x108000

sending file: fastboot.bin

\ 888548/888548 bytes sent

fastboot.bin sent successfully

waiting for bootloader to initialize
[T-Mobile LG G2x] mansa_noob:
Ok. So bootloader not initializing seems to be a common theme these days.

I have no other suggestion than a science experiment. Can you stick the phone in the fridge for a couple of hours (no battery) and then try the script again please.
[T-Mobile LG G2x] mosij:
Nope, the refrigerator thingy didn't work.

I also tried using a friends netbook. It would always register on the computer, and receive the fastboot.ini files, but would never initialize (no matter how long I waited).

I'm not sure if it matters now, but two days ago when I was trouble holding the two buttons down, it did flash the logo sign. However, my fingers slipped, and I thought it hadn't gone all the way through. Unfortunately, I haven't seen the LG logo since.

Well, thanks for you help, but looks like I have somehow bricked it. Time to start looking for other T-mobile phones...
[T-Mobile LG G2x] Stealth Pyro:
I was having an issue where my ROMs would fail to boot (many different ROMs) after restarting them for the first time. I just ran this cleaner and after a few test reboots everything is fine so far. Hopefully it stays that way...
[T-Mobile LG G2x] mansa_noob:
Glad it helped you.
[T-Mobile LG G2x] timothy7732:
I used this tool because I was having the same problem with Bluetooth but it did not fix my problem
[T-Mobile LG G2x] mansa_noob:
Which ROM did you put on afterwards?
[T-Mobile LG G2x] timothy7732:
X boarders 2.3.3
[T-Mobile LG G2x] mansa_noob:
I have been testing and have been able to replicate (for me) the bluetooth issue even after the fix if I use power saving software.

In my case I had tried Easy Battery Saver after running the Cleanup batch and could reproduce the problem. This test was done two week ago.

Since then I have been running issue free but without power saving software :(. I suspect (have no proof) that their meddling with bluetooth to save power creates the issue.

Can you let me know if you have been using a power saving (or battery saving) software and if you can test without it (after clean) and report back if the issue returns?

BTW, I am using Weapon G2x 3.0 R1.
[T-Mobile LG G2x] timothy7732:
No Power saver or battery saver its a stock rooted rom also no custom kernel
[T-Mobile LG G2x] kesara:
That is not surprising 'cause that kind of software kills background services etc. So quite possible that some things would stop working unless you restart them.

One way to avoid that is using something that allows you to exclude things from the kill list.
[T-Mobile LG G2x] mansa_noob:
Then I must say I am stumped. The only experience I can tell you is my own, which included running fine for 4 weeks, making a nandroid, installing Easy Battery Saver, bluetooth issue, wipe, restore from nandroid and fine ever since.

I would suggest trying a different ROM but from experience can tell you that does not work (I must have swapped >20 before realizing it wasn't the issue).

BTW, what are the modifications you made to the ROM before the test failed? Can you retest without logging into your google account and without adding/subtracting anything from the ROM? Maybe that is what you have done.
[T-Mobile LG G2x] timothy7732:
Did that to .same issues it work fine before I rooted
[T-Mobile LG G2x] kesara:
Did you try this one? http://xdaforums.com/showthread.php?t=1248644

to see that fixes your issue?
[T-Mobile LG G2x] timothy7732:
Ill try when I get home thank you
[T-Mobile LG G2x] Jeffro64:
Just wondering if you have had any luck finding the problem on this? The reason I ask is I ran into this same problem 2 days ago when I used my phone to format my external SDcard. For some reason the phone didn't format it right I guess and it wouldn't mount and show up. I ended up taking it out and formatting it on my PC, afterwards it came back.

I was just wondering if the G2x Cleanup isn't formatting the SD right for some reason, could this be the problem? Not that you haven't thought of this already... just wondering if you think formatting is the problem.
[T-Mobile LG G2x] mansa_noob:
Formatting is part of the nvflash --create command. Since there is a workaround I must admit I have been lazy trying to find a solution.

I will see if I can try a few methods tomorrow.
[T-Mobile LG G2x] Jeffro64:
OK thanks for the reply... no rush, I was just wondering. Used the tool last night and my phone seems to run a bit smoother now using the same ICS ROM I was having trouble with before.
[T-Mobile LG G2x] da-pharoah:
ok so lets see how good you are with this tool..... I cant seem to figure this out... I was messing with this tool plus other trying to create secondary partitions and Ive messed up some how and I cant seem to find any info to fix.. wondering if you had n e info?? Ive attached the screen shot to show whats up... but basically I cant nvflash ne thing anymore.. the phone is recognized in my devices correctly I just cant seem to get past this error... Ive tried a different cable and still no go.. Ive tried the two different ways of nvflashing for the g2x and still same error....any ideas? what I dont understand is the bct file is in my working folder... but maybe it got corrupted on my phone..

edit...

I can 'run' your tool with no error.. but when i run the regular nvflash tool i get that error... but still I cant boot up... its weird..

edit2:

never mind.. I got it. :)
[T-Mobile LG G2x] Jeffro64:
Looked like you were in a pickle lol.... What did you do to get out of that?
[T-Mobile LG G2x] da-pharoah:
I used new files and flashed the boot.img.. I grabbed the cwm touch version and used that.. it was wierd.. regular nvflash wouldnt work but this tool would. This tool saved my paperweight! lol I mean phone. dam nvflash was giving me issues... turns out only difference was the .cfg file from this and the nvflash tool.. go figure.
[T-Mobile LG G2x] Jeffro64:
Bet you were freakin... Good to know this tool is that handy. Just wish a fix for the SD could be found without the work around.
[T-Mobile LG G2x] kesara:
Regular nvflash doesn't reparation. This does.

Probably your partition table got fried. That's the whole point of this tool. Cleaning up EVERYTHING and start fresh.
[T-Mobile LG G2x] da-pharoah:
The partition table did get fried.. but all is good now.. :)

But nah not really.. just a bit aggravated that it wouldn't boot after implementing the secondary partitions...oh well.. better luck next time I guess. ;)
[T-Mobile LG G2x] Crgm77:
I used this tool to wipe my phone clean, then i put a GB ROM on it and the internal SD card is no longer accessible, so i did this again and this time i put an ICS rom (Hell fire sandwich) and my internal SD card is still missing. I can't find a way to get access to it anymore. So anyone has any ideas what i can do to fix this? any help would be appreciated thanks in advance.
[T-Mobile LG G2x] kesara:
Format the internal SD within the ROM. should be in settings -. storage i think

Then reboot ..
[T-Mobile LG G2x] ayysir:
Funny to me cuz this is the same process the open tool uses. Almost identical hmmmm
[T-Mobile LG G2x] Crgm77:
It doesn't show up in there or anywhere else
[T-Mobile LG G2x] Jeffro64:
You have to install a GB rom, then go into settings and mount the SD for it to show up. Then if you want to go back to ICS it will be there for you. I guess the dev has dropped this project because it still has the SD problem and no update.
[T-Mobile LG G2x] Crgm77:
Any suggestions on what GB Rom to flash that will make it easier for me to recover the internal SD card?
[T-Mobile LG G2x] ayysir:
Wow..... cm7

GDrive Cm9/AOKP Themes Folder (not my themes and these are free themes credit to devs): goo.gl/JnLIS
[T-Mobile LG G2x] thehumble1:
Isn't it a problem that we are using a tool to completely wipe the phone, but then, instead of installing our desired ROM, we have to install a GB rom to get the SD to work. Doesn't this then leave the same problems that we were trying to avoid by erasing the entire phone? Meaning, is this really doing anything if we have to set the phone up with GB before going to ICS?

If it is, I'm back to using it again. Right now I'll just wipe what I can and repartition the internal SD
[T-Mobile LG G2x] Jeffro64:
I've wondered the same thing... But I will say my phone ran better on the same ROM I was having issues with after running this tool. So I'm sure it still does quite a bit of good.
[T-Mobile LG G2x] thehumble1:
Good point. If it works, it's working. It definitely does clean out a bunch of crap and maybe more importantly, cleans out all previous junk from the same build, which might be the problem.
[T-Mobile LG G2x] Chronos2187:
I had almost given up until I tried this. I couldn't get my phone to do anything but apx and it wouldn't let me flash a new recovery with the one click flashers. I seriously tried for hours to get my phone to work and this did the trick. Thank you so very much! Your my savior!
[T-Mobile LG G2x] pmorrsn:
Just posting that this tool fixed my screwed up internal/external sdcard mapping. I could not boot, other than into recovery mode... E:/ cache/... cannot mount.

So, thanks.

I still have not had my _ExternalSDCard dir used since I started using custom ROMS, but I will hopefully remember to use this tool.

I am back on HFP2.2.
[T-Mobile LG G2x] mansa_noob:
Just to give everyone an update: I have not dropped this project but have been unsuccessful in fixing the ICS related SD issue.

The other day I booted into recovery after running this tool and then used adb to format the internal SD. It formatted fine but will not mount, even though the entry was present in the table...

Not sure what is going on but I need to buy another g2x cheap to experiment as this one is my DD and I can't experiment on it without taking the downtime hit :D.
[T-Mobile LG G2x] dw9906:
Bad link
[T-Mobile LG G2x] Jeffro64:
Good to hear your still working on it!

---------- Post added at 07:59 PM ---------- Previous post was at 07:57 PM ----------

LOL WTH? All it did was take me to my Google+ log in.:D What was it supposed to show?
[T-Mobile LG G2x] dw9906:
Sorry, bad link
[T-Mobile LG G2x] Jeffro64:
NP:) Just thought I was gonna be looking at something else LOL.
[T-Mobile LG G2x] g0dsgreen:
If I don't flash gb first, does it mean emmc is permanently b0rked? Or can I just run this again and install gb ?
[T-Mobile LG G2x] xBIGREDDx:
You can fix it, just do what this guy says (from a few pages back):

I had non-working emmc in my ICS, all I did was I made a clockworkmod backup, flashed the CM7, erased emmc from inside CM7, then restored my CWM backup. Now emmc works in my ICS.
[T-Mobile LG G2x] g0dsgreen:
OK that's my fault. I didn't realize you had to do anything inside a gb rom. All I was doing was run .bat -> flash gb -> boot in then back to recovery immediately to flash something else. Thank you.
[T-Mobile LG G2x] monomojao:
Thank you mansa_noob! worked like a charm!!! :)
[T-Mobile LG G2x] Redeye:
The phone is using the external card as it's primary storage and NOT the internal

Greetings all,

First off thanks for this very convenient tool!

I've spent some time looking into this but have not found a fix.

My internal / external mapping is messed up after using this tool.

1) Ran the .bat file

2) Flashed CM7, booted and erased the sd card to get emmc working.

3) Checked the file manager and both internal and external storage are working.

The problem is the phone is using the external card as it's primary storage and NOT the internal.

Is there something I am missing? Any assistance would be appreciated.

Thanks!!
[T-Mobile LG G2x] xBIGREDDx:
On the G2x, that's standard behavior for CM7.

It's also the same way on some CM9 kangs, for example Owain's "Domination" builds.

I haven't used CM7 in a while but if I'm remembering correctly there's an option somewhere to switch it around, try Settings > Storage > Menu button and see if something is in there saying for example "Use Internal storage."
[T-Mobile LG G2x] Redeye:
Thanks for the reply.

I was already on EaglesBlood ICS so I had to start over and reinstall CM7 and do as you mentioned.

Path in CM7 :: Settings -> CyanogenMod Settings -> Application -> Use Internal Storage

Now I'm back on EaglesBlood ICS and nothing has changed. Looks like I'll need to stick with CM7 for now with the internal fix.

Thanks
[T-Mobile LG G2x] l0lcats:
Been awhile...any progress on that internal storage after ICS flash issue?
[T-Mobile LG G2x] Волк:
If you want a wipe tool that won't touch your SD card, just use my tool, my next release will be fully customizeable, only wipe what you want to.
[T-Mobile LG G2x] mansa_noob:
No progress guys. I finally got my phone back. Will start looking into it again.
[T-Mobile LG G2x] janezzx:
Good time of day Sir! Is there any progess? And is there a way to get this batch cleaner for O2x ? Or maybe there is another way to clean it up? I have flashed different roms for dozens of times, and my internal memory is tragicaly dusty.. I don't even know what to delete now.. thousands of unknown files :eek:
[Galaxy S II Q&A, Help & Troubleshooting] prodyg:
Im on ICS, LPQ and i was wondering, Is there a way for me to to have the clock in the status bar removed? I would love to have more space for notifications.
[Galaxy S II Q&A, Help & Troubleshooting] slekkas:
I am still in GB and the reason for this is because jkay hasn't updated his mod to support ics. The jkay theme mod lets you do this and a ton of other beautiful stuff.

Look under themes and apps. The new version with ics support is just around the corner. All of us using checkrom revo HD v.6 are waiting because the rom will not be updated to ics unless ics jkay is out.
[Galaxy S II Q&A, Help & Troubleshooting] prodyg:
Thanks I guess I will wait then
[Sony Xperia P, U, Sola, Go] Pacjonek:
I have the opportunity to buy Xperia S, but from Orange PL so without the possibility of an official unlock bootloader.

From what I see at the moment, in my case there is no method to root, there more so flash custom kernels.

I love root, O/C, roms etc.

What to do?

Take Sony and pray that someone will break the protection (I accept paid method) or take a HTC with 100% possibility S-OFF?

Regards

Patric :)
[Sony Xperia P, U, Sola, Go] K900:
If you get an HTC from the same carrier, it'll likely be locked too. So make sure to check it first. Also Orange is quite fine with unlocked phones so your best bet will probably be getting an unlocked device and flashing away.
[Galaxy S II Q&A, Help & Troubleshooting] nehalem176:
When I plugged USB cable, my phone connected as media device (MTP) instead detected as Mass Storage.. Under Developer Options already checked USB Debugging.. I have to manually go to More in Wireless and Networks option then USB Utilities then select Connect Storage to PC.. How do i make it automatically detect as Mass Storage... I did uninstall certain system apps but is it related..? any idea guys??
[Galaxy S II Q&A, Help & Troubleshooting] coversnail:
That the way it is with ICS. MTP connection is the default. There are solutions to make mass storage the default, check out this thread: xdaforums.com/showthread.php?t=1548119 from about post #8 onwards
[Galaxy S II Q&A, Help & Troubleshooting] nehalem176:
thank you for your quick reply and appreciate your help.. guess in ICS need to 'always' select Connect to PC Storage in order to get Mass Storage connection...
[Galaxy S II Q&A, Help & Troubleshooting] wayneywoo:
Hi all,

I recently flashed VillainRom 3 and phone got stuck on boot with the yellow warning triangle. After fiddling and worrying for a short while I reflashed the kernel I had on the phone previously, CF-Root-SGS2_XX_OXA_KI3-42-v4.2-CWM4.tar, and phone booted.

I'm trying to flash a new Kernel but whenever I do I get stuck at the Yellow Triangle screen. Can someone explain what's going on please?

Seem to be missing something.....

Many thanks!
[Galaxy S II Q&A, Help & Troubleshooting] Gent.XDA:
Or just go for an ICS rom really :p

VR3 is getting slightly outdated and is lacking propert support
[Galaxy S II Q&A, Help & Troubleshooting] wayneywoo:
Thanks for the reply Gent...

I am toying with the idea just not sure everything will work as I'd like without much hassle. All the apps, settings etc..

Wouldn't it be nice if there was an app that would check if there were any issues with apps/settings before moving to ICS. Something similar to Windows 7 tool that Microsoft released.

Also not sure there is a big enough attraction to go to ICS. Have been really happy with 2.3.5. Is ICS really worth the move?
[Galaxy S II Q&A, Help & Troubleshooting] Gent.XDA:
All the wellknown apps have already been ported to ICS.

Of course there might be an app that you use frequently which isnt widespread and not developed for ICS, but that would surprise me.

For me the reason to go ICS from gingerbread was because ICS had alot of interface tweaks, especially with the hydrogen-ics rom I am using now.

I have so many options to customize my interface and the way I use the phone.

Must admit that it takes a few hours to get that perfect setup but it's really worth it.

Also, most devs have started focusing on ICS now instead of 2.3.x which means that us ICS users are getting alot of attention for our problems = good support :D
[Samsung Galaxy Nexus] rauelius:
I don't know how this happened. When I plug my Galaxy Nexus to my computer I don't even get a sound or any notification that I have a device plugged in. It just charges. I've tried this on several different computers in countless different USB ports.

-Checked that phone was in MTP or PTP. I switched between the two with a reboot in between, to no avail.

-Tried several ROMs, but all not being recognized by Windows. Again no sound, It just sits their and charge.

-In all the roms I made sure that they had USB Fastcharge disabled.

-I tried Franco's kernel.

-Tried Different batteries.

- Rebooted the Phone with/without USB plugged in.

-Tried older versions of CWM.

-Unable to restore back-up.

I have done literelly everything I could think of.