OG Battery Mod - T-Mobile LG G2x

So I'm trying to get OG's Battery mod working on my g2x. When i run the app installer on my PC i get the error 'failed decompiling system.UI'
I'm running wolfscript on my phone. I was wondering if the tweaks/mods in wolfscript would be causing the error?

Pain-N-Panic said:
So I'm trying to get OG's Battery mod working on my g2x. When i run the app installer on my PC i get the error 'failed decompiling system.UI'
I'm running wolfscript on my phone. I was wondering if the tweaks/mods in wolfscript would be causing the error?
Click to expand...
Click to collapse
Now it's telling me that the System.UI apk cannot be found....even though I can get to it in about 2 seconds using root explorer. WTH!?

Pain-N-Panic said:
Now it's telling me that the System.UI apk cannot be found....even though I can get to it in about 2 seconds using root explorer. WTH!?
Click to expand...
Click to collapse
Decompile? Change extension to zip.
-- The noob says:
The g2x works best if you chant "humba lumba humba" while standing on one leg!

I do not know how to decompile apk's....
However, I know that wolfscript isn't the problem because I pulled the systemUI.apk and the settings.apk files from a previous nandroid I made before flashing wolf and tried to use the battery mod using the "mod existing files" option and I received the same "failed decompiling systemUI.apk
Do you really think that changing the extension to zip could help?
It can find APK's both from my phone and from existing files on my pc....in both instances it's giving me the failure to decompile error. GRRRR this is so aggravating all I want is ONE of the battery icon mods...I want the little droid symbol with the percentage number in the image lol.
**EDIT- Mansa I know you're pretty good with coding...My log shows this error --> 'java' is not recognized as an internal or external command,
operable program or batch file.
**EDIT AGAIN- Ok after googling the error I realized that it was due to not having Java installed on my pc. Installed latest working Java. Now I'm back the program telling me that it cannot find my systemui.apk. Here is what my log says-
C:\Users\MyPC\Desktop\OG Batt Mod\Tools>adb -s "037c700842a04557" shell
# cd system
# cd app
# pwd
/system/app
# ls
[0;0mADWLauncher.apk[0m [0;0mHTMLViewer.apk[0m
[0;0mAccountAndSyncSettings.apk[0m [0;0mKineto.apk[0m
[0;0mAndroidTerm.apk[0m [0;0mLGEServices.apk[0m
[0;0mAndroidian.apk[0m [0;0mLatinIME.apk[0m
[0;0mApplicationsProvider.apk[0m [0;0mLatinImeTutorial.apk[0m
[0;0mBluetooth.apk[0m [0;0mLiveWallpapers.apk[0m
[0;0mBrowser.apk[0m [0;0mLiveWallpapersPicker.apk[0m
[0;0mCMParts.apk[0m [0;0mMagicSmokeWallpapers.apk[0m
[0;0mCMScreenshot.apk[0m [0;0mMarketUpdater.apk[0m
[0;0mCMStats.apk[0m [0;0mMediaProvider.apk[0m
[0;0mCMUpdateNotify.apk[0m [0;0mMediaUploader.apk[0m
[0;0mCMWallpapers.apk[0m [0;0mMms.apk[0m
[0;0mCalculator.apk[0m [0;0mMusic.apk[0m
[0;0mCalendar.apk[0m [0;0mNetworkLocation.apk[0m
[0;0mCalendarProvider.apk[0m [0;0mOneTimeInitializer.apk[0m
[0;0mCamera.apk[0m [0;0mPackageInstaller.apk[0m
[0;0mCarHomeGoogle.apk[0m [0;0mPacman.apk[0m
[0;0mCertInstaller.apk[0m [0;0mPhone.apk[0m
[0;0mContacts.apk[0m [0;0mPicoTts.apk[0m
[0;0mContactsProvider.apk[0m [0;0mProtips.apk[0m
[0;0mCyanbread.apk[0m [0;0mRomManager.apk[0m
[0;0mDSPManager.apk[0m [0;0mSettings.apk[0m
[0;0mDefaultContainerService.apk[0m [0;0mSettingsProvider.apk[0m
[0;0mDeskClock.apk[0m [0;0mSetupWizard.apk[0m
[0;0mDevelopment.apk[0m [0;0mSoundRecorder.apk[0m
[0;0mDownloadProvider.apk[0m [0;0mSpareParts.apk[0m
[0;0mDownloadProviderUi.apk[0m [0;0mStk.apk[0m
[0;0mDrmProvider.apk[0m [0;0mSuperuser.apk[0m
[0;0mEmail.apk[0m [0;0mSystemUI.apk[0m
[0;0mFOTAKill.apk[0m [0;0mTalk.apk[0m
[0;0mFileManager.apk[0m [0;0mTelephonyProvider.apk[0m
[0;0mGallery3D.apk[0m [0;0mThemeChooser.apk[0m
[0;0mGanOptimizer.apk[0m [0;0mThemeManager.apk[0m
[0;0mGenieWidget.apk[0m [0;0mTorch.apk[0m
[0;0mGoogleBackupTransport.apk[0m [0;0mTtsService.apk[0m
[0;0mGoogleCalendarSyncAdapter.apk[0m [0;0mUserDictionaryProvider.apk[0m
[0;0mGoogleContactsSyncAdapter.apk[0m [0;0mVending.apk[0m
[0;0mGoogleFeedback.apk[0m [0;0mVisualizationWallpapers.apk[0m
[0;0mGooglePartnerSetup.apk[0m [0;0mVoiceDialer.apk[0m
[0;0mGoogleQuickSearchBox.apk[0m [0;0mVpnServices.apk[0m
[0;0mGoogleServicesFramework.apk[0m
# adb -s "037c700842a04557" kill-server
adb: not found
#
What does that mean?

Seems like adb is either not installed or not in the path

Exit the adb shell before issuing another adb command. Based on your log you were still in it. A simple control+c would do the trick.
-- The noob says:
The g2x works best if you chant "humba lumba humba" while standing on one leg!
---------- Post added 12th May 2013 at 12:07 AM ---------- Previous post was 11th May 2013 at 11:56 PM ----------
Pull the apk to your pc. Then you can do whatever you want with it. That is where you can browse inside the apk by changing the extension to zip too. Been there, done that!
-- The noob says:
The g2x works best if you chant "humba lumba humba" while standing on one leg!

Well I'm not manually issuing any commands....I'm just selecting what setting to use via battery mod setup program. Its obvious I'm not knowledgeable enough about how to use adb in order to do this....Google here i come lol

I can't even get adb running on my PC ....i installed it using sdk. Adb.exe opens for a brief moment and then closes automatically..

Pain-N-Panic said:
I can't even get adb running on my PC ....i installed it using sdk. Adb.exe opens for a brief moment and then closes automatically..
Click to expand...
Click to collapse
adb is a command line program. Open a command prompt, cd to the folder and type adb to see the help.
-- The noob says:
The g2x works best if you chant "humba lumba humba" while standing on one leg!

I understand how it works now. I can get it working but how can I use it to make this stupid program find my necessary apk files? Heres a link to mod if you want read about it- http://forum.xda-developers.com/showthread.php?t=2181766

like navigate using commands such as
C:/user
/my computer
/SD Card
/ABD.exe
that's just an example using those commands will do nothing
Sent from my LG-P999

Yup I figured it out after reading a few tutorials. But how can I use adb to make this program recognize my apks? Here's a link to the mod if you guys wanna check it out http://forum.xda-developers.com/showthread.php?t=2181766

Related

[REF] Google Navigation Install on G1 (Dream) Running Cyanogen's ROM (any version)

LATEST AND LAST EDIT TO THIS THREAD:
Download the new maps from Google in the marketplace for Google Navigation. Works Android Phones running the 1.6 platform.
No need to follow these instructions anymore!
---------
#Thought I would make a thread with clarified instructions on installing the new Google navigation on a G1 running Cyanogen's ROM. There have been a lot of #problems with the instructions in the other thread since the files supplied (namely build.prop and build.trout.prop) are not correctly referencing each person's #setup correctly.
#Instead of pushing generic prop files onto your phone, you can simply edit one line in your build.trout.prop file found in the system directory on your G1. #Thanks goes to aad4321 who posted it.
#The edit is simply changing the ro.build.fingerprint line to:
#ro.build.fingerprint=verizon/voles/sholes/sholes:2.0/ESD20/17572:user/ota-rel-keys,release-keys
#You can pull this file, edit, remount, then push back onto your phone to allow you install the new maps.apk. You can find the new maps.apk file in the #attachment. You can also find batch files to do all of the above, but is only guaranteed to work on the 4.2.5 ROM. All other Cyanogen version users can use #these files as well if they replace the build.trout.prop file with their own, and then edit the line as above.
#This method will keep all your apps intact, and not cause any problems with marketplace (protected apps not showing), google voice (force closing), facebook #(force closing), etc as reported in the other thread.
#<EDIT 1>If you get the errror "Device not found," make sure you have USB Debugging enabled in settings (thanks kizer).
#<EDIT 2>After performing a rm command, if you get a statement about the directory or file not existing, all is fine. Those rm commands are just trying to #find all possible places the old maps app could be stored, and so if it doesn't exist, you don't have to worry about it. Just go on to the next step.
#<EDIT 3>If you don't see the navigate function, install google voice.
#0) Connect phone
#1) Unzip downloaded file
#2) Run Part 1.bat
#3) When prompted to press any key, do so; the phone will reboot
#4) When your phone is running again, run Part 2.bat
#5) When prompted to press any key, the installation process is done.
#6) Make sure GPS is enabled
#7) Open Maps and press OK
#8) Press Menu
#9) Press Directions
#10) Enter an end point
#11) Click Go
#12) Just under "Show on map", click Navigate.
#13) If prompted to install the voice codec, do so.
#http://www.mediafire.com/?znzizmd1mmm
junker02 said:
Thought I would make a thread with clarified instructions on installing the new Google navigation on a G1 running Cyanogen's ROM. There have been a lot of problems with the instructions in the other thread since the files supplied (namely build.prop and build.trout.prop) are not correctly referencing each person's setup correctly.
Instead of pushing generic prop files onto your phone, you can simply edit one line in your build.trout.prop file found in the system directory on your G1. Thanks goes to aad4321 who posted it.
The edit is simply changing the ro.build.fingerprint line to:
ro.build.fingerprint=verizon/voles/sholes/sholes:2.0/ESD20/17572:user/ota-rel-keys,release-keys
You can pull this file, edit, remount, then push back onto your phone to allow you install the new maps.apk. You can find the new maps.apk file in the attachment. You can also find batch files to do all of the above, but is only guaranteed to work on the 4.2.5 ROM. All other Cyanogen version users can use these files as well if they replace the build.trout.prop file with their own, and then edit the line as above.
This method will keep all your apps intact, and not cause any problems with marketplace (protected apps not showing), google voice (force closing), facebook (force closing), etc as reported in the other thread.
0) Connect phone
1) Unzip zip to desktop
2) Run Part 1.bat
3) When prompted to press any key, do so; the phone will reboot
4) When your phone is running again, run Part 2.bat
5) When prompted to press any key, the installation process is done.
6) Make sure GPS is enabled
7) Open Maps and press OK
8) Press Menu
9) Press Directions
10) Enter an end point
11) Click Go
12) Just under "Show on map", click Navigate.
13) If prompted to install the voice codec, do so.
http://www.mediafire.com/?znzizmd1mmm
Click to expand...
Click to collapse
While I placed the files from his zip directly on my SDcard and used terminal to run the command, Junker's method appears stable. I have Google voice, protected apps in market, and functional Navigation. (can't answer for facebook, since I don't have an account.)
Note to someone who does not know shell commands...don't try and copy the ADB commands they are not the same. Know what you are doing before you do it.
Thanks for the post Junker02
i really dont get why there are like 325435412512 threads for this.
They should be condensed into 1.... and listed as separate options/ways to do it.
I had no connection then realized I didn't have USB debugging enabled.
Seemed to work fine.
krstnsn said:
i really dont get why there are like 325435412512 threads for this.
They should be condensed into 1.... and listed as separate options/ways to do it.
Click to expand...
Click to collapse
I believe the methods listed on the other threads are incorrect, or are more complicated than need to be (and possibly breaks other apps). I only found this method buried in the think-tank post, and though it was suggested for the OP to fix the first post, it never was. Hopefully others who are on Cyanogen's ROM will appreciate the info.
kizer said:
I had no connection then realized I didn't have USB debugging enabled.
Seemed to work fine.
Click to expand...
Click to collapse
Thanks for the tip! I'll add it to the first post.
junker02 said:
I believe the methods listed on the other threads are incorrect, or are more complicated than need to be (and possibly breaks other apps). I only found this method buried in the think-tank post, and though it was suggested for the OP to fix the first post, it never was. Hopefully others who are on Cyanogen's ROM will appreciate the info.
Thanks for the tip! I'll add it to the first post.
Click to expand...
Click to collapse
I agree, the other threads over complicate it and cause problems for those who don't know what they are doing. If they learned how to do it themselves there would be less questions and complication.
But then again, now this is just another thread about nav. Really, they should all be locked and something like what is in the first post should be put in the informative links thread.
wanted to thank you for instructions, possibly a better forum wiulda been q&a, as I go there to find answers and help solve some =) other than that this does clear some things up such as the ro line. Like in the other post it says almost same thing but fails to mention the line to change. Etc..etc... this did catch my eye and I was was about to try another method for my buddies phone and this saved me of searching through a thread. My penies, again ty.
junker02 said:
0) Connect phone
1) Unzip zip to desktop
2) Run Part 1.bat
3) When prompted to press any key, do so; the phone will reboot
4) When your phone is running again, run Part 2.bat
5) When prompted to press any key, the installation process is done.
6) Make sure GPS is enabled
7) Open Maps and press OK
8) Press Menu
9) Press Directions
10) Enter an end point
11) Click Go
12) Just under "Show on map", click Navigate.
13) If prompted to install the voice codec, do so.
http://www.mediafire.com/?znzizmd1mmm
Click to expand...
Click to collapse
I'm confused. Are you telling me that if I follow the steps outlined above that Google Navigation should work on my Cyanogenmod 4.2.5 ROM without any (google voice, market, etc.) problems?
scrappyabs2 said:
I'm confused. Are you telling me that if I follow the steps outlined above that Google Navigation should work on my Cyanogenmod 4.2.5 ROM without any (google voice, market, etc.) problems?
Click to expand...
Click to collapse
I had no problems, but I did it myself:
from scratch (no map mods, orig build.prop):
adb remount
adb pull /system/build.trout.prop build.trout.prop
open it with notepad and edit the line
ro.build.fingerprint=tmobile/kila/dream/trout:1.6/DRC83/14721:user/ota-rel-keys,release-keys
so that it reads
ro.build.fingerprint=verizon/voles/sholes/sholes:2.0/ESD20/17572:user/ota-rel-keys,release-keys
save it
adb push build.trout.prop /system/
adb shell reboot
now reininstall google voice from market and reinstall maps with the new one
help me out here man, i dont have adb, i just use my phones terminal
bigstunta101 said:
help me out here man, i dont have adb, i just use my phones terminal
Click to expand...
Click to collapse
ok, even easier, do you have astro?
you can navagate to the /system directory, copy the build.trout file to your sdcard directory. mount your sdcard and edit the file with notepad. copy it back over to the /system directory and reboot
then install voice and maps
or try doing the same from your pc using droid explorer
http://forum.xda-developers.com/showthread.php?t=558108
haven't tried it either way way but it seems like it should work
scrappyabs2 said:
I'm confused. Are you telling me that if I follow the steps outlined above that Google Navigation should work on my Cyanogenmod 4.2.5 ROM without any (google voice, market, etc.) problems?
Click to expand...
Click to collapse
Yes, that's exactly what it will do.
bigstunta101 said:
help me out here man, i dont have adb, i just use my phones terminal
Click to expand...
Click to collapse
The ADB app is included in the download. I'm not sure if it will work without the driver installed, but you can give it try and report back. Simply run the two .bat files and it will execute all the necessary ADB commands automatically.
Worse comes to worse, you would just need to install the driver for your phone.
Ok, here are the steps I took without adb, since comps at work do not allow USB write.
I uploaded the build.prop and maps.apk and sent them to my email using yousendit.com
Downloaded both into sdcard/download
Using "Root Explorer" navigated to /system and set it R/W (there's a button on the top)
Moved the build.prop to /system
Reboot
Install Maps
Reinstall GoogleVoice
Voila!
When I run the first batch file I get this errror: Device not found.
I've never gotten this message before. ADB was working fine for me a few days ago, before I reinstalled 4.2.5. Any ideas?
scrappyabs2 said:
When I run the first batch file I get this errror: Device not found.
I've never gotten this message before. ADB was working fine for me a few days ago, before I reinstalled 4.2.5. Any ideas?
Click to expand...
Click to collapse
Is your usb debugging enabled on your device?
Settings>Applications>Development
xavina said:
Is your usb debugging enabled on your device?
Settings>Applications>Development
Click to expand...
Click to collapse
Yes, its enabled. I swear I installed this navigation app on an earlier version of CyanogenMod and ADB worked just fine. Now it won't recognize my device. Please help me.
scrappyabs2 said:
Yes, its enabled. I swear I installed this navigation app on an earlier version of CyanogenMod and ADB worked just fine. Now it won't recognize my device. Please help me.
Click to expand...
Click to collapse
If you can't get the batch files to work, edit the batch files to see what commands are performed, and execute them in a terminal. There aren't that many.
junker02 said:
If you can't get the batch files to work, edit the batch files to see what commands are performed, and execute them in a terminal. There aren't that many.
Click to expand...
Click to collapse
adb remount says "error: device not found"
Here you go guys, safe simple and so easy a caveman can do it... (insert the, "If you break it, it's your own fault disclaimer here.)
Download the file in the first post of this thread.
extract the file on your hard drive and copy the build.trout.prop file and the Maps.apk, then put them on to your SD Card.
If you can't get this far....we have a bigger issue.
Then in terminal emulator type
Code:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/build.trout.prop /system
reboot
When the device reboots then do this one in the terminal emulator
Code:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm /system/sd/app/*Maps*
rm /system/sd/dalvik-cache/*Maps*
rm /system/app/*Maps*
reboot
*Note: Someone might say that the reboot at the end of this code is not needed. That maybe, but it worked just fine for me.
Now using Astro, or another file manager, install the maps.apk from the sd card.
If prompted, install the voice. I had it from other programs.
Turn on GPS
Open the drawer
Click on Maps
Let the Maps program find you
Then click menu, directions
Enter the destination, and click go.
It should show
Code:
My location
<the destination address you entered>
Show on map
[B]Navigate[/B]
Thanks for making clear instructions for the terminal emulator [email protected]
Everyone please remember that one can only use the build.trout.prop file in the first post if they are also running Cyanogen 4.2.5 on the G1, else you run the risk of app errors and force closes. If you are running a different version of Cyanogen, make a copy of your own build.trout.prop file found in your system directory, and edit it.

AdFree Hosts file

Since we currently can't write to /system while Android is running, the AdFree app is unfortunately unusable. However, here is the hosts file that the app supplies you with, so you can still put it into your phone manually.
Download the attached file, unzip it and place the hosts file on your sdcard. Then, open up a command prompt, load up your recovery menu (using the instructions in toastcfh's guide) and type:
Code:
adb shell
mount /system
mount /sdcard
cp /sdcard/hosts /system/etc/hosts
exit
Now you're AdFree
As in AD free while on the web only? Or does this block the ADs that are displayed within certain programs? Like Spare Parts for example.
VoXHTC said:
As in AD free while on the web only? Or does this block the ADs that are displayed within certain programs? Like Spare Parts for example.
Click to expand...
Click to collapse
Everytime the phone goes to download an ad, it gets blocked. So in both the browser and inside apps.
a) not development
b) i already did this thread
http://forum.xda-developers.com/showthread.php?t=695196&highlight=adfree
I'm guessing this requires root?
Also, those commands can't work AFAIK, because mount needs two arguments.
Or am I missing something here? I'm new.
I have actually had 0 problems running adfree right out of the box. Installed, ran and bam no ads. Didn't have to modify nothing through ADB.
superevilllama said:
I have actually had 0 problems running adfree right out of the box. Installed, ran and bam no ads. Didn't have to modify nothing through ADB.
Click to expand...
Click to collapse
U running 2.2? BC I see lots more adds since 2.2, it blocks some but not most.
Sent from my PC36100 using XDA App
You know, to my embarassing discovery, I never noticed (as I found this thread from google) but this is the forum specifically for EVO.
I'm running a DX (so 2.1), so that may be the problem. But still, I wouldn't think such things would be different in the OS. Guess the package it differently. Oh well. Not gonna bother rooting my toy just yet, hehe. Sorry bout the confusion.
AdFree is working perfect on CM7 nightly 23 & 25 & MikFroyo 4.5 but it does not work if you have BusyBox 1.18.3 but works perfect with BusyBox 1.17.1. I did not test other versions but I think the problem is related to BusyBox 1.18.3 by today 03/19/11.
Still there are ads running on some apps
like moneycontrol, and more.
Gregalous said:
Since we currently can't write to /system while Android is running, the AdFree app is unfortunately unusable. However, here is the hosts file that the app supplies you with, so you can still put it into your phone manually.
Download the attached file, unzip it and place the hosts file on your sdcard. Then, open up a command prompt, load up your recovery menu (using the instructions in toastcfh's guide) and type:
Code:
adb shell
mount /system
mount /sdcard
cp /sdcard/hosts /system/etc/hosts
exit
Now you're AdFree
Click to expand...
Click to collapse
earth08 said:
Still there are ads running on some apps
like moneycontrol, and more.
Click to expand...
Click to collapse
Its not updated, try absolute system tools from the Android Market. It downloads an updated script
If anyone is interested I created an app (Warning: requires ROOT) that allows you to enter one or more URLs and/or file paths and merges them and installs them as hosts. You may find the source-code here: https://code.google.com/p/android-ad-blocker/
I'll try to fix bugs for it but I can't promise I'll have time.
Edit: I made a new version because the old one had some issues transferring large files. You may find it here: http://dl.dropbox.com/u/8443626/android-ad-blocker.apk
Adfree works fine, Am I missing something? I just ran it, it updated my host file. I checked again and it said it's the latest version
Sent from my PC36100
karilofyore said:
If anyone is interested I created an app (Warning: requires ROOT) that allows you to enter one or more URLs and/or file paths and merges them and installs them as hosts. You may find the source-code here: https://code.google.com/p/android-ad-blocker/
I'll try to fix bugs for it but I can't promise I'll have time.
Click to expand...
Click to collapse
Can u help me... on how to use ur app
Sent from my °•EvO HD•°
Can u explain this process... where is the guide from toast...
Sent from my °•EvO HD•°
acme64 said:
Adfree works fine, Am I missing something? I just ran it, it updated my host file. I checked again and it said it's the latest version
Sent from my PC36100
Click to expand...
Click to collapse
x2 im confused
@ acme64 : Some people in market comments complained that it doesn't work fine anymore and it's a root app with closed source. Since it was simple to write a similar tool I did it for myself mainly.
@ Don74y3 : The way to use the application is to put a URL to a hosts file. You may use for example the one in the screenshot (I can't put the link here because of forum rules but use Google to search for "hosts file winhelp2002" and from the first link, take the address from "To view the HOSTS file in plain text form") and then click "Apply". What the program does is get that file and put it in your (rooted) Android phone. That file in turn lets the phone avoid domains that serve ads or malware. The app can take more URLs and merge them, but that's not necessary. After clicking "Apply" it is recommended to reboot the phone to make sure the changes go into effect. You will see that the pages load faster and without ads.
P.S. I'm not affiliated with the guys that make that hosts file, though I'm grateful for their work.
Unable to figure out system mount point.
Can you please help with this?
MattSkeet said:
Unable to figure out system mount point.
Can you please help with this?
Click to expand...
Click to collapse
Hi, the programs tries to figure out where the /system partition is mounted on your phone (this is because it has to switch it to read-write, put the hosts file and switch it back to read-only). I wrote the program to parse the output of the "mount" command.
Unfortunately it seems that on your phone the output is far different than what I expected. I don't know how to fix this unless you can send me the output of that command on your phone - by PM for example. To do this use adb (try to Google for how to get Android Debug Bridge) with your phone connected: run "adb shell" from a command prompt and at the shell prompt type "mount" without quotes and send me the output - at least the line that contains "/system".
Hi,
I have a different question.
I used adFree but then decided that I actually wanted see the ads on my apps.
I removed AdFree but the ads are still gone.
Is there a way to bring them back?

Lg Optimus V development thread

Hopefully we get an lg optimus v section. But here goes something for starters.
These different posts will contain everything you need for now (i hope who am I kidding) Any ways here is my latest deodexed rom.
Features:
Completly de-odexed
new bootanimation
no virgin mobile apps
custom bootimage
new keylayout ( camera button opens the camera not focus, side voice control is power button, changed all the buttons to stop unlocking the screen except for the menu button)
Stagefright enabled
I'm preparing some final things but I wanted to get this going.
Download here
How to root the lg optimus v use one click root more coming soon
How to get into diag mode coming soon
How to install a custom recovery more coming soon
download here
Stock Rom with su and custom bootimage only
Download here
How to remove apps using adb
To me the best and free way to remove apps from your phone is via adb. Hopefully you have some familiarity with adb if not you should be good after reading this.
First open a command prompt and type
Code:
adb remount
this will allow you to do what we need to do if you have errors then you need flash one of the roms I provided.
then type
Code:
adb shell
cd /system/app
ls
this opens adb shell commands then opens the system directory and shows you whats in it. If you are using the deodexed rom you will have nothing but .apk files in there. But if you use the stock rom then you will have .apk and .odex files in there.
look through there and figure out what apks you want to delete and then type
Code:
rm whatever.*
replace whatever with the app you want to remove
for instance
Code:
rm googlevoice.*
then type
Code:
cd ..
cd ..
cd /data/data
pm uninstall com.googlevoice
this part here changes your directory to data/data and then it completes the uninstall. You may have to guess what the name is in data/data but usually it isn't that hard. Also you can't pm uninstall apps from data/data unless they have been removed from /system/app so don't be worried about removing the wrong thing.
check your phone and you should be good to go
I'm going to get one this week. Thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks!
Are there any ROM & kernel pack with ext4 support?
r0bot said:
Are there any ROM & kernel pack with ext4 support?
Click to expand...
Click to collapse
Xiona is what I use
Xiona works really good, there are some forums with a stock VM rom with Xiona in it.
teki9 said:
Xiona is what I use
Click to expand...
Click to collapse
So Xiona has ext4 support?
Emergenscene said:
Xiona works really good, there are some forums with a stock VM rom with Xiona in it.
Click to expand...
Click to collapse
What ROMs support ext4 also?
not to bring up a dead threaad....but the optimus v really needs a home here at xda.
i just rooted my first. i tried to use a windows program called "romtools" found on the interwebz. this didnt work, though. so...after a little more searching...i found this out. maybe the opt can put this up in first post?
easiest way to root and install super user: run super one click root to obtain adb shell root. then...run z4root. neither of these two methods work on their own but if you do in that order...you will have root and super user installed. from there, you can flash a recovery using android terminal emulator...if your old school like that. i did.
after that you can flash the stock virgin with Xionia kernel and bloatware removed. get setcpu..overclock it. whatever. door is open.
hope this helps! trying to get some thank you points on the board.
back again to try to keep this thread a little bit up to date til SOME1 NOTICES THAT THIS PHONE EXISTS.
for those having the "Cell standby" battery bug....
whats that? go to setting>about phone > battery usage> if cell standby is at anywhere near 50% or over...you have this bug. antenna constantly scans even with a connection...
plugg phone into charger. toggle airplane mode. unplugg. this will clear your battery stats and will properly connect you. check your setting to see if your usage goes down.
there also seems to be a problem wil gallery. the app opens but displays nothing. no albums or anythinng. its like it cant read the sdcard. only thing i can say to do is install a 3rd party pic viewer and trash 3d gallery.
hope this helps you guys.
Awesome, thanks for this. I currently have CM7 on my Optimus V, but for some reason I can't use any adb commands with it. I can with this. Sorry if this is the wrong place to post it, but I'm still a new member. Anyone know a way to get adb working?
hey did you guys ever figure out diag mode for the Optimus V? its not like the the other Optimus devices and ive tried every key combo my little brain could come up with....im trying 2 connect it 2 QPST or CDMA..

[GUIDE] GPS Navigation with TetherGPS

The one thing keeping TetherGPS from working on the Kindle Fire is the missing development options in the settings menu, specifically the "Enable Mock Locations" option. You can however enable it manually.
UPDATED 9/9/2012
This post originally used Zergrush to root, but that no longer works with the latest updated software from Amazon. Check the development section to find the latest rooting information.
1. Root your Kindle Fire.
2. Obtain/install ADB, sqlite3, and the KF USB drivers. Make sure the KF shows up when you execute the command "adb devices" from a terminal.
3. Execute the following in a terminal window:
Code:
adb pull /data/data/com.android.providers.settings/databases/settings.db
copy settings.db settings.bak
sqlite3 settings.db "update secure set value=1 where name='mock_location';"
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
adb reboot
4. After the KF restarts you are set! Connect your KF to your phone's wifi, launch the TetherGPS server on your phone, and launch the TetherGPS client on your KF. Install Google Maps/Earth or any other GPS-consuming app and you should be good to go.
Alternative Method: Purchase Root Explorer from the Play Store on your rooted KF. Use Root Explorer and sqlite editor to open /data/data/com.android.providers.settings/databases/settings.db and change 'mock_location' from '0' to '1'. Restart your KF.
Demo Video:
Thanks goes to ros87 for posting this method for the Nook Touch here.
This looks like it would work. I think I'll try it after you make the video since I'm more of a video person.
Post updated with simpler instructions. I wrote a batch file and included the files necessary to complete this procedure.
Demo video is also posted!
This is now a very easy process, and does not require that your device remain rooted. Google Maps is super smooth on the KF!
Would it be possible to tether a Garmin GPS to the KFire?
Sent from my Kindle Fire using xda premium
This is awesome! Now if we can get the Bluetooth working on the KF then I can use my BT GPS. For now this will work!
Getting BT working would really be the icing on the cake, or perhaps the ice cream on my sandwich
For most people, you're going to have to tether to your phone to get internet access anyway, so using TetherGPS saves you from having a third device.
Target has the LG Optimus V for $50 right now. I believe it's a Fri/Sat sale only. It's a pre-paid phone for Virgin Mobile, but you don't need to activate it. You can root the device and install android-wifi-tether and TetherGPS, and use it as a GPS puck.
I've had the same "Mock" issue yesterday, today I've found your guide and it solved my problem immediately, many thanks!
I recorded two more demo videos today with the Kindle Fire running aviation mapping and navigation software (AviationMaps and Naviator).
Can you also record a how-to video?
Sent from my Kindle Fire using xda premium
I have ADB working fine, but when I run the batch file it just keeps saying " 'adb' is not recognized as an internal or external command, operable program or batch file".
californiarailroader said:
I have ADB working fine, but when I run the batch file it just keeps saying " 'adb' is not recognized as an internal or external command, operable program or batch file".
Click to expand...
Click to collapse
You need to put the platform-tools folder in your system's PATH variable, or you can drop the files from the zip into the platform-tools folder and run the batch file there.
lionclaw said:
You need to put the platform-tools folder in your system's PATH variable, or you can drop the files from the zip into the platform-tools folder and run the batch file there.
Click to expand...
Click to collapse
Thanks, I figured it was something like that. I just dropped the files into my tools folder and did it from there, success!
---------- Post added at 10:59 PM ---------- Previous post was at 10:46 PM ----------
What would I put in Path under Environment Variables to enable it? I want to make sure I put it in correctly.
---------- Post added at 11:10 PM ---------- Previous post was at 10:59 PM ----------
I added this to the end of the existing text in Path- ;C:\Program Files (x86)\Android\android-sdk\platform-tools
I answered my own question lol Now I can ADB allover the place hehe Anyway, this works GREAT, thank you so much for this! It'll be nice having a 7 inch GPS on my travels across Nor*Cal for work (I work everything from Sonoma County and just north of Sacramento north to Oregon and Northeast to Nevada).
This is working great for me. Simple steps, and now my Kindle does the one thing that I wished that it would have done from the start by having GPS. Thank you, much!
Works good, thanks. Wants me to enable gps in settings starting navigation, but there is no gps in settings. It's cool though, still locates me within 10 meters.
Forgive me if I'm wrong but couldn't you edit the settings.db with root explorer right on the device?
neilrl79 said:
Forgive me if I'm wrong but couldn't you edit the settings.db with root explorer right on the device?
Click to expand...
Click to collapse
If your KF is rooted, and you have root explorer and SQLite Editor installed, then you can do it right on the KF. I haven't tried it personally, but I don't see any reason why not.
Got the GPS link working! Thanks!
BTW What tethering program are you using? What phone is it being run on?
I have a Droid 3 and my KF isn't recognizing the tetherering. (Tried Barnacle and OpenGarden)
MinionOfEckerd said:
Got the GPS link working! Thanks!
BTW What tethering program are you using? What phone is it being run on?
I have a Droid 3 and my KF isn't recognizing the tetherering. (Tried Barnacle and OpenGarden)
Click to expand...
Click to collapse
I have a DROID3 as well tho I haven't gotten my KF yet. Did you do the Radiocomm tether hack that utilizes the hotspot app included with the phone?
neilrl79 said:
I have a DROID3 as well tho I haven't gotten my KF yet. Did you do the Radiocomm tether hack that utilizes the hotspot app included with the phone?
Click to expand...
Click to collapse
Yes, I did. Getting some errors running the hotspot app, though.
MinionOfEckerd said:
Yes, I did. Getting some errors running the hotspot app, though.
Click to expand...
Click to collapse
Ok, I am planning on getting the fire but tethering to my phone is a must. I was really hoping that it would just work with the hotspot appp i already have.

[Q] "ADB Root" Not Working on Rooted Phone

Hello Everyone,
I have supposedly rooted my new Galaxy Nexus (CDMA) phone. All the apps that request root on the phone are able to get access to it, also if I use "adb shell" and then use the "su" command to switch to root it will grant me access, albeit without ever prompting me on the phone. However when I try to use the "adb root" command from the terminal window it gives me an error of "adbd cannot run as root in production builds".
I need this function to work, but cannot seem to find my way around it. I am not the only one I know who has seen this, but we cannot seem to figure it out. I was hoping to get some suggestions? Any thoughts?
No luck it looks like...will this bumb it?
Why do you need the command "adb root" ?
Mostly for grabbing logs via the logcat command.
Sent from my GNex,
-Originalme8
Why not "adb logcat" ?
Still don't understand why you need the specific "adb root" command.
Does it really matter what my reasons are? Maybe I am worried that there is a problem with my such controller? I just want to know why this command isn't working. If your not going to help, please don't post hand waste my time.
Sent from my GNex,
-Originalme8
you could use adb logcat as mentioned above
http://forum.xda-developers.com/showthread.php?t=833756
forum search, it's magic.
and yes, reasons matter.
Seriously...you two have been no help...
Sent from my GNex,
-Originalme8
So you are saying the link i posted, does not contain the answer to your question, although it states what causes the error message and how it can be fixed?
Originalme8 said:
Seriously...you two have been no help...
Sent from my GNex,
-Originalme8
Click to expand...
Click to collapse
So you have a "recognized developer" trying to help you out and posting a link to the problem and the fix, and that is how you respond? Good luck on XDA buddy.
Oh, and don't worry, I will hit their thanks button for you.
Old Thread and that attitude certainly wasn't the nicest but incase someone else Google Searches this...
First you need to decompile the kernel.
In your Root of decompiled files, find a file called
default.prop
Edit it with Root Explorer or ES File Explorer
Find these lines
ro.secure=1 and change it to ro.secure=0
ro.debuggable=0 and change it to ro.debuggable=1
Save and recompile. If this is already too complicated for you, then you can read about what decompiling and compiling is. Search it.
Your Kernel is likely stock kernel and will not allow this change if you don't have USB Debugging option available within your ROM.
If you have this option, then enable it. It is possible that you have half root - Unlocked boot loader, but Kernel is from a stock ROM. You can still get shell access. You just won't get it while your System is Mounted if you don't have USB Debugging enabled and you plugged into Windows while your System is running. So Reboot into Recovery, and then go into your ADB Directory and type
adb start-server
adb devices (see if it lists the connected device) if yes then type
adb root (It should say adb is already running as root)
then type
adb shell
you can use the ls command to list all the directories.
cd to change into them. like cd /sdcard then ls and so on.
and cd / to go back.
Look up basic linux shell commands.
and then you can do whatever you want. List of ADB Noob Commands
http://forum.xda-developers.com/showthread.php?t=517874
Hope this helps anyone who got in here from a Google search.
Next time try to be nice to others, and be patient. I spent time trying to help you. As did the other guys. Try to give back.
ocd_amp said:
Old Thread and that attitude certainly wasn't the nicest but incase someone else Google Searches this...
First you need to decompile the kernel.
In your Root of decompiled files, find a file called
default.prop
Edit it with Root Explorer or ES File Explorer
Find these lines
ro.secure=1 and change it to ro.secure=0
ro.debuggable=0 and change it to ro.debuggable=1
Save and recompile. If this is already too complicated for you, then you can read about what decompiling and compiling is. Search it.
Click to expand...
Click to collapse
Terribly sorry for bumping a post this old in advance. I would PM but I am also leaving a reply for people Googling this later on.
I have been searching on how to compile a .prop file for 2 hours now. The most relevant thing I could find online was a tutorial on how to compile my own ROM's but that compiles the whole ROM and seems unrelated to what you said (using Es file manager). Also, I just want to make my Stock rooted ROM debuggable.
Could you direct me to a source or simply explain how I would do that?

Categories

Resources