yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] doniqcc:
Using Scriptybox

Scriptybox is a BASH script that consists of a collection of commands. There are several ways to use scriptybox, those of which I will outline below.

Viewing Available Commands

To see a list of commands available to your current install of scriptybox, simply open up terminal emulator, and type:su click enter and then type scriptybox

This will output a list of commands as well as a short usage statement for each, as such:

Available commands:

adblock [on|off]
camsounds [on|off]
cpuinfo
dalvikjit [on|off]
freemem [50mb|75mb|100mb|default]
halt
meminfo
mtdinfo
[COLOR="Red"]rmapk [alarm|browser|calc|carhome|corpcal|
deskclock|devtools|email|genie|im|lwps|
mms|mp3|music|qoffice|spare][/COLOR]DO NOT USE THIS COMMANDWIP
swapinfo
[COLOR="Red"]switchapk [clock|music][/COLOR]DO NOT USE THIS COMMAND WIP
sysro
sysrw
zipalign_apks

Now you know exactly what commands you can run, great!

Running Command

Below I will outline the available commands as well as what they do.

adblock: Block/Unblock ads

Usage:

adblock [on|off]

Turns ad blocking for the system on or off

How it's used

# turn on ad blocking
adblock on

# turn off ad blocking
adblock off

As you can see, scriptybox works just the same as busybox in that respect.

How it Works

The premise of it is that it replaces your phones /system/etc/hosts file, which defines several of the well-known ad servers to be located at IP address 0.0.0.0.

When a hostname is resolved on linux, the first place it looks is the defined hosts file (for android, /system/etc/hosts). If the hostname is found there, it uses the IP address provided. If not, then it uses the DNS servers to look it up. adblock essentially takes advantage of that by assigning the NULL IP address (0.0.0.0) to many well-known ad server hostnames. Thus, when an app or the browser attempt to access one of those servers, linux tells it that it is located at 0.0.0.0, but since this is NULL, the connection immediately fails and nothing happens. Hence, no ads :)

camsounds: Turn camera sounds on/off

Usage:

camsounds [on|off]

Turns the camera sounds (shutter and video cam) on or off

How it's used

# turn on camera sounds (shutter / video record)
camsounds on

# turn off camera sounds (shutter / video record)
camsounds off

How it works

Camsounds is a super simple script. All it does is rename the camera sounds from .ogg files to .bak files, and back again. So when they are renamed to .bak, the device can't find them and therefore they don't play. When they're renamed as .ogg files, they are found and play properly.

cpuinfo: Display CPU information

Usage statement

How it's used

# just simply type it in!
cpuinfo

How it works

All this script does is display the information found in /proc/cpuinfo. This file is dynamically populated by the linux kernel to include information about the processor.
[T-Mobile LG G2x] EDzilla715:
gotta try this! thanks dom for the wonderful work!;)
[T-Mobile LG G2x] EDzilla715:
by the way, what kernel goes with this? which would go perfectly with this?
[T-Mobile LG G2x] awaisuk:
some screenshots please :)
[T-Mobile LG G2x] avetny:
Nice Rom !!!

Screenshots
[T-Mobile LG G2x] Erislover:
the best kernel is almost certainly already cooked into it...
[T-Mobile LG G2x] Erislover:
doniqcc -- you're awesome man. Wouldn't surprise me if you were the lulzsec team member who cracked the senate website!
[T-Mobile LG G2x] doniqcc:
Yes it is as much as I like Faux's kernels I wouldn't recommend the 2.0 kernel was giving me lots of problem's but cm7 kernel included with the rom is flawless.
[T-Mobile LG G2x] doniqcc:
LOL no that's not me shh.......h but thanks :D
[T-Mobile LG G2x] jawknee530:
Oh man, now I have one more Rom to keep up with. First world problems eh?
[T-Mobile LG G2x] awdlexusis:
Flashing now! Thanks for the awesome Roms...
[T-Mobile LG G2x] y3mita:
when possible, please add some details as to what to expect on this ROM... as of now I'm running faux123 latest gingerbread and the only issue I have is brightness and random APN issues *at least at the beginning* airplane mode fixed it.
[T-Mobile LG G2x] bonnatron:
No problems smooth...shot in the dark here but I get little to no reception at the house and I'm not seeing Wifi Calling don't remember if it was a standalone install somewhere on here or not, but that would be a major deciding factor if I keep this on my phone or if I have to go to something else...
[T-Mobile LG G2x] ThC23:
I'm curious and I know someone is gonna ask anyways!

Does this have the LG camera?

Does this have the keyboard lag?

High haptic feedback?

