App to shutdown phone? - Droid Incredible Q&A, Help & Troubleshooting

Hi, everyone. Does anybody know of an app or a way to shutdown the phone at a predetermined time. Reason I'm asking is it would be great to be able to shutdown my phone while still charging at say 5:30 am and have it ready for me when I get up at 6:00. This is all related to the battery "bug" that our dincs seems to have. Thanks

nstavr said:
Hi, everyone. Does anybody know of an app or a way to shutdown the phone at a predetermined time. Reason I'm asking is it would be great to be able to shutdown my phone while still charging at say 5:30 am and have it ready for me when I get up at 6:00. This is all related to the battery "bug" that our dincs seems to have. Thanks
Click to expand...
Click to collapse
If you charge via a computer i'm sure you can write a simple command line script that would issue a shutdown through the adb shell

That certainly is an option even though I do not normally charge via the computer. One problem with this is I would have to leave the computer on in order to provide power to the USB ports. Does anyone know of an app?

Is this "bug" that we have something that can be fixed via an OTA update or is it a hardware problem

Its not a bug. The N1 was the same way. To get a full charge you needed to have the phone off. Again, not a bug with the Inc but rather the way HTC or Google has programmed the battery to behave. at least in 2.1.

Yeah, definitely seems to be by design. Just wondering why HTC or Google would do this? Anyway, I have been searching the market for an app this will allow me to input a set time for the phone to shut down for this very reason. Still have not found anything.

not really sure what you would have to put in the script but you could run a script in the app called gscript
Edit: im bored at work ill see what i can do with gscript to maybe write something for ya.

nvm ... i have a script, but it doesn't seem to work consistently. I will upload it if I can get it to work all the time.

he wants the phone to just shutoff by itself tho without using a computer to tell it to do it.

Well i got the solution for you now you just need to get someone to right a script for you to watch the time and do the shutdown at a specified time.
Get locale and then get the ase plugin app which allows you to start a script at a curtain time.

zerf said:
Well i got the solution for you now you just need to get someone to right a script for you to watch the time and do the shutdown at a specified time.
Get locale and then get the ase plugin app which allows you to start a script at a curtain time.
Click to expand...
Click to collapse
Yep, that's what I was working on. The script was really simple, I just had to mod ASE to give it extra permissions. I tested this thoroughly and it works well. You can setup a trigger in ASE to run the script daily at the same time.
NOTE: The first time this script runs, you will be shown a 'Complete action using' menu of intents to use to complete the action. Make sure you check the 'Use by default for this action' and select Android System to complete the action. (still working on that)
Instructions:
1. Download and extract the attached zip.
2. Install the apk that is inside.
3. Open ASE and press the menu key-->View-->Interpreters
4. Press menu-->Add and select Lua 5.1.4 from the menu
5. After Lua is installed (should be fairly quick) press back to get back to the scripts screen
6. Next, push the script to your sd card
Code:
adb push PowerDown.lua /sdcard/ase/scripts/
7. Now press menu-->View-->Triggers
8. In the Triggers menu press menu-->Add Repeating and select Repeating from the menu
9. Select the script we just pushed over, PowerDown.lua
10. Select Start in Background
11. In the Repeat Every popup, set the interval for one day and press Set (make sure you do this at 1730 or when you want it to run)
12. You are now finished setting up ASE
Make sure add ASE to your task manager Ignore list so it is not killed. If you like, you can add a shortcut for the script on your home screen. To do this, go through the motions of adding a shortcut to your home screen and select ASE from the menu of shortcuts. Last, select your script from the list. Now, simply tapping the icon will cause the phone to shutdown.
I hope this helps.

ihtfp69 said:
Yep, that's what I was working on. The script was really simple, I just had to mod ASE to give it extra permissions. I tested this thoroughly and it works well. You can setup a trigger in ASE to run the script daily at the same time.
NOTE: The first time this script runs, you will be shown a 'Complete action using' menu of intents to use to complete the action. Make sure you check the 'Use by default for this action' and select Android System to complete the action.
Instructions:
1. Download and extract the attached zip.
2. Install the apk that is inside.
3. Open ASE and press the menu key-->View-->Interpreters
4. Press menu-->Add and select Lua 5.1.4 from the menu
5. After Lua is installed (should be fairly quick) press back to get back to the scripts screen
6. Next, push the script to your sd card
Code:
adb push PowerDown.lua /sdcard/ase/scripts/
7. Now press menu-->View-->Triggers
8. In the Triggers menu press menu-->Add Repeating and select Repeating from the menu
9. Select the script we just pushed over, PowerDown.lua
10. Select Start in Background
11. In the Repeat Every popup, set the interval for one day and press Set (make sure you do this at 1730 or when you want it to run)
12. You are now finished setting up ASE
Make sure add ASE to your task manager Ignore list so it is not killed. If you like, you can add a shortcut for the script on your home screen. To do this, go through the motions of adding a shortcut to your home screen and select ASE from the menu of shortcuts. Last, select your script from the list. Now, simply tapping the icon will cause the phone to shutdown.
I hope this helps.
Click to expand...
Click to collapse
I appreciate your work on this! Can't wait to test it out!

ihtfp69 said:
Yep, that's what I was working on. The script was really simple, I just had to mod ASE to give it extra permissions. I tested this thoroughly and it works well. You can setup a trigger in ASE to run the script daily at the same time.
NOTE: The first time this script runs, you will be shown a 'Complete action using' menu of intents to use to complete the action. Make sure you check the 'Use by default for this action' and select Android System to complete the action. (still working on that)
Instructions:
1. Download and extract the attached zip.
2. Install the apk that is inside.
3. Open ASE and press the menu key-->View-->Interpreters
4. Press menu-->Add and select Lua 5.1.4 from the menu
5. After Lua is installed (should be fairly quick) press back to get back to the scripts screen
6. Next, push the script to your sd card
Code:
adb push PowerDown.lua /sdcard/ase/scripts/
7. Now press menu-->View-->Triggers
8. In the Triggers menu press menu-->Add Repeating and select Repeating from the menu
9. Select the script we just pushed over, PowerDown.lua
10. Select Start in Background
11. In the Repeat Every popup, set the interval for one day and press Set (make sure you do this at 1730 or when you want it to run)
12. You are now finished setting up ASE
Make sure add ASE to your task manager Ignore list so it is not killed. If you like, you can add a shortcut for the script on your home screen. To do this, go through the motions of adding a shortcut to your home screen and select ASE from the menu of shortcuts. Last, select your script from the list. Now, simply tapping the icon will cause the phone to shutdown.
I hope this helps.
Click to expand...
Click to collapse
This sounds great. I will test tonight when I get off work. Thanks for taking the time to do this!

In your instructions ihpft69, how do I push the script to SD card?
"adb push PowerDown.lua /sdcard/ase/scripts/"

htfp69, I have tested this out successfully. One question though. Is there a way to get this to run in locale? For some reason when I clear Android System defaults in menu-->settings-->applications it will work with locale. However, when I attempt it a second time I can see that ASE is running but it does not power off the phone. Thanks again for your help.

nstavr said:
htfp69, I have tested this out successfully. One question though. Is there a way to get this to run in locale? For some reason when I clear Android System defaults in menu-->settings-->applications it will work with locale. However, when I attempt it a second time I can see that ASE is running but it does not power off the phone. Thanks again for your help.
Click to expand...
Click to collapse
The problem is the shutdown permission is reserved for the system only. You cannot give an application this permission either. Thus only the system can perform the intent. I had to add an intent filter to get the pop-up so you can choose the system to perform the intent. For some reason, though, the system ignores defaulted requests so you have to leave that box unchecked for it to work.
BTW, that Locale app is pretty neat. I didnt know it worked with ase. It's much better than using those triggers.
Sent from my ADR6300 using XDA App

Love the work you've done on this script. I have a question though, if I set it to use the system by default, it doesn't work, but if I dont check it, every time it runs it asks what to use. Can it run by itself yet or is that something you're still working on?

^agreed, love the way the script is done

