yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] dimitrinyc:
Response

Hi,

I opened the console

-cleared the display

-connected my phone with debugging checked

The console did not show any new lines. I mounted the SD card, just to confirm that the console works properly and I got this:

5/11/11 9:55:54 AM	CleanMyMacHelperTool[707]	Mounted devices (

"/Volumes/NO NAME"

)

5/11/11 9:55:54 AM	CleanMyMacHelperTool[707]	CleanMyMacHelperTool started as volume cleaner with cleanTrashes 1 cleanMacOSJunk 1 cleanWinJunk 1

5/11/11 9:55:54 AM	CleanMyMacHelperTool[707]	Mounted devices (

"/Volumes/NO NAME"

)

I turned off USB debugging and then back on - the phone chirps to notify me, but the console registers nothing.
[T-Mobile LG G2x] jnichols959:
I'll PM you. If we find anything that might be helpful to others we can post it here.
[T-Mobile LG G2x] jnichols959:
Turns out he had EasyTether installed and that is known to disable adb - which is what the root/unroot scripts use to talk to the phone. He was able to unload the kernel extension and run the scripts just fine.
[T-Mobile LG G2x] baykakes:
My G2x will not unroot with the one click method. It keeps coming up as no device found. I am using the USB Debugging and my phone is plugged in. I would GREATLY appreciate anyones help. I'm sending my phone back because I finally got a decent replacement!
[T-Mobile LG G2x] jnichols959:
* open Terminal (Applications -> Utilities)

* type the following (that's a zero)

sudo tail -Fn 0 /var/log/kernel.log

* plug in your phone

* copy the lines that show in Terminal when you plug it in and post them here

Probably something like this:

May 11 15:54:46 dr kernel[0]: USBMSC Identifier (non-unique): 02884207426144d7 0x1004 0x618e 0x9999
May 11 15:54:48 dr kernel[0]: AppleUSBCDCACMData: Version number - 4.0.1, Input buffers 8, Output buffers 16
[T-Mobile LG G2x] baykakes:
It says:

tail: /var/log/kernel.log: No such file or directory
[T-Mobile LG G2x] baykakes:
I saw something that said EasyTether disables ADB... I had easytether installed... I may have to dig out the files?
[T-Mobile LG G2x] VisedMonk:
Hey OP, just wanted to say thanks for these scripts. Both the root and unroot scripts worked flawlessly for me. Thanks again.

Now, if I could just find a friend with a PC running that crappy ass windows thing... ;-)

Imported from Detroit using XDA Premium App
[T-Mobile LG G2x] jnichols959:
are you looking for a PC to install clockworkmod recovery and flash roms?

i'm doing a little test right now using virtualbox and ubuntu (all free) to test flashing cwm with nvflash. it seems to be working fine (adb can see the phone in the linux virtual machine though i haven't tested nvflash).
[T-Mobile LG G2x] VisedMonk:
Yes, exactly. I don't own a PC and I'm lucky enough (depending on your viewpoint) to have a workplace w/ mac as well. I'm intrigued.

Imported from Detroit using XDA Premium App
[T-Mobile LG G2x] andersb:
Worked for me

Put phone in dev mode, as instructed.

Took very little time. Was able to browse phone with the adb_linux tool

Remember with usb mode, you should get the little "bug" in the status bar. See attached pic.

Also, FWIW, I rebooted my G2x first before rooting, just to ensure I was in a clean state to begin with.

New at rooting android. Not new to linux.

My linux distro:

> lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 10.10
Release:	10.10
Codename:	maverick
[T-Mobile LG G2x] jnichols959:
Alrighty then. I'll see if I can post something for Mac users to flash cwm via a Linux vm using nvflash. Once in the vm it will just be like the nvflash on Linux thread in this forum.
[T-Mobile LG G2x] ROne21:
I did it as instructed, the process completed and got this :

Checking for connected device...

