REMOVE LG's BLOATWARE FROM YOUR LG 4X HD!
Requirements:
CWM Recovery
Root
USB Drivers Installed
USB Debug enabled
How-To USE :
Click On Debloat.bat
Follow On Screen Instructions To Remove !
Reboot Phone When Prompted!
--------------------------------
-Done!
Ported for you by simonekamikaze, credits goes to eaglerazor123
Send me a PM for add or edit other Bloatware
No matter how much I look at the script, there are no related lines to auto APK install. Also, why do you include fastboot.exe if it's not used at all?
I don't know, i've just ported this tool as-it-is. Just edited necessary files and re-zipped all.
Sent from my GT-P7320 using XDA Free mobile app
Adam77Root said:
No matter how much I look at the script, there are no related lines to auto APK install. Also, why do you include fastboot.exe if it's not used at all?
Click to expand...
Click to collapse
simonekamikaze said:
I don't know, i've just ported this tool as-it-is. Just edited necessary files and re-zipped all.
Sent from my GT-P7320 using XDA Free mobile app
Click to expand...
Click to collapse
you need to add this to the bottom of debloat.bat
Code:
@ECHO off
title Auto APK Installer
:Start
cls
echo 1. Install APK's
echo 2. Quit
set /p choice=I choose (1,2):
if %choice%==1 goto apkinstall
if %choice%==2 exit
:apkinstall
cls
echo Running Install Script
FOR %%n in (*.apk) DO adb install %%n
echo Done!
pause
exit
for apk installs
Thank you for the missing code I'll add this soon
Sent from my GT-P7320 using XDA Free mobile app
Related
I saw a lot of threads asking for instructions on how to use ADB to reboot into recovery, Push/Pull Files, etc, etc.
Just follow this guide to set up ADB in 5 seconds WITHOUT THE ANDROID SDK.
This ADB setup is less than one MB and no need to download the entire useless (for us, anyway) Android SDK.
1. Extract the Mini ADB archive attached below to any folder.
2. Just use the RunME.bat file to open a console directly in the ADB folder, so you can get started directly without the cd command!
To reboot into recovery:
Extract, Open RunMe.bat, type adb reboot recovery.
That easy.
Just make sure to have LG Phone Drivers installed beforehand.
Get Drivers here: Here
thanks mate ,, i never used adb when i get bootloops ,, i thought its complicated
rrgrrg said:
thanks mate ,, i never used adb when i get bootloops ,, i thought its complicated
Click to expand...
Click to collapse
Now you see how easy it is! Did you try it?
Its Super simple!
Does it work on any Android?
cm9 htc a310e
Yes.. It works when debugging is On.....
But how to get into recovery when we have bootloops or system force close
Type adb reboot recovery... it's in the op...
Sent from my LG-P970 using xda app-developers app
When you have bootloops:
Remove battery.
Re insert.
Connect phone to computer using USB.
Try to turn on phone, when bootanimation keeps looping,
run the runme.bat, type adb reboot recovery.
Done
And remember to press thanks
Sent from my LG-P970 using Tapatalk 2
thanks ykumar00 :good:
You can use adb also to install applications from your pc. I keep copies of my apks on windows machine - sending via usb and installing from phone is a tedious task (mounting usb, copying file, unmounting, waiting for sdcard scanning, navigating to apk file, installing). Just type:
adb install -r name.apk
USB debugging should be on.
I've created a batch and registry entry so I just make right click on apk and choose "install to sd" or "install to phone"
kretos said:
You can use adb also to install applications from your pc. I keep copies of my apks on windows machine - sending via usb and installing from phone is a tedious task (mounting usb, copying file, unmounting, waiting for sdcard scanning, navigating to apk file, installing). Just type:
adb install -r name.apk
USB debugging should be on.
I've created a batch and registry entry so I just make right click on apk and choose "install to sd" or "install to phone"
Click to expand...
Click to collapse
That's just one thing adb can do! Apart from reebooting normally and recovery, You can push/pull files to/from any folder, you can take logcats, and on ics, you can use adb to even take phone backups!
Also, could you share the bat and registry file? Looks interesting.
Sure, I'll post it here in the evening (in 4 hours)
Yup it would be really very useful and if someone has something to share related to adb please do so... it would be really very usefull for all ob users.
Sent from my LG-P970 using xda app-developers app
I could add it to the OP. With credits of course....
Ok, here you go:
the scripts assume that adb.exe is extracted to e:\MiniADB\
download attachments and remove .txt extension from them.
put scripts install.bat and install_tel.bat to e:\MiniADB and run (double click and confirm in Vista/W7/W8 to run as administrator) apk_install.reg.
After that you will get two options in context menu for apk files:
Install in phone
Install in SD card
First option will install application in phone's memory, second in sd card. If application is already installed, it will be overwritten.
If you wish to put MiniADB somewhere else you have to:
modify install.bat and install_tel.bat and replace e:\MiniADB\ with your path
modify apk_install.reg and replace e:\\MiniADB\\ with your path but remember to make all \ doubled \\
Example:
if you want to put MiniADB into c:\Android\MiniADB then replace e:\\MiniADB\\ with c:\\Android\\MiniADB\\ in a .reg file
Those scripts are for Windows only. I'm not sure if it works for Windows NT/9x as registry file format was changed as I remember.
Edit:
USB debugging must be on in a phone to adb work properly. Phone must be connected to computer
Sorry for delay
When trying adb, I am having this problem.
Sent from my LG-P970 using xda premium
vishaldhamnekar said:
When trying adb, I am having this problem.
Sent from my LG-P970 using xda premium
Click to expand...
Click to collapse
the command is "adb reboot recovery".
dcop7 said:
the command is "adb reboot recovery".
Click to expand...
Click to collapse
Ohhh sorry,my mistake. I didn't read it carefully.
And Thanks...
ROM Tools v2
Version 2 BETA
v2b (Officially v2)
Linux Script
by iamareebjamal
Automated Android script for extracting boot.img and bml15 partition
My PC has issues so I can't use it to build mods and scripts, also, I have a very slow internet connection. That's why I don't upload my ROMs. Provided, I build EACH and EVERY one of my mod on my mobile, including those long scripts with repeating commands and making it easy for other guys to use, I could've just created a script with two commands which rendered error if used incorrectly, but I make it noob proof in every way possible so that there are minimum errors from your side and if something gets wrong, you know what it is. Even uploading 5 mb of mod makes it very difficult as I have to reupload if it fails. Writing scripts on mobile is not easy, you'll know if you have done it, it takes hours. Also, these colorful and easy guides are also made on mobile by writing BB codes ONE BY ONE by hand.
I am telling you because a person day before yesterday posted my Amazing Sounds Mod in another forum without my permission. However, he has removed it now. My work is fully open sourced for you to learn and make your own mods. But taking part of my work and posting as yours is not appreciated.
The MOST you can give me is love, prayers and Thanks
Click to expand...
Click to collapse
Out of the time I was absent from XDA(13 hours ) , I was searching for a method of extracting the kernel from your ROM
Imagine, you want to extract boot.img from your ROM but don't know what to do, you don't have internet to download the stock or custom kernel or simply want to extract it?
I did not find anything except the solution of Android Kitchen but what if you want to do it on your android?
As a bi product of this search, I got a lot of knowledge about the partitions used by Android system and the blocks that define them.
I also got basic knowledge about Linux Scripting.
So, I created this script that backs up your boot.img and bml15.img partitions.
boot.img - kernel of your device
bootextractorv2.sh - Backs up your kernel
bml15.img - IMEI partition
bml15extractorv2.sh - Backs up your IMEI partition
Note:- SGY Toolbox also backs up and restores bml15_EFS.img. And that also with a nice user interface, I just created this mod, because I wanted to but I recommend newbies to use SGY Toolbox for backing up IMEI
However, I found no tool able to backup the kernel, so it may be very useful for some members
ChangeLog
Code:
*More Interactive
*More Intelligent
*Added Option to create Odin Flashable Tar package for kernel
*More Convinient
Requirements :
Root Acess
Busybox
Android device
Hands
Terminal Emulator or Script Manager
(Script Manager recommended)
Instructions
Script Manager Method (Easy):-
1. Download Script Manager.
2.Download desired script and place it on sdcard.
3. Open Script Manager and enable browse as root.
4. Go to the downloaded script and click on the green android icon(root) in the pop up window.
5. Click on Run. Follow Instructions and enjoy
Terminal Emulator Method (Hard):
1. Download Terminal Emulator.
2. Download desired script and place it in the root of the sdcard.
(You can place it anywhere else but the directory should not have spaces and you will have to change the commands accordingly)
3. Open Terminal Emulator and type (After every command you have to press enter)
Code:
su
And Grant Root Access
Then, type
Code:
sh /sdcard/bootextractorv2.sh
or
Code:
sh /sdcard/bml15extractorv2.sh
according to the the script you want to run
4. Now, follow the instructions on screen and enjoy
Download bootextractorv2.sh
Download bml15extractorv2.sh
Credits :
Miscellaneous Google search posts showing how to write Linux Script
Me for writing the script
Rafael.Baugis for source
Ryuinferno for guide
Getting an error while trying to back up /extract bml15.img
Sent from my GT-S5570 using Tapatalk 2
Man
Its only for s5570i
iamareebjamal said:
Man
Its only for s5570i
Click to expand...
Click to collapse
Yup tried on my bros s5570i
I have s5570 he has s5570i so the problems with his....
Sent from my GT-S5570 using Tapatalk 2
hsay said:
Yup tried on my bros s5570i
I have s5570 he has s5570i so the problems with his....
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
Does SGY Toolbox work on that device?
If it works
This should also work
iamareebjamal said:
Does SGY Toolbox work on that device?
If it works
This should also work
Click to expand...
Click to collapse
No i tried each and every way ti backup his and mine efs unfortunately always failure anyway thanks......
Sent from my GT-S5570 using Tapatalk 2
Hello everyone!
Straight to the point.
How to pull OTA links on any Android version. via ADB on PC. [No Root necessary]
This works on any Android version without root.
[NOTE: if you are on Android 4.2.2 and PC can't see file like on NEXUS Devices with 4.2.2 do this: open file explorer on device and look for logcat.txt and compress it to a .zip file. That way PC will see it and you will be able to pass it to PC and open it to search for the link inside logcat.txt.]
What you need:
ADB Tools Files [Download Here] Thanks Garwynn
Samsung Drivers [Download Here] Thanks Rwilco12
Patience and brain matter.
Instructions and Tips:
1. Setting up ADB Tools on Windows 7/8 environment variable:
A. Extract ADB Tools folder to "C:\"
B. Click "Start", right click on "Computer" and select "Properties" in the right pane select "Advance System Settings" then "System Properties" will open, select the "Advance" tab if its not selected by default and click on "Environment Variables".
Under "System variables" look for "Path" on the list, select it and click on "Edit..." then on "variable value:" (be careful not to delete anything there) look for the end and add the patch where you extracted the "ADB Tools" folder, if you extracted to "C:\" then the path should be: ";C:\ADB-Tools\" without colons of course. click OK then OK and OK again. Now the Environment Variable for the ADB Tools is added to system.
To test it open CMD and type: "adb devices", it should show your device ID if its connected via USB, if not it show the strings "daemon not running. blah blah starting it now on port xxxx" and "daemon started blah blah" and list of devices attached empty. (Congrats you set ADB successfully).
2. Install Samsung Drivers.
3. Enable Developer options and USB debugging on device.
4. Plug device via USB to PC (if windows start installing drivers wait for it to finish) and open CMD and type the following ADB commands to create the logcat.txt file on internal sdcard.
Code:
adb devices
Code:
adb logcat -d -f /sdcard/logcat.txt *:V
5. Exit CMD and unplug and plug device again to be able to see logcat.txt on sdcard. Move to PC and search for link inside logcat.txt. Profit.
Tip: to find the link faster open it on notepad press crtl+F and search for http: until you find something like this "http://android.clients.google.com/packages/ota/xxxx.zip"
Thanks:
sextape
MoHoGalore
Garwynn
Rwilco12
Team SXTP
and all XDA Members.
Reserved for later.
Sent from my SPH-L710 using Tapatalk 2
Thanks for the write up, Omar! Hopefully the community will have plenty of opportunities to use your guide.. (who doesn't love trying to get and try/look at an update as soon as possible) :beer:
:beer:
Sent from my SPH-L710 using Tapatalk 2
Hmm :beer:
Sent from my SPH-L710 using Tapatalk 2
Apparently, the log gets cleaned up or cleared at some point because there is no line containing "http", "ota", or even "zip" in my log. It was 5 or 6 days ago when my phone re-downloaded the OTA, so if you are going to do this, you best do this not too long after the update notification.
~Zach~ said:
Apparently, the log gets cleaned up or cleared at some point because there is no line containing "http", "ota", or even "zip" in my log. It was 5 or 6 days ago when my phone re-downloaded the OTA, so if you are going to do this, you best do this not too long after the update notification.
Click to expand...
Click to collapse
no matter if it finish the download or not links are there until you reboot, you need to open the file in the PC, if you open it on the device it will not show the full log.
Edit: also read the blue note in the start of the post.
Oh, I was looking at the log on my PC.
Anyway, your "until you reboot" is the operative phrase here, I think.
shameless bump. :silly:
Hello Android 4.3
Sent from my SPH-L710 using Tapatalk HD
Team SXTP
Bump
Sent from my SPH-L710 using Tapatalk 4
Team SXTP
Omar04 said:
Hello Android 4.3
Sent from my SPH-L710 using Tapatalk HD
Team SXTP
Click to expand...
Click to collapse
Are we getting the update or something or is there a specific reason for the timing on this topic my friend. .
Sent from my SPH-L720 using XDA Premium 4 mobile app
Title says it all no scripts needed nor is any link2sd and ext-sd partition. This is no new discovery it just sets default install location via a terminal parameter - am just sharing it so that those of you who might not know this benefit from it
Requirements :
*Rooted device (with usb debugging enabled in settings - developer options)
*Terminal emulator
Steps
* open term. Emulator
* type su and press enter key (accept any super user prompt that follows)
* key in the following code and press enter when done :
Code:
pm set-install-location 2
After completion you can go to setting - manage applications and move all apps to sd even the likes of stubborn apps like Facebook.
NOTE:
You can also get current default location by following code :
Code:
pm get-install-location
You can set it back to desired location by using 'pm set-install-location' if ever you feel the need to. The number after location denotes -
Code:
0-auto
1-internal sd
2-external sd
If the any of above codes give errors then try without hyphens in middle. Ex.
Code:
su
pm setInstallLocation 2
Have a good day
Nice but i'm ok to my sdmerg
Sent from message 911 Police
Nice!
Onel de Guzman said:
Nice but i'm ok to my sdmerg
Sent from message 911 Police
Click to expand...
Click to collapse
Yeah this is for those who don't are lazy for installing the likes of sdmerge
xoxodemo said:
Nice!
Click to expand...
Click to collapse
Thanks buddy do try it out and let me know if it works or not
Hmmm, apps tell that no memory enought to install =(
xoxodemo said:
Hmmm, apps tell that no memory enought to install =(
Click to expand...
Click to collapse
Mate use the code then go to settings manage applications and move all desired apps to sd then revert the code
pm set-install-location 0
Hope it helps
dont work =\
xoxodemo said:
dont work =\
Click to expand...
Click to collapse
What doesn't work please elaborate. Which rom are you using and what commands did you type?
Hmm, stock 4.1.2 Lg L5, commands - pm set-install-location 2. all ok, it set default location to external SD, but i can not move apps
No button to move on external SD in settings)
xoxodemo said:
Hmm, stock 4.1.2 Lg L5, commands - pm set-install-location 2. all ok, it set default location to external SD, but i can not move apps
Click to expand...
Click to collapse
Works well for me in cm9 and 2.3.6 and in fact should work on all android devices but don't exactly know why you can't get it to work - am sorry i can't help to revert just use 0 by the way you could also give internal sd (1) a try to see if it works. Anyway thanks mate for letting me know it doesn't work
I am having problems too, I have entered the comands in the terminal emulator but no results at all. Do i have to reboot my device ?
Im using a LG P700 with CM10
Sent from my LG-P700 using Tapatalk 4 Beta
Working. Thanks.
I cant move apps. Im using L7 + cm10 + gandalf kernel 2.1.2
Sent from my LG-P708 using xda app-developers app
Thanks for the tut. I will try it
Sent from my LG-P700 using xda app-developers app
Not working on v20e from szymel0,
The command gives me:
Bash: precmd command not found !
I have busybox pro installed and not know what to do more...
Sent from my LG-P700 using xda premium
haha
not working on emulated storage device
guys, nikufellow wrote that the applications, with this method, can be installed on the SD card, not that they can be moved
Some guys may thing that you will need to mod system apks or may need to flash external zip files but NO this guide just ues simple adb command you will not even need to be rooted to impleament this guide
Instructions:-
1)Enable USB debugging
2)Connect your phone and make sure you have permitted your computer for adb operations of your device...
3)Use following adb commands
Code:
adb shell
content insert --uri content://settings/system --bind name:s:status_bar_show_battery_percent --bind value:i:1
exit
adb reboot
4)Enjoy :good: :highfive:
And this will work on almost every device
Thanks
U can easily do it by downloading Battery precentage Enabler from playstore! Is all this effort needed?
Don't know about that app
Sent from my Spice Mi-498 using XDA Free mobile app
hjmodi said:
Don't know about that app
Sent from my Spice Mi-498 using XDA Free mobile app
Click to expand...
Click to collapse
That app also works. I tried it on KitKat.
Okey, one question, how to if I want to revert back? Change the bind value:i: from 1 to 0 right?
https://play.google.com/store/apps/details?id=de.kroegerama.android4batpercent&hl=en
mohaxs said:
Okey, one question, how to if I want to revert back? Change the bind value:i: from 1 to 0 right?
Click to expand...
Click to collapse
Yep
Work lollipop 5.1 bro?
Yes
Sent from my Spice Mi-498 using XDA Free mobile app
help not commands
puturaya20 said:
help not commands
Click to expand...
Click to collapse
Have you installed ADB or Android SDK before ?
If yes, make sure the CMD is in the same folder as adb.exe
If not, install it, there's some guide floating on the forum.
hjmodi said:
Some guys may thing that you will need to mod system apks or may need to flash external zip files but NO this guide just ues simple adb command you will not even need to be rooted to impleament this guide
Instructions:-
1)Enable USB debugging
2)Connect your phone and make sure you have permitted your computer for adb operations of your device...
3)Use following adb commands
Code:
adb shell
content insert --uri content://settings/system --bind name:s:status_bar_show_battery_percent --bind value:i:1
exit
adb reboot
4)Enjoy :good: :highfive:
And this will work on almost every device
Thanks
Click to expand...
Click to collapse
Is there any command can run through Terminal Emulator app to do this???
just install that app from playstore to get thos numbers in the batt icon, much simpler i guess