[RECOVERY] TWRP for LG G6 H870 (unofficial) - LG G6 ROMs, Kernels, Recoveries, & Other Developme

{
"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"
}
CONGRATS TO @davidporter1010 ON THE FIRST EVER ROOTED LG G6!!!
Video review by @davidporter1010 https://www.youtube.com/watch?app=desktop&persist_app=1&noapp=1&v=alH4YEiV5bc
A message to those with other variants of the G6:
The H870 International variant is the only one with an official bootloader unlock from LG.
Should there be a time where your flashing mechanisms get cracked, simply mention my name on this thread or via private message and I would be happy to create a thread with TWRP for your device.
WHAT IS TWRP?
Oh come on, you know what it is - don't try to fool me!
In case you're serious, though...
Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.
DOWNLOAD
BUILD 4
Do the captcha and then wait 3 seconds before pressing the get link button, close any ads or poups
You can donate here to help me buy an H870 and that way I can further contribute towards development:
paypal.me/VoRt3xElarixx
You can find the recovery here:
https://drive.google.com/file/d/0B7S6ou836i7AVjhjNlpqQTdoSlk/view
FULL STEPS FOR OBTAINING ROOT
Follow LG's bootloader unlocking instructions here before you begin!
1. Download the latest TWRP .img for your device from this thread
2. Use the same fastboot tool you downloaded in the LG unlock instructions to flash TWRP using the command:
Code:
fastboot flash recovery twrp-x.x.x-x-h870.img
* Replace x.x.x-x with the actual version you are flashing!
3. Enter "fastboot reboot recovery" into the fastboot tool
4. Swipe to allow modifications, then hit wipe and tap format data, type "yes" and press enter
3. Install SuperSU, or Magisk to gain root and make system bootable, or just flash
no DMvertity opt file to make system bootable without root
8. Go to [Reboot] -> [System].
Wait 2-5 minutes for your device to finish setting itself up.
Github:
https://github.com/Nima0003/TWRP-H870
CREDITS:
@jcadduono for the template of this thread @jimbomodder for helping me pull the stock recovery @Rashed97 for the early TWRP test build he did from source

1st

So...we are on the way to have a fully functional recovery??
i see all has stopped...lineage..twrp...
Hurry up....we need to flashhhhhh
ahahaa
thanks for all....

Nice hows this build to your last one have you submited it to twrp for official status ?

can't get this one to work, I have an italian h870 i guess it's an international version
unlocked via LG developer
downloaded platform tools from android studio
flashed twrp-3.1.1-0-h870.img, done this multiple times
fastboot flash recovery twrp-3.1.1-0-h870.img
target reported max download size of 536870912 bytes
sending 'recovery' (22824 KB)...
OKAY [ 0.505s]
writing 'recovery'...
OKAY [ 0.240s]
finished. total time: 0.746s
Click to expand...
Click to collapse
in this version of platfor tools i don't have the command to reboot into recovery so i reboot into system and then adb reboot recovery
done this the phone shows the broken android image and then reboots into system after few seconds
any help about it?
thanks

You're doing it wrong.
In order for TWRP to stick, you need to do this :
1. Flash the image like you did.
2. Don't reboob. Press vol down+power at the same time until the phone restarts. Keep pressing those buttons andWait for the lg logo to appear, then release power button.This way the menu for hard reset will appear. Confirm and voila, you will enter in TWRP.
---------- Post added at 02:39 PM ---------- Previous post was at 02:37 PM ----------
@nima0003 ,could you tell us why the old thread was closed?
I saw in recovery it shows H872, not H870. This means it's a rip off?

kimitza said:
You're doing it wrong.
In order for TWRP to stick, you need to do this :
1. Flash the image like you did.
2. Don't reboob. Press vol down+power at the same time until the phone restarts. Keep pressing those buttons andWait for the lg logo to appear, then release power button.This way the menu for hard reset will appear. Confirm and voila, you will enter in TWRP.
---------- Post added at 02:39 PM ---------- Previous post was at 02:37 PM ----------
@nima0003 ,could you tell us why the old thread was closed?
I saw in recovery it shows H872, not H870. This means it's a rip off?
Click to expand...
Click to collapse
Old thread was closed because the links I used to keep statistics were also pay per click links, and no it's not a rip-off, it's a port.

strikerdj2011 said:
Nice hows this build to your last one have you submited it to twrp for official status ?
Click to expand...
Click to collapse
Yes but I need help uploading sources to github as I am not fimaliar with git, if anyone knows how and can help me, we will have official builds.

piggarello said:
So...we are on the way to have a fully functional recovery??
i see all has stopped...lineage..twrp...
Hurry up....we need to flashhhhhh
ahahaa
thanks for all....
Click to expand...
Click to collapse
Nothing has stopped, I was very busy, and XDA locked my threads, also my PC wireless chip broke so I need a new one which I can't afford.

Cmon Devs..!!

piggarello said:
Cmon Devs..!!
Click to expand...
Click to collapse
Development hasn't stopped

Good new!

nima0003 said:
Yes but I need help uploading sources to github as I am not fimaliar with git, if anyone knows how and can help me, we will have official builds.
Click to expand...
Click to collapse
https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/