/Users/ruel/Desktop/root.command: line 13: ensureDevice: command not found

/Users/ruel/Desktop/root.command: line 15: isRooted: command not found

/Users/ruel/Desktop/root.command: line 24: checkForExitEarly: command not found

/Users/ruel/Desktop/root.command: line 26: pushAndRunPsneuter: command not found

Waiting for device...

/Users/ruel/Desktop/root.command: line 31: ensureDevice: command not found

Remounting /system read/write...

/Users/ruel/Desktop/root.command: line 38: remount: command not found

Pushing su to /system/bin/su...

/Users/ruel/Desktop/root.command: line 41: push: command not found

/Users/ruel/Desktop/root.command: line 42: shell: command not found

Pushing busybox to /system/bin/busybox...

/Users/ruel/Desktop/root.command: line 45: push: command not found

/Users/ruel/Desktop/root.command: line 46: shell: command not found

Installing Superuser.apk android application...

/Users/ruel/Desktop/root.command: line 49: push: command not found

Removing psneuter from device...

/Users/ruel/Desktop/root.command: line 52: removePsneuter: command not found

Rebooting device...

reboot: Operation not permitted

Once device has rebooted you should be rooted.

Press Enter when you're ready to quit:

....but when I check if my phone is rooted, it is not....I'm using the ConnectBot app...when I'm at the $ prompt, I would enter 'su' and I would get "permission denied".

Noob question.....how would my phone look once rooted? What are the obvious things to look for to confirm it being rooted?
[T-Mobile LG G2x] jnichols959:
can you explain exactly what you did with the downloaded zip file? it looks like all of the files are on your desktop and not inside the G2xRootMacLinux_v0.5 folder they should be in. when you unzip the G2xRootMacLinux_v0.5.zip file you should end up with this setup

G2xRootMacLinux_v0.5 (folder)
Readme.txt (file inside)
root.command (file inside)
unroot.command (file inside)
files (folder inside)
... (lots of files in here)
[T-Mobile LG G2x] ROne21:
I put it on my desktop and what you posted is exactly what I have.....I've tried it over and over, no joy....now, it's saying no device connected.
[T-Mobile LG G2x] jnichols959:
are you running EasyTether on your mac? if so re-read the original post - there is a link about EasyTether that may help you. If you're not running EasyTether could you follow the instructions on the original post for getting kernel log output? it would help if you posted with two things: 1) all of the text from Terminal when you double click root.command and 2) the output of the kernel.log as described in the original post.
[T-Mobile LG G2x] kev0153:
wow that was super easy
[T-Mobile LG G2x] baykakes:
Hey, have you finished your testing with NVFlash on Mac? I too don't own a PC or Linux system :-(
[T-Mobile LG G2x] jnichols959:
sadly no. life is getting in the way :(
[T-Mobile LG G2x] baykakes:
i completely understand.... :)
[T-Mobile LG G2x] soxsfan10:
Wow, very simple to do!!

I am going to sound like a noob but...now what?

What exactly do I do from here? Suggestions?
[T-Mobile LG G2x] hypmatize:
Flash a custom recovery http://xdaforums.com/showthread.php?t=1056847

Then......

Flash one of the custom ROMs in the dev section.... A lot of people are using either EagleBlood by Team Shockwave, Bionix 2 by krylon360, AOSP Gingerbread by faux123 and CM 7 (its still a nightly aka still in beta)

I pretty sure I missed 1 or 2... look into each one and flash the one you want or flash one a day to see which one you like the most ;)
[T-Mobile LG G2x] gimiento:
I blinked, and found I was rooted. Easy peasy. Thank you!
[T-Mobile LG G2x] JoreVer:
G2X is not recognised via USB connection (Mac)

After doing this, nothing shows up. What can I do for my device to be recognized on my mac? Last time I connected this device, it worked flawlessly. Now that I wanted to root this device for the first time, this problem shows up.
[T-Mobile LG G2x] baykakes:
Open terminal and type "adb devices"... Does your device show up?

