[Guide] Root Your Galaxy S4 i545/i337 EASY - AT&T Samsung Galaxy S 4 General

Hey guys, this is my first post, so if I did something wrong, don't strangle me.
In this guide, we're going to use djrbliss's Motochopper tool. The download will be attached, as I can't place outside links.
As said in the title, this will work ONLY on the AT&T i337 and Verizon i545.
This root WILL work on Linux/Ubuntu, Windows, and Mac.
Step 1. Go to Settings->More->About device then hit “Build Number” about 5-10 times until you see “Developer mode has been enabled” message.
Step 2. Next hit the Back button and you should see a new option called “Developer options”, hit that option.
Step 3. Make sure Developer options is checked ON and also check “USB debugging” ON.
Step 4. Connect a micro-USB cable from your Galaxy S4 to your computer, you should see a “Allow USB debugging” window pop-up on your phone, hit OK. If you don’t see it yet, just skip this step and check back on Step 7. Sometimes this won't show up, but it should.
Step 5. Mac and Linux users can skip this step, because you don't need to install drivers. Windows users: go to Device Manager on your computer and make sure you have something like “Samsung Android ADB Interface” or some type of “ADB Interface”. If you don’t see it, you don’t have Galaxy S4 USB drivers installed, download and install Galaxy S4 Windows drivers. (The link to the drivers is attached in a file, because I can't post outside links, yet)
Step 6. Download Motochopper.zip (attached) and unzip, you should find a bunch of files in it.
Step 7. For Windows, double-click on “run.bat” to start the rooting script.
For Mac or Linux, go to terminal/cmd (whatever you have), and type:
cd Downloads/motochopper
cd motochopper
chmod 755 *
sudo sh run.sh
Step 8. On your keyboard, hit "enter" to begin the rooting process.
If you skipped Step 4, you should now see “Allow USB debugging” window pop-up on your phone, hit OK.
Make sure to hit “Agree” on your phone if you see a “Verify apps?” window pop up during rooting.
Step 9. When the process is done, hit enter on your keyboard. The rooting process will finalize and reboot your phone.
Congratulations, your phone is now rooted!
To make sure it worked, go to your app drawer, and look for an app called "Superuser". If it's there, your phone is rooted!
Now, you can download apps that have "root" in their names in the Play Store.
Once again, congrats for your new rooted phone! Have fun!
If I helped you with rooting your GS4, please hit the thanks button! :victory::laugh:
*can't wait until the bootloader is unlocked* Btw, this is my first Android, so cheers!

This thread already is covered here http://forum.xda-developers.com/showthread.php?t=2283918
Always read search and study before you post duplicate material. But thank you for the guide.
Thread Closed

Related

Helpful USB Troubleshooting Tips

Hiya,
If you're having problems with your phone connectivity due to USB devices/drivers, or you just feel like poking around and seeing what USB devices your system has ever met, then this may be some helpful troubleshooting information. There are two ways you can do it, either temporarily or permanently:
NOTE: Windows XP. Maybe works for Vista too, dunno for sure..
Temporary method:
1. Open a cmd.exe window.
2. Enter this: set devmgr_show_nonpresent_devices=1
3. Enter this: devmgmt.msc
4. In the resulting Device Manager, go to View --> Show hidden devices.
5. ....
6. Profit! (j/k. But all your non-present devices should now show up.)
Permanent method:
1. Open up your computer properties (Win+Pause or Win+PrtSc, I forget..)
2. Click on the Advanced tab, then click Environment Variables.
3. Under System Variables, add devmgr_show_nonpresent_devices.
4. Set this value to 1.
5. Open your Device Manager. By now you should know how..
6. Go to step 4 in the "Temporary" instructions..
7. From this point on, just follow these "Permanent" instructions from #5.
Hope this helps someone!
--Weasel5i2
Hmm, looks like this has been mentioned before:
http://www.google.com/cse?cx=000825531964825142534%3Acqr2sjirilw&q=devmgr_show_nonpresent_devices&cof=FORID%3A0&ie=utf-8&oe=utf-8
Ah well, I still hope it helps someone who isn't specifically searching for the "devmgr_show_nonpresent_devices" string!

New clarified method for rooting the HTC Aria (for those who are having trouble)

