About root.bat - LG Revolution

Hello all, there had been a lot about the root.bat and errors lately, and it is probably because I never gave a good explanation. So, here it is.
The root.bat was written based off of what djrbliss had written for the esteem. I have expanded it and redone most of it to fix problems and make things easier. It is coded first to run the exploit to get temp root access. After that I have coded it to remove any straggling root files (su, superuser, etc) from when people were rooted before. If those files were not there for whatever reason (never rooted before, etc) it will shoot back errors, but continue the process. I added this for those that were not able to attain root because of the "file already exists" error which would end the process. After removing files it then pushes the newest su and superuser files. After that it copies the stock recovery to your sdcard, then pushes cwm recovery.
Hope this helps shed some light on the errors, and helps to explain a little more about it. Thanks everyone for all of the encouragement and donations for my work, it is all greatly appreciated!
Sent from my VS910 4G using xda premium

That should clear things up. Based on a post I replied to earlier, that helps explain that the errors are normal and that the root process your batch file runs is doing it's job correctly.
Thanks MT!,
-Cybie

Related

is it rooted or not

I just rooted a new captivate (about 2 wks old) using one-click root method. All seemed to go smoothly & SU permission is installed. I still can't sideload (sirius/xm app) or uninstall any at&t apps. I downloaded androidmate, astro & even bought Root Explorer......NO LUCK!!! THE PHONE IS THE SAME, I can't install or uninstall anything. I would just like to install sirius/xm app. Are the new phones patched against rooting? any help is appreciated, thanks!
ice10 said:
I just rooted a new captivate (about 2 wks old) using one-click root method. All seemed to go smoothly & SU permission is installed. I still can't sideload (sirius/xm app) or uninstall any at&t apps. I downloaded androidmate, astro & even bought Root Explorer......NO LUCK!!! THE PHONE IS THE SAME, I can't install or uninstall anything. I would just like to install sirius/xm app. Are the new phones patched against rooting? any help is appreciated, thanks!
Click to expand...
Click to collapse
need to enable sideloading first
rsx19 said:
need to enable sideloading first
Click to expand...
Click to collapse
thanks for the quick response. how is that done? I rooted the phone because 'sideload wonder machine' wouldn't work. I kept getting this error - 'loader.bat' is not recognized as an internal or external command, operable program or batch file.
is there something I'm missing. I've viewed dozens of vid tutorials & forum entries., they all said the same thing - 'use swm or root your phone and boom - start downloading apps' Obviously something is being left out. I don't know what steps I'm missing.
In the dev section, somewhere in the first couple of pages there should be a thread titled something like how to enable side loading. In the gen section stickies there is a wiki that had it too.
From a phone on an app
here's where i'm at so far:
1.tried sideload wonder machine, which failed. I kept getting this error:
'loader.bat' is not recognized as an internal or external command, operable program or batch file. this led me to step 2
2. used galaxy 'one-click root' to successfully root the phone, & i now have superuser permission accessible. still can't sideload apps, leading to step 3.
3. tried sideloading using andriod browser, which also doesn't work. i keep getting this error:
unable to find a version of the runtime to run this application. (running on winxp 32)
it seems as though my only other option is the adb method using command prompt, but i've avoided this method; i'm new to android and don't want to risk bricking my phone just yet.
is there any other 'simple' way to sideload on a rooted phone?????? i only want to install a few apps.
any help is appreciated, thanks!!!
What I did was go on youtube and watched a tutorial on how to enable third party apps, then searched another video for removing ATT bloatware. This helped me greatly as my captivate was my first android device. Now I have set up all kinds of cool stuff like wireless tethering and the lagfix. youtube really helps because you can watch them do it as you do it!
ice10 said:
it seems as though my only other option is the adb method using command prompt, but i've avoided this method; i'm new to android and don't want to risk bricking my phone just yet.
Click to expand...
Click to collapse
adb is the only method I've ever used ... never had a problem and find it hard to believe that sideloading a known app would ever brick the phone by doing it this way.
laxwillsch said:
What I did was go on youtube and watched a tutorial on how to enable third party apps, then searched another video for removing ATT bloatware. This helped me greatly as my captivate was my first android device. Now I have set up all kinds of cool stuff like wireless tethering and the lagfix. youtube really helps because you can watch them do it as you do it!
Click to expand...
Click to collapse
startngate said:
adb is the only method I've ever used ... never had a problem and find it hard to believe that sideloading a known app would ever brick the phone by doing it this way.
Click to expand...
Click to collapse
thanks for the replies. i just meant i didn't want to mess up the commands & brick the phone. the directions for 'set third party app to 1' etc, seemed confusing for a noob.
laxwillsch - thanks for the info. i went back to youtube & realized i misunderstood the directions. i just had to drop the apk files into tools folder in the sdk and install from there. thanks for all your help guys
um...anyone know how to undo all this if i get rid of this phone? lol