kimitza said:
You're doing it wrong.
In order for TWRP to stick, you need to do this :
1. Flash the image like you did.
2. Don't reboob. Press vol down+power at the same time until the phone restarts. Keep pressing those buttons andWait for the lg logo to appear, then release power button.This way the menu for hard reset will appear. Confirm and voila, you will enter in TWRP.
---------- Post added at 02:39 PM ---------- Previous post was at 02:37 PM ----------
@nima0003 ,could you tell us why the old thread was closed?
I saw in recovery it shows H872, not H870. This means it's a rip off?
Click to expand...
Click to collapse
Done this, the LG logo appears before and after the unlock warning but i can't enter reset mode in this way
It's volume down button not up? should i release and then repush the power button?
it seems that android bootlock warning screen interferes with the process

scarliga said:
Done this, the LG logo appears before and after the unlock warning but i can't enter reset mode in this way
It's volume down button not up? should i release and then repush the power button?
it seems that android bootlock warning screen interferes with the process
Click to expand...
Click to collapse
Once you flashed twrp in fastboot, disconnect from pc, the hold vol down+ power, keep holding until you see LG logo and then quickly let go of power button and re-press. It will then show stock recovery, follow instructions to do factory reset and it will boot twrp after showing LG logo again

Done, thank you
now got this error while wiping data
EDIT: something gone wrong with encryption, it wiped me data and removed recovery
When connected via USB in TWRP it shows as an H872 but it's an H870
I've flashed the open eu kdz with uppercut, is it related to it?
any guess about it?

nima0003 said:
Yes but I need help uploading sources to github as I am not fimaliar with git, if anyone knows how and can help me, we will have official builds.
Click to expand...
Click to collapse
If you are not familiar with git, vive gitkraken a try.
Also you can join twrp IRC Channel, they will give all the support you need.

Will there be any root options for the dual SIM version?

unknownblkman said:
Will there be any root options for the dual SIM version?
Click to expand...
Click to collapse
No.
Enviado desde mi LG-H870 mediante Tapatalk

reformatted in download mode with uppercut
I still don't understand why twrp detects my phone as an H872.
I can't flash lineageos because it fail the initial hardware check, also I guess twrp is not fully functional as I wasn't able to flash LG-H87010f-Flashable.COMPLETE.zip in the usual way

Related

Cannot enter into recovery; Suppressed ROM problem - no help given by its cook

Dear Xda'ers,
I am really desperate on the situation and need your help.
I tried every solution to get into recovery mod including SFT and others available, no luck in getting there.
The rom is working, so no bricked phone situation, problem is gapps terminates itself making email and other functions unreachable.
So I want to switch to either the official rom or another one which is in the forum.
Phone is roooted by the way.
Any suggestions?
PS. As put in the title, this roms cook told me that he cannot help me.
---------- Post added at 11:33 PM ---------- Previous post was at 11:26 PM ----------
hasgerdas said:
Dear Xda'ers,
I am really desperate on the situation and need your help.
I tried every solution to get into recovery mod including SFT and others available, no luck in getting there.
The rom is working, so no bricked phone situation, problem is gapps terminates itself making email and other functions unreachable.
So I want to switch to either the official rom or another one which is in the forum.
Phone is roooted by the way.
Any suggestions?
PS. As put in the title, this roms cook told me that he cannot help me.
Click to expand...
Click to collapse
Hello.
If you just want to get into recovery mode, open terminal emulator.
Type
'su'
Allow it and type
'Reboot recovery'
Without '.
Works under cwm.
If this doesn't work.
Use smart flash tool.
(Quoted) ⬇
After flashing your phone should Boot into recovery.
Dont forget to do always a factory reset. If not -> bootloop
radkor said:
SmartFlash Tool completly erases device memory during flashing.
Phone will make Factory Reset at first boot after flashing!
You can upgrade and downgrade. You can downgrade from V20N too!
This also will remove phone lock if you forget unlock code or pattern. (phone lock, NOT simlock or network lock...)
This method doesn't need internet connection.
If you want to flash an LG P970H download correct ROM from link below.​
With this solution you can unbrick LG Optimus Black P970.
It fixes bootloop, "ERROR LG Security Team", and BSOD - blue screen with green writings (untested).
Only requirement is ability to enter in to S/W Update mode and not broken hardware.
Tested on: Windows 7 Ultimate x86, x64 and Windows XP Pro SP3.
---------------------------------------------------------------------------------------------------------------
Downloads:
- SmartFlash Tool (mirror) [password: [email protected]]
- stock ROM V10A EEU XXX with .bin & .fls. [CRC MD5: d880b8834400575b5827bafbf29a745e] - DepositFiles, FileServe, WUpload.
Other bin/fls ROMs are HERE. (All these links are working again!)
You need to install LG Mobile drivers. They are located HERE. [CRC MD5: e4614071e72c0292d3a8238908b5c7ba]
1. Unpack SFT.rar that contains SmartFlash Tool program.
2. Unpack, preffered C: drive, firmware pack BIN_LGP970AT-00-V10a-EEU-XXX-MAY-09-2011_0.zip
Inside there will be 2 files: LGP970AT-00-V10a-EEU-XXX-MAY-09-2011+0_AP.bin i LGP970AT-00-V10a-EEU-XXX-MAY-09-2011+0_CP.fls.
3. Run B_SmartFlashTool_Extern.exe
4. Choose:
1) ROM copy D/L bookmark
2) in Select mode choose Normal mode
3) choose CP file: LGP970AT-00-V10a-EEU-XXX-MAY-09-2011+0_CP.fls
4) choose AP file: LGP970AT-00-V10a-EEU-XXX-MAY-09-2011+0_AP.bin
*) connect phone in S/W Update mode with battery in it (on the phone that is switched off, plug in USB cable WHILE HOLDING Vol+ button)
5) choose COM port.
6) choose LGE Mobile USB Serial Port in Communication Driver
7) click Start and wait till end.
It takes about 3 mins to flash.
After successfully flashing, phone will reboot and make Factory Reset.
And that's all!
Settings:
{
"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"
}
Flashing:
Finished:
Now your phone should be unbricked and working.
I will not take any responsibility if something goes wrong when you trying this solution. For me and many others it worked well.​
Click to expand...
Click to collapse
Used ALL mentioned so far, brought it three different service centres, they couldn't manage to get into recovery as well
Any creative ideas?
hasgerdas said:
Used ALL mentioned so far, brought it three different service centres, they couldn't manage to get into recovery as well
Any creative ideas?
Click to expand...
Click to collapse
try this
washbeer said:
power up your phone, then press and hold vol down + home key and then also press and hold the power button until the phone restarts. then it should boot into recovery.
btw i made a small video tutorial
youtube.com/watch?v=Iu4O_zvrn6U
Click to expand...
Click to collapse
worked for me
ok it seems there is also an other way to enter recovery:
on switched off phone (and only then!) press and hold G-key + volume up and then press power key.
it should boot straight into recovery.
Cant you push recovery through adb/fastboot?
Sent from my HP 7 using XDA Premium HD app
Do you still have cwm and the custom ROM on your phone? If yes, simply download quickboot or rommanager from playstore and hit reboot recovery.
Sent from my LG-P760 using xda app-developers app
Hi guys,
Tried the two methods from DuffBoon and wash beer - no luck.
I think there is something wrong with gapps as it gives an error when I try to download smth from Google Play- so no option to load any new app.
I go into terminal emulator, input 'su' and have superuser rights, than punch 'reboot recovery', it reboots but no recovery at all.
My diagnosis is CWM and gapps is broken somewhat; SFT or another method is not working for that reason.
hasgerdas said:
Hi guys,
Tried the two methods from DuffBoon and wash beer - no luck.
I think there is something wrong with gapps as it gives an error when I try to download smth from Google Play- so no option to load any new app.
I go into terminal emulator, input 'su' and have superuser rights, than punch 'reboot recovery', it reboots but no recovery at all.
My diagnosis is CWM and gapps is broken somewhat; SFT or another method is not working for that reason.
Click to expand...
Click to collapse
But your system is still working? There is an adb flashable cwm recovery from redy06 somewhere here. Google:
Xda cwm touch redy06
And youll probably find it. You can flash it with the device on. There also is a reboot recovery script in the pack, so you can check if it works or not.
Sent from my LG-P760 using xda app-developers app
Thanks, seems interesting - I will try it and see whether it works or not (currently on Mac)