Thanks Doniq for all your great work!

...
[T-Mobile LG G2x] doniqcc:
I will soon no brightness issues on this one I think that's a kernel issue
[T-Mobile LG G2x] beatit327:
thanks

wow dude this is a hardass rom love it keep it coming!!!!
[T-Mobile LG G2x] doniqcc:
No lg camera but it is 8mp :)

No haptic feedback issue and no keyboard lag.
[T-Mobile LG G2x] bkrill:
does stereo bluetooth work?
[T-Mobile LG G2x] ThC23:
Thanks, can't wait to try it out! :)

...
[T-Mobile LG G2x] bajangna:
same issue but I find my backup data at /mnt/emmc .
[T-Mobile LG G2x] zimphishmonger:
This is called BT over A2DP and is a known issue in all of the GB Roms, AOSP or leak.
[T-Mobile LG G2x] bls2633:
your data will be in /sdcard or mnt/sdcard now. I had the same problem when I went to CM7 nightly. I couldnt restore any data. I redid everything by hand, then I flashed EB Froyo and when I restored from Titanium, all my old data from days ago that I couldnt restore went back on. Thats when I found out the CM7 roms switch around the sd mounting. Now I have a list of folders and backups I have to move back and forth (from /sdcard to /sdcard/_external sd ) when switching between different roms. Hope this helps get your data back.
[T-Mobile LG G2x] PlasticChicken:
For people not getting data through 4g, I found that turning the wireless data button (the one with the up/down arrows) on the power control widget off and on does the trick. It may take more than a couple of tries to get the data to work. Works every time for me when I reboot my phone and its missing data.
[T-Mobile LG G2x] facadewithin:
Fauxs kernel in this rom

If anyone has successfully flashed the 1.5oc/1.1uv kernel(non ext4) can you pm the process of how you did it? i managed to get the stock kernel to work at 1.0/1,2oc, but would like the other kernel and it wont flash right for me thanks! if i need to flash this rom clean then the kernel immediately after etc that would help =D almost perfect!
[T-Mobile LG G2x] gringo75:
Thanks ill take a look and see what happens.
[T-Mobile LG G2x] bajangna:
thanks, but It's not work for me.
[T-Mobile LG G2x] khtims:
A2DP is working fine on GB leak! seems is only an issue on 2.3.4
[T-Mobile LG G2x] jose makalolot:
Yes only in 2.3.4.
[T-Mobile LG G2x] protechcertifiedrepair:
Fix Your TB file, Notification Widget?, GV-Aview?

Hi guys, I just tried this rom coming from CM7N50+ I think this will be good for a daily driver so far. I noticed you guys are having trouble with your TB backups.

When going from ROM to ROM with a device that has both external and internal SD cards you find that Titanium Backup and some other Apps for some reason will choose one or the other differently. For instance on CM7 I have TB file on External, for Stock it is on my internal. This Miffed me for a while then I found the TB preferences "Backup folder location" with this you can either let it find your backups automatically or you can direct it at a certain folder. This is handy I've made some basic app pack folders so going from certain ROM to another you can select which apps you want manually. Also you could manually use your computer to just move your backups from your external to internal or vice-verse. Hope this was helpfull.

Also I noticed something, my only imeadiate complaint with this ROM is there is no "CyanogenMod Settings" tab or like tab in the settings menu... I thought maybe they would just make there own settings addon tab to be original from stock CM7 source, but nothing. The only setting i REALLY wanted was my Notification Power Widget in the dropdown bar. Well they have the widget so yay i said but then I tried to add some things, and either I'm slow or there is nowhere to do so. HOWEVER interesting but favorable glitch, I restored my TB backups from the last CM7 ROM to see if I would experience any problems rolliung over the sys data part. But it turns out no problems so far. (40 minutes runnning) And if I look at my notification power widget all my toggle selections are altered to what I had on the CM7 50 ROM!?!?!? Although there is nowhere I know of to change this in this ROM they all work and I am happy they do LOL.

SO that being my only draw back which is 75% fixed now lol. I guess this is AWSOME.

THey only thing I really wanna test is DATA SPEED and if my Surveillance system software works on 4G. It didn't on CM7 for some reason, but did on stock. It would show me my cams with just my default geovision lost signal screens, while looking on the desktop browser and can see all cams are running fine. It always works regardless of rom on WIFI. I'll report back my findings later.
[T-Mobile LG G2x] dannyHD2:
swype keyboard?

noticed no swype keyboard in the rom?? i have an apk saved for the phone but only getting fc's after enabling it. anyone have it working or can help? i gotta have it back~!