[Q] Stop Auto VZW Auto Update

I found how for the X2 but the instructions dont work for the Revolution.
Anyone know the way to stop it?
Thanks
Using root explorer goto /system/lib/libdme_main and add .bak to the end of it. You will keep bluetooth and no more update. Make sure you do NOT mess with anything else!
Sent from my VS910 4G using xda premium
I deleted that file (adding.bak sounds much better) and it has gone away, just like mtmichaelson said.
Sweet thank. Ya on my droid 2 i stopped a bunch of stuff and just did the .bak so if i need it later i can just change it back.
Thanks
Just to double check, this works on revo phone.
When I acess file it has .so file type do I change .so to bak?
I just added .bak after the .so
Sent from my VS910 4G using XDA Premium App
Revolt - LTE
I'm not sure if this is related, but I noticed that after I flashed Revolt 1.3, I never see the "LTE" symbol in my notification bar. I'm in an LTE area, so I know it's available--does that mean my phone isn't running LTE anymore or is the symbol just not showing up on this ROM? I apologize in advance if this is a ridiculously misguided question--I'm new here and learning as I go.
By the way, mtmichaelson--I said this before and I'll say it again--awesome ROM! Thanks again for your hard work.
mtmichaelson said:
Using root explorer goto /system/lib/libdme_main and add .bak to the end of it. You will keep bluetooth and no more update. Make sure you do NOT mess with anything else!
Sent from my VS910 4G using xda premium
Click to expand...
Click to collapse
will this also work for the updated Revolution (2.2.2)?
Thanks in advance
ally3447 said:
will this also work for the updated Revolution (2.2.2)?
Thanks in advance
Click to expand...
Click to collapse
Yes it does
Sent from my VS910 4G using xda premium
mtmichaelson said:
Yes it does
Sent from my VS910 4G using xda premium
Click to expand...
Click to collapse
So, right now it is a .so file. Do I just add .bak to it, or change it from .so to .bak?
(Just want to be extra sure.)
Also,I would like to root my phone. I found a way that someone rooted theirs with their 2.2.2. Do you think I should root first, then change the file so it doesn't update? Or does it matter?
by the way, Here is the root I found(sorry it's a bit long):
"How to root your OTA Updated Revo:
This method requires you to downgrade your phone back to the V4 stock version. As of now, there seems to be no root process for the V6 update. This method has worked for me and I am also on a custom ROM that has been said to have some, if not most of the V6 updates included without the bloatware.
Step One:
- Be sure to get the following files:
---- LG VZW_United_WHQL_v1.2.0.exe
---- LGAndroidDriver_Ver_1.0_All.exe
---- LGNPST_Store_Lab-1.zip
---- VS910.dll (required to use LGNPST_Store_Lab-1.zip)
---- VS910ZV4_04.S4_04.P58008.R5.user.tot
---- RevoToolkit-1.0.apk (This is untested by me but supposed to provide an easier method to install CWM mod vs the ADB method)
---- SuperOneClickv2.1.1-ShortFuse (Includes the needed ADB program)
---- rageagainstthecage-arm5.bin (The exploit needed to root revo, not necessarily found with SuperOneCLick)
---- RevoltRom1.3.zip (This is optional, but recommended to speed up your revo and also to comply with the original topic of this thread. It 'seems' to stop the OTA from 'trying' the update since it includes updated features. NOTE that I said 'seems'... Other things I did may be the actual result I haven't seen the OTA try to install...
Ok, so to start, you will want to be sure that you have the drivers on your computer (I'm using windows 7 x64), so that is what this method has proven to work on by me.
Be sure to install:
- LG VZW_United_WHQL_v1.2.0.exe
- LGAndroidDriver_Ver_1.0_All.exe
Both may not be required, but I have both installed and things worked.
Then you will need to install:
- LGNPST_Store_Lab-1.zip
- VS910.dll (This is just copied into the folder LGNPST/Models. My install put the LGNPST program in C:\LG Electronics, not c:\Program Files (x68)... )
- You will run the LGNPST program, select the VS910.dll via Menu: File --> Select DLL.
- Then, in the bottom right of the LGNPST program, select BIN File (folder icon) to load the 'bin'.
--- This will require you to enter *.* in order to find the .tot file. Don't worry, this .tot file is what you need in the LGNPST Program.
- Once loaded and your phone is connected and recognized (Phone must be in 'Internet USB Mode'), hit the Start Button. This will begin the process of restoring your phone back to V4.
After that has completed, which takes a while, you will then need the SuperClick program to root.
- Copy, or verify, the rageagainstthecage-arm5.bin file is located in the Exploits folder where you extraced SuperOneClick.
- Run SuperOneClick, Select the exploit pull down (which defaults to 'auto') and select the rageagainstthecage option.
- Press the Root button and let it do its thing.
--- If it fails, this is what I had to do.. Reboot your phone. While it is rebooting, have the SuperOneClick program ready and waiting for you to hit Root again. As soon as the LG Logo becomes animated, hit Root and let it try again (While it is rebooting). This seemed to get the read/write options to work, where failed. This possibly is part of the update that is sticking around to stop you from rooting. So, try a few times. If/when succeeded, move on to the next steps if you wish to have some of the update 'fixes' without the update and a faster custom ROM...
To install a ROM, you need to have CWM installed.
Two methods to doing so seem to exist:
- The method I used was at this link: [RELEASE][6-14-2011] CWM Ported to the Revolution 4G! - xda-developers
Follow that and you should have a backup original image and the new image to get CWM to work to install custom ROMs
- The OTHER method, which is UNTESTED by me, is to use a simple tool called RevoToolKit, which is and APK file that runs directly on your phone. If it works, which others seem to say it does, this would be the most simple form of installing CWM to your phone. Be aware that this app is small, but uses a downloader to install CWM, so you want to make sure you have a good internet connection or data connection...
After that, you will want to follow the directions for CWM (ClockWorkMod) at this link:
- [Rom][8-17-11]Revolt Rom 1.3 - xda-developers
After all that, you should have a rooted Revo AFTER you managed to do the update.
I included links to some instructions in order to shorten up this post and not 'copy' someone else's methods and be sure that you can give the credit to them. The only credit I deserve for this is a complete step-by-step, in one place procedure to get you back or to root your Revo if you did the update.
In time, I am sure that there will be a simpler way to root the OTA Update, but until then, this is working for me and hope that this helps clear up some issues for others that find it tough to get back to root after the OTA Update."
It then has the file links, but I cannot post them since I am a newb.
Thanks again!
I don't see a way for you to change the file from .so to .so.bak without having root as far a rooting you only have to downgrade if your phone its v6 if out is running v4 all you need to do is root it
Sent from my VS910 4G using xda premium
Is there a way to do this without buying root explorer? I have bloat freezer so is there anything I can just freeze?
Thank You
*EDIT* just bought root explorer for $.99 through Amazon Appstore for those who still need it.
I'm on V4 and rooted back from V6 but it does not let me rename due to it being a read only file? sooo how do I add the bak? opened it with root explorer and it requested superuser privileges and I ok'ed it but when I go to /system/lib/libdme_main.so and try to rename it, it won't let me.
Sleepykat said:
I'm on V4 and rooted back from V6 but it does not let me rename due to it being a read only file? sooo how do I add the bak? opened it with root explorer and it requested superuser privileges and I ok'ed it but when I go to /system/lib/libdme_main.so and try to rename it, it won't let me.
Click to expand...
Click to collapse
On the top right of root explorer is a "Mount R/W" button. Click that and it should let you make changes to the system.
Hope it helps
"Home-Less and Iconic"
Thanks a bunch . That worked! I had pushed it at the system level. Didn't pay attention that I had to do it at the folder I'm in.
Sleepykat said:
Thanks a bunch . That worked! I had pushed it at the system level. Didn't pay attention that I had to do it at the folder I'm in.
Click to expand...
Click to collapse
Glad to help.
"Home-Less and Iconic"

Unroot?

Is it possible to unroot after using the 1 Click Root? I'm coming from a rooted Droid Eris and I remember the first few people who rooted their Erises had lots of problems and I just wanna make sure we can go back and re-root if a better root process comes along later on...
magicelf said:
Is it possible to unroot after using the 1 Click Root? I'm coming from a rooted Droid Eris and I remember the first few people who rooted their Erises had lots of problems and I just wanna make sure we can go back and re-root if a better root process comes along later on...
Click to expand...
Click to collapse
Yes, but you'd have to do it manually at this point.
You'd delete busybox and su, uninstall superuser.apk, and there may be a symlink you need to undo, but I think the latest one-click cleans that up. I'd have to go back and check.
And any bloat you froze needs to be unfrozen, or bloat removed needs to be restored.
Okay, first version of this tool, be kind and let me know if there are any problems with it.
Also: NO GUARANTEES. If it does something that breaks your phone, I am not liable. Use at your own risk. Etc., etc.
http://www.psouza4.com/Droid3/PetesMotorolaRootTools_v1.03.zip
UPDATE 9/1/2011: version 1.03
I'm trying the one touch unroot and keep getting an error about the /sdcard/d3unroot folder missing files.
I extracted all of the APKs from your link to my /sdcard/d3unroot directory, but for some reason one touch unroot will not work.
The root worked great
same error here...
Get that error as well
Same here.
Why does it even need that to un-root @ that point?
I'm getting the same error.
Is it really a one-click method?
I'm a dummy so I think I'm gonna wait for some clarity.
Thanks for doing this, man!
Fully re-written and should un-root and restore /system/app for both v5.5.959 and v5.6.890. Enjoy!
http://www.psouza4.com/Droid3/PetesMotorolaRootTools_v1.03.zip
This program is for Windows only and can:
root your device (most Motorola Gingerbread devices)
unroot your device
restore your /system/app, even if you deleted files
And a bit more, such as un-freezing apps if you un-root just like Titanium Backup can.
So how do I do this. Is it the same as the one click root meaning unzip the file and put my phone into charging mode and let it do its thing
Sent from my DROID3 using XDA App
spacecasespiff said:
So how do I do this. Is it the same as the one click root meaning unzip the file and put my phone into charging mode and let it do its thing
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
Pretty much -- this is an all-in-one. It'll tell you where to download files and where to put them when you begin.
I guess I'm just retarded I can't get this to work. I give up. Looks like I'm gonna have to get VZ to mail me a new D3
Yonnor said:
I guess I'm just retarded I can't get this to work. I give up. Looks like I'm gonna have to get VZ to mail me a new D3
Click to expand...
Click to collapse
Why can't you? More than willing to help, but have to tell me what the problem is. And bear in mind that I put out a new version less than 2 hours ago that fixes a LOT (it's a full rewrite).
ok ive downloaded the file to my computer.
Keep getting the error for the Restore data not being in the right place. I've extracted the files to the right spot (I think)
is the restore folder supposed to be located in the Root Tools folder, and then all the apk's placed that Restore folder?
Yonnor said:
Keep getting the error for the Restore data not being in the right place. I've extracted the files to the right spot (I think)
is the restore folder supposed to be located in the Root Tools folder, and then all the apk's placed that Restore folder?
Click to expand...
Click to collapse
Basically, yes.
I'll use your desktop as an example, so if you have:
Desktop\New Folder\Pete's Motorola Root Tools.exe
Then you'll want to extract all the files for the /system/app fix to:
Desktop\New Folder\restore
So that you have:
Desktop\New Folder\restore\AccountAndSyncSettings.apk
Desktop\New Folder\restore\AccountAndSyncSettings.odex
Desktop\New Folder\restore\AdminFeedNotifier.apk
etc.
This assumes you are using my new version 1.03.
psouza4 said:
Basically, yes.
I'll use your desktop as an example, so if you have:
Desktop\New Folder\Pete's Motorola Root Tools.exe
Then you'll want to extract all the files for the /system/app fix to:
Desktop\New Folder\restore
So that you have:
Desktop\New Folder\restore\AccountAndSyncSettings.apk
Desktop\New Folder\restore\AccountAndSyncSettings.odex
Desktop\New Folder\restore\AdminFeedNotifier.apk
etc.
This assumes you are using my new version 1.03.
Click to expand...
Click to collapse
Ok thank you, I'll give this a shot again.
EDIT: I have it set up as:
Desktop/PetesMotorolaRootTools_v1.03/restore/(all the apk's)
And I'm still getting the:
ERROR: /restore/ backup doesn't exist or is incomplete! etc etc
ok i just unrooted and all is good now im rooting agian. so thank you for this on click unroot meathod. its good to know that if i want to unroot i can. You should put this on every forum that you can. I will aslo tell people about it. You did a good thing for the people on this one. I think a lot of new people will whant to root now that they have a way to undo it.
Lol well like 8th try and I got it to work. Sorry for pestering you so much.

OTA Update Issue

My Droid 3 is rooted and I received the OTA notification. It downloads fine, reboots the phone, and begins to update. About 1/3 the way to update, the Android turns into an Exclamation point and reboots. Once back to home screen I get an Update Failed error.
Here is what I did so far:
-Defrosted all apps then rebooted
-Restored all system apps with Pete's One Click Root
-Pulled Battery for 5 min
-Factory Reset Phone
After each of these steps I tried to install the update and same thing. Will not get past 1/3. Any suggestions?
u need to rsd the swu.zip in order to get the update
OK, where can I get the swu.zip?
lacesout said:
OK, where can I get the swu.zip?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1255198
here u will find it along with rsdlite n adb fastboot. (make sure U read all that b4 U do it)
mrcastillo said:
http://forum.xda-developers.com/showthread.php?t=1255198
here u will find it along with rsdlite n adb fastboot. (make sure U read all that b4 U do it)
Click to expand...
Click to collapse
Thank you, this work!
lacesout said:
My Droid 3 is rooted and I received the OTA notification. It downloads fine, reboots the phone, and begins to update. About 1/3 the way to update, the Android turns into an Exclamation point and reboots. Once back to home screen I get an Update Failed error.
Here is what I did so far:
-Defrosted all apps then rebooted
-Restored all system apps with Pete's One Click Root
-Pulled Battery for 5 min
-Factory Reset Phone
After each of these steps I tried to install the update and same thing. Will not get past 1/3. Any suggestions?
Click to expand...
Click to collapse
lacesout, had the same experience. Used one-click method to root, then used psouza4's bloat script to remove, then restore apps when the update became available. These were my only mods. Went to /system/app and all app's are back with the proper apk extension. Update downloads fine, then hangs at 1/4 to 1/3 of install. Anyone else with similar experience or thoughts as to what's hanging the OTA install?
If you used the script to re-bloat the system, use root explorer and double check all the ".bak"s were removed. I don't remember which one, but I remember there was a file or two the script skipped over.
Also, if you did a nandroid before debloating, you can restore it, then go get the update. (The second option is what worked for me).
Sent from my DROID3 using XDA App
nu2droid said:
If you used the script to re-bloat the system, use root explorer and double check all the ".bak"s were removed. I don't remember which one, but I remember there was a file or two the script skipped over.
Also, if you did a nandroid before debloating, you can restore it, then go get the update. (The second option is what worked for me).
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
Thanks for the reply and the tip on root explorer, it's an elegant tool, more intuitive to use than the freeware apps.
All the file extensions in /system/app are either .apk or .odex with the exception of Fota.apk.bak, and Fota.odex.bak. As the first time I heard of nandroid was your post, I unfortunately didn't use it, so I don't know if these were the extensions before I used psouza's bloat removal script. Fota was not on the list of scripts to remove/rename in his original post.
As Fota is the "firmware over the air" app, it is suspicious that it's the only one with a .bak ext. I am using root explorer to rename both, removing the .bak, and then will attempt another update.
Success! "Your phone has been upgraded to 5.6.890.en US version". Have lost root, at least for the moment. Will deal with that tomorrow. Last thing to do before going to bed is find the "Thanks" button. Thanks for setting me on the right path. P.
Unable to root after OTA to .890
One click root not longer works. After clicking "run_to_root_your_droid3.sh" on PC (Ubuntu 10.04) I get no prompts on screen, but phone does reboot twice. No su privileges after boot. Busybox is installed in /system/xbin and there is nothing I can do about it as I can't mount r/w. Using Root Explorer and Script Manager as tools.
I realize I'm going to have to increase my learning curve here. Would appreciate any links to relative threads on this topic, or suggestions on what to try next (I have searched, but need some direction).

R/W Issues

It's been around 8 years since I attempted to mod a phone. So far I've installed the latest Proton Rom, rooted with Magisk, installed Smali Patcher and installed the Proton Kernel. I'm not a programmer by any means and my experience outside of Windows is pretty limited; but, I've done what I feel like is a copious amount of research and I can't figure this out. I'm trying to move an .apk from /data/apps to /system/priv-app, but it keeps failing. I've tried installing Termux to execute ADB commands, but I'm way over my head there. I also installed root checker just to be sure I'm properly rooted. Trying to use root explorer or any other app returns the same error every time "Copy Failed". I know Android has changed a lot since Lollipop, including the file system from what I understand, but beyond that I'm generally a cut 'n paste modder.
I feel like this is probably something pretty simple or common knowledge, so hopefully y'all can help me here.
Appreciate it.
PariahNine said:
It's been around 8 years since I attempted to mod a phone. So far I've installed the latest Proton Rom, rooted with Magisk, installed Smali Patcher and installed the Proton Kernel. I'm not a programmer by any means and my experience outside of Windows is pretty limited; but, I've done what I feel like is a copious amount of research and I can't figure this out. I'm trying to move an .apk from /data/apps to /system/priv-app, but it keeps failing. I've tried installing Termux to execute ADB commands, but I'm way over my head there. I also installed root checker just to be sure I'm properly rooted. Trying to use root explorer or any other app returns the same error every time "Copy Failed". I know Android has changed a lot since Lollipop, including the file system from what I understand, but beyond that I'm generally a cut 'n paste modder.
I feel like this is probably something pretty simple or common knowledge, so hopefully y'all can help me here.
Appreciate it.
Click to expand...
Click to collapse
Since android 10, you cannot write anything to the system partition.

Categories

Resources