[GUIDE] Unbrick your device or recover from bootloop

Assalamu alaikum people,
Those on the telegram group know that I bugged you a lot about needing data partition. Because of my experience with unbricking and recovering the device, I can tell you a sureshot method that works to restore the device. Do not use this method if your device already works. There seems to be a lot of files inside the data partition which are necessary for the stock ROM to work. This method asks you to wipe data partition and so system update will not work. This should be a last resort. .
Many people seem to have come to the situation where they are in fastboot, and it says frp locked, so they cannot flash new twrp. And the system seems to be in bootloop and it does not work. What to do from there?
1. Download this file ->https://www.androidfilehost.com/?fid=673956719939832337.
2. In your SDCard, create a folder called TWRP and inside it, create a folder called BACKUPS (all in capitals). Inside this, create a folder called 7xtwrpbackup (small letters) and paste the contents of the zip that you have downloaded into this.
3. Boot to twrp in your device and go to restore. There you should see a folder 7xtwrpbackup. If you select it, you will get a checkbox below with recovery_ramdisk like this
{
"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"
}
4. Select Yes and after restore complete, go back and select reboot and reboot to recovery.
5. Now, the new twrp will boot. In the new twrp, I want you to first go to wipe -> advanced wipe -> select dalvik/art cache, cache, data, internal storage and system.
6. Come back once again and select wipe, and this time, select format data. It will ask you to type yes. After that is done, come back once again.
7. Now select install and in that, install the openkirin RR image from telegram group or here -> https://forum.xda-developers.com/honor-view-10/development/rom-t3753555 (This step is optional because openkirin RR has a greater chance of booting than stock ROM. You can skip this step and directly boot stock)
8. Your system must boot now. If it boots, then all partitions are good. You can boot stock.
9. You can now can download stock from my post here and repeat from step 5-> https://forum.xda-developers.com/9-lite/development/stock-img-unlock-indian-version-t3767569
If this does not work, then look at the second method in the next post
Second method
If your first method does not work, then you can try this second method. Make sure you have enough data left in your internet connection (1.8 GB ish) before starting the process. Please note that this method will lock your bootloader, install stock recovery, flash the stock system and boot your phone. Of course, even if it relocks the bootloader, you can still unlock it using your code.
1. Download the zip
https://www.androidfilehost.com/?fid=746010030569970895
2. Extract it into sdcard directly (i.e. extract it to the root folder of your sdcard)
3. Make sure you have enough battery left (atleast 15%). Power off your phone. Now, press and hold vol up + Vol down + power buttons until the honor logo comes. Then, you can release all the keys. The system will go into emui recovery and restore your phone.
You will have stock phone at the end of the process.
Note:-If you still have bootloop at Honor logo, then power off the phone. Hold vol up + power button until the honor logo comes. It will boot into stock recovery. From there, you can do a factory reset and erase cache partition. Then the phone will definitely boot up.
Bricked my device Twrp doesn't work
Hello, I have bricked my honor 9 lite AL10(Indian Version). I have formatted my vender directory through Twrp by mistake now my device shows erecovery and reboots. Fastboot is working fine and FRP and Devices both shows unlocked means I can flash through fastboot. I don't want to lose my internal memory data.
Help me to unbrick my device !! :crying:
Oushal kDee said:
Hello, I have bricked my honor 9 lite AL10(Indian Version). I have formatted my vender directory through Twrp by mistake now my device shows erecovery and reboots. Fastboot is working fine and FRP and Devices both shows unlocked means I can flash through fastboot. I don't want to lose my internal memory data.
Help me to unbrick my device !! :crying:
Click to expand...
Click to collapse
Download vendor partition from here https://forum.xda-developers.com/9-lite/development/stock-img-unlock-indian-version-t3767569
Hello i am siddharth, i have relocked my oem by fastboot oem relock -------- after that yes/no option came i click on yes. It starts factory formatting after completion of formatting when the phone starts its showing your device has failed verification and got stuck in it. When i press reboot option it will directly comes to erecovery mode wher the option came to download new recovery when i connect my phone with wifi it starts searching for some time after that system update failed.
When i starts mobile directly to fastboot mode by pressing volume down button and power button the white screen with android comes appear i.e fastboot mode screen. In that screen in green colour i found that
Phone Relock
FRP lock
When ever i m trying to find the device in fastboot mode by typing fastboot devices my device showing there but no other command is working such as fastboot oem unlock -------, fastboot flash system system.img, all the time it comes Failed.
I have downloaded many UPDATE.APP and tried to load that by dload method but every time after 5% it come Failed to install.
I have downloaded UPDATE.APP form ur given link also. This is only the image in which my phone comes upto 23% install after dat failed.
Nothing working for me. Kindly help me.
Mail me if there is any solution @
[email protected]
i have tried first method it failed and says 'no partition selected for restore'
and their is no option to select partition what should i do plz help
None of the method worked for me my device still bootloops no matter what system.img or rom zip file i flash. The emui recovery method didn't work for me as it loaded up to 5% and then failed instantly. Please help me unbrick my 9 lite bro. Could you provide me the boot.img? i think my phone got bricked because i tried to i install magisk on treble rom (i guess?). But anyway PLEASE HELP ME (
Try extracting kernel.img from an update and flash that. It fixed it for me.
hi twrp is bootlooping as well
cant access
---------- Post added at 07:15 PM ---------- Previous post was at 06:52 PM ----------
hey i used the twrp from the link made a backup restored it now a get bootloop cant get into twrp it goes in ti it then it fcs then am back to bootloader unlocked warning
hi anyone got custom.img and userdata.img from this LLDL31C432B130 800130 a need to restore my device
Same Problem
[email protected] said:
i have tried first method it failed and says 'no partition selected for restore'
and their is no option to select partition what should i do plz help
Click to expand...
Click to collapse
Even I'm facing the same problem, if anyone has solution plz help.
---------- Post added at 10:15 AM ---------- Previous post was at 10:10 AM ----------
[email protected] said:
i have tried first method it failed and says 'no partition selected for restore'
and their is no option to select partition what should i do plz help
Click to expand...
Click to collapse
Even I'm facing the same problem.
mine goes to 5% doesnt do anything and then it fails
aveemashfaq said:
If your first method does not work, then you can try this second method. Make sure you have enough data left in your internet connection (1.8 GB ish) before starting the process. Please note that this method will lock your bootloader, install stock recovery, flash the stock system and boot your phone. Of course, even if it relocks the bootloader, you can still unlock it using your code.
1. Download the zip
https://www.androidfilehost.com/?fid=746010030569970895
2. Extract it into sdcard directly (i.e. extract it to the root folder of your sdcard)
3. Make sure you have enough battery left (atleast 15%). Power off your phone. Now, press and hold vol up + Vol down + power buttons until the honor logo comes. Then, you can release all the keys. The system will go into emui recovery and restore your phone.
You will have stock phone at the end of the process.
Note:-If you still have bootloop at Honor logo, then power off the phone. Hold vol up + power button until the honor logo comes. It will boot into stock recovery. From there, you can do a factory reset and erase cache partition. Then the phone will definitely boot up.
Click to expand...
Click to collapse
But this is for L31
---------- Post added at 08:06 AM ---------- Previous post was at 08:05 AM ----------
My phone's frp and bootloader locked,and phone is booting to erecovery,what to do
need help with LLD-AL10C675 indian version
I have flashed a cutom treble rom phh-treble to be specific,used it for couple of days and then tried instaling the magisk from magiskmanager and after its done when i reboot it shows error mode with message Func no:10(boot img ) and func no:2 , i can boot into fastboot mode both frp and phone unlocked ,can some please help me to get back my phone into a usable condition thank you
sunny_deed said:
I have flashed a cutom treble rom phh-treble to be specific,used it for couple of days and then tried instaling the magisk from magiskmanager and after its done when i reboot it shows error mode with message Func no:10(boot img ) and func no:2 , i can boot into fastboot mode both frp and phone unlocked ,can some please help me to get back my phone into a usable condition thank you
Click to expand...
Click to collapse
To help you a full firmware is required and that's not available for (India c675) yet!
Before any modification to system you should have a full firmware in hand.
BS4388 said:
To help you a full firmware is required and that's not available for (India c675) yet!
Before any modification to system you should have a full firmware in hand.
Click to expand...
Click to collapse
yea that was a pretty big mistake i made without looking for it, i have been told by someone that we can pull out all the require d imgs from a phone in good working condition, i asked in the hopes that someone would be generous enough to do that for me , thank you ,and also does anyone have any idea about when the full firmware will be released
sunny_deed said:
yea that was a pretty big mistake i made without looking for it, i have been told by someone that we can pull out all the require d imgs from a phone in good working condition, i asked in the hopes that someone would be generous enough to do that for me , thank you ,and also does anyone have any idea about when the full firmware will be released
Click to expand...
Click to collapse
What's wrong with the version (675) from here :-
https://www.mobileheadlines.net/download-huawei-honor-9-lite-firmware-files/
Sparkrite said:
What's wrong with the version (675) from here :-
https://www.mobileheadlines.net/download-huawei-honor-9-lite-firmware-files/
Click to expand...
Click to collapse
there is no Fullota version in there
sunny_deed said:
there is no Fullota version in there
Click to expand...
Click to collapse
Go:
https://forum.xda-developers.com/9-lite/development/stock-rom-indian-firmware-c675-t3813875
sunny_deed said:
there is no Fullota version in there
Click to expand...
Click to collapse
My bad, I was only trying to help.............
Anyway you have it now (post above) thanks to @BS4388 and @VigneshS007 .