thanks for the help
[T-Mobile LG G2x] xCHELLy:
Tried this out today. Everything was good. The only problem I had was that the battery wouldn't charge over 68%.
[T-Mobile LG G2x] jose makalolot:
Copy it to system/app and change to 644 permissions.

Sent from my Calculator with Android.
[T-Mobile LG G2x] LordButtersI:
Get rid of your apk and download the Swype beta. It works on any android phone and is a newer (and better) version of swype anyway.
[T-Mobile LG G2x] zimphishmonger:
No it doesnt. It will connect most of the time, but it has very sporadic issue such as disconnecting randomly, randomness w/ the controls, becoming "unsynced" with the car head unit, etc. Those issues are non-existant on any 2.2.2 build. Only correlation I could find.
[T-Mobile LG G2x] maciek82:
Is there an email.apk available with the Exchange Security removed for the 2.3.4 build?
[T-Mobile LG G2x] victor19nyc:
I've been using this ROM for a few days, here are my impressions:

The Good:

-Battery life *very* good (24+ hours off charger with moderate use)

-Very fast and clean

-Easily got stock Swype to work (see thread with instructions on restoring....it's easy)

-GPS accuracy better than stock Froyo

-GPS lock 1-2 minutes.....faster than the other GB roms, however.....

The Bad:

......GPS lock still slower than stock Froyo

-Battery indicator off. My three battery cycles I got the 15 percent warning and the phone was dead within minutes.

-Occasionally drops data connection 3G/4G and have to do a battery pull to restore.

-Titanium Backup does not recognize root (restoring everything manually was a minor pain in the a** but it was worth it)

Huge props to Team Shockwave for this. I had been running the CM7 nightlies and this blows them away. Battery life is far better than Bionix, CM7 nightly and the GB leak.
[T-Mobile LG G2x] gringo75:
Ok i got all my data back thru emmc. I had the phone unplugged since last night (over 12hrs). batt was still at 94% this morning. Without the newest gapps and not the revamped edition. So far Everything works solid no random rebooting no freezing. Not to mention quadrant scores are hittin high 2900's to 3024 for me also batt calibrator from the market helps get your batt back on track. Great job your guys rock!
[T-Mobile LG G2x] jroyalty7:
If you don't mind, I have an apn thread going in q&a section, would you be able to post your exact steps that got your data working again over there so I can update my op... thanx
[T-Mobile LG G2x] gringo75:
Sure will do i'm out the door to work but i'll post asap btw the data i mentioned is my titainium back up data from my apps if so i use astro file manager look for emmc you should find it there and you have to do it manually to move all your saved data. But i will do a step by step in your q&a soon
[T-Mobile LG G2x] BopChie:
to the people with the flash distortion can you try the below in terminal emulator

setprop media.stagefright.enable-player false

or in ADB

adb shell setprop media.stagefright.enable-player false

then try a flash vid and see what happens... this is not permanent and will be undone next time you reboot

also

Can you two both post your media props and compare??

getprop | grep media
[T-Mobile LG G2x] jamadio:
This helped me with the Youtube app. Videos were not loading even though data was going in and out. Now they're loading, slowly, but better than nothing as before. Thanks!
[T-Mobile LG G2x] raz1337:
No matter how many times I full wipe and reinstall CM7 or GB 2.3.7, I get lots of fc's and freezes. Is there a way to get a version of 2.3.5 still?
[T-Mobile LG G2x] xdjneo:
My goggles is not working some problem with the camera
[T-Mobile LG G2x] xdjneo:
Actually my camera is also messed up
[T-Mobile LG G2x] BopChie:
np, for giggles try the following

setprop media.stagefright.enable-http false

setprop media.stagefright.enable-scan false

setprop media.stagefright.enable-meta false

and remember after a reboot you will need to do it again, if its working for you then you can add them to the build.prop (media.stagefright.enable-player=false) or in a init script (setprop media.stagefright.enable-player=false)
[T-Mobile LG G2x] glynnpel:
Yup, just go to the 1st page of this thread.
[T-Mobile LG G2x] xdjneo:
Turns out it was the Dragonz kernel

Flashed faux everything is fine now
[T-Mobile LG G2x] briscool:
When I sometimes get a text message it just vibrates continuously and the screen stays off won't wake up
[T-Mobile LG G2x] wgrant:
Dragon kernel resolved the issue today with update 1.5.1

Camera opens faster for me now too.
[T-Mobile LG G2x] shane1diamond:
Finally came back to the incredible EB Roms, just wanted to switch it up from the other best rom (weapon) IMHO. Loved these roms as they have always worked flawless for me, and this one is working flawless as well, Thanks Don I appreciate your hard work!!

bummers.. had the video playback issue mentioned by a few. back to weapon..still awesome rom though!
[T-Mobile LG G2x] pettigrew95:
Can a CM7 nightly be flashed over this with just a cache and dalvik wipe? Also, can EB be flashed over a nightly with just a cache and dalvik wipe? Thanks!
[T-Mobile LG G2x] Simer03:
i definitely wouldnt do either of those......may be the same source, but not the same rom, he even says to make sure you do a full wipe when coming from another rom, he even recommended it when he updated his own rom! its just the safer more reliable option to wipe when moving from rom to rom
[T-Mobile LG G2x] chrisonline1991:
Anyone else get get force close when u go into cyanogenmod settings > interface and click status bar tweaks? I came from an older eaglesblood rom and didn't wipe so that might be the problem.
[T-Mobile LG G2x] rjsvoon:
Not sure if this will solve but you might try freezing the system launcher. I had a similar problem with my preferred keyboard going away, being replaced by stock keyboard. Freezing via titanium bu worked.
[T-Mobile LG G2x] kwattro76:
Flash video not playing correctly, all I get is colored lines through movie, I can play through the native youtube app but not straight flash through the browser. what's the remedy for this issue? thanks in advance
[T-Mobile LG G2x] Simer03:
Nope...don't use titanium backup to backup system data, if u did!
[T-Mobile LG G2x] chrisonline1991:
I didn't. I guess ill wipe and flash and see if that fixes it.
[T-Mobile LG G2x] :
Last night I flashed cyanogen and miui,fresh wipe and all and both had flash issues.In cyanogen the native YouTube app plays after waiting 3 min in miui it didn't even play.This is driving me nuts YouTube is one of my most used apps..
[T-Mobile LG G2x] torvick12:
Are the fonts from the last version available already for flash?
[T-Mobile LG G2x] x0xhellx0x:
Guess what it was not the roms it was youtube had problems even on my pc with youtube yesterday
[T-Mobile LG G2x] crazy_agent:
Battery consumption.

I love this Rom ,but is anyone experiencing high battery drain ? i cannot use my phone for more than 7 hours of medium use ,12 hours of standby with wifi enabled and light use ,i have dragon kernel installed with 1400mhz as the max frequency with -100 uv for all frequencies ,screen off profile (216,432) and the drain is about 5% per hour ... any ideas?

thank you.
[T-Mobile LG G2x] wgrant:
Its more then likely because your overclocking. Higher speeds drain faster.
[T-Mobile LG G2x] crazy_agent:
thank you for the reply ,my main problem is the high drain during standby ,with screen off and i have set my frequencies -undervolted 100 mv- to 216,432 and that's where the high drain is occurring (5% per hour) ... gps is off and wlan is set to sleep when the screen is off ,i have one gmail account and no apps that would require periodic updates such as weather ,news etc ... is everyone experiencing the same drain rate?

P.S: I have formatted the system ,wiped cache etc .... and installed the rom without any restore and still the same.
[T-Mobile LG G2x] wgrant:
Do you uv set to turn on at boot? Dragons voltage is high to start so if you don't have it undervolting at boot and forget to enable (I do this often) the drain will be faster.
[T-Mobile LG G2x] ZeroT| Demented:
Hey don I question I know there is the apn fix so it wont break after a reboot but did u also add the reboot from recovery fix?

Also on ur 2.3.3 rom you use the gpu to render the ui is it possible to do that with this version
[T-Mobile LG G2x] crazy_agent:
I actually have them set on boot after stable results on -100 (no reboots ,or SOD ) i tried -150 but it wasn't stable .... what kind of battery life are you getting?

---------- Post added at 03:37 AM ---------- Previous post was at 03:36 AM ----------

i actually wanted to ask about the GPU render my self :) ...
[T-Mobile LG G2x] wgrant:
I have -150 for all frequencies I use and -175 for 216. I have a profile for screen off to use 216min and 216max. My normal profile is 216min 1100max. I get about 12 hours of moderate use. I've actually been thinking about underclocking while at work since I use the phone less, maybe only a step or 2 in frequency when in-use to save some battery life.
[T-Mobile LG G2x] bmann_420:
I'm on 10 hours right now, at 60% left. A little over moderate use also. Playing in the apa league match for 3 hours and my girl was online the whole time. Although I'm using faux's uv ds version also.