did you have easytether? because once you type "sudo tail -Fn 0 /var/log/kernel.log" into terminal you may need to reboot and replug to your computer then press the root.command
[T-Mobile LG G2x] PhantomRampage:
Just wanted to say thanks for this :D

Got my g2x a few hours ago and now i've rooted it in less than a minute. Beautiful
[T-Mobile LG G2x] tjhart85:
My girlfriend had turned my phone on and started charging it before I got home. It was rooted within 5 minutes of me getting home from work :-)

Thanks! Worked flawlessly. Ubuntu 11.04 x64
[T-Mobile LG G2x] jnichols959:
glad it worked for you. please click the thanks button on the original post :)
[T-Mobile LG G2x] saxon9021:
how to backup on ubuntu 10.04 x64

i despise windows yet i fear im going to have use it can i use nv flash and cwm i want to flash the gingerbread update
[T-Mobile LG G2x] hypmatize:
You can use nvflash in linux ;)
[T-Mobile LG G2x] jnichols959:
I have a way to flash from the mac using the free virtualbox from oracle and a minimal (linux) vm that I put together. Only thing is that the download of the vm is ~ 900 megs so the only site I could find to host it for free requires you to sign up to download. I have an update to the vm here on my laptop that I'll upload to the site and post a link here.
[T-Mobile LG G2x] kanzy:
Very good script for Linux Aptosid 64 (Debian Sid). I rooted my new LG Optimus 2X in few seconds :-D. Thanx!
[T-Mobile LG G2x] jawiz:
what about mac? :)
[T-Mobile LG G2x] sarni84:
I was motived to do so after reading mhaedo's excellent thread that uses SuperOneClick (http://xdaforums.com/show....php?t=1039985). Head over there if you want to root from Windows or want to use SuperOneClick via mono on Linux/Mac.

see that last part^^^:D
[T-Mobile LG G2x] jnichols959:
If you're asking about nvflash on a mac you can also check out http://xdaforums.com/showthread.php?t=1099281
[T-Mobile LG G2x] ecpht:
sorry to jump in here late, new android/ex-iphone user - i see this is 11 pages or so now.

to root the G2X on a mac does the 1st post's instructions cover everything or has anything changed?

thanks
[T-Mobile LG G2x] jnichols959:
(replied to wrong post, ignore plz)
[T-Mobile LG G2x] jnichols959:
first post should do it :)
[T-Mobile LG G2x] bkrill:
Has anyone tested this with the gingerbread update?
[T-Mobile LG G2x] jnichols959:
Yes, and it does not work - just like superoneclick root for PC (since it uses the same exploit).

I installed the V21 2.3.3 gingerbread update from LG and it was better than stock imho. However, I found that the baseband update that came with the V21 gbread update works wonders for GPS lock speed - and if you flash cm7 after upgrading to V21 (with proper wipes and/or restores) you *still* get the great GPS improvements in cm7.

That's what I'm on - cm7 nightly 89 with the baseband from the V21 gingerbread from LG. Loving it.
[T-Mobile LG G2x] bkrill:
So if i flash a rom like cm7 or eb i will have root?
[T-Mobile LG G2x] gohawks1:
So it looks like I figured out how to manually root my G2x that is running Gingerbread using the files included in thread, CWM via nvflash, and ADB.

Here are the steps I took from my Mac to root my G2X running the OTA Gingerbread update:

1. Boot into CWM

2. adb shell into the phone