[RECOVERY][OFFICIAL] TWRP 3.2.1-0 touch recovery

{
"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"
}
NOTE: Decrypting data is not currently supported. MTP also does not work, but you can use adb to push and pull files.​
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.​
Code:
/*
* [B]Your warranty is now void.[/B]
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or your getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Sources: https://github.com/TeamWin
Device tree: https://github.com/TeamWin/android_device_huawei_charlotte
Download
Flashing:
Code:
fastboot flash recovery_ramdisk twrp-3.2.1-0-charlotte.img
Special thanks to @Dees_Troy for the Huawei Blanc device tree, which this is based on.
Thank you so much Is there any chance of you uploading a twrp flashable image of the newest p20 pro update?
Will try this when I get home. It doesn't replace eRecovery, right? So I can still recover if anything goes wrong? Also, best way to boot into TWRP once flashed?
danifilth4king said:
Will try this when I get home. It doesn't replace eRecovery, right? So I can still recover if anything goes wrong? Also, best way to boot into TWRP once flashed?
Click to expand...
Click to collapse
As long as you flash the image to recovery_ramdisk it does not replace eRecovery, no. I actually used eRecovery to restore while testing my build.
Once flashed you can boot into TWRP via "adb reboot recovery" out of a running system with enabled ADB or via pressing VolUp+Power on a powered off device.
Many thanks a1Pha, just installed on a CLT-L29 8.1.0.106(C432), works flawless. Great job !
Once flashed you can boot into TWRP via "adb reboot recovery" out of a running system with enabled ADB or via pressing VolUp+Power on a powered off device.[/QUOTE]
You can also reboot to recovery if your phone is up and running opening Magisk Manager -> Modules, three points on the upper right corner will give you the choice recovery, bootloader or download...
Cheers.
buenso80 said:
Thank you so much Is there any chance of you uploading a twrp flashable image of the newest p20 pro update?
Click to expand...
Click to collapse
To be honest: This is my first Huawei and I am still figuring out how they manage their region-specific customization. Also it seems not so easy to get the UPDATE.APP for current builds. So no promises here - but I'll try to figure out and create a new thread if I'm able to build something.
Thanks given! I'll try this when I get a chance! This is a good start for this new device
a1Pha said:
To be honest: This is my first Huawei and I am still figuring out how they manage their region-specific customization. Also it seems not so easy to get the UPDATE.APP for current builds. So no promises here - but I'll try to figure out and create a new thread if I'm able to build something.
Click to expand...
Click to collapse
Maybe this could be usefull?
https://forum.xda-developers.com/hu...rmware-release-clt-l29-8-1-0-107c432-t3779167
buenso80 said:
Maybe this could be usefull?
https://forum.xda-developers.com/hu...rmware-release-clt-l29-8-1-0-107c432-t3779167
Click to expand...
Click to collapse
Thanks. As soon as I've got a fully working system.img which doesn't break different country models you'll hear from me.
Does it work for the CLT-L09 as well?
llvllorpheus said:
Does it work for the CLT-L09 as well?
Click to expand...
Click to collapse
Yes, I'm actually on CLT-L09!
llvllorpheus said:
Does it work for the CLT-L09 as well?
Click to expand...
Click to collapse
Works perfect
a1Pha said:
As long as you flash the image to recovery_ramdisk it does not replace eRecovery, no. I actually used eRecovery to restore while testing my build.
Once flashed you can boot into TWRP via "adb reboot recovery" out of a running system with enabled ADB or via pressing VolUp+Power on a powered off device.
Click to expand...
Click to collapse
How do you get back into eRecovery once you have flashed twrp?
Volume up gets you to twrp - is there a special key combo/sequence to get to eRecovery? I as as I have access to funkyhuawei. Also - how would one go back to stock with this installed? Sorry first time doing this for years
Cheers
Andy
---------- Post added at 06:52 PM ---------- Previous post was at 06:30 PM ----------
Ok so I managed to get into eRecovery by powering off and holding vol up and pwr until the phone vibrated, then release power and continued holding vol up until eRecovery appeared. If I wanted to completely remove TWRP and root etc once in eRecovery would it simply be a case of clicking download latest version and recovery? Then once recovered I could relock the bootloader? Or are there some other steps to do?
If anyone could help so I know for future reference that would be amazing. Thank you in advance
andrewglass3 said:
How do you get back into eRecovery once you have flashed twrp?
Another way to enter eRecovery: Shut down phone, press VOL+ and connect to USB... and wait
Click to expand...
Click to collapse
andrewglass3 said:
If I wanted to completely remove TWRP and root etc once in eRecovery would it simply be a case of clicking download latest version and recovery? Then once recovered I could relock the bootloader? Or are there some other steps to do?
If anyone could help so I know for future reference that would be amazing. Thank you in advance
Click to expand...
Click to collapse
Glad you made it
I used eRecovery after I bricked my recovery partition and ended up with a working stock recovery, so yes, that should be the way. I did not try to relock the bootloader though.
Official builds from twrp.me are now available, OP updated.
a1Pha said:
Official builds from twrp.me are now available, OP updated.
Click to expand...
Click to collapse
i see pretorians TWRP has MTP working fine
but the official TWRP has not
if we decide to flash pretorians twrp and then yours, is that fine? or do we have to flash stock in-between?
virtyx said:
i see pretorians TWRP has MTP working fine
but the official TWRP has not
if we decide to flash pretorians twrp and then yours, is that fine? or do we have to flash stock in-between?
Click to expand...
Click to collapse
You should be fine switching between the builds as long as you don't touch other partitions.
a1Pha said:
You should be fine switching between the builds as long as you don't touch other partitions.
Click to expand...
Click to collapse
ty!
hopefully official can get MTP working fine fingers crossed.
Good day.
Can this use for rebrand from OCT652 to C636?
Thanks.

[ SOLVED ] Moto G5S Plus Stuck on Boot / Bootloader Giving Bad Key Error / Soft Brick

Moto G5S Plus Stuck on Boot / Bootloader Giving Bad Key Error / Soft Brick
{
"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"
}
My Assumptions
You have unlocked your BootLoader.
You have flashed TWRP Recovery.
You have rooted your Device (Not mandatory).
What's happening ?
You Flashed Something & now getting Bad key Error & Device not Booting.
You flashed Boot.img & stuck here now.
You flashed Custom Kernel & stuck.
You flashed Stock Firmware & Stuck here.
You Flashed Rom, everything went well, but still stuck here.
Solution
Connect your phone with your Computer.
Hold volume down button for 5 seconds & then simultaneously hold power button till it goes to bootloader, now release the buttons.
Use volume buttons to navigate to recovery & press power to boot to TWRP recovery.
You will see MTP Mode has been Enabled & you can see phone's internal memory.
Dowload Latest Magisk Zip & place it in your phone.
Now click on Install option of TWRP recovery & install Magisk Zip.
Wipe Cache/Dalvik Cache, go back & reboot system.
Voila, Now Bad Keyy will be replaced by N/A & your device will boot successfully.
brute-coder said:
Moto G5S Plus Stuck on Boot / Bootloader Giving Bad Key Error / Soft Brick
My Assumptions
You have unlocked your BootLoader.
You have flashed TWRP Recovery.
You have rooted your Device (Not mandatory).
What's happening ?
You Flashed Something & now getting Bad key Error & Device not Booting.
You flashed Boot.img & stuck here now.
You flashed Custom Kernel & stuck.
You flashed Stock Firmware & Stuck here.
You Flashed Rom, everything went well, but still stuck here.
Solution
Connect your phone with your Computer.
Hold volume down button for 5 seconds & then simultaneously hold power button till it goes to bootloader, now release the buttons.
Use volume buttons to navigate to recovery & press power to boot to TWRP recovery.
You will see MTP Mode has been Enabled & you can see phone's internal memory.
Dowload Latest Magisk Zip & place it in your phone.
Now click on Install option of TWRP recovery & install Magisk Zip.
Wipe Cache/Dalvik Cache, go back & reboot system.
Voila, Now Bad Keyy will be replaced by N/A & your device will boot successfully.
Click to expand...
Click to collapse
N/a And bad key is same....
I had bad key after flashing stock And my phone booted correctly...
Sent from my Moto G5S Plus using XDA Labs
Adi5 said:
N/a And bad key is same....
I had bad key after flashing stock And my phone booted correctly...
Sent from my Moto G5S Plus using XDA Labs
Click to expand...
Click to collapse
For me, it got stuck at Bad keys. And it didn't boot whatever I tried. But after flashing Magisk it changes to N/A & booted instantly. It wasn't same in my case.
Where i can find latest magisk for moto g5s plus ? Thanks before
Edit founded.. thanks
brute-coder said:
Moto G5S Plus Stuck on Boot / Bootloader Giving Bad Key Error / Soft Brick
Click to expand...
Click to collapse
I made a big mistake,
Unlocked boot locker, Flashed TWRP.
yesterday i got oreo update and i hit install update.
and now it it redirecting me to TWRP only. not allowing me to boot my device. please help me
I am in different city with stranger's laptop, dont have pen drive and OTG cable, just give me quick guide, i just want to start my phone, I have set up everything in my laptop, i dont have it right now, so please guide me necessary Drivers software also
I want Stock Oreo or nougat
I think after installing stock Recovery it will work ? do you have link for stock recovery only ?
---------- Post added at 11:05 AM ---------- Previous post was at 10:53 AM ----------
brute-coder said:
Moto G5S Plus Stuck on Boot / Bootloader Giving Bad Key Error / Soft Brick
Click to expand...
Click to collapse
haroen88 said:
Where i can find latest magisk for moto g5s plus ? Thanks before
Edit founded.. thanks
Click to expand...
Click to collapse
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
ashish_zarekar said:
I made a big mistake,
Unlocked boot locker, Flashed TWRP.
yesterday i got oreo update and i hit install update.
and now it it redirecting me to TWRP only. not allowing me to boot my device. please help me
I am in different city with stranger's laptop, dont have pen drive and OTG cable, just give me quick guide, i just want to start my phone, I have set up everything in my laptop, i dont have it right now, so please guide me necessary Drivers software also
I want Stock Oreo or nougat
I think after installing stock Recovery it will work ? do you have link for stock recovery only ?
---------- Post added at 11:05 AM ---------- Previous post was at 10:53 AM ----------
Click to expand...
Click to collapse
Hi, did you made any backup (TWRP Backup) of your device?
brute-coder said:
Hi, did you made any backup (TWRP Backup) of your device?
Click to expand...
Click to collapse
no dont have any backup
ashish_zarekar said:
I made a big mistake,
Unlocked boot locker, Flashed TWRP.
yesterday i got oreo update and i hit install update.
and now it it redirecting me to TWRP only. not allowing me to boot my device. please help me
I am in different city with stranger's laptop, dont have pen drive and OTG cable, just give me quick guide, i just want to start my phone, I have set up everything in my laptop, i dont have it right now, so please guide me necessary Drivers software also
I want Stock Oreo or nougat
I think after installing stock Recovery it will work ? do you have link for stock recovery only ?
---------- Post added at 11:05 AM ---------- Previous post was at 10:53 AM ----------
Click to expand...
Click to collapse
There are no quick guides
You need
Computer with fastboot
Stock images for your region/device
Try flashing stock recovery first. If it doesn't work, flash stock images
brute-coder said:
Hi, did you made any backup (TWRP Backup) of your device?
Click to expand...
Click to collapse
Calm down if you still have twrp installed
install this one by twrp
before leaving twrp install twrp.img because if you leave without installing will be with recovery of stock
I always do this with this rom when I'm in trouble
https://androidfilehost.com/?fid=3700668719832241125
jakson7474 said:
Calm down if you still have twrp installed
install this one by twrp
before leaving twrp install twrp.img because if you leave without installing will be with recovery of stock
I always do this with this rom when I'm in trouble
https://androidfilehost.com/?fid=3700668719832241125
Click to expand...
Click to collapse
So right now my xt1805 running official oreo build, but everytime I reboot it's always get to twrp, and to boot the system, I have to manually start it from bootloader, will flashing this solve my problem? Thanks
AdamKomang_noob said:
So right now my xt1805 running official oreo build, but everytime I reboot it's always get to twrp, and to boot the system, I have to manually start it from bootloader, will flashing this solve my problem? Thanks
Click to expand...
Click to collapse
Just go to bootloader mode n connect your phone at pc open fastboot type fastboot oem fb_mode_set and fastboot oem fb_mode_clear
i stuck in recovery mode
when i pressed volume down key and press power key on recovery mode, it showed bad key and then NO COMMAND with warning android logo and then stuck there even when I connect to pc
bad key/not able to go to flashmode/recovery mode
Hi there ,
I have moto g5 s plus with unlock bootloader and root access with stock rom .
I used to have id N/A but after trying to flash stock rom via LMSA id changed to bad key.
I was and still unable to go to flash mode because no it is not responding at all ...means no affect can be seen after flashboot menu plus after few seconds boot loop begin again thus making it difficult to keep connected with PC .
Please Help!
Hello, I already unlock the bootloader, flash custom ROM, and rooting. My problem is Both ROM and TWRP are not launching. Please anyone can help me?

[Superseded] Crossflash US Unlocked Pie to your Bootloader Unlocked V40

SUPERSEDED: Go Here​
Prerequisites:
V35 Engineering Bootloader flashed to your device (Stock bootloader will NOT work for this)
USB 2.0 (USB 3.x does not work well with ADB or Fastboot)
The V40 Pie Conversion Tool
Be in fastboot mode before attempting this
Patience
ADB and Fastboot DRIVERS. Platform tools are already included in the archive
Windows. The tool is not designed for Linux.
This will NOT sim unlock your phone[/CENTER]
Note: I'm not responsible for any bricks that come about from using this tool. Once you crossflash, there's NO going back unless you have backups of your partitions, or a KDZ specifically for your device. I'm going to say this again, DO NOT use USB 3.x while attempting this. You will run into errors. You won't see anything for a little bit when it gets to flashing system_a and vendor_a because it has to load those images into ram.
Download the tool: Google Drive
1. Download the archive and unzip the tool.
2. Navigate to the folder you unzipped the tool to.
3. Enter the folder and inside the folder you should find "V40PIECONVERSION.cmd". Ignore the one with the "Stock Boot" at the end. All it does is flash the stock boot image instead of the TWRP that is required to do this.
4. Execute the batch file and follow the instructions. When the batch file is done, Pie will be flashed, but it will not boot due to encryption. We're going to disable that.
5. Boot TWRP by performing a master reset. To perform a master reset: Press and hold Vol- and Power. When you see the "V40 ThinQ" logo release the power button and quickly press back down. Keep holding Vol- and Power until you see a factory reset screen. Finally, follow the prompts (yes) and you should be in TWRP.
TWRP Instructions​
Head over to the wipe menu and format data (to remove encryption).
Next, head over to mount and mount vendor. Mount ONLY vendor.
Now, open a command prompt, navigate to the folder where you extracted the tool, and open a command prompt inside the folder (Type "CMD" in File Explorer's Address Bar)
{
"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"
}
Execute the adb command:
Code:
adb pull /vendor/etc/fstab.judypn
Edit the file (fstab.judypn) in your favorite text editor and on the /data mountpoint change "forceencrypt" to "encryptable".
Save and Close the file and push the file back with the command:
Code:
adb push fstab.judypn /vendor/etc
Now that encryption is disabled, you NEED to flash back the ORIGINAL boot image that's included with the tool. In order to do that, we need to get back into fastboot.
To get back into fastboot, we need to: Make sure USB is still plugged into the phone. Press and hold VOL+ (Or vol up). Power off the phone (Via TWRP reboot menu) while still holding vol+. Keep holding VOL+ until you see download mode flash for a brief second and you should be in fastboot. The fastboot you see now isn't the V35 Engineering Bootloader. It's the stock pie bootloader. Wiping the laf_a partition allows access to fastboot on devices that are locked (Nearly all US Carriers).
Finally, run the commands:
Code:
fastboot flash boot_a boot_a.image
and
Code:
fastboot format userdata
You should run into an "encryption unsuccessful" screen. Just hit reset phone. You may have to reboot once or twice to get to the setup screen.
For those of you that want root, here's a patched Magisk boot image: Google Drive
You can flash it by running the command:
Code:
fastboot flash boot_a magisk_patched.img
Make sure you open a command prompt in the directory you downloaded the image in. If you don't have adb and fastboot in your environment path, just place it in the V40PIEConversion folder and flash it from there.
How do you get the v35 bootloader on stock Att ?
Evilmonstertruck said:
How do you get the v35 bootloader on stock Att ?
Click to expand...
Click to collapse
Contact @vbenkovskyy on Telegram. He is an awesome guy. Of course, it isn't free, but his prices are better.
Confirmed working - thanks Xsavi for an excellent guide!
Would this method work on the T-Mobile variant? Is there a fee [anywhere]?
---------- Post added at 04:16 PM ---------- Previous post was at 04:12 PM ----------
Can someone comment on this?
avaie said:
Would this method work on the T-Mobile variant? Is there a fee [anywhere]?
---------- Post added at 04:16 PM ---------- Previous post was at 04:12 PM ----------
Can someone comment on this?
://youtu.be/nSeqIfQeWi4
Click to expand...
Click to collapse
No T-Mobile is not supported
avaie said:
Would this method work on the T-Mobile variant? Is there a fee [anywhere]?
---------- Post added at 04:16 PM ---------- Previous post was at 04:12 PM ----------
Can someone comment on this?
://youtu.be/nSeqIfQeWi4
Click to expand...
Click to collapse
Ainz is right. You'll end up with a brick if anything.
Confirmed working on my att variant. ? Thanks again for the great guide ?
pp342261 said:
Confirmed working on my att variant. Thanks again for the great guide
Click to expand...
Click to collapse
You are very welcome! Feel free to contact me if you run into any issues.
On the plus side, your b-slot is untouched throughout all of this, so you can use that to re-root or flash backups should something go wrong, or update. Enjoy the pie.
Xsavi said:
You are very welcome! Feel free to contact me if you run into any issues.
On the plus side, your b-slot is untouched throughout all of this, so you can use that to re-root or flash backups should something go wrong, or update. Enjoy the pie.
Click to expand...
Click to collapse
Will this work on the LG V40 International?
rmgibbs1861 said:
Will this work on the LG V40 International?
Click to expand...
Click to collapse
Yes it will.
rmgibbs1861 said:
Will this work on the LG V40 International?
Click to expand...
Click to collapse
One more question, How will further updates be done after cross flashing? Thank you!
rmgibbs1861 said:
One more question, How will further updates be done after cross flashing? Thank you!
Click to expand...
Click to collapse
By flashing System, Vendor, and boot.
Very confusing. Which variants of V40 this is going to work for?
How to get the v35 engineering bootloader on the phone the only method ive heard about is through octoplus jtag?
twoxa said:
Very confusing. Which variants of V40 this is going to work for?
Click to expand...
Click to collapse
Well it worked for all US Carriers except for T-Mobile
had my sprint v40 bootloader unlocked from octoplus and tried this cause i hate sprint SW (activation screen).it flashed everything from batch file fine but when i went to boot into twrp it booted into normal recovery with the rainbow circle "erasing" then rebooted into os but it was all korean and the android version was 8.1. wtf lol? trying it again now, yes im using "V40PIECONVERSION" not the stock one.
jass65 said:
had my sprint v40 bootloader unlocked from octoplus and tried this cause i hate sprint SW (activation screen).it flashed everything from batch file fine but when i went to boot into twrp it booted into normal recovery with the rainbow circle "erasing" then rebooted into os but it was all korean and the android version was 8.1. wtf lol? trying it again now, yes im using "V40PIECONVERSION" not the stock one.
Click to expand...
Click to collapse
Did you check to make sure you are on Slot A and not B? Becuase i remember when i had everything flashed the first time i tried to boot TWRP in Slot A and somehow ended up switching to Slot B
Ainz_Ooal_Gown said:
Did you check to make sure you are on Slot A and not B? Becuase i remember when i had everything flashed the first time i tried to boot TWRP in Slot A and somehow ended up switching to Slot B
Click to expand...
Click to collapse
thats what it ended up being. xSavi helped me out :good:
Hi guys,
I have a Sprint V40 bought off of Taobao that was rooted, sim unlocked, and crossflashed to US Cellular 11d but after I installed Pix3lify trying to get gestures on 8.1 I lost root. I don't seem to be able to get into fastboot, either with Vol- + cable or via adb, but I have an unlocked bootloader and I can get to download mode. Factory reset just reboots. Any tips as to how can I get root back, or upgrade to Pie? Can anybody please explain how to switch from slot a to slot b and vice versa?
Jeff

Categories

Resources