Credit goes to eugene373 and attn1. These are mostly their instructions, but I did change, clarify, and add a few steps. If you can't get any of the other methods working, try this one.
Prerequisites...
Note: If you're in Linux, you only need to do Step 4, Step 6, and Step 7.
Step 0.
Download and install HTC Sync: http://www.htc.com/us/support/aria-att/downloads/
Step 1.
Download and unzip the Android SDK: http://developer.android.com/sdk/index.html
Step 2.
Go into the folder where you unzipped the Android SDK and open "SDK Setup.exe".
If you aren't greeted with a failed to fetch URL error, proceed to Step 3. If you did receive this error, go to Settings in the "Choose Packages to Install" window and check "Force https;//... sources to be fetched using http://..."
Close and re-open "SDK Setup.exe".
Step 3.
When the "Choose Packages to Install" window pops up, make sure the package "Usb Driver package, revision x" is checked. You can uncheck everything else. Click Install. After it downloads and installs, close "Android SDK and AVD Manager".
Step 4.
With your device unplugged from your computer, go to Settings > Application > Development on your device and turn on USB Debugging.
Step 5.
Now plug your device in to your computer. This is just to make sure the USB drivers are installed.
Once they are installed, unplug your device and turn it off.
Step 6.
This step is optional, but it may prevent an error later on in the process. If you've never formatted your SD card from a computer, remove it from the phone and format it in Windows or OSX with an external card reader. Then place the formatted card back in your phone, but leave the phone off.
Step 7.
Download the updated Root.zip from eugene373's guide: Root the Slide & Other HTC Devices*6/15/2010* How-To Updated 6/29/2010
Now let's get started...
Step 0.
Unzip Root.zip
Step 1.
Place the contents ("update.zip", "ota.zip", and "loop") into the Android SDK tools folder.
Step 2.
Open Command Prompt or Terminal and CD to the SDK tools directory.
Step 3.
Power on your device into the bootloader by holding the "Volume Down" key and simultaneously pressing Power.
Once you're in the bootloader, wait about 30 seconds until some diagnostic checking is done.
Press "Volume Down" to highlight Recovery, but do not push Power to execute just yet.
Step 4.
Now run your loop file from the prompt (either type "loop" in Windows or "./loop.sh" in Linux) (refer to ice3186's post for Mac instructions)
Note: The loop does nothing but show you the connection status of your phone. It's not technically required, but we'll use it in this guide.
Step 5.
Once the loop is running in your prompt, get ready to connect the phone to the computer with the USB cable, but don't connect one end quite yet. With Recovery still highlighted on your phone, you will need to push the Power button and then immediately plug in the other end of the USB cord.
Step 6.
After a few seconds, you should see your device listed in the loop.
Step 7.
Unplug the USB cable from the bottom of your phone and plug it back in. You probably don't need to do this, but let's be safe. Wait for your device to show up in the loop again. Hit CTRL-C to terminate the loop.
Step 8.
You should see a triangle/exclaimation over a phone graphic.
Hold the "Volume Up" key (note it's Volume UP this time) and simultaneously press Power.
After the menu comes up, use the volume and power buttons to select and run update.zip. (This will fail, but we already know that! Select it anyway.)
Step 9.
Paste the following command into your prompt and press Enter.
adb push ota.zip /sdcard/update.zip (*OSX users add a ./ in front of all terminal commands please)
Step 10.
This is very important!! Have this next command ready in your prompt before running update.zip again!!
This is the command. Paste it into your prompt, but DO NOT press Enter yet.
adb push update.zip /sdcard
Step 11.
Run update.zip and as soon as you see a faint progress bar appear behind the text at the bottom of the screen, push Enter to execute the command in your prompt.
Step 12.
If successful, you should see Clockwork Recovery and you now have Su and Superuser.apk installed! You can now reboot your phone into the OS to verify. If unsuccessful, repeat steps 11 and 12.
Step 13.
This step is optional, but it will save you the pain of going through all of these steps again in the future.
Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!)
I think some trouble shooting comments should be mentioned, so I'll just write a few things I noticed while rooting my device (for 7 frustration filled hours).
If you cannot see your device show up in 'adb devices' in recovery, boot into the OS normally and see if it shows up. If it does not, then it's a safe bet that you have one of two problems - you do not have all the drivers installed, or you do not have 'usb debugging' enabled. This can be enabled in 'settings->applications->development->usb debugging'. To avoid driver issues, it's highly recommended that you do this process in linux or osx.
If, on the other hand, your phone DOES show up in Android but not in recovery, or if it just blips on the screen for a second (when running the loop) as an offline device, then it might be the formatting of your sd card. Do NOT format your sd card from your phone or within Android. The ONLY time I managed to get the phone to show up in recovery without disappearing immediately was by removing the sd card, formatting it in windows or osx with an external card reader, copying the files over (new rom or rooting files), and then replacing it in the phone while the phone is off. After putting the card back in your phone, try the procedure again - go to the bootloader->hboot->recovery (while the cable is unplugged), then press the power button and immediately after plug the cable in (usually works when you plug the cable in about .2-.5 seconds later). If it does not show up at all, reboot the phone and try again, but do NOT let it boot back to Android. You can get back in to the bootloader by waiting until the 'HTC quietly brilliant' screen shows up and typing 'adb reboot bootloader' with the usb cable attached.
It took me a really long time to figure that out. I don't think the type of sd card matters so much as the formatting of it. I actually used the 2gb card that came with the phone, and it worked almost every single time after I reformatted the card.
Also, if you manage to get it working and root the phone, do yourself a huge favor and install the custom Unrevoked recovery image mentioned in the original rooting thread, so you never have to deal with this nonsense ever again.
Also also, if you get to the step where you do 'adb push ota.zip /sdcard/update.zip' and you get an error:0, installation aborted message, you did something wrong. The problem is that you aren't actually supposed to flash ota.zip. What you're supposed to do is push ota.zip to your phone as update.zip, and leave it there. Don't touch anything else. What you will do after that is type 'adb push update.zip /sdcard/update.zip' in the command prompt (WITHOUT hitting enter yet, just get ready to). You will then select 'sdcard:update.zip' and press power and IMMEDIATELY AFTER pressing power, you will press enter on the command prompt to execute your adb push command. What this does is causes recovery to read the ota.zip file you uploaded and recognize it as a legit update, but you replace it with update.zip before it actually gets extracted (if your timing is good). So recovery reads the signature of ota.zip, but actually extracts the stuff in update.zip and runs that instead.
Hope that helps with some common problems I observed. Good luck, dudes.
okay so I think I the only one using a Mac in this rooting process. A few things I have learned and may already be known but I thought I would clarify.
1.) to get a loop to run on the mac i had to re-write the file loop.bat
this is the code that works for me and how to do it.
a.) rename the file to end in .sh not .bat the way it came
b.) open the file with TextEdit
c.) delete all of the text in it and write this in there
Code:
while [ "0" ]
do
{
./adb devices
}
done
d.) save the file back in the sdk/tools folder
e.) in terminal the command once you cd to the folder is ./loop.sh
2.) i have yet to be successful in the attempt to root so anyone knowing anything to help would be appreciated! But i am still cracking i think i am going to wear out the plug before i am done though.
it should be pointed out that the loop does nothing except tell you if you have a connection or not. When you plug in the usb port, it will respond after a few seconds, or it won't. Try again.
gtg465x said:
Credit goes to eugene373 and attn1. These are mostly their instructions, but I did change, clarify, and add a few steps. If you can't get any of the other methods working, try this one.
Prerequisites...
Step 0.
Download and install HTC Sync: http://www.htc.com/us/support/aria-att/downloads/
Step 1.
Download and unzip the Android SDK: http://developer.android.com/sdk/index.html
Step 2.
Go into the folder where you unzipped the Android SDK and open "SDK Setup.exe"
When the "Choose Packages to Install" window pops up, make sure the package "Usb Driver package, revision x" is checked. You can uncheck everything else. Click Install. After it downloads and installs, close "Android SDK and AVD Manager".
Step 3.
With your device unplugged from your computer, go to Settings > Application > Development on your device and turn on USB Debugging.
Step 4.
Now plug your device in to your computer. This is just to make sure the USB drivers are installed.
Once they are installed, unplug your device and turn it off.
Step 5.
Download Root.zip from eugene373's guide: http://forum.xda-developers.com/showpost.php?p=6820344&postcount=1
Now let's get into it...
Step 0.
Unzip Root.zip
Step 1.
Place the contents ("update.zip", "ota.zip", and "loop") into the Android SDK tools folder.
Step 2.
Open Command Prompt or Terminal and CD to the SDK tools directory.
Step 3.
Power on your device into the bootloader by holding down the "Volume Down" key and simultaneously pressing Power.
Once you're in the bootloader, wait about 30 seconds, until some diagnostic checking is done.
Press "Volume Down" to highlight Recovery, but do not push Power to execute just yet.
Step 4.
Now run your loop file from the prompt (either type "loop" in Windows or "./loop.sh" in a *nix like) ( ./ Is used For OSX )
Step 5.
Once the loop is running in your prompt, get ready to connect the phone to the computer with the USB cable, but don't connect one end quite yet. With Recovery still highlighted on your phone, you will need to push the Power button and then immediately plug in the other end of the USB cord.
Step 6.
After a few seconds, you should see your device listed in the loop.
Step 7.
Unplug your USB cable from the bottom of your phone and plug it back in. You probably don't need to do this, but let's be safe. Wait for your device to show up in the loop again. Hit CTRL-C to terminate the loop.
Step 8.
You should see a triangle/exclaimation over a phone graphic.
Hold down the "Volume Up" key (note it's Volume UP this time) and simultaneously press Power.
After the menu comes up, use the volume and power buttons to select and run update.zip. (This will fail, but we already know that! Select it anyway.)
Step 9.
Paste the following command into your prompt and press Enter.
adb push ota.zip /sdcard/update.zip (*OSX users add a ./ in front of all terminal commands please.)
Step 11.
This is very important!! Have this next command ready in your prompt before running update.zip again!!
This is the command. Paste it into your prompt, but DO NOT press Enter yet.
adb push update.zip /sdcard
step 12.
Run update.zip and as soon as you see a faint progress bar appear behind the text at the bottom of the screen, push Enter to execute the command in your prompt.
Step 13.
If successful, you should see Clockwork Recovery and you now have Su & Superuser.apk installed! You can now reboot your phone into the OS to verify.
If unsuccessful, repeat steps 11 & 12.
Click to expand...
Click to collapse
This isn't complete - this just gets you to clockwork and you haven't installed anything yet. You need to add steps to add root acces or flash a rom that is rooted. Also, make sure to reference the unrevoked tool to install Clockwork after root so this whole ordeal can be avoided next time.
Yes! The secret was formatting the sd card outside of the phone. I am now rooted and liberated! Thanks for plugging along with all the advice guys!
modest_mandroid said:
I think some trouble shooting comments should be mentioned, so I'll just write a few things I noticed while rooting my device (for 7 frustration filled hours).
If you cannot see your device show up in 'adb devices' in recovery, boot into the OS normally and see if it shows up. If it does not, then it's a safe bet that you have one of two problems - you do not have all the drivers installed, or you do not have 'usb debugging' enabled. This can be enabled in 'settings->applications->development->usb debugging'. To avoid driver issues, it's highly recommended that you do this process in linux or osx.
If, on the other hand, your phone DOES show up in Android but not in recovery, or if it just blips on the screen for a second (when running the loop) as an offline device, then it might be the formatting of your sd card. Do NOT format your sd card from your phone or within Android. The ONLY time I managed to get the phone to show up in recovery without disappearing immediately was by removing the sd card, formatting it in windows or osx with an external card reader, copying the files over (new rom or rooting files), and then replacing it in the phone while the phone is off. After putting the card back in your phone, try the procedure again - go to the bootloader->hboot->recovery (while the cable is unplugged), then press the power button and immediately after plug the cable in (usually works when you plug the cable in about .2-.5 seconds later). If it does not show up at all, reboot the phone and try again, but do NOT let it boot back to Android. You can get back in to the bootloader by waiting until the 'HTC quietly brilliant' screen shows up and typing 'adb reboot bootloader' with the usb cable attached.
It took me a really long time to figure that out. I don't think the type of sd card matters so much as the formatting of it. I actually used the 2gb card that came with the phone, and it worked almost every single time after I reformatted the card.
Also, if you manage to get it working and root the phone, do yourself a huge favor and install the custom Unrevoked recovery image mentioned in the original rooting thread, so you never have to deal with this nonsense ever again.
Also also, if you get to the step where you do 'adb push ota.zip /sdcard/update.zip' and you get an error:0, installation aborted message, you did something wrong. The problem is that you aren't actually supposed to flash ota.zip. What you're supposed to do is push ota.zip to your phone as update.zip, and leave it there. Don't touch anything else. What you will do after that is type 'adb push update.zip /sdcard/update.zip' in the command prompt (WITHOUT hitting enter yet, just get ready to). You will then select 'sdcard:update.zip' and press power and IMMEDIATELY AFTER pressing power, you will press enter on the command prompt to execute your adb push command. What this does is causes recovery to read the ota.zip file you uploaded and recognize it as a legit update, but you replace it with update.zip before it actually gets extracted (if your timing is good). So recovery reads the signature of ota.zip, but actually extracts the stuff in update.zip and runs that instead.
Hope that helps with some common problems I observed. Good luck, dudes.
Click to expand...
Click to collapse
Really good tips. I hope you don't mind - I am going to link to this to my original thread.
Troubleshooting Tip on Prerequisite Step 2: If you're working behind a firewall, router, or proxy server, you're going to have to configure SDK Setup to use an open port on that device, in order to download updates.
I won't go through the exact steps here, but if SDK setup is hanging, this is the most likely culprit.
Regards,
Corporate Dog
Corporate Dog said:
Troubleshooting Tip on Prerequisite Step 2: If you're working behind a firewall, router, or proxy server, you're going to have to configure SDK Setup to use an open port on that device, in order to download updates.
I won't go through the exact steps here, but if SDK setup is hanging, this is the most likely culprit.
Regards,
Corporate Dog
Click to expand...
Click to collapse
get a copy of linux livecd and then you don't have to actually set up the SDK or worry about any drivers.
attn1 said:
This isn't complete - this just gets you to clockwork and you having installed anything yet. You need to add steps to root or flash a rom that is rooted. Also, make sure to reference the unrevoked tool to install Clockwork after root so this whole ordeal can be avoided next time.
Click to expand...
Click to collapse
If you made it to clockwork using this method then you're rooted. Check eugene's updated instructions. Look at the 6/29/2010 update on his original post... http://forum.xda-developers.com/showpost.php?p=6820344&postcount=1
I will add a reference to the unrevoked tool.
modest_mandroid said:
If, on the other hand, your phone DOES show up in Android but not in recovery, or if it just blips on the screen for a second (when running the loop) as an offline device, then it might be the formatting of your sd card. Do NOT format your sd card from your phone or within Android. The ONLY time I managed to get the phone to show up in recovery without disappearing immediately was by removing the sd card, formatting it in windows or osx with an external card reader, copying the files over (new rom or rooting files), and then replacing it in the phone while the phone is off. After putting the card back in your phone, try the procedure again - go to the bootloader->hboot->recovery (while the cable is unplugged), then press the power button and immediately after plug the cable in (usually works when you plug the cable in about .2-.5 seconds later). If it does not show up at all, reboot the phone and try again, but do NOT let it boot back to Android. You can get back in to the bootloader by waiting until the 'HTC quietly brilliant' screen shows up and typing 'adb reboot bootloader' with the usb cable attached.
It took me a really long time to figure that out. I don't think the type of sd card matters so much as the formatting of it. I actually used the 2gb card that came with the phone, and it worked almost every single time after I reformatted the card.
Click to expand...
Click to collapse
Excellent troubleshooting tips. I added a note about formatting your SD card to the prerequisites.
ice3186 said:
okay so I think I the only one using a Mac in this rooting process. A few things I have learned and may already be known but I thought I would clarify.
1.) to get a loop to run on the mac i had to re-write the file loop.bat
this is the code that works for me and how to do it.
a.) rename the file to end in .sh not .bat the way it came
b.) open the file with TextEdit
c.) delete all of the text in it and write this in there
Code:
while [ "0" ]
do
{
./adb devices
}
done
d.) save the file back in the sdk/tools folder
e.) in terminal the command once you cd to the folder is ./loop.sh
2.) i have yet to be successful in the attempt to root so anyone knowing anything to help would be appreciated! But i am still cracking i think i am going to wear out the plug before i am done though.
Click to expand...
Click to collapse
Thanks. Added a reference to your post.
attn1 said:
it should be pointed out that the loop does nothing except tell you if you have a connection or not. When you plug in the usb port, it will respond after a few seconds, or it won't. Try again.
Click to expand...
Click to collapse
Noted in the original post.
Corporate Dog said:
Troubleshooting Tip on Prerequisite Step 2: If you're working behind a firewall, router, or proxy server, you're going to have to configure SDK Setup to use an open port on that device, in order to download updates.
I won't go through the exact steps here, but if SDK setup is hanging, this is the most likely culprit.
Regards,
Corporate Dog
Click to expand...
Click to collapse
Thanks. Added the workaround.
attn1 said:
get a copy of linux livecd and then you don't have to actually set up the SDK or worry about any drivers.
Click to expand...
Click to collapse
Thanks. Added a note to the top of the prerequisites.
gtg465x said:
Step 12.
If successful, you should see Clockwork Recovery and you now have Su and Superuser.apk installed! You can now reboot your phone into the OS to verify. If unsuccessful, repeat steps 11 and 12.
Step 13.
This step is optional, but it will save you the pain of going through all of these steps again in the future.
Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!)
Click to expand...
Click to collapse
In no way, shape or form are you done after set 12.
You need to do more than just get into Clockwork. That alone doesn't root the phone.
gtg465x said:
If you made it to clockwork using this method then you're rooted. Check eugene's updated instructions. Look at the 6/29/2010 update on his original post... http://forum.xda-developers.com/showpost.php?p=6820344&postcount=1
I will add a reference to the unrevoked tool.
Click to expand...
Click to collapse
My mistake. He not only updated his instructions, he updated his update.zip. That should do it.
Good job!
I was just wondering If I have device issues after it is rooted, is it possible to remove the root and flash everything back to factory defaults for warranty purposes like the windows phones or is it once the warranty is gone it is gone?
steezee said:
I was just wondering If I have device issues after it is rooted, is it possible to remove the root and flash everything back to factory defaults for warranty purposes like the windows phones or is it once the warranty is gone it is gone?
Click to expand...
Click to collapse
Dunno if you can reflash the stock recovery again if you replaced it with clockwork, but you can definitely flash the stock ATT rom again. You can download it from HTC's site: http://member.america.htc.com/download/Web_materials/Manual/HTC_Aria_ATT/HTCAriaOriginalShipROM.exe
Banging my head on the wall. Got it to detect device once on loop. Never again after that. Phone shows up in device manager. Formatted 8gb and 2 gb cards several times.
urge growing. ... want to . . break.. . . .. . .random objects. . .
attn1 said:
My mistake. He not only updated his instructions, he updated his update.zip. That should do it.
Good job!
Click to expand...
Click to collapse
Sorry, I should have mentioned that he updated his update.zip.
You guys are right , there are missing step in the tutorial to fully root Aria.
after i get in to the clockwork from the step above. i have to install the custom rom that can be found in the forum.
when i try to install "Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!) " . the process goes throught but the recovery is still the same HTC blue color recovery screen.
so before you insert your sd card into the phone after you format the sd card. remember to copy the rooted rom into the sd card so when you successfully get into the clockwork. you want to install the rom then your aria is rooted with superuser icon on the application.
after then you do the "Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!) step .
There are no steps missing from the first post. I rooted my Aria using that method. Just make sure you have the latest Root.zip from eugene's thread. He updated it the other day and if you try to use the older version of Root.zip with this method it will not work.
What you are doing is installing a custom rom, which is fine, but it's not required to root the Aria.
i was trying to get the clockwork to install and it only work after i load the liberated_aria_b003_signed.zip
before i load liberated_aria_b003_signed.zip , it still give me the default HTC recovery screen.
after i load liberated_aria_b003_signed.zip and install "Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!) " . i get the clockwork screen as the recovery screen .
i still can't get the side loading to show after i follow the step from here
•COMMON:
•Enable USB debugging (settings > applications > development > USB Debugging)
•adb remount
•adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
Linux/OS X:
•echo "update secure set value = 1 where name = 'install_non_market_apps';"|sqlite3 settings.db
WINDOWS:
•echo update secure set value = 1 where name = 'install_non_market_apps';|sqlite3 settings.db
COMMON:
•adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
•Reboot phone and sideloading works. (thanks to fluffyarmada)
.