3. mount /system (it should mount rw, if it doesn't you will need to remount it rw)

4. Use adb push to push the su and busybox files from the download here to /system/bin on your phone.

5. Use adb shell and cd /system/bin and change the permissions (chmod) to 4755 on su and busybox.

6. Use adb push to push Superuser.apk to /system/app

7. Not sure if it's necessary but I then used adb shell and cd /system/app and made the permissions of Superuser.apk the same as the others, 644.

8. Reboot.

After booting up I was able to run various apps that required superuser and I am currently running a full backup via Titanium Backup Pro.

Basically what I did was look at the root.command script included here and ran the part that installs the su, busybox, and Superuser.apk:

echo "Pushing su to /system/bin/su..."

$ADB push files/su /system/bin/su

$ADB shell 'chmod 4755 /system/bin/su'

echo "Pushing busybox to /system/bin/busybox..."

$ADB push files/busybox /system/bin/busybox

$ADB shell 'chmod 4755 /system/bin/busybox'

echo "Installing Superuser.apk android application..."

$ADB push files/Superuser.apk /system/app/Superuser.apk

Hopefully this sticks, if not at least I'm getting a good backup from Titanium.
[T-Mobile LG G2x] jnichols959:
how can you get /system mounted rw without root? isn't that the whole point of the psneuter exploit (which doesn't seem to work on GB G2x)?
[T-Mobile LG G2x] gohawks1:
I booted up into CWM (holding down power and volume-down), connected the G2X to my Mac, and then ran 'adb shell' to get a shell prompt on the G2X. After that I ran 'mount /system' and it mounted the system partition rw. No psneuter needed.
[T-Mobile LG G2x] v8dreaming:
Can't seem to unroot. I keep getting device not found. I downloaded the VirtualBox deal to flash CWM and root and it worked fine. Also worked fine flashing the stock recovery.

I get this when running the command op said to use in terminal:

Jul 27 09:00:32 jason-MacBook kernel[0]: USBF:	8562.709	AppleUSBOHCI[0x71cc000]::SuspendUSBBus Processing WDH before suspending

Jul 27 09:00:33 jason-MacBook kernel[0]: USBF:	8562.714	AppleUSBOHCI[0x71cc000]::SuspendUSBBus Processing WDH before suspending

Jul 27 09:00:34 jason-MacBook kernel[0]: USBMSC Identifier (non-unique): 037c714741a012d7 0x1004 0x618e 0x9999

Jul 27 09:00:34 jason-MacBook kernel[0]: AppleUSBCDCACMData: Version number - 4.0.1, Input buffers 8, Output buffers 16

Jul 27 09:00:34 jason-MacBook kernel[0]: USBF:	8564.795	AppleUSBOHCI[0x71cc000]::SuspendUSBBus Processing WDH before suspending

Don't know what any of this stuff means. haha
[T-Mobile LG G2x] jnichols959:
I'm not sure what the "Processing WDH before suspending" line is about. I don't see that. The line that contains "USBMSC Identifier (non-unique): 02884207426144d7 0x1004 0x618e 0x9999" is good as it shows that the mac sees the phone in some sense.

Can you give more details on your setup and what you're doing? You're on a mac, your phone is 2.2.x with root and stock recovery? You said you had used the virtualbox vm to flash cwm but that isn't running when you're trying to run the mac unroot script is it? If you have the virtualbox vm working, you could try running the unroot from there.
[T-Mobile LG G2x] v8dreaming:
I'm trying to unroot with the virtualbox vm setup. I tried running the command in vb but it doesn't work. I get some kind of error that I can't remember off the top of my head. I'll try unrooting on the mac side.
[T-Mobile LG G2x] RueTheDay:
Anyone else have any luck with this?

I cant get ADB to recognize the phone when its in CWM recovery (recognizes it fine when booted normally).
[T-Mobile LG G2x] oreamnos:
Result of a run on 2.3.3

As noted in the original post, this does not work on Gingerbread. For others who might be searching, and interested to know, I thought I'd share exactly what happens if you try anyway.

I ran the "G2xRootMacLinux_v0.5" root.command script on a newly purchased (purchased from T-Mobile in early August 2011) T-Mobile LG G2x that was running 2.3.3 out of the box. Here's how that went:

