Q&A for [Recovery][TWRP][ATT-ONLY!] Flashable TWRP recovery!
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Recovery][TWRP][ATT-ONLY!] Flashable TWRP recovery!. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Help Me
thecubed said:
Hello everyone!
Here's another release thread for y'all!
What is this?
This is a flashable TWRP recovery for the Optimus G Pro.
Special thanks to @djrbliss
You can safely flash this to your phone's recovery and enjoy modding bliss!
How do I use this, and where do I get it?
Good question!
There are two ways to use the files provided here.
To Flash to Recovery:
I've created an easy installer for all you Windows folks!
Download this: http://downloads.codefi.re/thecubed/lgoptimusg_pro/gkatt/recovery/e98010g/easy-twrp-e98010g.zip
Extract it to somewhere on your computer.
Enable USB debugging on your phone, if you need the drivers I've included them in the "files/drivers" folder in the zip
Run the 'install.bat' script.
Check for any errors, if it was successful, you can 'adb reboot recovery' or use an app on your phone to get you into TWRP now!
Profit! (and realize that this was pretty easy!)
(thanks to hkfriends for pointing out the errors in my script!)
OR..
Download this file to somewhere on your computer https://github.com/djrbliss/loki/raw/master/bin/loki_flash
Download this file http://downloads.codefi.re/thecubed/lgoptimusg_pro/gkatt/recovery/e98010g/gkatt-twrp-e98010g.lok
Run the following:
Code:
adb push loki_flash /data/local/tmp
adb push gkatt-twrp-e98010g.lok /data/local/tmp
abd shell
su
cd /data/local/tmp
chmod 755 loki_flash
./loki_flash recovery gkatt-twrp-e98010g.lok
To boot
Download this file: http://downloads.codefi.re/thecubed/lgoptimusg_pro/gkatt/recovery/e98010g/gkatt-twrp-e98010g.img
Use fastboot boot to boot it
DO NOT FLASH THE .IMG FILE TO YOUR PHONE. It is only meant for fastboot booting.
Where can I find the source you used to build this?
All on my github!
http://github.com/thecubed/
Or, follow my guide here:
http://forum.xda-developers.com/showthread.php?p=43514195
What can I do with this?
Right now, the possibilities are unlimited. Once a security-lax boot.img is released, we can flash that through recovery and let the modding commence.
Please remember though, modding /system with the stock boot.img will result in a security error!
What works, and what doesnt?
I have not tested external SD cards, since I don't have one with me at work.
I have also not tested backups or restores in TWRP yet.
Can you show me a video?
Why yes I can!
As usual, please pardon the crappy camera work.
I <3 you so much, how do I show my love?
You are so kind
I most definitely do not expect donations of any kind, however they are appreciated a lot.
I purchased this phone off-contract just to get it unlocked, if you are a kind soul and would like to send me a token of your appreciation I would love you forever.
XDA has a neat "Donate to me" button that should be on the left side of this page under my name. Donations go to purchasing new hardware to work on and other neat stuff, so they're always appreciated.
Special Thanks!
In no particular order, special thanks to all of you guys!
djrbliss
hkfriends
synergy
Shelnutt2
DeamonFish
If I forgot anyone, let me know and I'll add you here!
Alright guys! Let me know if you find any bugs!
Click to expand...
Click to collapse
I Cant CM11s One Plus One Not Install Error Divice Offline ?????:cyclops:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
nthone said:
I Cant CM11s One Plus One Not Install Error Divice Offline ?????:cyclops:
Click to expand...
Click to collapse
1) Check your Windows Device Manager to make sure the drivers are installed.
2) Make sure to plug the USB cable directly into your system's motherboard ports--do not use the ports on the front of your desktop system, do not use the ports on a monitor or keyboard, etc.
3) Make sure your device is rooted before this: Towelroot: make it rain.
4) Install ADBD Insecure and check both options. That will enable root and remount abilities for ADB.
I would even suggest to not use this particular method, and instead use:
2) Download G Pro Recovery and Freegee.
3) Open G Pro Recovery and select the 'Flash Recovery' option at the top of the menu.
4) Then open Freegee and choose your recovery--either will get your CM11S humming just fine.
Probably not a bad idea to take advantage of the EFS backup there and transfer that backup off the phone for emergency purposes, as well as immediately making a backup once you get your recovery installed, as it can save headaches and attacks of wanderingpancreas if something goes wrong.
Tks
culot said:
1) Check your Windows Device Manager to make sure the drivers are installed.
2) Make sure to plug the USB cable directly into your system's motherboard ports--do not use the ports on the front of your desktop system, do not use the ports on a monitor or keyboard, etc.
3) Make sure your device is rooted before this: Towelroot: make it rain.
4) Install ADBD Insecure and check both options. That will enable root and remount abilities for ADB.
I would even suggest to not use this particular method, and instead use:
2) Download G Pro Recovery and Freegee.
3) Open G Pro Recovery and select the 'Flash Recovery' option at the top of the menu.
4) Then open Freegee and choose your recovery--either will get your CM11S humming just fine.
Probably not a bad idea to take advantage of the EFS backup there and transfer that backup off the phone for emergency purposes, as well as immediately making a backup once you get your recovery installed, as it can save headaches and attacks of wanderingpancreas if something goes wrong.
Click to expand...
Click to collapse
Yes OK Thank You
Related
But thank all you guys to point it out
Very kind, hope it helps many.
Should we format /system qheb installing rom? When is the best time to wipe battery stat?
Sent from my GT-I8150 using Tapatalk
FelixAusChina said:
[HOW TO]root, flash custom recovery ClockworkMod v5.5.0.4 and ROM Customized 1.8Ghz ROM (now with experiment EUR OC ROM) without odin step by step from offical ROM 2.3.6
1. Root your phone
Rooting via Recovery mode(SD card)
a. Download this Zip-file http://dl.dropbox.com/u/47601401/update.zip copy this into the internal SD card.
b. While switched off, keep the following buttons pressed. Release the power-button once the Samsung Galaxy W(I8150) is switched on. At last press the menu button quickly while pressing the other two buttons.
Note: This instructions is written for the stock recovery. Custom recoverys should work very similiar.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
c. Navigate with the volume up and down to apply sdcard:update.zip in Recovery Menu. Use the home-button to confirm your selection.
d. Choose (with volume buttons) the update.zip file on your internal sd card and confirm again with Home-button. You will have to wait for several seconds.
e. Now choose reboot system now and confirm with home button.
Now you device should be rooted.
The link: http://forum.xda-developers.com/showthread.php?t=1317394
2. Enable recovery ClockworkMod v5.5.0.4 with flashing in adb shell.
Don't flash the zip file, but extract and flash the img file
a. Root your devece(look above)
b. Copy downloaded recovery ClockworkMod v5.5.0.4http://www.multiupload.com/KTNBHX6JBG on internal sdcard
c. Disconect phone from copmuter and make sure that USB debugging is on
d. Connect it again but don't connect phone memory (computer shouldn't see sdcard and internal memory in Windows explorer)
e. Download the adb shellhttps://rapidshare.com/files/1061144422/android-sdk-windows.zip
note:If you just want to obtain and perform adb command, rather than to develop Android software, in fact, there are many adb streamline packets in internet, don't need the full Android SDK.
As the android-sdk version started from r08, adb wasn't contained in the downloaded files from the beginning, but was downloaeded by SDK Manager after that, and adb wasn't under the original tools directory. To maintain the text of the description of teaching would continue to apply the screen, I made out of adb streamlined package from the r07 version.
f. Extract the file android-sdk-windows.zip into the root directory of C for teaching easily
g. open command prompt
windows 7: start-all programs-accessories-command prompt or search cmd
h. Then in the "Command Prompt" window, type the following command to switch to the adb directory
c:
cd c:\android-sdk-windows\tools
i. Enter the "adb shell", enter the phone to start the next command (think of it as the phone has a similar "command prompt" environment)
go on with this code:
Code:
adb shell
$su
#dd if=/sdcard/RZR-2.1.4-ancora-rec.img of=/dev/block/mmcblk0p13
but change the file name RZR-2.1.4-ancora-rec.img to recovery.img from recovery-clockwork-5.5.0.4-ancora.zip
j. Now turn off phone and turnd it on like this: hold Volume Up + Home + Power button, when Samsung sign appears relese power button but still hold other two, until recovery is loaded.
3. Download which ROM you like
4. Put the zip into Internal SD
5. Boot into ClockWorkMod, backup your current ROM using nandroid (just in case) then, use Install menu to Wipe data/cache and to install it from the SD card.
By the way, when you enter into the ClockWorkMod recovery, press the volume up-down-up for 3 times, you will see the option "go back" in the recovery menu.
Click to expand...
Click to collapse
By this method, is our bootloader is still locked?
Man, with all due respects, your post, and instructions are a mess, and particularly where you show adb commands to flash RzRecovery, then tell ppl here to do this:
go on with this code:
Code:
adb shell
$su
#dd if=/sdcard/RZR-2.1.4-ancora-rec.img of=/dev/block/mmcblk0p13
Click to expand...
Click to collapse
but change the file name RZR-2.1.4-ancora-rec.img to recovery.img from recovery-clockwork-5.5.0.4-ancora.zip
Click to expand...
Click to collapse
That is a total mess, and you make complicated particularly for noobs, something which is not complicated........
don't you know you have to be careful with "dd".....as it is called sometimes Data Destroyer:
http://www.softpanorama.org/Tools/dd.shtml
Just be careful ppl !!!
i just bought the new phone in germany, and updated to 2.3.6 by kies, then i decided to flash the custom rom, from root to recovery and to rom, so i checked all the trreads here, so i did it like i just said above, and it has worked for 3 days perfectly, so i wanna share my way to do that. because my phone is a new one, so i didnt' need to backup anything...
by the way, have u checked the thread [RECOVERY]Samsung Galaxy W i8150 RZRecovery by qzem??? it's here http://forum.xda-developers.com/showthread.php?t=1376196 i just followed that way...
irishpancake said:
Man, with all due respects, your post, and instructions are a mess, and particularly where you show adb commands to flash RzRecovery, then tell ppl here to do this:
That is a total mess, and you make complicated particularly for noobs, something which is not complicated........
don't you know you have to be careful with "dd".....as it is called sometimes Data Destroyer:
http://www.softpanorama.org/Tools/dd.shtml
Just be careful ppl !!!
Click to expand...
Click to collapse
i just bought the new phone in germany, and updated to 2.3.6 by kies, then i decided to flash the custom rom, from root to recovery and to rom, so i checked all the trreads here, so i did it like i just said above, and it has worked for 3 days perfectly, so i wanna share my way to do that. because my phone is a new one, so i didnt' need to backup anything...
by the way, have u checked the thread [RECOVERY]Samsung Galaxy W i8150 RZRecovery by qzem??? it's here http://forum.xda-developers.com/show....php?t=1376196 i just followed that way...
OK, Felix, it's not really a problem.......
but writing or copy/paste stuff in a Admin Command Prompt is hard enough, without having to modify the text you are quoting.
How hard could it be to post this:
adb shell
$su
#dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13
Click to expand...
Click to collapse
This is what ppl will have to write into the dd command
if = input file.....of = output file
Use dd cautiously, improperly entering the wrong values could inadvertently wipe, destroy, or overwrite the data on the hard disk drive or device memory
Click to expand...
Click to collapse
BTW, me and qzem were probably two of the first on these forums, before we had dedicated forum......
irishpancake said:
OK, Felix, it's not really a problem.......
but writing or copy/paste stuff in a Admin Command Prompt is hard enough, without having to modify the text you are quoting.
How hard could it be to post this:
This is what ppl will have to write into the dd command
if = input file.....of = output file
BTW, me and qzem were probably two of the first on these forums, before we had dedicated forum......
Click to expand...
Click to collapse
but i have written "but change the file name RZR-2.1.4-ancora-rec.img to recovery.img from recovery-clockwork-5.5.0.4-ancora.zip" in my first post, haven't u seen that? I am gonna highlight it...but thanks for your remind and works for our SGW
Felix, I give up....but thanks for taking on board my suggestion....it may just save someone from a major catastrophe.
thanx again
ATB
FelixAusChina said:
but i have written "but change the file name RZR-2.1.4-ancora-rec.img to recovery.img from recovery-clockwork-5.5.0.4-ancora.zip" in my first post, haven't u seen that? I am gonna highlight it...but thanks for your remind and works for our SGW
Click to expand...
Click to collapse
The point is - why include the first (i.e. incorrect) version of the command at all? It would be much clearer just to include the correct version, after the change you mention. Including the incorrect version just makes the instructions more confusing.
FelixAusChina said:
But thank all you guys to point it out
Click to expand...
Click to collapse
Man, don't cry!!!!
sorry for being so blunt, but it's important, especially when using adb, and commands like dd to get it exactly right/correct......
we don't wanna brick anyone's phone
But, thanks anyway, the guide is basically good!!!
cheers, OK
FelixAusChina said:
But thank all you guys to point it out
Click to expand...
Click to collapse
Don't mistake directness for hostility.
We didn't want you to remove your guide completely - we're just trying to help improve the quality of it, for everyone's sake. Collaboration is what this forum is all about.
Restore the guide, make the suggested improvements, and let's see if we can make it even better.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Updated 11-17-12: Now that we have a stable CWMR image thanks to damien667 this procedure should be a lot less risky and less stressful!
This is confirmed working but due to the procedure involved is risky! The standard XDA disclaimer applies: I take no responsibility for bricked devices due to the following rooting procedure, no warranty express or implied is given, I will not be held responsible if you mess up your tablet by following this procedure!
You must unlock the bootloader before performing this procedure!
Credits: Kidgoo for testing and coming up with the method, thanks to damien667 for the fixed CWM images, and Chainfire for the SuperSu zip and binaries!
Before you begin make sure you read and reread the procedure and fully understand the directions.
1. Download the CWM-SuperSU-v0.98.zip
2. Download damien667's fixed CWMR 6.0.1.6 touch version of from here
3. Connect the Nexus 10 to your computer
4. Flash the CWMR image you downloaded in step 2 using fastboot
Code:
fastboot flash recovery /path/to/<recovery>.img
fastboot reboot
5. Touch "Install from SD Card" in CWMR
6. Select CWM-SuperSU-v0.98.zip that was downloaded in step 1
7. Let CWM-SuperSU-v0.98.zip install
8. Select "Reboot System"
9. Enjoy your rooted Nexus 10 !
To keep your custom recovery installed permanently and not get overwritten by the stock recovery when your reboot your tablet delete the following:
Code:
/system/etc/install-recovery.sh
/system/recovery-from-boot.p
Reserved
works! thank you very much!
Awesome!
Now, if only we could code it so it does it all for us!
1-click and go! Im afraid ill fat finger something and have a $550 paper weight :'(
Thanks for the write up!
WannaB101 said:
Now, if only we could code it so it does it all for us!
1-click and go! Im afraid ill fat finger something and have a $550 paper weight :'(
Thanks for the write up!
Click to expand...
Click to collapse
One-Klick CWM Tounch + SuperSU would be great!!! :good::good::good:
So what am I supposed to do if ADB doesn't recognize the "sideload" command?
gravis86 said:
So what am I supposed to do if ADB doesn't recognize the "sideload" command?
Click to expand...
Click to collapse
You will need to download the latest vesion of ADB included in the Android SDK, which can be found here.
Perhaps a video?
Perhaps you could provide a video to help us along?
shimp208 said:
You will need to download the latest vesion of ADB included in the Android SDK, which can be found here.
Click to expand...
Click to collapse
Yep, my ADB was out of date... Thanks!
Got the latest version of ADB?
With regard to downloading the CWM-SuperSU file (for sideloading) do you mean that it should be downloaded on the tab itself, or downloaded into the same folder as adb and fastboot?
WannaB101 said:
Perhaps you could provide a video to help us along?
Click to expand...
Click to collapse
If my Nexus 10 had arrived yet then I would be more then happy to post a video until then you'll have to make due with the written guide I'm afraid . But if you or any one else has any questions regarding the procedure feel free to ask!
shimp208 said:
If my Nexus 10 had arrived yet then I would be more then happy to post a video until then you'll have to make due with the written guide I'm afraid . But if you or any one else has any questions regarding the procedure feel free to ask!
Click to expand...
Click to collapse
I hit ya with a question above...
joeski27 said:
With regard to downloading the CWM-SuperSU file (for sideloading) do you mean that it should be downloaded on the tab itself, or downloaded into the same folder as adb and fastboot?
Click to expand...
Click to collapse
If you download it on your tablet you'll need to then place the downloaded zip on the root of the internal storage (I.E not in a folder). Alternatively you can download it using a computer and connect your tablet to the computer and transfer it to the root of the internal storage that way.
I know this is probably a noob question but the fastboot commands (the first two, for booting from CWRT) -- should they be done in Fastboot Mode or can they be done while Nexus 10 is on and at home screen with USB debugging enabled? If you need to be in Fastboot Mode, how do you get there with Nexus 10?
Thanks!
shimp208 said:
If you download it on your tablet you'll need to then place the downloaded zip on the root of the internal storage (I.E not in a folder). Alternatively you can download it using a computer and connect your tablet to the computer and transfer it to the root of the internal storage that way.
Click to expand...
Click to collapse
Ok, the problem I have now is while I have the files on my tablet, I cannot move them to the root of the internal storage at this point...??? Suggestions??? Don't you have to be rooted in order to do this???
For some reason when I'm not in fastboot mode, I can use adb (adb devices lists my Nexus 10), but when I'm in fastboot mode, adb no longer recognizes the device. fastboot devices does however see it when in fastboot mode.
Anybody else have this problem or know why this might be happening? Thanks!
I'm still getting the sideload error after updating the ADB
Any insight, please?
So to others who are working on this and awaiting responses from the OP, where exactly have you placed the downloaded files on your tablet? specific locations?? and if so how did you get them there? I'm totally lost at this point, LOL, hoping to get some clarification soon...
Worked ... however .. you DO have to be in FASTBOOT already (power + Vol UP + Vol DOWN) - yeah it might be obvious when you're not tired as hell - but for those wondering
The first line should be:
fastboot boot /path/to/<recovery>.img
no fastboot reboot was needed - it rebooted itself.
I had a HELL of a time finding the sideload entry in CWM (that's just my brain deadness).
You have quite a bit of time More than enough.
THANK YOU!
Howdy all!
What's this? Read on, dear reader, to discover the magic that is PurpleDrake.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What is this?
This is a utility to easily root your LG G3 (specific models only). It's a fairly foolproof script that includes all the dependencies you'll need for getting your phone rooted easily.
This is the FULL version. This means that it will automatically root, and ask you if you want TWRP installed and a custom boot that doesn't trip the root checker!
Click to expand...
Click to collapse
Who made this?
This root is a collaboration between myself (IOMonster), jcase, and autoprime.
Special thanks also to beaups for some initial guidance looking at the vulnerable application.
Thanks to @Shelnutt2 for the security-disabled boot.img
Thanks to @Dees-Troy for the TWRP image!
Click to expand...
Click to collapse
Is my phone compatible?
The new LG G3 models each are slightly different with regards to rooting and unlocking.
To see a matrix of which LG G3 phones are compatible with this root, please see this Google Docs spreadsheet that we've compiled.
When you run this program, your phone will reboot and run a test to see if it's compatible. If the application succeeds, it'll let you know that it's able to permaroot you. If not, it'll fail gracefully and reboot you back to normal Android without having changed anything.
Please note that this version is currently only compatible with the T-Mobile D851 version of the LG G3. For other phones, we suggest you look for the LITE version of PurpleDrake.
Click to expand...
Click to collapse
How do I use this?
WE NOW SUPPORT WINDOWS! YAY ME
To start, for either platform you'll need to scroll down to the download section and get the file.
Ensure that your phone is in ADB mode (PTP Mode for everyone but Verizon. Verizon users need to be in "Internet"/"Ethernet" mode)
Linux Instructions (in a terminal!)
Extract the file you downloaded...
tar xvf ~/Downloads/PurpleDrake-TMO_VERSION.tar.gz
Mark the application as executable, and run it!
cd PurpleDrake-TMO
chmod +x purpledrake_linux.sh
./purpledrake_linux.sh
OSX Instructions (just a bit easier)
Extract the file you downloaded
Double-click on "purpledrake_osx"
Windows Instructions
Extract the file you downloaded
Double-click on "purpledrake_windows"
The application will guide you through all the steps you need.
You will still need to install SuperSU from the market after installing PurpleDrake. This pack does not include one.
If you choose to install the custom boot.img, your phone's root checker will not be tripped and your phone will show as UNROOTED.
After, be sure to check @autoprime's post for how to disable OTA upgrades! here : http://forum.xda-developers.com/showpost.php?p=54254111&postcount=2
Click to expand...
Click to collapse
But, what if I don't want to run your script to root?
Well then, I'd be a little hurt, but you can still do everything the script does manually.
Download the package, and extract it. Open a terminal in the main folder of the archive and run these commands:
Code:
adb reboot --bnr_recovery
adb push ./assets/start_restore /temp/start_restore
adb push ./assets/permaroot.bin /temp/start_restore
adb reboot
That will perma-root you, however there's no protection from doing something stupid or the phone being incompatible. Please be careful!
Click to expand...
Click to collapse
Where do I get this?
WINDOWS/OSX/LINUX VERSION OUT NOW!
- Fixed Windows support
- Fixed OSX ADB issues not detecting phone first try
- Fixed race conditions leading to errors permarooting
- Added 64-bit Linux ADB
Code:
[url]http://downloads.codefi.re/thecubed/lg_g3/purpledrake/PurpleDrake-TMO_R03.tar.gz[/url]
Old version here... (OSX/Linux only)
Code:
[url]http://downloads.codefi.re/thecubed/lg_g3/purpledrake/PurpleDrake-TMO_R01.tar.gz[/url]
Please DO NOT mirror or re-upload the PurpleDrake software to your own site, or any other file host.
If you need drivers for Windows (thanks @autoprime for having these handy!):
Verizon Drivers: http://downloads.codefi.re/autoprime/LG/LG_G3/LG VZW_United_WHQL_v2.14.1.exe
Everyone Else: http://downloads.codefi.re/autoprim...leDriver_S50MAN311AP22_ML_WHQL_Ver_3.11.3.exe
Click to expand...
Click to collapse
Help, it doesn't work!
Post here, let us know what happened and we'll try to help you. DO NOT private message us on XDA or on IRC asking for help. We will not assist privately.
Most questions if not answered here can be answered on #lg-g3 on IRC in Freenode.
Click to expand...
Click to collapse
Thanks so much! How can I show my appreciation?
Since this was a collaboration project, proceeds that are made from this root will be split between amongst us so we can purchase a Sprint test phone to root (as it's currently not rooted).
If you'd like to donate to us, click the "Donate to me" button on the left sidebar under my name, and be sure to enter a comment to let us know that you're donating towards the PurpleDrake project.
Thanks again!
Click to expand...
Click to collapse
FAQ:
Q: I'm running the Windows .bat as administrator and it's closing/not working.
A: There is no need to run the .bat as admin. Just double-click and run.
Q: I get the "Windows cannot find '.\assets\windows\bin\mintty.exe'." error.. watdo?
A: Try just double-clicking on the .bat instead of running as admin.
Also make sure the script is extracted properly first before running.
Q: I [used Flashify and] am stuck in fastboot.. how can I get out?
A: Be cautious using Flashify as it seems it's not working right.. or people are hitting the wrong buttons with it.
HERE are the stock TMO D851 partitions.
Use fastboot to flash recovery(TWRP or stock) and stock boot. This will install TWRP and fix booting into rom.
If on Windows you will need fastboot drivers. Use Google to find fastboot binaries and drivers.
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot reboot
The commands to flash TWRP manually instead of using flashify is below.
Place TWRP on the root of your internal /sdcard/ using MTP, downloading it directly to phone or using ADB push.
Code:
adb push name_of_file.img /sdcard/
adb shell
su
dd if=/sdcard/name_of_file.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
Disable OTA:
Open LG Hidden Menu (3845#*851#) --> WLAN Test --> OTA Setting --> OFF
*Replace "851" with your devices model number, 850, 852, 855 etc...
The first D851 update has been released (10M). Bootloader remained unlocked. It would appear future OTAs will be safe to take AS LONG AS YOUR PHONE IS NOT MODIFIED! If you have flashed TWRP or installed xposed or modified /system then you need to restore any changes made or flash stock firmware (tot/kdz) before taking OTA.
If using a non-tmobile g3 I would be hesitant about taking OTA updates. An OTA may update the boot stack to block Bump!
EFS Backup:
Code:
[FONT="Arial Narrow"][B]Backup EFS after jailbreaking your G3. EFS is split into 2 partitions modemst1 and modemst2.
img files will be on root of internal sdcard. Save the .img files somewhere else besides the sdcard... email, cloud, etc..[/B]
DO NOT FLASH OTHER PEOPLES EFS OR FLASH YOUR OWN BACKUPS ONTO ANOTHER PHONE.
THIS WILL BREAK EFS ON THE PHONE YOU ARE FLASHING TO. EFS BACKUPS ARE FOR THE PHONE THEY CAME FROM ONLY.
I have made a new thread on EFS backup and restore which can be found [URL="http://forum.xda-developers.com/lg-g3/development/efs-lg-g3-efs-backup-restore-t2907329"]HERE[/URL].
[/HIDE]
[B][SIZE="5"]Restoring Stock / Remove root flag:[/SIZE][/B]
[HIDE]
Download the tmo .tot file and use lg flash to restore it to stock. itll format everything on internal sdcard so backup anything u may need off it.
T-Mobile firmware can be found [URL="http://downloads.codefi.re/wolfgart/LG_G3/D851"]here[/URL]. Thanks to [user=608699]@wolfgart[/user] for the files and [user=1157052]@thecubed[/user] for codefire hosting.
*Step by step picture guide - [url]http://imgur.com/W83hMPE[/url]
install the drivers.
put phone into Download Mode (power off. unplug USB. pull battery. put battery back in. press/hold Volume Up then plug in USB cable.)
In Windows Device Manager set the phones serial COM port to #41. (*see picture guide for help)
Install [URL="http://downloads.codefi.re/autoprime/LG/LG_G3/Setup_LGFlashTool_1.8.6.527.zip"][B]LG Flash[/B][/URL]. In "C:\LG\LG Flash" folder delete megalock dll. Replace with .dll below.
new megalock dll - [url]http://bit.ly/1cQADXm[/url] (this site includes a "download manager.. UNCHECK THE BOX before downloading dll file.)
Run LG Flash in the "C:\LG\LG Flash" folder. Select korean factory if asked.
When LG Flash opens you will see a box to select firmware and dll.
Select [URL="http://downloads.codefi.re/autoprime/LG/LG_G3/LGUP_8974.dll"][B]LG Flash .dll[/B][/URL]
Select (.tot)
Hit OK (*see picture guide for help)
Hit yellow start button. If you get Milkyway error click ok. LG Flash will then run a crc check on the tot file. Takes a bit.
After crc check finishes unplug the phone. plug phone back in. it should now be seen in LG Flash and start flashing.
Phone will reboot when finished. You may end up on a screen with s "2"... let it sit there for a minute or two.
If stuck on "2" try unplugging the usb cable from the phone.. wait 10 seconds.. then plug the usb cable back in. now wait 30 seconds and hopefully it changes to a "3"
Once the phone says "3" you can unplug the USB.. remove the battery and plug back in.. boot back up... you are now 100% stock.
[/HIDE]
[B][SIZE="5"]PurpleDrake YouTube Videos:[/SIZE][/B]
[HIDE]
[url]https://www.youtube.com/watch?v=wJtz51KgxjM[/url]
[/HIDE]
And where is the bootloader unlock talked about at the bounty thread or was it just a hoax?
Gesendet von meinem LG-D855
Tectas said:
And where is the bootloader unlock talked about at the bounty thread or was it just a hoax?
Gesendet von meinem LG-D855
Click to expand...
Click to collapse
Hoax? What?
This pack is ONLY for the T-Mobile G3 which has an unlocked bootloader out of the box.
D855 support is NOT included in here. There will be a separate thread when we have an unlock for the bootloaders of the rest of the G3 family.
Tectas said:
And where is the bootloader unlock talked about at the bounty thread or was it just a hoax?
Gesendet von meinem LG-D855
Click to expand...
Click to collapse
There is no boot loader unlock..where ever you read this is misinformed...the T-Mobile variant ships boot loader unlocked, it is the only one so far to be shipping unlocked.
Sweet
thecubed said:
Hoax? What?
This pack is ONLY for the T-Mobile G3 which has an unlocked bootloader out of the box.
D855 support is NOT included in here. There will be a separate thread when we have an unlock for the bootloaders of the rest of the G3 family.
Click to expand...
Click to collapse
I'm aware of that and sry it wasn't meant offensive or to put this one down, autoprime, did imply at the bounty thread, that you as well managed to unlock the bootloader, at least at the beginning, that's what I'm referring to, sry that i said it the wrong way, was a bit disappointed, which for sure isn't your fault or the one of this tool, it's still great progress you made.
Gesendet von meinem LG-D855
I wish the international G3 D855 will be unlocked too
Sent from my LG-D855 using XDA Premium 4 mobile app
Great glad to see this released thank to all that is involved
LGG3 and beyond
All my family is sleep in the room with my Mac will be running asap bright and early. Thank you for your hardwork
Thecubed, autoprime, shelnutt2, jcase, and whoever else....thanks for this. Truly appreciated! Can't wait for Windows support. :Cheers:
Sent from my LG-D851 using XDA Premium 4 mobile app
Plans to support recovery for D855 in the near future?
Need to know to sell or not the G3 ?
What the hell software compatible with a mac that's a 1st whoop whoop well done guys and thanks for the hard work
Yeah great time to be a Mac owner
I have a feeling this treads about to turn in to a "when will this version be supported" topic :/
LGG3 and beyond
Success!
1. THANK YOU!
2. It didn't work the first time around, temproot worked but permaroot did not. Maybe it had to do with the fact that I was reading this forum while it was waiting for my input... I can't see how that would have made a difference but whatever. [[ Edit: It worked the second time running, I just followed the instructions immediately - no problems. /Edit ]]
3. Just a reminder for Linux users ... you have to add udev rules as described here: http://developer.android.com/tools/device.html ... and when you are done with that, also run:
$ sudo service udev restart; sudo killall -9 adb
4. My G3 would only connect to my laptop (Ubuntu 14.04) when it was in PTP mode. MTP or Charge Only did _NOT_ work... Only PTP.
5. THANK YOU AGAIN! You devs rock!
Frank.
Same as the guy above didn't work the first time but worked perfect the second! OSX here.
@ OP
http://forum.xda-developers.com/lg-g3/general/s-carrier-specific-g3-threads-t2818549
I keep getting no such file or directory, going to re download drivers and see
@thecuba not telling you what to do but maybe put this on T-Mobile thread as well http://forum.xda-developers.com/tmobile-lg-g3/development
Hope you don't take it the wrong way
Hello folks!
It's been a while since last time I spent in this forum section (when the method for flashing Poland MM KDZ was published), but suddenly I decided to check the current development and it was great do discover that developers found a way to unlock bootloader! Then, I tried to do the procedures, found some adversities around the path, flashed stock KDZ for my device A LOT and finally managed to obtain a fully working LP stock with root and TWRP for my model: H442F (Dual SIM) ("LG Volt 4G" in Brazil).
The thing is: although a lot was done regarding the Spirit LTE, I found near zero information specifically for my device variant. Since I tried a lot of paths and eventually achieved an interesting result, I decided to write a full tutorial, with a lot of instructions and pictures for "novices" who desire learn all the steps but gives up at the high learning curve. Finally, I also wrote this tutorial in Brazilian Portuguese, which I believe will help at least some comrades (you can download the PDF in portuguese HERE).
Needed files:
LG Drivers (remove old ones if already instaled)
LG Flash Tool 2014 (credits to @quangnhut123 from this thread)
Brazilian H442F10a Firmware (this is a low speed server, I can upload to a better one if someone asks)
Android SDK Tools (for Windows users; Linux ones just install the package android-tools-adb)
Kingroot (or download here: www.kingroot.net)
Latin America Patched Aboot (credits to @pvineeth97 , for more info check this thread)
TWRP (or download here: https://twrp.me/lg/lgspiritlte.html)
Flashfy (or download here: https://play.google.com/store/apps/details?id=com.cgollner.flashify&hl=en)
SuperSU (or download here: http://www.supersu.com/)
Finally, if you prefer, you can download a full pack in this link (except for KDZ), however, I did prefer to keep isolated links for better credits and referrals
Step-by-step
Download all needed files
Install drivers, SDK and unpack Flash Tool
Save all files in the same folder, but keep KDZ file inside Flash Tool folder
Put your phone in download mode (power off, hold vol+, plug usb in pc, keep holding until download icon appears)
Wait a little for Windows completely detects device and load all drivers
Verify in Device Manager if your pc detects phone as "LG Mobile USB Serial Port (COM#)"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Open LG Flash Tool as admin
Select KDZ file
Choose the downloaded H442F10a_03.kdz file
Choose CSE Flash
Click START
Then, "Clear phone software update registry"
You'll see a warning
Then, OK (no need to change country)
Another app will open for the flashing. If you are offline, it is possible to show just a "?" character. Wait patiently...
In about 5min it will finish
After some reboots, you'll see the phone starter screen. Just move forward (no need to configure anything right now, maybe wifi, but not google account)
Enable Developer Options going to Settings/General/Common/Software Information and tap some simes in Build Number until the "You are a developer" message appears
Go back to Settings/Developer Options and turn on USB Debugging
With Debugging on, choose MTP (for Windows) or PTP (Linux), and when asked, allow the computer
Now, make sure you installed (and know how to use, since I will cover just a few commands here) the Android Debugging Bridge (adb). It will be essential for some steps, as well for entering Recovery Mode (I will show some Linux screenshots because I do not use Windows - for this tutorial, just for KDZ flash - but with a working adb the commands are the same)
Open a command prompt (Windows: right click in start menu) or a terminal (Linux) and run "adb devices" to see if the device was detected. If not, run again and check if phone are asking permissions (and grant it)
Go (cd) to the folder with all downloaded files and write the commands (some names may be different if you downloaded individual files from official links)
adb push aboot_5120_patched.bin /sdcard/
adb push twrp-3.2.1.0-cn70n.img /sdcard/
adb push SuperSU-v2.82-201705271722.zip /sdcard/
adb install Flashify_1.9.2.apk
adb install KingrootV5.3.1.apk
At whit point, make sure your internet is fully working (3-4G or WIfi), then, open Kingroot and root the device
After a well successful root, go back to adb and run "adb shell" and then "su". The phone will ask root permission. Grant it and in adb again run "cd /sdcard"
Now we arrived a critical step. Make sure to type the command as is show, because an error may result brick. We will copy the modified aboot into the respective phone partition (check code, check picture, and double check!)
If everything occurs all right, will appear this message
Great! Now you have an unlocked bootloader! What we have to do now is fhash a custom recovery (in this case, TWRP).
Open Flashify, give root rights, then go into Flash/Recovery Image/Choose a file/File explorer/sdcard/[downloaded file]. When asked to flash click "YUP!" and then "Flash More" (as we do not want the phone to reboot right now)
An extra step I prefer to do is remove Kingroot, since it installs a lot of services and keep device substantially slow. If you prefer Kingroot over SuperSU, you are DONE!
Case you prefer SuperSU... Open Kingroot/.../Settings/Uninstall Kingroot
It will prompt if you are sure. Just click Continue/OK
Go back to prompt/terminal and run "adb reboot recovery"
Phone will enter TWRP!
Now, just a few steps!
Go to Install and flash SuperSU
Go to Wipe and do a Factory Reset
Go to Settings and disable TWRP app installer (optional)
And finally go to Reboot and choose System
DONE!!!
Now you have a phone with an unlocked bootloader, a recovery capable of doing a lot of stuff (sideload, wipe cache, backups), and rooted as well.
A really good job, I'm sure a lot of your fellow countryman will find this very useful!
Korelev said:
A really good job, I'm sure a lot of your fellow countryman will find this very useful!
Click to expand...
Click to collapse
Thanks man! Today I finally added a link with portuguese-br instructions. Hope more Brazilian users will have the chance to perform these operations!
Valeeeu dms irmao, ajudou dmss
Ninloth said:
Thanks man! Today I finally added a link with portuguese-br instructions. Hope more Brazilian users will have the chance to perform these operations!
Click to expand...
Click to collapse
Thanks for the instructions. After unlocking its bootloader, wil it be compatible with any H440 custom rom (single sim operation, of course)? Or the only custom rom we get is Cm12?
Mrkblo said:
Thanks for the instructions. After unlocking its bootloader, wil it be compatible with any H440 custom rom (single sim operation, of course)? Or the only custom rom we get is Cm12?
Click to expand...
Click to collapse
Hi!
Well, unfortunately I don't know. I made the procedure, wrote the tutorial, and 2 months later changed my phone for a new one. Can't test anymore.
Mrkblo said:
Thanks for the instructions. After unlocking its bootloader, wil it be compatible with any H440 custom rom (single sim operation, of course)? Or the only custom rom we get is Cm12?
Click to expand...
Click to collapse
Yes, it should be compatible with any custom rom as long as your phone is Lg spirit LTE( snapdragon variant ).
Overview
Many people asked me on telegram how they can unlock their bootloader and flash TWRP, as obvious I helped them but then again few people asked me... I was wondering telling entire steps again and again will waste a lot of time so I decided why not on xda-developers?
So here it is presenting a "Noob way to unlock boot-loader, flash recovery" :laugh:
Disclaimer
]Of course there is a risk of doing anything so I won't take any responsibly of fixing it !! Please do some research if you are not aware of anything. Warranty will be voilà so you won't be able to claim any service repairs for free. Please proceed at your own risk :angel: However, if you follow everything carefully you won't be able to stick into anything.
Click to expand...
Click to collapse
Downloads1. ADB Driver 1
2. ADB Driver 2
3. Windows 10 Updater
4. ADB Toolkit
5. TWRP
InstallationsNow it's not hard but still like a manual, I have added this. To install the drivers first and most important is to update Windows to its latest release. Extract .rar/.zip files downloaded from the above download section and go to the ADB Driver 1 & 2 folder and look if there is an executable file like .exe/.bat if yes then run it as admin and all set if there isn't then you may see a setup information well simple look for a file ends with .inf extension. If you find such a file then simply open device manager and click on your PC name for e.g my PC name is MINIX and then click on action tab select add hardware legacy --> Next --> Search and install automatically --> Next --> Show all --> Next --> Have Disk --> Browse and then go to the folder where the .inf/setup information file is located click on it --> Next and then it may pop up something like driver signature verification failed for it just move HERE All set ! But I would suggest to do a windows update check again for proper installing of drivers and then restart.
ProcessNow it's not rocket science! Let's begin!
* Update your phone to latest firmware S232 (Necessary)
* Open ADB Folder
* Copy Downloaded TWRP to ADB folder
* Rename TWRP image to recovery.img
* Move to your mobile turn on USB debugging and OEM unlocking (These options are there in developer option)
* Connect USB (Will pop up some prompt, allow for this pc if still not then revoke USB permission and check back! )
* Run .bat file called as unlock_recovery.bat
----------(Your Phone will reboot into fast boot mode and will start Unlocking process just hit volume up key on your phone when you see a prompt written in small letters)---------
* Now open the cmd/PowerShell in ADB folder itself for that hold shift key and right click will see a prompt with PowerShell/cmd click on that if still confused the go-to address bar and type cmd there. That's its!
* Type the commands one by one has listed :
Code:
fastboot devices
fast boot flash recovery
Now its important that you reboot into recovery for the first time just after recovery flash or else you will need to do entire process again … Now to boot into recovery you will have to hold power key & both volume keys at a time until you see Lenovo logo, then release the power key and volume keys. After the TWRP logo, it will take some time! So wait, but if not boot into recovery do all the process again !
Cheers :good: you have successfully installed TWRP now ! If still not then don't worry drop a replay below so that we can assist you I don't want to make money from this so no donations but still if you want to appreciate my work just hit the small button of :good: That's more than enough for me
Q/A
Q.1 My TWRP is removed after I booted back into the system, now what can I do?
A.1 Well, This is a normal thing caused due to a backup made by system of stock recover and you will have to delete it in order to fully use TWRP for that process is simple to download Aroma File Manager Flash this zip into TWRP recovery and you will see a file manager locate to system folder and in that look for a file called as recovery-from-boot.p and delete this file only /-
Q.2 My device is rebooting into TWRP only, what to do?
A.2 Now answer is not that simple you will have to download the stock ROM and flash it via SP Flash Tool that's the only option. We are looking into the issue and will find the resolution ASAP.
For more Q/A just drop a comment below and we will try to solve it! And if the issue is common we will add it to this post
We know how important it is for you to get your issue fixed but there are certain rules you will have to follow, please read them so we can assist you further!
1. Don't use bad words
2. There is a pattern you will have to follow so that we can fix it or else it may get neglected
ROM: XYZ
Root Status: N/A
Recovery Version: XYZ
Issue: XYZ (Please use a short and effective description of your problem, Don't make it too long also before you post make sure it's not there in Q/A post.)
Click to expand...
Click to collapse
For more better rectification you can add a screenshot of your issue/error.
For additional help you can reach us at :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Telegram Group
Hello folks, for redwolf recovery process remains the same, thread
But yea, the name of recovery is redwolf.img whereas for twrp its something else so just use this code
Code:
fastboot flash recovery redwolf.img
@reserved
link is broken
Hello everyone I need a favor from a person who has unlocked bootloader can you help
---------- Post added at 04:21 AM ---------- Previous post was at 04:19 AM ----------
I need some files from you pls please please please please