I'm using pretty basic profiles also:

Screen off - 389 / 816

Normal use - 1200 / 389

All other profiles are low batter / high temp or charging.
[T-Mobile LG G2x] wgrant:
You've used 40% with above moderate usage after 10 hours? Maybe I need to check fauxs new kernel out again that's nice results. That means with that rate you'll get roughly 24 hours of use before recharging. I wish I got that much.
[T-Mobile LG G2x] :
Its really hard to believe this because on my girlfriend rooted G2 YouTube is working fine my desktop YouTube is working fine today yet the g2x is still having YouTube issues.
[T-Mobile LG G2x] crazy_agent:
those are some good numbers ,i go through 40% in 8 hours during the night with my screen off (216mhz) ... maybe i got to give faux's kernel another chance ... thanks for sharing though.
[T-Mobile LG G2x] x0xhellx0x:
Did you go in to app manager and clear data from app. It might help it did for me once
[T-Mobile LG G2x] raz1337:
Music, Youtube, and video players are fc'ing randomly and barely functioning without a reboot, then ceasing to work once it's closed. Any idea what's causing this?
[T-Mobile LG G2x] Simer03:
youtube is taking a long time to load, and i have 20 mbps+ internet! Flash doesnt work either.......i was hoping i wasnt in the same boat as some of you, but i am!
[T-Mobile LG G2x] pettigrew95:
For YouTube go into settings applications then YouTube then clear data and cache
[T-Mobile LG G2x] Simer03:
same result! Actually....i think it made it worse! lol dang!
[T-Mobile LG G2x] unique77:
I just started using set CPU, I'm on dragons kernel as well. Does anyone know why I can't use a scaling governor? Its just won't do anything when I try to select the pull down menu.
[T-Mobile LG G2x] bmann_420:
@raz