Checking for connected device...
Pushing temporary root exploint (psneuter) to device...
1167 KB/s (585731 bytes in 0.489s)
Running psneuter on device...
Failed to set prot mask (Inappropriate ioctl for device)
Waiting for device...
Remounting /system read/write...
remount failed: Operation not permitted
Pushing su to /system/bin/su...
failed to copy 'files/su' to '/system/bin/su': Read-only file system
Unable to chmod /system/bin/su: No such file or directory
Pushing busybox to /system/bin/busybox...
failed to copy 'files/busybox' to '/system/bin/busybox': Read-only file system
Unable to chmod /system/bin/busybox: No such file or directory
Installing Superuser.apk android application...
failed to copy 'files/Superuser.apk' to '/system/app/Superuser.apk': Read-only file system
Removing psneuter from device...

Rebooting device...

Once device has rebooted you should be rooted.
Press Enter when you're ready to quit:
logout

[Process completed]

It doesn't appear to have caused any issues, phone rebooted after and is functioning normally. But as mentioned, it does not root the phone. It appears as though nothing succeeded and the files copied were removed, but if anyone has thoughts as to whether one should run the unroot.command script anyway just to be clean about it, I'd be interested to hear them.

I haven't yet tried the manual method suggested by gohawks1 in this post. But if I do, I'll post the results.
[T-Mobile LG G2x] gohawks1:
I've never had a problem using ADB in CWM mode, same goes when I used CWM on my Vibrant.

I just boot into CWM, plug the USB cable into my Mac and my G2x and run adb commands.
[T-Mobile LG G2x] ericalanMICHAEL:
How do you flash CWM on mac? Trying to root 2.3.3 but can't find an alternative to NVFlash. I've made a thread and had no help. I've ran countless searches and to no avail. Can someone please point me in the right direction?
[T-Mobile LG G2x] jnichols959:
http://xdaforums.com/showthread.php?t=1099281 will work but the download is pretty large.
[T-Mobile LG G2x] ericalanMICHAEL:
Thanks so much, man. Been looking for this for a minute now. Can I contact you if I run into further issues?
[T-Mobile LG G2x] AjieGFX:
why cant everything with this phone be just that easy....

thank you.
[Hero CDMA Android Development] collin_ph:
Collin_ph here. I've been working for literally months trying to get my battery tweak on the android market. The problem is that I don't do front end java development.. or should I say, I never have done it before. I have 2 full time jobs as a developer and a business owner and really don't have time to learn another language and framework. I'd LOVE to work with someone who A. is Experienced, and B. Has the time to work on something like this.

The next version really is going to be great, I just think it's time to get it on the marketplace so it's compatible with more than just certain ROMS on the Hero. I know it's technically possible.. I know the ins and outs of making it work, I'm just way behind on making a pure android app. If anyone really really wants to help, let me know. I'm wanting to make a profitable app on the market, and I want someone who'll share in the vision and the profits. There'll always be a free version, especially for XDA users. If you're interested, please PM me. This will make 3 times I'll be starting over because developers don't really have time to work on the project. If you're like me, you know this has potential.
[Hero CDMA Android Development] jasonmaloney:
Let's do it
[Hero CDMA Android Development] imleon:
collin_ph, will there be a shell script version of new battery tweak too, yes?

i think shell script is efficient and stable enough for me and i don't want to install an android java app.

love your tweak!!
[Hero CDMA Android Development] oldjackbob:
LOL, with JM throwing his hat in the ring, you KNOW you're gonna have a winner!

A huge thanks to both of you guys!
[Hero CDMA Android Development] collin_ph:
In the long run, I really don't have any plans to continue the shell version. There are a lot of misconceptions about the shell version-- a lot of people think that there is no process that continues running, however, there is. I have a plan to have a very similar setup with the java version that should still have a small cpu and memory footprint.. possibly even smaller CPU usage as the Java version can be event based rather than timer based. Anyway, just know that I will do whatever possible to make the program fulfill its need the best and most efficient way possible. With Java, we can be usable on more than just a hero without having to port it every time, we can run on different roms without porting, we'll be able to run more things event based and remove most of the timer based things (if not all), and lastly, we'll be able to do things that we weren't able to do in shell. I'm excited for the new version, but as always, it's job is to make the phone faster and give it better battery performance. The new version will most likely be called "tweak tool", as Battery optimization will be only one of its functions, but the most important.