[Q] How To root for Nook Tablet

Hi All,
I want to root my Nook Tablet .
Please show me the way how to do.
My Tablet version is 1.4.0
I was tried to root according to this instruction as below.
1. Enable USB debugging mode:
If you’re accustomed to rooting Android devices, then you know that USB debugging needs to be enabled before engaging in the finer points of hacking. This setting is typically easy to find, but it’s hidden on the Nook Tablet.
Download this APK (for Titanium Backup)
Open the app, and click “Package Installer” when presented with the first menu.
Then it will bring up a message, saying “Install Blocked.” No worries, just hit “Settings”. You’ve now just accessed your Nook’s hidden Android settings menu.
Check the box up top to allow installations for unknown sources.
Then hit “Development” at the bottom and check the two boxes for ‘USB Debugging.’ Finally, uncheck the box for ‘Auto-mount’ at the bottom of the development settings menu.
USB debugging is now successfully enabled.
2. Download & Extract
Download USB drivers and Nook & Zergy
Create a folder c:/ntroot on your desktop (obviously change the drive letter if c: isn’t your default drive)
Extract the contents of both zip files (USB drivers and Nook & Zergy) to the ntroot directory
3. Install drivers
Open that folder (c:/ntroot) and run the file runmefirst.bat.
It will ask you to unplug your Nook. Do it.
It will then ask you to plug it in (meaning connect it via USB to your desktop). Do that.
At this point, open your Device Manager on your PC. On Windows Vista and 7, simply type Device Manager in the Start Menu search. If you’re on an older Windows, right click on My Computer > Properties > Device Manager
In Device Manager, make sure you see an entry for Nook Tablet. Right click on that entry, hit “Properties,” click “Update Driver,” then “Browse My Computer,” and select the c:/ntroot/usbdrivers/ folder. If Windows gives you a warning, hit “Install Anyway”.
If all went well in the previous step, Device Manager will now list your Nook Tablet as Android Composite ADB Interface.
4. Root!
Now go back to your batch window (runmefirst.bat dialogue), and press any key to continue, like it says.
It will tell you to run NookandZergy.bat. Go ahead and run it (it’s also in your extracted c:/ntroot folder).
The dialogue that pops up should display a device number. When it asks, hit “Y” to continue (if there is no number, your drivers probably didn’t install correctly).
Hit “Y” again when it asks if you want to root it.
It will now display a list of commands, as your device is rooted!
5. Install Android Market and Google Apps
Continuing with the same NookandZergy.bat window, it will now ask you if you want to install gApps. Hit “yes.”
This will automatically install all of it for you, and will then restart your Nook Tablet.
6. Install a third-party launcher
After it’s done rebooting, disconnect the Nook Tablet from your PC.
Now open your Nook’s settings menu, and select search. You will now see that Google Search comes up, instead of the stock B&N one.
Now hit the settings button on the bottom right of the search screen, and then select “Search Settings” from the pop-up.
Select “Searchable items” and check the box for Library.
Go back to your search, and search the web for your favorite launcher. ADW Launcher, Launcher Pro, and Go Launcher are all quality options with free versions. On the Google results page, click on the Android Market link (it should be near the top if you search for the launcher’s name).
Click “Install” from the launcher’s Market page, and its entry will automatically open in the Android Market. Install the launcher.
I was used the following 3 files.
(tbp421.APK)
(usbdrivers.zip)
(Nook&Zergy.zip)
But i can`t pass root .Please see the attach photos.
Please teach me how to root this.
Best Regards,
Nyan Linn Aung
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Waiting your reply.......
Hello !!!!
Anyone reply me how to root it properly.
I waiting to root it now...
Please help me !!!

How to Root LG G Flex 2, G2, G3 on Lollipop!

This root method works on many LG devices, here’s a list of devices it should work on:
LG G Flex 2
LG G Flex
LG G3
LG G2
LG F60
LG Tribute
LG MS395/D393
LG L90
LG Transpyre
LG Volt (LS740)
If your device is not listed, do try it and let us know and we will update this list.
Before we begin, you will need a Windows computer to root your LG device.
Step 1. Go to Settings->About Phone->Software Info then hit on the “Build number” about 5 times until it says “You are now a developer”.
Step 2. Hit back button twice and now you should see “Developer options”, select it.
Step 3. Make sure “USB Debugging” is checked ON.
Step 4. Connect a micro-USB cable from your LG phone to your computer.
Step 5. Download LG_Root.zip and unzip the files.
Step 6. Make sure you have proper drivers installed. Go to Device Manager and find “ADB Interface”. If you don’t see it, download LG Drivers and install it. Then you should be able to see it.
Step 7. Open a command prompt then type:
cd Downloads
cd LG_Root
adb devices
Then unplug and plug the micro-USB on your phone until you see “Allow USB debugging” on the phone.
Select “Always alllow from this computer” then hit “OK”.
Type “adb devices” and you should see a serial number along with “device”. If you see this you are ready.
Step 8. Next copy and paste the following:
adb.exe push busybox /data/local/tmp/ && adb.exe push lg_root.sh /data/local/tmp && adb.exe push UPDATE-SuperSU-v2.46.zip /data/local/tmp
Step 9. Power off your LG phone and unplug the micro-USB cable. Then WHILE HOLDING DOWN the Volume Up button, plug in the micro-USB cable. You should see “Downloading…”.
Step 10. Next, double-click on “ports.bat” and read the COM number next to “DIAG1″. (Note, some users have reported you must do Right Click->Run As Administrator to get this step working although I didn’t have to.)
Step 11. Next, type:
Send_Command.exe \\.\COM24
But replace COM24 with the COM number you found in Step 10.
Then type:
sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox
Step 13. Once rebooted, you should find SuperSU app in your app drawer and a fully rooted phone!
You can download and run Titanium Backup app to verify full root!
NOW YOU ARE FULLY ROOTED:good::good::good::good::good:
Excuse me for posting a URL mods, but you copied this word for word from
http://highonandroid.com/android-smartphones/how-to-root-lg-g-flex-2-g2-g3-on-lollipop/
Which is based on:
http://forum.xda-developers.com/android/development/guide-root-method-lg-devices-t3049772
I find your lack of acknowledgment rude and you don't even supply links to the download packages (LG_Root.zip) , someone could brick their device if they mess around with random files. At least consider acknowledging the original website and upload the pictures.
Root method Thread already in forum
If you copy & paste then link the original Guide like here:
http://forum.xda-developers.com/g-flex2/general/lg-g-flex-2-rooted-t3052210

Guide: How to reboot your Nexus 5 without power button

Hi everyone, I would like to share my experience regarding two methods that I have used to revive a Nexus 5 whose power button just will not work. Please use this guide if your Nexus 5 dies due to a low battery and you want to boot (start) it without power button. Following methods have been successfully tested on Win 7 and 10. You can use this guide and keep using your Nexus 5 without repairing the power button. There are other guides and posts which can help you attain locking, unlocking of the screen and remapping the hardware buttons such as volume keys to perform as a power button.
Method 1
Step 1: Download adb/fastboot binaries or use Android SDK for adb/fastboot. If downloaded as a zip, extract it in a folder. It is better to download adb/fastboot minimal, as it is small and can be handy.
Step 1a: Download your phone drivers and install them. If it is a zip folder then extract it in a folder for later use.
Step 2: Plug in the micro USB in your phone. Hold both volume keys on the phone and while holding the keys plug the USB cable in to your PC’s/laptop’s USB port. Your phone will reboot in Bootloader mode where you will see START written at the top of your phone screen which is the prompt to start the system but you cannot select it, as your phone’s power button does not work.
Step 3: Open Command Prompt in windows, which is cmd . Navigate to your adb/fastboot folder which you created while extracting the zip or you might be able to use the commands from anywhere in command prompt if you have installed Android SDK.
Step 3a: Commands only work if you installed adb/fastboot correctly or you are in the binaries folder. While in the corresponding folder,
Type: fastboot devices
123456789 fastboot
The command will show devices connected in fastboot mode just like the above example
If your phone does not appear here then go to control panel>device manager search for any unknown device such as unknown device or android device ; Right click on it and choose update drivers. Do not select the auto search for updated drivers. Select browse my computer for driver and then browse to the folder where you had extracted the drivers choose the right folder and windows should install your device as android bootloader interface device.
Once installed properly, you should see your device by typing the above command again. When successful
Type: fastboot reboot
Now your phone should reboot and start normally.
Method 2
Step 1: Download Wug's Nexus Root Toolkit by Wugfresh.
Step 1a: Download your phone drivers and install them. If it is a zip folder then extract it in a folder for later use.
Step 2: Plug in the micro USB in your phone. Hold both volume keys on the phone and while holding the keys plug the USB cable in to your PC’s/laptop’s USB port. Your phone will reboot in Bootloader mode where you will see START written at the top of your phone screen which is the prompt to start the system but you cannot select it, as your phone’s power button does not work.
Step 3: Run Nexus Root Toolkit. Let it complete its initialisation and when done its main window will pop up on your desktop. If your using it for the first time it will ask for your phone model and android version. Input the details appropriately, if you do not know the android version you are running choose any build which is at the end of the list.
Step 3a: The toolkit might ask for any dependency files to be downloaded, which it will download automatically. You might be able to skip it but if you use any build or wish not to download them but it won’t harm if you download them as you might wish to use the toolkit later.
Step 4: After completing the above step. Toolkit will finally be ready to use. From the main window of toolkit click Launch under the Advanced Utilities.
Step 5: Choose Reboot System and your phone will reboot normally.
If Toolkit returns, No adb/fastboot device found then follow the next step.
Additional Step: Go to control panel>device manager search for any unknown device such as unknown device or android device ; Right click on it and choose update drivers. Do not select the auto search for updated drivers. Select browse my computer for driver and then browse to the folder where you had extracted the drivers choose the right folder and windows should install your device as android bootloader interface device.
Once drivers are installed, go to Step 5 and it should work for you.
The above methods have been used on Nexus 5 and might be helpful on other Nexus or completely different devices from other brands
For Mods: I have done my good faith search before making this guide. Please let me know if a similar guide exists or I have posted it in a wrong place.
If it has helped anyone please consider a Thanks. By the way it is my first post.
For downloads, please use search engines and you will be happily served.
No responsibility is taken, whatsoever.

Categories

Resources