Did you just use tb for those apps comming from a 2.3.3 rom?

Setcpu, just worry about profiles and your fine.
[T-Mobile LG G2x] x0xhellx0x:
cause there is no scaling governor that i know of in the g2x i could be wrong
[T-Mobile LG G2x] wgrant:
There is performance and powersave listed but from what I can tell they don't function.
[T-Mobile LG G2x] :
Trust me that doesn't work
[T-Mobile LG G2x] vmartinez39:
Yes, so I am not the only one.

I did a test. Just flashed this ROM and Youtube only. After install, youtube just hangs and will not play videos.

I have a spare G2 and it has no issues.

Honestly, I'm close to giving up on this phone and take a break. Between Youtube hanging, CM7 new stable release has browser Force Close on every site, I'm just pissed at this phone.

Should have stuck with what I had and not bought this phone....

Maybe its a bad day

Maybe its my apps

Its frustrating and can't take the new bugs that come out. I tried CM7 stable release and that one has major issues with the browser.

Just need to wait it out, hope the bugs get ironed out.
[T-Mobile LG G2x] x0xhellx0x:
I have a question for people with YouTube problems are you using custom kernel if so which one
[T-Mobile LG G2x] :
Trinity elpmax +32mb I dont believe its the kernel I flashed eb 2.4 without a custom Kernal before and it was the same
[T-Mobile LG G2x] pettigrew95:
I was having this youtube issue and the second i did clear data and cache it worked magically...maybe coincidence maybe not...was just a suggestion
[T-Mobile LG G2x] justfortest:
I don't have the browser force close problem on my CM 7.1.0.1 build. ... maybe coincidence ?
[T-Mobile LG G2x] vmartinez39:
Might go back to the nightlies.

Flashing ROMs non-stop

Party never stops in G2X

Thanks devs and CM7 Team for doing your work on this piece of crap device. I blame LG.

Thanks again guys
[T-Mobile LG G2x] unique77:
what do you guys think the best kernel for setcpu on this rom is? Also do morfics not work on this since its 2.7 now? I'm using dragon.
[T-Mobile LG G2x] sunnybwoy1:
Getting fc on dsp mngr! Full wipe 3.7 ?
[T-Mobile LG G2x] wgrant:
Uninstall dsp then reinstall
[T-Mobile LG G2x] Longevite:
I ran into the youtube problem on another phone (not g2x). I tried to clear cache didn't work, then uninstall, still did not work. End up I clear cache, then uninstall, work flawlessly after reinstall the new youtube app.
[T-Mobile LG G2x] wiswis:
After reading some posts im getting second thoughgts aboout trading mytouch 4g slide for this

Is th g2x really a piece of crap
[T-Mobile LG G2x] ZeroT| Demented:
Lol no the g2x is quite an amazing phone with an amazing set of developers people dont realize the first batch of g2xs were crap just like every phone but I got mine new and my phone has never seen froyo I have never had major crashes or any problems really get the phone new dont buy it used buy it straight from tmo and you will love it