ihtfp69 said:
Yep, that's what I was working on. The script was really simple, I just had to mod ASE to give it extra permissions. I tested this thoroughly and it works well. You can setup a trigger in ASE to run the script daily at the same time.
NOTE: The first time this script runs, you will be shown a 'Complete action using' menu of intents to use to complete the action. Make sure you check the 'Use by default for this action' and select Android System to complete the action. (still working on that)
Instructions:
1. Download and extract the attached zip.
2. Install the apk that is inside.
3. Open ASE and press the menu key-->View-->Interpreters
4. Press menu-->Add and select Lua 5.1.4 from the menu
5. After Lua is installed (should be fairly quick) press back to get back to the scripts screen
6. Next, push the script to your sd card
Code:
adb push PowerDown.lua /sdcard/ase/scripts/
7. Now press menu-->View-->Triggers
8. In the Triggers menu press menu-->Add Repeating and select Repeating from the menu
9. Select the script we just pushed over, PowerDown.lua
10. Select Start in Background
11. In the Repeat Every popup, set the interval for one day and press Set (make sure you do this at 1730 or when you want it to run)
12. You are now finished setting up ASE
Make sure add ASE to your task manager Ignore list so it is not killed. If you like, you can add a shortcut for the script on your home screen. To do this, go through the motions of adding a shortcut to your home screen and select ASE from the menu of shortcuts. Last, select your script from the list. Now, simply tapping the icon will cause the phone to shutdown.
I hope this helps.
Click to expand...
Click to collapse
hey man, this is i looked for a while i use it with tasker. great work, thanks

ihtfp69 said:
Yep, that's what I was working on. The script was really simple, I just had to mod ASE to give it extra permissions. I tested this thoroughly and it works well. You can setup a trigger in ASE to run the script daily at the same time.
NOTE: The first time this script runs, you will be shown a 'Complete action using' menu of intents to use to complete the action. Make sure you check the 'Use by default for this action' and select Android System to complete the action. (still working on that)
Instructions:
1. Download and extract the attached zip.
2. Install the apk that is inside.
3. Open ASE and press the menu key-->View-->Interpreters
4. Press menu-->Add and select Lua 5.1.4 from the menu
5. After Lua is installed (should be fairly quick) press back to get back to the scripts screen
6. Next, push the script to your sd card
Code:
adb push PowerDown.lua /sdcard/ase/scripts/
7. Now press menu-->View-->Triggers
8. In the Triggers menu press menu-->Add Repeating and select Repeating from the menu
9. Select the script we just pushed over, PowerDown.lua
10. Select Start in Background
11. In the Repeat Every popup, set the interval for one day and press Set (make sure you do this at 1730 or when you want it to run)
12. You are now finished setting up ASE
Make sure add ASE to your task manager Ignore list so it is not killed. If you like, you can add a shortcut for the script on your home screen. To do this, go through the motions of adding a shortcut to your home screen and select ASE from the menu of shortcuts. Last, select your script from the list. Now, simply tapping the icon will cause the phone to shutdown.
I hope this helps.
Click to expand...
Click to collapse
I have the same need but I need my device to restart at a schedule time each day....there is an app on the market and I have been in back-forth email with the developer. The restart & shutdown function do not work on the Driod right now..
1. first you have to be rooted for this function of the app, which I am (unrevoked)
2. the "/system/bin" is not in the system search path for the "/system/bin/reboot" to work...I can run it manually via the shell and it will reboot. He plans to fix this...
the app is here: http://www.appbrain.com/app/com.connectivetools.ctschedulerl
Can you make your app to reboot the phone? I do not mind supporting development...
Thx

Related

Swype on MIUI roms?

Quick question for all the rooting gurus out there. I put an updated MIUI rom on my phone and went to re-load Swype from their website, completely legit.
I get an error message when I go to run it saying that my device isn't supported and will run with limited function.
Has anybody found a way around this error messages? Are people finding it with other roms?
Thanks!
That would be happening because you are using ur wrong version...
Sent from my Incredible using XDA Premium App
ianian28 said:
Quick question for all the rooting gurus out there. I put an updated MIUI rom on my phone and went to re-load Swype from their website, completely legit.
I get an error message when I go to run it saying that my device isn't supported and will run with limited function.
Has anybody found a way around this error messages? Are people finding it with other roms?
Thanks!
Click to expand...
Click to collapse
It says that because it thanks your phone is an iPhone because of the Rom your using.... atleast that's my guess.... you might ask on the miui thread they may have a version that works
Sent from my Incredible using XDA App
It's a bit bootleg but the only way I've been able to do it so far:
1. Download and install root explorer. You'll have to pay but it's a useful app and worth it
1. Download swype installer and install swype
2. After installation, there will be a screen with 4 options:
a. watch video
b. start tutorial
c. generate license
d. finish
Click "Generate license"
3. Click "select android keyboard" and change the radio button from "swype" to "android keyboard"
4. Press the home button to exit swype installer and open root installer
5. Go to /data/app
6. Click on "com.swype.android.inputmethod-1.apk" and long hold to bring up the options menu
7. Click move, scroll to /sdcard/download and click "paste"
8. Press the home button to exit root explorer
9. Open swype installer. You should get a force close error. If you do not and instead see the screen with "disable swype", click the back button which will bring you back to the home screen then click swype installer again. Do not continue until swype installer force closes.
10. Go back to root explorer and move "com.swype.android.inputmethod-1.apk" back to /data/app
11. Go back to the home screen and open swype installer
12. Click "select swype" and then select swype
13. Click "finish"
14. Enjoy
Hope that helps. If you have any questions, let me know.
dan0100 said:
It's a bit bootleg but the only way I've been able to do it so far:
1. Download and install root explorer. You'll have to pay but it's a useful app and worth it
1. Download swype installer and install swype
2. After installation, there will be a screen with 4 options:
a. watch video
b. start tutorial
c. generate license
d. finish
Click "Generate license"
3. Click "select android keyboard" and change the radio button from "swype" to "android keyboard"
4. Press the home button to exit swype installer and open root installer
5. Go to /data/app
6. Click on "com.swype.android.inputmethod-1.apk" and long hold to bring up the options menu
7. Click move, scroll to /sdcard/download and click "paste"
8. Press the home button to exit root explorer
9. Open swype installer. You should get a force close error. If you do not and instead see the screen with "disable swype", click the back button which will bring you back to the home screen then click swype installer again. Do not continue until swype installer force closes.
10. Go back to root explorer and move "com.swype.android.inputmethod-1.apk" back to /data/app
11. Go back to the home screen and open swype installer
12. Click "select swype" and then select swype
13. Click "finish"
14. Enjoy
Hope that helps. If you have any questions, let me know.
Click to expand...
Click to collapse
You sir, are a gentleman and a scholar... I tried so many different things and wasted hours until I found this post. Follow his instructions step by step and you'll be up on swype in no time
This worked for me too. Just to add on, the root permissions for the com.swype.android.inputmethod-1.apk should be rw-r--r--. Set this permission in root explorer after long pressing it from data/app after you have completed everything. This is for people who are not able to see swype after rebooting their phone
I usually use TB to backup my swype from a sense rom (or any other rom where swype works correctly) then when I use MIUI i go to Tb and restore. Always worked for me!
Has anybody got this to work with the new Swype 3 beta? I have tried this twice to no avail.
JLO73 said:
Has anybody got this to work with the new Swype 3 beta? I have tried this twice to no avail.
Click to expand...
Click to collapse
I got swype 3 and it is working perfectly on my MIUI
I've got it downloaded and installed but it will not let me license it. Tried the above trick twice and cannot get it to work.
JLO73 said:
I've got it downloaded and installed but it will not let me license it. Tried the above trick twice and cannot get it to work.
Click to expand...
Click to collapse
Found this solution from MIUI.us forums, it requires that you have an already licensed version of swype 2.x
Ok.. have a workaround. Miui automatically enables keyboards so no way to disable it.
1) If you have titanium backup you can first backup swype (not the installer), then uninstall swype, long press home and re-open the swype installer and proceed to login and reinstall swype.
2) Once installed don't press "Done. Long press home and switch back to titanium backup and restore your copy of swype, then re-open the installer (or press Done if already open).
3) Installer should now show something like "your copy is licensed, select swype" Just press select and choose swype, then click Finish. (Do not click Generate license).
Click to expand...
Click to collapse
That did the trick. Titanium backup had already backed up the new version and it kept reinstalling it and would not work. Found a backup of the 2.x and was able to restore it. Thanks for all the help.
Thankyou so much
dan0100 said:
It's a bit bootleg but the only way I've been able to do it so far:
1. Download and install root explorer. You'll have to pay but it's a useful app and worth it
1. Download swype installer and install swype
2. After installation, there will be a screen with 4 options:
a. watch video
b. start tutorial
c. generate license
d. finish
Click "Generate license"
3. Click "select android keyboard" and change the radio button from "swype" to "android keyboard"
4. Press the home button to exit swype installer and open root installer
5. Go to /data/app
6. Click on "com.swype.android.inputmethod-1.apk" and long hold to bring up the options menu
7. Click move, scroll to /sdcard/download and click "paste"
8. Press the home button to exit root explorer
9. Open swype installer. You should get a force close error. If you do not and instead see the screen with "disable swype", click the back button which will bring you back to the home screen then click swype installer again. Do not continue until swype installer force closes.
10. Go back to root explorer and move "com.swype.android.inputmethod-1.apk" back to /data/app
11. Go back to the home screen and open swype installer
12. Click "select swype" and then select swype
13. Click "finish"
14. Enjoy
Hope that helps. If you have any questions, let me know.
Click to expand...
Click to collapse
I looked everywhere for a way to get swype 3.x to work on my vibrant with MIUI but none of the stuff I found actually worked, EXCEPT THIS.
Like someone said right after your post:
You Sir, are a gentleman and a scholar...
This way took a couple of tries but it definitely worked
Tried the Titanium method thousands of times and variants on my Nexus S and didn't got it working.
The File Manager method worked like a charm, on the second try. Don't know if it matters, but worked after rebooting the phone and following rhe guide.
The good news is you don't need to expend money buying the Root Explorer App. I've used ES file explorer without any problem.
i didn't do anyspecial "trick" to get mine working, i just went thru and unistalled all the older version.. cleared cahces of app and installer, installed a redownloaded version off webpage.. then just went all the way thru till the 4 part screen, "generate license" just select the swype option and then i think i hit finish... can't remember the rest.. sorry..
dan0100 said:
It's a bit bootleg but the only way I've been able to do it so far:
1. Download and install root explorer. You'll have to pay but it's a useful app and worth it
1. Download swype installer and install swype
2. After installation, there will be a screen with 4 options:
a. watch video
b. start tutorial
c. generate license
d. finish
Click "Generate license"
3. Click "select android keyboard" and change the radio button from "swype" to "android keyboard"
4. Press the home button to exit swype installer and open root installer
5. Go to /data/app
6. Click on "com.swype.android.inputmethod-1.apk" and long hold to bring up the options menu
7. Click move, scroll to /sdcard/download and click "paste"
8. Press the home button to exit root explorer
9. Open swype installer. You should get a force close error. If you do not and instead see the screen with "disable swype", click the back button which will bring you back to the home screen then click swype installer again. Do not continue until swype installer force closes.
10. Go back to root explorer and move "com.swype.android.inputmethod-1.apk" back to /data/app
11. Go back to the home screen and open swype installer
12. Click "select swype" and then select swype
13. Click "finish"
14. Enjoy
Hope that helps. If you have any questions, let me know.
Click to expand...
Click to collapse
This is the only thing that worked for me. NOTE: It only worked for me after I tried it with the Full Swype Beta instead of the English/Spanish version.
oh my..
ure soo great,,
thanks alot,,
thanks button for u
This is a known bug on the Swype website. They have posted a workaround which I tried and it worked after several attempts:
"Unable to install Swype on MIUI Rom
When Swype is installed it needs to be unloaded from Android at the time the Swype Installer passes the authentication key to the Swype program. MIUI attempts automatically load and enable any input device into memory as soon as they are available. Because of this there is no reliable way of getting Swype working on MIUI, and even if you do it may not stay enabled for long.
However if you'd like to try, Android Peak has developed a workaround that works some of the time.
UPDATE: marchief has found a workaround which does not require the use of Titanium Backup, may produce more consistant results:
Download installer
Download and install swype
At the enable step leave the installer and select swype as the input device
Reboot your phone
After Reboot, open the swype installer again
Select "Select Android keyboard" and change input back to android keyboard
Choose disable swype, go to applications and uninstall swype but NOT THE INSTALLER
Go back to the installer and generate license
This should put you through the download process again so just follow it and re-install swype
Once re-installed it should generate the license, but it still won't work
Reboot your phone again and all should work, enjoy!"
dan0100 said:
It's a bit bootleg but the only way I've been able to do it so far:
1. Download and install root explorer. You'll have to pay but it's a useful app and worth it
1. Download swype installer and install swype
2. After installation, there will be a screen with 4 options:
a. watch video
b. start tutorial
c. generate license
d. finish
Click "Generate license"
3. Click "select android keyboard" and change the radio button from "swype" to "android keyboard"
4. Press the home button to exit swype installer and open root installer
5. Go to /data/app
6. Click on "com.swype.android.inputmethod-1.apk" and long hold to bring up the options menu
7. Click move, scroll to /sdcard/download and click "paste"
8. Press the home button to exit root explorer
9. Open swype installer. You should get a force close error. If you do not and instead see the screen with "disable swype", click the back button which will bring you back to the home screen then click swype installer again. Do not continue until swype installer force closes.
10. Go back to root explorer and move "com.swype.android.inputmethod-1.apk" back to /data/app
11. Go back to the home screen and open swype installer
12. Click "select swype" and then select swype
13. Click "finish"
14. Enjoy
Hope that helps. If you have any questions, let me know.
Click to expand...
Click to collapse
I have been trying to get Swype to work since I installed MIUI 1.7.15 last Saturday, and nothing seemed to work. Followed your guide and it works great! Thanks SO much.