Anyway, after Easter, I'll be sitting down and going over a plan for the new version (once more). Hopefully we'll get a full blown launch out of this attempt.
[Hero CDMA Android Development] oohaylima:
I say Hooah!!
[Hero CDMA Android Development] kijp15:
Haha. I'm excitied. Hopefully you two will join together. This is gonna be outstanding! Ha. Yea I know I'll shut up. :)
[Hero CDMA Android Development] jasonmaloney:
I'll have to learn how to write Android apps. Already know Java.

Can't be that hard after modifying Android source, right? ;)
[Hero CDMA Android Development] jaybob413:
If you set up Eclipse, there is a lot of help/examples available. App Inventor is another tool that might be an option, perhaps less flexibility, but a "block" oriented approach that does a lot of the work for you.
[Hero CDMA Android Development] collin_ph:
I've tried appinventor and as a developer, it feels totally bass ackwards. I'm no java developer, but I've already put together a couple of tests in eclipse, which is the direction I want to go-- especially since I'll be doing everything in my power to make sure it's optimized.
[Hero CDMA Android Development] LiquidSolstice:
Holy crap, if you AND jaybob are going to help collin_ph, this app is as good as gold. You two are by far two of the most dedicated and steadfast devs I've ever known on XDA.

Excited to see what comes out of this, happily willing to buy any app that comes out of it as support :D
[Droid X General] sleepyjoe:
My father inlaw balled up his Droid x and went and bought a new one. Looking at the supposedly bricked phone I can try to manually boot it says

Bootloader

30.04

battery ok

OK to program

Connect USB

Data Cable

Is the phone savable. Please help ! Current phone is HTC incredible running incredibly re-engineered z
[Droid X General] Heafust:
Yes, if you are at the screen you see, you can sbf (system boot file)to factory original software.

There are is a Windows way and an Ubuntu way to sbf. I prefer the Ubuntu way personally, and I have never used any Linux b4 that.

Search these forums 'SBF Droid X'

I have also found some independant electronic stores willing to do the process.
[Droid X General] nygbaby91:
i have droid x on ntelos i rooted but didnt change bootstrap flashed a rom and ofcourse bootlooped so i flashed sbf VRZ_MB810_2.3.34_1FF_01.sbf and now it comes up as verizon any ideas how to get back to ntelos..i have searched xda droidlife google and i cant find any kind of answer..the phone was purchased thru ntleos
[Droid X General] baretoes:
Personally, I have royally screwed up my Droid X in the past. At one point, RSD Lite could not bring my phone back to life. However, Ubuntu saved my buttocks. Highly recommend using Ubuntu if you need to SBF your phone. Just speaking from experience.
[Droid X General] snwagner:
I'm pretty sure you're outta luck until someone leaks ntelos SBF file, or.. take it into ntelos and see if they can help you :) They might.
[General Questions and Answers] rmlineback:
This may be a stupid question but, if the voltage can be underclocked for the cpu, how about lowering the voltage output for the screen?
[Galaxy Tab Accessories] hd2shadow:
its at http oled-display.net look under Galaxy Tab Accesories

There is also a Bluetooth Pen, G-Switch Impact case and other stuff.

I found about five websites that advertise these items? I emailed them about a month ago several times. No replies so far?

USB Standard port adapter With this kit your Galaxy Tab becomes a standard USB port. With this USB port you can synchronize your digital camera or other devices.

Anyone hear anything on any of these items? I will be calling them on Monday and will post here. Also will try to get more specific information on details of items and pictures if any?