[VZW/SPRINT/GSM][Guide] Ultimate Galaxy Nexus Guide (Unlock/Root/Flash Roms/FAQ)

Post One: Unlocking and Rooting
Post Two: Installing Roms / Kernels / Tweaks
Post Three: Panic Section / FAQ / Miscellaneous
Unlocking The Bootloader And Obtaining Root
*This part of the tutorial is geared towards Windows users. I have a windows machine and will post instructions only on methods I personally have tested. This guide will assist other users. Once we unlock and root your device: this guide will be relevant to everyone.*
Time required:
20-40 minutes.
Setting up ADB for our device:
Download the AndroidSDK onto your computer.
Note: Google changes their mind every other week as to if this will be distributed as a .zip or an .exe. If you get an .zip file, simply extract the contents to your C:\ drive. For an .exe install it like you would any other program, but set the path directly to the C:\ drive when the installer asks.
Or...you can use this page to download the "ADB for Dummies AIO App."
This will automatically install ADB for you to your C:\ directory. It's very very simple this way.
If your platform-tools folder doesn't have a fastboot.exe, place this fastboot.exe file in your C:\android-sdk-windows\platform-tools (or possibly simply called tools, if you set up ADB ages ago) folder.
Now you have ADB installed! Congratulations.
Unlocking the Bootloader:
***NOTE***
This will perform a factory reset on your device. You'll lose all applications. You'll lose everything. Even the data on your SD Card! Backup your SD to your computer BEFORE performing this. There is a method for backing your applications up, detailed HERE.
Get the drivers:
Uninstall any previously attempted drivers if they don't work and move to the next.
Samsung's website has a download here under "Manuals & Downloads > Software."
Option Two: Navigate to the "Device Manager" (Control Panel > Device Manager) in Windows and Select the android device. Open the properties and select the "Install Driver" option. Pick the driver with "Install from disk." Ignore any warnings about the driver not being signed properly.
PDAnet's drivers may work if the above options don't. Simply install PDAnet (after uninstalling any previous attempted driver installations) to get the drivers.
While that is downloading, on your Galaxy Nexus: turn USB debugging on.
This can be found in Settings>Developer Options>USB Debugging
Once the drivers are installed, navigate to the C:\android-sdk-windows\platform-tools folder on your computer.
Hold shift and right click. Select "Open Command Window Here."
On your phone: turn USB Debugging On. This can be found in Settings>Developer Settings.
Plug your phone into the computer. Now in this command window type:
Code:
adb reboot bootloader
(Hit Enter)
Your phone should now boot into a screen with a green android with his chest exposed.
Type this:
Code:
fastboot oem unlock
(Hit Enter)
If your Command Prompt displays the message "waiting for device" your driver wasn't successfully installed.
Close the Command Prompt window and open Device manager while your phone is still plugged in. (Search for it using the search option).
Right Click the "Android" option and select Update Driver. Choose to "Browse My Computer" and "Let Me Pick From A List." Pick the Samsung driver with the newest date and install it. Now retry the code above.
Your phone will ask if you want to unlock it. Select "Yes" by using the volume keys and use power to select it.
Now, navigate to "Recovery Mode" with the volume keys. Use power to select.
A screen with another Android will pop up. Press Volume Up and Power at the same time.
Select Factory Reset. This process may take a few minutes. Be patient and let it work.
Once finished, select "Reboot."
Your phone is now unlocked!
Obtaining Root Access and Custom Recovery:
Turn on USB Debugging in Settings>Developer Options>USB Debugging.
Download the following:
SuperSU (CWM .zip)
CWM (Pick the version for your device [GSM/SPRINT/VERIZON])
Place the recovery-clockwork-VERSIONNUMBER-toro.img (or the recovery-clockwork-VERSIONNUMBER-toroplus.img if you're a Sprint user. Or the recovery-clockwork-VERSIONNUMBER-maguro.img if you're a GSM user) file into your C:\android-sdk-windows\platform-tools folder.
Put the SuperSU.zip on your phone.
Open another Command Prompt if it isn't still open. (Navigate to C:\android-sdk-windows\platform-tools and shift + right click. Select "Open Command Window Here.")
With your phone plugged in type:
Code:
adb reboot bootloader
(Hit Enter)
And wait for your phone to boot into the android again.
Now type:
Code:
fastboot flash recovery IMAGENAME.img
(Change the file name to the correct file name and Hit Enter)
Once that is finished: select the "Recovery Mode" option again on your phone.
You should get a new recovery menu here. Select "install zip from sd card" and "choose zip from sd card."
Find the SuperSU.zip that you transferred earlier and select "Yes" to installing.
Navigate back to "Reboot" and reboot your phone.
You're now rooted!
However, ClockworkMod Recovery won't continue to load after this.
To fix this, find "Rom Manager" from the market. (The free version is fine.) Use the "Flash ClockworkMod Recovery" option.
If your recovery still doesn't stick around after a reboot, you have another couple options. Find a file explorer that allows root access, such as Root Explorer. Use this program to rename /system/etc/install-recovery.sh to /system/etc/install-recovery.bak. You'll need to mount the system as r/w to do this. Root Explorer provides a button at the top to do so.
Or, you can do this completely manually by firing up ADB again and running a few commands:
Code:
adb shell
(Hit Enter)
Code:
su
(Hit Enter)
Code:
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
(Hit Enter)
Code:
mv /system/etc/install-recovery.sh /system/etc/install-recovery.bak
(Hit Enter)
Congratulations!
Your phone is now unlocked, rooted, and has a custom recovery!
Continue reading the next posts for info on getting custom roms, kernels, tweaks, and more!
***I take no responsibility for what happens to your phone due to following this guide! That being said, not only am I sure you'll be fine...but there are an endless amount of users who would be glad to help if you need it.***
Thanks:
Google, for making Android a reality.
VanillaTbone, for the ADB AIO app.
Droid-Life, for a previous guide that I used as an outline while writing this one.
Efrant, for posting about a bootloader locking utility without USB.
ClockworkMod team, for being a part of making our phones as awesome as they are.
The assorted developers, who continue to push out amazing material for us to use.
The awesome community, for endlessly supporting both Android itself and its users.
Installing Custom Roms Kernels and Tweaks
All of the instructions below require your bootloader to be unlocked. Please follow the guide above and return here when you're done.
Backing Your Files Up:
Time required:
15-25 minutes.
Making a Nandroid
The first thing you're going to want to do is back up your phone's entire system. This is done by making a "nandroid."
To do this, boot into ClockworkMod Recovery. To accomplish this: Turn your phone off. Once it is completely off: hold both volume buttons and the power button until the Android with his chest exposed is displayed. Navigate to the "Recovery Mode" option and select "backup."
This will take some time. Be patient and let it finish. This process is important! You should always have a recent nandroid available on your device.
Backing Your Applications Up
Install Titanium Backup from the market.
Open Titanium Backup. A Superuser request should pop up. Allow it. Note: if Titanium Backup then says it failed to obtain root access; press the menu button and select more>reload application.
Press menu>batch. Select "Backup all User Apps." Select all and "Run the Batch Operation."
Let the process complete. This may take quite some time: depending on how many applications you have installed.
You can now backup your Text Messages, Bookmarks, and WiFi addresses with Titanium Backup as well.
Press Menu>Backup Data To XML to do so.
Backing Your Contacts Up
Note: This process may or not be useful to you. The Google servers should automatically import any contacts you have stored back whenever you install a new rom. Also note that Facebook/Google+/etc contacts will need to be synced again through their respective applications.
Open the Contacts application.
Press the Menu button.
Select import/export.
Export to storage.
Installing A Rom (Or Kernel/Radios/Tweaks/Themes/etc.)
Time Required:
5-10 minutes.
Note:
Follow the guide above about backing your phone up before attempting!
This guide will also work for flashing kernels/radios/themes/tweaks/etc. Simply ignore the part about wiping data and wipe whatever the thread says you should. You only need to restore data after a rom install.
Find a Rom You'd Like To Try:
Verizon Galaxy Nexus
Sprint Galaxy Nexus
GSM Galaxy Nexus
Download the rom you'd like to try on your device.
Most roms also require you to install "gapps" as well.
You can find the correct ones for the rom you're using in the rom thread.
Make sure the Rom and Gapps are on your SD card.
Now, open Google Wallet (if you have it installed) and press Options>Settings>Reset Google Wallet. This will prevent the "Secure Element" errors some users have experienced.
Boot into ClockworkMod Recovery by turning your device completely off. Hold volume up, volume down, and power until the green Android with the open chest is displayed. Navigate to "Recovery Mode" with the volume buttons and select using the power button.
Remember to have a recent nandroid before continuing!
Navigate to "wipe data/factory reset" and select it. Select "yes."
Wait for the process to complete. This may take some time. Be patient!
Once complete: Navigate to "Install Zip from SD card" and "Choose zip from SD card."
Find the rom's .zip and install it. Once that completes install any applicable gapps' .zip.
Select the "Reboot" option.
Congratulations! Your phone should now boot into the custom rom!
Follow the prompts to re-activate your phone.
Restoring Your Applications / Contacts / Nandroid
Time Required:
5-15 minutes.
Restoring Your Applicaions
Install Titanium Backup. Note: you may want the pro key. If you have it, you won't have to manually click "install" on each application. The process is completely automated. Open Titanium Backup (grant root access. If titanium says it failed to obtain root access, press menu>more>reload application). Press menu>batch>restore missing apps with data. Now, here you have a choice to make. Do you want a completely clean install? Select "app only" and run the batch operation (Deselect Google Wallet first. We don't want to risk restoring wallet in any way. Install it manually through the Play Store.). Do you want all of your application data (saved games/settings/etc)? Select "app+data" and run the batch operation (Deselect Google Wallet first. We don't want to risk restoring wallet in any way. Install it manually through the Play Store.). This MAY cause you problems or it may not. Personally, I often restore application data and seldom run into any trouble. If you do find that restoring data caused problems, follow the guide above to re-install your rom and restore without data. This process will take some time. Be patient (I'd suggest turning your screen off so the screen doesn't burn, but that's just me.) It will vibrate upon completion.
You can now restore your Text Messages, Bookmarks, and WiFi addresses if you backed them up by pressing Menu>Restore Data From XML.
Note:
Overclocking/CPU tweaking applications should never be restored with data. Simply deselect it from the list.
Facebook/Haxsync/Google+ may have problems restoring your contacts when installed through Titanium Backup. Simply uninstall and reinstall through the market (and be sure to log in and select to sync your contacts again).
Also, if you have NFC Task Launcher successfully launching Tasker tasks with your stickers: they may not immediately work.
Through my testing, it's as simple to fix as uninstalling NFC Task Launcher and Tasker. Restore Tasker first. Then restore NFC task launcher.
Restoring Your Contacts
If google fails to restore your contacts (not facebook/haxsync/google+/etc) you may import them manually if you backed them up.
Open the contacts application and press menu>import/export>import from storage.
Restoring A Nandroid
If your phone is acting funny or won't boot...restore a nandroid from a previous rom or working set-up.
You may also use a Nandroid to switch back to a previous rom if you decide you don't like the one you're on.
Do this by booting into ClockworkMod Recovery (hold volume up, volume down, and power while your phone is off and navigate to "Recovery Mode").
Simply select "restore" and find the most recent (or relevant) backup.
This process will take some time. Be patient and let it complete! Once done, select "Reboot."
Note:
Nandroids are stored in the "clockworkmod" folder on your SD card. They take up quite a bit of space. ALWAYS have at least one recent one on your SD card. However, since these are huge files: you may like to delete old ones to save space. You must delete backups by booting into CWM and navigating to Backup and Restore>Delete.
Important Notes About Restoration
I outline the method of using Titanium Backup above for a reason. Restoring system applications and data is the most common cause of problems on custom roms. For this reason, always ONLY restore "missing applications" from "user applications" that were backed up when restoring onto a new rom. Every time you restore system data or applications a narwhal sodomizes your favorite childhood cartoon. This is FACT.
Installing Alternate Custom Recoveries
If you find a custom recovery (such as the touch-recovery options) that came as a .img file:
Use these instructions to flash. Plug your phone into the computer. Open up ADB. Move the .img to the C:\android-sdk-windows\platform-tools folder.
Type the following:
Code:
adb reboot bootloader
(Hit Enter)
You can also manually boot to the bootloader by powering off and holding volume down, volume up, power buttons until the green Android with his chest exposed is displayed.
Then type:
Code:
fastboot flash recovery FILENAME.img
(Replace the file name with whatever the .img is called and Hit Enter).
Wait for the process to complete and reboot.
***I take no responsibility for what happens to your phone due to following this guide! That being said, not only am I sure you'll be fine...but there are an endless amount of users who would be glad to help if you need it.***
Panic Section! (Something is Wrong)
Q: My phone won't boot!
A: The easiest option is to get into recovery and restore a nandroid using the above guide (pull battery to put phone in an off-state if needed).
However, more advanced options are available if you don't have a nandroid available (You're naughty).
Do you have another rom .zip available on your SD card? If so, simply use the above guide for installing a rom to get you booting again.
If not, you can download one on your PC. Boot into fastboot (the green Android with open chest menu). Navigate to recovery and select it with the power button.
Move the .zip to the C:\android-sdk-windows\platform-tools folder.
Open ADB.
Change the NAMEOFZIP.zip below to the correct file name...and perform the action.
Code:
adb push NAMEOFZIP.zip /sdcard/NAMEOFZIP.zip
(Hit enter)
You may have to reboot recovery to get the file to show up. Now follow the guide above for flashing a rom to get you booting again.
Did you install a tweak that modified only a file or two on your phone? (Find this out by opening the .zip and looking in the folders (ignore META-INF). Good news! We MAY be able to recover you completely. If this doesn't work...you'll have to follow another method.
Get your phone into fastboot (the boot-menu that allows you to select recovery/reboot/etc). Navigate to recovery and select it. Start up ADB. Pull the files that were modified out of the stock rom's .zip (using whatever tweak you were installing as reference to find what was changed) that you're on into the C:\android-sdk-windows\platform-tools folder. Now we're going to push these files onto your phone...replacing the tweaked ones and hopefully getting you booted again. Use this code, but change the values of the file name and where it should reside. This is only an example!
Code:
adb shell
(Hit Enter)
Code:
su
(Hit Enter)
Code:
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
(Hit Enter)
This will mount your system so you can write to it.
Code:
exit
(Hit Enter)
This should exit shell and allow the use of adb commands again. You may need to type it a couple of times (until the #_ changes back to the platform_tools> prompt).
Code:
adb push framework-res.apk /system/framework/framework-res.apk
(Press enter after each file that you need to replace).
Note: This last option probably won't work. I'd just skip over it unless you're absolutely adamant about restoring your current setup and want to try everything possible.
Q: I want my SDcard files from my phone...but I'm in a situation where I need to flash stock images! This will erase my SD content. What can I do to save it?
A: Do you have a custom recovery installed? If not, download a custom recovery from post one in this guide and flash it using those instructions. You'll need to be in a custom recovery in order to obtain ADB access without booting your phone. Boot into recovery (With phone turned off: hold Power and Volume+ and Volume- until the bootloader pops up and navigate to "Recovery"). Run the command:
Code:
adb pull /sdcard/ /SDCARD/
(Hit Enter)
This will put all of your files into a folder called "SDCARD" in your C:\ drive. Keep in mind that this will take a LONG time. Maybe a couple of hours.
To restore once you're booting again:
Move the "SDCARD" folder you created from your C:\ drive to the platform-tools folder. Then input:
Code:
adb push SDCARD /sdcard/
(Hit Enter)
Q: How do I make an "ADB Backup?"
A: An ADB Backup will backup your phones data (applications and their settings). Follow the guide HERE about ADB Backups.
Q: My phone gets really sluggish and often turns off or reboots on its own.
A: Without knowing anything about your situation...I'd say you either have severely bad data somewhere or some bad kernel tweaks. Use the rom install guide above, paying close attention to the part about backing up and restoring if you haven't already. In the case of a kernel problem, you're likely undervolting too low. Restore the stock kernel values and see if your problems subside.
Q: My phone screen won't turn on! This requires a battery pull to fix.
A: This is called a "Black Screen of Death" or BSOD. This is generally due to using a governor such as InteractiveX or HotplugX or possibly undervolting your device too low. Change governors or up your slots a bit.
Q: My phone is doing really weird things. Regardless of kernel/rom and even if I don't restore any data at all! Either that or I simply cannot boot up! My phone is possessed no matter what I do!
A: Razorloves has made a wonderful guide on restoring your Verizon phone back to stock. You can find it Here.
Shabbypenguin made an ODIN guide for Sprint users located Here.
Evostance made one for the GSM users, found Here.
Verizon/GSM images can always be found Here in the case that the above guides aren't updated.
Change the file names in the above guides, and you'll be good to go. *At the time of writing: Sprint images not available directly from Google.*
Q: My USB port is broken. How can I return to stock and re-lock my bootloader?
Follow the instructions in THIS post.
FAQ
Roms/Kernels
Q: What is the best rom?
A: The "best" rom is a matter of opinion. Do you like a certain customization and can't live without it? Use a rom that has that option.
Q: What is the best rom for battery life?
A: Roms themselves really shouldn't impact your battery all that much. They can have an impact, but if you're really looking for better battery I'd suggest swapping kernels or tweaking yours.
Q: What is the best rom for stability?
A: All of the roms out are "stable." They may have options that don't work correctly, but generally: this is user error. If you follow my advice on installing a rom, you'll end up with MUCH fewer bugs.
Q: What is the best kernel?
A: The best kernel is a matter of opinion. Some users may love one, while others swear by another. Find one you like and tweak it accordingly.
Q: How do I tweak a kernel for better battery?
A: Generally, you'll want to either change your governor and or undervolt and or underclock your kernel. This is done either by using SetCPU or similar apps, or with an option in your rom (usually labeled "performance" or something similar). Take note: extremely high/low voltages may cause instability. Never "set at boot" until you've thoroughly tested the options you've set. Testing includes low strain (like turning your screen off for an hour) and high strain (like playing a game for an hour) scenarios. To be extra safe: run the values for a couple days before setting them at boot. Follow the users ideas in the kernel's threads for some guidelines. However, remember that not all values will play nicely with all phones.
Miscellaneous
Q: Why does my phone perform so bad on benchmarking tests?
A: This depends on what you define as "bad." Does your phone feel fine? Ignore it. If your phone is really sluggish...you're running bad kernel settings or have bad data somewhere. That being said: our phones aren't going to be FANTASTIC with these benchmark tests. Sorry, but they aren't. We have a huge screen. And huge pixel density. And our GPU isn't the greatest of greats. This isn't bashing on the nexus at all. I'd rather have a phone that performs in every day use than a phone that gets a "FANTASTIC" benchmark but feels groggy when I perform simple tasks.
Q: How can Verizon users get Google Wallet?
A: Scan this with Google Goggles. Open the link with the Play Store.
Q: Why isn't Google Wallet working at [store]?
A: I'm not sure if it's a Google Wallet problem, or a problem with the terminal. But I personally struggle to find a terminal that consistently works in my area. Something that has generally worked for me is to open wallet and go to Options>Reset Google Wallet. You must then re-add any cards you had.
Q: Does my ass look good in these shorts?
A: Yes.
Neat Ideas / How to Show Off the Galaxy Nexus
-Get some NFC stickers. Tagstand has them available.
You can use these to make your phone perform certain tasks when you touch the sticker. Use NFC Task Launcher to define the tasks. These are capable of doing simple things like muting your volume to the more complex like turning on Tasker tasks that do things like auto-reply to text messages while you're at work.
-Do you have any suggestions? Submit them below!
***I take no responsibility for what happens to your phone due to following this guide! That being said, not only am I sure you'll be fine...but there are an endless amount of users who would be glad to help if you need it.***
Thanks for the great guide!
I have a few questions. What are kernels? What do they do? Can I have a bad kernel and ROM combination? I'm currently using AOKP build 27. What are some good kernels you would suggest? Should I save my current kernel? How would I go back to my current kernel?
Are BAMF and CM9 only for the CDMA GNex? They both say Toro and isn't that the CDMA version and Maguro is the GSM?
Tks man it was easy and smooth, now i´m rooted rocking cm9 on my Galaxy Nexus!!
3bs11 said:
Thanks for the great guide!
I have a few questions. What are kernels? What do they do? Can I have a bad kernel and ROM combination? I'm currently using AOKP build 27. What are some good kernels you would suggest? Should I save my current kernel? How would I go back to my current kernel?
Are BAMF and CM9 only for the CDMA GNex? They both say Toro and isn't that the CDMA version and Maguro is the GSM?
Click to expand...
Click to collapse
Kernels are the base of your phone.
They are the "engine" as far as software is concerned.
Bad Kernel/Rom combinations...kind of.
Some features may be removed from kernels. Like the ability to use the color control built into CM9. But generally, no. Other than hard-linked features built for the rom and supported by the kernel, no. I've yet to find any other than the CM9 reference I made.
Going back is as simple as re-flashing your kernel.
Remember: turn of any CPU changing apps like SetCPU or Rom-specific "performance" features before switching. You can then re-evaluate your settings.
Bamf is toro only still, I believe.
http://download.cyanogenmod.com/?device=maguro
Maguro cm9 (gsm).
Oh...
And bump for ze sake of easy access.
Wish I could get this stickied <_<
agreed this should be stickied...an a read this 20 times should be applied before posts can be made.....Oh and thanks for this it will be a one stop shop as it progress's.....
Awesome guide. Needs to be stickied. Also, I agree, my ass does look good in these shorts...
Sent from my GSM Galaxy Nexus using XDA Premium
beans_p_ said:
Awesome guide. Needs to be stickied. Also, I agree, my ass does look good in these shorts...
Sent from my GSM Galaxy Nexus using XDA Premium
Click to expand...
Click to collapse
Le' bump.
Huge props, this is fantastically written and very in depth. If I had never flashed before this would be brilliant. Thank you for your work mate excellent job
J
Sent from my Galaxy Nexus - AOKP M4 - Franco M1
Thanks sir!
Another bump.
And I'll continue to do this until this is stickied.
It's straight stupid to not even have ONE stickied thread about the basics...
Can't describe how fantastic this guide is; it should be stickied in both the general and the development section.
If it isn't too much trouble, it would be awesome if you could put the steps to renaming the recovery.sh so the clockwork mod sticks and perhaps to reverse it (if I remember this right).
SovereigN7 said:
Can't describe how fantastic this guide is; it should be stickied in both the general and the development section.
If it isn't too much trouble, it would be awesome if you could put the steps to renaming the recovery.sh so the clockwork mod sticks and perhaps to reverse it (if I remember this right).
Click to expand...
Click to collapse
Actually, I would include that...
But flashing recovery through rom manager works as well.
And I'd rather keep it noob-friendly.
I follow a forum where they said to rename that...and there are like 15 pages of people asking the same questions as to why terminal/adb aren't working.
Fixed wording of "shift" showing as "****" lol.
And...le bump.
@Jubakuba You might want to add the link for the recovery image for maguro as well. Your instructions only have toro in there! Beginners may get stuck on that.
ankushkatari said:
@Jubakuba You might want to add the link for the recovery image for maguro as well. Your instructions only have toro in there! Beginners may get stuck on that.
Click to expand...
Click to collapse
Look again, it's there.
Thanks though!
Edit:
Upon checking to make sure I wasn't wrong...
The link should have appeared next to the CDMA for simplicity.
So I updated.
This was initially a RootzWiki CDMA forum post...
Had to be edited for here a bit...and the merged CDMA/GSM forum here makes it a bit hard.
Thanks!
Awesome job on this Jubakuba, thank you for sharing it. Stickied it is.
(You can quit bumping it now )
xHausx said:
Awesome job on this Jubakuba, thank you for sharing it. Stickied it is.
(You can quit bumping it now )
Click to expand...
Click to collapse
Lol, sorry
And thanks!
thanks, I had no clue about tags, wish they worked with phone off.
That is a very good guide by the way. Wish I had that when I did my phone but I had a great guy help me out. So I was lucky. Thanks for this!

[GUIDE] Unbrick, Root, And Install CWM

How to Unbrick, Root, And Install CWM​
Disclaimer: This guide is for your information only. I am not responsible for any further damage cause to your device by not following the guide correctly. Parts of this guide are based on the Unbricking guide produced by XDA member, Machzelet. Namely the Unbrick process.
This guide will give you step by step instructions on how to initially unbrick, root, and install ClockWorkMod Recovery on your LG Nitro HD. You will also learn how to make yourself a CWM backup that you can use to unbrick your Nitro whenever you need to... even when you are away from your PC.
NOTE: More people have had success using this guide on Windows XP than Windows 7.
It is understood by the author that CWM and CWM backups are nothing new to the XDA community. This guide is less about groundbreaking discoveries and more about clarification and introduction of an on-the-fly unbricking concept. As with all posts on the community forum, this guide is not set in stone and can/will be changed upon suggestion from other XDA Forum members.
Required Downloads
Nitro_Unbrick.zip (760.24MB) (Unzip to the location of your choice. 7zip is recommended.)
Notes Before You Start
Make sure to allow the phone to boot into the stock ROM at least once before flashing any other ROMs.
Unbrick the Phone
Copy ‘Android’ folder to C:\
In the ‘Run…’ dialog, type “sysdm.cpl” and press enter.
Click the ‘Advanced’ tab.
Click the ‘Environment Variables…’ button.
In the ‘System Variables’ section, highlight the entry labeled ‘Path’.
Click the ‘Edit…’ button at the bottom of the window.
Add “;C:\Android” to the end of the Variable Value.
Click ‘OK’.
Click ‘OK’.
Click ‘OK’.
Log out of Windows and log back in.
Once logged in, run the exe in the ‘LGP930’ folder to ensure that the Nitro drivers are installed. (This should install all of the necessary drivers. However, if it does not, install the drivers in the sub-folder as well.)
Once drivers are installed, run the exe file in the ‘shttp3’ folder.
Check the box to agree to the license.
Click ‘Install’.
When finished, run “C:\shttps\http.exe”.
Right click the ‘Small Server’ icon in the System Tray and select ‘Settings…’.
Click ‘HTTP’ at the top.
Change the second box from ‘8080’ to ‘9002’ and click ‘OK’ in the top right.
Extract the file named ‘www.zip’ located in the ‘shttp3’ folder to “C:\shttps\www”.
Edit the ‘hosts’ file in “C:/Windows/System32/drivers/etc” and add the following line: “127.0.0.1 csmg.lgmobile.com”
Save the file.
In the ‘Run…’ dialog, type “ipconfig /flushdns”.
Run the file named “B2CAppSetup.exe” located in the ‘KDZ_FW_UPD_EN’ folder and then close it.
Run the file named “UpTestEX_mod2_marwin.exe” located in the ‘KDZ_FW_UPD_EN’ folder. (If you get errors, you may need to install msxml.msi.)
In the ‘Merge’ section, click the folder next to the ‘Select model.dll’ field.
Navigate to the “model.dll” file in the ‘KDZ_FW_UPD_EN’ folder and click ‘OK’.
In the ‘Test’ section, change ‘PhoneMode’ to “EMERGENCY”.
Click the folder next to the ‘Select kdz file’ field.
Navigate to the “V10F_00.kdz” file in the root folder and click ‘OK’.
Click ‘CSE web upgrade test’ at the bottom right of the window.
With the phone off, hold the Volume Up button and plug it into the PC via USB.
Once the screen says “Download Mode”, move on to the next step.
Click ‘Upgrade Start’.
Change the language to English and click ‘OK’.
If the upgrade stops at 4%, start over from step 23 and try again.
While the upgrade is in progress, copy the contents of the ‘Images’ folder to an SD card.
When the phone reboots, use Task Manager to close the upgrade application.
When the phone is up and running, tap the left button and choose English.
Tap ‘Exit’.
Enable Root Rights
Enable USB Debugging and Unknown Sources.
Insert your SD card and let it mount and scan.
Run the exe in the 'SuperOneClick' folder. (If you can't obtain root rights using this application, try Bin4ry's guides.)
Follow the instruction given in the application.
Flash AT&T Stock ROM (2.3.5)
Once the phone reboots, type “cmd” in the ‘Run…’ dialog and press enter.
Type “adb shell” and press enter.
Type “su” and press enter.
Run the following commands one by one in order:
Code:
dd if=/sdcard/[COLOR="Magenta"]boot.img[/COLOR] of=/dev/block/[COLOR="Magenta"]mmcblk0p8[/COLOR]
dd if=/sdcard/[COLOR="Orange"]recovery.img[/COLOR] of=/dev/block/[COLOR="Orange"]mmcblk0p13[/COLOR]
dd if=/sdcard/[COLOR="Lime"]firmware.img[/COLOR] of=/dev/block/[COLOR="Lime"]mmcblk0p1[/COLOR]
dd if=/sdcard/[COLOR="Cyan"]baseband.img[/COLOR] of=/dev/block/[COLOR="Cyan"]mmcblk0p14[/COLOR]
dd if=/sdcard/[COLOR="DeepSkyBlue"]system.img[/COLOR] of=/dev/block/[COLOR="DeepSkyBlue"]mmcblk0p27[/COLOR]
After the last command finishes (It will take a while.), pull the battery out of your phone and unplug the USB.
Replace the battery.
Hold the Power and Volume Down buttons at the same time until the screen says “Factory Reset”.
Press the Power button twice and wait for the phone to reboot into the stock AT&T ROM.
Install ClockWorkMod Recovery
If you haven’t already, follow the steps to root once more.
Install ROM Manager from the Play Store.
Open ROM Manager and tap ‘Flash ClockWorkMod Recovery’.
Tap the first option that says “LG P930”.
Let ROM Manager do its thing.
Create A Recovery
Turn off the phone.
Hold the Power and Volume Down buttons at the same time until the screen says “Factory Reset”.
Press the Power button twice and wait for the phone to reboot into ClockWorkMod.
Tap ‘Backup and Restore’.
Tap ‘Backup’.
When the blue menu appears again, tap ‘Reboot System Now’.
Restore Your Backup
Pull the battery out.
Replace the battery.
Hold the Power and Volume Down buttons at the same time until the screen says “Factory Reset”.
Press the Power button twice and wait for the phone to reboot into ClockWorkMod.
Tap ‘Wipe data/factory reset’.
Tap ‘Wipe cache partition’. (For good measure.)
Tap ‘Backup and Restore’.
Tap ‘Restore’.
Choose your backup.
When the blue menu appears again, tap ‘Reboot System Now’.
So is this a way to get back to stock from ics leak? Or would I still need to unbrick into the korean version?
Sent from my LG-P930 using xda app-developers app
miguellopez12 said:
So is this a way to get back to stock from ics leak? Or would I still need to unbrick into the korean version?
Sent from my LG-P930 using xda app-developers app
Click to expand...
Click to collapse
No, this will take you into the Korean version. It is essentially the same as Machzelet's guide. I just clarified a few of the steps, added a different rooting method, and explained ClockWorkMod Recovery installation and backup/restore.
nice, hopefully clears up the nuttiness that thread fell into. d'ling the zip now, well, i think i am, on another box.
FYI, I added a note to the guide about HO!NO!s CWM flashable ROM.
great guide, nice write up.
just to be sure, under restoring your backup after bricking #5. says to factory reset, then restore you CWM backup. Will your clockwork backups be deleted when you wipe data/factory reset, I think they usually are on my galaxy tab 7.0 plus.
thanks.
Hello I'm in need of some help I can't back up my current Rom because clockwork mod doesn't work on my phone is there another way
Sent from my GT-S5830i using xda app-developers app
themadbomber said:
Hello I'm in need of some help I can't back up my current Rom because clockwork mod doesn't work on my phone is there another way
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
Download this file and copy it to your SD card.
Try replacing "dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13" in step 3 of the AT&T ROM section with "dd if=/sdcard/recovery-clockwork-5.8.2.0-p930.img of=/dev/block/mmcblk0p13" and go through the steps again and ignore the ClockWorkMod Recovery install section.
mattman86 said:
How to Setup Your Easy Unbricking Backup​
Disclaimer: This guide is for your information only. I am not responsible for any further damage cause to your device by not following the guide correctly. Parts of this guide are based on the Unbricking guide produced by XDA member, Machzelet. Namely the Revival process.
This guide will give you step by step instructions on how to initially unbrick, root, and install ClockWorkMod Recovery on your LG Nitro HD. You will also learn how to make yourself a CWM backup that you can use to unbrick your Nitro whenever you need to... even when you are away from your PC.
It is understood by the author that CWM and CWM backups are nothing new to the XDA community. This guide is less about groundbreaking discoveries and more about clarification and introduction of an on-the-fly unbricking concept. As with all posts on the community forum, this guide is not set in stone and can/will be changed upon suggestion from other XDA Forum members.
Required Downloads
Nitro Easy Unbrick.zip (Unzip to the location of your choice.)
Reviving the Phone
Copy ‘Android’ folder to C:\
In the ‘Run…’ dialog, type “sysdm.cpl” and press enter.
Click the ‘Advanced’ tab.
Click the ‘Environment Variables…’ button.
In the ‘System Variables’ section, highlight the entry labeled ‘Path’.
Click the ‘Edit…’ button at the bottom of the window.
Add “;C:\Android” to the end of the Variable Value.
Click ‘OK’.
Click ‘OK’.
Click ‘OK’.
Log out of Windows and log back in.
Once logged in, run the exe in the ‘LGP930’ folder to ensure that the Nitro drivers are installed.
Once drivers are installed, run the exe file in the ‘shttp3’ folder.
Check the box to agree to the license.
Click ‘Install’.
When finished, run “C:\shttps\http.exe”.
Right click the ‘Small Server’ icon in the System Tray and select ‘Settings…’.
Click ‘HTTP’ at the top.
Change the second box from ‘8080’ to ‘9002’ and click ‘OK’ in the top right.
Extract the file named ‘www.zip’ located in the ‘shttp3’ folder to “C:\shttps\www”.
Edit the ‘hosts’ file in “C:/Windows/System32/drivers/etc” and add the following line: “127.0.0.1 csmg.lgmobile.com”
Save the file.
In the ‘Run…’ dialog, type “ipconfig /flushdns”.
Run the file named “B2CAppSetup.exe” located in the ‘KDZ_FW_UPD_EN’ folder and then close it.
Run the file named “UpTestEX_mod2_marwin.exe” located in the ‘KDZ_FW_UPD_EN’ folder.
In the ‘Merge’ section, click the folder next to the ‘Select model.dll’ field.
Navigate to the “model.dll” file in the ‘KDZ_FW_UPD_EN’ folder and click ‘OK’.
In the ‘Test’ section, change ‘PhoneMode’ to “EMERGENCY”.
Click the folder next to the ‘Select kdz file’ field.
Navigate to the “V10F_00.kdz” file in the ‘KDZ_FW_UPD_EN’ folder and click ‘OK’.
Click ‘CSE web upgrade test’ at the bottom right of the window.
With the phone off, hold the Volume Up button and plug it into the PC via USB.
Once the screen says “Download Mode”, move on to the next step.
Click ‘Upgrade Start’.
Change the language to English and click ‘OK’.
If the upgrade stops at 4%, start over from step 23 and try again.
While the upgrade is in progress, copy the contents of the ‘Images’ folder to an SD card.
When the phone reboots, use Task Manager to close the upgrade application.
When the phone is up and running, tap the left button and choose English.
Tap ‘Exit’.
Enabling Root Rights
Enable USB Debugging and Unknown Sources.
Insert your SD card and let it mount and scan.
Run the file named “ROOT.bat” located in the ‘ROOT’ folder.
Follow the instructions on in the CMD window.
Flashing AT&T Stock ROM
Once the phone reboots, type “cmd” in the ‘Run…’ dialog and press enter.
Type “adb shell” and press enter.
Type “su” and press enter.
Run the following commands one by one in order:
Code:
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
dd if=/sdcard/firmware.img of=/dev/block/mmcblk0p1
dd if=/sdcard/baseband.img of=/dev/block/mmcblk0p14
dd if=/sdcard/system.img of=/dev/block/mmcblk0p27
After the last command finishes (It will take a while.), pull the battery out of your phone and unplug the USB.
Replace the battery.
Hold the Power and Volume Down buttons at the same time until the screen says “Factory Reset”.
Press the Power button twice and wait for the phone to reboot into the stock AT&T ROM.
Installing ClockWorkMod Recovery
If you haven’t already, follow the steps to root once more.
Install ROM Manager from the Play Store.
Open ROM Manager and tap ‘Flash ClockWorkMod Recovery’.
Tap the first option that says “LG P930”.
Let ROM Manager do its thing.
If you plan on flashing HO!NO!s ICS CWM ROM, now would be a good time to do that. After, you can customize it and move on with this guide.
Create First Recovery for Easy Unbricking
Turn off the phone.
Hold the Power and Volume Down buttons at the same time until the screen says “Factory Reset”.
Press the Power button twice and wait for the phone to reboot into ClockWorkMod.
Tap ‘Backup and Restore’.
Tap ‘Backup’.
When the blue menu appears again, tap ‘Reboot System Now’.
Restoring Your Backup after Bricking
Pull the battery out.
Replace the battery.
Hold the Power and Volume Down buttons at the same time until the screen says “Factory Reset”.
Press the Power button twice and wait for the phone to reboot into ClockWorkMod.
Tap ‘Wipe data/factory reset’.
Tap ‘Wipe cache partition’. (For good measure.)
Tap ‘Backup and Restore’.
Tap ‘Restore’.
Choose your backup.
When the blue menu appears again, tap ‘Reboot System Now’.
Notes
Make sure to allow the phone to boot into the stock ROM at least once before flashing any other ROMs.
Don't forget to wipe the cache and data partitions each time you unbrick.
Click to expand...
Click to collapse
Hi tried the steps above but after i click the ‘Upgrade Start’.button its reads my phone and says The Cell phone is the latest version already. So you don't need to update.
right ow i am on ICS Leak no root.
Please advise..
mith13 said:
Hi tried the steps above but after i click the ‘Upgrade Start’.button its reads my phone and says The Cell phone is the latest version already. So you don't need to update.
right ow i am on ICS Leak no root.
Please advise..
Click to expand...
Click to collapse
this is *usually* the culprit
Edit the ‘hosts’ file in “C:/Windows/System32/drivers/etc” and add the following line: “127.0.0.1 csmg.lgmobile.com”
Also ipconfig /flushdns
scott0 said:
this is *usually* the culprit
Edit the ‘hosts’ file in “C:/Windows/System32/drivers/etc” and add the following line: “127.0.0.1 csmg.lgmobile.com”
Click to expand...
Click to collapse
Thank you for responding scott0. I have been busy today and not able to read the latest posts.
Also, I had a lot of troubles with that part too. So I added step 23 to refresh the DNS.
scott0 said:
this is *usually* the culprit
Edit the ‘hosts’ file in “C:/Windows/System32/drivers/etc” and add the following line: “127.0.0.1 csmg.lgmobile.com”
Click to expand...
Click to collapse
Hi scott0,
This time i copy pasted the log above and got this error-server maintenance, is it usual should i try after sometime or so..
and this is the change made to host fine is it OK.
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 csmg.lgmobile.com
mith13 said:
Hi scott0,
This time i copy pasted the log above and got this error-server maintenance, is it usual should i try after sometime or so..
and this is the change made to host fine is it OK.
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 csmg.lgmobile.com
Click to expand...
Click to collapse
guyss need some help please..
That *should* work. but, I've never had luck with just having a single space. It has only worked for me when i use a tab.
Also, do you still have the B2CAppSetup.exe application running?
Can we UN-sticky the "Official" guide and make this one the official? That OP did some great work, but won't update the steps to help people avoid common problems (ie. rename the kdz file). If people started using this one instead, it would be more beneficial to the community.
I tried to download this. but it told me 12 hours to download. wtf?
houstonsveryown said:
I tried to download this. but it told me 12 hours to download. wtf?
Click to expand...
Click to collapse
It's probably a big file because it contains 2 complete ROMS, plus other files.
---------- Post added at 03:45 PM ---------- Previous post was at 03:43 PM ----------
houstonsveryown said:
I tried to download this. but it told me 12 hours to download. wtf?
Click to expand...
Click to collapse
I just clicked on it. It's 804MB and I have 20 minutes left. Check your connection
Im not sure whats going on. My connection is great.15up 6 down. Im not sure if it chrome or what.
Thx, will try this when i get home on my soft-bricked nitro!
Skickat från min GT-N7000 via Tapatalk 2

Can't Send Texts After Root

I used this method to root my phone:
Copy the CWM_SuperUser_v3.0.7.zip file to the internal SD card of your phone.
Turn off your phone.
Boot your phone to ClockworkMod Recovery by pressing the Volume Up, Home, and Power keys together. Release them when the screen turns on.
Use the Volume buttons to navigate and the Power button to select an option.
Select Install ZIP From SD Card > Choose ZIP From SD Card and select the CWM_SuperUser_v3.0.7.zip file that you copied to your phone earlier.
Once you have flashed it, reboot your phone by selecting Go back and Reboot System Now.
Your phone is now rooted but you still need to install BusyBox on your phone. You can get it for free from the Google Play Store.
Run the BusyBox free application on your phone.
It will prompt you to allow root access. Select Allow.
Tap the red “X” in order to close the dialog window that will pop up.
Allow BusyBox to scan your phone.
Tap Install to install BusyBox and make the necessary file changes.
Update your su binaries by doing the following:
From the app drawer of your phone, open the Superuser app.
Tap the wrench icon on the upper corner to go to the app’s settings menu.
Under the General section towards the end of the list, tap “Su Binary”.
Select Update and you are done.
After I did this I was able to send text messages, but when I woke up the next morning I was no longer able to send texts. Does anyone know how I get my phone to send texts again? And yes I rebooted my phone, and unrooted it and rooted it again. Still the same problem occurs.Thanks

[Q] A zip that deletes the manual and quick start from NST?

Hello there,
I have a simple question, I'm sure most of you developers know how to help us all.
I have a NST not rooted (I don't really need for mods and stuff) but I would like to get rid of the manual and the quick start guide that really annoys me.
Is it possibile to create a zip (maybe an img would be even better) that starts ClockworkmodRecovery and then that includes a flashable zip that deletes the 2 epubs?
So that everyone can delete them once and for all. :laugh:
Let me know if I can help you.
Perhaps it would be better to download and install a root explorer (such as ES File Explorer) and use it to browse and delete these epub files.
Sent from my Nexus 7 using Tapatalk 4 Beta
mikey242 said:
Perhaps it would be better to download and install a root explorer (such as ES File Explorer) and use it to browse and delete these epub files.
Sent from my Nexus 7 using Tapatalk 4 Beta
Click to expand...
Click to collapse
well, that includes rooting, installing a launcher, installing a program...
i thought that a zip that does it without rooting and without anything permanent on the device would be better.
borzowsky said:
well, that includes rooting, installing a launcher, installing a program...
i thought that a zip that does it without rooting and without anything permanent on the device would be better.
Click to expand...
Click to collapse
I make what you asked for, find it enclosed. It is a zip update for CWM. I guess you know how to proceed but I've left instructions below for those who face this issue for first time:
1. Make a backup of your NST with noogie following this instructions.
2. Download the file enclosed within this post.
3. Burn 2gb_clockwork-rc2.img file to be written on a SD-Card using Win32DiskImager or dd on linux.
4. Open the SD-Card (where you burn 2gb_clockwork-rc2.img) and copy the DeletingEpubGuides.zip on the SD-Card.
5. Power down and insert the SD-Card on the NST.
6. Press the power button for 3 seconds, so that the device boots (you don't have to hold the power button after the 3 seconds)
7. As soon as the display changes to the "CWM logo" screen, push and hold the lower left and the lower right button until the screen changes again. Wait until you see the recovery. Hence, you'll be already booted into Clockworkmod recovery (Button layout: Both Buttons on the left: BACK / Upper button on the right: UP / Lower button on the right: DOWN / n button: SELECT / Power button: TOGGLE DISPLAY).
8. Install through CWM recovery the DeletingEpubGuides.zip update placed on the SD-Card. When you'll read "Done" press power button during 10 second and eject the SD-card.
9. Press power button to turn on the nook to let the devices open commonly.
I've just tested it over my NST v1.1.2 and works without problem.
Best.
kuskro said:
I make what you asked for, find it enclosed. It is a zip update for CWM. I guess you know how to proceed but I've left instructions below for those who face this issue for first time:
1. Make a backup of your NST with noogie following this instructions.
2. Download the file enclosed within this post.
3. Burn 2gb_clockwork-rc2.img file to be written on a SD-Card using Win32DiskImager or dd on linux.
4. Open the SD-Card (where you burn 2gb_clockwork-rc2.img) and copy the DeletingEpubGuides.zip on the SD-Card.
5. Power down and insert the SD-Card on the NST.
6. Press the power button for 3 seconds, so that the device boots (you don't have to hold the power button after the 3 seconds)
7. As soon as the display changes to the "CWM logo" screen, push and hold the lower left and the lower right button until the screen changes again. Wait until you see the recovery. Hence, you'll be already booted into Clockworkmod recovery (Button layout: Both Buttons on the left: BACK / Upper button on the right: UP / Lower button on the right: DOWN / n button: SELECT / Power button: TOGGLE DISPLAY).
8. Install through CWM recovery the DeletingEpubGuides.zip update placed on the SD-Card. When you'll read "Done" press power button during 10 second and eject the SD-card.
9. Press power button to turn on the nook to let the devices open commonly.
I've just tested it over my NST v1.1.2 and works without problem.
Best.
Click to expand...
Click to collapse
thank you very much, is it working on 1.2.1?
what is the path of the files that are deleted?
borzowsky said:
thank you very much, is it working on 1.2.1?
what is the path of the files that are deleted?
Click to expand...
Click to collapse
/system/media/books/
Success! (1.2.1)
borzowsky said:
thank you very much, is it working on 1.2.1?
what is the path of the files that are deleted?
Click to expand...
Click to collapse
I'm running 1.2.1, and I found them at /system/assets/userguides/standard/ . (There's also a /glowlight/ folder in the /userguides/ directory, FWIW.)
EDIT: However, deleting them there doesn't seem to remove them from the library. And I can't find the /system/media/books folder. Hmmm...
EDIT AGAIN: Also found them in /data/cloud_assets/books/userguides . Deleting, rebooting, and will report back here if that did it.
LAST EDIT I SWEAR: SUCCESS! Deleting them from all the locations listed above made them vanish from the library.

Categories

Resources